Real-time ticket price calculation method and device for roller passenger ferry

By calculating and adjusting the ticket prices in real time in passenger ferries, combining historical data and real-time information, the traffic congestion problem during peak demand across the sea is solved, and a better transportation effect and demand balance is achieved.

CN120106448APending Publication Date: 2025-06-06HAINAN HARBOR & SHIPPING HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510144440.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

When the prior art relieves the peak demand for passenger roller ferries across the sea, the transportation effect is poor, resulting in traffic congestion.

Method used

Through the real-time fare calculation method, combining historical crossing data, time of the user's purchase of ship tickets, ship shift time and remaining ticket volume information, real-time fare on different dates is determined, and the adaptive adjustment of ship ticket fare prices is achieved, thereby adjusting the crossing demand and cutting peaks and filling valleys.

Benefits of technology

It effectively avoids congestion caused by excessive concentration of crossing sea demand, achieves a gentle distribution of crossing sea demand, and improves transportation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120106448A_ABST
    Figure CN120106448A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of data processing, and particularly discloses a real-time ticket price calculation method and device for roller passenger ferry. According to the method and the device, the real-time ticket prices under the condition of different dates (such as an island-in peak period, an island-out peak period and dates before and after the island-out peak period) are determined by combining the time of purchasing the ship ticket by the user, the ship class period time and the residual ticket quantity information, so that the self-adaptive adjustment of the ticket prices of the ship ticket is realized, and the self-adaptive adjustment of the ticket prices of the ship ticket is realized. The sea-crossing demand is adjusted based on the real-time ticket prices at different dates, and the fluctuation of the market demand is guided by the fluctuation of the real-time ticket prices, so that the peak clipping effect of the sea-crossing demand is realized, the good distribution effect is achieved, the congestion condition caused by the excessive concentration of the sea-crossing demand is avoided, and the smooth distribution of the sea-crossing demand is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and more specifically, relates to a method and device for calculating real-time ticket prices for a passenger and vehicle ferry. Background Art

[0002] During the peak period of the ferry, the vehicle throughput can reach more than three times the daily throughput, and on some holidays, the throughput can reach more than twice the daily throughput. This peak demand for crossing the sea in a short period of time often leads to traffic congestion inside and outside the ferry.

[0003] At present, the common methods of alleviating congestion are publicity announcements, traffic diversion and ferry dispatch, etc., so as to complete the evacuation of vehicles as soon as possible, but they cannot achieve a good evacuation effect. Summary of the invention

[0004] In view of the defects of the prior art, the purpose of this application is to provide a real-time fare calculation method and device for a passenger and vehicle ferry, aiming to solve the problem of poor transportation effect in alleviating congestion through publicity announcements, traffic diversion and ferry scheduling in the prior art.

[0005] To achieve the above objectives, in a first aspect, the present application provides a method for calculating real-time fare of a passenger and vehicle ferry, comprising: Based on historical sea crossing data, determine the peak sea crossing period including the peak entry date and the peak exit date; Based on the time when the user purchases the ticket, the ship schedule and the remaining ticket information, the real-time ticket prices for each date during the peak entry dates, the real-time ticket prices for each date during the peak exit dates and the real-time ticket prices for each date in the period before and after the peak exit dates are determined.

[0006] In some embodiments, according to the time when the user purchased the boat ticket, the boat schedule and the remaining ticket quantity information, determining the real-time ticket price for each date during the peak entry date includes: For any first of the peak arrival dates: Determine the first initial fare for multiple tickets released in advance on any first date based on the standard fare and the floating coefficient; Determine the real-time ticket prices of the multiple tickets released in advance on any first date according to the total ticket quantity, remaining ticket quantity information, the time when the user purchased the ticket, the ship schedule, the number of the multiple tickets released in advance on any first date, the first initial ticket price and the first adjustment coefficient combination included in the ship schedule corresponding to the multiple tickets released in advance on any first date; Determine the real-time ticket prices of the remaining tickets on any first date according to the highest price among the real-time ticket prices of multiple tickets released in advance on any first date; The real-time ticket prices for each of the peak dates for entering the island are determined based on the real-time ticket prices for multiple tickets released in advance on any first date and the real-time ticket prices for the remaining tickets on any first date.

[0007] In some embodiments, the sum of the adjustment coefficients in the first adjustment coefficient combination when the ship schedule is during the day is greater than the sum of the adjustment coefficients in the first adjustment coefficient combination when the ship schedule is at night.

[0008] In some embodiments, according to the time when the user purchased the boat ticket, the boat schedule and the remaining ticket quantity information, determining the real-time ticket price on each date of the peak departure date includes: For any second date among the peak departure dates: Determine a second initial fare for a plurality of tickets released in advance on any second date based on the standard fare; Determine the real-time ticket prices of the multiple tickets released in advance on any second date according to the total number of tickets corresponding to the multiple tickets released in advance on any second date, the remaining ticket quantity information, the time when the user purchased the ticket, the ship schedule, the number of the multiple tickets released in advance on any second date, the second initial ticket price and the second adjustment coefficient combination; Determine the real-time ticket prices of the remaining tickets on any second date according to the highest price among the real-time ticket prices of multiple tickets released in advance on any second date; The real-time ticket prices for each of the peak departure dates are determined based on the real-time ticket prices for multiple tickets released in advance on any second date and the real-time ticket prices for the remaining tickets on any second date.

[0009] In some embodiments, the sum of the adjustment coefficients in the second adjustment coefficient combination when the ship schedule is during the day is greater than the sum of the adjustment coefficients in the second adjustment coefficient combination when the ship schedule is at night.

[0010] In some embodiments, according to the time when the user purchased the boat ticket, the boat schedule, and the remaining ticket quantity information, determining the real-time ticket price for each date in a period of time before and after the peak departure date includes: For any third date in the period before or after the peak date of island departure: Determine the real-time fare on any third date based on the number of historical users leaving the island on any third date, the peak number of users leaving the island on any third date during holidays, the total number of tickets included in the ship schedule corresponding to multiple tickets released in advance on any third date, the remaining ticket information, the standard fare and the third adjustment coefficient combination; According to the real-time ticket price of the ferry ticket on any third date, the real-time ticket price on each date in a period of time before and after the peak date of leaving the island is determined.

[0011] In a second aspect, the present application provides a real-time fare calculation device for a passenger and vehicle ferry, comprising: A data determination module is used to determine the peak sea crossing period including the peak date of island entry and the peak date of island exit based on historical sea crossing data; The fare calculation module is used to determine the real-time fare for each date during the peak entry date, the real-time fare for each date during the peak exit date, and the real-time fare for each date in the period before and after the peak exit date based on the time when the user purchases the ticket, the ship schedule and the remaining ticket information.

[0012] In a third aspect, the present application provides an electronic device comprising: at least one memory for storing programs; and at least one processor for executing the programs stored in the memory. When the programs stored in the memory are executed, the processor is used to execute the method described in the first aspect or any embodiments of the first aspect.

[0013] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method described in the first aspect or any embodiments of the first aspect.

[0014] In a fifth aspect, the present application provides a computer program product. When the computer program product runs on a processor, the processor executes the method described in the first aspect or any embodiments of the first aspect.

[0015] In general, the above technical solutions conceived by this application have the following beneficial effects compared with the prior art: The real-time ticket price calculation method and device for passenger and vehicle ferry provided in the present application determine the real-time ticket prices for different dates (for example, including the peak entry period, the peak exit period, and various dates in a period before and after the peak exit period) by combining the time when the user purchases the ticket, the ship's schedule, and the remaining ticket information, thereby realizing adaptive adjustment of the ticket price, and adjusting the crossing demand based on the real-time ticket prices on different dates, thereby achieving the effect of using the fluctuations in real-time ticket prices to guide the fluctuations in market demand, thereby achieving the peak shaving effect on the crossing demand, achieving a good transportation effect, avoiding congestion caused by excessive concentration of crossing demand, and realizing a smooth distribution of crossing demand. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is one of the flow charts of the method for calculating the real-time fare of a passenger and vehicle ferry provided in an embodiment of the present application; Figure 2 This is the second flow chart of the method for calculating the real-time fare of a passenger and vehicle ferry provided in an embodiment of the present application; Figure 3It is a structural schematic diagram of a real-time fare calculation device for a passenger and vehicle ferry provided in an embodiment of the present application; Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0018] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.

[0019] The terms "first", "second", etc. in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of objects. For example, the first date and the second date are used to distinguish different dates rather than to describe a specific order of dates.

[0020] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0021] In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more than two. For example, "plurality of tickets" means two or more than two tickets.

[0022] In the related technologies, the methods currently used to alleviate congestion have the following deficiencies: 1. The problem of high demand concentration cannot be solved. The contradiction between peak demand and insufficient transport capacity always exists. The quotas for cars and trucks transported by ships are often not designed and considered in advance, making it difficult to adapt to market fluctuations.

[0023] 2. When the concentration of demand for crossing the sea is too high, problems such as difficulty in purchasing tickets during peak hours will arise. A large number of vehicles that have not made reservations for tickets will go to the ferry terminal to "try their luck", which will lead to large-scale congestion around the ferry terminal and affect the overall transportation efficiency.

[0024] 3. The problem of advance reservation cannot be solved, which will result in the peak crossing demand being estimated only based on manual experience, which is difficult to predict in advance and is not conducive to the port area's advance planning of ship scheduling strategies.

[0025] Based on this, this application designs an adaptive adjustment system for sea crossing ticket prices to achieve automatic changes in prices, avoid excessive concentration of sea crossing demand, and achieve the goal of smooth distribution of sea crossing demand.

[0026] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application.

[0027] See also Figure 1 , an embodiment of the present application provides a method for calculating real-time ticket prices for a passenger and vehicle ferry, including: step 110 and step 120.

[0028] Step 110 determines the peak sea crossing period including the peak date of island entry and the peak date of island exit based on the historical sea crossing data; Step 120 determines the real-time ticket prices for each date during the peak entry dates, the peak exit dates, and the period before and after the peak exit dates based on the time the user purchased the ticket, the ship's schedule, and the remaining ticket information.

[0029] In the embodiment of the present application, the time when the user buys the ticket can be The ship schedule refers to the departure date of the ship purchased by the user (such as a passenger ferry). The remaining ticket quantity information refers to the number of tickets currently available for purchase for the ship schedule purchased by the user. Indicates. Real-time fares for ship schedules, available express.

[0030] The time when the user purchased the ferry ticket , Vessel Schedule and remaining ticket information Input into the algorithm designed in this application, and output the real-time fare of the ship schedule (i.e. the real-time fare of the ship on different dates) Among them, users refer to car owners who need to cross the sea.

[0031] It should be noted that in the embodiment of the present application, the real-time ticket prices of ships on different dates are This is a design for the ticket price of car ferry tickets. The ticket volume of a ship is generally divided into a car ticket volume index and a truck ticket volume index. In order to improve the operating capacity of a single ship, it is often necessary to predict and adjust according to market needs. This application achieves a balanced ratio of car ticket volume index and truck ticket volume index through adaptive changes in the ticket price of car ferry tickets, so as to reduce the peak demand for cars during the peak period of ferry crossing (such as holidays).

[0032] In the embodiment of the present application, the algorithm for calculating the real-time ticket prices on different dates is as follows: The peak period and duration of the peak period are determined based on the historical sea crossing data, forming a sequence of peak island entry dates. ( ) and the peak date series of the island ( ), each item in the peak entry date series and the peak exit date series represents a specific day.

[0033] Among them, the historical sea crossing data specifically include the number of vehicles crossing the sea within the historical time period, such as the number of vehicles entering and leaving the ferry. The duration of the peak sea crossing period includes the duration of the peak period for entering the island and the duration of the peak period for leaving the island. The duration of the peak period for entering the island can be obtained based on the peak date sequence for entering the island, and the duration of the peak period for leaving the island can be obtained based on the duration of the peak period for leaving the island.

[0034] In the embodiment of the present application, the duration of the peak period of entering the island is The peak period of leaving the island lasts for .

[0035] Each item in the above-mentioned peak entry date sequence represents the peak entry date, and each item in the above-mentioned peak exit date sequence represents the peak exit date.

[0036] The time when the user purchased the ferry ticket , Vessel Schedule and remaining ticket information Input into the designed algorithm and calculate the peak dates of island entry ( to ) real-time fares, peak departure dates for each date ( to ) and the real-time fares on various dates in the period before and after the peak departure date.

[0037] The fluctuations in real-time ticket prices on different dates are used to guide the fluctuations in market demand, thereby adjusting cross-sea demand and achieving the goal of peak load regulation and reduction.

[0038] The real-time ticket price calculation for the passenger and vehicle ferry provided in the embodiment of the present application determines the real-time ticket prices for different dates (for example, including the peak entry period, the peak exit period, and various dates in a period before and after the peak exit period) by combining the time when the user purchases the ticket, the ship's schedule, and the remaining ticket information, thereby realizing adaptive adjustment of the ticket price, and adjusting the demand for crossing the sea based on the real-time ticket prices on different dates, thereby achieving the effect of using the fluctuations in real-time ticket prices to guide the fluctuations in market demand, thereby achieving the peak shaving effect on the demand for crossing the sea, achieving a good transportation effect, avoiding congestion caused by excessive concentration of demand for crossing the sea, and realizing a smooth distribution of demand for crossing the sea.

[0039] Further, in some embodiments, according to the time when the user purchased the boat ticket, the boat schedule and the remaining ticket quantity information, determining the real-time ticket price for each date in the peak island entry date includes: For any first of the peak arrival dates: Determine the first initial fare for multiple tickets released in advance on any first date based on the standard fare and the floating coefficient; Determine the real-time ticket prices of the multiple tickets released in advance on any first date according to the total ticket quantity, remaining ticket quantity information, the time when the user purchased the ticket, the ship schedule, the number of the multiple tickets released in advance on any first date, the first initial ticket price and the first adjustment coefficient combination included in the ship schedule corresponding to the multiple tickets released in advance on any first date; Determine the real-time ticket prices of the remaining tickets on any first date according to the highest price among the real-time ticket prices of multiple tickets released in advance on any first date; The real-time ticket prices for each of the peak dates for entering the island are determined based on the real-time ticket prices for multiple tickets released in advance on any first date and the real-time ticket prices for the remaining tickets on any first date.

[0040] In the embodiment of the present application, the peak load shaving method for entering the island can provide a certain discount according to the advance time of ticket purchase, and increase the price by a certain amount according to the remaining ticket quantity, as follows: For the peak date series of island entry Any date in (i.e. the first date) , , any first date Release in advance The number of tickets (i.e. the number of tickets) is released in advance. Push forward sky, according to The corresponding holiday situation is different and the general value is 70 to 90. The longer the corresponding holiday date, The larger the value, for The total number of tickets included in the ship schedule corresponding to the multiple tickets released in advance, that is, the total number of tickets for the ship schedule in which the user purchases the ticket, can be obtained based on the car ticket quantity index and truck ticket quantity index included in the ship schedule, according to The corresponding value is generally between 7 and 30 depending on the holiday situation.

[0041] The prices of all tickets released in advance are based on the standard fare. ,Right now , is the floating coefficient, Standard fare. for Released in advance The initial fare for the ticket quantity is the first initial fare.

[0042] The price of all tickets released in advance is based on the remaining ticket information of the ship schedule where all tickets released in advance are located. and the remaining time until the sailing date The price is adjusted upward in two dimensions, among which, ( The unit is hours). The calculation formula for the specific adjustment method is as follows:

[0043]

[0044] in, for Real-time fares for multiple ferry tickets released in advance, and are the adjustment coefficients in the first adjustment coefficient combination, and are all adjustable. The value is generally 5.3% to 37.5% depending on the holiday situation. More specifically, It is the first price floating parameter.

[0045] Using the same method as above, the real-time ticket prices for other peak entry dates in the peak entry date sequence can be calculated. In order to avoid repetition, it will not be repeated here.

[0046] when After all the tickets for any ship schedule released in advance are sold, the remaining space of the ship (i.e. The remaining tickets that have not been released), combined with the analysis of market demand, all the remaining tickets will be released, and the release price will be the highest price of the real-time ticket price sold before.

[0047] If the tickets that have been released in advance are Hour( (Generally, the value is 3 to 6, depending on the holiday situation.) If all tickets are not sold out, the remaining car ticket quotas for the ship's schedule will be converted into truck ticket quotas, and advance cabin allocation will be completed based on the vehicle situation.

[0048] The real-time ticket price calculation method for passenger and vehicle ferry provided in the embodiment of the present application analyzes historical crossing data to determine the peak crossing period and duration, and calculates the real-time ticket price for each date during the peak island entry date in combination with the peak crossing period and duration, and utilizes the fluctuation of ferry tickets to guide the fluctuation of market demand, thereby achieving the effect of peak load adjustment and peak shaving.

[0049] Furthermore, in some embodiments, the sum of the adjustment coefficients in the first adjustment coefficient combination when the ship schedule is during the day is greater than the sum of the adjustment coefficients in the first adjustment coefficient combination when the ship schedule is at night.

[0050] In the embodiment of the present application, in order to increase the ticket purchase rate of night flights, the price increase of night flights (0:00 to 8:00 a.m.) will be slower than the price increase of daytime flights, and its first price increase parameter Daytime shift of , Depending on the holiday situation, the value is generally 50~80. That is, for night shifts, .

[0051] The real-time fare calculation method for passenger and vehicle ferries provided in the embodiment of the present application can balance the revenue problem caused by fare fluctuations and the problem of smoothing market demand by designing different price increase parameters for different daytime and nighttime schedules on the peak dates for island entry, and utilize the difference in ticket prices during the daytime and nighttime to achieve the effect of alleviating the peak demand for crossing the sea during the daytime during the peak period of island entry.

[0052] Further, in some embodiments, according to the time when the user purchased the boat ticket, the boat schedule and the remaining ticket quantity information, determining the real-time ticket price for each date of the peak departure date includes: For any second date among the peak departure dates: Determine a second initial fare for a plurality of tickets released in advance on any second date based on the standard fare; Determine the real-time ticket prices of the multiple tickets released in advance on any second date according to the total number of tickets corresponding to the multiple tickets released in advance on any second date, the remaining ticket quantity information, the time when the user purchased the ticket, the ship schedule, the number of the multiple tickets released in advance on any second date, the second initial ticket price and the second adjustment coefficient combination; Determine the real-time ticket prices of the remaining tickets on any second date according to the highest price among the real-time ticket prices of multiple tickets released in advance on any second date; The real-time ticket prices for each of the peak departure dates are determined based on the real-time ticket prices for multiple tickets released in advance on any second date and the real-time ticket prices for the remaining tickets on any second date.

[0053] In the embodiment of the present application, the peak values ​​of the island outflow are generally highly concentrated, and the peak shaving method is different from the peak shaving method of the island inflow. There are two ways to calculate the real-time fare. (including the real-time ticket prices of multiple tickets released in advance on any second date and the real-time ticket prices of any remaining tickets not released on the second date) to achieve the effect of peak load adjustment. The specific methods are as follows: Whenever The actual fare for the date The calculation method of the real-time fare for entering the island is basically the same, with two main differences: first, the initial fare will no longer be reduced, and the standard fare will be used directly; second, the range of the price increase parameter is different from that for entering the island, generally 5% to 30%, and the price increase parameter for night flights is 10% of that for day flights. , The value is generally between 50 and 80, depending on the holiday situation.

[0054] Specifically, for the peak date series of island departure Any date in (i.e. the second date) , , any first date Release in advance The number of tickets (i.e. the number of tickets) is released in advance. Push forward sky, for The total number of tickets included in the ship schedule corresponding to the multiple tickets released in advance, that is, the total number of tickets for the ship schedule in which the user purchases the ticket, can be obtained based on the car ticket quantity index and the truck ticket quantity index.

[0055] All tickets released in advance are priced at the standard fare, i.e. , Standard fare. for Released in advance The initial fare for the ticket quantity is the second initial fare.

[0056] The price of all tickets released in advance is based on the remaining ticket information of the ship schedule where all tickets released in advance are located. and the remaining time until the sailing date The price is adjusted upward in two dimensions, among which, ( The unit is hours). The calculation formula for the specific adjustment method is as follows:

[0057]

[0058] in, for Real-time fares for multiple ferry tickets released in advance, and are the adjustment coefficients in the second adjustment coefficient combination, and are all adjustable. is the second price floating parameter, here The value is generally between 5% and 30% depending on holidays.

[0059] The same method as above can be used to calculate the real-time ticket prices for other peak departure dates in the peak departure date sequence. In order to avoid repetition, it will not be repeated here.

[0060] when After all the tickets for any ship schedule released in advance are sold, the remaining space of the ship (i.e. The remaining tickets that have not been released), combined with the analysis of market demand, all the remaining tickets will be released, and the release price will be the highest price of the real-time ticket price sold before.

[0061] If the tickets that have been released in advance are Hour( (Generally, the value is 3 to 6, depending on the holiday situation.) If all tickets are not sold out, the remaining car ticket quotas for the ship's schedule will be converted into truck ticket quotas, and advance cabin allocation will be completed based on the vehicle situation.

[0062] according to Real-time fares and prices of multiple ferry tickets released in advance The real-time ticket prices of the remaining ferry tickets at that time can be used to obtain the real-time ticket prices of each date during the peak departure dates.

[0063] Furthermore, in some embodiments, the sum of the adjustment coefficients in the second adjustment coefficient combination when the ship schedule is during the day is greater than the sum of the adjustment coefficients in the second adjustment coefficient combination when the ship schedule is at night.

[0064] In the embodiment of the present application, in order to increase the ticket purchase rate of night flights, the price increase of night flights (0:00 to 8:00 in the morning) will be slower than the price increase of daytime flights, and its second price increase parameter Daytime shift of , Depending on the holiday situation, the value is generally 50~80. That is, for night shifts, .

[0065] The real-time fare calculation method for passenger and vehicle ferries provided in the embodiment of the present application can balance the revenue problem caused by fare fluctuations and the problem of smoothing market demand by designing different price increase parameters for different daytime and nighttime schedules on the peak dates for island entry, and utilize the difference in ticket prices during the daytime and nighttime to achieve the effect of alleviating the peak demand for crossing the sea during the daytime during the peak period of leaving the island.

[0066] Further, in some embodiments, according to the time when the user purchased the boat ticket, the boat schedule, and the remaining ticket quantity information, determining the real-time ticket price for each date in a period of time before and after the peak date of the island departure includes: For any third date in the period before or after the peak date of island departure: Determine the real-time fare on any third date based on the number of historical users leaving the island on any third date, the peak number of users leaving the island during holidays adjacent to any third date, the total number of tickets included in the ship schedule corresponding to multiple tickets released in advance on any third date, the remaining ticket information, the standard fare and the second adjustment coefficient combination; According to the real-time ticket price of the ferry ticket on any third date, the real-time ticket price on each date in a period of time before and after the peak date of leaving the island is determined.

[0067] In the embodiment of the present application, for the peak date sequence of the island For any date (i.e. the third date) within a period of time before or after the peak date of departure from the island (e.g. 2 days, 3 days, etc.), a certain degree of ticket price reduction will be given, and the extent of the reduction will be proportional to the number of users (cars) who have departed from the island on the third date. , the peak number of users leaving the island during the holidays adjacent to the third date , Remaining ticket quantity information , standard fare and each adjustment coefficient in the third adjustment coefficient combination. The specific calculation formula is as follows:

[0068]

[0069] in, The total number of tickets included in the ship schedule corresponding to multiple tickets released in advance on any third date, is the real-time fare for the third date, and is the adjustment coefficient in the third adjustment coefficient combination, is the third price floating parameter, here The value is generally between 5% and 30% depending on holidays.

[0070] The same method as above is used to calculate the real-time ticket prices for each date in the period before and after the peak departure date in the departure peak date sequence.

[0071] According to the above process, the real-time ticket prices under different dates are determined respectively. Different ship schedules, different ticket sales conditions, different ticket purchase dates, etc. will affect the current ticket price of the ship schedule. The fluctuation of ticket prices is used to guide the fluctuation of market demand to achieve the goal of peak load regulation and peak shaving.

[0072] Please see further Figure 2 The method for calculating the real-time fare of a passenger vehicle ferry provided in the embodiment of the present application may include: Enter the user's ticket purchase time, ship schedule and remaining ticket time; Based on the historical sea crossing data, the peak date series for entering the island and the peak date series for leaving the island are formed; Initialize the initial ticket prices of multiple ferry tickets released in advance on any peak date in the sequence of peak dates for island entry; Initialize the initial ticket prices of multiple ferry tickets released in advance on any of the peak departure dates in the sequence of departure peak dates; Calculate the real-time fares for each of the peak entry dates; Calculate the real-time fares on each date during the peak departure date and the real-time fares on each date during a period of time before and after the peak departure date; Generate real-time ticket prices for any ferry schedule.

[0073] The real-time fare calculation method for passenger and vehicle ferries provided in the embodiment of the present application effectively designs fare fluctuations based on the difference between different dates and peak dates, so as to achieve the goal of adjusting peak demand to other non-peak dates.

[0074] The following is a description of the real-time fare calculation device for a passenger and vehicle ferry provided by the present application. The real-time fare calculation device for a passenger and vehicle ferry described below and the real-time fare calculation method for a passenger and vehicle ferry described above can be referenced to each other.

[0075] See also Figure 3 An embodiment of the present application provides a real-time fare calculation device for a passenger and vehicle ferry, including: a data determination module 310 and a fare calculation module 320.

[0076] The data determination module 310 is used to determine the peak sea crossing period including the peak date of island entry and the peak date of island exit based on the historical sea crossing data; The fare calculation module 320 is used to determine the real-time fare for each date during the peak entry dates, the real-time fare for each date during the peak exit dates, and the real-time fare for each date in a period of time before and after the peak exit dates based on the time when the user purchases the ticket, the ship schedule, and the remaining ticket information.

[0077] The real-time ticket price calculation device for passenger and vehicle ferries provided in the embodiment of the present application determines the real-time ticket prices for different dates (for example, including the peak entry period, the peak exit period, and various dates in a period before and after the peak exit period) by combining the time when the user purchases the ticket, the ship's schedule, and the remaining ticket information, thereby realizing adaptive adjustment of the ticket price, and adjusting the sea crossing demand based on the real-time ticket prices on different dates, thereby achieving the effect of using the fluctuations in real-time ticket prices to guide the fluctuations in market demand, thereby achieving the peak shaving effect on the sea crossing demand, achieving a good transportation effect, avoiding congestion caused by excessive concentration of sea crossing demand, and realizing a smooth distribution of sea crossing demand.

[0078] It can be understood that the detailed functional implementation of each of the above-mentioned units / modules can be found in the introduction of the aforementioned method embodiment, and will not be repeated here.

[0079] It should be understood that the above-mentioned device is used to execute the method in the above-mentioned embodiment. The implementation principle and technical effect of the corresponding program module in the device are similar to those described in the above-mentioned method. The working process of the device can refer to the corresponding process in the above-mentioned method, which will not be repeated here.

[0080] Based on the method in the above embodiment, the present application embodiment provides an electronic device, see Figure 4 The electronic device may include: a processor (Processor) 410, a communication interface (Communications Interface) 420, a memory (Memory) 430 and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the method in the above embodiment.

[0081] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.

[0082] Based on the method in the above embodiment, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method in the above embodiment.

[0083] Based on the method in the above embodiment, an embodiment of the present application provides a computer program product. When the computer program product runs on a processor, the processor executes the method in the above embodiment.

[0084] It is understandable that the processor in the embodiment of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0085] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.

[0086] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

[0087] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.

[0088] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for calculating real-time fare of a passenger and vehicle ferry, characterized in that: include: Based on historical sea crossing data, determine the peak sea crossing period including the peak entry date and the peak exit date; According to the time when the user purchased the ticket, the ship schedule and the remaining ticket information, the real-time ticket price for each date among the peak dates for entering the island, the real-time ticket price for each date among the peak dates for leaving the island and the real-time ticket price for each date in a period of time before and after the peak dates for leaving the island are determined.

2. The method for calculating the real-time fare of a passenger and vehicle ferry according to claim 1, characterized in that: Determining the real-time ticket price for each of the peak dates for entering the island according to the time when the user purchased the ticket, the ship's schedule, and the remaining ticket quantity information includes: For any first of the aforementioned peak arrival dates: Determining a first initial fare for a plurality of tickets released in advance on any first date according to the standard fare and the floating coefficient; Determine the real-time ticket price of the multiple tickets released in advance on any first date according to the total number of tickets included in the ship schedule corresponding to the multiple tickets released in advance on any first date, the remaining ticket quantity information, the time when the user purchased the ticket, the ship schedule time, the number of the multiple tickets released in advance on any first date, the first initial ticket price and the first adjustment coefficient combination; Determine the real-time ticket price of the remaining tickets on any first date according to the highest price among the real-time ticket prices of a plurality of tickets released in advance on any first date; The real-time ticket prices for each of the peak island entry dates are determined based on the real-time ticket prices for multiple tickets released in advance on any of the first dates and the real-time ticket prices for the remaining tickets on any of the first dates.

3. The method for calculating the real-time fare of a passenger and vehicle ferry according to claim 2, characterized in that: The sum of the adjustment coefficients in the first adjustment coefficient combination when the ship schedule is during the day is greater than the sum of the adjustment coefficients in the first adjustment coefficient combination when the ship schedule is at night.

4. The method for calculating the real-time fare of a passenger and vehicle ferry according to claim 1, characterized in that: Determining the real-time ticket price for each of the peak departure dates according to the time when the user purchased the ticket, the ship's schedule, and the remaining ticket quantity information includes: For any second date among the peak departure dates: Determining, based on the standard fare, a second initial fare for the plurality of tickets released in advance on any second date; Determine the real-time ticket prices of the multiple tickets released in advance on any second date according to the total number of tickets included in the ship schedule corresponding to the multiple tickets released in advance on any second date, the remaining ticket quantity information, the time when the user purchased the ticket, the ship schedule time, the number of the multiple tickets released in advance on any second date, the second initial ticket price and the second adjustment coefficient; Determine the real-time ticket price of the remaining tickets on any second date according to the highest price among the real-time ticket prices of a plurality of tickets released in advance on any second date; The real-time ticket prices for each of the peak departure dates are determined based on the real-time ticket prices for multiple tickets released in advance on any of the second dates and the real-time ticket prices for the remaining tickets on any of the second dates.

5. The method for calculating the real-time fare of a passenger and vehicle ferry according to claim 4, characterized in that: The sum of the adjustment coefficients in the second adjustment coefficient combination when the ship schedule is during the day is greater than the sum of the adjustment coefficients in the second adjustment coefficient combination when the ship schedule is at night.

6. The method for calculating the real-time fare of a passenger and vehicle ferry according to claim 1, characterized in that: Determining the real-time ticket prices for each date in a period of time before and after the peak date of the island departure according to the time when the user purchased the ticket, the ship schedule, and the remaining ticket quantity information includes: For any third date in the period before or after the peak date of the island departure: Determine the real-time fare on any third date based on the historical number of users leaving the island on any third date, the peak number of users leaving the island on holidays adjacent to any third date, the total number of tickets included in the ship schedule corresponding to the multiple tickets released in advance on any third date, the remaining ticket quantity information, the standard fare and the third adjustment coefficient combination; According to the real-time ticket price of any third date, the real-time ticket price of each date in a period of time before and after the peak date for leaving the island is determined.

7. A real-time fare calculation device for a passenger and vehicle ferry, characterized in that: include: A data determination module is used to determine the peak sea crossing period including the peak date of island entry and the peak date of island exit based on historical sea crossing data; The fare calculation module is used to determine the real-time fare for each date among the peak dates for entering the island, the real-time fare for each date among the peak dates for leaving the island, and the real-time fare for each date in a period of time before and after the peak dates for leaving the island according to the time when the user purchases the ticket, the ship's schedule and the remaining ticket information.

8. An electronic device, characterized in that: include: at least one memory for storing a computer program; At least one processor is used to execute the program stored in the memory. When the program stored in the memory is executed, the processor is used to execute the method according to any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program runs on a processor, the processor is caused to execute the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that When the computer program product runs on a processor, the processor is caused to execute the method according to any one of claims 1 to 6.