Data processing method and device, storage medium and electronic device

Through data processing methods, the English service logo of international brand freight rates is converted into a language that users can understand, solving the problem that non-English users cannot clarify the service content and improving the user experience.

CN114691692BActive Publication Date: 2025-05-13TRAVELSKY TECHNOLOGY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210342760.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-02
Publication Date
2025-05-13
Estimated Expiration
2042-04-02

AI Technical Summary

Technical Problem

In the prior art, service marks related to international brand freight rates are usually transmitted in English, resulting in non-English users being unable to identify the services contained in the purchased international brand freight rates, and the user experience is poor.

Method used

Through a data processing method, business data is obtained and its business scenarios and matching information are determined, including object identification and brand freight rate first type service identification. Then, based on the matching method of the business scenario, the matching information is matched with the preset configuration table. If the match is successful, the corresponding second type service identifier is obtained. If the match fails, the first type service identifier is returned.

Benefits of technology

The first type of service identification is transformed into a second type of service identification that can be understood by the user, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114691692B_ABST
    Figure CN114691692B_ABST
Patent Text Reader

Abstract

The present invention provides a data processing method and device, a storage medium and an electronic device, the method comprising: in response to a data processing instruction, obtaining business data corresponding to the data processing instruction; determining the business scenario of the business data and each matching information corresponding to the business data; the matching information includes an object identifier and a first type of service identifier of a brand freight rate; based on the matching method corresponding to the business scenario, each matching information is matched with a preset configuration table; for each matching information, if the matching information successfully matches the configuration table, then in the configuration table that successfully matches the matching information, a second type of service identifier corresponding to the first type of service identifier in the matching information is obtained. By applying the method provided by the present invention, the second type of service identifier corresponding to the first type of service identifier can be quickly obtained, that is, the first type of service identifier can be converted into a second type of service identifier that can be understood by the user, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In recent years, air transport has gradually become one of the main modes of transportation. When doing business or traveling, more and more users choose airplanes as a fast means of transportation. Faced with a large number of passengers, the method of initially dividing service differences based on simple physical cabins and cabins and adding different restrictions to fares through restrictive rules to achieve differentiated fares based on passengers' willingness to pay and travel flexibility can no longer meet the multi-level, diversified and personalized needs of the increasingly large passenger system.

[0003] In order to meet the personalized needs of users, airlines have launched branded products, which are new ticket products that bundle traditional ticket prices with various service rights. However, in the prior art, the service logos related to international brand fares are usually transmitted in a specific language, such as English. For non-English users, it is impossible to clearly understand the services included in the international brand fares they purchased, resulting in poor user experience. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a data processing method, which can convert a first type of service identifier into a second type of service identifier that can be understood by a user, thereby improving the user experience.

[0005] The present invention also provides a data processing device to ensure the implementation and application of the above method in practice.

[0006] A data processing method, comprising:

[0007] In response to the data processing instruction, obtaining business data corresponding to the data processing instruction;

[0008] Determine the business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate;

[0009] Based on the matching method corresponding to the business scenario, each of the matching information is matched with a preset configuration table;

[0010] For each of the matching information, the matching information needs to be matched with the multiple configuration tables one by one. If the match is successful, the second type of service identifier corresponding to the first type of service identifier in the matching information is obtained from the configuration table that successfully matches the matching information and the process is terminated. Otherwise, it is necessary to continue matching with the remaining configuration tables; if the match with all the configuration tables fails, the first type of service identifier is directly returned.

[0011] A data processing device, comprising:

[0012] A first acquisition unit, configured to acquire, in response to a data processing instruction, business data corresponding to the data processing instruction;

[0013] A determination unit, configured to determine a business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate;

[0014] A matching unit, configured to match each of the matching information with a preset configuration table based on a matching method corresponding to the business scenario;

[0015] The second acquisition unit is configured to acquire, for each piece of matching information, a second type service identifier corresponding to the first type service identifier in the matching information from the configuration table that successfully matches the matching information if the matching information matches the configuration table successfully.

[0016] A storage medium includes storage instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the data processing method as described above.

[0017] An electronic device includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to perform the above data processing method.

[0018] Based on the above-mentioned embodiment of the present invention, a data processing method and device, storage medium and electronic device are provided, wherein, in response to a data processing instruction, the business data corresponding to the data processing instruction is obtained; the business scenario of the business data and the respective matching information corresponding to the business data are determined; each of the matching information includes an object identifier and a first type of service identifier of a brand freight rate; based on the matching method corresponding to the business scenario, each of the matching information is matched with a preset configuration table; for each of the matching information, if the matching information successfully matches the configuration table, then in the configuration table that successfully matches the matching information, the second type of service identifier corresponding to the first type of service identifier in the matching information is obtained, and if it cannot successfully match the configuration table, the first type of service identifier is returned. Applying the data processing method provided by the present invention, the second type of service identifier corresponding to the first type of service identifier can be quickly obtained, that is, the first type of service identifier can be converted into a second type of service identifier that can be understood by the user, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0020] Figure 1 A method flow chart of a data processing method provided by the present invention;

[0021] Figure 2 A structural example diagram of a general configuration table provided by the present invention;

[0022] Figure 3 A structural example diagram of a personalized configuration table provided by the present invention;

[0023] Figure 4 A structural example diagram of another general configuration table provided by the present invention;

[0024] Figure 5 A flow chart of a service rights matching process provided by the present invention;

[0025] Figure 6 A flowchart of another service rights matching process provided by the present invention;

[0026] Figure 7 A structural schematic diagram of a data processing device provided by the present invention;

[0027] Figure 8The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments 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 creative work are within the scope of protection of the present invention.

[0029] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0030] An embodiment of the present invention provides a data processing method, which can be executed by an electronic device. The method flow chart of the method is as follows: Figure 1 As shown, specifically including:

[0031] S101: In response to a data processing instruction, obtain business data corresponding to the data processing instruction.

[0032] In this embodiment, the process of obtaining the business data corresponding to the data processing instruction can be executing the QTE instruction to obtain the business data obtained by executing the QTE instruction. The QTE instruction is used to calculate the fare of the itinerary after the passenger record code PNR is booked in the aviation information system.

[0033] Optionally, the business data may include the user's itinerary data, the number of fare calculation groups of the brand fare calculation result combination, and the object identifier of the transportation entity corresponding to each of the itinerary data, the transportation entity is the market airline, the object identifier is the two-character airline code, and the preset field in the itinerary description information in the itinerary data contains the object identifier; the itinerary data included in the air ticket product may be one or more, and one itinerary data refers to one flight segment.

[0034] S102: Determine the business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate.

[0035] In this embodiment, the business scenario may be a first type business scenario, a second type business scenario, or a third type business scenario.

[0036] Optionally, the object identifier is a two-letter code of the market airline, and the first type of service identifier may include a first type of service code (Sub Code) and a first type of service benefit name (Commercial Name); the first type of service identifier may be a first text type service identifier, and the first text type may be English; the first type of service code may be a service code described in English, and the first type of service benefit name may be the name of the service benefit content described in English. The first type of service identifier may be a unique identifier of a service bound to a brand fare, and a brand fare may be bound to one or more services, each of which has its corresponding unique identifier; the first type of service benefit name may represent the benefit content corresponding to the service.

[0037] S103: Based on the matching method corresponding to the business scenario, each piece of matching information is matched with a preset configuration table.

[0038] In this embodiment, the configuration table records the correspondence between the object identifier, the first service type identifier and the second type service identifier, or records the correspondence between the first service type identifier and the second type service identifier.

[0039] Optionally, the matching methods corresponding to different business scenarios may be the same or different, and the preset configuration table may include at least one of a personalized configuration table and a general configuration table, wherein the personalized configuration table records the correspondence between the airline's object identifier, the first service type identifier, and the second type service identifier personalized by the airline. The general configuration table records the correspondence between the first service type identifier and the second type service identifier set by default.

[0040] The object identifier and the first type service identifier in the matching information may be matched with the configuration table.

[0041] S104: When the matching information successfully matches the configuration table, obtain a second type service identifier corresponding to the first type service identifier in the matching information from the configuration table that successfully matches the matching information.

[0042] In this embodiment, the second type of service identifier may include a second type of service benefit name (Simplified Chinese Translation); the second type of service benefit name may be the name of the service benefit content described in Chinese. The second type of service benefit name may represent the benefit content corresponding to the service, and the first type of service benefit identifier and the second type of service benefit identifier may be service benefit identifiers of different natural language types.

[0043] By using the data processing method provided by the present invention, the second type service identifier corresponding to the first type service identifier can be quickly obtained, that is, the first type service identifier can be converted into the second type service identifier understandable to the user, thereby improving the user experience.

[0044] In the embodiment provided by the present invention, based on the above implementation process, optionally, determining the business scenario of the business data includes:

[0045] Obtaining the number of fare calculation groups of the itinerary data and brand fare calculation result combinations contained in the business data and the object identifier of the transport entity corresponding to each of the itinerary data;

[0046] Determining whether the object identifiers of the transport entities corresponding to the various trip data are consistent;

[0047] If yes, determining the preset first type of business scenario as the business scenario of the business data;

[0048] If not, determining whether the number of the itinerary data is consistent with the number of fare calculation groups of the fare calculation result combination;

[0049] If the number of the trip data is consistent with the number of fare calculation groups of the fare calculation result combination of the brand fare, determining the preset second type of business scenario as the business scenario of the business data;

[0050] If the number of the travel data is inconsistent with the number of fare calculation groups of the fare calculation result combination of the brand fare, the preset third type of business scenario is determined as the business scenario of the business data.

[0051] In this embodiment, the number of itinerary data may be the number of flight segments, and a fare calculation result combination (Solution) includes one or more fare calculation groups (Fare Component, FC). FC is the smallest unit of fare calculation, and each FC corresponds to a fare. The transport subject corresponding to the itinerary data may be the market airline company of the itinerary to which the itinerary data belongs, and the object identifier may be the market airline company identifier.

[0052] Optionally, the first type of business scenario can represent that after the QTE instruction is executed, there are multiple flight segments, and the market airlines for each flight segment are the same. The second type of business scenario can represent that after the QTE instruction is executed, there are N flight segments and N airlines, and through the execution of multiple secondary instructions and other methods, it is found that a brand fare calculation result combination contains N fare calculation groups, and the number of fare calculation groups is consistent with the number of itinerary segments. The third type of business scenario can represent that after the QTE instruction is executed, there are N flight segments and N airlines, and through the execution of multiple secondary instructions and other methods, it is found that each brand fare calculation result combination includes M FCs. N can be an integer greater than 1, M can be an integer greater than 1, and the values ​​of M and N are not equal.

[0053] In the embodiment provided by the present invention, based on the above implementation process, optionally, when the business scenario is a first type of business scenario or a second type of business scenario, the matching method corresponding to the business scenario is based on, and each of the matching information is matched with a preset configuration table, including:

[0054] Matching the object identifier and the first type service identifier in each of the matching information with a preset personalized configuration table;

[0055] In the case that the object identifier and the first type service identifier in the matching information fail to match the personalized configuration table, the first type service identifier in the matching information is matched with a preset universal configuration table.

[0056] In this embodiment, when the object identifier and the first type service identifier in the matching information successfully match the personalized configuration table, a second type service identifier corresponding to the first type service identifier is obtained in the personalized configuration table.

[0057] Optionally, when the business scenario is a first type of business scenario, there is a complete set of matching information (Carrier, Sub Code and Commercial Name); when the business scenario is a first type of business scenario, obtain the object identifier corresponding to the itinerary data, and simultaneously obtain all the first type of service codes and first type of service benefit names of the kth fare calculation group of each fare calculation result combination in turn to obtain the kth group of matching information under the fare calculation result combination, where k is a positive integer.

[0058] When the business scenario is a second type of business scenario, the object identifier corresponding to the kth trip data can be obtained, and all the first type service codes and first type service benefit names of the kth fare calculation group of each fare calculation result combination can be obtained to obtain the kth group of matching information under the fare calculation result combination.

[0059] For each set of matching information obtained for the first type of business scenario or the second type of business scenario, the set of matching information is matched with the personalized configuration table. If the match is successful, the second type of service identifier of the personalized setting in the personalized configuration table is obtained and output; if the match fails, the first type of service identifier in the matching information is matched with the preset general configuration table. If the match fails, the first type of service identifier is output, that is, the first type of service code (SubCode) and the first type of service benefit name (Commercial Name) in English. If the match is successful, the second type of service identifier of the default setting in the general configuration table is read and output, that is, the second type of service benefit name (SimplifiedChinese Translation) in Chinese. The second type of service benefit name is a translation of the first type of service benefit name.

[0060] In the embodiment provided by the present invention, based on the above implementation process, optionally, when the business scenario is a third type of business scenario, the matching method corresponding to the business scenario is based on which each of the matching information is matched with a preset configuration table, including:

[0061] Matching the object identification in each of the matching information with each object identification field in a preset personalized configuration table;

[0062] If each object identifier fails to match the object identifier field of the personalized configuration table, matching the first type service identifier in each matching information with a preset general configuration table;

[0063] If at least one object identifier successfully matches the object identifier field of the personalized configuration table, matching the first type of service identifier in the matching information to which the object identifier belongs with the service identifier field in the personalized configuration table;

[0064] If the first type of service identifier fails to match the service identifier field in the personalized configuration table, the first type of service identifier is matched with a preset general configuration table.

[0065] In the embodiment of the present invention, if the first type of service identifier successfully matches the service identifier field in the personality configuration table, the first type of service identifier is output.

[0066] If the first type service identifier matches the general configuration table successfully, the second type service identifier in the general configuration table is obtained and output; if the first type service identifier fails to match the general configuration table, the first type service identifier is output.

[0067] In some embodiments, a general configuration table may be pre-set to localize all existing additional service benefits in the ATPCO (The Airline Tariff Publishing Company) system for flight fare publishing, and the first type of service code (Sub Code) and the first type of service benefit name (Commercial Name) are set to the ATPCO system default values, such as Figure 2 , which is a structural example diagram of a general configuration table provided in an embodiment of the present invention. Figure 2 The field names, attributes, values ​​and meanings of the fields in are shown in Table 1:

[0068]

[0069] Table 1

[0070] In this embodiment, each service bound to the brand can be verified through the configuration table, where SubCode and Commercial Name are match fields, and the logical relationship is "and", that is, they must be satisfied at the same time. When all the match fields are matched, the corresponding text content under Simplified Chinese Translation is retrieved; when they do not match, the English Sub Code and Commercial Name are maintained.

[0071] In some embodiments, a personalized configuration table may be pre-set to meet the airline's needs for differentiated translation of the second type of service logo, such as Figure 3 As shown, it is a structural example diagram of a personalized configuration table provided in an embodiment of the present invention. The Sub Code, Commercial Name and Simplified Chinese Translation of the personalized configuration table all support customization by airlines. It also supports the situation where airlines only customize Simplified Chinese Translation, that is, when the Sub Code and Commercial Name use the ATPCO default values, it is required to specify the Chinese translation SimplifiedChinese Translation. Figure 3 The field names, attributes, values ​​and meanings of the fields in are shown in Table 2:

[0072]

[0073] Table 2

[0074] In this embodiment, each service bound to the brand can be verified through the personalized configuration table. In the normal process of service rights matching, Carrier, Sub Code and Commercial Name are match fields, and the logical relationship is "and", that is, they must be satisfied at the same time. When all the match fields are matched, the corresponding text content under Simplified Chinese Translation is retrieved and returned; when the match fails, the English Sub Code and Commercial Name are maintained, and the verification of the general configuration table continues.

[0075] In the embodiment provided by the present invention, based on the above implementation process, optionally, the determining each piece of matching information corresponding to the business data includes:

[0076] Obtain the number of fare calculation groups of the brand fare calculation result combination in the business data and the object identifier of the transport entity corresponding to each trip data;

[0077] Sending a service identification acquisition instruction for each fare calculation group to acquire a first type service identification corresponding to each fare calculation group; the first type service identification includes a first type service code and a first type service benefit name;

[0078] The matching information corresponding to the business data is composed of each of the object identifiers and each of the first type service identifiers.

[0079] In this embodiment, the service identifier acquisition instruction can be an XS FSF instruction in the aviation information system. After obtaining the first type of service identifier corresponding to each fare calculation group, the first type of service identifier is combined with the object identifier. The specific combination method can be determined based on the business scenario of the business data.

[0080] In the embodiment provided by the present invention, based on the above implementation process, optionally, after obtaining the second type service identifier corresponding to the first type service identifier in the matching information, the method further includes:

[0081] The second type of service identifier is displayed on a preset display interface.

[0082] In some embodiments, some service rights in the general configuration table differ only in magnitude. For the sake of user-friendly experience, they can be displayed horizontally. In this embodiment, the service rights that can be displayed horizontally are marked in the general configuration table, such as Figure 4 FIG. 1 is a diagram showing another example structure of a general configuration table provided in an embodiment of the present invention. Figure 4 The newly added fields are shown in Table 3:

[0083] Table 3

[0084] In this embodiment, when multiple services belong to the same Group and Horizontal Display Mark, the text information under the Horizontal Display Title corresponding to the Sub Code and Commercial Name can be retrieved as the unified localized description of the service rights of this group, and the digital part of the text information under the "Simplified Chinese Translation" corresponding to the Sub Code and Commercial Name can be retrieved as the localized rights display of the service. After extracting the localized rights display content of all Sub Codes in this group, the horizontal display is performed according to the brand to which the Sub Code belongs. The following is an example:

[0085] If Brand A, Brand B, and Brand C are bound to three services, 06Y, 06X, and 06W, respectively, and the SubCode and Commercial Name of the three services use the ATPCO default values, and the Horizontal Display Mark is 01, then the text information "Accumulated Mileage (Number)" under the Horizontal Display Title is retrieved as the title of this group of service display, and the numbers in the Simplified Chinese Translation text information of each service are retrieved as the rights display content of the three texts. In summary, the specific ways in which the three localized service rights can be displayed horizontally are shown in Table 4:

[0086] Brand A Brand B C Brand Accumulated mileage 125 250 375

[0087] Table 4

[0088] In some embodiments, for the first type of business scenario and the second type of business scenario, the service rights and interests conventional matching process can be processed, see Figure 5, which is a flow chart of a service rights matching process provided in an embodiment of the present invention, wherein the service rights and localized content matching stage occurs after the brand content and brand-bound services are obtained. When it is necessary to display the localized service rights, the obtained Carrier, Sub Code and Commercial Name are checked against the personalized configuration table and the general configuration table in sequence. If and only if all matching conditions are matched, the service rights are obtained and the Simplified Chinese Translation is obtained, the process ends. When the matching conditions cannot match a basic table, the remaining basic tables continue to be checked. After completing all the checks and matches of a set of matching conditions, check whether there is still a remaining set of matching conditions that have not been processed until all processing is completed.

[0089] For the personalized configuration table, under the normal service rights matching process, the SimplifiedChinese Translation of the personalized configuration table can be read only when all the match fields (Carrier, Sub Code, Commercial Name) are met. If there is no match, the general configuration table is checked backward in order; for the general configuration table, the Simplified Chinese Translation of the general configuration table can be read only when all the match fields (Sub Code, Commercial Name) are met. If there is no match, the English Sub Code and Commercial Name are returned.

[0090] In some embodiments, for the third type of business scenario, you can enter the service rights matching special process, see Figure 6, which is a flowchart of another service rights matching process provided by an embodiment of the present invention, wherein the carrier value in the third type of business scenario can be first verified with all carriers in the personalized configuration table. When all carrier values ​​do not exist in the personalized configuration table, the service rights matching conditions (Sub Code and Commercial Name) can be verified with the general configuration table. When all matching conditions are met, Simplified Chinese Translation can be returned. If the carrier has a value in the personalized configuration table, it is necessary to confirm whether the service rights matching conditions (Sub Code and Commercial Name) in this scenario also exist in the personalized configuration table. If not, the service rights matching conditions (Sub Code and Commercial Name) are verified with the general configuration table. When all matching conditions are met, Simplified Chinese Translation in the general configuration table can be returned, otherwise the English Sub Code and Commercial Name are directly returned.

[0091] Specifically, when the business scenario of the business data is the third type of business scenario, the localization processing needs to adopt a special process of service rights matching to complete the following verification:

[0092] When the obtained Carrier is multi-valued, first use the Carrier to match the airlines included in the personalized configuration table to check whether all the Carrier values ​​cannot be matched in the two tables. If none of them can be matched, then directly use the obtained Sub Code and Commercial Name to check whether they can match the general configuration table. If they can be matched, the Simplified Chinese Translation in the general configuration table is returned. If they cannot be matched, the English Sub Code and Commercial Name are returned, and the special process of service rights matching ends at this time; if the Carrier value can match two personalized configuration tables, it is necessary to determine whether the Sub Code and Commercial Name can match the two personalized configuration tables without the Carrier. If they can be matched, the English Sub Code and Commercial Name are returned, and the special process of service rights matching ends; if they cannot be matched, all Sub Codes and Commercial Names are matched with the general configuration table. If they can be matched, the Simplified Translation of the corresponding service in the general configuration table is returned. If they cannot be matched, the English Sub Code and Commercial Name are returned, and the special process of service rights matching ends.

[0093] By applying the embodiment of the present invention, by setting a general configuration table and a personalized configuration table, combined with the calculation results of international brand fares, conventional or special processing logic is adopted for different business scenarios to realize the localization of additional service rights and interests bound to international brand fares, and enhance the readability of the additional service rights and interests content. The embodiment of the present invention fills the gap in the localization of additional service rights and interests of international brand fares in the entire industry, and is the first to provide a general solution with the widest coverage and more comprehensive business scenarios, breaking the previous situation where there was no unified standard and no unified processing for the display of additional service content related to international brand fares. From the perspective of the entire process of electronic ticket sales, it gives full play to the technical advantages of distribution channels, reduces the processing links of downstream agents, and at the same time, as an important step to improve user-friendly experience, it greatly improves sales efficiency and increases the sales opportunities of international brand fares and additional services contained therein for airlines.

[0094] and Figure 1 Corresponding to the method described above, the embodiment of the present invention further provides a data processing device for Figure 1 In order to implement the method in the embodiment of the present invention, the data processing device provided in the embodiment of the present invention can be applied to an electronic device, and its structural diagram is as follows: Figure 7 As shown, specifically including:

[0095] A first acquisition unit 701 is used to acquire business data corresponding to the data processing instruction in response to the data processing instruction;

[0096] A determination unit 702 is used to determine a business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate;

[0097] A matching unit 703, configured to match each of the matching information with a preset configuration table based on a matching method corresponding to the business scenario;

[0098] The second acquisition unit 704 is configured to acquire, for each piece of matching information, a second type service identifier corresponding to the first type service identifier in the matching information from the configuration table that successfully matches the matching information if the matching information matches the configuration table successfully.

[0099] In an embodiment provided by the present invention, based on the above solution, optionally, the determining unit 702 includes:

[0100] A first acquisition subunit is used to acquire the itinerary data contained in the business data, each fare calculation group of the fare calculation result combination of the brand fare, and the object identifier of the transport subject corresponding to each of the itinerary data;

[0101] The second acquisition subunit is used to send a service identification acquisition instruction for each fare calculation group to obtain a first type of service identification corresponding to each fare calculation group; the first type of service identification includes a first type of service code and a first type of service benefit name;

[0102] The execution subunit is used to form matching information corresponding to the business data by using each of the object identifiers and each of the first type service identifiers.

[0103] In an embodiment provided by the present invention, based on the above solution, optionally, the determining unit is configured to:

[0104] Obtaining the itinerary data contained in the business data, each fare calculation group of the fare calculation result combination of the brand fare, and the object identifier of the transport entity corresponding to each of the itinerary data;

[0105] Determine whether the object identifiers of the transport entities corresponding to the various trip data are consistent;

[0106] If yes, determining the preset first type of business scenario as the business scenario of the business data;

[0107] If not, determining whether the number of the itinerary data is consistent with the number of fare calculation groups of the fare calculation result combination;

[0108] If the number of the travel data is consistent with the number of fare calculation groups of the freight rate calculation result combination, determining the preset second type of business scenario as the business scenario of the business data;

[0109] If the number of the travel data is inconsistent with the number of fare calculation groups of the freight rate calculation result combination, the preset third type of business scenario is determined as the business scenario of the business data.

[0110] In an embodiment provided by the present invention, based on the above solution, optionally, when the business scenario is a first type of business scenario or a second type of business scenario, the matching unit is configured as follows:

[0111] Matching the object identifier and the first type service identifier in each of the matching information with a preset personalized configuration table;

[0112] In the case that the object identifier and the first type service identifier in the matching information fail to match the personalized configuration table, the first type service identifier in the matching information is matched with a preset universal configuration table.

[0113] In an embodiment provided by the present invention, based on the above solution, optionally, when the business scenario is a third type of business scenario, the matching unit is configured as follows:

[0114] Matching the object identification in each of the matching information with each object identification field in a preset personalized configuration table;

[0115] If each object identifier fails to match the object identifier field of the personalized configuration table, matching the first type service identifier in each matching information with a preset general configuration table;

[0116] If at least one object identifier successfully matches the object identifier field of the personalized configuration table, matching the first type of service identifier in the matching information to which the object identifier belongs with the service identifier field in the personalized configuration table;

[0117] If the first type of service identifier fails to match the service identifier field in the personalized configuration table, the first type of service identifier is matched with a preset general configuration table.

[0118] In an embodiment provided by the present invention, based on the above solution, optionally, the data processing device further includes:

[0119] The first display unit is used to display the second type service identifier on a preset display interface.

[0120] In an embodiment provided by the present invention, based on the above solution, optionally, the data processing state further includes:

[0121] The second display unit is used to display the first type of service identifier on a preset display interface.

[0122] The specific principles and execution processes of each unit and module in the data processing device disclosed in the above embodiment of the present invention are the same as the data processing method disclosed in the above embodiment of the present invention. Please refer to the corresponding parts of the data processing method provided in the above embodiment of the present invention, and will not be repeated here.

[0123] An embodiment of the present invention further provides a storage medium, wherein the storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above data processing method, and the method specifically includes:

[0124] In response to the data processing instruction, obtaining business data corresponding to the data processing instruction;

[0125] Determine the business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate;

[0126] Based on the matching method corresponding to the business scenario, each of the matching information is matched with a preset configuration table;

[0127] For each piece of matching information, if the matching information successfully matches the configuration table, a second type service identifier corresponding to the first type service identifier in the matching information is obtained from the configuration table that successfully matches the matching information.

[0128] In the above method, optionally, determining the business scenario of the business data includes:

[0129] Obtaining the number of fare calculation groups of the trip data contained in the business data, the object identifier of the transport entity corresponding to each of the trip data, and the brand fare calculation result combination;

[0130] Determining whether the object identifiers of the transport entities corresponding to the various trip data are consistent;

[0131] If yes, determining the preset first type of business scenario as the business scenario of the business data;

[0132] If not, determining whether the number of the itinerary data is consistent with the number of fare calculation groups of the fare calculation result combination;

[0133] If the number of the travel data is consistent with the number of fare calculation groups of the freight rate calculation result combination, determining the preset second type of business scenario as the business scenario of the business data;

[0134] If the number of the travel data is inconsistent with the number of fare calculation groups of the freight rate calculation result combination, the preset third type of business scenario is determined as the business scenario of the business data.

[0135] In the above method, optionally, when the business scenario is a first type of business scenario or a second type of business scenario, matching each of the matching information with a preset configuration table based on the matching method corresponding to the business scenario includes:

[0136] Matching the object identifier and the first type service identifier in each of the matching information with a preset personalized configuration table;

[0137] In the case that the object identifier and the first type service identifier in the matching information fail to match the personalized configuration table, the first type service identifier in the matching information is matched with a preset universal configuration table.

[0138] In the above method, optionally, when the business scenario is a third type of business scenario, matching each of the matching information with a preset configuration table based on the matching method corresponding to the business scenario includes:

[0139] Matching the object identification in each of the matching information with each object identification field in a preset personalized configuration table;

[0140] If each object identifier fails to match the object identifier field of the personalized configuration table, matching the first type service identifier in each matching information with a preset general configuration table;

[0141] If at least one object identifier successfully matches the object identifier field of the personalized configuration table, matching the first type of service identifier in the matching information to which the object identifier belongs with the service identifier field in the personalized configuration table;

[0142] If the first type of service identifier fails to match the service identifier field in the personalized configuration table, the first type of service identifier is matched with a preset general configuration table.

[0143] In the above method, optionally, the determining each piece of matching information corresponding to the business data includes:

[0144] Obtaining the object identifier of each fare calculation group of the brand fare calculation result combination contained in the business data and the transport subject corresponding to each trip data;

[0145] Sending a service identification acquisition instruction for each fare calculation group to acquire a first type service identification corresponding to each fare calculation group; the first type service identification includes a first type service code and a first type service benefit name;

[0146] The matching information corresponding to the business data is composed of each of the object identifiers and each of the first type service identifiers.

[0147] The above method, optionally, after obtaining the second type service identifier corresponding to the first type service identifier in the matching information, further comprises:

[0148] The second type of service identifier is displayed on a preset display interface.

[0149] The embodiment of the present invention further provides an electronic device, the structural diagram of which is shown in FIG. Figure 8As shown, it specifically includes a memory 801 and one or more instructions 802, wherein the one or more instructions 802 are stored in the memory 801 and are configured to be executed by one or more processors 803 to perform the following operations:

[0150] In response to the data processing instruction, obtaining business data corresponding to the data processing instruction;

[0151] Determine the business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate;

[0152] Based on the matching method corresponding to the business scenario, each of the matching information is matched with a preset configuration table;

[0153] For each piece of matching information, if the matching information successfully matches the configuration table, a second type service identifier corresponding to the first type service identifier in the matching information is obtained from the configuration table that successfully matches the matching information.

[0154] According to one or more embodiments of the present disclosure, Figure 1 An embodiment of the present invention provides a data processing method, the method comprising:

[0155] In response to the data processing instruction, obtaining business data corresponding to the data processing instruction;

[0156] Determine the business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate;

[0157] Based on the matching method corresponding to the business scenario, each of the matching information is matched with a preset configuration table;

[0158] For each piece of matching information, if the matching information successfully matches the configuration table, a second type service identifier corresponding to the first type service identifier in the matching information is obtained from the configuration table that successfully matches the matching information.

[0159] In the above method, optionally, determining the business scenario of the business data includes:

[0160] Obtaining the number of fare calculation groups of the itinerary data and brand fare calculation result combination contained in the business data and the object identifier of the transport entity corresponding to each of the itinerary data;

[0161] Determining whether the object identifiers of the transport entities corresponding to the various trip data are consistent;

[0162] If yes, determining the preset first type of business scenario as the business scenario of the business data;

[0163] If not, determining whether the number of the itinerary data is consistent with the number of fare calculation groups of the brand fare calculation result combination;

[0164] If the number of the itinerary data is consistent with the number of fare calculation groups of the brand fare calculation result combination, determining the preset second type of business scenario as the business scenario of the business data;

[0165] If the quantity of the travel data is inconsistent with the quantity of each fare calculation group of the brand fare calculation result combination, the preset third type of business scenario is determined as the business scenario of the business data.

[0166] In the above method, optionally, when the business scenario is a first type of business scenario or a second type of business scenario, matching each of the matching information with a preset configuration table based on the matching method corresponding to the business scenario includes:

[0167] Matching the object identifier and the first type service identifier in each of the matching information with a preset personalized configuration table;

[0168] In the case that the object identifier and the first type service identifier in the matching information fail to match the personalized configuration table, the first type service identifier in the matching information is matched with a preset universal configuration table.

[0169] In the above method, optionally, when the business scenario is a third type of business scenario, matching each of the matching information with a preset configuration table based on the matching method corresponding to the business scenario includes:

[0170] Matching the object identification in each of the matching information with each object identification field in a preset personalized configuration table;

[0171] If each object identifier fails to match the object identifier field of the personalized configuration table, matching the first type service identifier in each matching information with a preset general configuration table;

[0172] If at least one object identifier successfully matches the object identifier field of the personalized configuration table, matching the first type of service identifier in the matching information to which the object identifier belongs with the service identifier field in the personalized configuration table;

[0173] If the first type of service identifier fails to match the service identifier field in the personalized configuration table, the first type of service identifier is matched with a preset general configuration table.

[0174] In the above method, optionally, the determining each piece of matching information corresponding to the business data includes:

[0175] Obtaining the object identifier of each fare calculation group of the brand fare calculation result combination contained in the business data and the transport subject corresponding to each trip data;

[0176] Sending a service identification acquisition instruction for each fare calculation group to acquire a first type service identification corresponding to each fare calculation group; the first type service identification includes a first type service code and a first type service benefit name;

[0177] The matching information corresponding to the business data is composed of each of the object identifiers and each of the first type service identifiers.

[0178] The above method, optionally, after obtaining the second type service identifier corresponding to the first type service identifier in the matching information, further comprises:

[0179] The second type of service identifier is displayed on a preset display interface.

[0180] According to one or more embodiments of the present disclosure, Figure 6 An embodiment of the present invention provides a data processing device, the device comprising:

[0181] A first acquisition unit, configured to acquire, in response to a data processing instruction, business data corresponding to the data processing instruction;

[0182] A determination unit, configured to determine a business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate;

[0183] A matching unit, configured to match each of the matching information with a preset configuration table based on a matching method corresponding to the business scenario;

[0184] The second acquisition unit is configured to acquire, for each piece of matching information, a second type service identifier corresponding to the first type service identifier in the matching information from the configuration table that successfully matches the matching information if the matching information matches the configuration table successfully.

[0185] In the above device, optionally, the determining unit includes:

[0186] A first acquisition subunit is used to acquire the itinerary data contained in the business data, each fare calculation group of the fare calculation result combination of the brand fare, and the object identifier of the transport subject corresponding to each of the itinerary data;

[0187] The second acquisition subunit is used to send a service identification acquisition instruction for each fare calculation group to obtain a first type of service identification corresponding to each fare calculation group; the first type of service identification includes a first type of service code and a first type of service benefit name;

[0188] The execution subunit is used to form matching information corresponding to the business data by using each of the object identifiers and each of the first type service identifiers.

[0189] In the above device, optionally, the determining unit is configured to:

[0190] Obtaining the number of fare calculation groups of the itinerary data and brand fare calculation result combination contained in the business data and the object identifier of the transport entity corresponding to each of the itinerary data;

[0191] Determine whether the object identifiers of the transport entities corresponding to the various trip data are consistent;

[0192] If yes, determining the preset first type of business scenario as the business scenario of the business data;

[0193] If not, determining whether the number of the itinerary data is consistent with the number of each fare calculation group of the brand fare calculation result combination;

[0194] If the number of the trip data is consistent with the number of each fare calculation group of the brand fare calculation result combination, the preset second type of business scenario is determined as the business scenario of the business data;

[0195] If the quantity of the travel data is inconsistent with the quantity of each fare calculation group of the brand fare calculation result combination, the preset third type of business scenario is determined as the business scenario of the business data.

[0196] In the above device, optionally, when the business scenario is a first type of business scenario or a second type of business scenario, the matching unit is configured to:

[0197] Matching the object identifier and the first type service identifier in each of the matching information with a preset personalized configuration table;

[0198] In the case that the object identifier and the first type service identifier in the matching information fail to match the personalized configuration table, the first type service identifier in the matching information is matched with a preset universal configuration table.

[0199] In the above device, optionally, when the business scenario is a third type of business scenario, the matching unit is configured to:

[0200] Matching the object identification in each of the matching information with each object identification field in a preset personalized configuration table;

[0201] If each object identifier fails to match the object identifier field of the personalized configuration table, matching the first type service identifier in each matching information with a preset general configuration table;

[0202] If at least one object identifier successfully matches the object identifier field of the personalized configuration table, matching the first type of service identifier in the matching information to which the object identifier belongs with the service identifier field in the personalized configuration table;

[0203] If the first type of service identifier fails to match the service identifier field in the personalized configuration table, the first type of service identifier is matched with a preset general configuration table.

[0204] The above device, optionally, the data processing device further includes:

[0205] The first display unit is used to display the second type service identifier on a preset display interface.

[0206] The above device, optionally, the data processing device further includes:

[0207] The second display unit is used to display the first type of service identifier on a preset display interface.

[0208] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0209] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0210] For the convenience of description, the above device is described as being divided into various units according to their functions. Of course, when implementing the present invention, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0211] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

[0212] The above is a detailed introduction to a data processing method provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A data processing method, characterized in that: include: In response to the data processing instruction, obtaining business data corresponding to the data processing instruction; Determine the business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate; Based on the matching method corresponding to the business scenario, each of the matching information is matched with a preset configuration table; For each of the matching information, if the matching information successfully matches the configuration table, obtaining a second type service identifier corresponding to the first type service identifier in the matching information from the configuration table that successfully matches the matching information; Wherein, determining the business scenario of the business data includes: Acquire the number of fare calculation groups of the trip data contained in the business data and the object identifier of the transport subject corresponding to each of the trip data and the brand fare calculation result combination; Determining whether the object identifiers of the transport entities corresponding to the various trip data are consistent; If so, determining the preset first type of business scenario as the business scenario of the business data; If not, determining whether the number of the itinerary data is consistent with the number of fare calculation groups of the brand fare calculation result combination; If the number of the trip data is consistent with the number of fare calculation groups of the brand fare calculation result combination, determining the preset second type of business scenario as the business scenario of the business data; If the number of the travel data is inconsistent with the number of fare calculation groups of the brand fare calculation result combination, the preset third type of business scenario is determined as the business scenario of the business data.

2. The method according to claim 1, characterized in that In the case where the business scenario is a first type of business scenario or a second type of business scenario, the matching method corresponding to the business scenario is based on which each of the matching information is matched with a preset configuration table, including: Matching the object identifier and the first type service identifier in each of the matching information with a preset personalized configuration table; In the case that the object identifier and the first type service identifier in the matching information fail to match the personalized configuration table, the first type service identifier in the matching information is matched with a preset universal configuration table.

3. The method according to claim 1, characterized in that In the case where the business scenario is a third type of business scenario, the matching method corresponding to the business scenario, matching each of the matching information with a preset configuration table, includes: Matching the object identification in each of the matching information with each object identification field in a preset personalized configuration table; If each object identifier fails to match the object identifier field of the personalized configuration table, matching the first type service identifier in each matching information with a preset general configuration table; If at least one object identifier successfully matches the object identifier field of the personalized configuration table, matching the first type of service identifier in the matching information to which the object identifier belongs with the service identifier field in the personalized configuration table; If the first type of service identifier fails to match the service identifier field in the personalized configuration table, the first type of service identifier is matched with a preset general configuration table.

4. The method according to claim 1, characterized in that: The determining each piece of matching information corresponding to the business data includes: Obtaining the object identifier of each fare calculation group of the brand fare calculation result combination contained in the business data and the transport entity corresponding to each trip data; Sending a service identification acquisition instruction for each fare calculation group to acquire a first type service identification corresponding to each fare calculation group; the first type service identification includes a first type service code and a first type service benefit name; The matching information corresponding to the business data is composed of each of the object identifiers and each of the first type service identifiers.

5. The method according to claim 1, characterized in that After obtaining the second type service identifier corresponding to the first type service identifier in the matching information, the method further includes: The second type of service identifier is displayed on a preset display interface.

6. A data processing device, characterized in that: include: A first acquisition unit, configured to acquire, in response to a data processing instruction, business data corresponding to the data processing instruction; A determination unit, configured to determine a business scenario of the business data and each matching information corresponding to the business data; each matching information includes an object identifier and a first type service identifier of a brand freight rate; A matching unit, configured to match each of the matching information with a preset configuration table based on a matching method corresponding to the business scenario; A second acquisition unit is configured to, for each piece of matching information, if the matching information successfully matches the configuration table, acquire a second type of service identifier corresponding to the first type of service identifier in the matching information from the configuration table that successfully matches the matching information; The determining unit is further used to obtain the itinerary data contained in the business data and the object identifier of the transport subject corresponding to each of the itinerary data and the number of fare calculation groups of the brand fare calculation result combination; determine whether the object identifiers of the transport subjects corresponding to each of the itinerary data are consistent; if so, determine the preset first type of business scenario as the business scenario of the business data; if not, determine whether the number of the itinerary data is consistent with the number of fare calculation groups of the brand fare calculation result combination; if the number of the itinerary data is consistent with the number of fare calculation groups of the brand fare calculation result combination, determine the preset second type of business scenario as the business scenario of the business data; If the number of the travel data is inconsistent with the number of fare calculation groups of the brand fare calculation result combination, the preset third type of business scenario is determined as the business scenario of the business data.

7. The device according to claim 6, characterized in that The determining unit comprises: A first acquisition subunit is used to acquire the itinerary data contained in the business data, each fare calculation group of the fare calculation result combination of the brand fare, and the object identifier of the transport subject corresponding to each of the itinerary data; The second acquisition subunit is used to send a service identification acquisition instruction for each fare calculation group to obtain a first type of service identification corresponding to each fare calculation group; the first type of service identification includes a first type of service code and a first type of service benefit name; The execution subunit is used to form matching information corresponding to the business data by using each of the object identifiers and each of the first type service identifiers.

8. A storage medium, characterized in that: The storage medium includes storage instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the data processing method according to any one of claims 1 to 5.

9. An electronic device, characterized in that: The device comprises a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the data processing method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Automatic translation system and automatic translation method thereof

    CN102662937A

  • Freight rate calculation processing method and device

    CN110717794A