Hotel reservation method, system, device and storage medium
By analyzing the historical consumption data of users and hotels, establishing a combination of consumption tags, and filtering hotels based on characteristic data, the problem of inaccurate recommendations in the existing technology is solved, personalized hotel recommendations are realized, and the user experience is improved.
Patent Information
- Application Number
- CN202210413584.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-13
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-04-13
AI Technical Summary
Existing technology cannot make accurate and personalized recommendations based on the diverse hotel booking needs of users, resulting in inaccurate recommendations.
By obtaining the historical consumption data of the target user and other users, a combination of consumption tags is established, and combined with user characteristic data and hotel characteristic data, the hotel groups that meet the user's needs are selected and a personalized hotel display page is generated.
It achieves accurate recommendations for users' diverse needs, reduces the user's effort in the booking process, and improves the user's travel experience.
Smart Images

Figure CN114881271B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of online hotel reservation, and in particular to a hotel reservation method, system, device and storage medium. Background Art
[0002] When users travel, they have transportation, accommodation, and dining needs. Usually, users will book air tickets first and then buy hotels. During the booking process, for example, although they all plan to book a hotel, users may have different quality requirements due to certain factors such as geographical location.
[0003] For example, when traveling to a city, if you plan to stay in a location with a good view, such as the seaside, the user's demand for hotel quality may be relatively high. If you plan to stay in a location with a relatively ordinary view, such as the city, the user's demand for hotel quality may be relatively low. Therefore, there is a certain degree of diversity and contradiction in the user's booking needs. The existing technology cannot make accurate personalized recommendations for such diverse needs. Summary of the invention
[0004] In view of the problems in the prior art, the purpose of the present invention is to provide a hotel reservation method, system, device and storage medium to achieve personalized recommendations based on the diverse needs of users, thereby meeting the diverse needs of users for the same product attributes.
[0005] To achieve the above object, the present invention provides a hotel reservation method, which comprises the following steps:
[0006] S110, obtaining historical consumption data of the target user and other users regarding hotel reservations;
[0007] S120, based on the historical consumption data, obtaining the consumption distribution ratio of the target user among all users, and establishing a consumption tag combination corresponding to each piece of the historical consumption data;
[0008] S130, obtaining search data of the target user, and determining a first candidate hotel group based on the search data and the consumption distribution ratio;
[0009] S140, extracting user characteristic data corresponding to the target user and hotel characteristic data corresponding to each candidate hotel in the first candidate hotel group; and screening to obtain a third candidate hotel group based on the consumption tag combination, the user characteristic data and the hotel characteristic data;
[0010] S150: Based on the third candidate hotel group, generate a hotel display page and display it on a terminal device corresponding to the target user.
[0011] Optionally, step S120 includes:
[0012] Obtaining the consumption frequency of the target user corresponding to each consumption tag combination;
[0013] The first N consumption tag combinations with the highest consumption frequency are used as target consumption tag combinations; the target consumption tag combination includes a first consumption tag and a second consumption tag; N is a positive integer greater than 1;
[0014] Step S140 includes:
[0015] Based on the target consumption tag combination, user characteristic data and hotel characteristic data, a third candidate hotel group is screened and obtained.
[0016] Optionally, step S140 includes:
[0017] Based on the user characteristic data and the hotel characteristic data, a second group of candidate hotels is obtained by screening from the first group of candidate hotels;
[0018] A plurality of candidate hotels matching the target consumption tag combination are screened out from the second candidate hotel group to form a third candidate hotel group.
[0019] Optionally, step S120 includes:
[0020] Based on the historical consumption data of other users, obtain a first consumption tag combination corresponding to the first consumption tag and a second consumption tag combination corresponding to the second consumption tag of the other users;
[0021] Based on the first consumption tag combination and the second consumption tag combination, obtaining a first median corresponding to the tag value of all users on the first consumption tag and a second median corresponding to the tag value of all users on the second consumption tag;
[0022] Among them, the first average label value corresponding to the first consumption label of the target user in the target consumption label combination is greater than the first median; the second average label value corresponding to the second consumption label of the target user in the target consumption label combination is less than the second median.
[0023] Optionally, each consumption tag corresponds to a tag category, and the tag category includes a target category; each of the target consumption tag combinations has a consumption tag belonging to the target category, and all of the target consumption tag combinations have at least two different consumption tags.
[0024] Optionally, step S130 includes:
[0025] Obtain booking scenario data of target users;
[0026] A first candidate hotel group is determined based on the search data, the booking scenario data and the consumption distribution ratio.
[0027] Optionally, step S140 includes:
[0028] Using the booking scenario data, the user feature data and the hotel feature data as inputs of a preset classification tree model to obtain leaf node feature values;
[0029] The leaf node feature value, the booking scenario data, the user feature data and the hotel feature data are used as inputs of a preset deep learning model to obtain a sorted second group of candidate hotels.
[0030] Optionally, the preset classification tree model is an XGBoost model, and the preset deep learning model is an xDeepFM model.
[0031] The present invention also provides a hotel reservation system for implementing the above hotel reservation method, the system comprising:
[0032] Consumption data acquisition module, which obtains historical consumption data of target users and other users on hotel reservations;
[0033] A consumption data processing module, based on the historical consumption data, obtains the consumption distribution ratio of the target user among all users, and establishes a consumption tag combination corresponding to each piece of the historical consumption data;
[0034] A first candidate hotel group determination module, which obtains the search data of the target user and determines the first candidate hotel group based on the search data and the consumption distribution ratio;
[0035] A third candidate hotel group acquisition module extracts user characteristic data corresponding to the target user and hotel characteristic data corresponding to each candidate hotel in the first candidate hotel group; based on the consumption tag combination, user characteristic data and hotel characteristic data, the third candidate hotel group is screened and obtained;
[0036] The hotel recommendation display module generates a hotel display page based on the third candidate hotel group and displays it on the terminal device corresponding to the target user.
[0037] The present invention also provides a hotel reservation device, comprising:
[0038] processor;
[0039] a memory in which an executable program of the processor is stored;
[0040] The processor is configured to execute the steps of any one of the above-mentioned hotel reservation methods by executing the executable program.
[0041] The present invention also provides a computer-readable storage medium for storing a program, wherein the program, when executed by a processor, implements the steps of any one of the above-mentioned hotel reservation methods.
[0042] Compared with the prior art, the present invention has the following advantages and outstanding effects:
[0043] The hotel reservation method, system, device and storage medium provided by the present invention screen a third group of alternative hotels for display based on a consumption tag combination consisting of at least two different consumption tags; fully consider the situation that users may have completely opposite needs under different factors, such as different geographical locations; fully consider different factors and sort them separately in a display page; no longer comprehensively sort all factors after mixing them together; thereby meeting users' diverse needs for the same product, reducing the effort of such users in the reservation process, and improving users' travel experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Other features, objectives and advantages of the present invention will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following accompanying drawings.
[0045] Figure 1 A schematic diagram of a hotel reservation method disclosed in an embodiment of the present invention;
[0046] Figure 2 A schematic diagram of a consumption tag combination in a hotel reservation method disclosed in an embodiment of the present invention;
[0047] Figure 3 A schematic diagram of a hotel reservation method disclosed in another embodiment of the present invention;
[0048] Figure 4 A schematic diagram of a hotel reservation method disclosed in another embodiment of the present invention;
[0049] Figure 5 A schematic diagram of the structure of a hotel reservation system disclosed in one embodiment of the present invention;
[0050] Figure 6 A schematic diagram of the structure of a hotel reservation device disclosed in one embodiment of the present invention;
[0051] Figure 7 A schematic diagram of the structure of a computer-readable storage medium disclosed in one embodiment of the present invention. DETAILED DESCRIPTION
[0052] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar structures, and thus their repeated description will be omitted.
[0053] like Figure 1 As shown, an embodiment of the present invention discloses a hotel reservation method, which includes the following steps:
[0054] S110, obtaining historical consumption data of the target user and other users on hotel reservations. Specifically, this step may be to obtain historical consumption data of the target user and other users in a preset city in a preset period of time in the past, such as historical consumption data for the month of March this year. Those skilled in the art may set it as needed. The above historical consumption data may include information such as hotel name, hotel star, hotel geographical location, and accommodation fee. This application is not limited thereto.
[0055] S120, based on the above historical consumption data, obtain the consumption distribution ratio of the above target user among all users, and establish a consumption label combination corresponding to each of the above historical consumption data. Specifically, the above consumption distribution ratio can be obtained by sorting the accommodation expenses of all users in ascending order and then obtaining the proportion of the accommodation expenses corresponding to the target user. The form of the consumption label combination established in this application can be referred to Figure 2 In this embodiment, the above step S120 includes:
[0056] S121, obtaining the consumption frequency of the target user corresponding to each of the consumption tag combinations.
[0057] S122, taking the first N consumption tag combinations with the highest consumption frequency as the target consumption tag combination. Each of the consumption tag combinations includes a consumption tag and a corresponding tag value. In this embodiment, the tag value is the accommodation fee. The consumption tags in all the target consumption tag combinations include at least two types: the first consumption tag and the second consumption tag. N is a positive integer greater than 1. Figure 2 , which can display the top 5 consumption tag combinations with the highest consumption frequency, where N is 5. For example, the first consumption tag is the beach, and the second consumption tag is the city center. The tag categories corresponding to the first consumption tag and the second consumption tag are geographic locations. Figure 2 The consumption tag combinations displayed in may be the result of sorting in descending order according to the statistical consumption frequency.
[0058] In this embodiment, the first average label value corresponding to the first consumption label in the target consumption label combination of the target user is greater than the first median. The second average label value corresponding to the second consumption label in the target consumption label combination of the target user is less than the second median.
[0059] The first median and the second median are obtained through the following two steps:
[0060] Based on the historical consumption data of other users, a first consumption tag combination including the first consumption tag and a second consumption tag combination including the second consumption tag of other users are respectively obtained.
[0061] as well as
[0062] Based on the first consumption tag combination and the second consumption tag combination, a first median corresponding to the tag value of all users on the first consumption tag and a second median corresponding to the tag value of all users on the second consumption tag are obtained.
[0063] That is, through these two steps, the first median and the second median corresponding to all users can be obtained. In this embodiment, the above-mentioned label value is the accommodation fee corresponding to the first consumption label or the accommodation fee corresponding to the second consumption label. In specific implementation, it is to obtain all accommodation fees corresponding to the label "seaside" in the historically booked hotels of all users, and then sort these accommodation fees in order, either ascending or descending, and find the median of the sequence after sorting, which is the above-mentioned first median.
[0064] Similarly, obtain all accommodation costs corresponding to the label "city center" in all users' historically booked hotels, and then sort these accommodation costs in order, either ascending or descending. After sorting, find the median of the sequence, which is the second median mentioned above.
[0065] This can avoid the situation in the prior art where many recommendation methods simply classify the user's consumption capacity and rely on the consumption capacity model to make recommendations, which will lead to differentiated demands for the same user when booking hotels in different geographical locations, resulting in inaccurate recommendations.
[0066] In this embodiment, each consumer tag corresponds to a tag category, and the above-mentioned tag category includes a target category. Each of the above-mentioned target consumer tag combinations has a consumer tag belonging to the above-mentioned target category, and all of the above-mentioned target consumer tag combinations have at least two different consumer tags. That is, the above-mentioned first consumer tag and the second consumer tag are of two types. Exemplarily, the above-mentioned target category is geographical location, and all target consumer tag combinations have at least a first consumer tag "seaside" and a second consumer tag "city center". This is conducive to fully considering that users may have completely opposite quality requirements under different factors, such as different geographical locations; fully considering different factors in a display page and sorting them separately; no longer comprehensively sorting after combining all factors; thereby meeting users' diversified and differentiated needs for the same product, and helping to improve the accuracy of recommendations for this type of customers.
[0067] S130, obtaining the search data of the target user, and determining the first candidate hotel group based on the search data and the consumption distribution ratio. The search data may include the check-in city, check-in date, check-in time, room type, and browsing history. In this embodiment, preliminary data that meets the needs can be found based on the search data, and then the first candidate hotel group that meets the consumption distribution ratio of the target user can be found from the preliminary data. For example, the hotels whose hotel accommodation amount meets the consumption distribution ratio of the target user are screened out to form the first candidate hotel group.
[0068] S140, extracting the user characteristic data corresponding to the target user and the hotel characteristic data corresponding to each candidate hotel in the first candidate hotel group; based on the consumption tag combination, the user characteristic data and the hotel characteristic data, filtering to obtain a third candidate hotel group. Specifically, in this step, based on the target consumption tag combination, the user characteristic data and the hotel characteristic data, filtering to obtain the third candidate hotel group.
[0069] In this embodiment, the user characteristic data may include the user's click behavior data, personal age and other data, and the hotel characteristic data may include hotel star rating, average room accommodation fee, historical order volume and other data. In this step, when it is learned from the target consumption label combination that the target user's consumption of the hotel corresponding to the label "seaside" is basically around 1,500, which is higher than the median of other users under the same conditions; and the consumption of the hotel corresponding to the label "city center" is basically around 300, which is lower than the median of other users under the same conditions.
[0070] This means that when the target user chooses a hotel by the sea, the corresponding quality requirements are significantly higher, and higher than the quality requirements of most tourists of the same type. When choosing a hotel in the city center, the corresponding quality requirements are significantly lower, and lower than the quality requirements of most tourists of the same type. Therefore, the third group of alternative hotels obtained by the above target consumption label combination can include both the hotel check-in requirements of the target user in the seaside area and the hotel check-in requirements in the city center, which better meets the overall needs of the user, has a higher recommendation accuracy, and is conducive to improving their travel experience.
[0071] S150: Based on the third candidate hotel group, a hotel display page is generated and displayed on the terminal device corresponding to the target user. Then, the hotels displayed on the display page can simultaneously display seaside hotels with higher consumption levels and downtown area hotels with lower consumption levels, thereby meeting the diverse and differentiated needs of the target users and avoiding the drawbacks of a method that relies solely on the consumption capacity of users for single ranking recommendation.
[0072] In other embodiments of the present application, the consumption distribution ratio in the above step S120 can also be replaced by the consumption level of the target user. The consumption level can be obtained by the following method, which is to perform weighted averaging on multiple preset parameters, such as: combining the average hotel star rating and the number of hotel orders to obtain the characteristic hotel average star rating index y_htl; combining the number of two-cabin air ticket orders and the number of air ticket orders to obtain the characteristic air ticket two-cabin share index y_flt; combining the number of business class train ticket orders and the number of train ticket orders to obtain the characteristic train ticket business class share index y_trn; combining the number of four-five diamond vacation group tour orders and the number of vacation group tour orders to obtain the characteristic vacation four-five diamond share index y_pkg. SCORE = (w1*y_htl+w2*y_flt+w3*y_trn+w4*y_pkg) / (w1+w2+w3+w4), where w1, w2, and w3 represent whether the user has a hotel order, a two-class air ticket order, or a business class train ticket order (if there is an order, it is set to 1, otherwise it is set to 0), and w4 represents whether the user has only four- or five-diamond vacation and group tour orders (if so, it is 1, otherwise it is 0).
[0073] Refer to the star distribution ratio of hotel orders, divide the users with SCORE scores greater than 0 in proportion, and get the star rating corresponding to the target user, so as to determine the consumption level of the target user.
[0074] For those users who cannot be covered by the above consumption level determination rules, the following method is adopted: the user level obtained by the above rules is used as a label, and the consumption level of the above users who cannot be covered is constructed from the dimension of user historical orders. The user's historical order features include: the average star rating of hotel orders in all cities in the past year, the average consumption star rating of hotel orders in all cities in the past year, the average single room amount of hotel orders in all cities in the past year, the proportion of economy class air tickets in the past year, the number of days since user registration, and the proportion of business class flights on high-speed trains in the past six months. The linear regression model is used for judgment.
[0075] The above method for determining the consumption level of target users is only an illustrative example, and the present application is not limited thereto.
[0076] In another embodiment of the present application, another hotel reservation method is disclosed. Figure 1 Based on the corresponding embodiment, refer to Figure 3 , step S140 includes:
[0077] S141, based on the user characteristic data and the hotel characteristic data, a second candidate hotel group is obtained by screening from the first candidate hotel group.
[0078] S142, selecting a plurality of candidate hotels that match the target consumption tag combination from the second candidate hotel group to form a third candidate hotel group.
[0079] In step S141, multiple hotels with the largest order volume can be directly selected according to the historical order volume of the hotel to form a second candidate hotel group. In step S142, the tag value (i.e., accommodation fee) corresponding to each consumption tag in the target consumption tag combination can be first obtained. Then, the hotel closest to the tag value in the same geographical location is screened out from the second candidate hotel group to form a third candidate hotel group.
[0080] For example, reference Figure 2 , a record is that the accommodation fee of a seaside hotel is 1500, then the alternative hotel with the accommodation fee closest to 1500 and belonging to the seaside label can be found in the second alternative hotel group and added to the third alternative hotel group.
[0081] In another embodiment of the present application, another hotel reservation method is disclosed. Figure 1 Based on the corresponding embodiment, refer to Figure 4 , step S130 includes:
[0082] S131, obtaining booking scenario data and search data of the target user.
[0083] S132: Determine a first candidate hotel group based on the search data, the booking scenario data and the consumption distribution ratio.
[0084] For example, the booking scenario data may include the arrival time of the target user's flight during the day or late at night. For example, when the user's selected flight arrives late at night or departs early in the morning, it is necessary to consider recommending hotels near the airport with free airport pick-up. When the user's selected flight departs and arrives during the day, it is necessary to consider recommending hotels in the city center or popular business districts.
[0085] In another embodiment of the present application, another hotel reservation method is disclosed. Figure 4 Based on the corresponding embodiment, step S140 includes:
[0086] The above-mentioned booking scenario data, the above-mentioned user characteristic data and the hotel characteristic data are used as inputs of a preset classification tree model to obtain leaf node characteristic values.
[0087] The leaf node feature values, the booking scenario data, the user feature data and the hotel feature data are used as inputs of a preset deep learning model to obtain a sorted second group of candidate hotels.
[0088] Then, multiple candidate hotels matching the target consumption tag combination are screened out from the second candidate hotel group to form a third candidate hotel group.
[0089] Optionally, the preset classification tree model is an XGBoost model, and the preset deep learning model is an xDeepFM model. This application is not limited to this.
[0090] In this way, high-order feature data can be obtained, and the model prediction is more accurate, which makes the subsequent ranking of alternative hotels more accurate and helps improve the effect of hotel recommendations.
[0091] It should be noted that all the above embodiments disclosed in this application can be freely combined, and the technical solutions obtained after the combination are also within the protection scope of this application.
[0092] like Figure 5 As shown, an embodiment of the present invention further discloses a hotel reservation system 5, which includes:
[0093] The consumption data acquisition module 51 acquires the historical consumption data of the target user and other users regarding hotel reservations.
[0094] The consumption data processing module 52 obtains the consumption distribution ratio of the target user among all users based on the historical consumption data, and establishes a consumption tag combination corresponding to each piece of the historical consumption data.
[0095] The first candidate hotel group determination module 53 obtains the search data of the target user, and determines the first candidate hotel group based on the search data and the consumption distribution ratio.
[0096] The third candidate hotel group acquisition module 54 extracts the user characteristic data corresponding to the target user and the hotel characteristic data corresponding to each candidate hotel in the first candidate hotel group; based on the consumption tag combination, user characteristic data and hotel characteristic data, the third candidate hotel group is screened.
[0097] The hotel recommendation display module 55 generates a hotel display page based on the third candidate hotel group and displays it on the terminal device corresponding to the target user.
[0098] It is understandable that the hotel reservation system of the present invention also includes other existing functional modules that support the operation of the hotel reservation system. Figure 5 The hotel reservation system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0099] The hotel reservation system in this embodiment is used to implement the above-mentioned hotel reservation method. Therefore, the specific implementation steps of the hotel reservation system can refer to the above-mentioned description of the hotel reservation method, which will not be repeated here.
[0100] An embodiment of the present invention further discloses a hotel reservation device, comprising a processor and a memory, wherein the memory stores an executable program of the processor; the processor is configured to execute the steps in the above-mentioned hotel reservation method by executing the executable program. Figure 6 Schematic diagram of the hotel reservation device disclosed in the present invention. Figure 6 The electronic device 600 according to this embodiment of the present invention is described. Figure 6 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0101] like Figure 6 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0102] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps of various exemplary embodiments of the present invention described in the hotel reservation method section above. For example, the processing unit 610 can execute the following steps: Figure 1 Follow the steps shown in .
[0103] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0104] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 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.
[0105] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0106] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. 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 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.
[0107] The present invention also discloses a computer-readable storage medium for storing a program, which implements the steps in the above-mentioned hotel reservation method when executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary implementations of the present invention described in the above-mentioned hotel reservation method in this specification.
[0108] As shown above, when the program of the computer-readable storage medium of this embodiment is executed, it filters the third group of alternative hotels for display based on a consumption tag combination consisting of at least two different consumption tags; fully considers the situation that users may have completely opposite needs under different factors, such as different geographical locations; fully considers different factors and sorts them separately in one display page; it no longer comprehensively sorts all factors after combining them; thereby meeting users' diverse needs for the same product, reducing the effort of such users in the booking process, and improving users' travel experience.
[0109] Figure 7 Schematic diagram of the structure of the computer-readable storage medium of the present invention. Figure 7 As shown, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0110] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0111] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0112] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0113] The hotel reservation method, system, device and storage medium provided by the embodiments of the present invention screen and display a third group of alternative hotels based on a consumption tag combination consisting of at least two different consumption tags; fully consider the situation that users may have completely opposite needs under different factors, such as different geographical locations; fully consider different factors and sort them separately in a display page; no longer comprehensively sort all factors after mixing them; thereby meeting users' diverse needs for the same product, reducing the effort of such users in the reservation process, and improving users' travel experience.
[0114] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A hotel reservation method, characterized in that: The following steps are involved: S110, obtaining historical consumption data of the target user and other users regarding hotel reservations; S120, based on the historical consumption data, obtaining the consumption distribution ratio of the target user among all users, and establishing a consumption tag combination corresponding to each piece of the historical consumption data; S130, obtaining search data of the target user, and determining a first candidate hotel group based on the search data and the consumption distribution ratio; S140, extracting user characteristic data corresponding to the target user and hotel characteristic data corresponding to each candidate hotel in the first candidate hotel group; and screening to obtain a third candidate hotel group based on the consumption tag combination, the user characteristic data and the hotel characteristic data; S150, based on the third candidate hotel group, generating a hotel display page and displaying it on a terminal device corresponding to the target user; Wherein, step S120 includes: Obtaining the consumption frequency of the target user corresponding to each consumption tag combination; The first N consumption tag combinations with the highest consumption frequency are used as target consumption tag combinations; the target consumption tag combination includes a first consumption tag and a second consumption tag; N is a positive integer greater than 1; Based on the historical consumption data of other users, obtain a first consumption tag combination corresponding to the first consumption tag and a second consumption tag combination corresponding to the second consumption tag of the other users; Based on the first consumption tag combination and the second consumption tag combination, obtaining a first median corresponding to the tag value of all users on the first consumption tag and a second median corresponding to the tag value of all users on the second consumption tag; The first average label value corresponding to the first consumption label in the target consumption label combination of the target user is greater than the first median; the second average label value corresponding to the second consumption label in the target consumption label combination of the target user is less than the second median; Each consumption tag corresponds to a tag category, and the tag category includes a target category; each target consumption tag combination has a consumption tag belonging to the target category, and all the target consumption tag combinations have at least two different consumption tags.
2. The hotel reservation method according to claim 1, characterized in that: Step S140 includes: Based on the target consumption tag combination, user characteristic data and hotel characteristic data, a third candidate hotel group is screened and obtained.
3. The hotel reservation method according to claim 2, characterized in that: Step S140 includes: Based on the user characteristic data and the hotel characteristic data, a second group of candidate hotels is obtained by screening from the first group of candidate hotels; A plurality of candidate hotels matching the target consumption tag combination are screened out from the second candidate hotel group to form a third candidate hotel group.
4. The hotel reservation method according to claim 1, characterized in that: Step S130 includes: Obtain booking scenario data of target users; A first candidate hotel group is determined based on the search data, the booking scenario data and the consumption distribution ratio.
5. The hotel reservation method according to claim 4, characterized in that: Step S140 includes: Using the booking scenario data, the user feature data and the hotel feature data as inputs of a preset classification tree model to obtain leaf node feature values; The leaf node feature value, the booking scenario data, the user feature data and the hotel feature data are used as inputs of a preset deep learning model to obtain a sorted second group of candidate hotels.
6. The hotel reservation method according to claim 5, characterized in that: The preset classification tree model is the XGBoost model, and the preset deep learning model is the xDeepFM model.
7. A hotel reservation system, used to implement the hotel reservation method according to claim 1, characterized in that: The system comprises: Consumption data acquisition module, which obtains historical consumption data of target users and other users on hotel reservations; A consumption data processing module, based on the historical consumption data, obtains the consumption distribution ratio of the target user among all users, and establishes a consumption tag combination corresponding to each piece of the historical consumption data; A first candidate hotel group determination module, which obtains the search data of the target user and determines the first candidate hotel group based on the search data and the consumption distribution ratio; A third candidate hotel group acquisition module extracts user characteristic data corresponding to the target user and hotel characteristic data corresponding to each candidate hotel in the first candidate hotel group; based on the consumption tag combination, user characteristic data and hotel characteristic data, the third candidate hotel group is screened and obtained; A hotel recommendation display module, based on the third candidate hotel group, generates a hotel display page and displays it on a terminal device corresponding to the target user; Among them, the consumption data processing module is configured as follows: Obtaining the consumption frequency of the target user corresponding to each consumption tag combination; The first N consumption tag combinations with the highest consumption frequency are used as target consumption tag combinations; the target consumption tag combination includes a first consumption tag and a second consumption tag; N is a positive integer greater than 1; Based on the historical consumption data of other users, obtain a first consumption tag combination corresponding to the first consumption tag and a second consumption tag combination corresponding to the second consumption tag of the other users; Based on the first consumption tag combination and the second consumption tag combination, obtaining a first median corresponding to the tag value of all users on the first consumption tag and a second median corresponding to the tag value of all users on the second consumption tag; The first average label value corresponding to the first consumption label in the target consumption label combination of the target user is greater than the first median; the second average label value corresponding to the second consumption label in the target consumption label combination of the target user is less than the second median; Each consumption tag corresponds to a tag category, and the tag category includes a target category; each target consumption tag combination has a consumption tag belonging to the target category, and all the target consumption tag combinations have at least two different consumption tags.
8. A hotel reservation device, characterized in that: include: processor; a memory in which an executable program of the processor is stored; The processor is configured to execute the steps of the hotel reservation method according to any one of claims 1 to 6 by executing the executable program.
9. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps of the hotel reservation method described in any one of claims 1 to 6 are implemented.
