A method for terminating freight rate data and related devices
By adding a freight cutoff unit to the freight usage system, allowing users authorized by the target airline to directly edit and publish the deadline editing data, the problem of too long time for the wrong freight data in the existing technology is solved, and convenient and fast freight data cutoff is achieved, meeting the need for timely stop loss.
Patent Information
- Application Number
- CN202111619958.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2041-12-27
AI Technical Summary
When an airline publishes wrong freight data, the existing technology needs to reach the freight rate calculation link in the freight rate usage system through the freight rate release system and the freight rate collection system, resulting in too long use of the wrong freight data, resulting in a large number of low-price problem tickets being sold, causing huge losses to the airline.
The freight cutoff unit is added to the freight usage system, so that the preset users authorized by the target airline can directly log in to the system, edit and publish the deadline edit data, so that the freight calculation unit can identify and close the freight calculation of the wrong freight data.
The freight rate calculation of wrong freight data can be easily and quickly without the need to pass the freight rate release system and freight rate collection system, saving a lot of time and meeting the need for timely stop loss.
Smart Images

Figure CN114331529B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of data processing, and in particular, to a method for terminating freight rate data and related devices. Background Art
[0002] Freight rate calculation is one of the key links in the airline ticket purchase process, and the basic data it relies on is the freight rate data released by the airline. Generally, the airline releases the freight rate data through a freight rate release system, the freight rate aggregator aggregates and pushes the freight rate data through a freight rate aggregation system, and freight rate users such as distribution system providers calculate the freight rate according to the freight rate data through a freight rate usage system to provide freight rate services. Service users such as direct sales, distribution, and other channels use the freight rate service to implement the aforementioned airline ticket purchase process through a service usage system.
[0003] There is manual intervention in many links of the above entire data chain, which is prone to errors and affects the airline's revenue. Especially when the airline releases incorrect freight rate data, resulting in low-price problem tickets, in the highly developed Internet environment, the data spreads extremely fast, and a large number of low-price problem tickets are transacted in a very short time, causing huge losses to the airline; therefore, it is extremely important to terminate the freight rate calculation using incorrect freight rate data in a timely manner to stop losses in a timely manner.
[0004] In related technologies, the airline's business personnel can urgently modify the incorrect freight rate data through the freight rate release system, and after passing through the freight rate aggregation system, reach the freight rate calculation link in the freight rate usage system to terminate the freight rate calculation using incorrect freight rate data. However, it takes a lot of time to reach the freight rate calculation link in the freight rate usage system from the freight rate release system through the freight rate aggregation system. This large amount of time causes the continuous increase in the number of low-price problem tickets transacted, resulting in a continuous increase in the airline's losses, and it is difficult to meet the requirement of stopping losses in a timely manner. Summary of the Invention
[0005] The present disclosure provides a method for terminating freight rate data and related devices, which can conveniently and quickly self-terminate the freight rate calculation of incorrect freight rate data without having to go from the freight rate release system through the freight rate aggregation system to the freight rate calculation link in the freight rate usage system, saving a lot of time and meeting the requirement of stopping losses in a timely manner.
[0006] In a first aspect, the present disclosure provides a method for terminating freight rate data, which is applied to a freight rate usage system. The freight rate usage system includes a freight rate termination unit and a freight rate calculation unit. The method includes:
[0007] If it is verified that the target user is a preset user belonging to the target airline authorized to terminate the freight rate data, determine that the target user logs in to the freight rate usage system through the freight rate termination unit;
[0008] Obtain target cut-off edit data edited by a target user for target incorrect freight rate data through the freight rate cut-off unit; the target cut-off edit data is used to cut off the freight rate calculation for the target incorrect freight rate data.
[0009] If it is verified that the editing airline in the target cut-off edit data is the target airline, publish the target cut-off edit data through the freight rate cut-off unit.
[0010] When the target cut-off edit data is identified by the freight rate calculation unit, cut off the freight rate calculation for the target incorrect freight rate data.
[0011] In a second aspect, the present disclosure provides a freight rate usage system, which includes: a freight rate cut-off unit and a freight rate calculation unit;
[0012] The freight rate cut-off unit is used to determine that the target user logs in to the freight rate usage system if it is verified that the target user is a preset user authorized by the target airline to cut off freight rate data;
[0013] The freight rate cut-off unit is further used to obtain target cut-off edit data edited by a target user for target incorrect freight rate data; the target cut-off edit data is used to cut off the freight rate calculation for the target incorrect freight rate data.
[0014] The freight rate cut-off unit is further used to publish the target cut-off edit data if it is verified that the editing airline in the target cut-off edit data is the target airline;
[0015] The freight rate calculation unit is used to cut off the freight rate calculation for the target incorrect freight rate data when the target cut-off edit data is identified.
[0016] In a third aspect, the present disclosure provides a computer device, which includes a processor and a memory:
[0017] The memory is used to store program code and transmit the program code to the processor;
[0018] The processor is used to execute the freight rate data cut-off method described in the first aspect according to the instructions in the program code.
[0019] In a fourth aspect, the present disclosure provides a computer-readable storage medium, which is used to store a computer program, and the computer program is used to execute the freight rate data cut-off method described in the first aspect.
[0020] Fifth aspect, the present disclosure provides a computer program product, which includes a computer program or instructions; when the computer program or instructions are executed by a processor, the freight rate data cut-off method described in the first aspect above is executed.
[0021] Based on the implementation manners provided in the above aspects of the present disclosure, further combinations can be made to provide more implementation manners.
[0022] Based on the above description, it can be seen that the technical solution of the present disclosure has the following beneficial effects:
[0023] The freight rate usage system includes a freight rate cut-off unit and a freight rate calculation unit; verify whether the target user is a preset user belonging to the target airline authorized to cut off freight rate data. If so, determine that the target user logs in to the freight rate usage system through the freight rate cut-off unit; obtain, through the freight rate cut-off unit, target cut-off edit data edited by the target user for the target incorrect freight rate data, and the target cut-off edit data is used to cut off the freight rate calculation for the target incorrect freight rate data; verify whether the editing airline in the target cut-off edit data is the target airline. If so, publish the target cut-off edit data through the freight rate cut-off unit; when the freight rate calculation unit recognizes the target cut-off edit data, cut off the freight rate calculation for the target incorrect freight rate data.
[0024] This method adds a freight rate cut-off unit to the freight rate usage system, enabling a preset user belonging to the target airline authorized to cut off freight rate data, that is, the target user, to directly log in to the freight rate usage system, use the freight rate cut-off unit to edit and publish the target cut-off edit data corresponding to the target incorrect freight rate data of the target airline, so that the freight rate calculation unit can recognize the target cut-off edit data and cut off the freight rate calculation for the target incorrect freight rate data. Based on this, it is possible to conveniently and quickly self-cut off the freight rate calculation for incorrect freight rate data without going through the freight rate calculation link in the freight rate collection system from the freight rate release system, saving a lot of time and meeting the need for timely loss prevention. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Combined with the drawings and referring to the following specific implementation manners, the above and other features, advantages and aspects of the embodiments of the present disclosure will become more obvious. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the original elements and elements are not necessarily drawn to scale.
[0026] Figure 1 It is a schematic diagram of the system framework involved in an application scenario provided by an embodiment of the present disclosure;
[0027] Figure 2Flowchart of a method for terminating freight rate data provided by an embodiment of the present disclosure;
[0028] Figure 3 Structural schematic diagram of a freight rate usage system provided by an embodiment of the present disclosure;
[0029] Figure 4 Structural schematic diagram of a computer device provided by an embodiment of the present disclosure. Detailed implementation manners
[0030] Embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0031] The term "including" and its variants used herein are open-ended, that is, "including but not limited to". The term "based on" is "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0032] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependent relationships.
[0033] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise clearly specified in the context, it should be understood as "one or more".
[0034] At present, when an airline issues incorrect freight rate data, resulting in the appearance of low-price problem tickets, it is necessary to promptly terminate the use of the incorrect freight rate data for freight rate calculation to stop losses in a timely manner. Generally, the business personnel of the airline can urgently modify the incorrect freight rate data through the freight rate release system, and reach the freight rate calculation link in the freight rate usage system through the freight rate aggregation system to terminate the use of the incorrect freight rate data for freight rate calculation. However, the inventor has found through research that it takes a lot of time from the freight rate release system through the freight rate aggregation system to reach the freight rate calculation link in the freight rate usage system. This large amount of time has led to a continuous sharp increase in a large number of low-price problem tickets in transactions, resulting in a continuous sharp increase in the losses of the airline and making it difficult to meet the requirement of stopping losses in a timely manner.
[0035] In view of this, embodiments of the present disclosure provide a method for closing freight rate data and related devices, and this method is applied to a freight rate usage system. Specifically, it is assumed that the freight rate usage system includes a freight rate closing unit and a freight rate calculation unit; verify whether the target user is a preset user belonging to the target airline and authorized by the target airline to close freight rate data. If so, determine that the target user logs in to the freight rate usage system through the freight rate closing unit; obtain, through the freight rate closing unit, target closing edit data edited by the target user for the target incorrect freight rate data, and this target closing edit data is used to close the freight rate calculation for the target incorrect freight rate data; verify whether the editing airline in the target closing edit data is the target airline. If so, publish the target closing edit data through the freight rate closing unit; when the target closing edit data is recognized by the freight rate calculation unit, close the freight rate calculation for the target incorrect freight rate data.
[0036] In the present disclosure, a freight rate closing unit is added to the freight rate usage system, so that a preset user belonging to the target airline and authorized by the target airline to close freight rate data, that is, the target user, can directly log in to the freight rate usage system, use the freight rate closing unit to edit and publish the target closing edit data corresponding to the target incorrect freight rate data of the target airline, so that the freight rate calculation unit can recognize this target closing edit data and close the freight rate calculation for the target incorrect freight rate data. Based on this, it is possible to conveniently and quickly self-close the freight rate calculation for incorrect freight rate data without going through the freight rate calculation link in the freight rate usage system from the freight rate publishing system through the freight rate aggregation system, saving a large amount of time and meeting the need for timely loss prevention.
[0037] To make the technical solution of the present disclosure clearer and easier to understand, for example, one of the scenarios of the present disclosure can be applied to the scenario as Figure 1 shown. This scenario includes a freight rate publishing system 101, a freight rate aggregation system 102, a freight rate usage system 103, and a service usage system 104; among them, the freight rate usage system 103 includes a freight rate closing unit 1031 and a freight rate calculation unit 1032, and the freight rate usage system 103 is used to close the freight rate calculation for freight rate data.
[0038] The business personnel of the target airline publishes the target erroneous fare data through the fare publishing system 101, the fare aggregator aggregates and pushes the target erroneous fare data through the fare collection system 102, and the fare users such as the distribution system provider calculate the fare according to the target erroneous fare data through the fare use system 103 to provide fare services, and the service users such as direct sales, distribution and other channels use the service use system to use the fare service to realize the above-mentioned airline ticket purchase process. When the target erroneous fare data published by the business personnel of the target airline through the fare publishing system 101 is erroneous fare data, the target airline authorizes the preset user who cuts off the fare data and belongs to the target airline, that is, the target user uses the fare data cut-off method provided by the present disclosure through the fare use system 103 to achieve the fare calculation cut-off of the target erroneous fare data.
[0039] The specific implementation of the method and related devices for cutting off the freight rate data in the present disclosure will be described in detail below with reference to the accompanying drawings through embodiments.
[0040] See also Figure 2 , shows a flow chart of a method for cutting off freight rate data in the present disclosure. In this embodiment, the method is applied to a freight rate using system, the freight rate using system includes a freight rate cutting unit and a freight rate calculating unit, and the method may include the following steps:
[0041] S201: If it is verified that the target user is a preset user of the target airline and is authorized by the target airline to cut off the fare data, the fare cut-off unit determines that the target user logs into the fare using system.
[0042] In the related art, when an airline releases erroneous fare data, resulting in low-priced problematic tickets, a large number of low-priced problematic tickets are sold in a very short period of time, causing huge losses to the airline. The business personnel of the airline can urgently modify the erroneous fare data through the fare publishing system, and reach the fare calculation link in the fare use system through the fare collection system to stop using the erroneous fare data for fare calculation. However, it takes a lot of time to reach the fare calculation link in the fare use system from the fare publishing system through the fare collection system. This large amount of time leads to a sharp increase in the number of low-priced problematic tickets sold, which leads to a sharp increase in the losses of the airline, making it difficult to meet the demand for timely loss stop.
[0043] Therefore, in the embodiments of the present disclosure, in order to prevent the business personnel of the airline from reaching the freight rate calculation link in the freight rate usage system through the freight rate publishing system and then through the freight rate aggregation system, and to prevent the use of incorrect freight rate data for freight rate calculation; on the basis that the freight rate usage system can perform freight rate calculation on freight rate data, a freight rate cut-off unit is added to the freight rate usage system. The freight rate cut-off unit enables a preset user belonging to the airline who is authorized by the airline to cut off the freight rate data to directly log in to the freight rate usage system, so as to prevent the use of incorrect freight rate data for freight rate calculation. Based on this, it can be set that the freight rate usage system includes a freight rate cut-off unit and a freight rate calculation unit.
[0044] Based on the above description, the freight rate usage system first needs to obtain a preset user belonging to the airline who is authorized by the airline to cut off the freight rate data, and store the airline and the preset user in a corresponding manner. When any airline is used as the target airline, the target airline and the preset user corresponding to the target airline are pre-stored. Based on this, considering the security of the business personnel of the airline logging in to the freight rate usage system and using the freight rate cut-off unit to prevent the use of incorrect freight rate data for freight rate calculation, when the target user logs in to the freight rate usage system, it is necessary to verify whether the target user is a preset user belonging to the target airline who is authorized by the target airline to cut off the freight rate data; if so, it means that the target user can log in to the freight rate usage system through the freight rate cut-off unit.
[0045] Among them, when the target user logs in to the freight rate usage system, an authentication method can be adopted. The authentication method can include, for example, one or more of password authentication, SMS authentication, and email authentication, etc.
[0046] S202: Obtain, through the freight rate cut-off unit, target cut-off edit data edited by the target user for target incorrect freight rate data, where the target cut-off edit data is used to prevent the freight rate calculation for the target incorrect freight rate data.
[0047] In the embodiments of the present disclosure, after it is determined in S201 that the target user logs in to the freight rate usage system through the freight rate cut-off unit, the target user can perform data editing on the target incorrect freight rate data, so as to prevent the freight rate calculation for the target incorrect freight rate data in the subsequent process. Then, the freight rate cut-off unit can obtain the target cut-off edit data used to prevent the freight rate calculation for the target incorrect freight rate data.
[0048] Among them, based on the fact that the target cut-off edit data is used to cut off the fare calculation for the target incorrect fare data, through the target cut-off edit data, not only can the incorrect fare data of a certain airline belonging to a certain region be determined, but also the effective time for cutting off the fare calculation for the incorrect fare data of the certain airline belonging to the certain region can be determined. Therefore, the target cut-off edit data edited by the target user at least has the edited airline, the edited region, and the edit effective time.
[0049] In addition, for fare data, on the basis of including the airline, the region, and the effective time, the fare data further includes an associated rule identifier, a fare basis, a departure location, a destination, a published currency, an associated rule footnote, an associated path identifier, and a fare type. Therefore, the target cut-off edit data edited by the target user may also have one or more of the edited associated rule identifier, the edited fare basis, the edited departure location, the edited destination, the edited published currency, the edited associated rule footnote, the edited associated path identifier, and the edited fare type. Additionally, corresponding to the target cut-off edit data having an edit effective time, the target cut-off edit data may also have an edit expiration time.
[0050] Therefore, in an optional implementation manner of the embodiments of the present disclosure, the target cut-off edit data at least includes the edited airline, the edited region, and the edit effective time; the target cut-off edit data further includes one or more of the following data: the edited associated rule identifier, the edited fare basis, the edited departure location, the edited destination, the edited published currency, the edited associated rule footnote, the edited associated path identifier, the edited fare type, and the edit expiration time.
[0051] S203: If it is verified that the edited airline in the target cut-off edit data is the target airline, the target cut-off edit data is published through the fare cut-off unit.
[0052] In the embodiments of the present disclosure, after obtaining the target cut-off edit data edited by the target user for the target incorrect fare data through the fare cut-off unit in S202, since the target user is only a preset user belonging to the target airline authorized to cut off fare data, and the target cut-off edit data is edited by the target user, the edited airline in the target cut-off edit data must be the target airline to indicate that the target cut-off edit data is used to cut off the fare calculation for the target incorrect fare data published by the target airline, that is, to indicate that the target cut-off edit data is valid. Therefore, it is necessary to verify that the edited airline in the target cut-off edit data is the target airline before the target cut-off edit data can be published through the fare cut-off unit. Conversely, if it is verified that the edited airline in the target cut-off data is not the target airline, it means that the target cut-off edit data is invalid, and the fare cut-off unit does not need to publish the target cut-off edit data.
[0053] S204: When the target cut-off edit data is identified by the freight rate calculation unit, the freight rate calculation for the target incorrect freight rate data is terminated.
[0054] In an embodiment of the present disclosure, after the target cut-off edit data is released by the freight rate cut-off unit in S203, the freight rate calculation units in the freight rate usage system other than the freight rate cut-off unit can automatically identify the target cut-off edit data. When the freight rate calculation unit identifies the target cut-off edit data, the freight rate calculation for the target incorrect freight rate data is terminated based on the target cut-off edit data.
[0055] Specifically when implementing S204, when the freight rate calculation unit identifies the target cut-off edit data, first, based on the multiple freight rate data included in the freight rate calculation unit, it is necessary to determine the corresponding target incorrect freight rate data from the multiple freight rate data based on the target cut-off edit data; then, during the process of calculating the freight rate by the freight rate calculation unit, the freight rate calculation for the target incorrect freight rate data is terminated. Therefore, in an optional implementation manner of an embodiment of the present disclosure, S204 may include, for example: when the target cut-off edit data is identified by the freight rate calculation unit, determining the target incorrect freight rate data corresponding to the target cut-off edit data; during the process of calculating the freight rate by the freight rate calculation unit, terminating the freight rate calculation for the target incorrect freight rate data.
[0056] In addition, in an embodiment of the present disclosure, after the freight rate calculation unit terminates the freight rate calculation for the target incorrect freight rate data in S204, when the business personnel of the target airline correct the released target incorrect freight rate data and reach the freight rate calculation link in the freight rate usage system through the freight rate aggregation system, it means that the target incorrect freight rate data in the freight rate calculation unit has been corrected and is the target corrected freight rate data. At this time, it is necessary to normally calculate the freight rate for the target corrected freight rate data. The following two methods can be used to avoid the target cut-off edit data still terminating the freight rate calculation for the target corrected freight rate data:
[0057] In the first method, after the target incorrect freight rate data is updated to the target corrected freight rate data, the target user can edit the expiration time to the current time in the target cut-off edit data for the target incorrect freight rate data to obtain the edited expiration time. That is, the target cut-off edit data includes the edited expiration time, indicating that the target cut-off edit data becomes invalid at the edited expiration time. Based on this, during the freight rate calculation by the freight rate calculation unit after S204, when the edited expiration time is reached, it is determined that the target cut-off edit data becomes invalid; after the target cut-off edit data becomes invalid, the freight rate calculation for the target corrected freight rate data is not stopped, so that the freight rate calculation for the target corrected freight rate data can be carried out normally. Therefore, in an alternative implementation manner of the embodiments of the present disclosure, if the target cut-off edit data includes the edited expiration time, after the S204, the method may further include, for example, S1: During the freight rate calculation by the freight rate calculation unit, when the edited expiration time is reached, it is determined that the target cut-off edit data becomes invalid.
[0058] In the second method, after the target incorrect freight rate data is updated to the target corrected freight rate data, the target user can edit and delete the target cut-off edit data, indicating that the target cut-off edit data is abolished; based on this, after S204, first, the freight rate cut-off unit can obtain the deletion operation data edited by the target user for the target cut-off edit data; then, during the freight rate calculation by the freight rate calculation unit, based on the deletion operation data, it can be determined that the target cut-off edit data is abolished. When the target cut-off edit data is abolished, the freight rate calculation for the target corrected freight rate data is not stopped, so that the freight rate calculation for the target corrected freight rate data can be carried out normally. Therefore, in an alternative implementation manner of the embodiments of the present disclosure, after the S204, the method may further include the following S2-S3:
[0059] S2: The freight rate cut-off unit obtains the deletion operation data edited by the target user for the target cut-off edit data.
[0060] S3: During the freight rate calculation by the freight rate calculation unit, it is determined that the target cut-off edit data is abolished according to the deletion operation data.
[0061] In this embodiment, the freight rate usage system includes a freight rate cutoff unit and a freight rate calculation unit; verify whether the target user is a preset user belonging to the target airline and authorized by the target airline to cutoff freight rate data. If so, determine that the target user logs in to the freight rate usage system through the freight rate cutoff unit; obtain, through the freight rate cutoff unit, target cutoff edit data edited by the target user for the target incorrect freight rate data, where the target cutoff edit data is used to cutoff the freight rate calculation for the target incorrect freight rate data; verify whether the editing airline in the target cutoff edit data is the target airline. If so, publish the target cutoff edit data through the freight rate cutoff unit; when the freight rate calculation unit identifies the target cutoff edit data, cutoff the freight rate calculation for the target incorrect freight rate data.
[0062] This method adds a freight rate cutoff unit to the freight rate usage system, enabling a preset user belonging to the target airline and authorized by the target airline to cutoff freight rate data, that is, the target user, to directly log in to the freight rate usage system, use the freight rate cutoff unit to edit and publish the target cutoff edit data corresponding to the target incorrect freight rate data of the target airline, so that the freight rate calculation unit can identify the target cutoff edit data and cutoff the freight rate calculation for the target incorrect freight rate data. Based on this, it is possible to conveniently and quickly self-cutoff the freight rate calculation for incorrect freight rate data without going through the freight rate calculation link in the freight rate usage system from the freight rate publishing system through the freight rate aggregation system, saving a large amount of time and meeting the need for timely loss prevention.
[0063] Next, a specific implementation of the method for cutoff of freight rate data will be described in combination with an example.
[0064] At 11:15 on August 20, 2021, the business personnel of Airline A published incorrect freight rate data a through the freight rate publishing system. For example, the freight rate of 800 yuan for the freight rate base ABCXYZ from Beijing to Shanghai of Airline A was incorrectly published as 8 yuan.
[0065] At 12:00 on August 20, 2021, the incorrect freight rate data a was aggregated by the freight rate aggregator into the freight rate aggregation system and pushed to freight rate users such as distribution system providers.
[0066] From 12:05 to 12:30 on August 20, 2021, the incorrect freight rate data a became effective in the freight rate calculation link of the freight rate usage system, and the incorrect freight rate data a was used for freight rate calculation to provide freight rate services to service users such as direct sales, distribution, and other channels, and low-price problem tickets appeared in the market; these low-price problem tickets were quickly spread and highly recommended.
[0067] At 12:55 on August 20, 2021, Airline A learned of the publication of the incorrect freight rate data a.
[0068] At 13:05 on August 20, 2021, Airline A confirmed the release error and assigned Zhang San to handle the incident. Zhang San is a user of Airline A authorized to access cut-off fare data and belongs to Airline A. The fare usage system pre-stores Airline A and Zhang San corresponding to Airline A.
[0069] At 13:08 on August 20, 2021, Zhang San verified his identity as a user of Airline A authorized to access cut-off fare data through the authentication method and logged in to the fare usage system through the fare cut-off unit added in the fare usage system.
[0070] Zhang San edited the incorrect fare data a to obtain cut-off edit data b. Among them, in the cut-off edit data b, the edited airline is Airline A, the edited area is 008, the edited fare basis is ABCXYZ, the edited origin is Beijing, the edited destination is Shanghai, the edited release currency is CNY, the edited fare type is BOTH, and the edited effective time is 12:00 on August 20, 2021.
[0071] At 13:10 on August 20, 2021, it was verified that the edited airline in the cut-off edit data b is Airline A, and the cut-off edit data b was released through the fare cut-off unit.
[0072] At 13:10 on August 20, 2021, when the fare calculation unit in the fare usage system recognized the cut-off edit data b, the fare calculation for the incorrect fare data a was stopped.
[0073] At 13:10 on August 20, 2021, the business personnel of Airline A released the corrected fare data a′ of the incorrect fare data a through the fare release system, and the corrected fare data a′ corrected the 8 yuan in the incorrect fare data a to 800 yuan.
[0074] At 14:00 on August 20, 2021, the corrected fare data a′ was aggregated by the fare aggregator into the fare aggregation system and pushed to fare users such as the distribution system provider.
[0075] From 14:05 to 14:30 on August 20, 2021, the corrected fare data a′ took effect in the fare calculation link of the fare usage system. Since the cut-off edit data b could not normally use the corrected fare data a′ for fare calculation to provide fare services to service users such as direct sales, distribution, and other channels.
[0076] At 14:40 on August 20, 2021, after confirming that the corrected freight rate data a' was correct, Zhang San edited the expiration time to the current time of 14:40 on August 20, 2021 in the target cut-off edit data, obtaining the edited expiration time; based on this, during the freight rate calculation process of the freight rate calculation unit, when reaching the edited expiration time of 14:40 on August 20, 2021, it was determined that the target cut-off edit data had expired, and the corrected freight rate data a' could be used for freight rate calculation to provide freight rate services to service users such as direct sales, distribution, and other channels.
[0077] In this example, a freight rate cut-off unit is added to the freight rate usage system, enabling Zhang San, a user belonging to airline A who is authorized to cut off the freight rate data, to directly log in to the freight rate usage system, use the freight rate cut-off unit to edit and publish the cut-off edit data b corresponding to the incorrect freight rate data a of airline A, so that the freight rate calculation unit can identify that the freight rate calculation for the incorrect freight rate data a is cut off based on the cut-off edit data b. Based on this, it is possible to conveniently and quickly self-cut off the freight rate calculation for the incorrect freight rate data without going through the freight rate calculation link in the freight rate usage system from the freight rate publishing system through the freight rate aggregation system, saving a large amount of time and meeting the need for timely loss prevention.
[0078] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.
[0079] The names of the messages or information exchanged between multiple units (such as the freight rate cut-off unit and the freight rate calculation unit) in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0080] Although the operations are depicted in a specific order, this should not be construed as requiring the operations to be performed in the specific order shown or in a sequential order. In certain circumstances, multitasking and parallel processing may be advantageous.
[0081] It should be understood that the various steps described in the method embodiments of the present disclosure can be executed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.
[0082] Computer program code for performing the operations of the present disclosure can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).
[0083] Based on the above method provided by the embodiments of the present disclosure, the embodiments of the present disclosure also provide a freight rate usage system corresponding to the above method.
[0084] See Figure 3 , which shows a schematic structural diagram of a freight rate usage system in an embodiment of the present disclosure. In this embodiment, the freight rate usage system 300 may specifically include, for example: a freight rate cutoff unit 301 and a freight rate calculation unit 302;
[0085] The freight rate cutoff unit 301 is used to determine that the target user logs in to the freight rate usage system if it is verified that the target user is a preset user authorized by the target airline to cutoff freight rate data;
[0086] The freight rate cutoff unit 301 is further used to obtain target cutoff edit data edited by the target user for target incorrect freight rate data; the target cutoff edit data is used to cutoff the freight rate calculation for the target incorrect freight rate data;
[0087] The freight rate cutoff unit 301 is further used to publish the target cutoff edit data if it is verified that the editing airline in the target cutoff edit data is the target airline;
[0088] The freight rate calculation unit 302 is used to cutoff the freight rate calculation for the target incorrect freight rate data when the target cutoff edit data is recognized.
[0089] In an optional implementation manner of the embodiment of the present disclosure, the target cut-off editing data at least includes the edited airline, the edited area, and the editing effective time; the target cut-off editing data further includes one or more of the following data:
[0090] Editing association rule identifier, edited fare basis, edited origin, edited destination, edited release currency, edited association rule footnote, edited association path identifier, edited fare type, and editing expiration time.
[0091] In an optional implementation manner of the embodiment of the present disclosure, the fare calculation unit 302 is configured to:
[0092] When the target cut-off editing data is recognized, determine the target incorrect fare data corresponding to the target cut-off editing data;
[0093] During the fare calculation process, stop calculating the fare for the target incorrect fare data.
[0094] In an optional implementation manner of the embodiment of the present disclosure, the fare calculation unit 302 is further configured to:
[0095] During the fare calculation process, when the editing expiration time is reached, determine that the target cut-off editing data becomes invalid.
[0096] In an optional implementation manner of the embodiment of the present disclosure, the fare cut-off unit 301 is further configured to:
[0097] Obtain, through the fare cut-off unit, the deletion operation data edited by the target user for the target cut-off editing data;
[0098] The fare calculation unit 302 is further configured to:
[0099] During the fare calculation process, determine that the target cut-off editing data is abolished according to the deletion operation data.
[0100] In an optional implementation manner of the embodiment of the present disclosure, the system further includes:
[0101] A storage unit, configured to pre-store the target airline and the preset users corresponding to the target airline.
[0102] The fare usage system 300 according to the embodiment of the present disclosure can correspondingly execute the methods described in the embodiments of the present disclosure, and the above and other operations and / or functions of each module / unit of the fare usage system 300 are respectively for implementing Figure 2 The corresponding processes of the respective methods in the illustrated embodiments, and for the sake of brevity, will not be described in detail herein.
[0103] The units / modules involved in the embodiments of the present disclosure can be implemented in software or in hardware. Among them, the name of the unit / module does not constitute a limitation to the unit / module itself in some cases.
[0104] The functions described above in this article can be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that can be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and so on. A computer device including multiple hardware logic components is used as an example for illustration below.
[0105] The present disclosure provides a computer device. Refer to Figure 4 the schematic structural diagram of the computer device shown. The computer device 400 in the embodiments of the present disclosure may include a server or a terminal. Among them, the server may be a cloud server or a physical server. The terminal includes, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The computer device 400 shown is only an example and should not bring any limitation to the functions and usage scope of the embodiments of the present disclosure.
[0106] As Figure 4 shown, the computer device 400 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage device 408 into the random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the computer device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404. The input / output (I / O) interface 405 is also connected to the bus 404.
[0107] Generally, the following devices can be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 can allow the computer device 400 to communicate with other devices wirelessly or wireline to exchange data. Although Figure 4A computer device 400 with various devices is shown, but it should be understood that it is not required to implement or have all the shown devices. Instead, more or fewer devices may be implemented or had.
[0108] The present disclosure also provides a computer-readable storage medium, also referred to as a machine-readable medium. In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0109] It should be noted that the above-mentioned computer-readable medium in the present disclosure can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which the computer-readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable signal medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0110] The above-mentioned computer-readable medium can be included in the above-mentioned computer device 400; or it can exist separately without being assembled into the computer device 400.
[0111] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the computer device 400, the computer device 400 is caused to: if it is verified that the target user is a preset user belonging to the target airline authorized to the cut-off fare data, determine, through the fare cut-off unit, that the target user logs in to the fare usage system; obtain, through the fare cut-off unit, target cut-off edit data edited by the target user for the target incorrect fare data, and the target cut-off edit data is used to cut off the fare calculation for the target incorrect fare data; if it is verified that the editing airline in the target cut-off edit data is the target airline, publish, through the fare cut-off unit, the target cut-off edit data; when the target cut-off edit data is recognized by the fare calculation unit, cut off the fare calculation for the target incorrect fare data.
[0112] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product that includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 406, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above functions defined in the methods of the embodiments of the present disclosure are performed.
[0113] According to one or more embodiments of the present disclosure, Example 1 provides a method for closing freight rate data, which is applied to a freight rate usage system. The freight rate usage system includes a freight rate closing unit and a freight rate calculation unit. The method includes:
[0114] If it is verified that the target user is a preset user belonging to the target airline authorized to close the freight rate data, determine, through the freight rate closing unit, that the target user logs in to the freight rate usage system;
[0115] Obtain, through the freight rate closing unit, target closing edit data edited by the target user for target incorrect freight rate data, where the target closing edit data is used to close the freight rate calculation for the target incorrect freight rate data;
[0116] If it is verified that the editing airline in the target closing edit data is the target airline, publish the target closing edit data through the freight rate closing unit;
[0117] When the target closing edit data is recognized by the freight rate calculation unit, stop the freight rate calculation for the target incorrect freight rate data.
[0118] According to one or more embodiments of the present disclosure, Example 2 provides the method of Example 1. The target closing edit data at least includes the editing airline, the editing area, and the editing effective time; the target closing edit data further includes one or more of the following data:
[0119] Editing association rule identifier, editing freight rate basis, editing origin, editing destination, editing release currency, editing association rule footnote, editing association path identifier, editing freight rate type, and editing expiration time.
[0120] According to one or more embodiments of the present disclosure, Example 3 provides the method of Example 1. When the target closing edit data is recognized by the freight rate calculation unit, stopping the freight rate calculation for the target incorrect freight rate data includes:
[0121] When the target cut-off editing data is identified by the freight rate calculation unit, determine the target incorrect freight rate data corresponding to the target cut-off editing data;
[0122] During the freight rate calculation process by the freight rate calculation unit, stop the freight rate calculation for the target incorrect freight rate data.
[0123] According to one or more embodiments of the present disclosure, Example 4 provides the method of Example 3. If the target cut-off editing data includes the editing expiration time, after the stop of the freight rate calculation for the target incorrect freight rate data, the method further includes:
[0124] During the freight rate calculation process by the freight rate calculation unit, when the editing expiration time is reached, determine that the target cut-off editing data becomes invalid.
[0125] According to one or more embodiments of the present disclosure, Example 5 provides the method of Example 3. After the stop of the freight rate calculation for the target incorrect freight rate data, the method further includes:
[0126] Obtain, by the freight rate cut-off unit, the deletion operation data edited by the target user for the target cut-off editing data;
[0127] During the freight rate calculation process by the freight rate calculation unit, determine that the target cut-off editing data is abolished according to the deletion operation data.
[0128] According to one or more embodiments of the present disclosure, Example 6 provides the method of Example 1. Before verifying that the target user is a preset user of the target airline authorized for cut-off freight rate data and belonging to the target airline, the method further includes:
[0129] Pre-store the target airline and the preset users corresponding to the target airline.
[0130] According to one or more embodiments of the present disclosure, Example 7 provides a freight rate usage system, and this freight rate usage system includes: a freight rate cut-off unit and a freight rate calculation unit;
[0131] The freight rate cut-off unit is used to determine that the target user logs in to the freight rate usage system if it is verified that the target user is a preset user authorized by the target airline for cut-off freight rate data;
[0132] The freight rate cut-off unit is further used to obtain the target cut-off editing data edited by the target user for the target incorrect freight rate data; the target cut-off editing data is used to stop the freight rate calculation for the target incorrect freight rate data;
[0133] The freight rate cutoff unit is further configured to, if it is verified that the editing airline in the target cutoff edit data is the target airline, publish the target cutoff edit data;
[0134] The freight rate calculation unit is configured to stop calculating the freight rate for the target incorrect freight rate data when the target cutoff edit data is recognized.
[0135] According to one or more embodiments of the present disclosure, Example Eight provides a computer device, which includes a processor and a memory:
[0136] The memory is used to store program codes and transmit the program codes to the processor;
[0137] The processor is configured to execute the freight rate data cutoff method according to any one of Examples One to Six according to the instructions in the program codes.
[0138] According to one or more embodiments of the present disclosure, Example Nine provides a computer-readable storage medium, which is used to store a computer program, and the computer program is used to execute the freight rate data cutoff method according to any one of Examples One to Six.
[0139] According to one or more embodiments of the present disclosure, Example Ten provides a computer program product, which includes a computer program or instructions; when the computer program or instructions are executed by a processor, the freight rate data cutoff method according to any one of Examples One to Six is executed.
[0140] Although the subject matter has been described in language specific to structural features and / or methodological acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. On the contrary, the specific features and acts described above are merely example forms for implementing the claims.
[0141] Although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment can also be implemented separately or in any suitable sub-combination in multiple embodiments.
[0142] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) disclosed in the present disclosure that have similar functions.
Claims
1. A method for cutoff of freight rate data, characterized in that, it is applied to a freight rate usage system, the freight rate usage system includes a freight rate cutoff unit and a freight rate calculation unit, and the method includes: If it is verified that the target user is a preset user belonging to the target airline authorized to cutoff freight rate data, determine that the target user logs in to the freight rate usage system through the freight rate cutoff unit; Obtain, through the freight rate cutoff unit, target cutoff edit data edited by the target user for target incorrect freight rate data, where the target cutoff edit data is used to cutoff the freight rate calculation for the target incorrect freight rate data; the target cutoff edit data is edited by the target user using the freight rate cutoff unit; If it is verified that the editing airline in the target cutoff edit data is the target airline, publish the target cutoff edit data through the freight rate cutoff unit; When the target cutoff edit data is recognized by the freight rate calculation unit, cutoff the freight rate calculation for the target incorrect freight rate data.
2. The method according to claim 1, characterized in that, the target cutoff edit data at least includes the editing airline, editing area, and editing effective time; the target cutoff edit data further includes one or more of the following data: editing associated rule identifier, editing freight rate basis, editing origin, editing destination, editing published currency, editing associated rule footnote, editing associated path identifier, editing freight rate type, and editing expiration time.
3. The method according to claim 1, characterized in that, When the target cutoff edit data is recognized by the freight rate calculation unit, cutoff the freight rate calculation for the target incorrect freight rate data, including: When the target cutoff edit data is recognized by the freight rate calculation unit, determine the target incorrect freight rate data corresponding to the target cutoff edit data; During the process of performing freight rate calculation by the freight rate calculation unit, cutoff the freight rate calculation for the target incorrect freight rate data.
4. The method according to claim 2, characterized in that, If the target cutoff edit data includes the editing expiration time, after cutoff the freight rate calculation for the target incorrect freight rate data, the method further includes: During the process of performing freight rate calculation by the freight rate calculation unit, when reaching the editing expiration time, determine that the target cutoff edit data becomes invalid.
5. The method according to claim 1, characterized in that, After cutoff the freight rate calculation for the target incorrect freight rate data, the method further includes: Obtain, through the freight rate cutoff unit, deletion operation data edited by the target user for the target cutoff edit data; During the process of performing freight rate calculation by the freight rate calculation unit, determine that the target cutoff edit data is abolished according to the deletion operation data.
6. The method according to claim 1, characterized in that, Before verifying that the target user is a preset user belonging to the target airline authorized to cutoff freight rate data, the method further includes: Pre-store the target airline company and the preset users corresponding to the target airline company.
7. A fare usage system, characterized in that, the fare usage system includes: a fare cut-off unit and a fare calculation unit; the fare cut-off unit is configured to determine that the target user logs in to the fare usage system if it is verified that the target user is a preset user authorized by the target airline company to cut off fare data; the fare cut-off unit is further configured to obtain target cut-off edit data edited by the target user for target incorrect fare data; the target cut-off edit data is used to cut off the fare calculation for the target incorrect fare data; the target cut-off edit data is edited by the target user using the fare cut-off unit; the fare cut-off unit is further configured to publish the target cut-off edit data if it is verified that the editing airline company in the target cut-off edit data is the target airline company; the fare calculation unit is configured to cut off the fare calculation for the target incorrect fare data when the target cut-off edit data is recognized.
8. A computer device, characterized in that, the computer device includes a processor and a memory: the memory is used to store program codes and transmit the program codes to the processor; the processor is configured to execute the fare data cut-off method according to any one of claims 1-6 based on the instructions in the program codes.
9. A computer-readable storage medium, characterized in that, the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the fare data cut-off method according to any one of claims 1-6.
10. A computer program product, characterized in that, the computer program product includes a computer program or instructions; when the computer program or instructions are executed by a processor, the fare data cut-off method according to any one of claims 1-6 is executed.
Citation Information
Patent Citations
Fare by rule calculation method, device and system
CN105654338A
Freight rate data processing method and device and electronic equipment
CN112417230A