Data processing method and device, computer readable storage medium and electronic equipment

By establishing a matching relationship between the airline's aviation agreement and the agent group, and generating fare publishing data, the problem of database resource occupation caused by the large amount of fare publishing data is solved, and efficient resource utilization and improved publishing efficiency are achieved.

CN119728805BActive Publication Date: 2025-10-21TRAVELSKY TECHNOLOGY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411782602.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-10-21
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

In the existing technology, the amount of data released by airline fares is large, resulting in excessive database resource usage and long generation time, and there is a lack of effective solutions.

Method used

By obtaining the aviation agreement and agent group information of the target airline, a matching relationship is established between the aviation agreement and the agent group, and target release data is generated, thereby reducing the amount of release data and lowering database resource usage.

Benefits of technology

It effectively reduces the database resource usage when generating freight rate release data, and improves the release efficiency and data push efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728805B_ABST
    Figure CN119728805B_ABST
Patent Text Reader

Abstract

The application discloses a data processing method and device, a computer readable storage medium and an electronic device. It relates to the technical field of network and comprises the following steps: obtaining a plurality of airline protocols of a target airline and protocol information of the airline protocols, and obtaining a plurality of agent groups; in the case that a to-be-published protocol query request of a user is received, determining a to-be-published airline protocol from the plurality of airline protocols according to the effective time range and the publishing state in the protocol information; in the case that a publishing data generation request of the user is received, determining a target airline protocol from the to-be-published airline protocol according to the publishing data generation request, and determining a target agent group from the plurality of agent groups according to the publishing data generation request; establishing a matching relationship between the target airline protocol and the target agent group, and obtaining target publishing data. The application solves the technical problem of occupying a large number of system resources when related technologies generate fare publishing data for agent objects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network technology, and in particular to a data processing method, device, computer-readable storage medium, and electronic device. Background Art

[0002] With the continuous development of the economy, people's demand for travel has increased, and the demand for air passenger transport has grown. Airlines have increased their capacity, expanded their route networks, and increased flight frequency. In order to better adapt to the rapid changes in the market, various airlines have launched a variety of fare products and quickly updated them at any time based on market sales response. Therefore, the flexible adjustment of fares has led to an increasing amount of fare publishing data. At present, domestic private fares are published according to the price dimension for different agent objects (such as agents and agents). In other words, each fare corresponds to one or more published data (i.e., the correspondence between the fare and the agent object). For example, if there are 100 fares that need to be published to 5 agents, the published data is the Cartesian product of the number of fares and the number of agent objects, that is, 500. The amount of published data in the system is extremely large, which will waste a lot of database resources. In addition, it takes a long time to generate the published data, which has the problem of occupying a large amount of system resources.

[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0004] The embodiments of the present invention provide a data processing method, apparatus, computer-readable storage medium, and electronic device to at least solve the technical problem of occupying a large amount of system resources when generating freight rate publishing data for an agent object in the related art.

[0005] According to one aspect of an embodiment of the present invention, a data processing method is provided, comprising: obtaining multiple air agreements and agreement information of the air agreements of a target airline, and obtaining multiple agent groups, wherein the air agreements include multiple fare data of the target airline, the agreement information includes the effective time range and publication status of the air agreements, and the agent group includes multiple agent objects; upon receiving a user's query request for an agreement to be published, determining the air agreement to be published from the multiple air agreements according to the effective time range and publication status in the agreement information; upon receiving a user's request to generate publication data, determining a target air agreement from the air agreements to be published according to the publication data generation request, and determining a target agent group from the multiple agent groups according to the publication data generation request; establishing a matching relationship between the target air agreement and the target agent group to obtain target publication data.

[0006] Furthermore, the publishing status includes a published status and a to-be-published status, wherein the data processing method also includes: determining an ineffective aviation agreement from multiple aviation agreements based on the effective time range and the current time to obtain a candidate aviation agreement; and determining the candidate aviation agreement whose publishing status is to-be-published as the to-be-published aviation agreement.

[0007] Furthermore, the data processing method also includes: determining whether there is authorization information for the proxy object in the target proxy group in the release data generation request, wherein the authorization information is used to indicate that the aviation agreement to be released is allowed to be released to the proxy object, or that the aviation agreement to be released is prohibited to be released to the proxy object; if there is no authorization information for the proxy object in the target proxy group, establishing a matching relationship between the target aviation agreement and the target proxy group to obtain the target release data; if there is authorization information for the proxy object in the target proxy group, determining the first proxy object from the target proxy group based on the authorization information; establishing a matching relationship between the target aviation agreement and the target proxy group, and recording the identifier of the first proxy object in the matching relationship to obtain the target release data.

[0008] Furthermore, the data processing method also includes: after obtaining the target publication data, when receiving a fare query request from the second proxy object, determining the object identifier, target route, target class, and take-off time range of the second proxy object from the fare query request; filtering the fare data in multiple aviation agreements according to the target route, target class, and take-off time range to obtain multiple first fare data; filtering the multiple first fare data according to the publication status of the aviation agreements to which the multiple first fare data belong to obtain multiple second fare data; filtering the multiple second fare data according to the object identifier and target publication data of the second proxy object to obtain at least one third fare data; determining a request processing result for the fare query request based on the at least one third fare data, and feeding back the request processing result to the second proxy object.

[0009] Furthermore, the data processing method also includes: determining fare data including target routes and target cabin space from multiple aviation agreements to obtain multiple candidate first fare data; for each candidate first fare data, if the take-off time range is within the valid time range in the candidate first fare data, then determining the candidate first fare data as the first fare data to obtain multiple first fare data.

[0010] Furthermore, the publishing status includes a published status and a to-be-published status, wherein the data processing method further includes: determining the first freight rate data in the published status among the multiple first freight rate data as the second freight rate data to obtain multiple second freight rate data.

[0011] Furthermore, the data processing method also includes: determining, based on the target release data, second fare data matching the second agent object from multiple second fare data, to obtain at least one target second fare data; obtaining a target sales channel matching the agent group to which the second agent object belongs, wherein the target sales channel refers to a channel through which the target airline allows the agent objects in the agent group to sell fares; and when the target sales channel is the same as the sales channel in the fare query request, determining the at least one target second fare data as at least one third fare data.

[0012] According to another aspect of an embodiment of the present invention, a data processing device is also provided, including: an acquisition module, used to acquire multiple air agreements and agreement information of the air agreements of a target airline, and acquire multiple agent groups, wherein the air agreement includes multiple fare data of the target airline, the agreement information includes the effective time range and publication status of the air agreement, and the agent group includes multiple agent objects; a first determination module, used to determine the air agreement to be published from the multiple air agreements according to the effective time range and publication status in the agreement information when receiving a query request for the agreement to be published from the user; a second determination module, used to determine the target air agreement from the air agreements to be published according to the publication data generation request when receiving a publication data generation request from the user, and determine the target agent group from the multiple agent groups according to the publication data generation request; a processing module, used to establish a matching relationship between the target air agreement and the target agent group to obtain the target publication data.

[0013] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned data processing method when running.

[0014] According to another aspect of an embodiment of the present invention, an electronic device is also provided, which includes one or more processors; a memory for storing one or more programs, which enables the one or more processors to run the programs when the one or more programs are executed by the one or more processors, wherein the programs are configured to execute the above-mentioned data processing method when running.

[0015] In an embodiment of the present invention, a method for generating fare publishing data based on airline agreements and agent groups is adopted. By obtaining multiple airline agreements and agreement information of the target airline, and obtaining multiple agent groups, and then, upon receiving a user's query request for a pending agreement, the airline agreement to be published is determined from the multiple airline agreements based on the effective time range and publishing status in the agreement information. Then, upon receiving a user's request to generate publishing data, the target airline agreement is determined from the pending airline agreements based on the publishing data generation request, and the target agent group is determined from the multiple agent groups based on the publishing data generation request, thereby establishing a matching relationship between the target airline agreement and the target agent group, and obtaining the target publishing data. The airline agreement includes multiple fare data of the target airline, the agreement information includes the effective time range and publishing status of the airline agreement, and the agent group includes multiple agent objects.

[0016] In the above process, by setting the airline agreement to include multiple fare data of the target airline, the agent group to include multiple agent objects, and upon receiving the user's request to generate published data, a matching relationship is established between the target airline agreement and the target agent group to obtain the target published data, thereby achieving the matching relationship between multiple fare data and agent objects represented by one target published data, thereby effectively reducing the amount of published data that needs to be generated, and further effectively reducing the occupancy of database resources used to store published data, as well as reducing the occupancy of processing resources relied upon when generating published data.

[0017] It can be seen that the solution provided in this application achieves the purpose of generating fare release data based on aviation agreements and agent groups, thereby achieving the technical effect of reducing the occupation of system resources, and further solving the technical problem of occupying a large amount of system resources when the relevant technology generates fare release data for agent objects. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0019] Figure 1 This is a schematic diagram of an optional data processing method according to an embodiment of the present invention. Figure 1 ;

[0020] Figure 2 This is a schematic diagram of an optional data processing method according to an embodiment of the present invention. Figure 2 ;

[0021] Figure 3 is a schematic diagram of an optional data processing device according to an embodiment of the present invention;

[0022] Figure 4 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0024] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0026] Example 1

[0027] According to an embodiment of the present invention, an embodiment of a data processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0028] Figure 1 This is a schematic diagram of an optional data processing method according to an embodiment of the present invention. Figure 1 ,like Figure 1 As shown, the method includes the following steps:

[0029] Step S101: Acquire multiple air agreements and agreement information of the target airline, and acquire multiple agent groups, wherein the air agreement includes multiple fare data of the target airline, the agreement information includes the effective time range and release status of the air agreement, and the agent group includes multiple agent objects.

[0030] Optionally, electronic devices, application systems, servers and other devices can be used as the execution subject of this application. In this embodiment, the target processing system is used as the execution subject to execute the data processing method. Among them, the above-mentioned airline can be understood as an airline.

[0031] In some embodiments, the process of maintaining agreement information for a target airline is described. Optionally, the agreement information includes, but is not limited to, the airline to which the aviation agreement belongs, the agreement number, the agreement effective date, the agreement expiration date, the publication status, the sales department, and other information. The time range between the aforementioned agreement effective date and the agreement expiration date is the effective time range of the aviation agreement.

[0032] Optionally, when creating or updating agreement information, the target airline will perform a data validity check on the agreement information. The data validity check includes but is not limited to: (1) verifying that the agreement number is a maximum of 15 bytes; (2) verifying that the agreement effective date must be later than the current date; (3) verifying that the agreement expiration date must be later than or equal to the agreement effective date; and (4) verifying that the publication status must be unpublished. After the above verification is passed, the target airline can save the agreement information to the target storage area, which can be a freight rate data cluster.

[0033] For example, assuming that the airline is XO, the agreement information maintained by the airline can be shown in Table 1:

[0034] Table 1

[0035]

[0036] In some embodiments, a process for a target airline to maintain an air agreement is described. Optionally, the air agreement includes multiple fare data of the target airline, including but not limited to the airline to which the fare data belongs, the agreement number to which the fare data belongs, the fare data effective date, the fare data expiration date, the earliest travel date, the latest travel date, the origin code, the destination code, the booking class, and the adult fare corresponding to the booking class.

[0037] In some embodiments, the airline to which the fare data belongs is the same as the airline in the agreement information of the aviation agreement to which the fare data belongs.

[0038] In some embodiments, the time range between the effective date of the fare data and the expiration date of the fare data is within the time range between the effective date and the expiration date of the agreement in the aviation agreement to which the fare data belongs. For example, assuming that the effective date of the agreement is 20231001 and the expiration date of the agreement is 20241231, the effective date of the fare data can be 20241001 and the expiration date of the fare data can be 20241031. For another example, assuming that the effective date of the agreement is 20231001 and the expiration date of the agreement is 20241231, the effective date of the fare data can be 20231001 and the expiration date of the agreement can be 20241231.

[0039] Optionally, the time range between the earliest travel date and the latest travel date is the valid time range for the cabin price.

[0040] Optionally, when creating or updating the fare data in the air agreement, the target airline will perform a data validity check on the fare data. The data validity check includes but is not limited to: (1) verifying that the agreement number is not in the unpublished or ineffective state; (2) verifying that the fare data effective date must be later than the current date; (3) verifying that the fare data expiration date must be later than or equal to the fare data effective date; (4) verifying that the booking class can only be a single uppercase letter; (5) verifying that the maximum adult fare limit can only be 99999.999. After the above checks are passed, the target airline can save the fare data to the target storage area, which can be a fare data cluster.

[0041] For example, the freight rate data maintained by airline XO under the agreement numbered "Agreement 02" can be shown in Table 2:

[0042] Table 2

[0043]

[0044] The freight rate data maintained by airline XO under the agreement numbered "Agreement 03" can be shown in Table 3:

[0045] Table 3

[0046]

[0047] Optionally, the target processing system may obtain multiple aviation agreements of the target airline and the agreement information of the aviation agreements from the above-mentioned target storage area.

[0048] In some embodiments, the process of maintaining an agent group by a target airline is described. The agent group's group information includes, but is not limited to, the group's airline, group ID, group name, IDs (i.e., identifiers) of the agent objects within the agent group, and channels (e.g., online, offline). The agent objects can be agents or agents.

[0049] Optionally, when creating or updating an agent group, the target airline will perform a data validity check on the agent group's group information. The data validity check includes but is not limited to: (1) verifying that the group number cannot be empty; (2) verifying that the group number can only be a maximum of 37 bytes; (3) verifying that the agent number exists; and (4) verifying that the channel exists.

[0050] After the above verification is passed, the data is saved to the freight data cluster. After the above verification is passed, the target airline can save the freight data to the target storage area, which can be the freight data cluster.

[0051] For example, the group information of two newly created agent groups of airline XO can be shown in Table 4:

[0052] Table 4

[0053]

[0054] Optionally, the target processing system may obtain multiple proxy groups according to the group information in the target storage area.

[0055] Step S102: upon receiving a query request for a to-be-published agreement from a user, determining an aviation agreement to be published from a plurality of aviation agreements according to the effective time range and publishing status in the agreement information.

[0056] Optionally, in some embodiments, the user refers to an administrator in the target airline, and the user can customize the release of each aviation agreement, for example, determine the release method according to its own fare strategy.

[0057] In this embodiment, the release of the freight rate data can be understood as a process of establishing a matching relationship between the freight rate data and the proxy object, which does not refer to a process of sending the freight rate data to the proxy object.

[0058] Optionally, the query request for the pending agreement is used to request a query for the pending agreement. When the target processing system receives the query request for the pending agreement, it can determine the effective time range and the publishing status from the protocol information of multiple aviation protocols, thereby determining the pending aviation agreement from the multiple aviation protocols based on the effective time range and the publishing status.

[0059] For example, the target processing system may determine an unpublished, uneffective aviation agreement containing fare data as an aviation agreement to be published.

[0060] Step S103 , upon receiving the user's publishing data generation request, determining a target aviation agreement from the aviation agreements to be published according to the publishing data generation request, and determining a target agent group from multiple agent groups according to the publishing data generation request.

[0061] Optionally, the release data generation request includes information about the target air protocol and information about the target agent group. The target air protocol information may refer to the protocol number of the target air protocol, and the target agent group information may refer to the group number of the target agent group. Therefore, the target processing system can determine the target air protocol and target agent group based on the target air protocol information and the target agent group information.

[0062] Step S104: establishing a matching relationship between the target aviation agreement and the target agent group to obtain target release data.

[0063] Optionally, after determining the target aviation protocol and the target agent group, the target processing system may establish a matching relationship between the target aviation protocol and the target agent group, obtain target publishing data, and store the generated publishing data in the target storage area.

[0064] Optionally, establishing a matching relationship between the target air agreement and the target agent group is equivalent to a process of quickly establishing a matching relationship between freight rate data and agent objects.

[0065] Optionally, upon receiving the target release data, the target processing system determines that the release of the fare data in the target airline agreement has been completed. Specifically, in this embodiment, the release of fare data can be understood as the process of establishing a matching relationship between the fare data and the proxy object, and does not refer to the process of sending the fare data to the proxy object. It should be noted that establishing a matching relationship between fare data and the proxy object, i.e., releasing the fare data to the proxy object, is equivalent to determining that the proxy object is permitted to sell the fares in the fare data, i.e., determining that the proxy object is permitted to sell air tickets to passengers based on the fare data.

[0066] Optionally, after obtaining the target release data, the target processing system may update the release status in the protocol information of the target aviation protocol to released.

[0067] For example, assuming that the protocol numbered "Protocol 02" in Table 1 is determined as the target aviation protocol, and the group in Table 4 is determined as the target agent group, the generated target release data may be as shown in Table 5:

[0068] Table 5

[0069] airline Agreement Number Group Number Sales restrictions Change restrictions XO Protocol 02 Group 01 allow allow XO Protocol 02 Group 02 allow Not allowed

[0070] Optionally, users can set different sales and change permissions for different groups. The agreement numbered "Agreement 03" in Table 1 above is not published. Therefore, the publishing status of the agreement numbered "Agreement 03" is still "pending publication", which can also be called "unpublished".

[0071] Optionally, the updated protocol information of the protocol numbered "Protocol 02" may be as shown in Table 6:

[0072] Table 6

[0073]

[0074] It should be noted that by avoiding directly establishing a matching relationship between fare data and proxy objects during the process of generating fare publication data and instead establishing a matching relationship between the target airline agreement and the target proxy group, the storage of redundant data can be effectively reduced. For example, if 100 fare data items are to be published to five proxy objects, each piece of operating data needs to be matched with each of the five proxy objects, resulting in 500 published data items. However, in this embodiment, these 100 fare data items can be combined into one airline agreement, and the five proxy objects can be combined into one proxy group, reducing the number of published data items to one. This significantly saves database resources and the processing resources required to generate published data, thereby improving the efficiency of fare data publication and data push in subsequent applications.

[0075] Based on the scheme defined in steps S101 to S104 above, it can be seen that in an embodiment of the present invention, a method of generating fare publishing data based on airline agreements and agent groups is adopted. By obtaining multiple airline agreements and agreement information of the target airline, and obtaining multiple agent groups, and then, upon receiving a user's query request for a pending agreement, the airline agreement to be published is determined from the multiple airline agreements based on the effective time range and publishing status in the agreement information. Then, upon receiving a user's request to generate publishing data, the target airline agreement is determined from the pending airline agreements based on the publishing data generation request, and the target agent group is determined from the multiple agent groups based on the publishing data generation request, thereby establishing a matching relationship between the target airline agreement and the target agent group, and obtaining the target publishing data. In this case, the airline agreement includes multiple fare data of the target airline, the agreement information includes the effective time range and publishing status of the airline agreement, and the agent group includes multiple agent objects.

[0076] It is easy to notice that in the above process, by setting the airline agreement to include multiple fare data of the target airline, the agent group includes multiple agent objects, and when receiving the user's request to generate published data, a matching relationship is established between the target airline agreement and the target agent group to obtain the target published data, thereby realizing the matching relationship between multiple fare data and agent objects represented by one target published data, thereby effectively reducing the number of published data that needs to be generated, and further effectively reducing the occupancy of database resources used to store published data, as well as reducing the occupancy of processing resources relied upon when generating published data.

[0077] It can be seen that the solution provided in this application achieves the purpose of generating fare release data based on aviation agreements and agent groups, thereby achieving the technical effect of reducing the occupation of system resources, and further solving the technical problem of occupying a large amount of system resources when the relevant technology generates fare release data for agent objects.

[0078] In an optional embodiment, the publishing status includes a published status and a to-be-published status, wherein, in the process of determining the to-be-published aviation agreement from multiple aviation agreements based on the effective time range and the publishing status in the agreement information, the target processing system can determine the ineffective aviation agreement from the multiple aviation agreements based on the effective time range and the current time, obtain the candidate aviation agreement, and then determine the candidate aviation agreement whose publishing status is the to-be-published status as the to-be-published aviation agreement.

[0079] Optionally, the target processing system determines the aviation agreements whose effective time range starts later than the current time as ineffective aviation agreements. Thereafter, the target processing system determines the candidate aviation agreements whose release status is pending release as pending release aviation agreements.

[0080] For example, if the current time is January 1, 2024, the aviation agreements to be released are located from the aviation agreements in Table 1 as shown in Table 7:

[0081] Table 7

[0082] airline Agreement Number Effective Date expiration date Release Status XO Protocol 02 20241001 20241231 Unpublished XO Protocol 03 20241101 20241231 Unpublished

[0083] It should be noted that, through the above process, accurate determination of the aviation agreement to be issued is achieved.

[0084] In an optional embodiment, during the process of establishing a matching relationship between a target aviation agreement and a target proxy group and obtaining target publication data, the target processing system may determine whether authorization information for a proxy object in the target proxy group exists in the publication data generation request. If authorization information for a proxy object in the target proxy group does not exist, a matching relationship between the target aviation agreement and the target proxy group is established to obtain the target publication data. If authorization information for a proxy object in the target proxy group exists, a first proxy object is determined from the target proxy group based on the authorization information, thereby establishing a matching relationship between the target aviation agreement and the target proxy group, and an identifier of the first proxy object is recorded in the matching relationship to obtain the target publication data. The authorization information is used to indicate whether the aviation agreement to be published is permitted to be published to the proxy object, or whether the aviation agreement to be published is prohibited to be published to the proxy object.

[0085] Optionally, when publishing a pending aviation agreement to a target proxy group, the user can specify in a more granular manner which proxy objects within the target proxy group the agreement should be published to. Therefore, upon receiving a request to generate publication data, the target processing system can determine whether the request contains authorization information for a proxy object within the target proxy group. If not, the pending aviation agreement will be published to all persons within the target proxy group. This allows a direct matching relationship between the target aviation agreement and the target proxy group to be obtained.

[0086] If so, if authorization information exists for a proxy object in the target proxy group, a first proxy object is determined from the target proxy group based on the authorization information. For example, if the authorization information indicates that the to-be-published aviation agreement is permitted to be published to the proxy object, the proxy object pointed to by the authorization information in the target proxy group is determined as the first proxy object. If the authorization information indicates that the to-be-published aviation agreement is prohibited to be published to the proxy object, the proxy object in the target proxy group that is not pointed to by the authorization information is determined as the first proxy object.

[0087] Afterwards, the target processing system may establish a matching relationship between the target aviation protocol and the target agent group, and record the identifier of the first agent object in the matching relationship to obtain the target release data.

[0088] It should be noted that, through the above process, the flexibility of the content of the published data is improved while ensuring the efficiency of generating the published data, thereby effectively improving the applicability of the method provided in this application.

[0089] In an optional embodiment, the fare data includes routes, cabin space, cabin price, and a valid time range of the cabin price. After obtaining the target publication data, the target processing system can, upon receiving a fare query request from the second proxy object, determine the object identifier, target route, target cabin space, and take-off time range of the second proxy object from the fare query request, and then filter the fare data in multiple air agreements based on the target route, target cabin space, and take-off time range to obtain multiple first fare data. Then, filter the multiple first fare data based on the publication status of the air agreements to which the multiple first fare data belong to obtain multiple second fare data, and filter the multiple second fare data based on the object identifier and target publication data of the second proxy object to obtain at least one third fare data, thereby determining a request processing result for the fare query request based on the at least one third fare data, and feeding back the request processing result to the second proxy object.

[0090] Optionally, a passenger may query fares at a second proxy object. Upon receiving the passenger's fare query request, the second proxy object may generate a fare query request for the target processing system based on the passenger's fare query request. The passenger's fare query request includes the target route, target class, and departure time range, and the second proxy object's fare query request includes the second proxy object's object identifier, target route, target class, and departure time range.

[0091] For example, on November 1, 2024, a passenger requests to purchase a ticket from the second agent for a flight from Beijing to Shanghai with a flight date of November 15, 2024. An optional fare inquiry request to the second agent may include the following content: the route is Beijing-Shanghai, the booking class is Y class, the agent number is XXX001, the sales channel is the online channel, and the flight date is 20241115.

[0092] Optionally, when the target processing system receives the fare query request from the second agent object, it extracts the target route, target class, and take-off time range from the fare query request from the second agent object, and then, based on the target route, target class, and take-off time range, filters out fare data with the same route, the same class, and an effective time range including the take-off time range from multiple aviation agreements to obtain the first fare data.

[0093] Afterwards, the target processing system may verify the release status of the aviation agreement to which the first freight rate data belongs, so as to filter and obtain a plurality of second freight rate data according to the verification result.

[0094] Next, the target processing system can filter the multiple second freight rate data based on the object identifier of the second proxy object and the target publication data to obtain at least one third freight rate data. For example, if a second freight rate data is published to the second proxy object, the second freight rate data is determined to be third freight rate data. Conversely, if a second freight rate data is not published to the second proxy object, the second freight rate data is determined not to be third freight rate data. For another example, the target processing system can also filter the second freight rate data based on the publication relationship and sales channel to obtain third freight rate data.

[0095] After obtaining the at least one third freight rate data, the target processing system may determine a request processing result for the freight rate query request based on the at least one third freight rate data and feedback the request processing result to the second proxy object. For example, the request processing result may be generated based on all content in the third freight rate data, or based on the space price in the third freight rate data.

[0096] Optionally, after the target processing system feeds back the request processing result to the second agent object, the second agent object may feed back the class price in the request processing result to the passenger in a graphical manner, so that the passenger can purchase a ticket based on the class price.

[0097] It should be noted that, through the above process, when a fare query request is received from the second agent, accurate and marketable fares are fed back to the second agent based on the target release data, thereby improving the passenger experience.

[0098] In an optional embodiment, in the process of screening the fare data in multiple aviation agreements according to the target route, target class and departure time range to obtain multiple first fare data, the target processing system can determine the fare data including the target route and target class from the multiple aviation agreements to obtain multiple candidate first fare data, so that for each candidate first fare data, if the departure time range is within the valid time range in the candidate first fare data, the candidate first fare data is determined as the first fare data to obtain multiple first fare data.

[0099] For example, suppose the second agent's fare query request includes the following: the route (i.e., target route) is Beijing-Shanghai, the booking class (i.e., target class) is Y class, and the flight date (i.e., departure time range) is 2024-11-15, which is November 15, 2024. First, fare data including the target route and target class can be determined from multiple air travel agreements to obtain multiple candidate first fare data. Next, a candidate first fare data is found whose departure time range falls within the valid time range of the candidate first fare data and is determined as the first fare data. For example, if the valid time range is 2023-01-12 (i.e., January 12, 2023, to June 12, 2023), then the departure time range is not within this valid time range. However, if the valid time range is 2024-01-01 (2024-12-01), then the departure time range is within this valid time range.

[0100] Based on the target route, target class, and departure time range in the above-mentioned fare query request, the first fare data shown in Table 8 can be filtered out from the fare data shown in Table 2 and Table 3:

[0101] Table 8

[0102]

[0103] Optionally, for each candidate first fare data, if the departure time range is not within the valid time range of the candidate first fare data, the candidate first fare data is not determined as the first fare data.

[0104] It should be noted that, through the above process, effective screening of fare data that meets the passenger's route, cabin space and departure time requirements is achieved.

[0105] In an optional embodiment, the publishing status includes a published status and a to-be-published status, wherein, in the process of filtering multiple first fare data according to the publishing status of the aviation agreement to which the multiple first fare data belong to obtain multiple second fare data, the target processing system can determine the first fare data in the published state among the multiple first fare data as the second fare data to obtain multiple second fare data.

[0106] For example, assuming that protocol 02 in Table 2 and Table 3 is in the published state and protocol 03 is in the pending state, it can be determined that the first freight rate data in Table 8 is the second freight rate data, and the second freight rate data in Table 8 is not the second freight rate data.

[0107] It should be noted that, through the above process, effective screening of fare data that can be sold to passengers is achieved.

[0108] In an optional embodiment, in the process of screening multiple second fare data according to the object identifier and target publication data of the second agent object to obtain at least one third fare data, the target processing system can determine the second fare data matching the second agent object from the multiple second fare data according to the target publication data to obtain at least one target second fare data, and then obtain the target sales channel matching the agent group to which the second agent object belongs, wherein the target sales channel refers to the channel through which the target airline allows the agent objects in the agent group to sell fares, so that when the target sales channel is the same as the sales channel in the fare query request, the at least one target second fare data is determined as the at least one third fare data.

[0109] Optionally, assuming that the freight rate query request of the second agent object includes the following content: the agent number is XXX001, and the sales channel is an online channel, then for each second freight rate data, the target processing system can determine whether the second freight rate data matches the "agent number XXX001" according to the target release data. If it matches, the second freight rate data is determined as the target second freight rate data; if it does not match, the second freight rate data is not determined as the target second freight rate data.

[0110] Optionally, after determining the target second freight rate data, the target processing system can determine the target sales channel that matches the agent group to which the second agent belongs based on the group information. For example, in Table 4 above, the target sales channel that matches the group containing number XXX001 is an online channel. Therefore, the target processing system can determine whether the sales channel in the freight rate query request is an online channel. If so, the target second freight rate data is determined as the third freight rate data; otherwise, the target second freight rate data is not determined as the third freight rate data.

[0111] It should be noted that by screening the freight rate data according to the correspondence between the agent object and the freight rate data, the freight rate that the agent object is allowed to sell is determined in a targeted manner, thereby further improving the accuracy of determining the third freight rate data.

[0112] In an optional embodiment, according to Figure 2 An optional data processing method of this embodiment is described. Figure 2 This is a schematic diagram of an optional data processing method according to an embodiment of the present invention. Figure 2 ,like Figure 2As shown, before the fare is released, the target airline can maintain the data. The target airline can log in to the fare release front end (i.e., the target processing system front end) to maintain the agreement data (i.e., agreement information), fare data, group data, and corresponding sales rule data. During the fare release stage, the target airline is supported to publish an agreement containing fare data to one or more groups containing different agent objects, and can specify whether the agent objects in the group are allowed to sell and whether change permissions are allowed. Among them, the agreement data, fare data, group data, fare release data, sales rules and other data maintained by the target airline through the private fare front end can be stored in the fare data cluster. For example, the target airline locates the unpublished, ineffective and private fare data-containing agreements based on various query conditions such as the agreement number, effective status, and release status, and publishes them to the group containing the specified agent number based on the agreement itself. The generated release data is stored in the fare data cluster, and the release status of the agreement is updated to be released.

[0113] like Figure 2 As shown, after the freight rate is released, the freight rate calculation stage begins. In the freight rate calculation stage, the freight rate release system (i.e., the target processing system) is used to cache and load the data in the freight rate data cluster required for the freight rate calculation stage, receive the calculation request (i.e., the freight rate query request) from the freight rate sales terminal (i.e., the terminal held by the agent object), and search for the freight rate data that meets the conditions in the cache according to the route, booking class, agent number, sales channel and other information in the request. Then, the release status of the agreement to which the freight rate belongs is verified, and the agent information and permissions contained in the agreement release group are verified (i.e., release data verification). After the verification is passed, the calculation result is returned to the freight rate sales terminal. Optional, such as Figure 2 As shown, the fare sales terminal is used to receive fare calculation requests from passengers from various channels, send a calculation request to the fare publishing system based on the passenger's calculation request to query the fare, and transmit the fare calculation results back to the fare sales terminal, which ultimately displays them to the passenger in a graphical form. Optionally, passengers can log in through various sales terminals such as mobile or computer applications, select their origin, destination, and flight date, triggering a domestic fare calculation request. The calculation results are then displayed to the passenger in a graphical form through various sales terminals.

[0114] It can be seen that the solution provided in this application achieves the purpose of generating fare release data based on aviation agreements and agent groups, thereby achieving the technical effect of reducing the occupation of system resources, and further solving the technical problem of occupying a large amount of system resources when the relevant technology generates fare release data for agent objects.

[0115] Example 2

[0116] According to an embodiment of the present invention, an embodiment of a data processing device is provided, wherein: Figure 3 is a schematic diagram of an optional data processing device according to an embodiment of the present invention, such as Figure 3 As shown, the device includes:

[0117] Acquisition module 301 is used to acquire multiple air agreements and agreement information of the air agreements of the target airline, and acquire multiple agent groups, wherein the air agreements include multiple fare data of the target airline, the agreement information includes the effective time range and release status of the air agreements, and the agent groups include multiple agent objects;

[0118] The first determining module 302 is configured to, upon receiving a request from a user to query a pending agreement, determine a pending agreement from among multiple agreements based on the effective time range and the publishing status in the agreement information;

[0119] The second determining module 303 is configured to, upon receiving a user's publishing data generation request, determine a target air agreement from the air agreements to be published according to the publishing data generation request, and determine a target agent group from a plurality of agent groups according to the publishing data generation request;

[0120] The processing module 304 is used to establish a matching relationship between the target aviation protocol and the target agent group to obtain target release data.

[0121] It should be noted that the above-mentioned acquisition module 301, first determination module 302, second determination module 303 and processing module 304 correspond to steps S101 to S104 in the above-mentioned embodiment. The examples and application scenarios implemented by the four modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0122] Optionally, the first determination module also includes: a first determination sub-module, used to determine an ineffective aviation agreement from multiple aviation agreements based on the effective time range and the current time to obtain a candidate aviation agreement; and a second determination sub-module, used to determine a candidate aviation agreement whose publication status is a pending publication status as a pending publication aviation agreement.

[0123] Optionally, the second determination module also includes: a judgment submodule, used to judge whether there is authorization information for the proxy object in the target proxy group in the release data generation request, wherein the authorization information is used to indicate that the aviation agreement to be released is allowed to be released to the proxy object, or that the aviation agreement to be released is prohibited to be released to the proxy object; a third determination submodule, used to establish a matching relationship between the target aviation agreement and the target proxy group if there is no authorization information for the proxy object in the target proxy group, and obtain the target release data; a fourth determination submodule, used to determine the first proxy object from the target proxy group based on the authorization information if there is authorization information for the proxy object in the target proxy group; a processing submodule, used to establish a matching relationship between the target aviation agreement and the target proxy group, and record the identifier of the first proxy object in the matching relationship to obtain the target release data.

[0124] Optionally, the data processing device also includes: a third determination module, which is used to determine the object identifier, target route, target class, and take-off time range of the second proxy object from the fare query request when receiving the fare query request of the second proxy object; a first screening module, which is used to screen the fare data in multiple aviation agreements according to the target route, target class, and take-off time range to obtain multiple first fare data; a second screening module, which is used to screen the multiple first fare data according to the publication status of the aviation agreements to which the multiple first fare data belong to, to obtain multiple second fare data; a third screening module, which is used to screen the multiple second fare data according to the object identifier and target publication data of the second proxy object to obtain at least one third fare data; a fourth determination module, which is used to determine the request processing result for the fare query request based on the at least one third fare data, and to feed back the request processing result to the second proxy object.

[0125] Optionally, the first screening module also includes: a fifth determination submodule, used to determine the fare data including the target route and target cabin space from multiple aviation agreements, and obtain multiple candidate first fare data; a sixth determination submodule, used to, for each candidate first fare data, if the take-off time range is within the valid time range in the candidate first fare data, determine the candidate first fare data as the first fare data, to obtain multiple first fare data.

[0126] Optionally, the second screening module further includes: a seventh determining submodule, configured to determine the first freight rate data in a published state among the plurality of first freight rate data as the second freight rate data, so as to obtain the plurality of second freight rate data.

[0127] Optionally, the third screening module also includes: an eighth determination submodule, used to determine, based on the target release data, the second fare data matching the second agent object from multiple second fare data, and obtain at least one target second fare data; an acquisition submodule, used to obtain the target sales channel matching the agent group to which the second agent object belongs, wherein the target sales channel refers to the channel through which the target airline allows the agent objects in the agent group to sell fares; a ninth determination submodule, used to determine at least one target second fare data as at least one third fare data when the target sales channel is the same as the sales channel in the fare query request.

[0128] Example 3

[0129] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned data processing method when running.

[0130] Example 4

[0131] According to another aspect of an embodiment of the present invention, an electronic device is provided, wherein: Figure 4 is a schematic diagram of an optional electronic device according to an embodiment of the present invention, such as Figure 4 As shown, the electronic device includes one or more processors; a memory for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the above-mentioned data processing method when running.

[0132] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0133] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0134] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0135] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected to achieve the purpose of the present embodiment according to actual needs.

[0136] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0137] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc. Various media that can store program codes.

[0138] The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A data processing method, characterized in that: include: Obtain multiple air agreements of a target airline and agreement information of the air agreements, and obtain multiple agent groups, wherein the air agreements include multiple fare data of the target airline, the agreement information includes the effective time range and release status of the air agreements, and the agent groups include multiple agent objects; Upon receiving a request from a user to query for agreements to be published, determining an aviation agreement to be published from the plurality of aviation agreements according to the effective time range and the publishing status in the agreement information; Upon receiving a publishing data generation request from the user, determining a target aviation agreement from the aviation agreements to be published according to the publishing data generation request, and determining a target agent group from the plurality of agent groups according to the publishing data generation request; A matching relationship between the target aviation agreement and the target agent group is established to obtain target release data.

2. The method according to claim 1, characterized in that The publishing status includes a published status and a pending publishing status, wherein determining the pending aviation agreement from the plurality of aviation agreements based on the effective time range and the publishing status in the agreement information includes: Determining, based on the effective time range and the current time, an uneffective aviation agreement from the multiple aviation agreements to obtain a candidate aviation agreement; The candidate aviation agreement whose publishing status is the to-be-published state is determined as the to-be-published aviation agreement.

3. The method according to claim 1, characterized in that Establishing a matching relationship between the target aviation agreement and the target agent group to obtain target release data includes: Determining whether the publishing data generation request contains authorization information for a proxy object in the target proxy group, wherein the authorization information is used to indicate whether publishing the to-be-published aviation agreement to the proxy object is permitted or prohibited; If there is no authorization information for the agent object in the target agent group, a matching relationship between the target aviation protocol and the target agent group is established to obtain the target release data; If authorization information exists for the proxy object in the target proxy group, determining a first proxy object from the target proxy group based on the authorization information; A matching relationship between the target aviation agreement and the target agent group is established, and the identifier of the first agent object is recorded in the matching relationship to obtain the target release data.

4. The method according to claim 1, wherein The freight rate data includes routes, space, space selling price, and the effective time range of the space selling price. After obtaining the target release data, the method further includes: Upon receiving a fare inquiry request from a second agent, determining the object identifier, target route, target space, and departure time range of the second agent from the fare inquiry request; Filtering the fare data in the plurality of air agreements according to the target route, the target space, and the take-off time range to obtain a plurality of first fare data; Filtering the plurality of first fare data according to the release status of the aviation agreements to which the plurality of first fare data belong to obtain a plurality of second fare data; filtering the plurality of second freight rate data according to the object identifier of the second proxy object and the target publishing data to obtain at least one third freight rate data; A request processing result for the freight rate query request is determined based on the at least one third freight rate data, and the request processing result is fed back to the second proxy object.

5. The method according to claim 4, characterized in that The fare data in the plurality of air agreements are screened according to the target route, the target space, and the take-off time range to obtain a plurality of first fare data, including: Determining, from the plurality of air transport agreements, freight rate data including the target route and the target space, to obtain a plurality of candidate first freight rate data; For each candidate first fare data, if the departure time range is within the valid time range of the candidate first fare data, the candidate first fare data is determined as the first fare data to obtain the plurality of first fare data.

6. The method according to claim 4, characterized in that The publishing status includes a published status and a pending publishing status, wherein the plurality of first fare data are filtered according to the publishing status of the air agreement to which the plurality of first fare data belong to obtain a plurality of second fare data, including: The first freight rate data in the published state among the plurality of first freight rate data are determined as the second freight rate data to obtain the plurality of second freight rate data.

7. The method according to claim 4, characterized in that The plurality of second freight rate data are filtered according to the object identifier of the second proxy object and the target publication data to obtain at least one third freight rate data, including: determining, according to the target published data, second freight rate data matching the second proxy object from the plurality of second freight rate data, and obtaining at least one target second freight rate data; Obtaining a target sales channel that matches the agent group to which the second agent belongs, wherein the target sales channel refers to a channel through which the target airline allows the agent in the agent group to sell fares; In a case where the target sales channel is the same as the sales channel in the freight rate query request, the at least one target second freight rate data is determined as the at least one third freight rate data.

8. A data processing device, characterized in that: include: an acquisition module, configured to acquire multiple air agreements of a target airline and agreement information of the air agreements, and acquire multiple agent groups, wherein the air agreements include multiple fare data of the target airline, the agreement information includes the effective time range and release status of the air agreements, and the agent groups include multiple agent objects; A first determining module is configured to, upon receiving a query request for a to-be-published agreement from a user, determine an aviation agreement to be published from the plurality of aviation agreements based on an effective time range and a publishing status in the agreement information; a second determining module configured to, upon receiving a publishing data generation request from the user, determine a target aviation agreement from the aviation agreements to be published according to the publishing data generation request, and determine a target agent group from the plurality of agent groups according to the publishing data generation request; The processing module is used to establish a matching relationship between the target aviation protocol and the target agent group to obtain target release data.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the data processing method according to any one of claims 1 to 7 when run.

10. An electronic device, characterized in that: The electronic device includes one or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the data processing method described in any one of claims 1 to 7 when run.

Citation Information

Patent Citations

  • Process-visualized freight rate calculation method, medium, equipment and system

    CN112035200A

  • Data processing method and device and server

    CN112307065A