Business travel reservation information query method, query system, equipment, medium and product
By setting preset control information in the travel booking query system, targeted retrieval of machine wine query is realized, and the problem of inability to effectively control employees' travel booking behavior in the existing technology is solved, and query efficiency and user experience are improved.
Patent Information
- Application Number
- CN202411934088.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-18
AI Technical Summary
The prior art cannot realize targeted search information during the machine wine query stage, making it difficult for enterprises to effectively control employees' travel booking behavior.
By setting preset control information in advance, the query information entered by the user is intelligently matched and filtered during the query stage, and the reservationable information is determined and displayed to the user.
It improves the speed and accuracy of information processing, ensures that the output results meet the enterprise's travel control standards, and at the same time meet the actual needs of users, improving the user experience.
Smart Images

Figure CN119848091A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of enterprise business travel management, and in particular to a method, system, device, medium and product for querying travel reservation information. Background Art
[0002] When employees book business trips, companies seek to effectively control employees' air tickets and hotel reservations to improve the efficiency and compliance of travel management. This control requirement needs to be achieved at the air ticket and hotel query stage. By setting specific rules, employees can perform targeted searches when booking to achieve the purpose of controlling air ticket and hotel reservations and ensure that employees' booking behavior meets the company's travel standards and budget restrictions. Summary of the invention
[0003] The technical problem to be solved by the present disclosure is to overcome the defect in the prior art that it is impossible to achieve targeted retrieval of information at the stage of flight and hotel inquiry, and to provide a method, system, device, medium and product for inquiry of travel reservation information.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] The present disclosure provides a method for querying travel reservation information, the query method comprising:
[0006] Obtain preset control information and query information entered by the user;
[0007] Determine available bookable information based on the preset control information and the query information;
[0008] The bookable information is displayed to the user.
[0009] In this solution, by setting preset control information in advance, the query information entered by the user is intelligently matched and filtered during the query stage to ensure that the output results meet both the company's travel control standards and the actual needs of the user. This efficient query mechanism not only improves the speed and accuracy of information processing, but also greatly improves the user experience. The user interface intuitively displays the available booking information, allowing users to easily browse and select the most suitable options on their own, so as to make smart decisions quickly.
[0010] Preferably, the preset control information includes preset keyword information, and the preset keyword information is used to represent the content that is allowed to be queried; the step of determining the bookable information based on the preset control information and the query information includes:
[0011] Determine, based on the query information, information to be displayed that matches the query information;
[0012] The bookable information is determined according to the information to be displayed and the preset keyword information; the bookable information is used to represent the information that matches the preset keyword information in the information to be displayed.
[0013] In this solution, by presetting keyword information, the content that does not conform to the preset control information can be effectively filtered out. At the same time, based on the preset keyword information and query information, the bookable information can be quickly located to improve the query efficiency.
[0014] Preferably, the types of the preset control information are divided into a first control type and a second control type, and the control intensity of the first control type is greater than the control intensity of the second control type;
[0015] The step of determining the bookable information based on the preset control information and the query information further includes:
[0016] In response to the type of the preset control information being the first control type, determining the bookable information based on the preset control information and the query information;
[0017] In response to the type of the preset control information being the second control type, a search is performed based on the query information input by the user to obtain search result information, where the search result information is the bookable information.
[0018] In this solution, by setting different types of control information, flexible adjustments can be made according to different control needs.
[0019] Preferably, the preset keyword information includes preset keywords corresponding to different product levels; the preset keyword information is keyword information such as flight class or hotel star level;
[0020] The step of determining the bookable information according to the information to be displayed and the preset keyword information includes:
[0021] In response to the preset keyword information being the preset keyword of the lowest level among different product levels, determining the bookable information based only on the information to be displayed and the preset keyword of the lowest level;
[0022] In response to the preset keyword information being any preset keyword other than the preset keyword of the lowest level in different product levels, the pre-orderable information is determined based on the information to be displayed, the preset keywords and a keyword set; the keyword set is a set of preset keywords corresponding to all products of a lower product level than the product level corresponding to the preset keyword.
[0023] Preferably, the query method further includes:
[0024] If there are multiple preset control information, switch any one of the preset control information, and determine the current bookable information based on the current preset control information and the query information;
[0025] and / or,
[0026] If there are multiple preset control information, switch any one of the preset control information, and the current bookable information cannot be determined based on the current preset control information and the query information, generate a switching prompt information, and the switching prompt information is used to indicate switching to the next preset control information.
[0027] In this solution, users can flexibly switch different preset control information according to different query requirements to obtain the query results that best meet their needs;
[0028] By switching between different preset control information, the accuracy and relevance of the query results can be improved; when a preset control information cannot determine the bookable information, the system can prompt the user to switch to the next preset control information, reducing the possibility of query failure.
[0029] Preferably, the query method further includes:
[0030] In a case where the type of the preset control information is the second control type, receiving target information selected by the user from the bookable information;
[0031] In response to the target information not meeting the preset control information, a prompt message is generated.
[0032] In this solution, when the information selected by the user does not meet the control requirements, the system will generate prompt information to help the user understand the control requirements and guide the user to make a choice that meets the control requirements.
[0033] The present disclosure also provides a travel booking information query system, the query system comprising:
[0034] Information acquisition module, used to obtain preset control information and query information input by the user;
[0035] A bookable information determination module, used to determine the bookable information based on the preset control information and the query information;
[0036] An information display module is used to display the available booking information to the user.
[0037] Preferably, the preset control information includes preset keyword information, and the preset keyword information is used to represent the content allowed to be queried; the bookable information determination module includes a to-be-displayed information determination unit and a bookable information determination unit;
[0038] The to-be-displayed information determining unit is configured to determine, based on the query information, the to-be-displayed information that matches the query information;
[0039] The reservable information determining unit is used to determine the reservable information according to the information to be displayed and the preset keyword information; the reservable information is used to represent the information in the information to be displayed that matches the preset keyword information.
[0040] Preferably, the types of the preset control information are divided into a first control type and a second control type, and the control intensity of the first control type is greater than the control intensity of the second control type;
[0041] The bookable information determination module is further configured to determine the bookable information based on the preset control information and the query information in response to the type of the preset control information being the first control type;
[0042] The bookable information determination module is further configured to, in response to the type of the preset control information being the second control type, perform a search based on the query information input by the user to obtain search result information, wherein the search result information is the bookable information.
[0043] Preferably, the preset keyword information includes preset keywords corresponding to different product levels; the preset keyword information is keyword information such as flight class or hotel star level;
[0044] The bookable information determining unit is further configured to determine the bookable information based only on the information to be displayed and the preset keywords of the lowest level in response to the preset keyword information being the preset keywords of the lowest level among different product levels;
[0045] The pre-orderable information determination unit is further used to determine the pre-orderable information based on the information to be displayed, the preset keywords and a keyword set in response to the preset keyword information being any preset keyword other than the preset keyword of the lowest level in different product levels; the keyword set is a set of preset keywords corresponding to all products of a lower product level than the product level corresponding to the preset keyword.
[0046] Preferably, the query system further comprises: a preset control information switching module;
[0047] The preset control information switching module is used to switch any of the preset control information if there are multiple preset control information, and determine the current bookable information based on the current preset control information and the query information;
[0048] and / or,
[0049] The preset control information switching module is used to switch any one of the preset control information if there are multiple preset control information, and generate a switching prompt information if the current bookable information cannot be determined based on the current preset control information and the query information. The switching prompt information is used to indicate the switching of the next preset control information.
[0050] Preferably, the query system further comprises: a target information receiving module and a prompt information generating module;
[0051] The target information receiving module is used to receive the target information selected by the user from the bookable information when the type of the preset control information is the second control type;
[0052] The prompt information generating module is used to generate prompt information in response to the target information not conforming to the preset control information.
[0053] The present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and used to run on the processor, and the processor implements the above-mentioned method for querying travel reservation information when executing the computer program.
[0054] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned method for querying travel reservation information is implemented.
[0055] The present disclosure also provides a computer program product, including a computer program, which implements the above-mentioned method for querying travel reservation information when executed by a processor.
[0056] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.
[0057] The positive and progressive effects of this disclosure are:
[0058] The disclosure sets preset control information in advance, and intelligently matches and filters the query information input by the user during the query stage, ensuring that the output results meet both the company's travel control standards and the actual needs of the user. This efficient query mechanism not only improves the speed and accuracy of information processing, but also greatly improves the user experience. The user interface intuitively displays the available booking information, allowing users to easily browse and select the most appropriate option by themselves, so as to make smart decisions quickly. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 A flowchart of a method for querying travel reservation information provided in an embodiment of the present disclosure;
[0060] Figure 2 A schematic diagram of a reservation interface provided in an embodiment of the present disclosure Figure 1 ;
[0061] Figure 3 A schematic diagram of a reservation interface provided in an embodiment of the present disclosure Figure 2 ;
[0062] Figure 4 A schematic diagram of specific steps of a method for querying travel reservation information provided in an embodiment of the present disclosure;
[0063] Figure 5 A schematic diagram of a module of a travel reservation information query system provided in an embodiment of the present disclosure;
[0064] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0065] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0066] It should be noted that if this embodiment involves directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0067] In addition, if there are descriptions involving "first", "second", etc. in this embodiment, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present disclosure.
[0068] In the embodiments of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0069] Example 1
[0070] See also Figures 1 to 4 This embodiment provides a method for querying travel reservation information. Figure 1 This is a flowchart of a method for querying travel reservation information provided in an embodiment of the present disclosure. This specification provides method operation steps such as the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in the order shown in the embodiment or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 1 As shown, the query method includes:
[0071] S101: Obtaining preset control information and query information input by the user;
[0072] S102: Determine available booking information based on preset control information and query information;
[0073] S103: Displaying available booking information to the user.
[0074] The disclosure sets preset control information in advance, and intelligently matches and filters the query information input by the user during the query stage, ensuring that the output results meet both the company's travel control standards and the actual needs of the user. This efficient query mechanism not only improves the speed and accuracy of information processing, but also greatly improves the user experience. The user interface intuitively displays the available booking information, allowing users to easily browse and select the most appropriate option by themselves, so as to make smart decisions quickly.
[0075] In this embodiment, the preset control information includes preset keyword information, and the preset keyword information is used to represent the content that is allowed to be queried; the step of determining the bookable information based on the preset control information and the query information includes: determining the information to be displayed that matches the query information based on the query information, and determining the bookable information based on the information to be displayed and the preset keyword information; the bookable information is used to represent the information that matches the preset keyword information in the information to be displayed.
[0076] By presetting keyword information, content that does not conform to the preset control information can be effectively filtered out. At the same time, based on the preset keyword information and query information, the bookable information can be quickly located to improve query efficiency.
[0077] Specifically, the preset keyword information is the keyword information of air ticket class or hotel star rating. If the preset keyword information is the keyword information of air ticket class, the keyword information may include economy class, business class, first class, super economy class, etc. If the preset keyword information is the keyword information of hotel star rating, the keyword information may include three-star hotel, four-star hotel, etc.
[0078] The above-mentioned preset control information can be created by the enterprise. For example, the enterprise needs to restrict the class of air tickets or the star rating of hotels selected by employees for travel. The enterprise can create an approval form, that is, preset control information, to control when employees book air tickets or hotels.
[0079] Among them, the preset keyword information includes preset keywords corresponding to different product levels; the step of determining the bookable information according to the information to be displayed and the preset keyword information includes: in response to the preset keyword information being the preset keyword of the lowest level among different product levels, the bookable information is determined only based on the information to be displayed and the preset keyword of the lowest level; in response to the preset keyword information being any preset keyword except the preset keyword of the lowest level among different product levels, the bookable information is determined based on the information to be displayed, the preset keyword and the keyword set; the keyword set is a set of preset keywords corresponding to all products of a lower product level than that corresponding to the preset keyword.
[0080] Taking the air ticket class as an example, the above content is described in detail. The preset keyword information includes preset keywords corresponding to different product levels. The economy class, business class, first class, and super economy class corresponding to the air ticket class are the preset keywords.
[0081] Figure 2 A schematic diagram of a reservation interface provided in an embodiment of the present disclosure Figure 1 ,like Figure 2 As shown, if the keyword set in the approval form created by the enterprise is business class, it means that the enterprise wants to limit the travel class of employees to business class, that is, the preset keyword in the preset keyword information is business class, and business class is not the lowest preset keyword in the class of air tickets. When employees want to book air tickets based on the approval form, they first enter the departure place, destination and date. This information is the query information entered by the user. After entering the query information, you can determine the flights that can be selected. These flights are the information to be displayed. The preset keyword is business class. Since business class is not the lowest class, super economy class and economy class, which are lower than business class, can be booked. Super economy class and economy class are the keyword sets mentioned above. If there are flights that meet the preset keywords business class, super economy class and economy class among these flights, they can be displayed to users. These flights are bookable information.
[0082] Figure 3 A schematic diagram of a reservation interface provided in an embodiment of the present disclosure Figure 2 ,like Figure 3 As shown, if the keyword set in the approval form created by the enterprise is economy class, it means that the enterprise wants to limit the travel ticket class of employees to economy class. The preset keyword is economy class, and economy class is the lowest level preset keyword in the ticket class. Therefore, when displaying the flights that can be booked, only flights with economy class will be displayed.
[0083] In this embodiment, the types of preset control information are divided into a first control type and a second control type, and the control strength of the first control type is greater than the control strength of the second control type; the step of determining the bookable information based on the preset control information and the query information also includes: in response to the type of the preset control information being the first control type, determining the bookable information based on the preset control information and the query information; in response to the type of the preset control information being the second control type, searching based on the query information input by the user to obtain search result information, and the search result information is the bookable information. In this solution, by setting different types of control information, flexible adjustments can be made according to different control needs.
[0084] Specifically, taking the booking of air tickets as an example, if the type of preset control information is the first control type, that is, the strong control type, in this case, employees can only see the ticket class corresponding to the preset keyword set in the approval form created by the company on the bookable display interface, and other classes are not visible on the bookable display interface. For example, the preset keyword is super economy class. Through the query information entered by the employee and the preset keyword, the bookable information that can be displayed to the employee is only super economy class and economy class, which is one level lower than super economy class. Business class and first class, which are higher than super economy class, cannot be displayed, so employees cannot see them when booking, let alone book them.
[0085] If the type of preset control information is the second control type, i.e., weak control type, in this case, the search result information obtained based on the query information entered by the user is the bookable information, i.e., in the case of weak control type, the enterprise does not force employees to choose the cabin class. When employees choose super economy class or economy class, it is in line with the enterprise difference standard and the preset control information. When employees choose other cabin classes beyond the preset control information, such as first class, under the weak control type, the user's booking choice will not be blocked.
[0086] In this embodiment, the query method further includes: when the type of the preset control information is the second control type, receiving the target information selected by the user from the bookable information; and generating prompt information in response to the target information not meeting the preset control information. In this solution, when the information selected by the user does not meet the control requirements, the system will generate prompt information to help the user understand the control requirements and guide the user to make a selection that meets the control requirements.
[0087] Specifically, the type of preset control information is the second control type, that is, the weak control type, and the target information selected by the user from the bookable information is received. The bookable information here is the search result information obtained by searching based on the query information input by the user. If the preset keyword is business class, but the user selects first class when booking, and the target information first class selected by the user is received, and the selected first class at this time does not meet the preset control information business class, a prompt message can be generated. The system can prompt that it exceeds the preset control information or exceeds the difference standard, but it will not prevent employees from booking first class. Alternatively, when the employee selects a cabin class that exceeds the preset control information, that is, the selected cabin class does not meet the control of the approval form created by the enterprise, a query pop-up window interception message can be generated, and the copy prompts "According to your company's rules, the cabin class currently queried does not meet the requirements of the approval form", providing clear guidance for employees, but the employee closes the pop-up window and continues to choose to book first class. In the case of weak control type, the operation will not be forcibly intercepted.
[0088] In this embodiment, the query method further includes: if there are multiple preset control information, switching any preset control information, and determining the current bookable information based on the current preset control information and the query information. Users can flexibly switch different preset control information according to different query requirements to obtain the query result that best meets their needs.
[0089] Specifically, the enterprise can create multiple approval forms, that is, set multiple preset control information, for example, it can set the cabin class selection at the same time, and can also set the flight selection, travel time selection or route selection. The first preset control information is the selection of the specific travel time, such as between 10:00-12:00 in the morning. When switching to the first preset control information, the query information is obtained. For example, the user enters from Shanghai to Beijing, and the time is December 17. Then, based on the first preset control information, the current bookable information determined is the flight from Shanghai to Beijing between 10:00-12:00 on December 17, and the flight information displayed to the user is also the flight information of this time period.
[0090] In this embodiment, if there are multiple preset control information, any preset control information is switched, and the current bookable information cannot be determined based on the current preset control information and the query information, a switching prompt information is generated, and the switching prompt information is used to indicate the switching of the next preset control information. By switching different preset control information, the accuracy and relevance of the query results can be improved; when a preset control information cannot determine the bookable information, the system can prompt the user to switch to the next preset control information, reducing the possibility of query failure.
[0091] Specifically, if there are multiple preset control information, the first preset control information is business class, the route is the first route, and the second preset control information is super economy class, and the route is the second route; if the current preset control information is the first preset control information, but the query information is the second route, then based on the first preset control information and the second route, it is impossible to determine the bookable information. At this time, a switching prompt message is generated, prompting "Unable to query, do you want to change the approval form?" The user chooses to change the approval form to the approval form where the second preset control information is located, and continues to determine the current bookable information based on the second preset control information and the query information.
[0092] The following will be combined Figure 4 A detailed description of the entire booking process. Figure 4 A schematic diagram of specific steps of a method for querying travel reservation information provided in an embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the approval form created in advance by the enterprise is brought in, that is, the preset control information, to determine whether the cabin is strongly controlled. If it is not strongly controlled, it is carried out based on the existing process, that is, the query results are displayed according to the query information entered by the user; if the cabin class is strongly controlled, it is determined based on the preset keywords whether there are products with a lower level than the preset keywords, for example, whether there are multiple cabin classes, including downward compatible cabin classes. Assuming that the preset keyword is business class, the cabin class is business class and super economy class and economy class, which are lower than business class. Then, based on the query information and the preset control information, the bookable information is determined and displayed to the user, that is, the query page cabin class displays the full amount of downward compatible cabin classes. Determine whether to change the approval form. If not, the query ends. If it needs to be changed, a pop-up window will remind you to change the approval form. After the change, continue to determine whether the approval form is strongly controlled, and repeat the process to determine the bookable information.
[0093] Example 2
[0094] Corresponding to the aforementioned travel reservation information query method embodiment, the present disclosure also provides an embodiment of a travel reservation information query system.
[0095] Figure 5 This is a module diagram of a travel booking information query system provided in an embodiment of the present disclosure, the query system comprising:
[0096] Information acquisition module 1, used to obtain preset control information and query information input by the user;
[0097] A booking information determination module 2 is used to determine the booking information based on the preset control information and the query information;
[0098] The information display module 3 is used to display the available booking information to the user.
[0099] Preferably, the preset control information includes preset keyword information, and the preset keyword information is used to represent the content that is allowed to be queried; the bookable information determination module includes a to-be-displayed information determination unit and a bookable information determination unit;
[0100] A to-be-displayed information determining unit, configured to determine, based on the query information, the to-be-displayed information that matches the query information;
[0101] The reservable information determining unit is used to determine the reservable information according to the information to be displayed and the preset keyword information; the reservable information is used to represent the information matching the preset keyword information in the information to be displayed.
[0102] Preferably, the types of preset control information are divided into a first control type and a second control type, and the control intensity of the first control type is greater than the control intensity of the second control type;
[0103] The bookable information determination module is further configured to determine the bookable information based on the preset control information and the query information in response to the type of the preset control information being the first control type;
[0104] The bookable information determination module is further used to, in response to the preset control information type being the second control type, perform a search based on the query information input by the user to obtain search result information, where the search result information is the bookable information.
[0105] Preferably, the preset keyword information includes preset keywords corresponding to different product levels; the preset keyword information is keyword information of flight class or hotel star rating;
[0106] The bookable information determining unit is further configured to determine the bookable information based only on the information to be displayed and the preset keywords of the lowest level in response to the preset keyword information being the preset keywords of the lowest level among the different product levels;
[0107] The pre-orderable information determination unit is also used to determine the pre-orderable information based on the information to be displayed, the preset keywords and the keyword set in response to the preset keyword information being any preset keyword other than the preset keyword of the lowest level in different product levels; the keyword set is a set of preset keywords corresponding to all products of a lower product level than the preset keyword.
[0108] Preferably, the query system further comprises: a preset control information switching module;
[0109] A preset control information switching module is used to switch any preset control information if there are multiple preset control information, and determine the current bookable information based on the current preset control information and the query information;
[0110] and / or,
[0111] The preset control information switching module is used to switch any preset control information if there are multiple preset control information, and if the current bookable information cannot be determined based on the current preset control information and query information, generate switching prompt information, and the switching prompt information is used to indicate the switching of the next preset control information.
[0112] Preferably, the query system further comprises: a target information receiving module and a prompt information generating module;
[0113] a target information receiving module, used for receiving target information selected by a user from the bookable information when the type of the preset control information is the second control type;
[0114] The prompt information generation module is used to generate prompt information in response to the target information not meeting the preset control information.
[0115] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, in which the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution.
[0116] Example 3
[0117] Figure 6 This is a structural diagram of an electronic device provided in an embodiment of the present disclosure, wherein the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and when the processor executes the computer program, the method for querying travel reservation information described in any of the above embodiments is implemented. Figure 6 The electronic device 60 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0118] like Figure 6As shown, the electronic device 60 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 60 may include, but are not limited to: at least one processor 61, at least one memory 62, and a bus 63 connecting different system components (including the memory 62 and the processor 61).
[0119] The bus 63 includes a data bus, an address bus, and a control bus.
[0120] The memory 62 may include a volatile memory, such as a random access memory (RAM) 621 and / or a cache memory 622 , and may further include a read-only memory (ROM) 623 .
[0121] The memory 62 may also include a program tool 625 (or utility) having a set (at least one) of program modules 624, such program modules 624 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0122] The processor 61 executes various functional applications and data processing by running the computer program stored in the memory 62, such as the method for querying travel reservation information provided in any of the above embodiments.
[0123] The electronic device 60 may also communicate with one or more external devices 64 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 65. Furthermore, the electronic device 60 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 66. As shown, the network adapter 66 communicates with other modules of the electronic device 60 via a bus 63. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 60, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0124] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0125] Example 4
[0126] The embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the method for querying travel reservation information provided in any of the above embodiments is implemented.
[0127] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0128] Example 5
[0129] The embodiment of the present disclosure further provides a computer program product, including a computer program, which implements any of the above-mentioned methods for querying travel reservation information when executed by a processor.
[0130] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0131] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.
Claims
1. A method for querying travel reservation information, characterized in that: The query method comprises: Obtain preset control information and query information entered by the user; Determine available bookable information based on the preset control information and the query information; The bookable information is displayed to the user.
2. The method for querying travel reservation information according to claim 1, characterized in that: The preset control information includes preset keyword information, and the preset keyword information is used to represent the content that is allowed to be queried; The step of determining the bookable information based on the preset control information and the query information includes: Determine, based on the query information, information to be displayed that matches the query information; The bookable information is determined according to the information to be displayed and the preset keyword information; the bookable information is used to represent the information that matches the preset keyword information in the information to be displayed.
3. The method for querying travel reservation information according to claim 2, characterized in that: The type of the preset control information is divided into a first control type and a second control type, and the control intensity of the first control type is greater than the control intensity of the second control type; The step of determining the bookable information based on the preset control information and the query information further includes: In response to the type of the preset control information being the first control type, determining the bookable information based on the preset control information and the query information; In response to the type of the preset control information being the second control type, a search is performed based on the query information input by the user to obtain search result information, where the search result information is the bookable information.
4. The method for querying travel reservation information according to claim 2, characterized in that: The preset keyword information includes preset keywords corresponding to different product levels; the preset keyword information is keyword information such as flight class or hotel star level; The step of determining the bookable information according to the information to be displayed and the preset keyword information includes: In response to the preset keyword information being the preset keyword of the lowest level among different product levels, determining the bookable information based only on the information to be displayed and the preset keyword of the lowest level; In response to the preset keyword information being any preset keyword other than the preset keyword of the lowest level in different product levels, the pre-orderable information is determined based on the information to be displayed, the preset keywords and a keyword set; the keyword set is a set of preset keywords corresponding to all products of a lower product level than the product level corresponding to the preset keyword.
5. The method for querying travel reservation information according to any one of claims 1 to 4, characterized in that: The query method further includes: If there are multiple preset control information, switch any one of the preset control information, and determine the current bookable information based on the current preset control information and the query information; and / or, If there are multiple preset control information, switch any one of the preset control information, and the current bookable information cannot be determined based on the current preset control information and the query information, generate a switching prompt information, and the switching prompt information is used to indicate switching to the next preset control information.
6. The method for querying travel reservation information according to claim 3, characterized in that: The query method further includes: In a case where the type of the preset control information is the second control type, receiving target information selected by the user from the bookable information; In response to the target information not meeting the preset control information, a prompt message is generated.
7. A travel booking information query system, characterized in that: The query system comprises: Information acquisition module, used to obtain preset control information and query information input by the user; A bookable information determination module, used to determine the bookable information based on the preset control information and the query information; An information display module is used to display the available booking information to the user.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the method for querying travel reservation information according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for querying travel reservation information according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for querying travel reservation information according to any one of claims 1 to 6 is implemented.