CN116957665A - Travel information processing method, device, terminal equipment and storage medium - Google Patents

Travel information processing method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN116957665A
CN116957665A CN202311222635.1A CN202311222635A CN116957665A CN 116957665 A CN116957665 A CN 116957665A CN 202311222635 A CN202311222635 A CN 202311222635A CN 116957665 A CN116957665 A CN 116957665A
Authority
CN
China
Prior art keywords
transfer
current
data
trip data
trip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311222635.1A
Other languages
Chinese (zh)
Inventor
孙婕
许华林
赵红宇
刘勇
郭懿乾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenzhentong Co ltd
Original Assignee
Shenzhen Shenzhentong 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 Shenzhen Shenzhentong Co ltd filed Critical Shenzhen Shenzhentong Co ltd
Priority to CN202311222635.1A priority Critical patent/CN116957665A/en
Publication of CN116957665A publication Critical patent/CN116957665A/en
Pending legal-status Critical Current

Links

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/0207Discounts or incentives, e.g. coupons or rebates
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem

Landscapes

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

Abstract

The application discloses a travel information processing method, a device, terminal equipment and a storage medium, and relates to the field of public transportation, wherein the method comprises the following steps: inquiring whether the next trip data meeting the preset transfer omission condition exists or not when the next trip data is received; if yes, the transfer preferential compensation is carried out on the user according to the current trip data and the next trip data, and the application ensures the rights and interests of the passengers.

Description

Travel information processing method, device, terminal equipment and storage medium
Technical Field
The present application relates to the field of public transportation, and in particular, to a travel information processing method, apparatus, terminal device, and storage medium.
Background
When a passenger transfers another vehicle from one vehicle or transfers another line from one line of the bus within a prescribed time, the following riding buckle takes time to additionally enjoy transfer benefits.
However, in the actual process, the late transfer condition inevitably occurs due to machine faults or network fluctuations, and the previous riding record is delayed to be uploaded, so that the previous riding deduction is later than the next riding, the system cannot judge whether the next riding meets the transfer preferential conditions, and even if the next riding meets the transfer preferential conditions, the system cannot enjoy the transfer preferential, thereby damaging the rights and interests of passengers.
Disclosure of Invention
The application mainly aims to provide a travel information processing method, a travel information processing device, terminal equipment and a storage medium, which aim to ensure the rights and interests of passengers.
In order to achieve the above object, the present application provides a travel information processing method, including:
inquiring whether the next trip data meeting the preset transfer omission condition exists or not when the next trip data is received;
if yes, carrying out transfer preference compensation on the user according to the current trip data and the next trip data.
Optionally, the current trip data includes a current trip time, and the step of querying whether the next trip data meeting the preset transfer omission condition exists includes:
inquiring whether the next trip data exist in a preset time period after the current trip time;
if yes, acquiring the next trip data;
judging whether the next trip and the current trip accord with a transfer scene or not according to the next trip data and the current trip data;
if yes, judging whether the route of the next trip is the same as the route of the current trip according to the next trip data and the current trip data;
if yes, judging whether the next trip has obtained preferential or not according to the next trip data and the current trip data;
if not, the next trip data accords with the transfer omission condition.
Optionally, the step of querying whether the next trip data exists in a preset time period after the current trip time includes:
when the current trip data are received, acquiring a current month transfer water meter;
inquiring transfer information in a preset time period after the current trip time according to the current transfer water meter, and acquiring a current transfer set after the current month;
judging whether the transfer set of the current time is empty or not;
if not, inquiring transfer data in the current transfer set and closest to the current travel time to obtain the current travel data.
Optionally, after the step of determining whether the current transfer set is empty, the method further includes:
if yes, acquiring a next month transfer water meter;
inquiring transfer information in a preset time period after the current trip time according to the next month transfer water meter, and acquiring a next month transfer set;
judging whether the next transfer set is empty or not;
if not, inquiring transfer data in the next-month last transfer set, which is closest to the current trip time, and obtaining the last trip data.
Optionally, the step of performing the transfer preference compensation on the user according to the current trip data and the next trip data includes:
based on a preset subsidy standard, analyzing according to the current trip data and the next trip data to obtain the subsidy limit;
and performing preferential compensation on the user according to the subsidy limit.
Optionally, after the step of compensating the transfer preference of the user according to the current trip data and the next trip data, the method further includes:
and carrying out preferential notification on the user.
Optionally, when the current trip data is received, the step of querying whether the current trip data meeting the preset transfer omission condition exists comprises the following steps:
when the current trip data are received, judging whether the current trip data pass through front detection or not;
if yes, inquiring whether the next trip data meeting the preset transfer omission condition exists.
The embodiment of the application also provides a travel information processing device, which comprises:
the information inquiry module is used for inquiring whether the next trip data meeting the preset transfer omission condition exists or not when the current trip data are received;
and the preferential compensation module is used for carrying out transfer preferential compensation on the user according to the current trip data and the next trip data if yes.
The embodiment of the application also provides a terminal device, which comprises a memory, a processor and a travel information processing program stored on the memory and capable of running on the processor, wherein the travel information processing program realizes the steps of the travel information processing method when being executed by the processor.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a travel information processing program, and the travel information processing program realizes the steps of the travel information processing method when being executed by a processor.
According to the travel information processing method, the travel information processing device, the terminal equipment and the storage medium, when the current travel data are received, whether the next travel data which meet the preset transfer omission conditions exist or not is inquired; if yes, carrying out transfer preference compensation on the user according to the current trip data and the next trip data. Whenever the current trip data are received, inquiring whether the next trip data which meet the preset transfer omission condition exist or not, if the next trip data which meet the condition exist, the fact that the later trip occurs in fact is meant, and then transfer preferential compensation is conducted on the user according to the current trip data and the next trip data, so that the benefit that passengers should enjoy is greatly guaranteed, meanwhile, unnecessary customer complaints are avoided, and the benefit of the passengers is guaranteed.
Drawings
FIG. 1 is a schematic diagram of functional modules of a terminal device to which a travel information processing apparatus of the present application belongs;
fig. 2 is a flowchart of a first exemplary embodiment of the travel information processing method of the present application;
fig. 3 is a schematic diagram of a transfer preference compensation process for a late transfer of a ride transaction according to the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The main solutions of the embodiments of the present application are: inquiring whether the next trip data meeting the preset transfer omission condition exists or not when the next trip data is received; if yes, carrying out transfer preference compensation on the user according to the current trip data and the next trip data. Whenever the current trip data are received, inquiring whether the next trip data which meet the preset transfer omission condition exist or not, if the next trip data which meet the condition exist, the fact that the later trip occurs in fact is meant, and then transfer preferential compensation is conducted on the user according to the current trip data and the next trip data, so that the benefit that passengers should enjoy is greatly guaranteed, meanwhile, unnecessary customer complaints are avoided, and the benefit of the passengers is guaranteed.
According to the embodiment of the application, when passengers transfer another transportation means from one transportation means or transfer another bus from one bus line to another bus line in the related technical scheme, the passengers additionally enjoy transfer benefits when taking the bus buckle at the later time.
However, in the actual process, the late transfer condition inevitably occurs due to machine faults or network fluctuations, and the previous riding record is delayed to be uploaded, so that the previous riding deduction is later than the next riding, the system cannot judge whether the next riding meets the transfer preferential conditions, and even if the next riding meets the transfer preferential conditions, the system cannot enjoy the transfer preferential, thereby damaging the rights and interests of passengers.
Based on the above, the embodiment of the application provides a solution, each time when the current trip data is received, whether the next trip data meeting the preset transfer omission condition exists is inquired, if the next trip data meeting the conditions exists, the fact that the later trip condition occurs in reality is meant, and the transfer preferential compensation is carried out on the user according to the current trip data and the next trip data, so that the benefit that the passenger should enjoy is greatly ensured, and meanwhile, the unnecessary customer complaint problem is avoided.
Specifically, referring to fig. 1, fig. 1 is a schematic diagram of functional modules of a terminal device to which the travel information processing apparatus of the present application belongs. The travel information processing device may be a device independent of the terminal device and capable of performing data processing, or may be carried on the terminal device in a form of hardware or software.
In this embodiment, the terminal device to which the travel information processing apparatus belongs includes at least an output module 110, a processor 120, a memory 130, and a communication module 140.
The memory 130 stores an operating system and a travel information processing program, and when the present travel data is received, whether the present travel data meeting the preset transfer omission condition exists or not is inquired and stored in the memory 130; the output module 110 may be a display screen, a speaker, etc. The communication module 140 may include a WIFI module, a mobile communication module, a bluetooth module, and the like, and communicates with an external device or a server through the communication module 140.
Wherein, the trip information processing program in the memory 130 realizes the following steps when being executed by the processor:
inquiring whether the next trip data meeting the preset transfer omission condition exists or not when the next trip data is received;
if yes, carrying out transfer preference compensation on the user according to the current trip data and the next trip data.
Further, the travel information processing program in the memory 130 when executed by the processor further realizes the following steps:
inquiring whether the next trip data exist in a preset time period after the current trip time;
if yes, acquiring the next trip data;
judging whether the next trip and the current trip accord with a transfer scene or not according to the next trip data and the current trip data;
if yes, judging whether the route of the next trip is the same as the route of the current trip according to the next trip data and the current trip data;
if yes, judging whether the next trip has obtained preferential or not according to the next trip data and the current trip data;
if not, the next trip data accords with the transfer omission condition.
Further, the travel information processing program in the memory 130 when executed by the processor further realizes the following steps:
when the current trip data are received, acquiring a current month transfer water meter;
inquiring transfer information in a preset time period after the current trip time according to the current transfer water meter, and acquiring a current transfer set after the current month;
judging whether the transfer set of the current time is empty or not; if not, inquiring transfer data in the current transfer set and closest to the current travel time to obtain the current travel data.
Further, the travel information processing program in the memory 130 when executed by the processor further realizes the following steps:
if yes, acquiring a next month transfer water meter; inquiring transfer information in a preset time period after the current trip time according to the next month transfer water meter, and acquiring a next month transfer set;
judging whether the next transfer set is empty or not;
if not, inquiring transfer data in the next-month last transfer set, which is closest to the current trip time, and obtaining the last trip data.
Further, the travel information processing program in the memory 130 when executed by the processor further realizes the following steps:
based on a preset subsidy standard, analyzing according to the current trip data and the next trip data to obtain the subsidy limit; and performing preferential compensation on the user according to the subsidy limit.
Further, the travel information processing program in the memory 130 when executed by the processor further realizes the following steps:
and carrying out preferential notification on the user.
Further, the travel information processing program in the memory 130 when executed by the processor further realizes the following steps:
when the current trip data are received, judging whether the current trip data pass through front detection or not;
if yes, inquiring whether the next trip data meeting the preset transfer omission condition exists.
According to the scheme, when the current trip data are received, whether the next trip data which meet the preset transfer omission condition exist or not is inquired;
if yes, carrying out transfer preference compensation on the user according to the current trip data and the next trip data.
Whenever the current trip data are received, inquiring whether the next trip data which meet the preset transfer omission condition exist or not, if the next trip data which meet the condition exist, the fact that the later trip occurs in fact is meant, and then transfer preferential compensation is conducted on the user according to the current trip data and the next trip data, so that the benefit that passengers should enjoy is greatly guaranteed, meanwhile, unnecessary customer complaints are avoided, and the benefit of the passengers is guaranteed.
The method embodiment of the application is proposed based on the above-mentioned terminal equipment architecture but not limited to the above-mentioned architecture.
Referring to fig. 2, fig. 2 is a flowchart illustrating a trip information processing method according to a first exemplary embodiment of the present application.
The embodiment of the application provides a travel information processing method, which comprises the following steps:
step S10, inquiring whether the next trip data meeting the preset transfer omission condition exists or not when the next trip data is received;
when a passenger transfers another vehicle from one vehicle or transfers another line from one line of the bus within a prescribed time, the following riding buckle takes time to additionally enjoy transfer benefits.
However, in the actual process, the late transmission condition is inevitably generated due to the machine fault or the network fluctuation, and the record of the previous bus is delayed to be uploaded, so that the fee for the previous bus is later than the fee for the next bus, and in such a case, the fee for the next bus is not saved due to the time consumption of the next bus, and the customer complaint may be caused.
Therefore, this embodiment proposes that whenever current trip data is received, whether there is next trip data meeting a preset transfer omission condition is queried, if there is next trip data meeting a condition, it means that a late trip condition actually occurs, and transfer preferential compensation is performed on the user according to the current trip data and the next trip data, so that the benefit that passengers should enjoy is greatly ensured, and meanwhile, unnecessary customer complaints are avoided.
Specifically, the previous trip data (current trip data) and the next trip data are for two trips by one specific user within a period of time. The previous trip data is one trip occurring earlier in time, and the next trip data is one trip occurring immediately after the previous trip data in time.
The information in the previous trip data (current trip data) and the next trip data may be used to calculate whether the passenger is eligible for a benefit, the amount of the benefit, etc. For example, the offers to be given are calculated from information such as the time interval between two trips, the route, the fare, etc.
Specifically, the transfer coupon compensation mechanism of the code transaction late transfer is currently applicable to passengers between two vehicles or two buses, the latter transaction finishes deduction before the former transaction, after the former transaction is uploaded, a benefit which is equal to the transfer coupon is stored in a virtual benefit account of the passengers for deduction when the passengers take the bus next time aiming at the condition that the latter transaction fails to enjoy but should actually enjoy the transfer coupon.
Specifically, when the system receives the current trip data, a query is performed to confirm whether the next trip data meeting the preset transfer omission condition exists. The process can set asynchronous processing, and the next trip data meeting the preset transfer omission condition is queried in the queue through setting a processing time period, namely a time period after each time of receiving the current trip data.
The specific transfer omission condition refers to those travel situations that may be ignored or not correctly identified, and subsequent travel data that may cause delayed transfer offers to be triggered are incorrectly excluded from calculation. Transfer omission conditions may include:
querying cross-line omission: the system does not correctly detect or identify that the next trip and the current trip belong to different bus routes, so that preferential omission is caused.
Missing query time interval: if the time interval of the next trip is not matched with the set delay transfer time, the system may exclude the next trip data from calculation, and the situation that the actual condition is met is ignored, or the time of uploading the next trip data is actually later than the time of uploading the next trip data.
Query site matching omission: if the system cannot accurately match the last station point of the next trip with the next station point of the current trip, omission may be caused.
Missing query transfer mode: if the system only considers one transfer method and does not consider other possible transfer methods, offers may be missed.
Inquiring complex transfer omission: in complex traffic networks, there are a number of different transfer paths. The system may miss some subsequent travel data meeting the preferential conditions due to complex conditions.
Query error data excludes omission: if the system incorrectly excludes some valid travel data, such as incorrectly identified as anomalous or duplicate, a benefit may be missed.
Inquiring special case omission: if the system does not take into account certain special circumstances, such as special holidays or transfer rules for special lines, preference omission may also result.
When setting transfer omission conditions, it is necessary to fully consider these transfer omission conditions and reduce these omissions as much as possible in algorithms and logics to ensure accuracy and fairness of calculation results.
And step S20, if yes, carrying out transfer preference compensation on the user according to the current trip data and the next trip data.
If the current trip data and the subsequent trip data which meet the conditions appear, the system performs transfer preference compensation on the user based on the data. The compensation aims at rewarding users to finish multiple bus taking in a certain time, and provides economic convenience for the users according to preferential rules preset by the system.
The system analyzes the current trip data and the subsequent trip data, and confirms that the current trip data and the subsequent trip data meet preset delay transfer preferential conditions. Once the conditions are satisfied, the system performs corresponding compensation operations in the user's account according to the preference rules. This may include:
patch balance update: the system calculates the transfer offer amount that should be provided according to the offer rules and then adds this amount to the user's account subsidy balance.
Automatic deduction: when the user takes the bus next time, the system automatically deducts the corresponding preferential amount from the account subsidy balance so as to deduct the actual fare.
Further, step S30, based on a preset subsidy standard, analyzes according to the current trip data and the next trip data to obtain a subsidy limit;
and S40, performing preferential compensation on the user according to the subsidy limit.
And analyzing the current trip data and the subsequent trip data based on a preset subsidy standard to obtain the subsidy limit. And then, performing preferential compensation on the user according to the obtained subsidy amount. This process may be performed as follows:
specifically, the patch amount needs to be analyzed, and the amount which should be patched is calculated according to the current trip data and the next trip data and by combining with a preset patch standard. This amount may be related to factors such as the type of offer, line, time interval, etc.
Further, the user account is updated, and the credit is added to the account balance of the user according to the calculated credit to be subsidized to be used as preferential compensation.
Further, the system automatically deducts the corresponding preferential amount from the account balance when the user takes a car next time, so as to deduct the actual fare.
Further, step S50, performing preferential notification on the user.
After the compensation operation is completed, the system may send a notification to the user informing them that the transfer offers have been compensated and reminding them that the subsidy balances are available for use the next time they take the car.
According to the travel information processing method provided by the embodiment of the application, when the current travel data is received, whether the next travel data meeting the preset transfer omission condition exists is inquired; if yes, carrying out transfer preference compensation on the user according to the current trip data and the next trip data. Whenever the current trip data are received, inquiring whether the next trip data which meet the preset transfer omission condition exist or not, if the next trip data which meet the condition exist, the fact that the later trip occurs in fact is meant, and then transfer preferential compensation is conducted on the user according to the current trip data and the next trip data, so that the benefit that passengers should enjoy is greatly guaranteed, meanwhile, unnecessary customer complaints are avoided, and the benefit of the passengers is guaranteed.
Based on the first embodiment, a second embodiment of the present application is proposed, which differs from the first embodiment in that: the current trip data comprise current trip time;
in step S10, when the current trip data is received, the step of querying whether the current trip data meeting the preset transfer omission condition exists is refined, where the step may include:
in this embodiment, step S10, when receiving the present trip data, the step of querying whether there is the present next trip data meeting the preset transfer omission condition includes:
step S11, inquiring whether the next trip data exist in a preset time period after the current trip time;
specifically, the preset time period may be set according to a transfer preference rule, for example, a transfer is performed within 90 minutes of the transfer preference rule, and the subsequent riding may enjoy the preference, and the preset time period may be 90 minutes.
Step S12, if yes, acquiring the next trip data;
if the next trip data exists in the query result, the next trip data can be confirmed to exist in a preset time period after the current trip time. If the query result is empty, indicating that the next trip data meeting the conditions does not exist in the time period, and exiting the information processing program.
Step S13, judging whether the next trip and the current trip accord with a transfer scene or not according to the next trip data and the current trip data;
specifically, the transfer scenario may be set according to a transfer preference rule, such as determining whether transfer types of the next trip and the current trip match. For example, there may be different transfer types, direct, one transfer, multiple transfers, etc. Such as transfer of buses and buses, transfer of buses and rail traffic.
Different city and public transportation systems may have different transfer rules and preferential settings, so that customized implementation is required according to actual situations.
Step S14, if yes, judging whether the route of the next trip is the same as the route of the current trip according to the next trip data and the current trip data;
if the next trip data and the current trip data meet the condition of the same transfer scene, judging whether the route of the next trip is the same as the route of the current trip or not according to the next trip data and the current trip data. If the route of the next trip and the route of the current trip are different, indicating that the next transfer data is not in accordance with the condition, the information processing program may be exited.
If the transfer scenes are the same, extracting the line information of the next trip from the next trip data, extracting the line information of the current trip from the current trip data, comparing the extracted line information of the next trip with the line information of the current trip, and judging whether the line information of the next trip and the line information of the current trip are the same or not.
Specifically, whether the routes are identical or not may be determined by comparing the route numbers or names, and if the next trip data and the current trip data both contain the route numbers or names, whether the information is identical or not may be directly compared.
Specifically, whether the routes are the same can be determined by using the route map or the route data, and if the geographical information or the route data of the bus route is available, whether the bus route is on the same route can be determined in the route map or the route data according to the boarding station and the alighting station of the next trip and the current trip.
Specifically, whether the routes are the same can be determined by comparing the route correspondence tables: if there are multiple variants of line numbers or names, a line correspondence table may be created, mapping the different line variants to uniform standard line names, and then comparing whether the standard names are identical.
Step S15, if yes, judging whether the next trip has obtained preferential or not according to the next trip data and the current trip data;
if the next trip data and the current trip data accord with the condition of the same route, judging whether the next trip is preferential or not according to the next trip data and the current trip data.
The method specifically can extract the preferential information of the next trip from the data of the next trip to judge whether the preferential information is preferential, such as preferential identification, preferential amount and the like.
And judging whether the travel data of the next time has obtained the preferential or not according to the extracted preferential information. If an offer has been made, then there should be a corresponding offer identification or record in the system, otherwise no offer has been made.
If the preferential treatment is carried out, the repeated preferential treatment is avoided or the corresponding compensation operation is carried out according to the rules and requirements of the system, and the information processing program can be exited.
And S16, if not, the next trip data accords with the transfer omission condition.
If it is determined in the previous flow that the next trip data has not obtained a preference and the data meets the preset transfer omission condition, it may be concluded that: and the next trip data accords with the transfer omission condition. If the next trip has obtained the benefit, the process can be ended by indicating that the next transfer data which does not meet the condition is not available.
According to the travel information processing method provided by the embodiment of the application, whether the next travel data exist or not is inquired in a preset time period after the current travel time; if yes, acquiring the next trip data; judging whether the next trip and the current trip accord with a transfer scene or not according to the next trip data and the current trip data; if yes, judging whether the route of the next trip is the same as the route of the current trip according to the next trip data and the current trip data; if yes, judging whether the next trip has obtained preferential or not according to the next trip data and the current trip data; if not, the next trip data accords with the transfer omission condition, and the correctness of transfer discount calculation can be ensured by judging whether the route is consistent, the transfer scene is consistent and whether the transfer discount calculation is favored, abuse is prevented, fairness is improved, better user experience is provided, and meanwhile, the resources and the stability of the system are also protected.
Based on the second embodiment, a third embodiment of the present application is proposed, which differs from the second embodiment in that:
step S11 is performed to query whether the next trip data exists in the preset period of time after the current trip time, where the step of refining may include:
in this embodiment, step S11, the step of querying whether the next trip data exists in a preset period of time after the current trip time includes:
step S111, when the current trip data are received, acquiring a current month transfer water meter;
based on the current trip data, time information of the current trip data is acquired, and then the current transfer water meter is acquired according to the time information. The flow meter is a database table or data set that records all transfer records of the month.
Step S112, inquiring transfer information in a preset time period after the current trip time according to the current month transfer water meter, and acquiring a current month transfer set;
further, according to a preset time period after the current trip time, the specific preset time period may be a fixed time interval, such as 90 minutes, and may also be the same as a transfer offer time period of a transfer offer rule, where the preset time period may be adjusted according to actual requirements and policies.
Inquiring transfer information, and using the current month transfer water meter to inquire all transfer information meeting time requirements and obtain a current month transfer set: and extracting transfer information from the query result to form a current transfer set. This set may contain subsequent transfer records that meet the condition.
Step S113, judging whether the transfer set of the current month is empty or not;
step S114, if not, inquiring transfer data in the current transfer set closest to the current travel time to obtain the next travel data.
And judging whether the transfer set of the next time of the current month is empty, checking the transfer set of the next time of the current month, and judging whether the subsequent transfer data meeting the condition exists.
And if the current transfer set is not empty after the current trip time, inquiring transfer data closest to the current trip time in the set according to the current trip time. This may be achieved by calculating the time interval and selecting the most recent transfer data.
Step S115, if yes, acquiring a next month transfer water meter;
and if the current transfer set is empty after the current month, extracting the current trip time from the current trip data to calculate the next month time and obtain the next month transfer water meter. The next month transfer flow meter is a database table or data set which records all transfer records of the next month.
Step S116, inquiring transfer information in a preset time period after the current trip time according to the next month transfer water meter, and acquiring a next month next transfer set;
further, according to a preset time period after the current trip time, the specific preset time period may be a fixed time interval, such as 90 minutes, or may be the same as a transfer preference time period of a transfer preference rule, or may be adjusted according to actual requirements and policies.
Inquiring transfer information, inquiring all transfer information meeting time requirements by using the next month transfer water meter, and extracting transfer information from an inquiry result to form a next month and later transfer set. This set may contain subsequent transfer records that meet the condition.
Step S117, judging whether the next transfer set is empty or not;
step S118, if not, inquiring transfer data in the next transfer set closest to the current trip time to obtain the next trip data.
And judging whether the next transfer set is empty or not, checking the next transfer set, and judging whether the subsequent transfer data meeting the condition exists or not.
And if the next transfer set is not empty after the next month, inquiring transfer data closest to the current travel time in the set according to the current travel time. This may be achieved by calculating the time interval and selecting the most recent transfer data.
And acquiring the latest transfer data, namely the next trip data, from the query result.
According to the travel information processing method provided by the embodiment of the application, when the current travel data is received, the current month transfer water meter is obtained; inquiring transfer information in a preset time period after the current trip time according to the current transfer water meter, and acquiring a current transfer set after the current month; judging whether the transfer set of the current time is empty or not; if not, inquiring transfer data in the current transfer set and closest to the current travel time to obtain the current travel data, and if so, obtaining a next month transfer water meter; inquiring transfer information in a preset time period after the current trip time according to the next month transfer water meter, and acquiring a next month transfer set; judging whether the next transfer set is empty or not; if not, inquiring the transfer data which is in the next transfer set and is closest to the current travel time, so as to obtain the next travel data, and firstly inquiring the current transfer water meter according to the travel condition of the current month, so that the inquiring operation of a database can be reduced, and the inquiring efficiency is improved. Only when the transfer records meeting the conditions cannot be found in the transfer water meter of the month, the transfer water meter of the month is inquired, so that unnecessary inquiry burden is avoided.
Based on the first embodiment, a fourth embodiment of the present application is proposed, which differs from the first embodiment in that:
for step S10, when the current trip data is received, the step of querying whether there is the next trip data meeting the preset transfer omission condition is performed with refinement, where the step of refining may include:
in this embodiment, step S10, when receiving the present trip data, the step of querying whether there is the present next trip data meeting the preset transfer omission condition includes:
step S101, judging whether the current trip data pass the preamble detection or not when the current trip data are received;
step S102, if yes, inquiring whether the next trip data meeting the preset transfer omission condition exists.
The front detection can rapidly filter out travel data which do not meet the conditions before calculating the preferential, so that unnecessary calculation cost is reduced, and the calculation efficiency of the system is improved. Related elements such as transaction types, fares, fare schemes and the like can be acquired from the current trip data, and then pre-detection is performed. It is detected whether these elements meet the conditions preset by the system. If the preamble detection is passed, executing the next step; if the preamble detection is not passed, the process flow is ended.
Further, inquiring whether the next trip data meeting the preset transfer omission condition exists or not: under the condition that the front-end detection is passed, according to the setting of the system, inquiring whether the follow-up travel data exist in a preset time period after the current travel time, and judging whether the follow-up travel data meet preset transfer omission conditions. And if the next trip data meeting the conditions exist, executing corresponding operation, otherwise, ending the processing flow.
According to the travel information processing method provided by the embodiment of the application, when the current travel data is received, whether the current travel data passes the front detection is judged; if yes, inquiring whether the next trip data meeting the preset transfer omission condition exists, and pre-detecting the trip data which does not meet the condition can be rapidly filtered before calculating the preferential, so that unnecessary calculation cost is reduced, and the calculation efficiency of the system is improved.
Fig. 3 is a schematic diagram of a transfer preference compensation process for a late transfer of a ride transaction according to the present application.
In addition, an embodiment of the present application further provides a travel information processing device, where the travel information processing device includes:
the information inquiry module is used for inquiring whether the next trip data meeting the preset transfer omission condition exists or not when the current trip data are received;
and the preferential compensation module is used for carrying out transfer preferential compensation on the user according to the current trip data and the next trip data if yes.
The principle and implementation process of travel information processing are realized in this embodiment, please refer to the above embodiments, and no further description is given here.
In addition, the embodiment of the application also provides a terminal device, which comprises a memory, a processor and a travel information processing program stored on the memory and capable of running on the processor, wherein the travel information processing program realizes the steps of the travel information processing method when being executed by the processor.
Because the travel information processing program is executed by the processor and adopts all the technical schemes of all the embodiments, the travel information processing program at least has all the beneficial effects brought by all the technical schemes of all the embodiments and is not described in detail herein.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a travel information processing program, and the travel information processing program realizes the steps of the travel information processing method when being executed by a processor.
Because the travel information processing program is executed by the processor and adopts all the technical schemes of all the embodiments, the travel information processing program at least has all the beneficial effects brought by all the technical schemes of all the embodiments and is not described in detail herein.
Compared with the prior art, the travel information processing method, the device, the terminal equipment and the storage medium provided by the embodiment of the application inquire whether the next travel data meeting the preset transfer omission condition exists or not through receiving the current travel data; if yes, carrying out transfer preference compensation on the user according to the current trip data and the next trip data. Whenever the current trip data are received, inquiring whether the next trip data which meet the preset transfer omission condition exist or not, if the next trip data which meet the condition exist, the fact that the later trip occurs in fact is meant, and then transfer preferential compensation is conducted on the user according to the current trip data and the next trip data, so that the benefit that passengers should enjoy is greatly guaranteed, meanwhile, unnecessary customer complaints are avoided, and the benefit of the passengers is guaranteed.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The travel information processing method is characterized by comprising the following steps of:
inquiring whether the next trip data meeting the preset transfer omission condition exists or not when the next trip data is received;
if yes, carrying out transfer preference compensation on the user according to the current trip data and the next trip data.
2. The travel information processing method according to claim 1, wherein the current travel data includes a current travel time, and the step of inquiring whether there is the next travel data that meets a preset transfer omission condition includes:
inquiring whether the next trip data exist in a preset time period after the current trip time;
if yes, acquiring the next trip data;
judging whether the next trip and the current trip accord with a transfer scene or not according to the next trip data and the current trip data;
if yes, judging whether the route of the next trip is the same as the route of the current trip according to the next trip data and the current trip data;
if yes, judging whether the next trip has obtained preferential or not according to the next trip data and the current trip data;
if not, the next trip data accords with the transfer omission condition.
3. The travel information processing method according to claim 2, wherein the step of inquiring whether the next travel data exists within a preset period of time after the present travel time includes:
when the current trip data are received, acquiring a current month transfer water meter;
inquiring transfer information in a preset time period after the current trip time according to the current transfer water meter, and acquiring a current transfer set after the current month;
judging whether the transfer set of the current time is empty or not;
if not, inquiring transfer data in the current transfer set and closest to the current travel time to obtain the current travel data.
4. The travel information processing method according to claim 3, wherein the step of determining whether the current transfer set is empty further comprises, after the step of determining:
if yes, acquiring a next month transfer water meter;
inquiring transfer information in a preset time period after the current trip time according to the next month transfer water meter, and acquiring a next month transfer set;
judging whether the next transfer set is empty or not;
if not, inquiring transfer data in the next-month last transfer set, which is closest to the current trip time, and obtaining the last trip data.
5. The travel information processing method according to claim 1, wherein the step of performing transfer preference compensation for the user based on the current travel data and the subsequent travel data includes:
based on a preset subsidy standard, analyzing according to the current trip data and the next trip data to obtain the subsidy limit;
and performing preferential compensation on the user according to the subsidy limit.
6. The travel information processing method according to claim 1, wherein after the step of compensating for the transfer offers of the user based on the current travel data and the subsequent travel data, further comprises:
and carrying out preferential notification on the user.
7. The travel information processing method according to claim 1, wherein the step of inquiring whether there is the next travel data conforming to the preset transfer omission condition when the present travel data is received comprises:
when the current trip data are received, judging whether the current trip data pass through front detection or not;
if yes, inquiring whether the next trip data meeting the preset transfer omission condition exists.
8. A travel information processing apparatus, characterized in that the travel information processing apparatus comprises:
the information inquiry module is used for inquiring whether the next trip data meeting the preset transfer omission condition exists or not when the current trip data are received;
and the preferential compensation module is used for carrying out transfer preferential compensation on the user according to the current trip data and the next trip data if yes.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a travel information processing program stored on the memory and executable on the processor, which travel information processing program, when executed by the processor, implements the steps of the travel information processing method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a travel information processing program which, when executed by a processor, implements the steps of the travel information processing method according to any one of claims 1 to 7.
CN202311222635.1A 2023-09-21 2023-09-21 Travel information processing method, device, terminal equipment and storage medium Pending CN116957665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311222635.1A CN116957665A (en) 2023-09-21 2023-09-21 Travel information processing method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311222635.1A CN116957665A (en) 2023-09-21 2023-09-21 Travel information processing method, device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116957665A true CN116957665A (en) 2023-10-27

Family

ID=88449728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311222635.1A Pending CN116957665A (en) 2023-09-21 2023-09-21 Travel information processing method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116957665A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109559108A (en) * 2018-11-29 2019-04-02 珠海市珠海通科技有限公司 A kind of bus transfering method and device thereof
CN109741092A (en) * 2018-12-19 2019-05-10 广州羊城通有限公司 A kind of public transport expense preference method of adjustment and background service equipment
CN110910117A (en) * 2018-09-14 2020-03-24 腾讯科技(深圳)有限公司 Service processing method based on public transport and related device
CN111640209A (en) * 2020-05-15 2020-09-08 支付宝(杭州)信息技术有限公司 Riding charging method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110910117A (en) * 2018-09-14 2020-03-24 腾讯科技(深圳)有限公司 Service processing method based on public transport and related device
CN109559108A (en) * 2018-11-29 2019-04-02 珠海市珠海通科技有限公司 A kind of bus transfering method and device thereof
CN109741092A (en) * 2018-12-19 2019-05-10 广州羊城通有限公司 A kind of public transport expense preference method of adjustment and background service equipment
CN111640209A (en) * 2020-05-15 2020-09-08 支付宝(杭州)信息技术有限公司 Riding charging method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN107767322B (en) Carpooling method and device
US10021243B2 (en) Telephone call placement
CN107808206B (en) Vehicle order payment substitution processing method, server and passenger terminal
CN109842678B (en) Vehicle sharing method and device
KR20180094416A (en) System, server and method for providing agent service
CN107786600B (en) Driver terminal recommendation processing method and server
WO2020238157A1 (en) Wait time determination
KR20130142213A (en) Proxy driving system using smart phone and method for managing the same
KR101200605B1 (en) System and method for providing partial payment using near field communication
CN112562100B (en) User binding method and device
CN116957665A (en) Travel information processing method, device, terminal equipment and storage medium
KR20120112297A (en) Method for providing partial payment using near field communication
CN110276628B (en) Order processing method and device
CN113192355B (en) Terminal management method and device for electronic stop board
CN113891267B (en) Data management device, data management method, and data communication system
KR101791980B1 (en) Method Of Managing Multi-Order And System Thereof
CN110853333A (en) Reservation order dispatching method and device based on real-time single-stroke vehicle
CN112016722B (en) Order creation method and system in case of unstable network
CN111625571B (en) Service business matching method and device, computer equipment and storage medium
CN110751304A (en) Information interaction synchronization method and device for service provider
WO2017129034A1 (en) Sub-account information determination method, apparatus and system in logistics business
CN108877235B (en) Compensation method, compensation device and electronic equipment
CN114493236A (en) Service vehicle assignment method, service vehicle assignment device, service vehicle assignment apparatus, service vehicle assignment medium, and program product
KR20130033615A (en) Recoding medium, information processing method and system
CN110858365A (en) Method, device and server for improving order sending willingness of user

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