Information processing method and device and storage medium
By automatically obtaining and comparing the flight cabin information and price information displayed in the freight search system, the problem of low manual verification efficiency and accuracy is solved, and more efficient and accurate cabin accuracy verification is achieved.
Patent Information
- Application Number
- CN202411782606.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, manual verification of the status and price of the cabins displayed in the freight search system is accurate, resulting in poor accuracy of verifying the cabins of the freight search system.
Provide an information processing method, by obtaining search requests, and in response to search requests, the status information and price information of the cabin in the freight search system, and combine the actual information obtained from the reservation system and the price system to automatically determine the accuracy of the cabin information and price information displayed in the freight search system.
Through the automated comparison process, the efficiency and accuracy of verifying the cabin status and price accuracy of the freight search system are improved, thereby improving the effectiveness of verifying the cabin accuracy of the freight search system.
Smart Images

Figure CN119721301A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information processing method and device, and a storage medium. Background Art
[0002] In order to adapt to the production of new customers, the SearchOne system (freight search system) needs to simulate the execution of user requests before the customer goes into production, and calculate the accuracy of the user's cabin inspection and price verification. Therefore, in the freight search system, cabin inspection and price verification are of great significance. For example, cabin inspection can ensure that the displayed flight and price information are the latest and accurate, which helps users better understand the flight availability and price, so as to make better booking decisions. And through cabin inspection, it can be confirmed whether there are still available seats or cabins on the flight to ensure that passengers can smoothly book and take the flight; price verification can ensure that the displayed price is consistent with the actual booking price, avoid price changes or inconsistencies, help users obtain the most accurate price information when booking, and improve the accuracy and reliability of booking. Moreover, in the related art, when performing cabin inspection and price verification, manual methods are generally used to verify whether the status and price of the cabin displayed by the freight search system are accurate, which will result in low efficiency and accuracy in verifying whether the status and price of the cabin of the freight search system are accurate, and then the accuracy of the cabin of the freight search system is poor.
[0003] Currently, no effective solution has been proposed to solve the problem that the accuracy of the cabin space displayed by the freight rate search system is poor due to manual verification of whether the status and price of the cabin space displayed by the freight rate search system is accurate in the related art. Summary of the invention
[0004] The main purpose of the present application is to provide an information processing method and device, and a storage medium to solve the problem in the related art that the accuracy of verifying the status and price of the space displayed by the freight rate search system is poor due to manual verification.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, an information processing method is provided. The method comprises: obtaining a search request, wherein the search request is used to request a search for the status information and price information of the cabin space of a target flight; in response to the search request, obtaining the status information and price information of the cabin space of the target flight displayed in a fare search system, and obtaining the target status information and target price information of the cabin space of the target flight; obtaining the actual status information of the cabin space of the target flight from a reservation system, and obtaining the actual price information of the cabin space of the target flight from a price system; based on the target status information, target price information, actual status information and actual price information of the cabin space of the target flight, determining the accuracy of the status information and price information of the cabin space of the target flight displayed in the fare search system.
[0006] Furthermore, obtaining the search request includes: obtaining a target log, wherein the target log is used to record a request for searching for information of multiple flights, the multiple flights including at least the target flight, the information of the multiple flights including at least status information and price information of the cabin space of the multiple flights; obtaining the search request from the target log.
[0007] Furthermore, obtaining the search request includes: obtaining the itinerary information of the target flight, wherein the itinerary information of the target flight includes at least: the origin of the target flight, the destination of the target flight, the departure date of the target flight and the return date of the target flight; obtaining the search request based on the request template used to construct the search request and the itinerary information of the target flight.
[0008] Furthermore, in response to the search request, the status information and price information of the cabin space of the target flight displayed are obtained in the fare search system, and obtaining the target status information and target price information of the cabin space of the target flight includes: sending the search request to the fare search system for processing, and obtaining a processing result, wherein the processing result is used to indicate whether the fare search system processes the search request successfully; if the processing result indicates that the fare search system processes the search request successfully, then the target status information and target price information of the cabin space of the target flight are obtained.
[0009] Further, based on the target status information, target price information, actual status information and actual price information of the target flight's cabin space, determining the accuracy of the status information and price information of the target flight's cabin space displayed in the fare search system includes: verifying whether the status of the target flight's cabin space displayed in the fare search system is correct based on the target status information of the target flight's cabin space and the actual status information of the target flight's cabin space, and obtaining a first verification result; determining the accuracy of the status information of the target flight's cabin space displayed in the fare search system based on the first verification result; verifying whether the price of the target flight's cabin space displayed in the fare search system is correct based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, and obtaining a second verification result; determining the accuracy of the price information of the target flight's cabin space displayed in the fare search system based on the second verification result.
[0010] Further, based on the target price information of the cabin space of the target flight and the actual price information of the cabin space of the target flight, verify whether the price of the cabin space of the target flight displayed in the fare search system is correct, and obtain a second verification result including: based on the target price information of the cabin space of the target flight and the actual price information of the cabin space of the target flight, calculate the difference between the target price of the cabin space of the target flight and the actual price of the cabin space of the target flight to obtain a target difference; determine whether the target difference is less than a preset threshold; if the target difference is less than the preset threshold, determine that the second verification result is that the price of the cabin space of the target flight displayed in the fare search system is correct; if the target difference is not less than the preset threshold, determine that the second verification result is that the price of the cabin space of the target flight displayed in the fare search system is wrong.
[0011] Furthermore, obtaining the actual status information of the cabin space of the target flight from the reservation system includes: obtaining target information of the target flight, wherein the target information is at least one of the following: flight number information, take-off time and landing time; constructing a target request based on the target information of the target flight, wherein the target request is used to request obtaining the actual status information of the cabin space of the target flight; based on the target request, calling the target interface of the reservation system to obtain the actual status information of the cabin space of the target flight.
[0012] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an information processing device is provided. The device includes: a first acquisition unit, used to acquire a search request, wherein the search request is used to request to search for the status information and price information of the cabin space of the target flight; a first processing unit, used to respond to the search request, acquire the status information and price information of the cabin space of the target flight displayed in the fare search system, and obtain the target status information and target price information of the cabin space of the target flight; a second acquisition unit, used to acquire the actual status information of the cabin space of the target flight from the reservation system, and acquire the actual price information of the cabin space of the target flight from the price system; a first determination unit, used to determine the accuracy of the status information and price information of the cabin space of the target flight displayed in the fare search system based on the target status information, target price information, actual status information and actual price information of the cabin space of the target flight.
[0013] Furthermore, the first acquisition unit includes: a first acquisition module, used to acquire a target log, wherein the target log is used to record a request to search for information of multiple flights, the multiple flights at least include the target flight, and the information of the multiple flights at least includes status information and price information of the cabin space of the multiple flights; and a second acquisition module, used to acquire the search request from the target log.
[0014] Furthermore, the first acquisition unit includes: a third acquisition module, used to acquire the itinerary information of the target flight, wherein the itinerary information of the target flight at least includes: the origin of the target flight, the destination of the target flight, the departure date of the target flight and the return date of the target flight; a fourth acquisition module, used to acquire the search request based on the request template used to construct the search request and the itinerary information of the target flight.
[0015] Furthermore, the first processing unit includes: a first processing module, used to send the search request to the fare search system for processing to obtain a processing result, wherein the processing result is used to indicate whether the fare search system has successfully processed the search request; and a second processing module, used to obtain the target status information and target price information of the cabin space of the target flight if the processing result indicates that the fare search system has successfully processed the search request.
[0016] Further, the first determination unit includes: a first verification module, used to verify whether the status of the target flight's cabin space displayed in the fare search system is correct based on the target status information of the target flight's cabin space and the actual status information of the target flight's cabin space, and obtain a first verification result; a first determination module, used to determine the accuracy of the status information of the target flight's cabin space displayed in the fare search system based on the first verification result; a second verification module, used to verify whether the price of the target flight's cabin space displayed in the fare search system is correct based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, and obtain a second verification result; a second determination module, used to determine the accuracy of the price information of the target flight's cabin space displayed in the fare search system based on the second verification result.
[0017] Furthermore, the second verification module includes: a first calculation submodule, used to calculate the difference between the target price of the target flight's cabin and the actual price of the target flight's cabin based on the target price information of the target flight's cabin and the actual price information of the target flight's cabin, to obtain a target difference; a first judgment submodule, used to judge whether the target difference is less than a preset threshold; a first determination submodule, used to determine that the second verification result is that the price of the target flight's cabin displayed in the fare search system is correct if the target difference is less than the preset threshold; and a second determination submodule, used to determine that the second verification result is that the price of the target flight's cabin displayed in the fare search system is incorrect if the target difference is not less than the preset threshold.
[0018] Furthermore, the second acquisition unit includes: a fifth acquisition module, used to acquire target information of the target flight, wherein the target information is at least one of the following: flight number information, take-off time and landing time; a first construction module, used to construct a target request based on the target information of the target flight, wherein the target request is used to request to acquire actual status information of the cabin space of the target flight; and a sixth acquisition module, used to call the target interface of the reservation system based on the target request to acquire actual status information of the cabin space of the target flight.
[0019] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a program, wherein the program executes any one of the above-mentioned information processing methods.
[0020] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is provided, which includes one or more processors and a memory, and the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned information processing methods.
[0021] Through the present application, the following steps are adopted: obtaining a search request, wherein the search request is used to request a search for status information and price information of the cabin space of a target flight; in response to the search request, obtaining the status information and price information of the cabin space of the target flight displayed in a fare search system, and obtaining the target status information and target price information of the cabin space of the target flight; obtaining the actual status information of the cabin space of the target flight from a reservation system, and obtaining the actual price information of the cabin space of the target flight from a price system; based on the target status information, target price information, actual status information and actual price information of the cabin space of the target flight, determining the accuracy of the status information and price information of the cabin space of the target flight displayed in the fare search system, thereby solving the problem in the related art that the accuracy of the cabin space verification of the fare search system is poor due to manual verification of whether the status and price of the cabin space displayed by the fare search system is accurate. By automatically obtaining requests (i.e., search requests) and sending the requests to the fare search system for processing, and then comparing the results returned by the fare search system with the actual results obtained from the booking system and the price system, the accuracy of the cabin space displayed by the fare search system is determined. Therefore, by comparing the fares, cabin space and prices of different systems (i.e., the fare search system, the booking system and the price system), the current cabin space accuracy of the fare search system and the accuracy of the air ticket price are known. Compared with the prior art of manually verifying whether the status and price of the cabin space displayed by the fare search system are accurate, the efficiency and accuracy of verifying whether the status and price of the cabin space displayed by the fare search system are accurate are improved, thereby improving the effect of verifying the accuracy of the cabin space of the fare search system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0023] Figure 1 is a flowchart of an information processing method provided according to an embodiment of the present application;
[0024] Figure 2 This is the process of the tank inspection solution provided in the embodiment of this application Figure 1 ;
[0025] Figure 3 This is the process of the tank inspection solution provided in the embodiment of this application Figure 2 ;
[0026] Figure 4 This is the process of the price verification solution provided according to the embodiment of this application Figure 1 ;
[0027] Figure 5 This is the process of the price verification solution provided according to the embodiment of this application Figure 2 ;
[0028] Figure 6 It is a flow chart of cabin inspection and price verification provided according to an embodiment of the present application;
[0029] Figure 7 is a schematic diagram of an information processing device provided according to an embodiment of the present application;
[0030] Figure 8 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising 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.
[0034] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0035] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0036] Space Inspection: The process of verifying the availability and price of space.
[0037] Price Verification: refers to confirming the actual price and availability of a specific flight or class.
[0038] IBE (Internet Booking Engine) system: Internet Booking Engine is an open platform technology based on the Internet. It provides a way for various user application systems to access the booking business system and adopts an API (Application Programming interface) interface.
[0039] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flowchart of an information processing method provided according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0040] Step S101, obtaining a search request, wherein the search request is used to request to search for status information and price information of the cabin space of a target flight.
[0041] For example, the search request may be a request initiated by a user to search for the status and price of the cabin space of flight A (corresponding to the target flight). For example, the status of the cabin space of a flight may be divided into an available status and an unavailable status.
[0042] Step S102, in response to the search request, obtaining the status information and price information of the displayed space of the target flight in the freight rate search system, and obtaining the target status information and target price information of the space of the target flight.
[0043] For example, respond to the search request initiated by the user, and obtain the cabin status (corresponding to the above-mentioned target status information) and price (corresponding to the above-mentioned target price information) of flight A (corresponding to the above-mentioned target flight) displayed by the SearchOne system (corresponding to the above-mentioned fare search system) in the SearchOne system (corresponding to the above-mentioned fare search system).
[0044] Moreover, the freight rate search system is a system that searches and obtains the best freight rate by inputting relevant transportation demand information. For example, users can enter information such as the starting point, destination, departure time and return time in the system, and then the system will search and display the status and price of the cabin space of the qualified flights based on this information.
[0045] Step S103, obtaining the actual status information of the cabin space of the target flight from the reservation system, and obtaining the actual price information of the cabin space of the target flight from the price system.
[0046] For example, the status of the cabin space of flight A (corresponding to the above-mentioned target flight) (corresponding to the above-mentioned actual status information) is obtained from the IBE system (corresponding to the above-mentioned reservation system), and the price of the cabin space of flight A (corresponding to the above-mentioned target flight) can be obtained from the PRICE system (corresponding to the above-mentioned price system) (corresponding to the above-mentioned actual price information).
[0047] For example, a reservation system is a software system used to book seats on flights. Through the reservation system, users can pre-select and reserve the seats they want, avoiding the hassle of waiting in line. And a price system can be a system that can display the price of each class of flight.
[0048] Step S104, based on the target status information, target price information, actual status information and actual price information of the target flight's cabin space, determine the accuracy of the status information and price information of the target flight's cabin space displayed in the fare search system.
[0049] For example, by comparing the status of the cabin space of flight A (corresponding to the above-mentioned target flight) obtained from the SearchOne system (corresponding to the above-mentioned fare search system) (corresponding to the above-mentioned target status information) and the status of the cabin space of flight A (corresponding to the above-mentioned target flight) obtained from the IBE system (corresponding to the above-mentioned reservation system) (corresponding to the above-mentioned actual status information), it can be obtained whether the status of the cabin space of flight A (corresponding to the above-mentioned target flight) displayed by the SearchOne system (corresponding to the above-mentioned fare search system) is correct; and by comparing the price of the cabin space of flight A (corresponding to the above-mentioned target flight) obtained from the SearchOne system (corresponding to the above-mentioned fare search system) (corresponding to the above-mentioned target price information) and the price of the cabin space of flight A (corresponding to the above-mentioned target flight) obtained from the PRICE system (corresponding to the above-mentioned price system) (corresponding to the above-mentioned actual price information), it can be obtained whether the price of the cabin space of flight A (corresponding to the above-mentioned target flight) displayed by the SearchOne system (corresponding to the above-mentioned fare search system) is correct.
[0050] Through the above steps S101 to S104, a request (i.e., a search request) is automatically obtained and sent to the fare search system for processing, and then the result returned by the fare search system is compared with the actual result obtained from the booking system and the price system to determine the accuracy of the cabin space displayed by the fare search system. Therefore, by comparing the fares, cabin space and prices of different systems (i.e., the fare search system, the booking system and the price system), the current cabin space accuracy of the fare search system and the accuracy of the air ticket price are known. Compared with the prior art of manually verifying whether the status and price of the cabin space displayed by the fare search system are accurate, the efficiency and accuracy of verifying whether the status and price of the cabin space of the fare search system are accurate are improved, thereby improving the effect of verifying the accuracy of the cabin space of the fare search system.
[0051] Optionally, in the information processing method provided in an embodiment of the present application, obtaining a search request includes: obtaining a target log, wherein the target log is used to record a request for searching for information of multiple flights, the multiple flights include at least a target flight, and the information of the multiple flights includes at least status information and price information of the cabin space of the multiple flights; obtaining the search request from the target log.
[0052] For example, get the booking agent's Office (number) from the log (corresponding to the target log above), and all the requested fare search log lines. Convert it into a general json format request. Fix the error field and adjust the request (corresponding to the search request above) parameters according to the database settings.
[0053] In summary, the user's search request can be quickly and accurately obtained from the log.
[0054] Optionally, in the information processing method provided in an embodiment of the present application, obtaining a search request includes: obtaining itinerary information of a target flight, wherein the itinerary information of the target flight includes at least: the origin of the target flight, the destination of the target flight, the departure date of the target flight, and the return date of the target flight; obtaining a search request based on a request template used to construct a search request and the itinerary information of the target flight.
[0055] For example, obtain the take-off and landing, departure and return date and other basic information in the request (corresponding to the itinerary information of the target flight mentioned above) from the data CSV file (i.e., the user itinerary configuration file), and then use the request template (OW and RT) to generate batch user requests (corresponding to the above search request).
[0056] Through the above solution, the user request can be conveniently constructed according to the data file for recording the user's itinerary.
[0057] Optionally, in the information processing method provided in the embodiment of the present application, in response to a search request, the status information and price information of the cabin space of the displayed target flight are obtained in the fare search system, and obtaining the target status information and target price information of the cabin space of the target flight includes: sending the search request to the fare search system for processing, and obtaining a processing result, wherein the processing result is used to indicate whether the fare search system processes the search request successfully; if the processing result indicates that the fare search system processes the search request successfully, then the target status information and target price information of the cabin space of the target flight are obtained.
[0058] For example, three threads may be used to take out request messages (corresponding to the above-mentioned search requests) from the queue in parallel, and send the search requests to the SearchOne service (corresponding to the above-mentioned fare search system) for processing; and when the SearchOne service (corresponding to the above-mentioned fare search system) successfully processes the search request, the status (corresponding to the above-mentioned target status information) and price (corresponding to the above-mentioned target price information) of the cabin space of flight A (corresponding to the above-mentioned target flight) displayed by the SearchOne system (corresponding to the above-mentioned fare search system) may be directly obtained; when the SearchOne service (corresponding to the above-mentioned fare search system) fails to process the search request, the status (corresponding to the above-mentioned target status information) and price (corresponding to the above-mentioned target price information) of the cabin space of flight A (corresponding to the above-mentioned target flight) displayed by the SearchOne system (corresponding to the above-mentioned fare search system) cannot be obtained.
[0059] In summary, by using the fare search system to process the search request initiated by the user, the status and price of the cabin space of the flight displayed by the fare search system can be quickly and accurately obtained.
[0060] Optionally, in the information processing method provided in the embodiment of the present application, obtaining the actual status information of the cabin space of the target flight from the reservation system includes: obtaining target information of the target flight, wherein the target information is at least one of the following: flight number information, take-off time, and landing time; constructing a target request based on the target information of the target flight, wherein the target request is used to request to obtain the actual status information of the cabin space of the target flight; based on the target request, calling the target interface of the reservation system to obtain the actual status information of the cabin space of the target flight.
[0061] For example, among the multiple fare schemes returned, the relevant flight information (corresponding to the above target information) such as the carrier, flight number, take-off and landing time of each segment in each fare scheme is parsed out respectively. This flight information (corresponding to the above target information) is used to construct a request (corresponding to the above target request) and obtain the current real-time cabin results (corresponding to the actual status information of the cabin of the above target flight) from the IBE interface (corresponding to the target interface of the above reservation system).
[0062] In summary, by calling the interface of the reservation system, the actual status information of the flight space can be quickly and accurately obtained.
[0063] Optionally, in the information processing method provided in the embodiment of the present application, determining the accuracy of the status information and price information of the target flight's cabin space displayed in the fare search system based on the target status information, target price information, actual status information and actual price information of the target flight's cabin space includes: verifying whether the status of the target flight's cabin space displayed in the fare search system is correct based on the target status information of the target flight's cabin space and the actual status information of the target flight's cabin space, and obtaining a first verification result; determining the accuracy of the status information of the target flight's cabin space displayed in the fare search system based on the first verification result; verifying whether the price of the target flight's cabin space displayed in the fare search system is correct based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, and obtaining a second verification result; determining the accuracy of the price information of the target flight's cabin space displayed in the fare search system based on the second verification result.
[0064] For example, by comparing the status of the cabin space of flight A (corresponding to the above-mentioned target flight) obtained from the SearchOne system (corresponding to the above-mentioned fare search system) (corresponding to the above-mentioned target status information) and the status of the cabin space of flight A (corresponding to the above-mentioned target flight) obtained from the IBE system (corresponding to the above-mentioned reservation system) (corresponding to the above-mentioned actual status information), it is possible to obtain whether the status of the cabin space of flight A (corresponding to the above-mentioned target flight) displayed by the SearchOne system (corresponding to the above-mentioned fare search system) is correct, that is, to obtain the above-mentioned first verification result; and by comparing the price of the cabin space of flight A (corresponding to the above-mentioned target flight) obtained from the SearchOne system (corresponding to the above-mentioned fare search system) (corresponding to the above-mentioned target price information) and the price of the cabin space of flight A (corresponding to the above-mentioned target flight) obtained from the PRICE system (corresponding to the above-mentioned price system) (corresponding to the above-mentioned actual price information), it is possible to obtain whether the price of the cabin space of flight A (corresponding to the above-mentioned target flight) displayed by the SearchOne system (corresponding to the above-mentioned fare search system) is correct, that is, to obtain the above-mentioned second verification result.
[0065] Through the above scheme, it is possible to quickly and accurately determine whether the status and price of the flight space displayed by the freight rate search system are correct.
[0066] Optionally, in the information processing method provided in the embodiment of the present application, based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, it is verified whether the price of the target flight's cabin space displayed in the fare search system is correct, and obtaining a second verification result includes: based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, calculating the difference between the target price of the target flight's cabin space and the actual price of the target flight's cabin space to obtain a target difference; judging whether the target difference is less than a preset threshold; if the target difference is less than the preset threshold, determining that the second verification result is that the price of the target flight's cabin space displayed in the fare search system is correct; if the target difference is not less than the preset threshold, determining that the second verification result is that the price of the target flight's cabin space displayed in the fare search system is incorrect.
[0067] For example, the price verification consistency rate can be set with a threshold value diffPrice, which is set to 10 by default (corresponding to the above-mentioned preset threshold value), that is, the price difference within 10 yuan can be considered to be consistent.
[0068] For example, calculate the difference (corresponding to the above target difference) between the price of the cabin space of flight A (corresponding to the above target flight) obtained from the SearchOne system (corresponding to the above freight rate search system) (corresponding to the above target price information) and the price of the cabin space of flight A (corresponding to the above target flight) obtained from the PRICE system (corresponding to the above price system) (corresponding to the above actual price information); and determine whether the difference (corresponding to the above target difference) between the two (i.e., the target price and the actual price) is less than 10 yuan (corresponding to the above preset threshold); if the difference (corresponding to the above target difference) between the two (i.e., the target price and the actual price) is less than 10 yuan (corresponding to the above preset threshold); If the difference between the two (i.e. the target price and the actual price) is less than RMB 10 (corresponding to the above-mentioned preset threshold), it is considered that the two (i.e. the target price and the actual price) are consistent, which means that the price of the cabin space of flight A (corresponding to the above-mentioned target flight) displayed by the SearchOne system (corresponding to the above-mentioned fare search system) is correct; if the difference between the two (i.e. the target price and the actual price) (corresponding to the above-mentioned target difference) is not less than RMB 10 (corresponding to the above-mentioned preset threshold), it is considered that the two (i.e. the target price and the actual price) are inconsistent, which means that the price of the cabin space of flight A (corresponding to the above-mentioned target flight) displayed by the SearchOne system (corresponding to the above-mentioned fare search system) is wrong.
[0069] Through the above scheme, according to the difference between the prices, it can be quickly and accurately determined whether the price of the flight cabin displayed by the freight rate search system is correct.
[0070] For example, cabin inspections can ensure that the flight and price information displayed by the fare search system is up-to-date and accurate. This helps users better understand flight availability and prices so that they can make better booking decisions. Through cabin inspections, it is possible to confirm whether there are still available seats or cabin space on the flight to ensure that passengers can book and board the flight smoothly. Cabin inspections can also help airlines manage flight revenue. By understanding the seat sales of a flight, airlines can flexibly adjust their fare strategies to maximize revenue. Through cabin inspections, airlines can allocate flight resources more reasonably and improve flight utilization. By conducting cabin inspections, more reliable and accurate flight information can be provided, thereby improving user experience and reducing possible misleading or confusion.
[0071] In addition, in the fare search system, price verification can ensure that the displayed price is consistent with the actual price at the time of booking, avoiding price changes or inconsistencies. This helps users obtain the most accurate price information when booking, improving the accuracy and reliability of booking. By verifying prices, the fare search system can enhance user trust and provide more authentic and reliable price data, thereby improving user experience and satisfaction.
[0072] Since the current test environment cannot connect to the production address, the cabin accuracy script running on the original test environment needs to be modified and moved to the production environment.
[0073] For example, a user trip profile (specifying the origin, destination, departure date, return date, etc.) and a request template can be used to generate batch user requests (corresponding to the above search request). In addition, the price verification consistency rate can be set with a threshold diffPrice, which is set to 10 by default, that is, the price difference is considered consistent within 10 yuan.
[0074] For example, the functions implemented by the scheduled automated cabin accuracy script can be divided into the following three steps:
[0075] (1) Capture the requests for the specified office (number) or certain clusters (specify the user office that needs to run the accuracy in the configuration file user_av.csv);
[0076] (2) Using these requests (corresponding to the above-mentioned search requests) as input samples, the production environment is called to call the cabin inspection interface for each solution result reported by SearchOne (corresponding to the above-mentioned freight rate search system), and the cabin results of SearchOne (corresponding to the above-mentioned freight rate search system) (corresponding to the above-mentioned target status information and target price information) are compared with the cabin results returned by the cabin interface (corresponding to the above-mentioned actual status information and actual price information);
[0077] (3) List the cabin status accuracy by airline and office (number), generate AV (Availability) accuracy result file, and automatically send email.
[0078] For example, conducting a tank inspection may include the following steps:
[0079] 1. In the request acquisition stage
[0080] (1) Get the booking agent's Office (number) and all requested fare search log lines (corresponding to the above search request) from the log. Convert it into a general json format request. Fix the error fields and adjust the request parameters according to the database settings. For example, Figure 2 This is the process of the tank inspection solution provided in the embodiment of this application Figure 1 ,like Figure 2 As shown, the Office request (corresponding to the above-mentioned search request) can be obtained from the log.
[0081] (2) Obtain the basic information such as the departure and return dates in the request from the data CSV file (i.e., the user's itinerary profile) and construct a general json format request (corresponding to the above search request). For example, Figure 3 This is the process of the tank inspection solution provided in the embodiment of this application Figure 2 ,like Figure 3 As shown, the data file (ie, the user travel profile) can be used to construct an Office request (corresponding to the above-mentioned search request).
[0082] 2. In the request sending stage, three threads can be used to take out the request message from the queue in parallel and send it to SearchOne (corresponding to the above-mentioned freight rate search system) service for processing. The returned results are filtered and classified into one-way, two-stage and three-stage.
[0083] 3. In the multiple fare schemes returned, parse out the relevant flight information such as the carrier, flight number, take-off and landing time, etc. for each segment in each fare scheme. Use this flight information to build a request and obtain the current real-time cabin results from the IBE interface. After filtering out the wrong results, compare the flight cabin results and record the cabin comparison results of each flight in the corresponding CSV file. All test results are integrated into the final statistical results of the target directory.
[0084] For example, conducting a price verification may include the following steps:
[0085] 1. In the request acquisition stage (code reuse is achieved with cabin inspection)
[0086] (1) Get the booking agent's Office (number) and all requested fare search log lines (corresponding to the above search request) from the log. Convert it into a general json format request. Fix the error fields and adjust the request parameters according to the database settings. For example, Figure 4 This is the process of the price verification solution provided according to the embodiment of this application Figure 1 ,like Figure 4 As shown, the Office request (corresponding to the above-mentioned search request) can be obtained from the log.
[0087] (2) Obtain the basic information such as the departure and return dates in the request from the data CSV file (i.e., the user's itinerary profile) and construct a general json format request (corresponding to the above search request). For example, Figure 5 This is the process of the price verification solution provided according to the embodiment of this application Figure 2 ,like Figure 5 As shown, the data file (ie, the user travel profile) can be used to construct an Office request (corresponding to the above-mentioned search request).
[0088] 2. In the request sending stage (code reuse is achieved with cabin inspection)
[0089] Three threads are used to retrieve request messages from the queue in parallel and send them to SearchOne (corresponding to the above-mentioned freight rate search system) service for processing. The returned results are filtered and classified into one-way, two-stage and three-stage.
[0090] 3. In the returned results, after classifying into single-class (One Way Fare) or multi-class (Round Trip Fare), the classification results are further classified into the number of flight legs, total price and airline within the class.
[0091] For example, Figure 6 is a flow chart of cabin inspection and price verification provided according to an embodiment of the present application, such as Figure 6 As shown, when performing cabin and price verification, a request acquisition module, a request sending module and a verification module may be included, and when obtaining a request, two acquisition methods may be included, namely, one method is to obtain an Office request from a log (corresponding to the above-mentioned search request); the other method is to use a data file (i.e., a user itinerary configuration file) to construct an Office request (corresponding to the above-mentioned search request). Moreover, the verification module may include parts for verifying cabin space and fare, respectively, and may include a verification result generation module and a verification result analysis module.
[0092] For example, during the ticket search phase, when performing the automated cabin accuracy script measurement function, the requests of the designated production office or certain clusters are captured, and these requests are used as input samples. By calling the production environment, the cabin inspection interface is called for each solution result in the SearchOne report, and the SearchOne cabin results are compared with the cabin results returned by the cabin interface. The cabin status accuracy is listed by airline and office, and the AV accuracy result file is generated and automatically sent by email.
[0093] Moreover, in this embodiment, by comparing the fare space and price of different systems (i.e., fare search system, booking system, and price system), the accuracy of the current space of the fare search system and the accuracy of the air ticket price are known, so as to facilitate the monitoring and correction of the system (fare search system). At the same time, it can provide simulated access requests for agents or airline offices that have not yet been put into production, which can be used to estimate the performance of the fare search system, such as the number of visits, TPS (Transactions Per Second, i.e., the number of transactions processed per second), and provide evaluation means and evaluation basis.
[0094] In summary, the information processing method provided by the embodiment of the present application obtains a search request, wherein the search request is used to request a search for status information and price information of the cabin space of a target flight; in response to the search request, obtains the status information and price information of the cabin space of the target flight displayed in a fare search system, and obtains the target status information and target price information of the cabin space of the target flight; obtains the actual status information of the cabin space of the target flight from the reservation system, and obtains the actual price information of the cabin space of the target flight from the price system; based on the target status information, target price information, actual status information and actual price information of the cabin space of the target flight, determines the accuracy of the status information and price information of the cabin space of the target flight displayed in the fare search system, thereby solving the problem in the related art that the accuracy of the cabin space verification of the fare search system is poor due to manual verification of whether the status and price of the cabin space displayed by the fare search system is accurate. By automatically obtaining requests (i.e., search requests) and sending the requests to the fare search system for processing, and then comparing the results returned by the fare search system with the actual results obtained from the booking system and the price system, the accuracy of the cabin space displayed by the fare search system is determined. Therefore, by comparing the fares, cabin space and prices of different systems (i.e., the fare search system, the booking system and the price system), the current cabin space accuracy of the fare search system and the accuracy of the air ticket price are known. Compared with the prior art of manually verifying whether the status and price of the cabin space displayed by the fare search system are accurate, the efficiency and accuracy of verifying whether the status and price of the cabin space displayed by the fare search system are accurate are improved, thereby improving the effect of verifying the accuracy of the cabin space of the fare search system.
[0095] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0096] The embodiment of the present application also provides an information processing device. It should be noted that the information processing device of the embodiment of the present application can be used to execute the information processing method provided by the embodiment of the present application. The information processing device provided by the embodiment of the present application is introduced below.
[0097] Figure 7 Schematic diagram of an information processing device provided according to an embodiment of the present application. Figure 7 As shown, the device includes: a first acquisition unit 701, a first processing unit 702, a second acquisition unit 703 and a first determination unit 704.
[0098] Specifically, the first acquisition unit 701 is used to acquire a search request, wherein the search request is used to request to search for status information and price information of the cabin space of the target flight;
[0099] The first processing unit 702 is used to respond to the search request, obtain the status information and price information of the cabin space of the target flight displayed in the freight rate search system, and obtain the target status information and target price information of the cabin space of the target flight;
[0100] The second acquisition unit 703 is used to acquire the actual status information of the cabin space of the target flight from the reservation system, and acquire the actual price information of the cabin space of the target flight from the price system;
[0101] The first determining unit 704 is used to determine the accuracy of the state information and price information of the target flight space displayed in the fare search system based on the target state information, target price information, actual state information and actual price information of the target flight space.
[0102] In summary, the information processing device provided by the embodiment of the present application obtains a search request through the first acquisition unit 701, wherein the search request is used to request a search for status information and price information of the cabin space of the target flight; the first processing unit 702 responds to the search request, obtains the status information and price information of the cabin space of the target flight displayed in the fare search system, and obtains the target status information and target price information of the cabin space of the target flight; the second acquisition unit 703 obtains the actual status information of the cabin space of the target flight from the reservation system, and obtains the actual price information of the cabin space of the target flight from the price system; the first determination unit 704 determines the accuracy of the status information and price information of the cabin space of the target flight displayed in the fare search system based on the target status information, target price information, actual status information and actual price information of the cabin space of the target flight, thereby solving the problem in the related art that the accuracy of the cabin space verification of the fare search system is poor due to manual verification of whether the status and price of the cabin space displayed by the fare search system is accurate. By automatically obtaining requests (i.e., search requests) and sending the requests to the fare search system for processing, and then comparing the results returned by the fare search system with the actual results obtained from the booking system and the price system, the accuracy of the cabin space displayed by the fare search system is determined. Therefore, by comparing the fares, cabin space and prices of different systems (i.e., the fare search system, the booking system and the price system), the current cabin space accuracy of the fare search system and the accuracy of the air ticket price are known. Compared with the prior art of manually verifying whether the status and price of the cabin space displayed by the fare search system are accurate, the efficiency and accuracy of verifying whether the status and price of the cabin space displayed by the fare search system are accurate are improved, thereby improving the effect of verifying the accuracy of the cabin space of the fare search system.
[0103] Optionally, in the information processing device provided in an embodiment of the present application, the first acquisition unit includes: a first acquisition module, used to acquire a target log, wherein the target log is used to record a request to search for information of multiple flights, the multiple flights include at least a target flight, and the information of the multiple flights includes at least status information and price information of the cabin space of the multiple flights; a second acquisition module, used to acquire the search request from the target log.
[0104] Optionally, in the information processing device provided in the embodiment of the present application, the first acquisition unit includes: a third acquisition module, used to acquire itinerary information of the target flight, wherein the itinerary information of the target flight includes at least: the departure point of the target flight, the destination of the target flight, the departure date of the target flight and the return date of the target flight; a fourth acquisition module, used to acquire the search request based on the request template used to construct the search request and the itinerary information of the target flight.
[0105] Optionally, in the information processing device provided in the embodiment of the present application, the first processing unit includes: a first processing module, used to send the search request to the fare search system for processing to obtain a processing result, wherein the processing result is used to indicate whether the fare search system processes the search request successfully; a second processing module, used to obtain the target status information and target price information of the cabin space of the target flight if the processing result indicates that the fare search system processes the search request successfully.
[0106] Optionally, in the information processing device provided in the embodiment of the present application, the first determination unit includes: a first verification module, which is used to verify whether the status of the target flight's cabin space displayed in the fare search system is correct based on the target status information of the target flight's cabin space and the actual status information of the target flight's cabin space, and obtain a first verification result; a first determination module, which is used to determine the accuracy of the status information of the target flight's cabin space displayed in the fare search system based on the first verification result; a second verification module, which is used to verify whether the price of the target flight's cabin space displayed in the fare search system is correct based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, and obtain a second verification result; and a second determination module, which is used to determine the accuracy of the price information of the target flight's cabin space displayed in the fare search system based on the second verification result.
[0107] Optionally, in the information processing device provided in the embodiment of the present application, the second verification module includes: a first calculation submodule, used to calculate the difference between the target price of the target flight's cabin and the actual price of the target flight's cabin based on the target price information of the target flight's cabin and the actual price information of the target flight's cabin, to obtain a target difference; a first judgment submodule, used to judge whether the target difference is less than a preset threshold; a first determination submodule, used to determine that the second verification result is that the price of the target flight's cabin displayed in the fare search system is correct if the target difference is less than the preset threshold; and a second determination submodule, used to determine that the second verification result is that the price of the target flight's cabin displayed in the fare search system is incorrect if the target difference is not less than the preset threshold.
[0108] Optionally, in the information processing device provided in the embodiment of the present application, the second acquisition unit includes: a fifth acquisition module, used to acquire target information of the target flight, wherein the target information is at least one of the following: flight number information, take-off time and landing time; a first construction module, used to construct a target request based on the target information of the target flight, wherein the target request is used to request to acquire actual status information of the cabin space of the target flight; a sixth acquisition module, used to call the target interface of the reservation system based on the target request to acquire actual status information of the cabin space of the target flight.
[0109] The information processing device includes a processor and a memory. The above-mentioned first acquisition unit 701, first processing unit 702, second acquisition unit 703 and first determination unit 704 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0110] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the accuracy of verifying the space of the freight rate search system can be improved by adjusting the kernel parameters.
[0111] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0112] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the information processing method is implemented.
[0113] An embodiment of the present invention provides a processor, which is used to run a program, wherein the information processing method is executed when the program is run.
[0114] like Figure 8 As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: obtaining a search request, wherein the search request is used to request a search for status information and price information of a target flight's cabin space; in response to the search request, obtaining the status information and price information of the displayed target flight's cabin space in a fare search system, and obtaining target status information and target price information of the target flight's cabin space; obtaining actual status information of the target flight's cabin space from a reservation system, and obtaining actual price information of the target flight's cabin space from a price system; and determining the accuracy of the status information and price information of the target flight's cabin space displayed in the fare search system based on the target status information, target price information, actual status information, and actual price information of the target flight's cabin space.
[0115] When the processor executes the program, the following steps are also implemented: obtaining a search request includes: obtaining a target log, wherein the target log is used to record a request for searching for information of multiple flights, the multiple flights include at least a target flight, and the information of the multiple flights includes at least status information and price information of the cabin space of the multiple flights; obtaining the search request from the target log.
[0116] When the processor executes the program, the following steps are also implemented: obtaining a search request includes: obtaining itinerary information of a target flight, wherein the itinerary information of the target flight includes at least: the origin of the target flight, the destination of the target flight, the departure date of the target flight, and the return date of the target flight; obtaining a search request based on a request template used to construct a search request and the itinerary information of the target flight.
[0117] When the processor executes the program, the following steps are also implemented: responding to the search request, obtaining the status information and price information of the cabin space of the target flight displayed in the fare search system, and obtaining the target status information and target price information of the cabin space of the target flight includes: sending the search request to the fare search system for processing, and obtaining the processing result, wherein the processing result is used to indicate whether the fare search system successfully processes the search request; if the processing result indicates that the fare search system successfully processes the search request, then the target status information and target price information of the cabin space of the target flight are obtained.
[0118] When the processor executes the program, the following steps are also implemented: based on the target status information, target price information, actual status information and actual price information of the target flight's cabin space, determining the accuracy of the status information and price information of the target flight's cabin space displayed in the fare search system, including: based on the target status information of the target flight's cabin space and the actual status information of the target flight's cabin space, verifying whether the status of the target flight's cabin space displayed in the fare search system is correct, and obtaining a first verification result; based on the first verification result, determining the accuracy of the status information of the target flight's cabin space displayed in the fare search system; based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, verifying whether the price of the target flight's cabin space displayed in the fare search system is correct, and obtaining a second verification result; based on the second verification result, determining the accuracy of the price information of the target flight's cabin space displayed in the fare search system.
[0119] When the processor executes the program, the following steps are also implemented: based on the target price information of the cabin space of the target flight and the actual price information of the cabin space of the target flight, verify whether the price of the cabin space of the target flight displayed in the fare search system is correct, and obtain the second verification result including: based on the target price information of the cabin space of the target flight and the actual price information of the cabin space of the target flight, calculate the difference between the target price of the cabin space of the target flight and the actual price of the cabin space of the target flight to obtain the target difference; determine whether the target difference is less than a preset threshold; if the target difference is less than the preset threshold, determine that the second verification result is that the price of the cabin space of the target flight displayed in the fare search system is correct; if the target difference is not less than the preset threshold, determine that the second verification result is that the price of the cabin space of the target flight displayed in the fare search system is wrong.
[0120] When the processor executes the program, the following steps are also implemented: obtaining the actual status information of the cabin space of the target flight from the reservation system includes: obtaining the target information of the target flight, wherein the target information is at least one of the following: flight number information, take-off time and landing time; constructing a target request based on the target information of the target flight, wherein the target request is used to request to obtain the actual status information of the cabin space of the target flight; based on the target request, calling the target interface of the reservation system to obtain the actual status information of the cabin space of the target flight.
[0121] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0122] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: obtaining a search request, wherein the search request is used to request a search for status information and price information of the cabin space of a target flight; in response to the search request, obtaining the status information and price information of the cabin space of the target flight displayed in a fare search system, and obtaining the target status information and target price information of the cabin space of the target flight; obtaining the actual status information of the cabin space of the target flight from a reservation system, and obtaining the actual price information of the cabin space of the target flight from a price system; and determining the accuracy of the status information and price information of the cabin space of the target flight displayed in the fare search system based on the target status information, target price information, actual status information and actual price information of the cabin space of the target flight.
[0123] When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: obtaining a search request includes: obtaining a target log, wherein the target log is used to record a request for searching for information of multiple flights, the multiple flights at least include a target flight, and the information of the multiple flights at least includes status information and price information of the cabin space of the multiple flights; obtaining the search request from the target log.
[0124] When executed on a data processing device, it is also suitable for executing a program that initializes the following method steps: obtaining a search request includes: obtaining itinerary information of a target flight, wherein the itinerary information of the target flight includes at least: the origin of the target flight, the destination of the target flight, the departure date of the target flight and the return date of the target flight; obtaining a search request based on a request template used to construct a search request and the itinerary information of the target flight.
[0125] When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: responding to a search request, obtaining the status information and price information of the cabin space of the target flight displayed in the fare search system, and obtaining the target status information and target price information of the cabin space of the target flight includes: sending the search request to the fare search system for processing, and obtaining a processing result, wherein the processing result is used to indicate whether the fare search system successfully processes the search request; if the processing result indicates that the fare search system successfully processes the search request, then the target status information and target price information of the cabin space of the target flight are obtained.
[0126] When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: based on the target status information, target price information, actual status information and actual price information of the target flight's cabin space, determining the accuracy of the status information and price information of the target flight's cabin space displayed in the fare search system, including: based on the target status information of the target flight's cabin space and the actual status information of the target flight's cabin space, verifying whether the status of the target flight's cabin space displayed in the fare search system is correct, and obtaining a first verification result; based on the first verification result, determining the accuracy of the status information of the target flight's cabin space displayed in the fare search system; based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, verifying whether the price of the target flight's cabin space displayed in the fare search system is correct, and obtaining a second verification result; based on the second verification result, determining the accuracy of the price information of the target flight's cabin space displayed in the fare search system.
[0127] When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, verifying whether the price of the target flight's cabin space displayed in the fare search system is correct, and obtaining a second verification result includes: based on the target price information of the target flight's cabin space and the actual price information of the target flight's cabin space, calculating the difference between the target price of the target flight's cabin space and the actual price of the target flight's cabin space to obtain a target difference; judging whether the target difference is less than a preset threshold; if the target difference is less than the preset threshold, determining that the second verification result is that the price of the target flight's cabin space displayed in the fare search system is correct; if the target difference is not less than the preset threshold, determining that the second verification result is that the price of the target flight's cabin space displayed in the fare search system is incorrect.
[0128] When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: obtaining the actual status information of the cabin space of the target flight from the reservation system includes: obtaining the target information of the target flight, wherein the target information is at least one of the following: flight number information, take-off time and landing time; constructing a target request based on the target information of the target flight, wherein the target request is used to request to obtain the actual status information of the cabin space of the target flight; based on the target request, calling the target interface of the reservation system to obtain the actual status information of the cabin space of the target flight.
[0129] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0130] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0131] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.
[0133] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0134] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0135] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0136] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0137] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0138] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. An information processing method, characterized in that: include: Obtaining a search request, wherein the search request is used to request to search for status information and price information of cabin space of a target flight; In response to the search request, the displayed state information and price information of the cabin space of the target flight are obtained in the freight rate search system, and the target state information and target price information of the cabin space of the target flight are obtained; Acquire the actual status information of the space of the target flight from the reservation system, and acquire the actual price information of the space of the target flight from the price system; Based on the target status information, target price information, actual status information and actual price information of the cabin space of the target flight, the accuracy of the status information and price information of the cabin space of the target flight displayed in the fare search system is determined.
2. The method according to claim 1, characterized in that A get search request includes: Obtaining a target log, wherein the target log is used to record a request for searching for information of multiple flights, the multiple flights at least including the target flight, and the information of the multiple flights at least including status information and price information of the cabins of the multiple flights; The search request is obtained from the target log.
3. The method according to claim 1, characterized in that: A get search request includes: Acquire the itinerary information of the target flight, wherein the itinerary information of the target flight at least includes: the origin of the target flight, the destination of the target flight, the departure date of the target flight, and the return date of the target flight; The search request is obtained according to a request template used to construct the search request and the itinerary information of the target flight.
4. The method according to claim 1, characterized in that In response to the search request, the displayed state information and price information of the cabin space of the target flight are obtained in the freight rate search system, and the target state information and target price information of the cabin space of the target flight are obtained, including: Sending the search request to the freight rate search system for processing to obtain a processing result, wherein the processing result is used to indicate whether the freight rate search system successfully processes the search request; If the processing result indicates that the freight rate search system successfully processes the search request, the target status information and target price information of the cabin space of the target flight are obtained.
5. The method according to claim 1, characterized in that Determining the accuracy of the state information and price information of the target flight's cabin space displayed in the fare search system based on the target state information, target price information, actual state information, and actual price information of the target flight's cabin space includes: Based on the target status information of the space of the target flight and the actual status information of the space of the target flight, verify whether the status of the space of the target flight displayed in the fare search system is correct, and obtain a first verification result; Determining the accuracy of the status information of the cabin space of the target flight displayed in the fare search system according to the first verification result; Based on the target price information of the space of the target flight and the actual price information of the space of the target flight, verify whether the price of the space of the target flight displayed in the fare search system is correct, to obtain a second verification result; The accuracy of the price information of the cabin space of the target flight displayed in the fare search system is determined based on the second verification result.
6. The method according to claim 5, characterized in that Based on the target price information of the space of the target flight and the actual price information of the space of the target flight, verify whether the price of the space of the target flight displayed in the fare search system is correct, and obtain the second verification result including: Based on the target price information of the cabin space of the target flight and the actual price information of the cabin space of the target flight, calculating the difference between the target price of the cabin space of the target flight and the actual price of the cabin space of the target flight to obtain a target difference; Determine whether the target difference is less than a preset threshold; If the target difference is less than the preset threshold, determining that the second verification result is that the price of the space of the target flight displayed in the fare search system is correct; If the target difference is not less than the preset threshold, it is determined that the second verification result is that the price of the cabin space of the target flight displayed in the fare search system is wrong.
7. The method according to claim 1, characterized in that The actual status information of the cabin space of the target flight is obtained from the reservation system including: Acquire target information of the target flight, wherein the target information is at least one of the following: flight number information, take-off time, and landing time; Constructing a target request according to the target information of the target flight, wherein the target request is used to request to obtain actual status information of the space of the target flight; Based on the target request, the target interface of the reservation system is called to obtain the actual status information of the space of the target flight.
8. An information processing device, characterized in that: include: A first acquisition unit, configured to acquire a search request, wherein the search request is used to request to search for status information and price information of a cabin space of a target flight; A first processing unit, configured to respond to the search request, obtain the displayed state information and price information of the cabin space of the target flight in the freight rate search system, and obtain the target state information and target price information of the cabin space of the target flight; A second acquisition unit is used to acquire the actual status information of the cabin space of the target flight from the reservation system, and acquire the actual price information of the cabin space of the target flight from the price system; The first determining unit is used to determine the accuracy of the status information and price information of the target flight's cabin space displayed in the fare search system based on the target status information, target price information, actual status information and actual price information of the target flight's cabin space.
9. A computer-readable storage medium, characterized in that: The storage medium stores a program, wherein the program executes the information processing method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the information processing method described in any one of claims 1 to 7.