CN109523709B - Shared bicycle using method and device, computer equipment and storage medium - Google Patents

Shared bicycle using method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN109523709B
CN109523709B CN201811208033.XA CN201811208033A CN109523709B CN 109523709 B CN109523709 B CN 109523709B CN 201811208033 A CN201811208033 A CN 201811208033A CN 109523709 B CN109523709 B CN 109523709B
Authority
CN
China
Prior art keywords
shared bicycle
user
acquiring
bicycle
dimensional code
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.)
Active
Application number
CN201811208033.XA
Other languages
Chinese (zh)
Other versions
CN109523709A (en
Inventor
胡金丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201811208033.XA priority Critical patent/CN109523709B/en
Publication of CN109523709A publication Critical patent/CN109523709A/en
Application granted granted Critical
Publication of CN109523709B publication Critical patent/CN109523709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • 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
    • 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/00571Electronically 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

Abstract

The invention discloses a shared bicycle using method, a device, computer equipment and a storage medium, wherein the shared bicycle using method comprises the following steps: obtaining a use request of a shared bicycle, wherein the use request comprises a user identifier; acquiring a user credit point according to the user identification; if the user credit score is greater than or equal to a preset threshold value, acquiring a two-dimensional code of the shared bicycle according to the use request; acquiring a brand identifier of the shared bicycle according to the two-dimensional code of the shared bicycle, and acquiring an unlocking instruction according to the two-dimensional code of the shared bicycle and the brand identifier; and sending the unlocking instruction to the shared bicycle to unlock. The technical scheme provided by the invention integrates the use of the shared bicycle, so that a user does not need to download a plurality of APPs or pay deposit of the shared bicycles of a plurality of brands and then use the shared bicycle, and the use convenience and the use efficiency of the shared bicycle are improved.

Description

Shared bicycle using method and device, computer equipment and storage medium
Technical Field
The invention belongs to the field of data processing, and particularly relates to a shared bicycle using method and device, computer equipment and a storage medium.
Background
Shared bicycle is a form of novel environmental protection sharing economy, and at present, market user scale continues to keep increasing by a wide margin.
However, due to the large number of shared vehicle brands, the shared vehicles at different times or locations for selection by the user may vary. If a user wants to use a plurality of brands of shared bicycles, the user needs to download the APP of different shared bicycles, and simultaneously, the user pays the deposit of the shared bicycles of the plurality of brands and recharges, and the process is relatively complicated and repeated. In addition, if a certain brand of shared bicycle is poorly operated, the user may not be able to take back the deposit and the balance, and the user may not use a certain brand of shared bicycle because of fear of not being able to take back the deposit and the balance, which may cause a problem that the brand of shared bicycle may still be unusable if necessary.
Therefore, the current shared bicycle is complicated to use and low in use efficiency.
Disclosure of Invention
The embodiment of the invention provides a shared bicycle using method and device, computer equipment and a storage medium, and aims to solve the problem that a shared bicycle is complicated to use.
A method of using a shared bicycle, comprising:
obtaining a use request of a shared bicycle, wherein the use request comprises a user identifier;
acquiring a user credit point according to the user identification;
if the user credit score is greater than or equal to a preset threshold value, acquiring a two-dimensional code of the shared bicycle according to the use request;
acquiring a brand identifier of the shared bicycle according to the two-dimensional code of the shared bicycle, and acquiring an unlocking instruction according to the two-dimensional code of the shared bicycle and the brand identifier;
and sending the unlocking instruction to the shared bicycle to unlock.
A shared bicycle use device, comprising:
the device comprises a use request acquisition module, a sharing module and a display module, wherein the use request acquisition module is used for acquiring a use request of a sharing bicycle, and the use request comprises a user identifier;
the user credit acquisition module is used for acquiring user credit according to the user identification;
the two-dimension code acquisition module is used for acquiring the two-dimension code of the shared bicycle according to the use request if the credit score of the user is greater than or equal to a preset threshold value;
the unlocking instruction acquisition module is used for acquiring the brand identification of the shared bicycle according to the two-dimensional code of the shared bicycle and acquiring an unlocking instruction according to the two-dimensional code of the shared bicycle and the brand identification;
and the unlocking instruction sending module is used for sending the unlocking instruction to the shared bicycle to unlock.
A computer device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, said processor implementing the steps of the above shared bicycle usage method when executing said computer program.
A computer-readable storage medium, storing a computer program which, when executed by a processor, implements the steps of the shared bicycle usage method described above.
According to the shared bicycle using method, the shared bicycle using device, the computer equipment and the storage medium, the using request of the shared bicycle is obtained, the credit score of the user is obtained according to the user identification in the using request, and if the credit score of the user is larger than or equal to the preset value, the two-dimensional code of the shared bicycle is obtained according to the using request of the shared bicycle; acquiring a brand identifier of the shared bicycle according to the two-dimension code of the shared bicycle, and acquiring an unlocking instruction according to the two-dimension code and the brand identifier of the shared bicycle; and finally, sending an unlocking instruction to the shared bicycle to unlock. Use the voucher with user credit point as sharing bicycle to just can acquire the brand of sharing bicycle and the use of unlocking instruction carrying out sharing bicycle according to the two-dimensional code, make the user need not download the APP of a plurality of sharing bicycles, need not pay the deposit of the sharing bicycle of a plurality of brands, solved the user and used the more loaded down with trivial details problem of sharing bicycle, improved the availability factor of sharing bicycle.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the embodiments or the prior art description will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings may be obtained according to these drawings without inventive labor.
FIG. 1 is a schematic diagram of an application environment of a method for sharing a bicycle in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of a method of sharing a single vehicle in accordance with an embodiment of the present invention;
FIG. 3 is another flow chart of a method for sharing a bicycle in accordance with an embodiment of the present invention;
FIG. 4 is another flow chart of a method for sharing a single vehicle in accordance with an embodiment of the present invention;
FIG. 5 is another flow chart of a method for sharing a single vehicle in accordance with an embodiment of the present invention;
FIG. 6 is another flow chart of a method for sharing a single vehicle in accordance with an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a shared bicycle user device in accordance with an embodiment of the present invention;
FIG. 8 is another functional block diagram of a shared bicycle user device in accordance with an embodiment of the present invention;
FIG. 9 is a schematic block diagram of an unlock command acquisition module of the shared bicycle using apparatus according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The sharing bicycle using method can be applied to an application environment as shown in fig. 1, wherein a client communicates with a server through a network, the server obtains a using request of the sharing bicycle through the client, then obtains a user credit score according to a user identifier in the using request, and judges according to the user credit score; if the judgment result is that the credit point of the user is greater than or equal to the preset threshold value, the server side obtains the two-dimensional code of the shared bicycle according to the use request of the shared bicycle; and then, acquiring a brand identifier of the shared bicycle according to the two-dimensional code of the shared bicycle, acquiring an unlocking instruction according to the two-dimensional code and the brand identifier of the shared bicycle, returning the unlocking instruction to the client, and finally sending the unlocking instruction to the shared bicycle for unlocking. The client can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices. The server can be implemented by an independent server or a server cluster composed of a plurality of servers.
In an embodiment, as shown in fig. 2, a method for using a shared bicycle is provided, which is described by taking the method applied to the server side in fig. 1 as an example, and includes the following steps:
s10: a usage request of the shared bicycle is obtained, wherein the usage request comprises a user identification.
Wherein the request for use may be obtained by the client. Alternatively, the client may be an application installed on the mobile terminal, such as a mobile phone APP; when the application program is started, the server side obtains the use request of the shared bicycle through the client side. The user identifier is an identifier for distinguishing the user sharing the bicycle, and optionally, the user identifier may be a mobile phone number, an identification number, a unique mobile phone identification code, or the like of the user.
Specifically, the server side obtains a use request of the shared bicycle from the client side, and obtains the user identification when obtaining the use request of the shared bicycle. Optionally, when the server side obtains a use request of the shared bicycle, a login instruction is sent to the client side, and the user inputs an account and a password to login; and after the user passes the verification login, the server side acquires the user account number, the user mobile phone number or the identity card number and the like as the user identification.
S20: and acquiring the credit points of the users according to the user identification.
The credit points of the users refer to the credit points of the users using the shared bicycle. It should be understood that the user credit points are credit points obtained by adding or subtracting the original credit points according to the usage records of the shared bicycle. Optionally, the credit system may be connected to a service end to obtain the personal credit, and the obtained personal credit may be used as the original user credit, or the original user credit may be set to be full. Alternatively, the credit score of the payment treasure can be used as the credit score of the original user because the number of the users of the payment treasure is large. Specifically, the server can be connected with a database of the payment treasures to obtain credit points of the payment treasures, and then the credit points are set as original user credit points.
Specifically, the server side is connected with a database of user credit points according to the user identification to obtain the user credit points. The database of the user credit points refers to a database of the server, the original user credit points can be obtained through the method, and then the user credit points obtained by performing corresponding addition and subtraction according to the use records of the shared bicycle are bound with the user identification and stored in the database of the server.
S30: and if the credit point of the user is greater than or equal to the preset threshold value, acquiring the two-dimensional code of the shared bicycle according to the use request.
The preset threshold value is the lowest user credit point with the shared bicycle use right set for the user credit points. Alternatively, the preset threshold may be set according to the result of the big data statistics, for example, if the credit score of 80% of the users using the sharing bicycle is 90 or more according to the result of the big data statistics, 90 may be used as the preset threshold.
Specifically, the user credit point is compared with a preset threshold, if the obtained user credit point is larger than or equal to the preset threshold, the fact that the user has the right of use of the shared bicycle is indicated, the server side sends a two-dimensional code obtaining instruction to the client side according to the use request of the shared bicycle, and the two-dimensional code of the shared bicycle is obtained through the client side. Optionally, the process of acquiring the two-dimensional code of the shared bicycle may be: the server side obtains the shooting permission of the client side through an application program of the client side, and then the camera is started to acquire the two-dimensional code of the shared bicycle.
Optionally, if the credit score of the user is lower than a preset threshold, rejecting the use request of the shared bicycle of the user; and when the use request of the shared bicycle is refused, sending a prompt message to the client according to the user identification.
Optionally, when the credit score of the user is lower than the preset threshold, the server sends a deposit payment instruction to the client, so that the user pays the corresponding deposit. And after the user pays the corresponding deposit according to the instruction, the server side acquires the two-dimensional code of the shared bicycle according to the use request of the user shared bicycle. Or when the credit score of the user is lower than the preset threshold value, the server side obtains the payment condition of the deposit of the user, if the deposit of the user is in a paid state, the user is allowed to use the sharing bicycle, and the server side obtains the two-dimensional code of the sharing bicycle according to the use request of the sharing bicycle of the user.
S40: and acquiring a brand identifier of the shared bicycle according to the two-dimensional code of the shared bicycle, and acquiring an unlocking instruction according to the two-dimensional code and the brand identifier of the shared bicycle.
The brand identifier refers to an identifier of a shared bicycle brand, and may be a brand name of the shared bicycle, such as yellow, blue, Mobai, and the like. Optionally, the two-dimensional code information of the two-dimensional code of the shared bicycle includes a brand identifier of the shared bicycle, and the brand identifier and the two-dimensional code of the shared bicycle are stored in a database of a corresponding shared bicycle platform. The two-dimensional code sequence of the shared bicycle can be obtained according to the two-dimensional code sequence corresponding to the two-dimensional code.
Specifically, the server identifies the two-dimension code information of the obtained two-dimension code, and identifies the brand identification of the shared bicycle; then, the obtained two-dimension codes are sent to a database of the shared bicycle with the corresponding brand identification according to the identified brand identification of the shared bicycle, and whether the corresponding two-dimension codes exist is searched; and if the corresponding two-dimension code exists, returning an unlocking instruction of the corresponding shared bicycle according to the matched two-dimension code.
Optionally, the process of obtaining the unlocking instruction corresponding to the two-dimensional code of the shared bicycle is as follows: the server sends the two-dimensional code of the shared bicycle to the corresponding shared bicycle platform, the shared bicycle platform identifies the two-dimensional code of the shared bicycle, shared bicycle information such as the model number of the shared bicycle and the serial number of the shared bicycle is obtained, a corresponding unlocking instruction is obtained according to the shared bicycle information and returned to the server, and the server sends the unlocking instruction of the shared bicycle to the client.
S50: and sending an unlocking instruction to the shared bicycle to unlock.
Specifically, the server side sends the unlocking instruction of the shared bicycle to the client side, and simultaneously sends the unlocking instruction of the shared bicycle to the signal receiving end of the shared bicycle for unlocking. For example, the Mobai bicycle is provided with an intelligent lock, wherein the intelligent lock is connected with a server side, and the server side can send an unlocking instruction to the intelligent lock to unlock the shared bicycle.
Optionally, after the shared bicycle is unlocked for use, the server connects the corresponding shared bicycle platform according to the use condition of the shared bicycle to start calculating the use cost of the shared bicycle.
Optionally, after the server sends the unlocking instruction to the shared bicycle for unlocking, if the unlocking fails, the server acquires the geographic position of the client, searches for all brands of shared bicycles nearest to the geographic position, and returns the shared bicycles to the client for the user to select again.
In the embodiment corresponding to fig. 2, the usage request of the shared bicycle is obtained, then the credit score of the user is obtained according to the user identifier in the usage request, and if the credit score of the user is greater than or equal to the preset value, the two-dimensional code of the shared bicycle is obtained according to the usage request of the shared bicycle; and then, acquiring a brand identifier of the shared bicycle according to the two-dimensional code of the shared bicycle, acquiring an unlocking instruction according to the two-dimensional code and the brand identifier of the shared bicycle, and finally sending the unlocking instruction to the shared bicycle for unlocking. Use the voucher with user credit point as sharing bicycle to just can acquire the brand of sharing bicycle and the use of unlocking instruction carrying out sharing bicycle according to the two-dimensional code, make the user need not download the APP of a plurality of sharing bicycles, need not pay the deposit of the sharing bicycle of a plurality of brands, solved the user and used the more loaded down with trivial details problem of sharing bicycle, improved the availability factor of sharing bicycle.
In an embodiment, before step S20, that is, before the step of obtaining the credit score of the user according to the user identifier, as shown in fig. 3, the method for using a shared bicycle according to an embodiment of the present invention may further include:
s61: and acquiring a previous use record of the user identifier, and judging whether the previous use record is abnormal or not.
The previous use record can be obtained from a database of the shared bicycle platform through the server according to the user identification. The usage record is abnormal, which means that the user does not pay corresponding usage cost or has other illegal behaviors after using the sharing bicycle.
Specifically, when the server receives a use request of the shared bicycle, the previous use record of the user identifier is obtained from a database of a shared bicycle platform according to the user identifier; acquiring corresponding fee payment information according to the previous use record, and if the corresponding fee payment information is an unpaid record, outputting a result that the previous use record is abnormal; if the corresponding fee payment information is the record of paid fee, the result that the record of the previous use is normal is output.
S62: and if the record of the previous use is abnormal, deducting the credit points of the user according to a preset proportion.
The preset proportion can be set according to the corresponding use cost of the use record, for example, if the use cost is 1 yuan, 1 point is deducted; if the use fee is 5 yuan, 5 points are deducted, and the rest is analogized. Alternatively, the preset ratio may be set according to the number of times the usage record is abnormal occurrence. For example, if the benchmark score is 5 scores each time, the first occurring abnormality may be correspondingly deducted according to the proportion of 100%, the second occurring abnormality may be correspondingly deducted according to the proportion of 200%, and the rest may be similar to the above.
Specifically, the server performs corresponding operation on the user credit score according to the result of the previous usage record obtained in step S61, and if the previous usage record is abnormal, obtains a corresponding preset proportion according to the charge corresponding to the abnormal usage record or the number of times of occurrence of the abnormal usage record, deducts a corresponding score from the user credit score according to the preset proportion, and updates the user credit score. Alternatively, if the previous usage record was normal, the user credit score is kept unchanged.
Optionally, the credit investigation system may be connected to the service end to obtain other bad records of the user, such as bad records of loans, set a corresponding preset proportion according to the type and the weight degree of the bad records, and deduct a corresponding credit score of the user according to the corresponding preset proportion.
In the embodiment corresponding to fig. 3, the previous usage record of the user identifier is obtained, and whether the previous usage record is abnormal is determined; and if the record of the previous use is abnormal, deducting the credit points of the user according to a preset proportion. By managing the credit points of the users, the use right of the users who use the shared bicycle and have poor credit can be removed, and therefore the normal use order of the shared bicycle is maintained. Correspondingly, if the user uses the shared bicycle according to the regulations, the user right of the shared bicycle can be normally obtained according to the credit points of the user without downloading the APP of the shared bicycles and paying the deposit of the shared bicycles, the problem that the shared bicycle is complicated to use is solved, and the use efficiency of the shared bicycle is improved.
In an embodiment, in step S40, the brand identifier of the shared bicycle is obtained according to the two-dimensional code, and the unlocking instruction is obtained according to the two-dimensional code and the brand identifier, as shown in fig. 4, the method specifically includes:
s41: and searching whether a corresponding two-dimension code exists in a shared bicycle database according to the two-dimension code of the shared bicycle.
The shared bicycle database is a database of the server and stores the two-dimensional codes and the data of the brand identifications of the shared bicycles of all brands.
Specifically, the server searches a shared bicycle database according to the acquired two-dimensional code of the shared bicycle, and searches whether the two-dimensional code corresponding to the acquired two-dimensional code of the shared bicycle exists in the shared bicycle database.
Optionally, the shared bicycle database is a database of each brand of shared bicycle, the server may traverse the obtained two-dimensional code through the database of each brand identifier of the shared bicycle, and if a corresponding two-dimensional code is found, directly obtain a corresponding unlocking instruction and return the unlocking instruction to the client, where step S42 and step S43 are skipped at this time. Before searching the two-dimension codes of the matched shared bicycles, the shared bicycles of different brands can be ranked according to the use frequency, and then the obtained shared bicycle two-dimension codes are preferentially searched in the database corresponding to the shared bicycle brand with higher use frequency, so that the time for searching and matching the two-dimension codes is shortened. The frequency of use of the brand of the shared bicycle can be obtained by dividing the number of use times of the brand of the shared bicycle by the number of use times of the shared bicycles of all the brands.
S42: and if the corresponding two-dimension code exists, acquiring a brand identifier corresponding to the two-dimension code of the shared bicycle and a corresponding shared bicycle platform.
Specifically, if a two-dimensional code corresponding to the two-dimensional code of the shared bicycle acquired by the server exists in the shared bicycle database, acquiring a corresponding shared bicycle brand identifier and a corresponding shared bicycle platform. Optionally, if the two-dimension code corresponding to the two-dimension code of the shared bicycle acquired by the server is not found in the matching process by traversing all the shared bicycle databases, the server sends a prompt message of failure in matching to the client.
S43: and acquiring an unlocking instruction from the corresponding shared bicycle platform according to the two-dimension code and the brand identification of the shared bicycle.
Specifically, the server side sends the two-dimensional code of the shared bicycle to the shared bicycle platform of the corresponding brand according to the brand identification of the shared bicycle, obtains an unlocking instruction corresponding to the two-dimensional code of the shared bicycle from the shared bicycle platform, and returns the unlocking instruction to the client side. Optionally, when the server returns the unlocking instruction to the client, the unlocking instruction is sent to the signal receiving end of the shared bicycle.
In the embodiment corresponding to fig. 4, whether the corresponding two-dimensional code exists is searched from the shared bicycle database through the two-dimensional code of the shared bicycle; if the corresponding two-dimension code exists, acquiring a brand identifier corresponding to the two-dimension code and a corresponding shared bicycle platform; and finally, acquiring an unlocking instruction from the corresponding shared bicycle platform according to the brand identification and the two-dimensional code of the shared bicycle. The unlocking instruction of the corresponding sharing bicycle is obtained according to the two-dimensional code of the sharing bicycle, the use of the sharing bicycles of multiple brands can be integrated, a user can use the sharing bicycles of the multiple brands without downloading the APP of the multiple sharing bicycles and paying the deposit of the multiple sharing bicycles, the problem that the sharing bicycles are complex to use is solved, and the use efficiency of the sharing bicycles is improved.
In an embodiment, after step S50, that is, after the step of sending the unlocking instruction to the shared bicycle for unlocking, as shown in fig. 5, the method for using the shared bicycle according to the embodiment of the present invention further includes:
s71: and acquiring the use cost of the sharing bicycle.
Optionally, the server may be connected to the corresponding shared bicycle platform according to the brand identifier of the shared bicycle, and the usage cost of the shared bicycle is calculated according to the charging standard of the specific shared bicycle platform. When the user finishes using the shared bicycle, the server side obtains a bicycle locking signal of the shared bicycle through the client side, stops charging according to the bicycle locking signal, and obtains the use cost of the shared bicycle.
Optionally, the charging standards of different brands of shared bicycles may be integrated to obtain a preferred unified charging standard as the charging standard of the server. For example, the charging standard of the shared bicycle brand with the largest number of users may be used as the charging standard of the server. And calculating the use charge of the shared bicycle according to the charging standard of the server, and finally obtaining the use charge according to the locking signal of the shared bicycle.
S72: and acquiring the user account according to the user identification.
The user account refers to a bank account of the user or other accounts which can provide funds to realize deduction of usage fees. Alternatively, the bank account of the user may be connected as the user account by each shared bicycle platform. Optionally, each shared bicycle platform may be connected to an account of a third party platform as a user account, for example, the shared bicycle platform is connected to obtain a user's pay bank account number as a user account.
Specifically, the user account may be bound when registered by an application of the client. And when the use cost of the shared bicycle is acquired, the server is connected with a corresponding external system according to the user identification to acquire a user account.
S73: the usage charge is deducted from the user account.
Specifically, the license exemption authorization of the user account can be acquired during client registration, and when the usage charge of the shared bicycle is acquired, the corresponding usage charge is directly and automatically deducted from the user account. Optionally, a fee deduction threshold may be set, when the usage fee exceeds the fee deduction threshold, a prompt message is sent to the user, and a password input request is sent, the user inputs a password of a corresponding user account and then deducts the usage fee, and if the user considers that the usage fee exceeds a normal range, a complaint may be made.
Optionally, when the service end obtains the usage charge of the shared bicycle, a payment verification instruction is sent to the client, so that the user performs payment verification by inputting a password or inputting a preset fingerprint and the like, and then the service end deducts the usage charge of the shared bicycle from the user account according to the result of the payment verification.
In the embodiment corresponding to fig. 5, the usage charge of the shared bicycle is acquired, the user account is acquired according to the user identifier, and then the usage charge of the shared bicycle is deducted from the user account. The user obtains the user account through the server side after using the shared bicycle to deduct corresponding use cost, so that the user does not need to recharge before using the shared bicycle in the process of using the shared bicycle, the problem of complex use of the shared bicycle is solved, and the use efficiency of the shared bicycle is improved.
In an embodiment, before step S10, that is, before the step of obtaining a request for using the shared bicycle, where the request for using includes a user identifier, as shown in fig. 6, the method for using the shared bicycle according to the embodiment of the present invention may further include:
s81: and acquiring a positioning request, and acquiring user position information according to the positioning request.
The positioning request refers to a request sent by the client to the server for acquiring the position of the shared bicycle, and can be acquired through an application program of the client. The user location information refers to the location information where the shared bicycle user is currently located, and optionally, information of the location where the client (for example, a mobile terminal) is located or input may be used as the user location information.
Specifically, the server side obtains a positioning request of the shared bicycle through the client side, and if the positioning request of the shared bicycle is received, the server side obtains user position information through the client side. Optionally, the specific geographic location may be obtained by a positioning device of the client as the user location information, for example, a GPS positioning device of the mobile phone. Alternatively, specific location information input by the client may be acquired as the user location information, for example, when the user inputs a location at the client, the location information of the a location is acquired as the user location information, when the client inputs the specific location, the server acquires the specific location, and the database of the connection map acquires the location information corresponding to the specific location.
S82: and acquiring the position information of all brands of the shared bicycle within a preset distance according to the position information of the user.
The preset distance can be within a distance range accepted by most users according to big data statistics, such as within 500m, and the user can conveniently find the corresponding shared bicycle according to the position information of the shared bicycle. The preset distance can also be set according to the number of the shared bicycles in the unit range, and if the number of the shared bicycles in the unit range is large, the preset distance is correspondingly reduced; if the number of the shared bicycles in the unit range is small, the preset distance is correspondingly increased. Alternatively, the position information of the sharing bicycle may be obtained by a chip built in the sharing bicycle and supporting positioning through a positioning function, such as a Global Navigation Satellite System (GNSS). Alternatively, the location information of the shared bicycle may be obtained by connecting a shared bicycle database.
Specifically, the server side respectively obtains the position information of all the brands of the shared bicycle according to the position information of the user, and returns the position information of the shared bicycle within a preset distance to the client side. Optionally, the client may perform an enlarging or reducing operation on the preset distance, and the server returns the position information of the shared bicycle according to the enlarged or reduced preset distance.
S83: and obtaining N pieces of shared bicycle brand selection information, and returning the position information of the shared bicycles of the N pieces of shared bicycle brands according to the N pieces of shared bicycle brand selection information, wherein N is a positive integer.
The N pieces of shared bicycle brand selection information are information of N pieces of shared bicycle brands selected by a user. It can be understood that the user can select multiple pieces of shared bicycle brand selection information, and when the user selects multiple shared bicycle brands, the server correspondingly returns the position information of the multiple shared bicycles. Optionally, the brand information of the shared bicycle may be displayed on the client in a form of a list, and when the user clicks a corresponding brand of the shared bicycle, the server acquires the shared bicycle brand selection information.
Specifically, the server side obtains N pieces of shared bicycle brand selection information through the client side, and then returns N pieces of position information of the shared bicycle brands to the client side according to the N pieces of shared bicycle brand selection information, so that a user can select one of the shared bicycles to use according to needs and the position information of the shared bicycles. Optionally, after the user selects one of the shared bicycles, the server may obtain a request for using the shared bicycle.
In the embodiment corresponding to fig. 6, by acquiring the positioning request, the user location information is acquired according to the positioning request; acquiring the position information of all brands of shared bicycles within a preset distance according to the position information of the user; and obtaining N pieces of shared bicycle brand selection information, and returning the position information of the shared bicycles of the N pieces of shared bicycle brands according to the N pieces of shared bicycle brand selection information. The position information of the shared bicycle is returned through the brand of the shared bicycle selected by the user, so that the user can select the position information of the shared bicycles of multiple brands as required, and the most convenient shared bicycle is selected for use. Through the integration of the shared bicycle brands, the user can conveniently use the shared bicycles of multiple brands, and the use efficiency of the shared bicycle is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In one embodiment, a shared bicycle using device is provided, and the shared bicycle using device corresponds to the shared bicycle using method in the above embodiment one to one. As shown in fig. 7, the shared bicycle using device includes a use request acquiring module 10, a user point acquiring module 20, a two-dimensional code acquiring module 30, an unlocking instruction acquiring module 40, and an unlocking instruction transmitting module 50. The functional modules are explained in detail as follows:
a usage request obtaining module 10, configured to obtain a usage request of the shared bicycle, where the usage request includes a user identifier.
A user score obtaining module 20, configured to obtain a user credit score according to the user identifier;
the two-dimension code acquisition module 30 is configured to acquire a two-dimension code of the shared bicycle according to the use request if the credit score of the user is greater than or equal to a preset threshold;
and the unlocking instruction acquisition module 40 is used for acquiring the brand identification of the shared bicycle according to the two-dimensional code of the shared bicycle and acquiring the unlocking instruction according to the two-dimensional code and the brand identification of the shared bicycle.
And the unlocking instruction sending module 50 is used for sending the unlocking instruction to the shared bicycle to unlock.
Further, as shown in fig. 8, the shared bicycle using apparatus provided in this embodiment further includes an integral change module 60, wherein the integral change module 60 includes a record determination unit 61 and an integral change unit 62.
And a record judging unit 61, configured to obtain a previous usage record of the user identifier, and judge whether the previous usage record is abnormal.
And the credit changing unit 62 is configured to deduct the credit of the user according to a preset proportion if the previous usage record is abnormal.
Further, as shown in fig. 9, the unlocking instruction obtaining module 40 includes a two-dimensional code searching unit 41, an identification platform obtaining unit 42, and an unlocking instruction obtaining unit 43.
And the two-dimension code searching unit 41 is used for searching whether a corresponding two-dimension code exists in the shared bicycle database according to the two-dimension code of the shared bicycle.
And the identification platform obtaining unit 42 is configured to obtain a brand identification corresponding to the two-dimensional code of the shared bicycle and a corresponding shared bicycle platform if the corresponding two-dimensional code exists.
And the unlocking instruction obtaining unit 43 is used for obtaining an unlocking instruction from the corresponding shared bicycle platform according to the two-dimensional code and the brand identifier of the shared bicycle.
Further, the shared bicycle using device provided by the embodiment further comprises a charge deduction module, wherein the charge deduction module comprises a use charge acquisition unit, a user account acquisition unit and a use charge deduction unit.
And the use charge acquisition unit is used for acquiring the use charge of the shared bicycle.
And the user account acquisition unit is used for acquiring the user account according to the user identification.
And the use charge deduction unit is used for deducting the use charge from the user account.
Further, the shared bicycle using device provided by this embodiment further includes a shared bicycle positioning module, where the shared bicycle positioning module includes a user position obtaining unit, a shared bicycle position obtaining unit, and a position information returning unit.
And the user position acquisition unit is used for acquiring the positioning request and acquiring the user position information according to the positioning request.
And the shared bicycle position acquisition unit is used for acquiring the position information of all brands of shared bicycles within a preset distance according to the user position information.
And the position information returning unit is used for acquiring N pieces of shared bicycle brand selection information and returning the position information of the shared bicycles of the N shared bicycle brands according to the N pieces of shared bicycle brand selection information, wherein N is a positive integer.
For specific limitations of the shared bicycle using device, reference may be made to the above limitations of the shared bicycle using method, which are not described herein again. The modules in the shared bicycle using device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 10. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the computer equipment is used for storing user credit points, two-dimensional codes of the shared bicycle, brand identification of the shared bicycle, use records of the shared bicycle and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of shared bicycle use.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring a use request of a shared bicycle, wherein the use request comprises a user identifier;
acquiring a user credit integral according to the user identification;
if the credit score of the user is greater than or equal to a preset threshold value, acquiring a two-dimensional code of the shared bicycle according to the use request;
acquiring a brand identifier of the shared bicycle according to the two-dimensional code of the shared bicycle, and acquiring an unlocking instruction according to the two-dimensional code and the brand identifier of the shared bicycle;
and sending an unlocking instruction to the shared bicycle to unlock.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, performs the steps of:
acquiring a use request of a shared bicycle, wherein the use request comprises a user identifier;
acquiring a user credit integral according to the user identification;
if the credit score of the user is greater than or equal to a preset threshold value, acquiring a two-dimensional code of the shared bicycle according to the use request;
acquiring a brand identifier of the shared bicycle according to the two-dimensional code of the shared bicycle, and acquiring an unlocking instruction according to the two-dimensional code and the brand identifier of the shared bicycle;
and sending an unlocking instruction to the shared bicycle to unlock.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method of using a shared bicycle, comprising:
obtaining a use request of a shared bicycle, wherein the use request comprises a user identifier;
acquiring a user credit point according to the user identification; if the user credit score is greater than or equal to a preset threshold value, acquiring the two-dimensional code of the shared bicycle according to the use request, and if the user credit score is less than the preset threshold value, acquiring the two-dimensional code of the shared bicycle according to a payment deposit state, wherein the steps of:
if the payment state is the unpaid state, the server sends a payment deposit instruction to the client, and after corresponding deposit is paid according to the instruction, the server acquires the two-dimensional code of the sharing bicycle according to the use request of the user sharing bicycle;
if the payment deposit state is the paid state, the server side obtains the two-dimension code of the sharing bicycle according to the using request of the sharing bicycle of the user;
obtaining the brand identification of the shared bicycle according to the two-dimensional code of the shared bicycle, and obtaining an unlocking instruction according to the two-dimensional code of the shared bicycle and the brand identification, including:
acquiring a brand identifier of the shared bicycle according to the two-dimensional code sequence of the two-dimensional code of the shared bicycle;
according to the brand identification, the two-dimension code of the shared bicycle is sent to a database corresponding to the brand identification, whether the corresponding two-dimension code exists or not is searched, and if the corresponding two-dimension code exists, an unlocking instruction of the corresponding shared bicycle is returned according to the matched two-dimension code;
and sending the unlocking instruction to the shared bicycle to unlock.
2. The method of sharing a single vehicle as claimed in claim 1, wherein prior to said step of obtaining a user credit based on said user identification, said method further comprises:
acquiring a previous use record of the user identifier, and judging whether the previous use record is abnormal or not;
and if the previous use record is abnormal, deducting the credit points of the user according to a preset proportion.
3. The method for using the shared bicycle according to claim 1, wherein the step of obtaining the brand identifier of the shared bicycle according to the two-dimensional code of the shared bicycle and obtaining the unlocking instruction according to the two-dimensional code of the shared bicycle and the brand identifier comprises:
searching whether a corresponding two-dimension code exists in a shared bicycle database according to the two-dimension code of the shared bicycle;
if the corresponding two-dimension code exists, acquiring a brand identifier corresponding to the two-dimension code of the shared bicycle and a corresponding shared bicycle platform;
and acquiring an unlocking instruction from the corresponding shared bicycle platform according to the two-dimension code of the shared bicycle and the brand identification.
4. The method of using a shared bicycle of claim 1, wherein after the step of sending the unlock instruction to the shared bicycle to unlock, the method further comprises:
acquiring the use cost of the shared bicycle;
acquiring a user account according to the user identification;
deducting the usage charge from the user account.
5. The method of using a shared bicycle of claim 1, wherein prior to the step of obtaining a request for use of the shared bicycle, the request for use including a user identification, the method further comprises:
acquiring a positioning request, and acquiring user position information according to the positioning request;
acquiring the position information of all brands of shared bicycles within a preset distance according to the user position information;
the method comprises the steps of obtaining N pieces of shared bicycle brand selection information, and returning the position information of shared bicycles of N pieces of shared bicycle brands according to the N pieces of shared bicycle brand selection information, wherein N is a positive integer.
6. A device for use with a shared bicycle, comprising:
the device comprises a use request acquisition module, a sharing module and a display module, wherein the use request acquisition module is used for acquiring a use request of a sharing bicycle, and the use request comprises a user identifier;
the user credit acquisition module is used for acquiring user credit according to the user identification;
the two-dimensional code acquisition module is used for acquiring the two-dimensional code of the shared bicycle according to the use request if the credit score of the user is greater than or equal to a preset threshold value, and acquiring the two-dimensional code of the shared bicycle according to a payment deposit state if the credit score of the user is less than the preset threshold value, and the two-dimensional code acquisition module comprises:
if the payment deposit state is the unpaid state, the server side sends a deposit payment instruction to the client side, and after corresponding deposit is paid according to the instruction, the server side acquires the two-dimensional code of the shared bicycle according to the use request of the user shared bicycle;
if the payment deposit state is the paid state, the server side obtains the two-dimension code of the sharing bicycle according to the using request of the sharing bicycle of the user;
the unlocking instruction acquisition module is used for acquiring the brand identification of the shared bicycle according to the two-dimensional code of the shared bicycle and acquiring the unlocking instruction according to the two-dimensional code of the shared bicycle and the brand identification, and comprises:
acquiring a brand identifier of the shared bicycle according to the two-dimensional code sequence of the two-dimensional code of the shared bicycle;
according to the brand identification, sending the two-dimension code of the shared bicycle to a database corresponding to the brand identification, searching whether a corresponding two-dimension code exists, and if so, returning an unlocking instruction of the corresponding shared bicycle according to the matched two-dimension code;
and the unlocking instruction sending module is used for sending the unlocking instruction to the shared bicycle to unlock.
7. The apparatus for sharing a bicycle of claim 6, further comprising an integral change module, the integral change module comprising a recording determination unit and an integral change unit;
the record judging unit is used for acquiring the previous use record of the user identifier and judging whether the previous use record is abnormal or not;
and the credit changing unit is used for deducting the credit of the user according to a preset proportion if the previous use record is abnormal.
8. The shared bicycle using device as claimed in claim 6, wherein the unlocking instruction obtaining module comprises a two-dimensional code searching unit, an identification platform obtaining unit and an unlocking instruction obtaining unit;
the two-dimension code searching unit is used for searching whether a corresponding two-dimension code exists in a shared bicycle database according to the two-dimension code of the shared bicycle;
the identification platform obtaining unit is used for obtaining a brand identification corresponding to the two-dimension code of the shared bicycle and a corresponding shared bicycle platform if the corresponding two-dimension code exists;
and the unlocking instruction acquisition unit is used for acquiring an unlocking instruction from the corresponding shared bicycle platform according to the two-dimension code of the shared bicycle and the brand identifier.
9. A computer arrangement comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor when executing the computer program realizes the steps of the method of shared bicycle use according to any of the claims 1 to 5.
10. A computer-readable storage medium, having a computer program stored thereon, which, when being executed by a processor, carries out the steps of the method for shared bicycle use according to any one of claims 1 to 5.
CN201811208033.XA 2018-10-17 2018-10-17 Shared bicycle using method and device, computer equipment and storage medium Active CN109523709B (en)

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 CN109523709A (en) 2019-03-26
CN109523709B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443957B (en) * 2019-07-26 2021-09-10 深圳市元征科技股份有限公司 Shared vehicle use management method, device, server and storage medium
CN111063063B (en) * 2019-11-29 2022-01-25 上海钧正网络科技有限公司 Shared vehicle unlocking method and device, computer equipment and storage medium
CN112165475B (en) * 2020-09-22 2023-05-02 成都知道创宇信息技术有限公司 Anticreeper method, anticreeper device, web server, and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (8)

* Cited by examiner, † Cited by third party
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
US10089606B2 (en) * 2011-02-11 2018-10-02 Bytemark, Inc. System and method for trusted mobile device payment
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
CN108629910B (en) * 2018-03-30 2020-10-30 深圳市元征科技股份有限公司 Shared vehicle using method and device and server
CN108629912A (en) * 2018-03-30 2018-10-09 深圳市元征科技股份有限公司 Vehicle sharing management method and platform

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN109523709A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109523709B (en) Shared bicycle using method and device, computer equipment and storage medium
CN109801388B (en) Charging method, system, device and computer readable storage medium
AU2018323233A1 (en) Resource transfer method, fund payment method and apparatus, and electronic device
CN108876506B (en) Vehicle registration method and device
JP2007183749A (en) Automobile management device, on-vehicle device, portable terminal, and car sharing management system, method and program
CN110163634B (en) Refund method and device based on blockchain and electronic equipment
US9672512B1 (en) Processor routing number for mobile communication service provider billing
CN113128508B (en) License plate number-based payment processing method and device
CN110782588B (en) Information prompting method, server and readable storage medium
CN108629910B (en) Shared vehicle using method and device and server
US20190244438A1 (en) Car sharing settlement method and car sharing management system
CN107730226A (en) Parking fee method of payment and system based on phone number
CN115330472A (en) Order processing method and system, service platform, storage medium and electronic equipment
CN113823003A (en) Parking payment method, device, electronic device, computer equipment and storage medium
CN112330397A (en) Parking stall renting method, parking stall renting device and parking stall renting system
CN111861097A (en) Information processing method and device
CN111582871A (en) Public transport charging method, device and system
US9998609B2 (en) System and method for detecting and alerting risks of inputting incorrect account information in refill transactions
CN109658083A (en) Memory, broadband fee payment method, device and equipment based on wechat small routine
CN111626726A (en) Life payment method, device, equipment and storage medium
KR20200041631A (en) Apparatus and method for providing a simple settlement service of a corporation account
CN112669059A (en) Method, device, server and storage medium for collecting money
JP2022011787A (en) Parking lot management system, parking lot management device and parking lot management program
KR20110115400A (en) Unmanned bike rental system and rental method using the same
CN114882646B (en) Non-inductive payment method, system, equipment and storage medium for gas station

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