CN109523709A - Shared bicycle application method, device, computer equipment and storage medium - Google Patents
Shared bicycle application method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109523709A CN109523709A CN201811208033.XA CN201811208033A CN109523709A CN 109523709 A CN109523709 A CN 109523709A CN 201811208033 A CN201811208033 A CN 201811208033A CN 109523709 A CN109523709 A CN 109523709A
- Authority
- CN
- China
- Prior art keywords
- shared bicycle
- bicycle
- user
- dimensional code
- shared
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/0042—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
- G07F17/0057—Coin-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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses a kind of shared bicycle application method, device, computer equipment and storage medium, which includes: the use request of the shared bicycle of acquisition, wherein described to include user identifier using request;User credit integral is obtained according to the user identifier;If the user credit integral is more than or equal to preset threshold, the two dimensional code that bicycle is shared described in request is used according to described;The brand identity of the shared bicycle is obtained according to the two dimensional code of the shared bicycle, and unlocking instruction is obtained according to the two dimensional code of the shared bicycle and the brand identity;The unlocking instruction is sent to the shared bicycle to unlock.Technical solution provided by the invention gathers the use of shared bicycle, makes that user does not need to download multiple APP or the cash pledge of the shared bicycle of paying multiple brands carries out the use of shared bicycle again, improves the property and service efficiency easy to use of shared bicycle.
Description
Technical field
The invention belongs to data processing fields, are to be related to a kind of shared bicycle application method, device, meter more specifically
Calculate machine equipment and storage medium.
Background technique
Shared bicycle is that novel environment friendly shares a kind of economic form, currently, marketing users scale continues to keep substantially increasing
It is long.
However, the shared bicycle that the different time or place selects for user can be since shared bicycle brand is numerous
It is different.User if it is desired to using multiple brands shared bicycle, need to download the APP of different sharing bicycle, while paying a variety of
Brand is shared the cash pledge of bicycle and is supplemented with money, this process is comparatively laborious and repeats.In addition, if some brand is shared bicycle and is managed not
Kind, then may cause user can not bring back cash pledge and remaining sum, and user may be because that worry can not bring back cash pledge and remaining sum without making
With the shared bicycle of some brand, although the shared bicycle for having the brand when needed is caused to remain unchanged asking of not being available
Topic.
Therefore, at present shared bicycle using comparatively laborious, service efficiency is not high.
Summary of the invention
The embodiment of the present invention provides a kind of shared bicycle application method, device, computer equipment and storage medium, to solve
Shared bicycle uses cumbersome problem.
A kind of shared bicycle application method, comprising:
Obtain the use request of shared bicycle, wherein described use requests to include user identifier;
User credit integral is obtained according to the user identifier;
If the user credit integral is more than or equal to preset threshold, shared according to described using described in request
The two dimensional code of bicycle;
The brand identity of the shared bicycle is obtained according to the two dimensional code of the shared bicycle, and according to the shared bicycle
Two dimensional code and the brand identity obtain unlocking instruction;
The unlocking instruction is sent to the shared bicycle to unlock.
A kind of shared bicycle use device, comprising:
Using request module, the use for obtaining shared bicycle is requested, wherein described to include user using request
Mark;
User integral obtains module, for obtaining user credit integral according to the user identifier;
Two-dimensional code acquisition module, if being more than or equal to preset threshold for user credit integral, according to
Use the two dimensional code that bicycle is shared described in request;
Unlocking instruction obtains module, for obtaining the brand mark of the shared bicycle according to the two dimensional code of the shared bicycle
Know, and unlocking instruction is obtained according to the two dimensional code of the shared bicycle and the brand identity;
Unlocking instruction sending module, for the unlocking instruction to be sent to the shared bicycle to unlock.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing
The computer program run on device, the processor realize above-mentioned shared bicycle application method when executing the computer program
Step.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter
The step of calculation machine program realizes above-mentioned shared bicycle application method when being executed by processor.
Above-mentioned shared bicycle application method, device, computer equipment and storage medium, by the use for obtaining shared bicycle
Then request obtains user credit integral according to the user identifier used in request, if user credit integral is more than or equal to
Preset value, then according to the two dimensional code for sharing bicycle using request for sharing bicycle;Then according to the two dimensional code of shared bicycle
The brand identity of shared bicycle is obtained, and unlocking instruction is obtained according to the two dimensional code of shared bicycle and brand identity;It will finally open
Lock instruction is sent to shared bicycle to unlock.Voucher is used using user credit integral as shared bicycle, and according to two
Dimension code can obtain the brand of shared bicycle and unlocking instruction carries out the use of shared bicycle, make user do not have to download it is multiple total
It is comparatively laborious using shared bicycle to solve user for the APP for enjoying bicycle, the cash pledge of the shared bicycle without paying multiple brands
Problem improves the service efficiency of shared bicycle.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the application environment schematic diagram that bicycle application method is shared in one embodiment of the invention;
Fig. 2 is the flow chart that bicycle application method is shared in one embodiment of the invention;
Fig. 3 is another flow chart that bicycle application method is shared in one embodiment of the invention;
Fig. 4 is another flow chart that bicycle application method is shared in one embodiment of the invention;
Fig. 5 is another flow chart that bicycle application method is shared in one embodiment of the invention;
Fig. 6 is another flow chart that bicycle application method is shared in one embodiment of the invention;
Fig. 7 is the functional block diagram that bicycle use device is shared in one embodiment of the invention;
Fig. 8 is another functional block diagram that bicycle use device is shared in one embodiment of the invention;
Fig. 9 is the functional block diagram shared unlocking instruction in bicycle use device in one embodiment of the invention and obtain module;
Figure 10 is a schematic diagram of computer equipment in one embodiment of the 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 some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Shared bicycle application method provided by the present application, can be applicable in the application environment such as Fig. 1, wherein client is logical
It crosses network to be communicated with server-side, server-side is requested by the use that client obtains shared bicycle, is then asked according to using
User identifier in asking obtains user credit integral, and is judged according to user credit integral;If the result judged is user
Credit score is more than or equal to preset threshold, then server-side is according to the two dimension for sharing bicycle using request for sharing bicycle
Code;The brand identity of shared bicycle is obtained then according to the two dimensional code of shared bicycle, and according to the two dimensional code and product of shared bicycle
Board mark obtains unlocking instruction and is back to client, and unlocking instruction is finally sent to shared bicycle to unlock.Wherein, objective
Family end, which can be, but not limited to, to be various personal computers, laptop, smart phone, tablet computer and portable wearable sets
It is standby.Server-side can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, it as shown in Fig. 2, providing a kind of shared bicycle application method, applies in Fig. 1 in this way
It is illustrated, includes the following steps: for server-side
S10: the use request of shared bicycle is obtained, wherein using request includes user identifier.
Wherein, it can be obtained by client using request.Optionally, client can be to be mounted on mobile terminal
Application program, such as cell phone application;When starting application program, server-side is requested by the use that client obtains shared bicycle.
User identifier refers to the mark for distinguishing shared bicycle user, and optionally, user identifier can be user mobile phone number, identity
Card number or mobile phone exclusive identification code etc..
Specifically, server-side obtains the use request of shared bicycle from client, when the use for getting shared bicycle is asked
When asking, while obtaining user identifier.Optionally, it when server-side gets the use request of shared bicycle, is sent to client
The instruction of login logs in user's input account and password;After user is logged in by verifying, server-side obtains user again
Account, user mobile phone number or identification card number etc. are used as user identifier.
S20: user credit integral is obtained according to user identifier.
Wherein, user credit integral refers to that user uses the credit score of shared bicycle.It should be understood that user credit integral is
The credit score obtained after accordingly adding and subtracting is carried out according to the usage record of shared bicycle by original credit score.It is alternatively possible to
Credit investigation system is connected by server-side and obtains personal credit integral, and the personal credit integral that will acquire is as original user credit product
Point, it is full marks that original user credit score, which also can be set,.Optionally, it since the number of users of Alipay is more, can will prop up
Precious credit score is paid as original user credit score.Specifically, it can be obtained by the database that server-side connects Alipay
The credit score of Alipay is taken, then this credit score is set as original user credit score.
Specifically, server-side obtains user credit integral according to the database that user identifier connects user credit integral.Its
In, the database of user credit integral refers to the database of server-side, and original user letter can be first got by the above method
It is integrated with integral, then the user credit obtained after being added and subtracted accordingly according to the usage record progress for sharing bicycle, is marked with user
Know in the database for being bound and being stored in server-side.
S30: if user credit integral is more than or equal to preset threshold, according to use request to share bicycle two
Tie up code.
Wherein, preset threshold refers to the minimum user credit with the shared bicycle right to use to user credit integral setting
Integral.It is alternatively possible to set preset threshold according to the result of big data statistics, for example, according to big data statistics as a result,
The user credit integral for having 80% user in user using shared bicycle is 90 points or more, then can be allocated as being default by 90
Threshold value.
Specifically, user credit is integrated and is compared with preset threshold, if the user credit obtained integrate be greater than or
Equal to preset threshold, show that user has the right to use of shared bicycle, then server-side requests to send according to the use of shared bicycle
Two dimensional code acquisition instruction obtains the two dimensional code of shared bicycle by client to client.Optionally, the two of shared bicycle are obtained
The process for tieing up code can be with are as follows: server-side obtains the shooting permission of client by the application program of client, restarts camera pair
The two dimensional code of shared bicycle obtains after being acquired.
Optionally, if user credit integral is lower than preset threshold, refuse the use request of the shared bicycle of user;When refusing
When the use request of bicycle shared absolutely, prompting message is sent to client according to user identifier.
Optionally, when user credit integral is lower than preset threshold, server-side pays cash pledge instruction to client transmission, makes
User pays corresponding cash pledge.After user pays corresponding cash pledge according to instruction, server-side is further according to user sharing bicycle
The two dimensional code of bicycle is shared using request.Alternatively, server-side obtains user when user credit integral is lower than preset threshold
Cash pledge pay situation, if the cash pledge of user is paid-up state, allow user using shared bicycle, server-side further according to
The two dimensional code that bicycle is shared using request of the shared bicycle of user.
S40: the brand identity of shared bicycle is obtained according to the two dimensional code of shared bicycle, and according to the two dimensional code of shared bicycle
Unlocking instruction is obtained with brand identity.
Wherein, brand identity refers to the mark of shared bicycle brand, can be the brand name of shared bicycle, such as small
Huang, little Lan, it rubs and visits etc..Optionally, sharing in the two-dimensional barcode information of the two dimensional code of bicycle includes the brand identity for sharing bicycle,
And the brand identity and two dimensional code of shared bicycle are stored in the database of corresponding shared bicycle platform.It is appreciated that different product
The shared bicycle of board has different two dimensional code sequences, can be corresponding shared according to the corresponding two dimensional code retrieval of two dimensional code
The brand identity of bicycle.
Specifically, server-side identifies the two-dimensional barcode information of the two dimensional code of acquisition, identifies the brand of shared bicycle
Mark;Then the shared of corresponding brand identity is sent to according to the two dimensional code that the brand identity of the shared bicycle identified will acquire
The database of bicycle searches whether that there are corresponding two dimensional codes;Corresponding two dimensional code if it exists is then returned according to matched two dimensional code
Return the unlocking instruction of corresponding shared bicycle.
Optionally, the process of corresponding with the two dimensional code of shared bicycle unlocking instruction is obtained are as follows: server-side is by shared bicycle
Two dimensional code be sent to shared bicycle platform accordingly, shared bicycle platform identifies the two dimensional code of shared bicycle, obtains
The shared bicycle information such as shared bicycle model and shared bicycle number on the two dimensional code of shared bicycle, according to shared bicycle information
It obtains corresponding unlocking instruction and is back to server-side, the unlocking instruction of shared bicycle is sent to client again by server-side.
S50: unlocking instruction is sent to shared bicycle to unlock.
Specifically, server-side is while being sent to client for the unlocking instruction of shared bicycle, by opening for shared bicycle
The signal receiving end that lock instruction is sent to shared bicycle is unlocked.Such as rub and visit bicycle with smart lock, wherein smart lock with
Server-side keeps connection, and server-side can send the unlocking that shared bicycle is carried out in unlocking instruction to smart lock.
Optionally, when shared bicycle be unlocked carry out using after, server-side connects phase according to the service condition of shared bicycle
The shared bicycle platform answered starts to calculate the cost of use of shared bicycle.
Optionally, after unlocking instruction is sent to shared bicycle by server-side is unlocked, if unlocking failure, server-side
The geographical location where client is obtained, the shared bicycle for searching all brands nearest with the geographical location at place returns to client
End, selects again for user.
In the corresponding embodiment of Fig. 2, the use by obtaining shared bicycle is requested, then according to the use used in request
Family mark obtains user credit integral, if user credit integral is more than or equal to preset value, according to the use for sharing bicycle
Request shares the two dimensional code of bicycle;The brand identity of shared bicycle, and root are obtained then according to the two dimensional code of shared bicycle
Unlocking instruction is obtained according to the two dimensional code and brand identity of shared bicycle, unlocking instruction is finally sent to shared bicycle to open
Lock.Voucher is used using user credit integral as shared bicycle, and the brand of shared bicycle can be obtained according to two dimensional code
The use that shared bicycle is carried out with unlocking instruction makes user not have to the APP for downloading multiple shared bicycles, without paying multiple brands
Shared bicycle cash pledge, solve the problems, such as that user is comparatively laborious using shared bicycle, improve the use effect of shared bicycle
Rate.
In one embodiment, before step S20, i.e., according to user identifier obtain user credit integral the step of it
Before, as shown in figure 3, shared bicycle application method provided in an embodiment of the present invention can also include:
S61: obtaining a preceding usage record for user identifier, and judges whether a preceding usage record is abnormal.
Wherein, a preceding usage record can by server-side according to user identifier from the database of shared bicycle platform
It obtains.Usage record is to refer to that user is capable in violation of rules and regulations using not paying corresponding cost of use after shared bicycle or occurring other extremely
For usage record.
Specifically, when server-side receives the use request of shared bicycle, according to user identifier from shared bicycle platform
Database in obtain user identifier a preceding usage record;Corresponding payment of fees letter is obtained according to a preceding usage record
Breath, if corresponding payment of fees information is the record that do not pay the fees, exporting a preceding usage record is abnormal result;If corresponding
Payment of fees information be the record paid the fees, then exporting a preceding usage record is normal result.
S62: if a preceding usage record is exception, user credit integral is deducted according to preset ratio.
Wherein, how much preset ratio can be arranged according to the corresponding cost of use of usage record, for example, if cost of use
It is 1 yuan, then deducts 1 point;If cost of use is 5 yuan, 5 points are deducted, remaining and so on.Optionally, preset ratio can root
It is arranged according to usage record is the number that occurs extremely.For example, can be set and go out for the first time if the deduction of points of every secondary standard is 5 points
Now abnormal accordingly to deduct in 100% ratio, second of appearance is abnormal accordingly to be deducted in 200% ratio, remaining is with this
Analogize.
Specifically, server-side integrates user credit according to the result of the step S61 preceding usage record obtained and carries out
Corresponding operation, if a preceding usage record is exception, accumulative according to the abnormal corresponding expense of usage record or appearance
Number obtains corresponding preset ratio, deducts corresponding score from user credit integral according to preset ratio and updates user's letter
With integral.Optionally, if a preceding usage record be it is normal, keep user credit integral it is constant.
It is alternatively possible to which connecting credit investigation system by server-side obtains the record of bad behavior of user's other aspects, such as provide a loan
Record of bad behavior, corresponding preset ratio is arranged according to the type of record of bad behavior and light and heavy degree, further according to corresponding default ratio
Example deducts corresponding user credit integral.
In the corresponding embodiment of Fig. 3, by obtaining a preceding usage record for user identifier, and preceding first use is judged
Whether record is abnormal;If a preceding usage record is exception, user credit integral is deducted according to preset ratio.Pass through
User credit integral is managed, the right to use for the user for using the credit of shared bicycle bad can be removed, to tie up
Protect the normal use order of shared bicycle.Correspondingly, if user is carried out in accordance with regulations using shared bicycle, user can normally be pressed
Credit score obtains the right to use of shared bicycle, and does not have to download the APP of multiple shared bicycles and pay multiple shared bicycles
It is comparatively laborious to solve the problems, such as that shared bicycle uses, improves the service efficiency of shared bicycle for cash pledge.
In one embodiment, in step S40, i.e., the brand identity of shared bicycle is obtained according to two dimensional code, and according to two dimension
Code and brand identity obtain unlocking instruction, as shown in figure 4, can specifically include:
S41: search whether that there are corresponding two dimensional codes from shared bicycle database according to the two dimensional code of shared bicycle.
Wherein, the database that bicycle database refers to server-side is shared, the two dimension of the shared bicycle of each brand is preserved
The data of code and brand identity.
Specifically, server-side searches shared bicycle database according to the two dimensional code of the shared bicycle of acquisition, searches shared single
It whether there is two dimensional code corresponding with the two dimensional code of shared bicycle of acquisition in car data library.
Optionally, share bicycle database be each brand share bicycle database, server-side can will acquire two
The database that dimension code traverses the shared each brand identity of bicycle directly acquires corresponding open if finding corresponding two dimensional code
Lock instruction is back to client, skips step S42 and step S43 at this time.Before the two dimensional code for searching matched shared bicycle,
First the shared bicycle of different brands can be ranked up according to frequency of use, the shared bicycle two dimensional code that then will acquire is preferential
In the corresponding database lookup of the higher shared bicycle brand of frequency of use, shortens two dimensional code and search the matched time.Wherein, altogether
The frequency of use for enjoying bicycle brand can be shared the access times of bicycle by the brand to be made divided by the shared bicycle of all brands
It is obtained with number.
S42: corresponding two dimensional code if it exists then obtains the corresponding brand identity of two dimensional code of shared bicycle and corresponding total
Enjoy bicycle platform.
Specifically, if there is two dimension corresponding with the two dimensional code of shared bicycle that server-side obtains in shared bicycle database
Code, then obtain corresponding shared bicycle brand identity and corresponding shared bicycle platform.Optionally, if all shared bicycles of traversal
Database lookup matching is less than two dimensional code corresponding with the two dimensional code of shared bicycle that server-side obtains, then server-side is to client
Send the prompting message that it fails to match.
S43: unlocking instruction is obtained from corresponding shared bicycle platform according to the two dimensional code of shared bicycle and brand identity.
Specifically, server-side is sent to corresponding brand from by the two dimensional code of shared bicycle according to the brand identity of shared bicycle
Shared bicycle platform, corresponding with the two dimensional code of shared bicycle unlocking instruction is obtained from shared bicycle platform, and will unlocking
Instruction is back to client.Optionally, when unlocking instruction is back to client by server-side, while unlocking instruction being sent to
The signal receiving end of shared bicycle.
In the corresponding embodiment of Fig. 4, the two dimensional code by sharing bicycle searches whether to deposit from shared bicycle database
In corresponding two dimensional code;Corresponding two dimensional code if it exists then obtains the corresponding brand identity of two dimensional code and corresponding shared bicycle
Platform;It is last that unlocking instruction is obtained from corresponding shared bicycle platform according to the brand identity for sharing bicycle and two dimensional code.According to
The two dimensional code of shared bicycle obtains the unlocking instruction of corresponding shared bicycle, can use to the shared bicycle of multiple brands into
Row integration, make user do not need to download the APP of multiple shared bicycles and pay multiple shared bicycles cash pledge can use it is more
The shared bicycle of a brand, solve the problems, such as shared bicycle using cumbersome, improve the service efficiency of shared bicycle.
In one embodiment, after step S50, i.e., in the step that unlocking instruction is sent to shared bicycle to unlock
After rapid, as shown in figure 5, shared bicycle application method provided in an embodiment of the present invention further include:
S71: the cost of use of shared bicycle is obtained.
Optionally, server-side can be connected to shared bicycle platform accordingly according to the brand identity of shared bicycle, according to
The Freight Basis of specific shared bicycle platform calculates the cost of use of shared bicycle.When user terminates shared bicycle
In use, server-side obtains the vehicle-locking signal of shared bicycle by client, charging is stopped according to vehicle-locking signal, is obtained shared single
The cost of use of vehicle.
It is alternatively possible to which the Freight Basis of the shared bicycle of different brands is integrated, a preferred unification is obtained
Freight Basis of the Freight Basis as server-side.Such as the Freight Basis of the most shared bicycle brand of number of users can be made
For the Freight Basis of server-side.It is calculated according to cost of use of the Freight Basis of server-side to shared bicycle, last basis
The vehicle-locking signal of shared bicycle obtains cost of use.
S72: user account is obtained according to user identifier.
Wherein, user account refer to user bank account or it is other can provide with funds to realize cost of use deduct
Account.It is alternatively possible to by the bank account of each shared bicycle platform connection user as user account.Optionally, may be used
It obtains and uses as user account, such as connection Alipay platform using the account by each shared bicycle platform connection third-party platform
The Alipay account at family is as user account.
Specifically, user account can be carried out being bound when registration logs in by the application program of client.When getting
When the cost of use of shared bicycle, server-side connects corresponding external system according to user identifier and obtains user account.
S73: cost of use is deducted from user account.
Specifically, user account can be obtained in client registers exempts from close authorization, when getting making for shared bicycle
The expense used time deducts corresponding cost of use automatically directly from user account.It is alternatively possible to which an expense deduction threshold is arranged
Value sends prompting message to user, and send input password request, by user when cost of use is more than expense deduction threshold value
The password for inputting corresponding user account carries out the deduction of cost of use again, if user thinks that cost of use exceeds normal range (NR),
It can be appealed.
Optionally, when server-side gets the cost of use of shared bicycle, payment verification instruction is sent to client, is made
User carries out payment verification by inputting the modes such as password or typing preset fingerprint, and then server-side is further according to payment verification
As a result the cost of use of shared bicycle is deducted from user account.
In the corresponding embodiment of Fig. 5, by obtaining the cost of use of shared bicycle, user's account is obtained according to user identifier
Family, then the cost of use for sharing bicycle is deducted from user account.User is obtained by server-side again after using shared bicycle
User account carries out the deduction of corresponding cost of use, makes user during using shared bicycle, does not need first to supplement with money again
Carry out using, solve the problems, such as shared bicycle using cumbersome, improve the service efficiency of shared bicycle.
In one embodiment, before step S10, i.e., in the use request for obtaining shared bicycle, wherein use request packet
Before the step of including user identifier, as shown in fig. 6, shared bicycle application method provided in an embodiment of the present invention can also include:
S81: obtaining Location Request, obtains customer position information according to Location Request.
Wherein, Location Request refers to the request of the position for the shared bicycle of acquisition that client is sent to server-side, Ke Yitong
The application program for crossing client is obtained.Customer position information refers to the location information that shared bicycle user is currently located, can
Selection of land can use the information of the position locating for client (such as mobile terminal) or inputted as customer position information.
Specifically, server-side obtains the Location Request of shared bicycle by client, if receiving the positioning of shared bicycle
Request, then obtain customer position information by client.It is alternatively possible to which the positioning device by client obtains specifically
Manage GPS positioning device of the position as customer position information, such as mobile phone terminal.It is alternatively possible to obtain the tool of client input
Body position information inputs the place A in client as customer position information, such as user, then the location information for obtaining the place A is made
For customer position information, when client inputs specified place, server-side obtains the specified place, and the database for connecting map obtains
Take location information corresponding with the specified place.
S82: the location information that all brands in pre-determined distance share bicycle is obtained according to customer position information.
Wherein, pre-determined distance can according to big data count most of user receive distance range, such as 500m with
It is interior, facilitate user to find shared bicycle accordingly according to the location information of shared bicycle.It can also be according to being total in unit range
Bicycle quantity is enjoyed pre-determined distance is arranged, if the shared bicycle quantity in unit range is more, pre-determined distance accordingly reduces;If
Shared bicycle negligible amounts in unit range, then pre-determined distance increases accordingly.Optionally, the location information for sharing bicycle can be with
The chip positioned as the support built in sharing bicycle, corresponding location information, such as worldwide navigation are obtained by positioning function
Satellite system (GNSS).Optionally, the location information for sharing bicycle can be obtained by connecting shared bicycle database.
Specifically, server-side obtains the location information that all brands share bicycle according to customer position information respectively, will be
The location information of shared bicycle in pre-determined distance is back to client.Optionally, client can put pre-determined distance
Big or reduction operation, server-side return to the location information of shared bicycle according to the pre-determined distance after zooming in or out.
S83: obtaining N number of shared bicycle brand and select information, is returned according to N number of shared bicycle brand selection information N number of total
Enjoy the location information of the shared bicycle of bicycle brand, wherein N is positive integer.
Wherein, the information of the brand of N number of shared bicycle of N number of shared bicycle brand selection information, that is, user's selection.It can be with
Understand, user can choose multiple shared bicycle brand selection information, when the shared bicycle brand that user selects is multiple, clothes
Business end correspondingly returns to the location information of multiple shared bicycles.Optionally, the brand message for sharing bicycle can pass through list
Form is shown in client, and when sharing the brand of bicycle accordingly when the user clicks, server-side gets shared bicycle brand choosing
Select information.
Specifically, server-side obtains N number of shared bicycle brand by client and selects information, then according to N number of shared list
Vehicle brand selection information returns to the location information of N number of shared bicycle brand to client, keeps user as needed and shared single
One of shared bicycle of location information selection of vehicle carry out using.Optionally, when user has selected one of shared bicycle
Afterwards, server-side can get the use request of shared bicycle.
In the corresponding embodiment of Fig. 6, by obtaining Location Request, customer position information is obtained according to Location Request;Root
The location information that all brands in pre-determined distance share bicycle is obtained according to customer position information;Obtain N number of shared bicycle brand
Information is selected, the location information of the shared bicycle of N number of shared bicycle brand is returned according to N number of shared bicycle brand selection information.
The location information that shared bicycle is returned by the shared bicycle brand that user selects makes user can according to need the multiple product of selection
The location information of the shared bicycle of board, thus select the shared bicycle of most convenient carry out using.By to shared bicycle brand
Integration, the shared bicycle of multiple brands convenient for users improve the service efficiency of shared bicycle.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
In one embodiment, a kind of shared bicycle use device is provided, the shared bicycle use device and above-described embodiment
In share bicycle application method correspond.As shown in fig. 7, the shared bicycle use device includes using request module
10, user integral obtains module 20, two-dimensional code acquisition module 30, unlocking instruction and obtains module 40 and unlocking instruction sending module
50.Detailed description are as follows for each functional module:
Using request module 10, the use for obtaining shared bicycle is requested, wherein is marked using request including user
Know.
User integral obtains module 20, for obtaining user credit integral according to user identifier;
Two-dimensional code acquisition module 30 is asked if being more than or equal to preset threshold for user credit integral according to using
Seek the two dimensional code for obtaining shared bicycle;
Unlocking instruction obtains module 40, for obtaining the brand identity of shared bicycle according to the two dimensional code for sharing bicycle, and
Unlocking instruction is obtained according to the two dimensional code of shared bicycle and brand identity.
Unlocking instruction sending module 50, for unlocking instruction to be sent to shared bicycle to unlock.
Further, as shown in figure 8, shared bicycle use device provided in this embodiment further includes integral change module
60, wherein integral change module 60 includes record judging unit 61 and integral changing unit 62.
Judging unit 61 is recorded, for obtaining a preceding usage record for user identifier, and judges a preceding usage record
It whether is abnormal.
Changing unit 62 is integrated, if being exception for a preceding usage record, according to preset ratio to user credit product
Divide and is deducted.
Further, as shown in figure 9, unlocking instruction acquisition module 40 is obtained including two dimensional code searching unit 41, label platform
Take unit 42 and unlocking instruction acquiring unit 43.
Two dimensional code searching unit 41, for searching whether to deposit from shared bicycle database according to the two dimensional code for sharing bicycle
In corresponding two dimensional code.
Label platform acquiring unit 42, for corresponding two dimensional code if it exists, then the two dimensional code for obtaining shared bicycle is corresponding
Brand identity and corresponding shared bicycle platform.
Unlocking instruction acquiring unit 43, for according to the two dimensional code and brand identity for sharing bicycle from corresponding shared bicycle
Platform obtains unlocking instruction.
Further, shared bicycle use device provided in this embodiment further includes expense deduction module, wherein expense button
Except module includes that cost of use acquiring unit, user account acquiring unit and cost of use deduct unit.
Cost of use acquiring unit, for obtaining the cost of use of shared bicycle.
User account acquiring unit, for obtaining user account according to user identifier.
Cost of use deducts unit, for deducting cost of use from user account.
Further, shared bicycle use device provided in this embodiment further includes shared bicycle locating module, wherein altogether
Enjoying bicycle locating module includes user location acquiring unit, shared bicycle position acquisition unit and location information return unit.
User location acquiring unit obtains customer position information according to Location Request for obtaining Location Request.
Shared bicycle position acquisition unit, it is shared for obtaining all brands in pre-determined distance according to customer position information
The location information of bicycle.
Location information return unit, for obtaining N number of shared bicycle brand selection information, according to N number of shared bicycle brand
Selection information returns to the location information of the shared bicycle of N number of shared bicycle brand, wherein N is positive integer.
Specific about shared bicycle use device limits the limit that may refer to above for shared bicycle application method
Fixed, details are not described herein.Modules in above-mentioned shared bicycle use device can fully or partially through software, hardware and its
Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with
It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding
Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 10.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is for storing the brand identity of two dimensional code, shared bicycle that user credit integrates, shares bicycle and sharing
The usage record etc. of bicycle.The network interface of the computer equipment is used to communicate with external terminal by network connection.The meter
To realize a kind of shared bicycle application method when calculation machine program is executed by processor.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Obtain the use request of shared bicycle, wherein using request includes user identifier;
User credit integral is obtained according to user identifier;
If user credit integral is more than or equal to preset threshold, according to the two dimension for using request to share bicycle
Code;
The brand identity of shared bicycle is obtained according to the two dimensional code of shared bicycle, and according to the two dimensional code and product of shared bicycle
Board mark obtains unlocking instruction;
Unlocking instruction is sent to shared bicycle to unlock.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Obtain the use request of shared bicycle, wherein using request includes user identifier;
User credit integral is obtained according to user identifier;
If user credit integral is more than or equal to preset threshold, according to the two dimension for using request to share bicycle
Code;
The brand identity of shared bicycle is obtained according to the two dimensional code of shared bicycle, and according to the two dimensional code and product of shared bicycle
Board mark obtains unlocking instruction;
Unlocking instruction is sent to shared bicycle to unlock.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of shared bicycle application method characterized by comprising
Obtain the use request of shared bicycle, wherein described use requests to include user identifier;
User credit integral is obtained according to the user identifier;
If the user credit integral is more than or equal to preset threshold, shared bicycle described in request is used according to described
Two dimensional code;
The brand identity of the shared bicycle is obtained according to the two dimensional code of the shared bicycle, and according to the two of the shared bicycle
It ties up code and the brand identity obtains unlocking instruction;
The unlocking instruction is sent to the shared bicycle to unlock.
2. shared bicycle application method as described in claim 1, which is characterized in that obtained described according to the user identifier
Before the step of user credit integrates, the method also includes:
A preceding usage record for the user identifier is obtained, and judges whether a preceding usage record is abnormal;
If a preceding usage record is exception, user credit integral is deducted according to preset ratio.
3. shared bicycle application method as described in claim 1, which is characterized in that the two dimension according to the shared bicycle
Code obtains the brand identity of the shared bicycle, and is obtained and unlocked according to the two dimensional code of the shared bicycle and the brand identity
Instruction, comprising:
Search whether that there are corresponding two dimensional codes from shared bicycle database according to the two dimensional code of the shared bicycle;
Corresponding two dimensional code if it exists then obtains the corresponding brand identity of two dimensional code and corresponding shared list of the shared bicycle
Vehicle platform;
It obtains to unlock from the corresponding shared bicycle platform according to the two dimensional code of the shared bicycle and the brand identity and refer to
It enables.
4. shared bicycle application method as described in claim 1, which is characterized in that be sent to the unlocking instruction described
After the step of shared bicycle is to be unlocked, the method also includes:
Obtain the cost of use of the shared bicycle;
User account is obtained according to the user identifier;
The cost of use is deducted from the user account.
5. shared bicycle application method as described in claim 1, which is characterized in that asked in the use for obtaining shared bicycle
It asks, before the use request includes the steps that user identifier, the method also includes:
Location Request is obtained, customer position information is obtained according to the Location Request;
The location information that all brands in pre-determined distance share bicycle is obtained according to the customer position information;
N number of shared bicycle brand selection information is obtained, N number of shared list is returned to according to N number of shared bicycle brand selection information
The location information of the shared bicycle of vehicle brand, wherein N is positive integer.
6. a kind of shared bicycle use device characterized by comprising
Using request module, the use for obtaining shared bicycle is requested, wherein described to be marked using request including user
Know;
User integral obtains module, for obtaining user credit integral according to the user identifier;
Two-dimensional code acquisition module, if being more than or equal to preset threshold for user credit integral, according to the use
The two dimensional code of bicycle is shared described in request;
Unlocking instruction obtains module, for obtaining the brand identity of the shared bicycle according to the two dimensional code of the shared bicycle,
And unlocking instruction is obtained according to the two dimensional code of the shared bicycle and the brand identity;
Unlocking instruction sending module, for the unlocking instruction to be sent to the shared bicycle to unlock.
7. shared bicycle use device as claimed in claim 6, which is characterized in that further include integral change module, the product
Dividing change module includes recording judging unit and integrating changing unit;
The record judging unit, for obtaining a preceding usage record for the user identifier, and judge it is described before once make
It whether is abnormal with record;
The integral changing unit, if being exception for a preceding usage record, according to preset ratio to the user
Credit score is deducted.
8. shared bicycle use device as claimed in claim 6, which is characterized in that it includes two that the unlocking instruction, which obtains module,
Tie up code searching unit, label platform acquiring unit and unlocking instruction acquiring unit;
The two dimensional code searching unit, for being searched whether from shared bicycle database according to the two dimensional code of the shared bicycle
There are corresponding two dimensional codes;
The label platform acquiring unit then obtains the two dimensional code pair of the shared bicycle for corresponding two dimensional code if it exists
The brand identity and corresponding shared bicycle platform answered;
The unlocking instruction acquiring unit, for according to the two dimensional code of the shared bicycle and the brand identity from the correspondence
Shared bicycle platform obtain unlocking instruction.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor
The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to
The step of any one of 5 shared bicycle application method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realizing the shared bicycle application method as described in any one of claim 1 to 5 when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811208033.XA CN109523709B (en) | 2018-10-17 | 2018-10-17 | Shared bicycle using method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811208033.XA CN109523709B (en) | 2018-10-17 | 2018-10-17 | Shared bicycle using method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109523709A true CN109523709A (en) | 2019-03-26 |
CN109523709B CN109523709B (en) | 2022-09-30 |
Family
ID=65772487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811208033.XA Active CN109523709B (en) | 2018-10-17 | 2018-10-17 | Shared bicycle using method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109523709B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443957A (en) * | 2019-07-26 | 2019-11-12 | 深圳市元征科技股份有限公司 | Use management method, device, server and the storage medium of shared vehicle |
CN111063063A (en) * | 2019-11-29 | 2020-04-24 | 上海钧正网络科技有限公司 | Shared vehicle unlocking method and device, computer equipment and storage medium |
CN112165475A (en) * | 2020-09-22 | 2021-01-01 | 成都知道创宇信息技术有限公司 | Anti-crawler method, anti-crawler device, website server and readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006309568A (en) * | 2005-04-28 | 2006-11-09 | Tatsuya Suzuki | Sharing system for bicycle |
CN101668065A (en) * | 2008-09-02 | 2010-03-10 | 银河联动信息技术(北京)有限公司 | Method and system for transmitting, storing and displaying two-dimensional codes |
US20120209630A1 (en) * | 2011-02-11 | 2012-08-16 | Bytemark, Inc. | System and method for trusted mobile device payment |
CN104794617A (en) * | 2015-04-29 | 2015-07-22 | 天脉聚源(北京)传媒科技有限公司 | Credit card encryption method and device |
CN205582127U (en) * | 2016-04-09 | 2016-09-14 | 杭州承扬自动化科技有限公司 | Electric bicycle system of renting |
CN107295071A (en) * | 2017-06-12 | 2017-10-24 | 广东欧珀移动通信有限公司 | Shared information of vehicles processing method, device, server, terminal and storage medium |
CN107330760A (en) * | 2017-06-29 | 2017-11-07 | 苏州见真物联科技有限公司 | A kind of cross-platform sharing bicycle management method |
CN107741995A (en) * | 2017-11-17 | 2018-02-27 | 郑州云海信息技术有限公司 | A kind of shared bicycle based on cloud computing recommends method and system |
CN108629910A (en) * | 2018-03-30 | 2018-10-09 | 深圳市元征科技股份有限公司 | Shared vehicle application method, device and server |
CN108629912A (en) * | 2018-03-30 | 2018-10-09 | 深圳市元征科技股份有限公司 | Vehicle sharing management method and platform |
-
2018
- 2018-10-17 CN CN201811208033.XA patent/CN109523709B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006309568A (en) * | 2005-04-28 | 2006-11-09 | Tatsuya Suzuki | Sharing system for bicycle |
CN101668065A (en) * | 2008-09-02 | 2010-03-10 | 银河联动信息技术(北京)有限公司 | Method and system for transmitting, storing and displaying two-dimensional codes |
US20120209630A1 (en) * | 2011-02-11 | 2012-08-16 | Bytemark, Inc. | System and method for trusted mobile device payment |
CN104794617A (en) * | 2015-04-29 | 2015-07-22 | 天脉聚源(北京)传媒科技有限公司 | Credit card encryption method and device |
CN205582127U (en) * | 2016-04-09 | 2016-09-14 | 杭州承扬自动化科技有限公司 | Electric bicycle system of renting |
CN107295071A (en) * | 2017-06-12 | 2017-10-24 | 广东欧珀移动通信有限公司 | Shared information of vehicles processing method, device, server, terminal and storage medium |
CN107330760A (en) * | 2017-06-29 | 2017-11-07 | 苏州见真物联科技有限公司 | A kind of cross-platform sharing bicycle management method |
CN107741995A (en) * | 2017-11-17 | 2018-02-27 | 郑州云海信息技术有限公司 | A kind of shared bicycle based on cloud computing recommends method and system |
CN108629910A (en) * | 2018-03-30 | 2018-10-09 | 深圳市元征科技股份有限公司 | Shared vehicle application method, device and server |
CN108629912A (en) * | 2018-03-30 | 2018-10-09 | 深圳市元征科技股份有限公司 | Vehicle sharing management method and platform |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443957A (en) * | 2019-07-26 | 2019-11-12 | 深圳市元征科技股份有限公司 | Use management method, device, server and the storage medium of shared vehicle |
CN111063063A (en) * | 2019-11-29 | 2020-04-24 | 上海钧正网络科技有限公司 | Shared vehicle unlocking method and device, computer equipment and storage medium |
CN112165475A (en) * | 2020-09-22 | 2021-01-01 | 成都知道创宇信息技术有限公司 | Anti-crawler method, anti-crawler device, website server and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109523709B (en) | 2022-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7360691B2 (en) | Secure device and mobile terminal which carry out data exchange between card applications | |
US20210326886A1 (en) | Blockchain-based resource transaction methods, apparatuses, and systems | |
CN109523709A (en) | Shared bicycle application method, device, computer equipment and storage medium | |
CN107590870A (en) | Fiduciary high speed charging method and device | |
JP2002512715A (en) | Secure multi-application card system and process | |
US10318954B1 (en) | Processor routing number for mobile communication service provider billing | |
CN112990908B (en) | Recharging method, recharging device, recharging equipment and recharging medium | |
CN113191869B (en) | Digital currency account control method and device | |
CN108564366A (en) | Payment cipher remapping method, device and electronic equipment | |
CN111563735A (en) | Payment method and system based on block chain | |
CN109767069A (en) | Production vehicles recommended method, device, computer equipment and storage medium | |
CN111402069B (en) | Accumulation fund data acquisition method and device, computer equipment and storage medium | |
CN108351990A (en) | Method and system for distributing physical currency | |
US20080046381A1 (en) | Electronic payment terminal and method for making electronic payment terminals available | |
CN110223740A (en) | Medical insurance, which is closed the account, cooperates with check system and method | |
CA2945551C (en) | Module for emulating at least one payment card, corresponding method, payment device, computer program product and storage medium | |
CZ225499A3 (en) | Chip card and method of use of such chip card | |
KR102082949B1 (en) | Method, apparatus and computer program for selective payment processing, method, apparatus and computer program for selective payment requesting | |
CN110428033A (en) | A kind of method of calibration, identification end and user terminal | |
RU2757561C1 (en) | System for providing a parking space, a server device and a non-volatile data carrier | |
KR20000068374A (en) | Security module comprising means generating links between main files and auxiliary files | |
JP2007041731A (en) | Cybermoney system | |
US20240161070A1 (en) | System and method for initiating a transfer of resources | |
JP2006320573A (en) | Electronic money system for game, service providing server, portable terminal, and electronic money application program | |
KR20240122395A (en) | Device and method to communicate through network to process payment request |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |