A freight rate authorization management method, device, equipment, and storage medium
Through the freight rate authorization management method in stratified management and classified authorization scenarios, the flexibility and efficiency of freight rate authorization management in the existing technology are solved, and more efficient freight rate authority control is achieved, and complex business needs in the domestic market are met.
Patent Information
- Application Number
- CN202210718822.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-23
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2042-06-23
AI Technical Summary
The existing freight rate authorization management is difficult to meet the complex business dimensions and multi-faceted authority management demands in the domestic market, especially in terms of the flexibility and cost control of announced freight rate authority management, private freight rate and rule freight rate authority management, targeted release flexibility and cost control.
The authorization object is hierarchical management, authorization form is hierarchical management, and authorization scenario classification management. By monitoring the sales of sales institutions, the freight permissions in different authorization scenarios are determined, freight authorization data is generated and published, and the hierarchical management of general and detailed permissions is supported, including sales scenarios and change scenarios, and combined with the black and white list mechanism, flexible freight authorization is achieved.
It greatly improves the efficiency of freight authorization management of airlines, effectively saves operating time, and meets the complex business dimensions and multi-faceted authority management needs of the domestic market.
Smart Images

Figure CN115099852B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of freight rate calculation, and in particular, to a freight rate authorization management method, device, equipment, and storage medium. Background Art
[0002] With the gradual liberalization of price management in the domestic passenger ticket sales market, in the face of the upgrading and changes of the competition means among domestic airlines in multiple channels and diversification, along with the gradual strengthening and prosperity of the e-commerce sales model, it is an urgent need for airlines to issue different freight rate policy products for different channels, different systems, and different agencies, and to flexibly control the domestic freight rate authorization in the above dimensions when necessary. It is also an important part of the domestic air ticket freight rate calculation process.
[0003] In the freight rate standard, the most basic authorization management is the targeted release based on private freight rates (i.e., authorization for the code (OFFICE) of a certain agency). However, this method is difficult to meet the complex business dimensions and multi-faceted permission management requirements of the domestic market. Summary of the Invention
[0004] The present disclosure provides a freight rate authorization management method, device, equipment, and storage medium. By adopting hierarchical management of authorization objects, hierarchical management of authorization forms, and classification management of authorization scenarios, it expands the hierarchical management and granularity of the authorization scope, greatly improves the management and operation efficiency of airlines, effectively saves the operation time of freight rate authorization management, and significantly enhances the functions on the basis of the original domestic freight rate targeted release, meeting the complex business dimensions and multi-faceted permission management requirements of the domestic market.
[0005] In a first aspect, the present disclosure provides a freight rate authorization management method, and the method includes:
[0006] Monitoring the ticket sales situation of different sales agencies within a preset time period;
[0007] According to the ticket sales situation, determining the freight rate permissions of the corresponding sales agencies in different authorization scenarios according to different authorization forms;
[0008] Generating freight rate authorization data according to the freight rate permissions of the sales agencies in different authorization scenarios according to different authorization forms. The freight rate authorization data is used to reflect the freight rate permissions corresponding to the authorization objects in different authorization scenarios according to different authorization forms. The authorization objects are divided into multiple levels according to the size of the granularity, and the sales agency is the level with the smallest granularity among the multiple levels. Different authorization scenarios include sales scenarios and change scenarios, and different authorization forms include general authorization rules and detailed authorization rules;
[0009] Releasing the freight rate authorization data.
[0010] In a second aspect, the present disclosure provides a freight rate authorization management device, which includes:
[0011] A monitoring unit, configured to monitor the ticket sales situation of different sales agencies within a preset time period;
[0012] A determination unit, configured to determine the freight rate authorities of the corresponding sales agency in different authorization scenarios according to different authorization forms based on the ticket sales situation;
[0013] A generation unit, configured to generate freight rate authorization data according to the freight rate authorities of the sales agency in different authorization scenarios according to different authorization forms. The freight rate authorization data is used to reflect the freight rate authorities corresponding to the authorization object in different authorization scenarios according to different authorization forms. The authorization object is divided into multiple levels according to the granularity size, and the sales agency is the level with the smallest granularity among the multiple levels. Different authorization scenarios include a sales scenario and a change scenario, and different authorization forms include a general rule of authority and a detailed rule of authority;
[0014] A publishing unit, configured to publish the freight rate authorization data.
[0015] In a third aspect, the present disclosure provides a computer device, which includes at least one processor and at least one memory. At least one computer-readable instruction is stored in the at least one memory, and the at least one processor executes the computer-readable instruction, so that the computer device executes the method as described in the first aspect or any implementation manner of the first aspect of the present disclosure.
[0016] In a fourth aspect, the present disclosure provides a computer-readable storage medium including computer-readable instructions. When the computer-readable instructions run on a computer device, the computer device is enabled to execute the method as described in the first aspect or any implementation manner of the first aspect above.
[0017] In a fifth aspect, the present disclosure provides a computer program product containing instructions. When it runs on a computer device, the computer device is enabled to execute the method as described in the first aspect or any implementation manner of the first aspect above.
[0018] Based on the implementation manners provided in the above aspects, the present disclosure can be further combined to provide more implementation manners.
[0019] Based on the above description, it can be known that the technical solution of the present disclosure has the following beneficial effects:
[0020] Specifically, monitor the ticket sales of different sales agencies within a preset time period; determine the freight rate authorities of the corresponding sales agencies in different authorization scenarios according to different authorization forms based on the ticket sales; generate freight rate authorization data according to the freight rate authorities of the sales agencies in different authorization scenarios according to different authorization forms. The freight rate authorization data is used to reflect the freight rate authorities corresponding to the authorized objects in different authorization scenarios according to different authorization forms. The authorized objects are divided into multiple levels according to the granularity size, and the sales agency is the smallest level in terms of granularity among the multiple levels. Different authorization scenarios include sales scenarios and change scenarios, and different authorization forms include general authorization rules and detailed authorization rules. Then publish the freight rate authorization data. When managing freight rate authorization, this solution adopts hierarchical management of authorized objects, hierarchical management of authorization forms, and classification management of authorization scenarios, expanding the hierarchical management and granularity of the authorization scope, greatly improving the management and operation efficiency of the airline, effectively saving the operation time of freight rate authorization management, and significantly enhancing the functions on the basis of the original domestic freight rate directional release, meeting the complex business dimensions and multi-faceted authority management requirements of the domestic market. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In combination with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent. Throughout the drawings, the same or similar reference numerals denote 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.
[0022] Figure 1 It is a flowchart of a freight rate authorization management method provided by an embodiment of the present disclosure;
[0023] Figure 2a It is an example diagram of the data relationship between published freight rates and private freight rates of a freight rate type provided by an embodiment of the present disclosure;
[0024] Figure 2b It is an example diagram of the data relationship of a freight rate type of regular freight rate provided by an embodiment of the present disclosure;
[0025] Figure 3 It is a flowchart of a method for calculating freight rate authorization provided by an embodiment of the present disclosure;
[0026] Figure 4 It is a specific flowchart of permission verification provided by an embodiment of the present disclosure;
[0027] Figure 5 It is another specific flowchart of permission verification provided by an embodiment of the present disclosure;
[0028] Figure 6 It is a schematic structural diagram of a freight rate authorization management device provided by an embodiment of the present disclosure;
[0029] Figure 7 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 below 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 variations 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 stated in the context, it should be understood as "one or more".
[0034] First, the technical terms that may be involved in the embodiments of the present disclosure are explained:
[0035] Domestic Price is a type of ticket sales business. It refers to the ticket sales price (excluding taxes and fees) of routes within China (including direct, round-trip and connecting flights).
[0036] Authorization Management is a type of ticket sales business. It refers to the authorization and release of domestic prices by airlines, and the permission management for different fare types (published fares, private fares, rule fares) for different sales channels, sales systems and sales institutions in different scenarios (sales scenarios, change scenarios).
[0037] Authorization General Rule, a type of ticket sales business. It refers to the authorization control for a certain type of fare (or all fare types).
[0038] Detailed Authorization, a type of ticket sales business. It refers to the authorization control for specific groups or individual fares within a certain type of fare.
[0039] Publish Fare, a type of ticket sales business. It refers to the direct passenger fares for domestic routes that are publicly released after being reported and filed with the Civil Aviation Administration of China.
[0040] Net Fare, a type of ticket sales business. It refers to the product fares or promotional fares defined by the airline according to the market situation within its own system.
[0041] Fare By Rule, a type of ticket sales business. It refers to the bulk sales fares achieved by restricting specific sales rules based on the publish fare and net fare, using these two fares as the original fares.
[0042] Sale Action, a type of ticket sales business. It refers to the authorization during ticket sales, applied in the ticket sales process, including scenarios such as querying, searching, and calculating domestic fares.
[0043] Reissue Action, a type of ticket sales business. It refers to the authorization during ticket reissue, applied in the post-sales service process, i.e., the scenario of domestic fare reissue.
[0044] Black List, a type of ticket sales business. It refers to the authorization set for forced cancellation (i.e., not allowing sales / reissue) during domestic fare authorization management.
[0045] White List, a type of ticket sales business. It refers to the authorization set for enjoying fare sales / reissue during domestic fare authorization management.
[0046] OFFICE (Agency Code), a type of ticket sales business. It refers to the agency code registered with TravelSky for each sales agency conducting domestic ticket sales, whether it is an airline sales office or an agency sales organization.
[0047] As the price management of the domestic passenger ticket sales market is gradually liberalized, in the face of the upgrading and changes of the competition means among domestic airlines in multiple channels and diversification, along with the gradual strengthening and prosperity of the e-commerce sales model, it is an urgently needed fare control ability for airlines to issue different fare policy products for different channels, different systems, and different agencies, and to flexibly control the domestic fare authorization in the above dimensions when necessary. It is also an important part of the domestic air ticket fare calculation process.
[0048] In the fare standard, the most basic authorization management is the targeted release based on private fares (i.e., the authorization for the agency code (OFFICE) of a certain sales agency). However, in the face of the complex business dimensions and diversified permission management requirements in the domestic market, the following problems exist in the actual business application of single targeted release:
[0049] Regarding the permission management of published fares, for the domestic published fare authorization, in accordance with the policy requirements of the Civil Aviation Administration, domestic sales agencies are allowed to sell and change published fares across all channels (such as the airline's self-operated sales channels and agent distribution channels). However, for the airline's overseas channels (overseas business offices and overseas agents), they are not within the scope of the policy control of the Civil Aviation Administration of China. Therefore, for this part of the sales group, whether they can enjoy the rights to sell and change domestic published fares requires the airline to manage the permissions, but there is a blank in this part.
[0050] Regarding the permission management of private fares and rule fares, although the targeted release of fare permissions has been supported, it is impossible to subdivide the authorization into the sales scenario or the change scenario. That is, for a fare, as long as the sales agency is authorized, then both in the sales scenario and the change scenario are allowed at the same time. For the current refined fare management of airlines, many promotional fares are only applicable to the fare sales scenario, and such products are not allowed to be used when changes are not permitted in the business policy, but there are shortcomings in supporting such demands.
[0051] Regarding the authorization of fares, the fare authorization management based on targeted release is only in the form of a white list, that is, the authorized sales agencies can conduct fare sales. However, it is impossible to set the authorization of a black list to complete the temporary recovery of price permissions for some sales agencies. In the fare management and channel management of airlines, if a certain sales agency conducts illegal sales, the airline needs to recover its permissions in the short term, and it cannot be simply done through a form similar to an "authorization black list", which is very inconvenient.
[0052] The authorization mode of directional release only supports authorization according to the institutional aunts of sales agencies. If the fare authorization of an airline is for a country (such as all sales agencies in China) or a region (such as all sales agencies in the Beijing area), then all institutional codes within the authorized area need to be authorized. The authorization management cost of air ticket prices is very high, the flexibility is very low, and the fare release process is complicated.
[0053] In order to solve the above existing practical problems, the embodiments of the present disclosure provide a method and device for fare authorization management. By upgrading the existing standards for directional fare release and combining with the business of airlines on the supply side in the domestic fare market, a complete business model is built for the entire process of fare calculation and processing, an independent business module of authorization management is abstracted, and flexible fare authorization is technically realized, simply and efficiently supporting airlines to release prices through multiple dimensions.
[0054] In view of this, the embodiments of the present disclosure provide a method for fare authorization management. Specifically, monitor the ticket sales situation of different sales agencies within a preset time period; determine the fare authorities of the corresponding sales agencies in different authorization scenarios according to different authorization forms according to the ticket sales situation; generate fare authorization data according to the fare authorities of the sales agencies in different authorization scenarios according to different authorization forms. The fare authorization data is used to reflect the fare authorities corresponding to the authorized objects in different authorization scenarios according to different authorization forms. The authorized objects are divided into multiple levels according to the granularity size, and the sales agency is the smallest level in the multiple levels. Different authorization scenarios include sales scenarios and change scenarios, and different authorization forms include general authorization rules and detailed authorization rules. Then release the fare authorization data. In the fare authorization management of this solution, hierarchical management of authorized objects, hierarchical management of authorization forms, and classification management of authorization scenarios are adopted, expanding the hierarchical management and granularity of the authorization scope, greatly improving the management and operation efficiency of airlines, effectively saving the operation time of fare authorization management, and significantly enhancing the functions on the basis of the original domestic fare directional release, meeting the complex business dimensions and multi-faceted permission management requirements of the domestic market.
[0055] It should be noted that in the present disclosure, the execution subject of the fare authorization management method can be a computer device, and the computer device can be a terminal or a server.
[0056] Next, the fare authorization management method provided by the embodiments of the present disclosure will be introduced in combination with the accompanying drawings. See Figure 1 The flowchart of the fare authorization management method shown, the method includes:
[0057] S101. Monitor the ticket sales situation of different sales agencies within a preset time period.
[0058] S102. Determine the freight rate authority of the corresponding sales agency in different authorization scenarios according to different authorization forms based on the ticket sales situation.
[0059] The ticket sales situation can reflect the ticket sales of the sales agency within a preset time period, such as the sales quantity, whether there are sales violations, etc. The more tickets are sold and there are no violations, the more willing the ticket company (such as an airline, a railway company, etc.) is to hand over the tickets to the sales agency for sale. Therefore, the ticket company can grant freight rate authorization to the sales agency according to the ticket sales situation of the sales agency. Tickets can be air tickets, train tickets, bus tickets, etc. In this embodiment of the present disclosure, the tickets are mainly taken as air tickets for introduction.
[0060] To solve the problems in the related art, the core business design solution of this embodiment of the present disclosure is as follows:
[0061] Hierarchical management of the authorization objects, setting three layers of objects: country code (such as CN), city code (such as BJS, CAN), and the agency code of the sales agency (i.e., the original OFFICE), so that the airline can flexibly control the granularity of authorization.
[0062] Hierarchical management of the authorization forms, setting the general rules and detailed rules of the authority, supporting authorization management according to a certain type of freight rate (even all freight rate types) or a certain freight rate, so as to achieve the comprehensiveness of the management of freight rate release.
[0063] Classification management of the authorization scenarios, setting sales scenarios and change scenarios, combined with the management measures of black and white lists, supporting a certain freight rate or a certain type of freight rate, allowing sales but not allowing changes, or allowing changes but not allowing sales, so as to simply classify the audience scenarios of the freight rate, or through not allowing both sales and changes, achieve temporary cancellation of authorization management for a certain or a certain type of sales agency.
[0064] Based on this, after obtaining the ticket sales situation of the sales agency within the preset time period, the freight rate authorities of the corresponding sales agency in different authorization scenarios according to different authorization forms can be determined. For example, set the detailed rules and general rules of the authorities for published freight rate authorization, private freight rate authorization, and regulated freight rate authorization, as well as the black and white lists. Specifically, a white list of the general rules of authorization can be set for the published freight rate, such as the authorization scope being all domestic sales agencies and some overseas cities, overseas sales agencies, etc. A white list of the detailed rules of authorization can be set for private freight rates and regulated freight rates. For example, for the promotional freight rate of class Y from Beijing to Shanghai, the authorization scope is the sales channel of the airline's APP. A black or white list of the general rules of authorization can be set for some sales agencies. For example, the airline's call center (i.e., a type of sales agency) is set as the white list for the sales of all freight rate types, indicating that all freight rates can be sold by this sales agency. At the same time, a sales agency that violates the regulations is set as the black list for the change of private freight rate types, indicating that all private freight rates cannot be used by this sales agency during the change.
[0065] S103. Generate freight rate authorization data according to the freight rate authorities of the sales agency in different authorization scenarios according to different authorization forms.
[0066] Among them, the freight rate authorization data is used to reflect the freight rate authorities corresponding to the authorized objects in different authorization scenarios according to different authorization forms. The authorized objects are divided into multiple levels according to the granularity size (such as country, city, sales agency). The sales agency is the level with the smallest granularity among the multiple levels. Different authorization scenarios include sales scenarios and change scenarios. Different authorization forms include general rules of authorization and detailed rules of authorization.
[0067] S104. Publish the freight rate authorization data.
[0068] After obtaining the freight rate authorization data, the freight rate authorization data can be published so that business operations such as freight rate calculation can be carried out according to the published freight rate authorization data.
[0069] It should be noted that the data relationships of different freight rate types in the published freight rate authorization data can be referred to Figure 2a and Figure 2b as shown, where Figure 2a shows the data relationship of freight rate types of published freight rates and private freight rates, Figure 2b shows the data relationship of freight rate types of regulated freight rates.
[0070] In Figure 2aAmong them, 201 is the tariff table for published tariffs and private tariffs. After tariff authorization for this tariff table, the tariff release table shown in 202 is obtained. The tariff release table shown in 202 and the user access permission table shown in 203 (i.e., the detailed rules and general rules of permissions) are combined to obtain the group table shown in 204 (the group table can represent the released tariff authorization data). The group table shown in 204 can be split into multiple group sub-tables shown in 205. Due to the hierarchical management of the authorized objects, therefore, it is also necessary to establish the mapping relationship between the city table shown in 206 and the country table shown in 207, so that when calculating the tariff, if the authorized object in the group sub-table is a country and the city is known, the country to which the city belongs can be determined according to the mapping relationship between the city table and the country table, and then the tariff authorization situation of the city can be known.
[0071] In Figure 2b it is Figure 2b similar to the description of Figure 2a , the main difference is that Figure 2b what is shown in 301 in Figure 2b is the rule tariff table, rather than the tariff table for published tariffs and private tariffs shown in 201, and thus
[0072] All subsequent steps in
[0073] obtain the tariff authorization data for the rule tariff.
[0074] Specifically, monitor the ticket sales of different sales agencies within a preset time period; determine the freight rate authorities of the corresponding sales agencies in different authorization scenarios according to different authorization forms; generate freight rate authorization data according to the freight rate authorities of the sales agencies in different authorization scenarios according to different authorization forms. The freight rate authorization data is used to reflect the freight rate authorities corresponding to different authorization forms in different authorization scenarios of the authorized object. The authorized object is divided into multiple levels according to the granularity size, and the sales agency is the level with the smallest granularity among the multiple levels. Different authorization scenarios include sales scenarios and change scenarios, and different authorization forms include general authorization rules and detailed authorization rules. Then publish the freight rate authorization data. When managing freight rate authorization, this solution adopts hierarchical management of authorized objects, hierarchical management of authorization forms, and classification management of authorization scenarios, expanding the hierarchical management and granularity of the authorization scope, greatly improving the management and operation efficiency of the airline, effectively saving the operation time of freight rate authorization management, and significantly enhancing the function on the basis of the original domestic freight rate directional release, meeting the complex business dimensions of the domestic market and the multi-faceted authorization management requirements.
[0075] After obtaining the freight rate authorization data, freight rate calculation can be performed based on the freight rate authorization data. This method can be executed by a computer device, and a freight rate system can be deployed on the computer device. Next, the method of freight rate authorization calculation will be introduced. See Figure 3 , the method includes:
[0076] S301. Obtain a freight rate calculation request of a target sales agency, where the freight rate calculation request includes target itinerary information.
[0077] Among them, the target freight rate information may include information such as the origin, destination, and time. The freight rate calculation request can be triggered in different calculation scenarios, such as sales scenarios and change scenarios. For freight rate calculation requests triggered in different calculation scenarios, the calculation interfaces for obtaining the freight rate calculation request may be different. For example, in the sales scenario of selling tickets (such as air tickets), if it is the airline's mainframe reservation system, the instruction is PAT:A; if it is an online sales channel, the airline's Price calculation interface is called. For example, in the change scenario of changing tickets (such as air tickets), if it is the airline's mainframe reservation system, the instruction is TRI:; if it is an online sales channel, the airline's RePrice calculation interface is called.
[0078] S302. Obtain the freight rate to be processed according to the target itinerary information.
[0079] In the embodiment of the present disclosure, the itinerary is split according to the target itinerary information, and thus the freight rate to be processed is obtained according to the itinerary split result.
[0080] S303. Perform permission verification on the to-be-processed freight rate according to the released freight rate authorization data.
[0081] After obtaining the to-be-processed freight rate, since there may be multiple to-be-processed freight rates, the target sales agency may not have the freight rate permission for each to-be-processed freight rate, that is, the target sales agency may not have the permission to use each to-be-processed freight rate. Therefore, in the embodiments of the present disclosure, permission verification can be performed on each to-be-processed freight rate in turn, so as to use the to-be-processed freight rate passed in the verification for freight rate calculation.
[0082] In a possible implementation manner, the method for performing permission verification on the to-be-processed freight rate according to the released freight rate authorization data can be: determining the freight rate type of the to-be-processed freight rate; comparing the freight rate type of the to-be-processed freight rate with the freight rate types in the freight rate authorization data to obtain a first verification result (this process can be called freight rate type verification); according to the first verification result, determining whether the permission verification of the to-be-processed freight rate passes. Specifically, the complete matching rule can be used. According to different freight rate types in the to-be-processed freight rate, compare them with the freight rate types in the freight rate authorization data one by one. The freight rate authorization data that meets the conditions passes the freight rate type verification (that is, the first verification result), so as to determine whether the permission verification of the to-be-processed freight rate passes according to the first verification result later. If the freight rate type in the freight rate authorization data is all types, which means unlimited, the freight rate type verification also passes.
[0083] In a possible implementation manner, the method for determining whether the permission verification of the to-be-processed freight rate passes according to the first verification result can be: if the first verification result indicates passing, determining the authorization form of the freight rate authorization data; comparing the to-be-processed freight rate with the freight rate authorization data with the authorization form of detailed rules of permission to obtain a second verification result; if the second verification result indicates that the to-be-processed freight rate does not meet the detailed rules of permission, comparing the to-be-processed freight rate with the freight rate authorization data with the authorization form of general rules of permission to obtain a third verification result; according to the third verification result, determining whether the permission verification of the to-be-processed freight rate passes. For example, when performing permission verification on a to-be-processed freight rate, the to-be-processed freight rate data may not meet the detailed rules of permission, that is, the target sales agency does not have the freight rate permission for this to-be-processed freight rate. However, it can be further determined whether it meets the general rules of permission. If it is found based on the general rules of permission in the freight rate authorization data that the target sales agency has the freight rate permission for the freight rate type of published freight rate, and the freight rate type of this to-be-processed freight rate is also the published freight rate, it can be determined that this to-be-processed freight rate passes the verification based on the authorization form (that is, the third verification result), so as to determine whether the permission verification of the to-be-processed freight rate passes according to the third verification result later.
[0084] Specifically, the above authorization - form - based verification can be divided into verifying the protocol number and verifying the freight rate number. For verifying the protocol number, the exact - match rule is used. According to the protocol to which the freight rate to be processed belongs, it is compared with the protocol number in the freight - rate authorization data. The freight - rate authorization data that meets the conditions passes. If the protocol to which the freight rate in the freight - rate authorization data belongs is empty, it means unrestricted and also passes this verification. For verifying the freight rate number, the exact - match rule is used. According to the freight rate number of the freight rate to be processed, it is compared with the freight rate number in the freight - rate authorization data. The freight - rate authorization data that meets the conditions passes. If the freight rate number in the freight - rate authorization data is empty, it means unrestricted and also passes this verification.
[0085] It should be noted that the above freight - rate - type - based verification and authorization - form - based verification can be in a parallel manner for permission verification, or it can be that the freight - rate - type - based verification is first executed, and after the freight - rate - type verification passes, the authorization - form - based verification is then carried out. The embodiments of this application do not make any limitations on this.
[0086] In a possible implementation manner, the freight - rate calculation request further includes the target agency code of the target sales agency. The method for determining whether the permission verification of the freight rate to be processed passes according to the third verification result can be: if the third verification result indicates passing, verify the target agency code to obtain the fourth verification result; if the fourth verification result indicates passing, verify the city code and / or country code corresponding to the target agency code to obtain the fifth verification result; determine whether the permission verification of the freight rate to be processed passes according to the fifth verification result.
[0087] It should be noted that the above verification process can also be called a verification group. If the group number in the freight - rate authorization data is empty, it means no permission; if the group number in the freight - rate authorization data is non - empty, the following processing is carried out:
[0088] (1) According to the agency number, system, and channel information in the freight - rate calculation request, determine whether the freight rate to be processed exists in the group of the freight - rate authorization data. If it exists, the verification passes;
[0089] (2) According to the agency number in the freight - rate calculation request, find its corresponding city and / or country, and then according to the city and / or country, system, and channel information, determine whether the freight rate to be processed exists in the group of the freight - rate authorization data. If it exists, the verification passes.
[0090] In a possible implementation, the freight rate calculation request further includes a calculation scenario. The method for determining whether the permission verification of the freight rate to be processed passes according to the fifth verification result may be that if the fifth verification result indicates passing, the authorization scenario is verified according to the calculation scenario to obtain a sixth verification result; whether the permission verification of the freight rate to be processed passes is determined according to the sixth verification result. For example, if the calculation scenario is a sales scenario, and the authorization scenario in the freight rate authorization data is "sales scenario", it means that the corresponding freight rate in the freight rate authorization data can be applied in the sales scenario, and the verification passes (i.e., the sixth verification result); another example is that if the calculation scenario is a change scenario, and the authorization scenario in the freight rate authorization data is "change scenario", it means that the corresponding freight rate in the freight rate authorization data can be applied in the change scenario, and the verification passes (i.e., the sixth verification result).
[0091] In a possible implementation, the method for determining whether the permission verification of the freight rate to be processed passes according to the sixth verification result may be that if the sixth verification result indicates passing, it is verified whether the freight rate to be processed that passes the verification is in the corresponding blacklist; if the freight rate to be processed that passes the verification does not exist in the corresponding blacklist, the permission verification passes. The above process can be called processing permissions. If there is more than one piece of freight rate authorization data that passes the verification and there is one piece of data restricted as not allowed (i.e., the blacklist), it means that the freight rate to be processed has no permission.
[0092] In the embodiments of the present disclosure, the freight rates to be processed on the blacklist are filtered, and whether it is a whitelist of a certain type of freight rate is used to retain the unauthorized freight rates to be processed for freight rate calculation.
[0093] It should be noted that before performing the freight rate type verification, the ticket company such as the airline company can also be verified. For example, using the exact matching rule, the airline company code in the freight rate calculation request is exactly matched with the airline company code in the freight rate authorization data. The freight rate authorization data that meets the conditions passes. If the airline company code in the freight rate authorization data is empty, it means it is unrestricted and also passes this verification.
[0094] The specific process of the above permission verification can be referred to Figure 4 and Figure 5 as shown, where Figure 4 shows the permission verification process for published freight rates and private freight rates, Figure 5 and Figure 4 shows the permission verification process for regular freight rates. Among them, Figure 5 verifying the PID in
[0095] It should be noted that since the published freight rate authorization data may be updated, after the freight rate authorization data is updated, the method of performing permission verification on the freight rate to be processed according to the published freight rate authorization data can be to perform permission verification on the freight rate to be processed according to the updated freight rate authorization data.
[0096] S304. Use the freight rate to be processed that has passed the permission verification to perform freight rate calculation and obtain the freight rate calculation result.
[0097] After the permission verification is completed, the freight rate to be processed that has passed the permission verification can be used to perform freight rate calculation and obtain the freight rate calculation result.
[0098] It should be noted that in the embodiments of the present disclosure, in different calculation scenarios, the implementation manner of S304 may be different. For example, when the calculation scenario is the sales scenario, the implementation manner of S304 can be to perform rule verification on the freight rate to be processed that has passed the permission verification. For the freight rate to be processed that has passed the rule verification, perform route verification. For the freight rate to be processed that has passed the above route verification, perform price calculation. Perform agency fee, tax, and free baggage calculation for the itinerary corresponding to the target itinerary information. Integrate and output the price calculation result, agency fee, tax, and free baggage calculation result to complete the freight rate calculation process and obtain the freight rate calculation result.
[0099] Another example is that when the calculation scenario is the change scenario, the implementation manner of S304 can be to perform rule verification on the freight rate to be processed that has passed the permission verification. For the freight rate to be processed that has passed the rule verification, perform route verification. For the freight rate to be processed that has passed the above route verification, perform price calculation. Perform agency fee, tax, and free baggage calculation for the itinerary corresponding to the target itinerary information. Integrate the price calculation result, agency fee, tax, and free baggage calculation result to obtain an integration result, calculate the fare difference between the original itinerary (the itinerary before the change) and the new itinerary (the itinerary corresponding to the target itinerary information), and the fare difference can be the difference between the above integration result of the original itinerary and the above integration result of the new itinerary. Then, determine whether a new ticket needs to be reissued for this ticket change, and process and output information such as the change handling fee and the old and new fare differences to complete the freight rate calculation and obtain the final freight rate calculation result. Among them, the change handling fee can be obtained by performing change freight rate calculation processing after receiving the freight rate calculation request and calculating the change handling fee according to the seat cancellation time and the ticket date of the original itinerary.
[0100] To better illustrate the technical solution of the present disclosure, the embodiments of the present disclosure will, from the perspective of a sales agency, distinguish between two scenarios of ticket sales and ticket change (i.e., the sales scenario and the change scenario), and take the calculation of air ticket prices as an example to illustrate step by step:
[0101] Air ticket sales scenario:
[0102] Step 1: The sales agency submits a freight rate calculation request, which includes a calculation scenario of the sales scenario. After the itinerary is booked through the airline's mainframe reservation system or an online sales channel, the price is calculated. If it is the airline's mainframe reservation system, the instruction is PAT:A. If it is an online sales channel, the TravelSky Price calculation interface is called.
[0103] Step 2: The freight rate system receives the freight rate calculation request, performs freight rate calculation, itinerary splitting, and freight rate acquisition.
[0104] Step 3: After obtaining the pending freight rates that meet the itinerary conditions, perform permission verification and compare with the freight rate authorization data. The method is as follows:
[0105] 1) Verify the airline: Use the exact match rule to exactly match the airline code in the freight rate calculation request with the airline code in the freight rate authorization data. The eligible freight rate authorization data passes. If the airline code in the freight rate authorization data is empty, it means it is unrestricted and also passes this verification.
[0106] 2) Verify the freight rate type: Use the exact match rule. According to the different freight rate types in the pending freight rates, compare them one by one with the freight rate types in the freight rate authorization data. The eligible freight rate authorization data passes the verification of the freight rate type (i.e., the first verification result), so as to determine whether the permission verification of the pending freight rates passes according to the first verification result later. If the freight rate type in the freight rate authorization data is all types, it means it is unrestricted and also passes the verification of the freight rate type.
[0107] 3) Verify the agreement number: Use the exact match rule. According to the agreement to which the pending freight rate belongs, compare it with the agreement number in the freight rate authorization data. The eligible freight rate authorization data passes. If the agreement to which the freight rate in the freight rate authorization data belongs is empty, it means it is unrestricted and also passes this verification.
[0108] 4) Verify the freight rate number: Use the exact match rule. According to the freight rate number of the pending freight rate, compare it with the freight rate number in the freight rate authorization data. The eligible freight rate authorization data passes. If the freight rate number in the freight rate authorization data is empty, it means it is unrestricted and also passes this verification.
[0109] 5) Verify the group: If the group number in the freight rate authorization data is empty, it means there is no permission. If the group number in the freight rate authorization data is non-empty, the following processing is carried out:
[0110] (1) According to the agency number, system, and channel information in the freight rate calculation request, judge whether the pending freight rate exists in the group of the freight rate authorization data. If it exists, the verification passes;
[0111] (2) Based on the agency number in the freight rate calculation request, find its corresponding city and / or country. Then, according to the city and / or country, system, and channel information, determine whether the freight rate to be processed exists in the group of freight rate authorization data. If it exists, the verification passes;
[0112] 6) Verify the sales scenario. If the authorized scenario in the freight rate authorization data is "sales scenario", the verification passes;
[0113] 7) Process the permissions. If there is more than one piece of freight rate authorization data that passes the verification and there is a piece of data restricted as not allowed (i.e., blacklist), it means that the freight rate to be processed has no permission;
[0114] Step Four: For the freight rate to be processed that passes the permission verification, conduct rule verification.
[0115] Step Five: For the freight rate to be processed that passes the rule verification, conduct route verification.
[0116] Step Six: For the freight rate to be processed that passes the route verification, conduct price calculation to obtain the price calculation result.
[0117] Step Seven: Calculate the agency fee, taxes, and free checked baggage for the itinerary corresponding to the target itinerary information.
[0118] Step Eight: Integrate and output the price calculation result, agency fee, taxes, and free checked baggage calculation result to complete the freight rate calculation process and obtain the freight rate calculation result.
[0119] Ticket change scenario:
[0120] Step One: The sales agency submits a freight rate calculation request, and the calculation scenario of this freight rate calculation request is the change scenario. After completing the reservation of the itinerary through the airline's mainframe reservation system or an online sales channel, conduct price calculation. If it is the airline's mainframe reservation system, the instruction is TRI: If it is an online sales channel, call the airline's RePrice calculation interface.
[0121] Step Two: The freight rate system receives the freight rate calculation request and conducts freight rate calculation processing. Calculate the change fee according to the seat cancellation time and the flight date of the original itinerary.
[0122] Step Three: According to the target itinerary information (information of the new itinerary), conduct freight rate calculation, and conduct itinerary splitting and freight rate acquisition for the new itinerary.
[0123] Step Four: After obtaining the freight rate to be processed that meets the itinerary conditions, conduct permission judgment and verification, and compare it with the freight rate authorization data. The method is as follows:
[0124] 1) Verify the airline company: Using the exact match rule, fully match the airline code in the freight rate calculation request with the airline code in the freight rate authorization data. The freight rate authorization data that meets the conditions passes. If the airline code in the freight rate authorization data is empty, it means unrestricted and also passes this verification.
[0125] 2) Verify the freight rate type: Using the exact match rule, compare each different freight rate type in the freight rate to be processed with the freight rate type in the freight rate authorization data one by one. The freight rate authorization data that meets the conditions passes the verification of the freight rate type (i.e., the first verification result), so as to determine whether the permission verification of the freight rate to be processed passes according to the first verification result later. If the freight rate type in the freight rate authorization data is all types, it means unrestricted and also passes the verification of the freight rate type.
[0126] 3) Verify the agreement number: Using the exact match rule, compare the agreement to which the freight rate to be processed belongs with the agreement number in the freight rate authorization data. The freight rate authorization data that meets the conditions passes. If the agreement to which the freight rate in the freight rate authorization data belongs is empty, it means unrestricted and also passes this verification.
[0127] 4) Verify the freight rate number: Using the exact match rule, compare the freight rate number of the freight rate to be processed with the freight rate number in the freight rate authorization data. The freight rate authorization data that meets the conditions passes. If the freight rate number in the freight rate authorization data is empty, it means unrestricted and also passes this verification.
[0128] 5) Verify the group: If the group number in the freight rate authorization data is empty, it means no permission; if the group number in the freight rate authorization data is not empty, the following processing is carried out:
[0129] (1) According to the institution number, system, and channel information in the freight rate calculation request, judge whether the freight rate to be processed exists in the group of the freight rate authorization data. If it exists, the verification passes;
[0130] (2) According to the institution number in the freight rate calculation request, find its corresponding city and / or country, and then judge whether the freight rate to be processed exists in the group of the freight rate authorization data according to the city and / or country, system, and channel information. If it exists, the verification passes;
[0131] 6) Verify the change scenario. If the authorized scenario in the freight rate authorization data is "change scenario", the verification passes;
[0132] 7) Process the permission. If there is more than one piece of freight rate authorization data that passes the verification and there is a piece of data restricted as not allowed (i.e., the blacklist), it means that the freight rate to be processed has no permission;
[0133] Step Five: Conduct rule verification on the freight rate to be processed that passes the permission verification.
[0134] Step 6: Perform route verification on the pending freight rates that have passed the rule verification.
[0135] Step 7: Perform price calculation on the pending freight rates that have passed the route verification.
[0136] Step 8: Calculate the agency fee, tax, and free checked baggage for the new itinerary corresponding to the target itinerary information.
[0137] Step 9: Integrate the price calculation result, agency fee, tax, and free checked baggage calculation result to obtain an integration result, and calculate the fare difference between the original itinerary (the itinerary before the change) and the new itinerary (the itinerary corresponding to the target itinerary information). The fare difference can be the difference between the above integration result of the original itinerary and the above integration result of the new itinerary. Then, determine whether a new ticket needs to be issued for this ticket change, and output the information such as the change handling fee and the old and new fare differences after processing to complete the freight rate calculation and obtain the final freight rate calculation result.
[0138] The embodiments of the present disclosure provide an authorization management method and device based on black and white lists for the authorization control ability of domestic freight rates in different scenarios, realizing the following market values:
[0139] The authorization management service model and data standard added in the present disclosure have significantly improved the functions on the basis of the original domestic freight rate directional release, meeting the business requirements of airlines.
[0140] The present disclosure enables the freight rate system to automatically process the data of the authorization black and white lists, update the released freight rate authorization data, quickly assist airlines in operating for authorization termination or temporary authorization termination, clearly control the black and white lists, and ensure that the sales and revenues of airlines are not damaged.
[0141] The present disclosure supports the consistent setting of all channels (including traditional sales channels and new sales channels) to ensure the unity of the results of all channels. At the same time, it also supports authorization management according to a single channel to achieve the price advantage of focusing on a certain new sales channel.
[0142] The present disclosure expands the hierarchical management and granularity of the authorization scope, significantly improves the management and operation efficiency of airlines, and effectively saves the operation time of freight rate authorization management.
[0143] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations 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 segment of a program, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than that noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, or 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 diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or by a combination of dedicated hardware and computer instructions.
[0144] The names of the messages or information (such as the freight rate calculation request) involved in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of these messages or information.
[0145] Although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in a sequential order. In certain circumstances, multitasking and parallel processing may be advantageous.
[0146] It should be understood that the various steps recited in the method embodiments of the present disclosure may be executed in a different order and / or in parallel. In addition, the method embodiments may include additional steps and / or omit steps shown. The scope of the present disclosure is not limited in this regard.
[0147] Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages or combinations thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, C++, and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer device, partly on the user's computer device, as a stand-alone software package, partly on the user's computer and partly on a remote computer device, or entirely on the remote computer device or server. In the case of a remote computer device, the remote computer device may be connected to the user terminal through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external terminal (e.g., through the Internet using an Internet service provider).
[0148] Based on the above method provided by the embodiments of the present disclosure, the embodiments of the present disclosure also provide a freight rate authorization management device corresponding to the above method. The units / modules involved in the embodiments of the present disclosure can be implemented in software or in hardware. In some cases, the name of the unit / modules does not constitute a limitation on the unit / modules themselves.
[0149] See Figure 6 the structural schematic diagram of the freight rate authorization management device shown in the figure. The device includes a monitoring unit 601, a determination unit 602, a generation unit 603, and a publishing unit 604:
[0150] The monitoring unit 601 is configured to monitor the ticket sales situation of different sales agencies within a preset time period;
[0151] The determination unit 602 is configured to determine the freight rate authorities of the corresponding sales agencies in different authorization scenarios according to different authorization forms based on the ticket sales situation;
[0152] The generation unit 603 is configured to generate freight rate authorization data according to the freight rate authorities of the sales agencies in different authorization scenarios according to different authorization forms. The freight rate authorization data is used to reflect the freight rate authorities corresponding to the authorized objects in different authorization scenarios according to different authorization forms. The authorized objects are divided into multiple levels according to the granularity size, and the sales agency is the level with the smallest granularity among the multiple levels. Different authorization scenarios include sales scenarios and change scenarios, and different authorization forms include general rules of authority and detailed rules of authority;
[0153] The publishing unit 604 is configured to publish the freight rate authorization data.
[0154] In a possible implementation manner, the device further includes an acquisition unit, a verification unit, and a calculation unit:
[0155] The acquisition unit is configured to acquire a freight rate calculation request of a target sales agency, and the freight rate calculation request includes target itinerary information;
[0156] The acquisition unit is further configured to acquire the freight rate to be processed according to the target itinerary information;
[0157] The verification unit is configured to perform authority verification on the freight rate to be processed according to the published freight rate authorization data;
[0158] The calculation unit is configured to perform freight rate calculation using the freight rate to be processed that passes the authority verification to obtain a freight rate calculation result.
[0159] In a possible implementation manner, the verification unit is specifically configured to:
[0160] Determine the freight rate type of the to-be-processed freight rate;
[0161] Compare the freight rate type of the to-be-processed freight rate with the freight rate types in the freight rate authorization data to obtain a first verification result;
[0162] Determine whether the authority verification of the to-be-processed freight rate passes according to the first verification result.
[0163] In a possible implementation manner, the verification unit is specifically configured to:
[0164] If the first verification result indicates passing, determine the authorization form of the freight rate authorization data;
[0165] Compare the to-be-processed freight rate with the freight rate authorization data with the authorization form of detailed rules of authority to obtain a second verification result;
[0166] If the second verification result indicates that the to-be-processed freight rate does not meet the detailed rules of authority, compare the to-be-processed freight rate with the freight rate authorization data with the authorization form of general rules of authority to obtain a third verification result;
[0167] Determine whether the authority verification of the to-be-processed freight rate passes according to the third verification result.
[0168] In a possible implementation manner, the target institution code of the target sales institution is further included in the freight rate calculation request, and the verification unit is specifically configured to:
[0169] If the third verification result indicates passing, verify the target institution code to obtain a fourth verification result;
[0170] If the fourth verification result indicates passing, verify the city code and / or country code corresponding to the target institution code to obtain a fifth verification result;
[0171] Determine whether the authority verification of the to-be-processed freight rate passes according to the fifth verification result.
[0172] In a possible implementation manner, the calculation scenario is further included in the freight rate calculation request, and the verification unit is specifically configured to:
[0173] If the fifth verification result indicates passing, verify the authorization scenario according to the calculation scenario to obtain a sixth verification result;
[0174] Determine whether the authority verification of the to-be-processed freight rate passes according to the sixth verification result.
[0175] In a possible implementation manner, the verification unit is specifically configured to:
[0176] If the sixth verification result indicates passing, check whether the pending freight rate that has passed the verification is in the corresponding blacklist;
[0177] If the pending freight rate that has passed the verification does not exist in the corresponding blacklist, the permission verification passes.
[0178] In a possible implementation manner, the device further includes an update unit:
[0179] The update unit is used to update the published freight rate authorization data;
[0180] The verification unit is specifically used for:
[0181] According to the updated freight rate authorization data, perform permission verification on the pending freight rate.
[0182] Based on the above description, it can be seen that the technical solution of the present disclosure has the following beneficial effects:
[0183] Specifically, monitor the ticket sales situation of different sales agencies within a preset time period; according to the ticket sales situation, determine the freight rate permissions of the corresponding sales agencies in different authorization scenarios according to different authorization forms; according to the freight rate permissions of the sales agencies in different authorization scenarios according to different authorization forms, generate freight rate authorization data, and the freight rate authorization data is used to reflect the freight rate permissions corresponding to the authorized objects in different authorization scenarios according to different authorization forms. The authorized objects are divided into multiple levels according to the granularity size, and the sales agency is the smallest level in the multiple levels. Different authorization scenarios include sales scenarios and change scenarios, and different authorization forms include general authorization rules and detailed authorization rules. Then publish the freight rate authorization data. In the freight rate authorization management of this solution, hierarchical management of authorized objects, hierarchical management of authorization forms, and classification management of authorization scenarios are adopted, which expands the hierarchical management and granularity of the authorization scope, greatly improves the management and operation efficiency of the airline, effectively saves the operation time of freight rate authorization management, and has greatly improved the function on the basis of the original domestic freight rate directional release, meeting the complex business dimensions and multi-faceted permission management requirements of the domestic market.
[0184] The freight rate authorization management device according to the embodiments 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 freight rate authorization management device are respectively for realizing Figure 1 and Figure 3 the corresponding processes of each method in the embodiments shown, and for the sake of brevity, they will not be described in detail here.
[0185] The functions described above in this document 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 Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chip (SOCs), Complex Programmable Logic Devices (CPLDs), and so on. An example will be given below using a computer device that includes multiple hardware logic components.
[0186] The present disclosure provides a computer device for implementing the functions of a freight rate authorization management device. Refer to Figure 7 the structural schematic diagram of the computer device shown. The computer device 700 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 7 The computer device 700 shown is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present disclosure.
[0187] As Figure 7 shown, the computer device 700 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to the program stored in the Read Only Memory (ROM) 702 or the program loaded from the storage device 708 into the Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the computer device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. The Input / Output (I / O) interface 705 is also connected to the bus 704.
[0188] Generally, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, magnetic tapes, hard disks, etc.; and a communication device 709. The communication device 709 can allow the computer device 700 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 7 the computer device 700 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. More or fewer devices can be alternatively implemented or had.
[0189] 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, the machine-readable medium can 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. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0190] It should be noted that the computer-readable medium described above 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, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, 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 that can be used by or in connection with an instruction execution system, apparatus, or device. And 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, which carries computer-readable program code. 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, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0191] The above computer-readable medium can be included in the above computer device; or it can exist separately and not be assembled into the computer device.
[0192] The above computer-readable medium carries one or more programs, which, when executed by the computer device 700, cause the computer device 700 to perform the following steps: monitoring the ticket sales situation of different sales agencies within a preset time period; determining, according to the ticket sales situation, the freight rate authorities that the corresponding sales agencies have in different authorization scenarios according to different authorization forms; generating freight rate authorization data according to the freight rate authorities that the sales agencies have in different authorization scenarios according to different authorization forms, where the freight rate authorization data is used to reflect the freight rate authorities corresponding to the authorized objects in different authorization scenarios according to different authorization forms, the authorized objects are divided into multiple levels according to the granularity size, the sales agency is the level with the smallest granularity among the multiple levels, different authorization scenarios include a sales scenario and a change scenario, and different authorization forms include a general rule of authority and a detailed rule of authority; and publishing the freight rate authorization data.
[0193] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program codes for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processing device 701, the above functions defined in the method of the embodiment of the present disclosure are executed.
[0194] According to one or more embodiments of the present disclosure, Example 1 provides a freight rate authorization management method, including:
[0195] Monitoring the ticket sales situation of different sales agencies within a preset time period;
[0196] Determining, according to the ticket sales situation, the freight rate authorities that the corresponding sales agencies have in different authorization scenarios according to different authorization forms;
[0197] Generating freight rate authorization data according to the freight rate authorities that the sales agencies have in different authorization scenarios according to different authorization forms, where the freight rate authorization data is used to reflect the freight rate authorities corresponding to the authorized objects in different authorization scenarios according to different authorization forms, the authorized objects are divided into multiple levels according to the granularity size, the sales agency is the level with the smallest granularity among the multiple levels, different authorization scenarios include a sales scenario and a change scenario, and different authorization forms include a general rule of authority and a detailed rule of authority;
[0198] Publishing the freight rate authorization data.
[0199] According to one or more embodiments of the present disclosure, Example 2 provides the method of Example 1, and the method further includes:
[0200] Obtain a freight rate calculation request of a target sales agency, where the freight rate calculation request includes target itinerary information;
[0201] Obtain a to-be-processed freight rate according to the target itinerary information;
[0202] Perform permission verification on the to-be-processed freight rate according to the published freight rate authorization data;
[0203] Perform freight rate calculation using the to-be-processed freight rate for which permission verification has passed to obtain a freight rate calculation result.
[0204] According to one or more embodiments of the present disclosure, Example 3 provides the method of Example 2, and performing permission verification on the to-be-processed freight rate according to the published freight rate authorization data includes:
[0205] Determine the freight rate type of the to-be-processed freight rate;
[0206] Compare the freight rate type of the to-be-processed freight rate with the freight rate types in the freight rate authorization data to obtain a first verification result;
[0207] Determine whether the permission verification of the to-be-processed freight rate passes according to the first verification result.
[0208] According to one or more embodiments of the present disclosure, Example 4 provides the method of Example 3, and determining whether the permission verification of the to-be-processed freight rate passes according to the first verification result includes:
[0209] If the first verification result indicates passing, determine the authorization form of the freight rate authorization data;
[0210] Compare the to-be-processed freight rate with the freight rate authorization data with the authorization form of permission details to obtain a second verification result;
[0211] If the second verification result indicates that the to-be-processed freight rate does not meet the permission details, compare the to-be-processed freight rate with the freight rate authorization data with the authorization form of permission general rules to obtain a third verification result;
[0212] Determine whether the permission verification of the to-be-processed freight rate passes according to the third verification result.
[0213] According to one or more embodiments of the present disclosure, Example 5 provides the method of Example 4, and the freight rate calculation request further includes a target agency code of the target sales agency, and determining whether the permission verification of the to-be-processed freight rate passes according to the third verification result includes:
[0214] If the third verification result indicates passing, verify the target organization code to obtain a fourth verification result;
[0215] If the fourth verification result indicates passing, verify the city code and / or country code corresponding to the target organization code to obtain a fifth verification result;
[0216] Determine whether the authority verification of the to-be-processed freight rate passes according to the fifth verification result.
[0217] According to one or more embodiments of the present disclosure, Example Six provides the method of Example Five. The freight rate calculation request further includes a calculation scenario. Determining whether the authority verification of the to-be-processed freight rate passes according to the fifth verification result includes:
[0218] If the fifth verification result indicates passing, verify the authorization scenario according to the calculation scenario to obtain a sixth verification result;
[0219] Determine whether the authority verification of the to-be-processed freight rate passes according to the sixth verification result.
[0220] According to one or more embodiments of the present disclosure, Example Seven provides the method of Example Six. Determining whether the authority verification of the to-be-processed freight rate passes according to the sixth verification result includes:
[0221] If the sixth verification result indicates passing, verify whether the to-be-processed freight rate that passes verification is in the corresponding blacklist;
[0222] If the to-be-processed freight rate that passes verification does not exist in the corresponding blacklist, the authority verification passes.
[0223] According to one or more embodiments of the present disclosure, Example Eight provides the method of any one of Examples Two to Seven. The method further includes:
[0224] Update the published freight rate authorization data;
[0225] The authority verification of the to-be-processed freight rate according to the published freight rate authorization data includes:
[0226] Perform authority verification on the to-be-processed freight rate according to the updated freight rate authorization data.
[0227] According to one or more embodiments of the present disclosure, Example Nine provides a freight rate authorization management device, which includes a monitoring unit, a determination unit, a generation unit, and a publishing unit:
[0228] The monitoring unit is used to monitor the ticket sales situation of different sales agencies within a preset time period;
[0229] A determination unit, configured to determine, according to the ticket sales situation, the freight rate authorities of the corresponding sales agency in different authorization scenarios in different authorization forms;
[0230] A generation unit, configured to generate freight rate authorization data according to the freight rate authorities of the sales agency in different authorization scenarios in different authorization forms, where the freight rate authorization data is used to reflect the freight rate authorities corresponding to the authorized object in different authorization scenarios in different authorization forms, the authorized object is divided into multiple levels according to the granularity size, the sales agency is the level with the smallest granularity among the multiple levels, different authorization scenarios include a sales scenario and a change scenario, and different authorization forms include a general rule of authority and a detailed rule of authority;
[0231] A publishing unit, configured to publish the freight rate authorization data.
[0232] According to one or more embodiments of the present disclosure, Example Ten provides the device of Example Nine, and the device further includes an acquisition unit, a verification unit, and a calculation unit:
[0233] The acquisition unit is configured to acquire a freight rate calculation request of a target sales agency, where the freight rate calculation request includes target itinerary information;
[0234] The acquisition unit is further configured to acquire a freight rate to be processed according to the target itinerary information;
[0235] The verification unit is configured to perform authority verification on the freight rate to be processed according to the published freight rate authorization data;
[0236] The calculation unit is configured to perform freight rate calculation using the freight rate to be processed that passes the authority verification to obtain a freight rate calculation result.
[0237] According to one or more embodiments of the present disclosure, Example Eleven provides the device of Example Ten, and the verification unit is specifically configured to:
[0238] Determine the freight rate type of the freight rate to be processed;
[0239] Compare the freight rate type of the freight rate to be processed with the freight rate type in the freight rate authorization data to obtain a first verification result;
[0240] Determine whether the authority verification of the freight rate to be processed passes according to the first verification result.
[0241] According to one or more embodiments of the present disclosure, Example Twelve provides the device of Example Eleven, and the verification unit is specifically configured to:
[0242] If the first verification result indicates passing, determine the authorization form of the freight rate authorization data;
[0243] Compare the to-be-processed freight rate with the freight rate authorization data whose authorization form is the detailed rules of authority to obtain a second verification result;
[0244] If the second verification result indicates that the to-be-processed freight rate does not meet the detailed rules of authority, compare the to-be-processed freight rate with the freight rate authorization data whose authorization form is the general rules of authority to obtain a third verification result;
[0245] Determine whether the authority verification of the to-be-processed freight rate passes according to the third verification result.
[0246] According to one or more embodiments of the present disclosure, Example Thirteen provides the device of Example Twelve. The freight rate calculation request further includes the target agency code of the target sales agency. The verification unit is specifically configured to:
[0247] If the third verification result indicates passing, verify the target agency code to obtain a fourth verification result;
[0248] If the fourth verification result indicates passing, verify the city code and / or country code corresponding to the target agency code to obtain a fifth verification result;
[0249] Determine whether the authority verification of the to-be-processed freight rate passes according to the fifth verification result.
[0250] According to one or more embodiments of the present disclosure, Example Fourteen provides the device of Example Thirteen. The freight rate calculation request further includes a calculation scenario. The verification unit is specifically configured to:
[0251] If the fifth verification result indicates passing, verify the authorized scenario according to the calculation scenario to obtain a sixth verification result;
[0252] Determine whether the authority verification of the to-be-processed freight rate passes according to the sixth verification result.
[0253] According to one or more embodiments of the present disclosure, Example Fifteen provides the device of Example Fourteen. The verification unit is specifically configured to:
[0254] If the sixth verification result indicates passing, verify whether the passed to-be-processed freight rate is in the corresponding blacklist;
[0255] If the passed to-be-processed freight rate does not exist in the corresponding blacklist, the authority verification passes.
[0256] According to one or more embodiments of the present disclosure, Example Sixteen provides the device of Examples Ten to Fifteen. The device further includes an update unit:
[0257] The update unit is used to update the published freight rate authorization data;
[0258] The verification unit is specifically configured to:
[0259] Perform permission verification on the to-be-processed freight rate according to the updated freight rate authorization data.
[0260] According to one or more embodiments of the present disclosure, Example Seventeen provides a computer device 700. The computer device 700 includes at least one processor and at least one memory. Computer-readable instructions are stored in the at least one memory, and the at least one processor executes the computer-readable instructions, so that the computer device 700 executes the method described in any one of Examples One to Eight.
[0261] According to one or more embodiments of the present disclosure, Example Eighteen provides a computer-readable storage medium. The computer-readable storage medium includes computer-readable instructions. When the computer-readable instructions run on the computer device 700, the computer device 700 is caused to execute the method described in any one of Examples One to Eight.
[0262] According to one or more embodiments of the present disclosure, Example Nineteen provides a computer program product. The computer program product includes instructions. When the instructions run on the computer device 700, the computer device 700 is caused to execute the method described in any one of Examples One to Eight.
[0263] Although the subject matter has been described in language specific to structural features and / or methodological act logic, 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.
[0264] 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. Conversely, 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.
[0265] 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 the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and 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) having similar functions disclosed in the present disclosure.
Claims
1. A freight rate authorization management method, characterized in that The method includes: Monitoring the ticket sales of different sales agencies within a preset time period; Determining the freight rate authorities of the corresponding sales agencies in different authorization scenarios according to different authorization forms based on the ticket sales situation; Generating freight rate authorization data according to the freight rate authorities of the sales agencies in different authorization scenarios according to different authorization forms. The freight rate authorization data is used to reflect the freight rate authorities corresponding to the authorized objects in different authorization scenarios according to different authorization forms. The authorized objects are divided into multiple levels according to the granularity size, and the sales agency is the level with the smallest granularity among the multiple levels. Different authorization scenarios include sales scenarios and change scenarios, and different authorization forms include general authorization rules and detailed authorization rules; Releasing the freight rate authorization data; Obtaining a freight rate calculation request of a target sales agency, where the freight rate calculation request includes target itinerary information; Obtaining the freight rate to be processed according to the target itinerary information; Performing authority verification on the freight rate to be processed according to the released freight rate authorization data; Performing freight rate calculation using the freight rate to be processed that passes the authority verification to obtain a freight rate calculation result; The performing authority verification on the freight rate to be processed according to the released freight rate authorization data includes: Determining the freight rate type of the freight rate to be processed; Comparing the freight rate type of the freight rate to be processed with the freight rate types in the freight rate authorization data to obtain a first verification result; Determining whether the authority verification of the freight rate to be processed passes according to the first verification result.
2. The method according to claim 1, wherein The determining whether the authority verification of the freight rate to be processed passes according to the first verification result includes: If the first verification result indicates passing, determining the authorization form of the freight rate authorization data; Comparing the freight rate to be processed with the freight rate authorization data with the authorization form of detailed authorization rules to obtain a second verification result; If the second verification result indicates that the freight rate to be processed does not meet the detailed authorization rules, comparing the freight rate to be processed with the freight rate authorization data with the authorization form of general authorization rules to obtain a third verification result; Determining whether the authority verification of the freight rate to be processed passes according to the third verification result.
3. The method according to claim 2, wherein The freight rate calculation request further includes the target agency code of the target sales agency. The determining whether the authority verification of the freight rate to be processed passes according to the third verification result includes: If the third verification result indicates passing, verifying the target agency code to obtain a fourth verification result; If the fourth verification result indicates passing, verifying the city code and / or country code corresponding to the target agency code to obtain a fifth verification result; Determining whether the authority verification of the freight rate to be processed passes according to the fifth verification result.
4. The method according to claim 3, wherein The freight rate calculation request further includes a calculation scenario. The determining whether the authority verification of the freight rate to be processed passes according to the fifth verification result includes: If the fifth verification result indicates passing, verifying the authorization scenario according to the calculation scenario to obtain a sixth verification result; Determining whether the authority verification of the freight rate to be processed passes according to the sixth verification result.
5. The method according to claim 4, characterized in that Determining whether the authority verification of the to-be-processed freight rate passes according to the sixth verification result includes: If the sixth verification result indicates passing, verifying whether the to-be-processed freight rate that passes the verification is in the corresponding blacklist; If the to-be-processed freight rate that passes the verification does not exist in the corresponding blacklist, the authority verification passes.
6. The method according to any one of claims 2-5, characterized in that, The method further includes: Updating the published freight rate authorization data; Performing authority verification on the to-be-processed freight rate according to the published freight rate authorization data, including: Performing authority verification on the to-be-processed freight rate according to the updated freight rate authorization data.
7. A freight rate authorization management device, characterized in that The apparatus includes: A monitoring unit, configured to monitor the ticket sales situation of different sales agencies within a preset time period; A determination unit, configured to determine the freight rate authorities of the corresponding sales agencies in different authorization scenarios according to different authorization forms according to the ticket sales situation; A generation unit, configured to generate freight rate authorization data according to the freight rate authorities of the sales agencies in different authorization scenarios according to different authorization forms, where the freight rate authorization data is used to reflect the freight rate authorities corresponding to the authorized objects in different authorization scenarios according to different authorization forms, the authorized objects are divided into multiple levels according to the granularity size, the sales agency is the level with the smallest granularity among the multiple levels, different authorization scenarios include a sales scenario and a change scenario, and different authorization forms include a general rule of authority and a detailed rule of authority; A publishing unit, configured to publish the freight rate authorization data; The publishing unit is further configured to obtain a freight rate calculation request of a target sales agency, where the freight rate calculation request includes target itinerary information; Obtaining the to-be-processed freight rate according to the target itinerary information; Performing authority verification on the to-be-processed freight rate according to the published freight rate authorization data; Performing freight rate calculation using the to-be-processed freight rate that passes the authority verification to obtain a freight rate calculation result; The publishing unit is specifically configured to: Determine the freight rate type of the to-be-processed freight rate; Comparing the freight rate type of the to-be-processed freight rate with the freight rate type in the freight rate authorization data to obtain a first verification result; Determining whether the authority verification of the to-be-processed freight rate passes according to the first verification result.
8. A computer device, characterized in that, The computer device includes at least one processor and at least one memory, where at least one computer-readable instruction is stored in the at least one memory, and the at least one processor executes the computer-readable instruction, so that the computer device executes the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Cross-reservation-system airline ticket order processing method, device and system
CN110728389A
Intelligent operation management system for passenger transport ferry production
CN111080504A
Brand portrait construction method and device
CN114331156A