CN109166214A - A kind of shared bicycle unlocking method and device - Google Patents

A kind of shared bicycle unlocking method and device Download PDF

Info

Publication number
CN109166214A
CN109166214A CN201810935505.5A CN201810935505A CN109166214A CN 109166214 A CN109166214 A CN 109166214A CN 201810935505 A CN201810935505 A CN 201810935505A CN 109166214 A CN109166214 A CN 109166214A
Authority
CN
China
Prior art keywords
information
dimensional code
shared bicycle
unlocking
bicycle
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
Application number
CN201810935505.5A
Other languages
Chinese (zh)
Inventor
孙宁
孙一宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201810935505.5A priority Critical patent/CN109166214A/en
Publication of CN109166214A publication Critical patent/CN109166214A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • G07F17/0057Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a kind of shared bicycle unlocking method and devices, it include: in the case where receiving the two dimensional code that the first two dimensional code is damaged, judge whether the first two dimensional code can restore, if first two dimensional code can be reduced, first two dimensional code is restored, the second two dimensional code is obtained, according to the second two dimensional code restored, unlocking information is generated, and the unlocking information is sent to shared bicycle, is unlocked so that this shares bicycle according to the unlocking information.It follows that solve in the prior art, in the case where the two dimensional code of shared bicycle is damaged, the problem of shared bicycle is not available.In this way, not only facilitating user, the service efficiency of shared bicycle is also improved.

Description

A kind of shared bicycle unlocking method and device
Technical field
The present invention relates to field of information processing more particularly to a kind of shared bicycle unlocking method and devices.
Background technique
Currently, as pollution of the motor vehicles to environment is increasing, serious traffic congestion phenomenon and vehicle waste ring Border pollution problem annoyings many big cities, it is desirable to there is a good control quality, possesses the body of health, very much City all actively advocates citizen and uses bicycle as the vehicles, can not only reduce pollution, can also take exercises.In order to Facilitate citizen, many cities all set up the shared bicycle for citizen's lease.
Shared bicycle needs just to can be used after unlocking, and in the prior art, carries out usually using the mode scanned the two-dimensional code It unlocks.The method unlocked by two dimensional code, it is not only convenient for users, but also also avoid the stolen problem of vehicle.But It is that due to abrasion or artificial destruction, often will appear damaged two dimensional code, in this case, user just can not Bicycle is shared using this, is greatly lowered in this way, the utilization rate of bicycle is shared.
Summary of the invention
In view of this, realizing the embodiment of the invention discloses a kind of shared bicycle unlocking method and a device shared single In the case that the two dimensional code of vehicle is damaged, shared bicycle can also be unlocked, user is not only facilitated and also improves making for shared bicycle With rate.
The embodiment of the invention discloses a kind of shared bicycle unlocking methods, comprising:
A kind of shared bicycle unlocking method characterized by comprising
Receive the first two-dimensional barcode information that client is sent;
In the incomplete situation of the first two-dimensional barcode information, judge whether first two dimensional code can restore;
If first two-dimensional barcode information is able to carry out reduction, first two dimensional code is restored, the second two dimensional code is obtained;
Unlocking information is generated according to second two dimensional code, and the unlocking information is sent to the shared bicycle.
Optionally, described in the incomplete situation of the first two-dimensional barcode information, whether judge first two dimensional code It can restore, comprising:
In the incomplete situation of the first two dimensional code, whether judge in first two dimensional code comprising going back prime information;
If going back prime information, reduction first two dimensional code comprising described, comprising:
The two dimensional code also prime information is parsed, storage address information is obtained;
The two-dimensional barcode information for obtaining the storage address obtains the second two dimensional code.
Optionally, further includes:
Generate the essential information of shared bicycle;
Storage address is distributed for the two dimensional code of the shared bicycle;
According to the storage address of the essential information and distribution, the two dimensional code of shared bicycle is generated;
The two dimensional code of the shared bicycle is saved in the storage address of distribution.
Optionally, further includes:
The essential information of shared bicycle is generated, and the essential information according to the shared bicycle generates the shared bicycle Two dimensional code;
Storage address is distributed for the two dimensional code;
The storage address is embedded in the predeterminated position of the two dimensional code;Wherein preset position may include at least one A position;
The two dimensional code for being embedded in storage address is saved according to the storage address.
It is optionally, described to generate unlocking information according to second two dimensional code, comprising:
Second two dimensional code is parsed, the information of shared bicycle and the storage address information of two dimensional code are obtained;
According to the information of the shared bicycle, unlocking information is generated.
Optionally, described in the incomplete situation of the first two-dimensional barcode information, whether judge first two dimensional code It can restore, comprising:
Obtain the second location information of the client;
Judge the second position of the client whether only comprising a shared bicycle that do not unlock;
If the second position of the client only includes the shared bicycle that do not unlock, first two dimensional code can be also It is former;
The reduction first two dimensional code includes:
Obtain the second two-dimensional barcode information of the shared bicycle that do not unlock detected.
Optionally, further includes:
In the case where first two dimensional code can not restore, the second location information of the client is obtained;
Determining and the client the second position is at a distance of the target area of pre-determined distance;
The information of the shared bicycle in the target area is obtained, and obtains the shared bicycle that the target area is parked Information;
Determine that a target shares bicycle from the shared bicycle that the target area is parked;
The information that the target shares bicycle is obtained, the information for sharing bicycle according to the target generates unlocking information;
Bicycle is shared to the target and sends unlocking instruction and prompting instruction, so that the shared bicycle is according to the unlocking After instruction unlock, prompting is made a sound according to prompting instruction;
Information to be confirmed is sent to the client, and judges whether to receive the client within the preset time anti- The unlocking confirmation message of feedback;
If having received the unlocking confirmation message of client feedback within the preset time, confirmation is completed to unlock.
Optionally, further includes:
In the incomplete situation of the first two-dimensional barcode information, fault message is generated;
The fault message is sent to corresponding breakdown maintenance personnel.
The embodiment of the invention also discloses a kind of shared bicycle trippers, comprising:
Receiving unit, for receiving the first two-dimensional barcode information of client transmission;
Judging unit, for judging that first two dimensional code is in the incomplete situation of the first two-dimensional barcode information It is no to restore;
Two dimensional code reduction unit restores first two dimensional code, obtains if being able to carry out reduction for first two dimensional code To the second two dimensional code;
The unlocking information for generating unlocking information according to second two dimensional code, and is sent to institute by transmission unit State shared bicycle.
Optionally, further includes:
Location information acquiring unit, for obtaining the client in the case where first two dimensional code can not restore Second location information;
Target area determination unit, for determining and the client the second position at a distance of the target area of pre-determined distance Domain;
Shared bicycle information acquisition unit, for obtaining the information of the shared bicycle in the target area, and obtains institute State the information for the shared bicycle that target area is parked;
Target shares bicycle determination unit, for determining a mesh from the shared bicycle that the target area is parked Mark shared bicycle;
Unlocking information generation unit shares the information of bicycle for obtaining the target, shares bicycle according to the target Information generate unlocking information;
Unlocking instruction and prompting instruction sending unit, for sharing to the target, bicycle sends unlocking instruction and prompting refers to It enables, so as to make a sound prompting according to prompting instruction after the shared bicycle is unlocked according to the unlocking instruction;
Information transmitting unit to be confirmed for sending information to be confirmed to the client, and judges whether preset The unlocking confirmation message of the client feedback is received in time;
Unlocking confirmation message transmission unit, if the unlocking for having received client feedback within the preset time confirms Information, confirmation are completed to unlock.
The embodiment of the invention discloses a kind of shared bicycle unlocking method and devices, comprising: is receiving the first two dimensional code In the case where for damaged two dimensional code, judge whether the first two dimensional code can restore, if first two dimensional code can be reduced, First two dimensional code is restored, the second two dimensional code is obtained, and according to the second two dimensional code restored, generates unlocking information, and should Unlocking information is sent to shared bicycle.It follows that solving in the prior art, in the situation of the two dimensional code breakage of shared bicycle Under, the problem of shared bicycle is not available.In this way, not only facilitating user, the service efficiency of shared bicycle is also improved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 shows a kind of flow diagram of shared bicycle unlocking method provided in an embodiment of the present invention;
Fig. 2 shows the flow diagrams of the first two dimensional code of reduction;
Fig. 3 shows another flow diagram of the first two dimensional code of reduction;
Fig. 4 shows a kind of another flow diagram of shared bicycle unlocking method provided in an embodiment of the present invention;
Fig. 5 shows a kind of structural schematic diagram of shared bicycle tripper provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
With reference to Fig. 1, a kind of flow diagram of shared bicycle unlocking method provided in an embodiment of the present invention is shown, at this In embodiment, this method comprises:
S101: the first two-dimensional barcode information that client is sent is received;
In the present embodiment, when user needs using shared bicycle, need using terminal equipment to two on shared bicycle Dimension code is scanned, and after terminal device scans two dimensional code (the first two dimensional code), the two dimensional code of scanning is sent to server, is taken Device be engaged in by analyzing the first two dimensional code, it is determined whether send unlocking information to shared bicycle.
S102: in the incomplete situation of the first two-dimensional barcode information, judge whether first two dimensional code can be also It is former;
In the present embodiment, client scan to two dimensional code may be complete two-dimensional barcode information be also likely to be incomplete Two-dimensional barcode information, but according to the breakage of two dimensional code or it is pre-set go back prime information, two dimensional code be can be into Row reduction, such as two kinds of following situation two dimensional codes can be reduced:
Situation one: the first two dimensional code include full two-dimensional code go back prime information in the case where, can according to go back prime information into Row reduction;
Wherein, the storage address information that prime information is the two dimensional code being stored in two dimensional code is gone back, in the complete feelings of the information Under condition, the information of two dimensional code can be got, and then carry out to damaged two dimensional code according to the storage address information of the two dimensional code Reduction.
Situation two: according to the location of client information, in the case where current location only includes a shared bicycle, The two-dimensional barcode information to the shared bicycle of the position is found from database, and then according to the two-dimensional barcode information to damaged two dimensional code It is restored.
As soon as situation and situation two can hereinafter describe in detail, repeat no more herein.
In the present embodiment, when server detects that the two dimensional code of scanning input is damaged two dimensional code, failure letter is generated Breath, and repair message is sent to relevant maintenance personal, it is convenient so as to the two dimensional code of the shared bicycle of the instant replacement of maintenance personal User uses.
S103: if first two-dimensional barcode information is able to carry out reduction, restoring first two dimensional code, obtains the second two dimension Code;
In the present embodiment, the second two dimensional code for restoring is complete first two dimensional code, and the specific mode that restores can be Hereinafter it is introduced.
S104: unlocking information is generated according to second two dimensional code, and the unlocking information is sent to the shared list Vehicle.
In the present embodiment, server passes through the second two-dimensional barcode information after reduction, the related letter of available shared bicycle Breath, server can generate unlocking information according to the information of shared bicycle, and will send unlock instruction to shared bicycle.
In addition to this, in order to guarantee reduction two dimensional code accuracy, according to the second two-dimensional barcode information generate unlock letter Before breath, the two dimensional code of reduction can also be confirmed again, specifically, further include:
According to second two-dimensional barcode information, the third place information of shared bicycle is obtained;
Obtain the second location information of the client;
Judge whether the third place and the second position match;
If the third place and second position matching, according to second two dimensional code generation unlocking information, and to The shared bicycle sends unlocking information.
In the present embodiment, under normal circumstances, user, can be with the shared bicycle of scanning when scanning the two dimensional code of shared bicycle In identical position, or in the position of close proximity, therefore, if reduction the corresponding shared bicycle of two dimensional code position with The location of client matches, and can determine that the two dimensional code of reduction is the damaged two dimensional code of scanning input.
In the present embodiment, in the case where receiving the two dimensional code that the first two dimensional code is damaged, judge that the first two dimensional code is It is no to restore, if first two dimensional code can be reduced, first two dimensional code is restored, obtains the second two dimensional code, and according to The second two dimensional code restored generates unlocking information, and the unlocking information is sent to shared bicycle.Solves existing skill in this way In art, in the case where the two dimensional code of shared bicycle is damaged, the problem of shared bicycle is not available, user is not only facilitated, Improve the service efficiency of shared bicycle.
In another embodiment, with reference to Fig. 2, the flow diagram of the first two dimensional code of reduction is shown, specifically, including:
S201: in the incomplete situation of the first two dimensional code, whether judge in first two dimensional code comprising reduction Information;
In the present embodiment, the generating process of the two dimensional code of shared bicycle is improved, the two of the shared bicycle of generation The information in code not only comprising shared bicycle is tieed up, also includes the storage address of two dimensional code, for example, in preset certain key positions On, it can be embedded in the storage address of two dimensional code, specifically, the generating process of two dimensional code includes:
Generate the essential information of shared bicycle;
Storage address is distributed for the two dimensional code of the shared bicycle;
According to the storage address of the essential information and distribution, the two dimensional code of shared bicycle is generated;
The shared two dimensional code is saved in the storage address of distribution.
Wherein, the essential information for sharing bicycle may include: the encoded information of shared bicycle.
Or:
The essential information of shared bicycle is generated, and the essential information according to the shared bicycle generates the shared bicycle Two dimensional code;
Storage address is distributed for the two dimensional code;
The storage address is embedded in the predeterminated position of the two dimensional code;Wherein preset position can be at least one Position;
The two dimensional code for being embedded in storage address is saved according to the storage address.
For example: storage address can be embedded on four angles of two dimensional code, as long as in this way, any the one of two dimensional code A angle is without breakage, so that it may according to the storage address of insertion, restore two dimensional code.
S202: if comprising the complete two dimensional code also prime information, parsing the two dimensional code also prime information, obtains storage ground Location information;
In the present embodiment, in order to guarantee the safety of information, storage address can be encrypted, that is to say, that Two dimensional code also prime information is encrypted storage address information.Therefore, to get the storage of the first two dimensional code to be restored Address needs to be decrypted to going back prime information, and then obtains the storage address information of the first two dimensional code to be restored.
S203: obtaining the two-dimensional barcode information of the storage address, obtains the second two dimensional code;
In the present embodiment, the second two dimensional code is complete first two dimensional code stored in database.
In the present embodiment, after getting complete two dimensional code, the information that the two dimensional code obtains shared bicycle can parse, into And unlocking information is generated, shared bicycle is unlocked, specifically, further include:
Second two dimensional code is parsed, the information of shared bicycle and the storage address information of two dimensional code are obtained;
According to the information of the shared bicycle, unlocking information is generated.
It, can be according to two dimensional code also in the case where damaged two dimensional code includes two dimensional code also prime information in the present embodiment Prime information obtains the storage address information of two dimensional code, and obtains the second two dimensional code according to the storage address information of the two dimensional code.This Sample can also unlock to shared bicycle in the case where two dimensional code breakage.
In another embodiment, with reference to Fig. 3, another flow diagram of the first two dimensional code of reduction is shown, specifically, packet It includes:
S301: the second location information of the client is obtained;
S302: judge the second position of the client whether only comprising a shared bicycle that do not unlock;
In the present embodiment, under normal circumstances, when scanning input shares bicycle, all can on the side of shared bicycle, that is, It says, the position of client location is the position of the shared bicycle of scanning input.Therefore, can be believed according to the position of client Breath, gets the information for the shared bicycle placed in this position.It, can be with if on the position only include a shared bicycle Think that the shared bicycle is the corresponding shared bicycle of the first two dimensional code, therefore it is shared can be got by the location information for this The two-dimensional barcode information of bicycle.
S303: if the second position of the client only includes the shared bicycle that do not unlock, the shared bicycle is obtained The second two-dimensional barcode information.
In the present embodiment, in order to guarantee can to unlock to the shared bicycle of scanning input, according to the second two dimensional code Information generates unlocking information, and the unlocking information is sent to shared bicycle while also sends to unlock to user and determines information; After shared bicycle executes unlocking according to the unlocking information, if the unlocking for receiving user feedback determines letter within the preset time Breath, then it represents that second two dimensional code is the shared bicycle of scanning input, and correctly performs unlocking to shared bicycle.But It is that if not receiving the unlocking confirmation message of user feedback within the preset time, then the shared bicycle of dual lock executes automatic Locking instruction.In this way, both having ensured that the shared bicycle of two dimensional code breakage can be used in user, the damaged two dimensional code of reduction is also ensured Accuracy.
In the present embodiment, by the position at location client end, determine current location whether only comprising one do not unlock be total to Bicycle is enjoyed, when current location only includes a shared bicycle that do not unlock, the shared bicycle can be got from database Two-dimensional barcode information.In this way, in the case where two dimensional code breakage two dimensional code can be restored, and raw according to the two dimensional code restored It is unlocked at unlocking information, and then to shared bicycle.
In another embodiment, with reference to Fig. 4, a kind of shared bicycle unlocking method provided in an embodiment of the present invention is shown Another flow diagram, in the present embodiment, this method comprises:
S401: in the case where first two dimensional code can not restore, the second location information of the client is obtained;
S402: determining and the client the second position is at a distance of the target area of pre-determined distance;
For example: pre-determined distance 1m, then target area be target area can for using second position coordinate as the center of circle, Using 1m as the regional scope of diameter.
S403: obtaining the information of the shared bicycle in the target area, and obtain that the target area parks it is shared The information of bicycle;
In the present embodiment, the location information that in store shared bicycle is placed in database can after target zone has been determined To determine the information of shared bicycle that the target area is parked in the database.
Wherein, user is after having used shared bicycle, server or the position for obtaining current vehicle, and saves the position, Stand as shared bicycle.
S404: determine that a target shares bicycle from the shared bicycle that the target area is parked;
Wherein, the shared bicycle that target area is parked may include one or more, for different situations, determine mesh Marking shared bicycle has different processing modes, specifically, S404 includes:
Situation one: for include a shared bicycle the case where:
Judge whether the shared bicycle is in unlocking condition;
If the shared bicycle is not in unlocking condition, this is shared into bicycle and is determined as the shared bicycle of target.
Wherein, the unlocking condition of shared bicycle mentioned herein, include two kinds: one is vehicles to have unlocked;In addition One is vehicle is in the judgement state unlocked, i.e. server is judging whether that bicycle is shared to this sends unlocking instruction.
When shared bicycle is not at unlocking condition mentioned above, so that it may this be shared bicycle be determined as target and share Bicycle.
Situation two: it is directed to the case where target area includes more shared bicycles:
At least shared bicycle for being not at unlocking condition is selected from the more shared bicycles;
From an at least shared bicycle, a shared bicycle is randomly selected, shares bicycle as target.
In the present embodiment, the unlocking condition mentioned in the unlocking condition and situation one mentioned in situation two is identical, herein Just repeat no more.
S405: obtaining the information that the target shares bicycle, and the information for sharing bicycle according to the target generates unlock letter Breath;
S406: sharing bicycle to the target and send unlocking instruction and prompting instruction, so that the shared bicycle is according to institute After stating unlocking instruction unlock, prompting is made a sound according to prompting instruction;
In the present embodiment, in order to allow user that can find the shared bicycle unlocked, after sharing bicycle unlock, it can pass through The sound reminded is issued to remind to user.
S407: information to be confirmed is sent to the client, and judges whether to receive the visitor within the preset time The unlocking confirmation message of family end feedback;
In the present embodiment, in order to guarantee that the user of scanned first two dimensional code of the target vehicle unlocked rides away, server exists While sharing bicycle transmission unlocking instruction to target, also information to be confirmed is sent to client, and user feedback is waited to open Lock confirmation message.
S408: if having received the unlocking confirmation message of client feedback within the preset time, confirmation is completed to unlock.
In the present embodiment, the preset time can be pre-set for technical staff, one very short time.
For example: after server has sent unlock instruction to shared bicycle, server sends letter to be confirmed to client Breath, for example, the button for whether confirming unlocking is shown on the client, it is anti-to server if user clicks confirmation unlocking button Feedback confirmation unlocking information.
Wherein, if server does not receive the unlocking confirmation message of user feedback in the preset time, to having unlocked Target share bicycle send locking instruction, target share bicycle receive locking instruction after, lock automatically.
In the present embodiment, in the case where two dimensional code can not be restored, it can be determined by the location information of client Target area out, and determine that target shares bicycle in the target area, and unlock target and share bicycle, in this way in scanning input Two dimensional code it is damaged in the case where, can also solution be locked into shared bicycle accordingly, it is convenient for users.
With reference to Fig. 5, a kind of structural schematic diagram of shared bicycle tripper provided in an embodiment of the present invention is shown, at this In embodiment, which includes:
Receiving unit 501, for receiving the first two-dimensional barcode information of client transmission;
Judging unit 502, for judging first two dimensional code in the incomplete situation of the first two-dimensional barcode information Whether can restore;
Two dimensional code reduction unit 503, if being able to carry out reduction, reduction the described 1st for first two-dimensional barcode information Code is tieed up, the second two dimensional code is obtained;
Transmission unit 504 for generating unlocking information according to second two dimensional code, and the unlocking information is sent to The shared bicycle.
Optionally, further includes:
Location information acquiring unit, for obtaining the client in the case where first two dimensional code can not restore Second location information;
Target area determination unit, for determining and the client the second position at a distance of the target area of pre-determined distance Domain;
Shared bicycle information acquisition unit, for obtaining the information of the shared bicycle in the target area, and obtains institute State the information for the shared bicycle that target area is parked;
Target shares bicycle determination unit, for determining a mesh from the shared bicycle that the target area is parked Mark shared bicycle;
Unlocking information generation unit shares the information of bicycle for obtaining the target, shares bicycle according to the target Information generate unlocking information;
Unlocking instruction and prompting instruction sending unit, for sharing to the target, bicycle sends unlocking instruction and prompting refers to It enables, so as to make a sound prompting according to prompting instruction after the shared bicycle is unlocked according to the unlocking instruction;
Information transmitting unit to be confirmed for sending information to be confirmed to the client, and judges whether preset The unlocking confirmation message of the client feedback is received in time;
Unlocking confirmation message transmission unit, if the unlocking for having received client feedback within the preset time confirms Information, confirmation are completed to unlock.
Device through this embodiment is realized in the case where the two dimensional code of shared bicycle is damaged, can also be unlocked altogether Bicycle is enjoyed, user is not only facilitated and also improves the utilization rate of shared bicycle.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of shared bicycle unlocking method characterized by comprising
Receive the first two-dimensional barcode information that client is sent;
In the incomplete situation of the first two-dimensional barcode information, judge whether first two dimensional code can restore;
If first two-dimensional barcode information is able to carry out reduction, first two dimensional code is restored, the second two dimensional code is obtained;
Unlocking information is generated according to second two dimensional code, and the unlocking information is sent to the shared bicycle.
2. the method according to claim 1, wherein described in the incomplete situation of the first two-dimensional barcode information Under, judge whether first two dimensional code can restore, comprising:
In the incomplete situation of the first two dimensional code, whether judge in first two dimensional code comprising going back prime information;
If going back prime information, reduction first two dimensional code comprising described, comprising:
The two dimensional code also prime information is parsed, storage address information is obtained;
The two-dimensional barcode information for obtaining the storage address obtains the second two dimensional code.
3. according to the method described in claim 2, it is characterized by further comprising:
Generate the essential information of shared bicycle;
Storage address is distributed for the two dimensional code of the shared bicycle;
According to the storage address of the essential information and distribution, the two dimensional code of shared bicycle is generated;
The two dimensional code of the shared bicycle is saved in the storage address of distribution.
4. according to the method described in claim 2, it is characterized by further comprising:
The essential information of shared bicycle is generated, and the essential information according to the shared bicycle generates the two dimension of the shared bicycle Code;
Storage address is distributed for the two dimensional code;
The storage address is embedded in the predeterminated position of the two dimensional code;Wherein preset position may include at least one position It sets;
The two dimensional code for being embedded in storage address is saved according to the storage address.
5. according to the method described in claim 2, it is characterized in that, it is described according to second two dimensional code generate unlocking information, Include:
Second two dimensional code is parsed, the information of shared bicycle and the storage address information of two dimensional code are obtained;
According to the information of the shared bicycle, unlocking information is generated.
6. the method according to claim 1, wherein described in the incomplete situation of the first two-dimensional barcode information Under, judge whether first two dimensional code can restore, comprising:
Obtain the second location information of the client;
Judge the second position of the client whether only comprising a shared bicycle that do not unlock;
If the second position of the client only includes the shared bicycle that do not unlock, first two dimensional code can be restored;
The reduction first two dimensional code includes:
Obtain the second two-dimensional barcode information of the shared bicycle that do not unlock detected.
7. the method according to claim 1, wherein further include:
In the case where first two dimensional code can not restore, the second location information of the client is obtained;
Determining and the client the second position is at a distance of the target area of pre-determined distance;
The information of the shared bicycle in the target area is obtained, and obtains the letter for the shared bicycle that the target area is parked Breath;
Determine that a target shares bicycle from the shared bicycle that the target area is parked;
The information that the target shares bicycle is obtained, the information for sharing bicycle according to the target generates unlocking information;
Bicycle is shared to the target and sends unlocking instruction and prompting instruction, so that the shared bicycle is according to the unlocking instruction After unlock, prompting is made a sound according to prompting instruction;
Information to be confirmed is sent to the client, and judges whether to receive the client feedback within the preset time Unlocking confirmation message;
If having received the unlocking confirmation message of client feedback within the preset time, confirmation is completed to unlock.
8. the method according to claim 1, wherein further include:
In the incomplete situation of the first two-dimensional barcode information, fault message is generated;
The fault message is sent to corresponding breakdown maintenance personnel.
9. a kind of shared bicycle tripper characterized by comprising
Receiving unit, for receiving the first two-dimensional barcode information of client transmission;
Judging unit, for judging that first two dimensional code whether can in the incomplete situation of the first two-dimensional barcode information Enough reduction;
Two dimensional code reduction unit restores first two dimensional code if being able to carry out reduction for first two dimensional code, obtains the Two two dimensional codes;
Transmission unit for generating unlocking information according to second two dimensional code, and the unlocking information is sent to described total Enjoy bicycle.
10. device according to claim 9, which is characterized in that further include:
Location information acquiring unit, in the case where first two dimensional code can not restore, obtaining the of the client Two location informations;
Target area determination unit, for determining and the client the second position at a distance of the target area of pre-determined distance;
Shared bicycle information acquisition unit, for obtaining the information of the shared bicycle in the target area, and obtains the mesh The information for the shared bicycle that mark region is parked;
Target shares bicycle determination unit, for determining that a target is total from the shared bicycle that the target area is parked Enjoy bicycle;
Unlocking information generation unit shares the information of bicycle for obtaining the target, and the letter of bicycle is shared according to the target Breath generates unlocking information;
Unlocking instruction and prompting instruction sending unit send unlocking instruction and prompting instruction for sharing bicycle to the target, So as to make a sound prompting according to prompting instruction after the shared bicycle is unlocked according to the unlocking instruction;
Information transmitting unit to be confirmed for sending information to be confirmed to the client, and judges whether in the preset time Inside receive the unlocking confirmation message of the client feedback;
Unlocking confirmation message transmission unit, if the unlocking confirmation letter for having received client feedback within the preset time Breath, confirmation are completed to unlock.
CN201810935505.5A 2018-08-16 2018-08-16 A kind of shared bicycle unlocking method and device Pending CN109166214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810935505.5A CN109166214A (en) 2018-08-16 2018-08-16 A kind of shared bicycle unlocking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810935505.5A CN109166214A (en) 2018-08-16 2018-08-16 A kind of shared bicycle unlocking method and device

Publications (1)

Publication Number Publication Date
CN109166214A true CN109166214A (en) 2019-01-08

Family

ID=64896001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810935505.5A Pending CN109166214A (en) 2018-08-16 2018-08-16 A kind of shared bicycle unlocking method and device

Country Status (1)

Country Link
CN (1) CN109166214A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109685956A (en) * 2019-01-21 2019-04-26 武汉小安科技有限公司 Method, device, equipment and storage medium for scanning and unlocking shared bicycle license plate
CN109830014A (en) * 2019-01-21 2019-05-31 武汉小安科技有限公司 Shared bicycle method for unlocking, device, equipment and storage medium
CN112511577A (en) * 2019-09-16 2021-03-16 京东方科技集团股份有限公司 Method, entity, electronic device and storage medium for acquiring target identification
CN114548139A (en) * 2022-03-09 2022-05-27 安徽产业互联数据智能创新中心有限公司 Charging pile two-dimensional code acquisition method and device
CN115966048A (en) * 2023-02-13 2023-04-14 深圳市泰比特科技有限公司 Vehicle borrowing method and system for shared vehicle and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537559A (en) * 2015-01-08 2015-04-22 常州永安公共自行车***股份有限公司 Renting method of public bike
CN106408714A (en) * 2016-09-29 2017-02-15 中国人民解放军海军航空工程学院 Control method and system of intelligent lock
CN206236192U (en) * 2016-12-12 2017-06-09 北京拜克洛克科技有限公司 Intelligent bicycle lock and intelligent bicycle
CN107871171A (en) * 2017-11-29 2018-04-03 深圳市赛亿科技开发有限公司 A kind of shared bicycle troublshooting and the method and system of releasing
CN108022341A (en) * 2017-11-25 2018-05-11 佛山市集知汇科技有限公司 A kind of shared bicycle method for unlocking and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537559A (en) * 2015-01-08 2015-04-22 常州永安公共自行车***股份有限公司 Renting method of public bike
CN106408714A (en) * 2016-09-29 2017-02-15 中国人民解放军海军航空工程学院 Control method and system of intelligent lock
CN206236192U (en) * 2016-12-12 2017-06-09 北京拜克洛克科技有限公司 Intelligent bicycle lock and intelligent bicycle
CN108022341A (en) * 2017-11-25 2018-05-11 佛山市集知汇科技有限公司 A kind of shared bicycle method for unlocking and system
CN107871171A (en) * 2017-11-29 2018-04-03 深圳市赛亿科技开发有限公司 A kind of shared bicycle troublshooting and the method and system of releasing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
尚恒志: "《融媒时代普通高等院校新闻传播学类核心课程"十三五"规划精品教材 新媒体技术》", 30 September 2017 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109685956A (en) * 2019-01-21 2019-04-26 武汉小安科技有限公司 Method, device, equipment and storage medium for scanning and unlocking shared bicycle license plate
CN109830014A (en) * 2019-01-21 2019-05-31 武汉小安科技有限公司 Shared bicycle method for unlocking, device, equipment and storage medium
CN109685956B (en) * 2019-01-21 2022-05-13 武汉小安科技有限公司 Method, device, equipment and storage medium for scanning and unlocking shared bicycle license plate
CN112511577A (en) * 2019-09-16 2021-03-16 京东方科技集团股份有限公司 Method, entity, electronic device and storage medium for acquiring target identification
WO2021052276A1 (en) * 2019-09-16 2021-03-25 京东方科技集团股份有限公司 Method for obtaining target identifier, service entity, application entity, electronic device and storage medium
EP4033787A4 (en) * 2019-09-16 2023-08-09 BOE Technology Group Co., Ltd. Method for obtaining target identifier, service entity, application entity, electronic device and storage medium
CN114548139A (en) * 2022-03-09 2022-05-27 安徽产业互联数据智能创新中心有限公司 Charging pile two-dimensional code acquisition method and device
CN114548139B (en) * 2022-03-09 2024-04-02 安徽络宝致联信息技术有限公司 Method and device for acquiring two-dimension code of charging pile
CN115966048A (en) * 2023-02-13 2023-04-14 深圳市泰比特科技有限公司 Vehicle borrowing method and system for shared vehicle and related equipment

Similar Documents

Publication Publication Date Title
CN109166214A (en) A kind of shared bicycle unlocking method and device
CN108111998B (en) Wireless unlocking method and system
CN107527518B (en) Parking space sharing method and system based on intelligent ground lock
WO2018098840A1 (en) Beacon system for vehicle positioning and vehicle positioning method
JP5587239B2 (en) Vehicle-to-vehicle / road-vehicle communication system
CN104794640B (en) Vehicle management method based on cloud server side and cloud server thereof
CN108569250B (en) Automatic authorization method of Bluetooth key based on shared automobile
CN1230031C (en) Integrity protection during initial registration of subscriber in telecommunications network
CN102907039B (en) Communication system, car-mounted terminal, apparatus for measuring road
CN106898063A (en) A kind of locking means and device of the shared vehicles
CN108512667A (en) A kind of certification certificates constructing method based on block chain
JP2019185619A (en) Car sharing system, information processing equipment, information processing method, and information processing program
RU2707920C1 (en) Delivery tracking device, a delivery tracking method and a nonvolatile computer-readable medium storing the delivery accompanying program
CN107657327A (en) A kind of shared caravan management system
CN112822630A (en) Data processing method of device and computer-readable storage medium
CN109327467A (en) The management method of RSSP-II secure communication protocols key management mechanism
CN106912001A (en) Automatic right-discriminating method and system based on WIFI broadcast
CN105391681A (en) Communication system, communication device, vehicle and communication method
WO2020203509A1 (en) Vehicle management device, vehicle management method, and vehicle
CN107040289B (en) Information transmission method and device based on near field communication
CN108510357B (en) Improved control method and device for shared bicycle intelligent lock framework
JP2005343430A (en) Vehicle control system
CN109685604A (en) The method, apparatus and storage medium of lost article are found based on shared bicycle
CN1921379A (en) Method for object discriminator/key supplier to get key
CN105208042A (en) Resource safety access method and system

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

Application publication date: 20190108

RJ01 Rejection of invention patent application after publication