Hotel information recommendation method and apparatus
By automatically analyzing users' travel booking information, recommending hotel booking locations and dates, the problem of missed or incorrect hotel bookings caused by manual input by users is solved, thus improving the accuracy and efficiency of booking.
Patent Information
- Application Number
- CN202110890375.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-04
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2041-08-04
AI Technical Summary
Users need to manually enter the booking location, check-in date, and check-out date when booking a hotel, which may lead to the risk of missing or booking the wrong hotel.
By acquiring users' transportation order information, the system automatically filters out target transportation orders that are about to depart or are in the middle of a journey, determines hotel booking information based on the destination and arrival time of the order, and recommends suitable hotels.
This avoids the problem of missed or incorrect hotel bookings caused by manual input, thus improving the accuracy and efficiency of hotel reservations.
Smart Images

Figure CN113961793B_ABST
Abstract
Description
[0001] The present application relates to the field of Internet, and in particular to a hotel information recommendation method and device.
[0002] On some tourism platforms, after a user registers an account, the user can book train tickets, air tickets and bus tickets for himself or others, and can also book hotels for himself or others. At present, when the user books a hotel, the platform needs the user to manually input information such as a booking location, a check-in date and a check-out date, and then performs hotel searching and recommendation according to the information input by the user. In the above method, the user needs to check the travel arrangement by himself, and book a hotel according to the travel arrangement, which has the risk of missing or misbooking a hotel.
[0003] Therefore, the embodiments of the present application provide a hotel information recommendation method and device, which can recommend hotel information for a user according to transportation order information, so as to avoid the problem of missing or misbooking a hotel caused by manually filling in hotel booking information such as a booking location, a check-in date and a check-out date.
[0004] In a first aspect, the embodiments of the present application provide a hotel information recommendation method, which comprises the following steps.
[0005] When switching to a hotel booking page, obtaining transportation order information of a first user under a first account, and screening a target transportation order in a state of waiting for departure or in departure from the transportation order information of the first user.
[0006] Determining a first transportation order with the earliest arrival time from the target transportation order.
[0007] Determining whether a hotel booking order exists according to a destination and an arrival time of the first transportation order.
[0008] If no hotel booking order exists, determining whether a connecting transportation order of the first transportation order exists from the target transportation order.
[0009] If the connecting transportation order of the first transportation order exists, determining hotel information to be recommended according to the first transportation order and the connecting transportation order.
[0010] If the connecting transportation order of the first transportation order does not exist, determining hotel information to be recommended according to the first transportation order.
[0011] In one possible implementation, if the transportation orders under the first account include a transportation order of a first account registrant, and the transportation order of the first account registrant includes a transportation order in a state of waiting for departure or in departure, the first user is the first account registrant.
[0012] Otherwise, the first user is a non-first account registerer.
[0013] In one possible implementation, determining whether there is a hotel reservation order according to the destination and the arrival time of the first traffic order comprises:
[0014] Determining whether there is a hotel reservation order whose hotel reservation location is the same as the destination of the first traffic order and whose hotel check-in date is the same as the arrival date of the first traffic order.
[0015] In one possible implementation, if it is determined that there is a hotel reservation order according to the destination and the arrival time of the first traffic order, the method further comprises:
[0016] Determining, from the target traffic orders, a traffic order whose arrival time is closest to the arrival time of the first traffic order as a second traffic order.
[0017] Recommending hotel information according to the second traffic order.
[0018] In one possible implementation, determining, from the target traffic orders, whether there is a connecting traffic order of the first traffic order comprises:
[0019] Determining, from the target traffic orders, a traffic order whose departure location is the same as the destination of the first traffic order, whose departure date is later than the arrival date of the first traffic order, and which contains at least one passenger in the first traffic order as a connecting traffic order corresponding to the first traffic order.
[0020] In one possible implementation, if there is a connecting traffic order of the first traffic order, determining hotel information to be recommended according to the first traffic order and the connecting traffic order comprises:
[0021] If there is a connecting traffic order of the first traffic order, determining the destination of the first traffic order as a hotel reservation location, the arrival date of the first traffic order as a hotel check-in date, and the departure date of the connecting traffic order as a hotel check-out date.
[0022] In one possible implementation, if there is no connecting traffic order of the first traffic order, determining hotel information to be recommended according to the first traffic order comprises:
[0023] If there is no follow-up traffic order of the first traffic order, the destination of the first traffic order is determined as the hotel booking location, the arrival date of the first traffic order is determined as the hotel check-in date, and the day after the check-in date is determined as the hotel check-out date.
[0024] In a second aspect, an embodiment of the present application provides a hotel information recommendation device, which comprises:
[0025] An acquisition module is configured to acquire traffic order information of a first user under a first account when switching to a hotel booking page, and filter a target traffic order in a to-be-departed or departed state from the traffic order information of the first user.
[0026] A determination module is configured to determine a first traffic order with the earliest arrival time from the target traffic order, and determine whether there is a hotel booking order according to the destination and the arrival time of the first traffic order.
[0027] A recommendation module is configured to determine to-be-recommended hotel information according to the first traffic order and a follow-up traffic order of the first traffic order if the follow-up traffic order exists, and determine to-be-recommended hotel information according to the first traffic order if the follow-up traffic order does not exist.
[0028] In a third aspect, an embodiment of the present application provides an electronic device, which comprises:
[0029] at least one processor; and
[0030] at least one memory connected with the processor, wherein:
[0031] The memory stores program instructions executable by the processor, and the processor invoking the program instructions can execute the method provided in the first aspect.
[0032] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which comprises stored programs, wherein the programs control the device where the computer readable storage medium is located to execute the method in the first aspect when the programs run.
[0033] It should be understood that the second to fourth aspects of the embodiments of the present application are consistent with the technical solution of the first aspect of the embodiments of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation manner are similar, and will not be repeated.
[0034] The hotel information recommendation method and device provided by the embodiment of the present application can avoid the problems of missed booking or wrong booking caused by manually filling in the hotel booking information such as booking location, check-in date and check-out date. BRIEF DESCRIPTION OF DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0036] Figure 1 The flow chart of the hotel information recommendation method provided by the embodiment of the present application is shown in FIG. 1.
[0037] Figure 2 The flow chart of another hotel information recommendation method provided by the embodiment of the present application is shown in FIG. 2.
[0038] Figure 3 The schematic diagram of the hotel information recommendation device provided by the embodiment of the present application is shown in FIG. 3.
[0039] Figure 4 The schematic diagram of another hotel information recommendation device provided by the embodiment of the present application is shown in FIG. 4.
[0040] Figure 5 The structural schematic diagram of an electronic device provided by the embodiment of the present application is shown in FIG. 5. DETAILED DESCRIPTION
[0041] In order to better understand the technical solutions of the present application, the embodiments of the present application will be described in detail below with reference to the drawings.
[0042] It should be clear that the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort fall within the scope of protection of the present application.
[0043] The terms used in the embodiments of the present application are only for the purpose of describing the specific embodiments, and are not intended to limit the present application. The singular forms "a", "an" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0044] Currently, when a user books a hotel, the platform needs the user to manually input information such as a booking location, a check-in date, and a check-out date, and then performs hotel searching and recommendation according to the information input by the user. In the above method, the user needs to check the travel arrangement by himself / herself, and book a hotel according to the travel arrangement, which has the risk of missing or misbooking a hotel. The hotel information recommendation method provided in the embodiments of the present application can recommend hotel information to a user according to a traffic order, thereby avoiding the risk of missing or misbooking a hotel.
[0045] Figure 1 A flowchart of a hotel information recommendation method provided in the embodiments of the present application is shown in FIG. 1. Figure 1 As shown in FIG. 1, the hotel information recommendation method can include the following steps.
[0046] In step 101, when switching to a hotel booking page, traffic order information of a first user under a first account is obtained, and a target traffic order in a state of waiting for departure or in the middle of departure is filtered from the traffic order information of the first user.
[0047] The first account is a login account of the user. Since the user can purchase a ticket for himself / herself or for others after registering the first account, the first user can be a first account registerer or a non-first account registerer. Specifically, when the traffic orders under the first account include a traffic order of the first account registerer, and the traffic order of the first account registerer includes a traffic order in a state of waiting for departure or in the middle of departure, the first user in this step is the first account registerer; otherwise, the first user in this step is the non-first account registerer. That is, if there is a traffic order of the first account registerer in a state of waiting for departure or in the middle of departure under the first account, the traffic order information of the first account registerer is preferentially obtained; otherwise, the traffic order information of the non-first account registerer is obtained.
[0048] When the user logs in using the first account and switches to the hotel booking page, the hotel information recommendation method provided in the embodiments of the present application obtains the traffic order information of the first user, and filters an effective traffic order in a state of waiting for departure or in the middle of departure from the obtained traffic order information, taking the filtered traffic order as a target traffic order. The effective traffic order is a traffic order that has been successfully paid and has not been refunded or changed.
[0049] After obtaining the target traffic order, step 102 is continued.
[0050] In step 102, a first traffic order with the earliest arrival time is determined from the target traffic order.
[0051] Specifically, the target traffic order can be arranged in the order of arrival time to obtain a traffic order list. The traffic order ranked first in the traffic order list is determined as the first traffic order. After the first traffic order is determined, step 103 is continued.
[0052] In step 103, whether there is a hotel booking order is determined according to the destination and arrival time of the first traffic order.
[0053] Specifically, whether there is a hotel booking order with the same destination as the destination of the first traffic order and the same check-in date as the arrival date of the first traffic order is determined.
[0054] If the hotel booking order exists, it can be considered that the trip of the first traffic order has been booked a hotel, and the first traffic order does not need to be recommended a hotel. At this time, the traffic order ranked next to the first traffic order in the traffic order list is determined as the second traffic order, and the second traffic order is recommended hotel information. Similarly, if it is determined that the second traffic order has a hotel booking order, the next traffic order in the traffic order list can be continuously recommended hotel information. If it is determined that the traffic order ranked last in the traffic order list has a hotel booking order, and the first user in step 101 is a first account registrant, step 101 is returned, and the traffic order information of a non-first account registrant is obtained. If it is determined that the traffic order ranked last in the traffic order list has a hotel booking order, and the first user in step 101 is a non-first account registrant, the hotel information recommendation process is ended.
[0055] If the hotel booking order does not exist, step 104 is continued.
[0056] In step 104, whether there is a follow-up traffic order of the first traffic order is determined from the target traffic order if the hotel booking order does not exist.
[0057] The determination method of the follow-up traffic order is that: the traffic order with the same destination as the destination of the first traffic order and the departure date later than the arrival date of the first traffic order in the target traffic order, and containing at least one passenger in the first traffic order, is determined as the follow-up traffic order of the first traffic order. It should be noted that the passenger in the first traffic order can be one or more.
[0058] If the follow-up traffic order of the first traffic order exists, step 105 is continued; if the follow-up traffic order of the first traffic order does not exist, step 106 is continued.
[0059] In step 105, the hotel information to be recommended is determined according to the first traffic order and the follow-up traffic order if the follow-up traffic order of the first traffic order exists.
[0060] Specifically, if there is a subsequent transportation order of the first transportation order, the destination of the first transportation order is determined as the hotel booking location, the arrival date of the first transportation order is determined as the hotel check-in date, and the departure date of the subsequent transportation order is determined as the hotel check-out date.
[0061] Step 106, if there is no subsequent transportation order of the first transportation order, the hotel information to be recommended is determined according to the first transportation order.
[0062] Specifically, if there is no subsequent transportation order of the first transportation order, the destination of the first transportation order is determined as the hotel booking location, the arrival date of the first transportation order is determined as the hotel check-in date, and the day after the check-in date is determined as the hotel check-out date.
[0063] In steps 105 and 106, the hotel booking location, the hotel check-in date, and the hotel check-out date can be the hotel information to be recommended. After step 105 or step 106 is executed, the embodiment of the present application displays the above-mentioned hotel information to be recommended to the user, and displays the corresponding transportation order information, that is, displays which transportation order or which two transportation orders the hotel information to be recommended is recommended according to. If the user approves and clicks the hotel information to be recommended, the embodiment of the present application performs hotel search according to the hotel information to be recommended.
[0064] Figure 2 Another flowchart of a hotel information recommendation method provided by the embodiment of the present application is shown in FIG. 2. As shown in FIG. 2, the hotel information recommendation method can include the following steps. Figure 2
[0065] Step 201, obtaining an effective transportation order of a first account in a state of waiting for travel or in travel.
[0066] Step 202, determining whether there is a target transportation order of a first account registrant.
[0067] The target transportation order of the first account registrant is an effective transportation order in a state of waiting for travel or in travel, and the passenger includes the first account registrant. If the target transportation order of the first account registrant, step 203 is continued to be executed; otherwise, step 211 is continued to be executed.
[0068] Step 203, arranging the target transportation order of the first account registrant in the order of arrival time to obtain a transportation order list of the first account registrant.
[0069] Step 204, determining the first transportation order in the transportation order list of the first account registrant as the transportation order to be recommended.
[0070] Specifically, the transportation order with the earliest arrival time in the transportation order list of the first account registrant is determined as the transportation order to be recommended.
[0071] Step 205, it is determined whether the transportation order to be recommended has a corresponding hotel reservation order.
[0072] Among them, the hotel reservation order with the same check-in date as the arrival date of the transportation order to be recommended and the same booking location as the destination of the transportation order to be recommended can be determined as the hotel reservation order corresponding to the transportation order to be recommended.
[0073] In this step, if there is a hotel reservation order corresponding to the transportation order to be recommended, step 206 is continued to be executed; if there is no hotel reservation order corresponding to the transportation order to be recommended, step 208 is continued to be executed.
[0074] Step 206, it is determined whether there is a transportation order after the transportation order to be recommended in the transportation order list of the first account registrant.
[0075] Specifically, it is determined whether there is a transportation order after the transportation order to be recommended in the transportation order list of the first account registrant in step 205.
[0076] If there is a transportation order, step 207 is continued to be executed; otherwise, step 211 is continued to be executed.
[0077] Step 207, the next transportation order in the transportation order list of the first account registrant is determined as a new transportation order to be recommended.
[0078] After this step is completed, step 205 is continued to be executed.
[0079] Step 208, it is determined whether there is a transportation order following the transportation order to be recommended in the transportation order list of the first account registrant.
[0080] Among them, the transportation order in the transportation order list of the first account registrant with the same departure location as the destination of the transportation order to be recommended and the departure date later than the arrival date of the transportation order to be recommended can be determined as the transportation order following the transportation order to be recommended.
[0081] If there is a transportation order following the transportation order to be recommended, step 209 is continued to be executed; otherwise, step 210 is continued to be executed.
[0082] Step 209, the hotel information to be recommended is determined according to the transportation order to be recommended and the transportation order following.
[0083] Specifically, the destination of the to-be-recommended traffic order is determined as the hotel booking location, the arrival date of the to-be-recommended traffic order is determined as the hotel check-in date, and the departure date of the to-be-recommended traffic order is determined as the hotel check-out date. The to-be-recommended hotel information includes the hotel booking location, the hotel check-in date, and the hotel check-out date.
[0084] In step 210, to-be-recommended hotel information is determined according to the to-be-recommended traffic order.
[0085] Specifically, the destination of the to-be-recommended traffic order is determined as the hotel booking location, the arrival date of the to-be-recommended traffic order is determined as the hotel check-in date, and the departure date of the to-be-recommended traffic order is determined as the hotel check-out date. The to-be-recommended hotel information includes the hotel booking location, the hotel check-in date, and the hotel check-out date.
[0086] In step 211, it is determined whether there is a target traffic order of a non-first account registrant.
[0087] The target traffic order of the non-first account registrant is a valid traffic order in a to-be-traveled or in-traveling state, and the first account registrant is not included in the passenger. If there is a target traffic order of a non-first account registrant, step 212 is continued to be executed; otherwise, the flow ends.
[0088] In step 212, the target traffic order of the non-first account registrant is arranged in the order of arrival time to obtain a traffic order list of the non-first account registrant.
[0089] In step 213, the first traffic order in the traffic order list of the non-first account registrant is determined as the to-be-recommended traffic order.
[0090] Specifically, the earliest traffic order in the traffic order list of the non-first account registrant is determined as the to-be-recommended traffic order.
[0091] In step 214, it is determined whether the to-be-recommended traffic order has a corresponding hotel booking order.
[0092] The hotel booking order in which the check-in date is the same as the arrival date of the to-be-recommended traffic order and the booking location is the same as the destination of the to-be-recommended traffic order is determined as the hotel booking order corresponding to the to-be-recommended traffic order.
[0093] In this step, if it is determined that there is a hotel booking order corresponding to the to-be-recommended traffic order, step 215 is continued to be executed; if it is determined that there is no hotel booking order corresponding to the to-be-recommended traffic order, step 217 is continued to be executed.
[0094] In step 215, it is determined whether there is a traffic order after the to-be-recommended traffic order in the traffic order list of the non-first account registrant.
[0095] Specifically, it is determined whether there is a transportation order after the transportation order to be recommended in the transportation order list of the first account registrant in step 214.
[0096] If there is a transportation order, step 216 is performed; otherwise, the flow ends.
[0097] In step 216, the next transportation order in the transportation order list of the non-first account registrant is determined as a new transportation order to be recommended.
[0098] After this step is completed, step 214 is performed.
[0099] In step 217, it is determined whether there is a subsequent transportation order of the transportation order to be recommended in the transportation order list of the non-first account registrant.
[0100] Among them, the transportation order in the transportation order list of the non-first account registrant, whose departure place is the same as the destination of the transportation order to be recommended, whose departure date is later than the arrival date of the transportation order to be recommended, and which contains at least one passenger in the transportation order to be recommended, is determined as the subsequent transportation order of the transportation order to be recommended.
[0101] If there is a subsequent transportation order of the transportation order to be recommended, step 218 is performed; otherwise, step 219 is performed.
[0102] In step 218, the hotel information to be recommended is determined according to the transportation order to be recommended and the subsequent transportation order.
[0103] Specifically, the destination of the transportation order to be recommended is determined as the hotel booking place, the arrival date of the transportation order to be recommended is determined as the hotel check-in date, and the departure date of the subsequent transportation order is determined as the hotel check-out date. The hotel information to be recommended includes the hotel booking place, the hotel check-in date, and the hotel check-out date.
[0104] In step 219, the hotel information to be recommended is determined according to the transportation order to be recommended.
[0105] Specifically, the destination of the transportation order to be recommended is determined as the hotel booking place, the arrival date of the transportation order to be recommended is determined as the hotel check-in date, and the day after the check-in date is determined as the hotel check-out date.
[0106] Figure 3 A schematic diagram of a hotel information recommendation device provided by an embodiment of the present application is shown in FIG. 1. Figure 3 As shown in FIG. 1, the hotel information recommendation device can include:
[0107] The acquisition module 31 is configured to acquire traffic order information of a first user under a first account when switching to a hotel reservation page, and filter a target traffic order in a state of waiting for departure or in a state of departure from the traffic order information of the first user.
[0108] The determination module 32 is configured to determine a first traffic order with the earliest arrival time from the target traffic order, and determine whether a hotel reservation order exists according to a destination and an arrival time of the first traffic order.
[0109] The recommendation module 33 is configured to determine hotel information to be recommended according to the first traffic order and a successive traffic order of the first traffic order if the successive traffic order of the first traffic order exists, and determine hotel information to be recommended according to the first traffic order if the successive traffic order of the first traffic order does not exist.
[0110] If it is determined that the hotel reservation order exists according to the destination and the arrival time of the first traffic order, the determination module 32 is further configured to determine a second traffic order with the shortest interval of arrival time from the target traffic order and the arrival time of the first traffic order.
[0111] The recommendation module 33 is further configured to recommend hotel information according to the second traffic order.
[0112] Figure 3 The hotel information recommendation device provided by the embodiment can be used to execute the hotel information recommendation method provided by the embodiment. Figure 1 The technical scheme, implementation principle and technical effects of the method embodiment can be further referred to the related description in the method embodiment.
[0113] Figure 4 Another schematic diagram of a hotel information recommendation device is provided by the embodiment of the application. As shown in Figure 4 The hotel information recommendation device can further include:
[0114] The sorting module 34 is configured to arrange the target traffic orders of the first account registrant in a sequence of arrival time to obtain a traffic order list of the first account registrant, and / or arrange the target traffic orders of the non-first account registrant in a sequence of arrival time to obtain a traffic order list of the non-first account registrant.
[0115] The acquisition module 31 is specifically configured to acquire valid traffic orders in a state of waiting for departure or in a state of departure under the first account.
[0116] The determination module 32 is specifically used to determine whether there is a target transportation order of the first account registrant; to determine the transportation order at the top of the transportation order list of the first account registrant as a transportation order to be recommended; to determine whether there is a corresponding hotel booking order for the transportation order to be recommended; to determine whether there is a transportation order after the transportation order to be recommended in the transportation order list of the first account registrant; to determine the next transportation order in the transportation order list of the first account registrant as a new transportation order to be recommended; and to determine whether there is a follow-up transportation order to the transportation order to be recommended in the transportation order list of the first account registrant.
[0117] The determination module 32 can also be specifically used to determine whether there is a target transportation order from a non-first account registrant; to determine the transportation order at the top of the transportation order list of non-first account registrants as a transportation order to be recommended; to determine whether a corresponding hotel booking order already exists for the transportation order to be recommended; to determine whether there are any transportation orders following the transportation order to be recommended in the transportation order list of non-first account registrants; to determine the next transportation order in the transportation order list of non-first account registrants as a new transportation order to be recommended; and to determine whether there are any follow-up transportation orders to the transportation order to be recommended in the transportation order list of non-first account registrants.
[0118] The recommendation module 33 is specifically used to determine the hotel information to be recommended based on the transportation orders to be recommended and the connecting transportation orders; or, to determine the hotel information to be recommended based on the transportation orders to be recommended.
[0119] Figure 4 The hotel information recommendation device provided in the illustrated embodiment can be used to execute the present invention. Figure 2 The implementation principle and technical effects of the method embodiment shown can be further referred to the relevant description in the method embodiment.
[0120] Figure 5 A schematic diagram of the structure of an electronic device provided for the implementation of the present invention. Figure 5 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0121] like Figure 5 As shown, the electronic device may include at least one processor; and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor can execute the present invention by calling the program instructions. Figure 1 and Figure 2The illustrated embodiments provide a hotel information recommendation method. An electronic device is in the form of a general purpose computing device. Components of the electronic device can include, but are not limited to, one or more processors 410, a communication interface 420, a memory 430, and a communication bus 440 that connects the different system components, including the memory 430 and the processing unit 410.
[0122] The communication bus 440 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics bus (e.g., an Accelerated Graphics Port, or AGP bus) and a Local bus using any of a variety of bus architectures (e.g., Industrial Standard Architecture (ISA), Micro Channel Architecture (MCA), Enhanced ISA (EISA), Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus).
[0123] The electronic device typically includes a variety of computer system readable media. Such media can be any available media that is accessible by the electronic device and includes both volatile and non-volatile media, removable and non-removable media.
[0124] The memory 430 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The electronic device can further include other removable / non-removable, volatile / non-volatile computer system storage media. The memory 430 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
[0125] The program / utility, having a set (at least one) of program modules, can be stored in the memory 430 by way of example, and not limitation, an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or some combination thereof, can include an implementation of a networking environment.
[0126] The processor 410 performs various function applications and data processing by running programs stored in the memory 430, for example, to implement the method provided by the embodiments of the present application Figure 1 and Figure 2 The method provided by the embodiments shown in the specification.
[0127] The embodiments of the present application provide a computer readable storage medium, which comprises a stored program, wherein the program controls a device where the computer readable storage medium is located to perform the method provided by the embodiments of the present application Figure 1 and Figure 2 The hotel information recommendation method provided by the embodiments shown in the specification.
[0128] The computer readable signal medium can include a data signal conveyed in a baseband or as part of a carrier wave transporting the computer readable program code. The data signals can be transmitted according to several principles well-known in the art, including but not limited to electrical, electromagnetic, optical, RF or any suitable combination thereof. The computer readable signal medium can also be any computer readable medium that can send, receive, or transfer a program for use by or in connection with an instruction execution system, apparatus, or device.
[0129] The program code contained on the computer readable medium can be transmitted using any suitable medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination thereof.
[0130] The computer program code for carrying out operations of the present application can be written in one or more programming languages or combinations of languages including object oriented programming languages such as Java, Smalltalk, C++ or conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0131] The above described specific embodiments of the application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order and still accomplish the desired result. In addition, the process depicted in the accompanying drawings does not necessarily require the particular order shown, or sequential order, to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous or necessary.
[0132] In the description of the present application, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the particular feature, structure, material or characteristic being described is included in at least one embodiment or example of the present application. The illustrative appearance of the above terms in various places in the specification are not necessarily intended to refer to the same embodiment or example. Also, the particular features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples. Moreover, the different embodiments or examples described in the present application are not mutually exclusive, and the features of the different embodiments or examples can be combined and combined in the present application.
[0133] In addition, the terms "first", "second", etc. are used only for descriptive purposes and are not to be construed as indicating or implying relative importance or an indicated number of the specified technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise explicitly specified.
[0134] Any process or method descriptions or descriptions of processes or methods described in flow diagrams or otherwise herein can be understood as representing code modules, segments, or portions of code which include one or more executable instructions for implementing specific logic functions (or steps) in the process, and that the various embodiments of the present application can include additional or fewer processes, steps, operations, or combinations of processes, steps, operations in comparison to those shown or discussed. Additionally, the processes depicted in the flow diagrams or otherwise described herein can be performed in an order other than the described, including in an interleaved manner, or can be performed in parallel, or can be performed with an order not shown or discussed, including in a substantially simultaneous manner, as will be appreciated by those skilled in the art.
[0135] Depending on the context, the word "if' can be interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting", as the context suggests. Similarly, the phrase "if it is determined" or "if detecting (a stated condition or event)" can be interpreted to mean "when it is determined" or "in response to determining" or "when detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)", as the context suggests.
[0136] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. For example, the division of the above-described device embodiments is only a logical function division, and there can be another division manner for the actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, or the among different units, can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0137] In addition, each function unit in the various embodiments of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in the form of hardware, or in the form of a hardware plus software function unit.
[0138] The above only provides the preferred embodiments of the present application, and is not used to limit the present application, and any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A hotel information recommendation method characterized by comprising: The method comprises: determining, when switching to a hotel reservation page, obtaining traffic order information of a first user under a first account, and screening a target traffic order in a state of to-be-departed or in-departure from the traffic order information of the first user; determining a first traffic order with the earliest arrival time from the target traffic order; determining whether a hotel reservation order exists according to the destination and arrival time of the first traffic order; if no hotel reservation order exists, determining whether a connecting traffic order of the first traffic order exists from the target traffic order; if the connecting traffic order of the first traffic order exists, determining hotel information to be recommended according to the first traffic order and the connecting traffic order; if the connecting traffic order of the first traffic order does not exist, determining hotel information to be recommended according to the first traffic order.
2. The method of claim 1, wherein, if the traffic order under the first account contains a traffic order of a first account registrant, and the traffic order of the first account registrant contains a traffic order in a state of to-be-departed or in-departure, the first user is the first account registrant; otherwise, the first user is a non-first account registrant.
3. The method of claim 1, wherein, determining whether a hotel reservation order exists according to the destination and arrival time of the first traffic order comprises: determining whether a hotel reservation order exists, which has the same destination as the destination of the first traffic order and the same check-in date as the arrival date of the first traffic order.
4. The method of claim 1, wherein, if it is determined that a hotel reservation order exists according to the destination and arrival time of the first traffic order, the method further comprises: determining a second traffic order with the shortest interval between the arrival time of the first traffic order and the arrival time of the second traffic order from the target traffic order; recommending hotel information according to the second traffic order.
5. The method of claim 1, wherein, determining whether a connecting traffic order of the first traffic order exists from the target traffic order comprises: determining a connecting traffic order corresponding to the first traffic order from the target traffic order, which has the same destination as the destination of the first traffic order and the departure date later than the arrival date of the first traffic order, and contains at least one passenger in the first traffic order.
6. The method of claim 5, wherein, if the connecting traffic order of the first traffic order exists, determining hotel information to be recommended according to the first traffic order and the connecting traffic order comprises: if the connecting traffic order of the first traffic order exists, determining the destination of the first traffic order as a hotel reservation location, the arrival date of the first traffic order as a hotel check-in date, and the departure date of the connecting traffic order as a hotel check-out date.
7. The method of claim 5, wherein, if the connecting traffic order of the first traffic order does not exist, determining hotel information to be recommended according to the first traffic order: if the connecting traffic order of the first traffic order does not exist, determining the destination of the first traffic order as a hotel reservation location, the arrival date of the first traffic order as a hotel check-in date, and the next day of the check-in date as a hotel check-out date.
8. A hotel information recommendation device characterized by comprising: The device comprises: The acquisition module is configured to acquire transportation order information of a first user under a first account when switching to a hotel reservation page, and filter a target transportation order in a state of waiting for departure or in a state of departure from the transportation order information of the first user. The determination module is configured to determine a first transportation order with an earliest arrival time from the target transportation order, and determine whether a hotel reservation order exists according to a destination and an arrival time of the first transportation order. The recommendation module is configured to determine hotel information to be recommended according to the first transportation order and a connecting transportation order of the first transportation order if the connecting transportation order exists, and determine hotel information to be recommended according to the first transportation order if the connecting transportation order does not exist.
9. An electronic device, comprising: comprise: at least one processor; and at least one memory connected with the processor in communication, wherein: the memory stores program instructions executable by the processor, and the processor invoking the program instructions can execute the method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a stored program, wherein when the program runs, the device where the computer readable storage medium is located executes the method of any one of claims 1 to 7.
Citation Information
Patent Citations
Order processing system and method of OTA website
CN104463420A
Oversea airport transferring reserving method, system, equipment and storage medium
CN107633312A
Associated booking method and system for airline ticket and hotel for OTA website
CN107944581A