CN112990963B - Charging method, charging preference server, operation server and storage medium - Google Patents

Charging method, charging preference server, operation server and storage medium Download PDF

Info

Publication number
CN112990963B
CN112990963B CN202110203021.3A CN202110203021A CN112990963B CN 112990963 B CN112990963 B CN 112990963B CN 202110203021 A CN202110203021 A CN 202110203021A CN 112990963 B CN112990963 B CN 112990963B
Authority
CN
China
Prior art keywords
charging
riding
server
operation data
shared bicycle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110203021.3A
Other languages
Chinese (zh)
Other versions
CN112990963A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110203021.3A priority Critical patent/CN112990963B/en
Publication of CN112990963A publication Critical patent/CN112990963A/en
Application granted granted Critical
Publication of CN112990963B publication Critical patent/CN112990963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination
    • G06Q30/0284Time or distance, e.g. usage of parking meters or taximeters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure provides a charging method, a charging preference server, an operation server, and a computer-readable storage medium for sharing a bicycle, the method comprising: after a user finishes riding a shared bicycle, receiving a charging policy generation request sent by an operation server, wherein the charging policy generation request carries a starting position and an ending position of the riding; acquiring operation data related to the starting position and the ending position of the riding based on the charging policy generation request; generating a charging policy of the riding based on the operation data; and sending the charging policy to the operation server so that the operation server calculates the cost of the riding based on the charging policy. According to the method and the device for charging the bicycle, corresponding charging strategies are generated and charging is carried out aiming at user riding, the charging mode is more flexible, the competitiveness of a shared bicycle operation enterprise can be effectively improved, and meanwhile the operation cost is reduced.

Description

Charging method, charging preference server, operation server and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a charging method for a shared bicycle, a charging preference server, an operation server, and a computer-readable storage medium.
Background
The sharing bicycle is an emerging mode for solving the problem of the last kilometer of travel in the city, is green and environment-friendly, and is loved by people. When a user needs to ride a sharing bicycle, the user usually selects one sharing bicycle at first, uses the mobile terminal camera to scan the two-dimensional code on the bicycle body of the sharing bicycle, applies for obtaining unlocking authorization from the operation platform of the sharing bicycle, starts riding after unlocking the sharing bicycle, and after the user finishes riding, needs to pay certain riding expense to the sharing bicycle operation enterprise.
The current charging mode of the shared bicycle is generally only related to the current riding time length or the riding times, and is not related to the starting and ending positions of riding. The current charging mode is suitable for the situation of insufficient market competition in the early stage of development of the shared bicycle industry, different shared bicycle operation enterprises have obvious differences in vehicle release scale and regions, the choice is not large when users select the service of the shared bicycle operation enterprises, and only one bicycle of the shared bicycle operation enterprises can be selected to ride under most conditions. Along with the continuous popularization of the shared bicycle to our life, the shared bicycle industry is also developing continuously, and the selection surface of the shared bicycle of different shared bicycle operation enterprises is obviously increased by users today with the strong competition of the shared bicycle industry, the shared bicycle operation enterprises have to face a difficult problem of how to attract the users to ride, and the loyalty of the users is improved. Meanwhile, the shared bicycle operation enterprises also face the problem that the shared bicycle parking cannot be guided, a large amount of resources have to be input to manually adjust the positions of the vehicles, and the operation cost of the enterprises is increased.
Therefore, it is highly desirable to provide a charging scheme that can effectively improve the competitiveness of the shared bicycle operation enterprises and reduce the operation cost.
Disclosure of Invention
The present disclosure provides a charging method, a charging preference server, an operation server, and a computer-readable storage medium for sharing a bicycle, so as to solve at least the above-mentioned problems.
According to a first aspect of embodiments of the present disclosure, there is provided a charging method for a shared bicycle, applied to a charging preference server, including:
after a user finishes riding a shared bicycle, receiving a charging policy generation request sent by an operation server, wherein the charging policy generation request carries a starting position and an ending position of the riding;
acquiring operation data related to the starting position and the ending position of the riding based on the charging policy generation request;
generating a charging policy of the riding based on the operation data; the method comprises the steps of,
and sending the charging policy to the operation server so that the operation server calculates the cost of the riding based on the charging policy.
In one embodiment, the operation data includes locking information and returning information of all the shared bicycles at the start position, and locking information and returning information of all the shared bicycles at the end position.
In one embodiment, the generating a request based on the charging policy to obtain operation data related to a starting position and an ending position of the current riding includes:
after receiving the charging policy generation request, sending an acquisition request of operation data related to the starting position and the ending position of the current riding to the operation server, so that the operation server inquires the operation data related to the starting position and the ending position of the current riding based on the acquisition request, and feeding the inquired operation data back to the charging preferential server; the method comprises the steps of,
and acquiring the operation data sent by the operation server.
In one embodiment, the generating the charging policy for the current riding based on the operation data includes:
calculating average idle time length of all shared bicycles at the starting position and the ending position respectively in the riding process based on the operation data;
judging whether the average idle time length of all the shared bicycles at the starting position is larger than the average idle time length of all the shared bicycles at the ending position, if so, generating a charging strategy for giving preference to the cost of the riding according to the preset preference proportion.
According to a second aspect of the embodiments of the present disclosure, there is provided a charging method for a shared bicycle, applied to an operation server, including:
after the user finishes riding the shared bicycle, sending a charging policy generation request to a charging preferential server, wherein the charging policy generation request carries the starting position and the ending position of the riding, so that the charging preferential server obtains operation data related to the starting position and the ending position of the riding after receiving the charging policy generation request, generates the charging policy of the riding based on the operation data, and then sends the charging policy to the operation server; the method comprises the steps of,
acquiring the charging policy sent by the charging preferential server; and calculating the cost of the riding based on the charging policy.
In one embodiment, the operation data includes locking information and returning information of all the shared bicycles at the start position, and locking information and returning information of all the shared bicycles at the end position.
In one embodiment, the method further comprises:
receiving an acquisition request of operation data related to the starting position and the ending position of the riding, which is sent by the charging preferential server, wherein the acquisition request is sent to the operation server after the charging preferential server receives the charging policy generation request; the method comprises the steps of,
inquiring operation data related to the starting position and the ending position of the riding based on the acquisition request, and feeding the inquired operation data back to the charging preferential server so that the charging preferential server acquires the operation data.
According to a third aspect of the embodiments of the present disclosure, there is provided a charging preference server, including a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the charging method of the sharing bicycle.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an operation server, including a memory and a processor, where the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the another charging method for sharing a bicycle.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of charging a shared bicycle or the method of charging another shared bicycle.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the charging method for the shared bicycle, after a user finishes riding of the shared bicycle, a charging policy generation request sent by an operation server is received, wherein the charging policy generation request carries a starting position and an ending position of the riding; acquiring related operation data of a starting position and an ending position of the riding based on the charging policy generation request; generating a charging policy of the riding based on the operation data; and sending the charging policy to the operation server so that the operation server calculates the cost of the riding based on the charging policy. According to the method and the device for charging the bicycle, corresponding charging strategies are generated and charging is carried out aiming at user riding, the charging mode is more flexible, the competitiveness of a shared bicycle operation enterprise can be effectively improved, and meanwhile the operation cost is reduced.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the disclosure. The objectives and other advantages of the disclosure will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain, without limitation, the disclosed embodiments.
Fig. 1 is a flow chart of a charging method for a shared bicycle according to an embodiment of the disclosure;
fig. 2 is a flow chart of another charging method for a shared bicycle according to an embodiment of the present disclosure;
fig. 3A is a flow chart of another charging method for a shared bicycle according to an embodiment of the present disclosure;
fig. 3B is a schematic structural diagram of a charging preference server according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an operation server according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a charging system for sharing a bicycle according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of the structure of the mobile terminal 50 in fig. 5.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the following detailed description of the specific embodiments of the present disclosure will be given with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order; moreover, embodiments of the present disclosure and features of embodiments may be arbitrarily combined with each other without conflict.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present disclosure, and are not of specific significance per se. Thus, "module," "component," or "unit" may be used in combination.
Aiming at the problems and difficulties faced by the shared bicycle operation enterprises, the embodiment of the disclosure provides a charging method of a shared bicycle based on position, when a user finishes riding, a shared bicycle operation server requests a charging policy of the user riding at the time from a charging preferential server newly added in the embodiment; the charging preferential server extracts the starting position and the ending position of the current riding in the charging policy request, and requests the operation data of the starting position and the ending position of the current riding in a preset time range from the shared bicycle operation server; after receiving the request of the operation data, the shared bicycle operation server inquires the operation data meeting the conditions in the database and feeds back the inquiry result to the charging preferential server; after receiving the operation data of the starting position and the ending position of the riding, the charging preferential server calculates the average idle time length of the shared bicycle at the starting position and the ending position of the riding respectively, and determines the charging strategy of the riding according to the average idle time length and a preset rule; the charging preferential server feeds back the charging strategy of the riding to the shared bicycle operation server; after receiving the charging policy of the riding, the shared bicycle operation server calculates the cost of the riding according to the charging policy and feeds back the cost to the mobile terminal; after receiving the cost of the riding, the mobile terminal reminds the user to pay while displaying the cost information of the riding.
Referring to fig. 1, fig. 1 is a flowchart of a charging method for a shared bicycle according to an embodiment of the present disclosure, which is applied to a charging preference server, and the method includes steps S101-S104.
In step S101, after the user finishes riding the shared bicycle, a charging policy generation request sent by the operation server is received, where the charging policy generation request carries a starting position and an ending position of the present riding.
Specifically, when the user rides to the destination and the locking vehicle finishes the riding, the shared bicycle operation server calculates the cost of the riding according to the existing charging mode according to the existing work flow of the shared bicycle. Unlike the existing method, in this embodiment, the shared bicycle operation server does not calculate the cost of the riding, but first requests the charging policy of the riding from the charging preference server newly added in this embodiment, where the request should include the starting position and ending position of the riding, and information such as user identifier and vehicle code.
In step S102, based on the charging policy generation request, operation data related to the starting position and the ending position of the current riding is acquired
In this embodiment, the operation data includes the locking information and the returning information of all the shared bicycles at the start position, and the locking information and the returning information of all the shared bicycles at the end position.
In this embodiment, the operation server obtains operation data, and step S102 specifically includes the following steps:
after receiving the charging policy generation request, sending an acquisition request of operation data related to the starting position and the ending position of the current riding to the operation server, so that the operation server inquires the operation data related to the starting position and the ending position of the current riding based on the acquisition request, and feeding the inquired operation data back to the charging preferential server; the method comprises the steps of,
and acquiring the operation data sent by the operation server.
Specifically, after receiving the request of the charging policy of the riding, the charging preferential server extracts the starting and ending position information of the riding in the request, and requests the operation data of the two positions within the preset time range from the shared bicycle operation server, wherein the operation data comprises but is not limited to the bicycle locking and returning information, the unlocking information, the position information reported by the vehicle and the like of the shared bicycle of the two positions. The preset time range can be uniformly preset on the charging preferential server, and an operation interface can be provided on the user mobile terminal to enable the user to define and synchronize to the charging preferential server; after receiving the operation data request of the charging preference server, the shared bicycle operation server extracts the starting and ending positions of the riding in the request, queries operation data meeting the conditions in an internal database of the shared bicycle operation server within a preset time range, and feeds back the query result to the charging preference server.
In some embodiments, the related operation data of the starting position and the ending position of the current riding of the sharing bicycle may be synchronized into the blockchain, and at this time, the charging preference server may acquire the related operation data from the blockchain.
In step S103, a charging policy for the current riding is generated based on the operation data.
In this embodiment, step S103 specifically includes the steps of:
calculating average idle time length of all shared bicycles at the starting position and the ending position respectively in the riding process based on the operation data;
judging whether the average idle time length of all the shared bicycles at the starting position is larger than the average idle time length of all the shared bicycles at the ending position, if so, generating a charging strategy for giving preference to the cost of the riding according to the preset preference proportion.
Specifically, after receiving the operation data, the charging preferential server calculates the average idle time of the shared bicycle at the starting position and the ending position of the riding according to preset rules. Specifically, the idle time of the shared bicycle at two positions is comprehensively calculated according to the bicycle locking and returning information, the bicycle unlocking information and the time information of the reported positions of the shared bicycle at the starting position and the ending position of the riding, and then the idle time of the shared bicycle at each position is added and divided by the number of the shared bicycles to obtain the average idle time of the starting position and the ending position of the riding.
And then determining the charging strategy of the riding according to the average idle time length of the starting position and the ending position of the riding. Specifically, if the average idle time length of the starting position of the riding is smaller than or equal to the average idle time length of the ending position, the charging strategy of the riding can maintain the existing charging mode; if the average idle time length of the starting position of the riding is longer than the average idle time length of the ending position, the charging strategy of the riding can be preferential according to the ratio of the average idle time length of the starting position to the average idle time length of the ending position on the basis of the existing charging mode. Optionally, if the preference strength is too large to affect the operation of the enterprise, a minimum limit of preference charging may be set, for example, the minimum preference is set to 10% uniformly, and if the average idle time of the starting position/the average idle time of the ending position is less than or equal to 10%, the riding preference may be set to 10% uniformly. And the charging preferential server feeds back the charging strategy of the riding to the shared bicycle operation server.
In step S104, the charging policy is sent to the operation server, so that the operation server calculates the cost of the current riding based on the charging policy.
Specifically, after receiving the charging policy of the current riding, the shared bicycle operation server calculates the cost of the current riding according to the charging policy of the current riding. Specifically, the method multiplies the charging policy of the riding on the basis of the existing long-time charging during riding, namely riding preference, and obtains the cost of the riding. And the shared bicycle operation server feeds back the riding cost to the mobile terminal. After receiving the riding expense, the mobile terminal reminds the terminal user to pay timely while displaying the riding expense.
Currently, the determination of the riding expense is usually calculated according to the riding duration or the riding times of the user, for example, when the riding expense is determined according to the riding duration of the user, the riding expense of the user is usually calculated according to a formula c=c0×t, wherein C is the riding expense of the user at the time, C0 is the riding expense in unit time, and t is the riding duration of the user at the time.
Compared with the prior art, the method and the system generate corresponding charging strategies through the newly added charging preference server, and charge the user for riding according to the charging strategies.
Based on the same technical concept, the embodiment of the present disclosure correspondingly provides another charging method for a shared bicycle, which is applied to an operation server, as shown in fig. 2, and includes step S201 and step S202.
In step S201, after the user finishes riding the shared bicycle, a charging policy generation request is sent to a charging preferential server, where the charging policy generation request carries a starting position and an ending position of the riding, so that after receiving the charging policy generation request, the charging preferential server obtains operation data related to the starting position and the ending position of the riding, generates a charging policy of the riding based on the operation data, and then sends the charging policy to the operation server; the method comprises the steps of,
in step S202, the charging policy sent by the charging preference server is obtained; and calculating the cost of the riding based on the charging policy.
In one embodiment, the operation data includes locking information and returning information of all the shared bicycles at the start position, and locking information and returning information of all the shared bicycles at the end position.
In one embodiment, the method further comprises the steps of:
receiving an acquisition request of operation data related to the starting position and the ending position of the riding, which is sent by the charging preferential server, wherein the acquisition request is sent to the operation server after the charging preferential server receives the charging policy generation request; the method comprises the steps of,
inquiring operation data related to the starting position and the ending position of the riding based on the acquisition request, and feeding the inquired operation data back to the charging preferential server so that the charging preferential server acquires the operation data.
Based on the same technical concept, the embodiment of the disclosure correspondingly further provides a charging method for the shared bicycle, as shown in fig. 3A, the method comprises the following steps:
s301, after the user finishes riding the shared bicycle, locking the shared bicycle, and sending the successful locking information to an operation server through an operator mobile network;
s302, the operation server 40 sends a request for generating a charging policy of the riding to the charging preferential server 30, wherein the charging policy generating request carries a starting position and an ending position of the riding;
s303, the charging preferential server 30 sends an acquisition request of relevant operation data of the starting position and the ending position of the current riding to the operation server 40;
s304, the operation server 40 performs internal query according to the acquisition request to query related operation data;
s305, the operation server 40 feeds back the operation data to the charging preferential server 30;
s306, the charging preferential server 30 generates a riding charging strategy according to the operation data;
s307, the charging preferential server 30 feeds back the riding charging strategy to the operation server 40;
s308, the operation server 40 calculates the riding expense according to the riding charging strategy;
s309, the operation server 40 feeds back the riding expense to the mobile terminal 50;
s310, the mobile terminal 50 displays and/or reminds of the present riding fee.
Based on the same technical concept, the embodiments of the present disclosure correspondingly further provide a charging preference server, as shown in fig. 3B, where the charging preference server 30 includes a memory 31 and a processor 32, the memory 31 stores a computer program, and when the processor 32 runs the computer program stored in the memory 31, the processor 32 executes the charging method of the sharing bicycle.
Based on the same technical concept, the embodiments of the present disclosure correspondingly further provide an operation server, as shown in fig. 4, where the operation server 40 includes a memory 41 and a processor 42, where the memory 41 stores a computer program, and when the processor 42 runs the computer program stored in the memory 41, the processor 42 executes the charging method of the other sharing bicycle.
Based on the same technical concept, the embodiments of the present disclosure correspondingly further provide a charging system for sharing a bicycle, as shown in fig. 5, including a charging preference server 30, an operation server 40 and a mobile terminal 50.
In this embodiment, the mobile terminal 50 and the shared bicycle operation server 40 communicate through an operator mobile network, and in the figure, the solid line represents the original network element and connection; the dashed line represents the newly added network element (coupon server) and connection in this embodiment, wherein MSC/VLR Mobile Switching Center, mobile switching center/Visitor Location Register, visitor location register. The mobile terminal 50 and the shared bicycle operation server 40 can keep the original functions unchanged, and the mobile terminal 50 is newly added with the functions of displaying and reminding user charging preferential information; referring to fig. 6, the mobile terminal 50 is provided with a display module 51 and a reminding module 52 in addition to a communication module, a bluetooth module, a camera module, a GPS module and other modules for preferential charging display and reminding; the newly added interface of the shared bicycle operation server 40 is connected with the charging preferential server 30, and functions of receiving operation data requests and feeding back operation data are added; the charging preferential server mainly finishes the operation data of the starting and ending positions of the riding request from the shared bicycle operation server, determines the charging policy of the riding according to a preset rule based on the operation data of the starting and ending positions, and feeds back the charging policy of the riding to the shared bicycle operation server.
In order to more intuitively and specifically explain the working process of the present invention, embody advantages of the present invention and bring convenience to users, the working process of the present invention will be described in detail with reference to one embodiment. The charging system of the invention is deployed by setting a certain shared bicycle operation enterprise XX, a certain user A downloads and installs an application client of the shared bicycle operation enterprise XX on the China P20, and successfully registers an account of the shared bicycle operation enterprise XX by using the telephone number 1850110xxxx of the P20. Assuming that user a uses a shared bicycle with P20 scan vehicle code "we12345" to ride at a certain time, the specific working procedure of this embodiment is as follows when 20 minutes later reaches the destination lock to finish riding:
1. request charging policy
In this embodiment, when the user a locks the bicycle to end the riding, the shared bicycle operation server calculates the cost of the riding according to the existing charging mode according to the existing work flow of the shared bicycle. Assuming that the charging mode of the operation server of the shared bicycle operation enterprise 'XX' is to charge according to the riding time length t, the charging unit price Pu is 1 yuan/15 minutes, so the riding cost p=Pu=1/15×20×1.33 yuan. However, in this embodiment, the operation server sharing the bicycle "XX" does not calculate the cost of the present riding according to the existing charging manner, but requests the charging policy of the present riding from the charging preference server added in the present invention, where the request includes the starting position L1 and the ending position L2 of the present riding, the user identifier "1850110xxxx", and the vehicle code "we12345".
2. Requesting/feeding back operational data
In this embodiment, after receiving the request of the charging policy, the newly added charging preference server extracts the starting position L1 and the ending position L2 of the current riding in the request, and requests the operation data of the positions L1 and L2 in the last 10 days from the operation server sharing the bicycle "XX". The last 10 days of time range is uniformly preconfigured by the shared bicycle operating enterprise 'XX' at the operating server.
After receiving the request of the operation data, the shared bicycle XX operation server extracts the positions L1 and L2 in the request and the time range of the last 10 days, and inquires the operation data meeting the conditions in an internal database of the shared bicycle XX operation server. The query result of the operation data at the current riding starting position L1 is shown in table 1, and here, the date and time of the current riding is 2020/1/11/8:00, so the time range of the operation data query last 10 days is 2020/1/8:00 to 2020/1/11/8:00.
TABLE 1 operation data for the starting position L1 of the present ride (part-example)
Figure BDA0002948590880000111
Similarly, the operation data of the current riding completion position L2 is similar to table 1. Analyzing the operation data of the starting position L1 and the ending position L2 of the riding can find that the operation data of the shared bicycle at the two positions can be divided into four cases, namely, the shared bicycle is ridden by a user to the locked bicycle for returning, and then is unlocked for use after a period of time; secondly, the sharing bicycle is ridden to the locking bicycle for returning, but the sharing bicycle is not unlocked again for use until the operation data is queried; thirdly, the shared bicycle has no record of riding to the locked bicycle and returning, but has a record of being unlocked for use; fourthly, the sharing bicycle has no record of riding to the locking bicycle and no record of unlocking, and the latter two cases are that off-line operation and maintenance personnel of the sharing bicycle manually adjust the sharing bicycle to the position and then are used by unlocking or are not used all the time.
The shared bicycle XX operation server feeds back the operation data inquiry result to the charging preferential server newly added in the invention.
3. Determining/feeding back charging policies
In this embodiment, after receiving the operation data fed back by the shared bicycle "XX" operation server, the charging preference server first calculates average idle time periods t1 and t2 of the current riding starting position L1 and the current riding ending position L2 respectively. Aiming at the condition of operating data of the shared bicycle at the positions L1 and L2, calculating the idle time of each shared bicycle at each position, and aiming at the condition that the shared bicycle is unlocked for use after being ridden by a user to the bicycle locking and returning, calculating the time interval of the bicycle locking and returning and the bicycle unlocking of the shared bicycle to be the idle time of the shared bicycle; aiming at the situation that the shared bicycle is ridden by a user until the shared bicycle is not unlocked again for use when operation data is queried, the idle time of the shared bicycle is obtained by calculating the bicycle locking and returning time interval and the operation data query time interval; aiming at the situation that the shared bicycle is not ridden to the record of the bicycle locking and returning but is unlocked, the earliest time of the shared bicycle at the reported position and the time interval of the unlocked use are calculated to be the idle time of the shared bicycle; aiming at the situation that the shared bicycle has no record of riding to the locking bicycle and has no record of unlocking use, the idle time of the shared bicycle is obtained by calculating the time of the shared bicycle at the reported position and the operation data inquiry time interval. On the basis of respectively calculating the idle time of each shared bicycle at the starting position L1 and the ending position L2 of the riding, the idle time of each shared bicycle is added to obtain the total idle time of each position, and then the total idle time is divided by the number of the shared bicycles at each position to obtain the average idle time of each position. The process of calculating the average idle time is simpler, and a specific calculating process is not described in detail, so that the average idle time t1=120 minutes at the current riding starting position L1 and the average idle time t2=80 minutes at the riding ending position L2 are directly given.
After the average idle time lengths t1 and t2 at the starting position L1 and the ending position L2 of the riding are calculated, the charging strategy of the riding is determined according to rules. Because the average idle time t1=120 minutes at the current riding starting position L1 is longer than the average idle time t2=80 minutes at the riding ending position L2, the current riding should be preferential on the basis of the existing charging, and the preferential force d=t2/t1=80/120=0.67.
The charging preferential server feeds back the charging strategy of the riding, namely preferential degree d=0.67, to the operation server of the shared bicycle XX.
4. Calculating/feeding back riding costs
In this embodiment, after receiving the charging policy of the current riding, the operation server of the shared bicycle "XX" calculates the cost of the current riding by combining with the original charging mode of the shared bicycle. Specifically, the operation server calculates the cost p=1/15×20×0.67×0.89×0.89 of the current riding according to the formula p=pu×t×d according to the duration t=20 minutes and the billing unit price pu=1/15 minutes of the current riding.
The operation server sharing the bicycle XX feeds back the 0.89 yuan of the cost of the riding to P20.
5. Displaying/reminding riding fees
In this embodiment, after receiving the 0.89 yuan of the current riding fee, the Hua Cheng P20 reminds the user A to pay the riding fee while displaying the riding fee to the user A.
Based on the same technical concept, the embodiments of the present disclosure correspondingly further provide a computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the charging method of the sharing bicycle or the charging method of the other sharing bicycle.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present disclosure, and not for limiting the same; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present disclosure.

Claims (9)

1. The utility model provides a charging method of sharing bicycle, which is characterized in that the charging method is applied to a charging preferential server and comprises the following steps:
after a user finishes riding a shared bicycle, receiving a charging policy generation request sent by an operation server, wherein the charging policy generation request carries a starting position and an ending position of the riding;
acquiring operation data related to the starting position and the ending position of the riding based on the charging policy generation request;
generating a charging policy of the riding based on the operation data; the method comprises the steps of,
the charging strategy is sent to the operation server, so that the operation server calculates the cost of the riding based on the charging strategy;
the generating the charging policy for the riding based on the operation data includes:
calculating average idle time length of all shared bicycles at the starting position and the ending position respectively in the riding process based on the operation data;
judging whether the average idle time length of all the shared bicycles at the starting position is larger than the average idle time length of all the shared bicycles at the ending position, if so, generating a charging strategy for giving preference to the cost of the riding according to the preset preference proportion.
2. The method of claim 1, wherein the operational data includes locking information and return information for all shared bicycles at a starting location and locking information and return information for all shared bicycles at an ending location.
3. The method according to claim 1, wherein the generating a request based on the charging policy to obtain operation data related to a start position and an end position of the current riding comprises:
after receiving the charging policy generation request, sending an acquisition request of operation data related to the starting position and the ending position of the current riding to the operation server, so that the operation server inquires the operation data related to the starting position and the ending position of the current riding based on the acquisition request, and feeding the inquired operation data back to the charging preferential server; the method comprises the steps of,
and acquiring the operation data sent by the operation server.
4. A method for charging a shared bicycle, applied to an operation server, comprising:
after the user finishes riding the shared bicycle, sending a charging policy generation request to a charging preferential server, wherein the charging policy generation request carries a starting position and an ending position of the riding, so that the charging preferential server obtains operation data related to the starting position and the ending position of the riding after receiving the charging policy generation request, calculates average idle time of all the shared bicycle at the starting position and the ending position respectively based on the operation data, judges whether the average idle time of all the shared bicycle at the starting position is greater than the average idle time of all the shared bicycle at the ending position, if so, generates a charging policy for preferential cost of the riding according to a preset preferential proportion, and then sends the charging policy to the operation server; the method comprises the steps of,
acquiring the charging policy sent by the charging preferential server; and calculating the cost of the riding based on the charging policy.
5. The method of claim 4, wherein the operational data includes locking information and return information for all shared bicycles at a start location and locking information and return information for all shared bicycles at an end location.
6. The method as recited in claim 4, further comprising:
receiving an acquisition request of operation data related to the starting position and the ending position of the riding, which is sent by the charging preferential server, wherein the acquisition request is sent to the operation server after the charging preferential server receives the charging policy generation request; the method comprises the steps of,
inquiring operation data related to the starting position and the ending position of the riding based on the acquisition request, and feeding the inquired operation data back to the charging preferential server so that the charging preferential server acquires the operation data.
7. A charging preference server comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, performs a method of charging a shared bicycle according to any one of claims 1 to 3.
8. An operation server, characterized by comprising a memory and a processor, the memory having stored therein a computer program, which when executed by the processor performs the method of charging a shared bicycle according to any one of claims 4 to 6.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, performs a charging method of a shared bicycle according to any one of claims 1 to 3 or a charging method of a shared bicycle according to any one of claims 4 to 6.
CN202110203021.3A 2021-02-23 2021-02-23 Charging method, charging preference server, operation server and storage medium Active CN112990963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110203021.3A CN112990963B (en) 2021-02-23 2021-02-23 Charging method, charging preference server, operation server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110203021.3A CN112990963B (en) 2021-02-23 2021-02-23 Charging method, charging preference server, operation server and storage medium

Publications (2)

Publication Number Publication Date
CN112990963A CN112990963A (en) 2021-06-18
CN112990963B true CN112990963B (en) 2023-06-27

Family

ID=76349788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110203021.3A Active CN112990963B (en) 2021-02-23 2021-02-23 Charging method, charging preference server, operation server and storage medium

Country Status (1)

Country Link
CN (1) CN112990963B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113674020A (en) * 2021-08-02 2021-11-19 上海连尚网络科技有限公司 Method, device, medium and program product for determining riding cost
CN113763050B (en) * 2021-09-08 2023-06-23 中国联合网络通信集团有限公司 Shared bicycle charging method, operation server and charging policy server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110164051A (en) * 2019-05-29 2019-08-23 中国联合网络通信集团有限公司 Shared vehicle charging method and system
WO2020159153A2 (en) * 2019-02-01 2020-08-06 주식회사 나인투원 Method and apparatus for returning shared bicycle having locking apparatus
CN111582946A (en) * 2020-05-21 2020-08-25 深圳市元征科技股份有限公司 Coupon processing method and related device
CN111754642A (en) * 2019-03-28 2020-10-09 深圳市前海智慧交通运营科技有限公司 Management method and management device for shared parking lot and terminal
CN111784926A (en) * 2020-07-01 2020-10-16 中国联合网络通信集团有限公司 Method and system for sharing bicycle charging
CN111862478A (en) * 2020-07-01 2020-10-30 中国联合网络通信集团有限公司 Vehicle operation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020159153A2 (en) * 2019-02-01 2020-08-06 주식회사 나인투원 Method and apparatus for returning shared bicycle having locking apparatus
CN111754642A (en) * 2019-03-28 2020-10-09 深圳市前海智慧交通运营科技有限公司 Management method and management device for shared parking lot and terminal
CN110164051A (en) * 2019-05-29 2019-08-23 中国联合网络通信集团有限公司 Shared vehicle charging method and system
CN111582946A (en) * 2020-05-21 2020-08-25 深圳市元征科技股份有限公司 Coupon processing method and related device
CN111784926A (en) * 2020-07-01 2020-10-16 中国联合网络通信集团有限公司 Method and system for sharing bicycle charging
CN111862478A (en) * 2020-07-01 2020-10-30 中国联合网络通信集团有限公司 Vehicle operation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
关于网约车订单分配策略的综述;郑小红 等;《计算机工程与科学》;第42卷(第07期);第1267-1275页 *

Also Published As

Publication number Publication date
CN112990963A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN112990963B (en) Charging method, charging preference server, operation server and storage medium
CN105632241B (en) The booking method of empty parking space, device and system
CN108483386B (en) Refueling method, device, system, computer device and computer readable storage medium
CN107239998B (en) Method and device for sharing single vehicles in parking lot
US20210031648A1 (en) Charging management server and method for charging management
JP2004094912A (en) Administration apparatus for reservation of shared vehicle
CN110443957B (en) Shared vehicle use management method, device, server and storage medium
US10884470B2 (en) Method and server for managing power supply devices
CN102339453A (en) Vehicle position sharing system and implementation method thereof
JP2008030691A (en) Message management device of vehicular control system, and vehicular control system
CN110852851A (en) Block chain-based vehicle sharing method and device and readable storage medium
CN110197290A (en) Vehicle management equipment, vehicles management method and non-transient computer-readable media
US20230100313A1 (en) Methods and systems for multi-dimension electric vehicle charging management
CN113763050B (en) Shared bicycle charging method, operation server and charging policy server
CN107369124B (en) Vehicle management method, server, vehicle and system
CN110807679B (en) Taxi invoice generation method and device based on blockchain
CN113096320A (en) Vehicle charging and parking scheme determination method, server and storage medium
CN111049800A (en) Vehicle service management method and device, block chain link point equipment and storage medium thereof
KR102192415B1 (en) Car sharing fee setting device, method and system
CN112466047A (en) Dual offline vehicle management method and related device
CN106846130B (en) Method and system for establishing shared vehicle parking mode, user equipment and shared vehicle
CN111985953A (en) Charging method, charging system and vehicle management server
US20230034684A1 (en) Electric vehicle charging management methods and systems capable of integrating multiple identities
CN110689756A (en) Social public resource utilization system for community parking spaces
KR20200093873A (en) Apparatus and method for managing sharing of vehicles

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