Method and device for displaying hotel information, electronic equipment and storage medium
By acquiring basic and performance information about hotels and generating hotel tags through correlation analysis, the problem of unreasonable grouping of hotel information display in existing technologies has been solved, achieving automated and accurate hotel information display.
Patent Information
- Application Number
- CN202210340028.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-01
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2042-04-01
AI Technical Summary
Existing technologies for displaying hotel information use overly simplistic grouping methods that fail to consider multiple factors, resulting in coarse or redundant grouping and a lack of automated hotel tagging settings and optimization algorithms.
By acquiring basic attribute information, rating attribute information, and performance attribute information of hotels, correlation analysis algorithms are used for filtering and clustering to generate hotel tags. Based on tag sorting and resource quantity calculation, hotel information is automatically displayed.
It has enabled automated tagging of hotel information, optimized the hotel information display algorithm, and improved the accuracy and efficiency of the display.
Smart Images

Figure CN114880600B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer application, and in particular, to a method and device for displaying hotel information, an electronic device, and a storage medium. BACKGROUND
[0002] On a platform that can display hotel information, according to artificial experience, some are divided into different groups according to different countries where hotel resources are located, and some select some core indicators of hotels, such as ROI (return on investment), click volume, order volume, hotel exposure volume, etc. Each indicator is set to some threshold value, and the hotels are grouped according to the performance, and the hotel information of which hotel is displayed is determined according to the grouping and the preset threshold value. However, this grouping method is to determine the threshold value according to a single attribute and then group. This hotel division method is too single in reference condition and does not comprehensively consider multiple factors, so that the factors considered for hotel display are relatively rough. Some are two-classified or multi-classified for each indicator to form a binary tree or a multi-tree for grouping, but such division will cause excessive grouping and grouping redundancy. As can be seen, the two division methods are often not the best choice.
[0003] Therefore, how to realize automatic hotel tagging setting and optimize the algorithm for displaying hotel information is a technical problem to be solved by those skilled in the art. SUMMARY
[0004] In order to overcome the defects of the prior art, the present application provides a method and device for displaying hotel information, an electronic device, and a storage medium, thereby realizing automatic hotel tagging setting and optimizing the algorithm for displaying hotel information.
[0005] According to one aspect of the present application, a method for displaying hotel information is provided, comprising:
[0006] obtaining basic information data and order data of the hotel in a historical time period;
[0007] obtaining hotel basic attribute information according to the obtained basic information data;
[0008] obtaining hotel scoring attribute information according to the obtained basic information data;
[0009] obtaining hotel performance attribute information according to the obtained order data;
[0010] performing attribute information correlation analysis by using different correlation analysis algorithms according to the data types of the basic attribute information, the scoring attribute information, and the performance attribute information;
[0011] Retain attribute information weakly related or unrelated to other attribute information according to the correlation analysis result;
[0012] Perform clustering on the pruned basic attribute information, score attribute information and performance attribute information to obtain a plurality of hotel labels;
[0013] Sort the hotel labels from low to high according to the performance attribute information corresponding to the hotel labels;
[0014] According to the preset resources of the plurality of hotels, calculate the resource amount provided to each hotel label based on the sorting order of the hotel labels;
[0015] According to the resource amount of each hotel label and the performance attribute information of each hotel, calculate the resource amount provided to each hotel in each hotel label, which is used to determine the hotel to be displayed from the plurality of hotels.
[0016] In some embodiments of the present application, the attribute information correlation analysis is performed by using different correlation analysis algorithms according to the data types of the basic attribute information, score attribute information and performance attribute information, including:
[0017] For two attribute information with linear correlation, Pearson correlation coefficient or Spearman correlation coefficient is used for correlation analysis.
[0018] In some embodiments of the present application, the attribute information correlation analysis is performed by using different correlation analysis algorithms according to the data types of the basic attribute information, score attribute information and performance attribute information, including:
[0019] For two attribute information with data types of discrete variables, information entropy and information gain are used for correlation analysis.
[0020] In some embodiments of the present application, the attribute information correlation analysis is performed by using different correlation analysis algorithms according to the data types of the basic attribute information, score attribute information and performance attribute information, including:
[0021] For two attribute information with data types of discrete variables and continuous variables, the continuous variables are converted into discrete variables by region division, and information entropy and information gain are used for correlation analysis.
[0022] In some embodiments of the present application, the hotel label is reused to match with a display platform for displaying the hotel information, so as to determine the display platform for displaying the hotel information.
[0023] In some embodiments of this application, the hotel tag is reused for matching with the display platform that displays the hotel information by matching the hotel tag with the user tag of the user on the display platform that displays the hotel information.
[0024] In some embodiments of this application, the matching result between the hotel tag and the display platform that displays the hotel information is used to adjust the amount of resources provided to each hotel within each hotel tag on the display platform.
[0025] According to another aspect of this application, a device for displaying hotel information is also provided, comprising:
[0026] The first acquisition module is used to acquire basic information data and order data of the hotel within a historical time period;
[0027] The hotel basic attribute information acquisition module is used to obtain hotel basic attribute information based on the acquired basic information data;
[0028] The hotel rating attribute information acquisition module is used to obtain hotel rating attribute information based on the acquired basic information data;
[0029] The hotel performance attribute information acquisition module is used to obtain hotel performance attribute information based on the acquired order data.
[0030] The correlation analysis module is used to perform correlation analysis of attribute information based on the data types of the basic attribute information, rating attribute information, and performance attribute information, using different correlation analysis algorithms.
[0031] The filtering module is used to retain attribute information that is weakly correlated or uncorrelated with other attribute information based on the correlation analysis results;
[0032] The clustering module is used to cluster the basic attribute information, rating attribute information, and performance attribute information after removal to obtain multiple hotel tags;
[0033] The sorting module is used to sort the hotel tags from low to high according to the performance attribute information corresponding to the hotel tags;
[0034] The first resource quantity calculation module is used to calculate the amount of resources provided to each hotel tag based on the sorting number of the hotel tags, according to the preset resources of multiple hotels.
[0035] The second resource quantity calculation module is used to calculate the resource quantity provided to each hotel within each hotel tag and each hotel's performance attribute information based on the resource quantity of each hotel tag and each hotel's performance attribute information. The resource quantity provided to each hotel within each hotel tag is used to determine the hotel to be displayed from multiple hotels.
[0036] According to still another aspect of the present application, there is also provided an electronic device comprising: a processor; a storage medium having stored thereon a computer program which, when executed by the processor, performs the steps of the method of presenting hotel information as described above.
[0037] According to still another aspect of the present application, there is also provided a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of presenting hotel information as described above.
[0038] Compared with the prior art, the present application has the following advantages:
[0039] By analyzing and obtaining the basic attribute information, the scoring attribute information and the performance attribute information of the hotel, performing attribute information screening and clustering based on a correlation analysis algorithm, a plurality of hotel labels are obtained, the resource amount provided to each hotel label and the resource amount provided by each hotel in each hotel label are calculated based on the sorting of the hotel labels, and a hotel is determined from the plurality of hotels for presentation based on the resource amount provided by each hotel in each hotel label, so as to realize automatic hotel labeling setting and optimize the algorithm for presenting hotel information. BRIEF DESCRIPTION OF DRAWINGS
[0040] The above and other features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
[0041] Figure 1 A flow chart of the method of presenting hotel information according to an embodiment of the present application is shown.
[0042] Figure 2 A flow chart of performing correlation analysis on attribute information according to an embodiment of the present application is shown.
[0043] Figure 3 A module diagram of the device of presenting hotel information according to an embodiment of the present application is shown.
[0044] Figure 4 A schematic diagram of a computer-readable storage medium in an exemplary embodiment of the present disclosure is schematically shown.
[0045] Figure 5 A schematic diagram of an electronic device in an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0046] Example implementations are now described with reference to the following drawings. The example implementations, can, however, be implemented in many different forms and should not be construed as limited to the examples set forth herein; rather, these implementations are provided so that this disclosure will be thorough and complete, and will fully convey the inventive aspects to those skilled in the art. The described features, structures, or characteristics can be combined in one or more implementations.
[0047] Furthermore, the accompanying drawings are included to provide a further understanding of principles of the present disclosure and no limitation thereto is intended. The drawings illustrate the principles of the present disclosure and, although not to be exact representations, they are sufficient to illustrate the underlying principles for persons with ordinary skill in the art. In the drawings:
[0048] Referring first to Figure 1 , Figure 1 A schematic diagram of a method for displaying hotel information according to an embodiment of the present application is shown. The method for displaying hotel information comprises the following steps:
[0049] Step S101: Obtain basic information data and order data of a hotel in a historical time period;
[0050] Step S102: Obtain hotel basic attribute information according to the obtained basic information data;
[0051] Step S103: Obtain hotel rating attribute information according to the obtained basic information data;
[0052] Step S104: Obtain hotel performance attribute information according to the obtained order data;
[0053] Step S105: According to the data types of the basic attribute information, rating attribute information and performance attribute information, use different correlation analysis algorithms to perform attribute information correlation analysis;
[0054] Step S106: According to the correlation analysis result, retain attribute information that is weakly correlated or not correlated with other attribute information;
[0055] Step S107: Cluster the basic attribute information, rating attribute information and performance attribute information after elimination to obtain multiple hotel labels;
[0056] Step S108: Sort the hotel labels from low to high according to the performance attribute information corresponding to the hotel labels;
[0057] Step S109: According to the preset resources of the plurality of hotels, the amount of resources provided to each hotel label is calculated based on the ranking number of the hotel label;
[0058] Step S110: According to the resource amount of each hotel label and the performance attribute information of each hotel, the resource amount provided by each hotel in each hotel label is calculated, and the resource amount provided by each hotel in each hotel label is used to determine a hotel to be displayed from the plurality of hotels.
[0059] Thus, in the method for displaying hotel information in the embodiment, by analyzing and obtaining the basic attribute information, the score attribute information, and the performance attribute information of the hotel, the attribute information is filtered and clustered based on the correlation analysis algorithm, thereby obtaining a plurality of hotel labels, calculating the resource amount provided to each hotel label based on the ranking of the hotel label, and the resource amount provided by each hotel in each hotel label, and determining a hotel to be displayed from the plurality of hotels based on the resource amount provided by each hotel in each hotel label, thereby realizing automatic hotel labeling setting and optimizing the algorithm for displaying hotel information.
[0060] In some specific embodiments, the basic historical information data of the hotel in a period of time can be obtained, the basic historical information data is cleaned, statistically analyzed and processed to obtain the basic information attribute of the hotel. Further, the historical basic information data of the hotel includes but is not limited to the star rating of the hotel, the geographical location of the hotel, the distance from the hotel to the scenic spot, the distance from the hotel to the city, the brand of the hotel, whether the hotel contains breakfast, whether the hotel has wifi infrastructure information and user comment information such as the number of comments of the hotel in a period of time. After statistical analysis, the hotel score attribute information is obtained, which can include the overall score of the hotel, the hygiene score of the hotel, the location score of the hotel, the service score of the hotel, and the score result attribute of the basic setting of the hotel.
[0061] In some specific embodiments, the order data of the hotel in a period of time can be obtained, and the order data is cleaned and statistically analyzed to obtain the hotel performance attribute data. Further, the hotel performance attribute data includes whether each hotel is exposed, whether each hotel is exposed, whether the exposure has a click, whether the click generates an order, the room type in the order, the total number of nights in the order, and the actual sales price of the order. Through data preprocessing, the exposure amount, the conversion rate, the market investment price, the total sales price, and the ROI (input-output ratio) of each hotel are obtained.
[0062] Figure 2A flowchart of performing correlation analysis on attribute information according to an embodiment of the present application is shown. Specifically, the attribute information correlation analysis is performed by using different correlation analysis algorithms according to the data types of the basic attribute information, the score attribute information, and the performance attribute information, which includes:
[0063] Step S121: For two attribute information with linear correlation, the Pearson correlation coefficient or the Spearman correlation coefficient is used for correlation analysis.
[0064] Step S122: For two attribute information with discrete variable data type, information entropy and information gain are used for correlation analysis.
[0065] Step S123: For two attribute information with discrete variable and continuous variable data types, the continuous variable is converted into a discrete variable by region division, and information entropy and information gain are used for correlation analysis.
[0066] Specifically, the uncorrelated and weakly correlated can be screened according to the correlation threshold in the correlation analysis, and the present application is not limited thereto. The attribute information screening can eliminate the features with high correlation, thereby reducing the calculation, saving the computing resources, and reducing the influence of some features on the final hotel label generation.
[0067] Specifically, according to the preset resources of the plurality of hotels, the resource amount provided to each hotel label based on the ranking number of the hotel label can be represented by the following formula:
[0068]
[0069] Wherein, A is the preset resource of the plurality of hotels, A i is the resource amount provided to each hotel label, n is the total number of labels, and i is the current hotel label.
[0070] Further, according to the resource amount of each hotel label and the performance attribute information of each hotel, the resource amount provided to each hotel in each hotel label can be represented by the following formula:
[0071]
[0072] Wherein, C ij is the resource amount provided to the jth hotel in the ith hotel label, R ij is the performance attribute information of the jth hotel in the ith hotel label, R i is the performance attribute information of all hotels in the ith hotel label. The performance attribute information can be order quantity, room night sales, sales profit, conversion rate, etc., and the present application is not limited thereto.
[0073] In the embodiments of the present application, the above-mentioned resource can be a hotel picture, and the resource quantity can be the number of hotel pictures; or the above-mentioned resource can be a text description, and the resource quantity can be the number of characters of the hotel text description. In some variations, the above-mentioned resource can also be a budget provided for the hotel advertisement. The present application can realize more variations, which are not described herein.
[0074] In some embodiments of the present application, the hotel label can be reused for matching with the display platform displaying the hotel information to determine the display platform displaying the hotel information. Thus, the hotel information can be displayed on the display platform matched with the hotel label. Specifically, in some embodiments of the present application, the reuse of the hotel label for matching with the display platform displaying the hotel information is performed by matching the hotel label with a user label of a user of the display platform displaying the hotel information. For example, the hotel label can be matched with the user label by analyzing the labeling of the user of the display platform, so that the hotel information can be displayed on the appropriate display platform. The user label can be, for example, a hotel label with which the user browses, clicks, or makes reservations more frequently. Further, the matching result of the hotel label with the display platform displaying the hotel information is used to adjust the resource quantity provided to each hotel within each hotel label in the display platform. For example, when the hotel label and the display platform do not match, the resource quantity provided to each hotel within the hotel label is reduced; when the hotel label and the display platform match, the resource quantity provided to each hotel within the hotel label is increased. Further, the matching result of the hotel label and the display platform can be, for example, a matching value, so that the resource quantity provided to each hotel within the hotel label can be adjusted such that the resource quantity is positively correlated with the matching value.
[0075] The above merely describes the multiple implementation manners of the present application, and the present application is not limited in this way.
[0076] The present application also provides a device for displaying hotel information, Figure 3 A schematic diagram of a device for displaying hotel information according to an embodiment of the present application is shown. The device for displaying hotel information 200 comprises a first acquisition module 201, a hotel basic attribute information acquisition module 202, a hotel score attribute information acquisition module 203, a hotel performance attribute information acquisition module 204, a correlation analysis module 205, a screening module 206, a clustering module 207, a sorting module 208, a first resource quantity calculation module 209, a second resource quantity calculation module 210, and a display determination module 211.
[0077] The first acquisition module 201 is configured to acquire basic information data and order data of a hotel in a historical time period;
[0078] The hotel basic attribute information acquisition module 202 is configured to obtain hotel basic attribute information according to the obtained basic information data.
[0079] The hotel score attribute information acquisition module 203 is configured to obtain hotel score attribute information according to the obtained basic information data.
[0080] The hotel performance attribute information acquisition module 204 is configured to obtain hotel performance attribute information according to the obtained order data.
[0081] The correlation analysis module 205 is configured to perform attribute information correlation analysis by using different correlation analysis algorithms according to the data types of the basic attribute information, the score attribute information and the performance attribute information.
[0082] The screening module 206 is configured to retain attribute information that is weakly correlated or not correlated with other attribute information according to the correlation analysis result.
[0083] The clustering module 207 is configured to perform clustering on the screened basic attribute information, the screened score attribute information and the screened performance attribute information to obtain a plurality of hotel labels.
[0084] The sorting module 208 is configured to sort the hotel labels from low to high according to the performance attribute information corresponding to the hotel labels.
[0085] The first resource quantity calculation module 209 is configured to calculate the resource quantity provided to each hotel label based on the sorting sequence number of the hotel label according to the preset resources of the plurality of hotels.
[0086] The second resource quantity calculation module 210 is configured to calculate the resource quantity provided to each hotel in each hotel label according to the resource quantity of each hotel label and the performance attribute information of each hotel, and the resource quantity provided to each hotel in each hotel label is used to determine a hotel to be displayed from the plurality of hotels.
[0087] In the device for displaying hotel information provided by the application, the basic attribute information, the score attribute information and the performance attribute information of the hotel are analyzed and obtained, the attribute information is screened and clustered based on the correlation analysis algorithm, a plurality of hotel labels are obtained, the resource quantity provided to each hotel label and the resource quantity provided to each hotel in each hotel label are calculated based on the sorting of the hotel labels, and a hotel to be displayed is determined from the plurality of hotels based on the resource quantity provided to each hotel in each hotel label, so that the automatic hotel labeling setting is realized, and the algorithm for displaying hotel information is optimized.
[0088] Figure 3The device for displaying hotel information provided by the present application is only illustrative, and the splitting, combining and adding of the modules are within the protection scope of the present application without departing from the concept of the present application. The device for displaying hotel information provided by the present application can be realized by software, hardware, firmware, plug-in and any combination thereof, and the present application is not limited in this way.
[0089] In the exemplary embodiments of the present disclosure, a computer readable storage medium is also provided, which stores a computer program. The program can implement the steps of the method for displaying hotel information in any one of the above embodiments when executed by a processor. In some possible implementation manners, various aspects of the present application can also be implemented in the form of a program product, which includes program codes for causing a terminal device to perform the steps described in the above method for displaying hotel information according to various exemplary embodiments of the present application when the program product is run on the terminal device.
[0090] Reference Figure 4 As shown, a program product 400 for implementing the above method according to the embodiments of the present application is described, which can adopt a portable compact disc read-only memory (CD-ROM) and include program codes, and can be run on a terminal device, such as a personal computer. However, the program product of the present application is not limited in this way, and in this document, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in conjunction with an instruction execution system, apparatus or device.
[0091] The program product can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include an electrical connection having one or more wires, a portable disc, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0092] The computer readable storage medium can include a data signal transported over a carrier wave and can be baseband or propagated along with carriers. The program code embodied on the computer readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, and the like, or any suitable combination of the foregoing.
[0093] The program code, when executed, can implement the steps of the methods disclosed herein. The program code can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++, or the like, and 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).
[0094] In an exemplary embodiment of the present disclosure, an electronic device is also provided, which can include a processor, and a memory for storing executable instructions of the processor. Wherein the processor is configured to perform the steps of the method for displaying hotel information in any one of the embodiments described above via executing the executable instructions.
[0095] Those skilled in the art can understand that each aspect of the present application can be implemented as a system, a method or a program product. Therefore, each aspect of the present application can be specifically implemented as a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining software and hardware aspects, which can be collectively referred to as "circuitry", "module" or "system".
[0096] The electronic device 600 according to this embodiment of the present application will be described below with reference to Figure 5 Figure 5 The electronic device 600 shown is merely an example and should not impose any limitation on the functions and use range of the embodiments of the present application.
[0097] As Figure 5 As shown, the electronic device 600 is in the form of a general computing device. Components of the electronic device 600 can include, but are not limited to, at least one processing unit 610, at least one memory unit 620, a bus 630 that connects the various system components including the memory unit 620 and the processing unit 610, a display unit 640, and the like.
[0098] The memory unit stores program code that can be executed by the processing unit 610 such that the processing unit 610 performs the steps in accordance with the various example embodiments of the present application as described in the above method section of this specification for presenting hotel information. For example, the processing unit 610 can perform the steps as shown in FIG. 6. Figure 1
[0099] The memory unit 620 can include a readable medium in the form of volatile memory units, such as a random access memory (RAM) 6201 and / or a cache memory unit 6202, and can further include a read-only memory (ROM) 6203.
[0100] The memory unit 620 can further include a program / utility 6204 having a set of program modules 6205, including but not limited to, an operating system, one or more application programs, other program modules, and program data, and each or a combination thereof can include implementation of a network environment.
[0101] The bus 630 can be representative of one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration bus, a processor or local bus using any of a variety of bus structures, and the like.
[0102] The electronic device 600 can also communicate with one or more external devices 700 such as a keyboard, a pointing device, a Bluetooth device, etc.; other devices that enable a tenant to interact with the electronic device 600; and / or any devices (e.g., a router, a modem, a peer device or other computing device that is associated with the electronic device 600 through a network, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication can occur via an input / output (I / O) interface 650. Still yet, the electronic device 600 can communicate with one or more networks, such as a local area network (LAN), a wide area network (WAN), and / or the public network, such as the Internet, via a network adapter 660. The network adapter 660 can communicate with the other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown, other hardware and / or software modules could be used in connection with the electronic device 600. These include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
[0103] Through the above description of the embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a U disk, a mobile hard disk, etc.) or a network, and includes a number of instructions to make a computing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method of displaying hotel information according to the embodiments of the present disclosure.
[0104] Compared with the prior art, the advantages of the present application are:
[0105] The present application analyzes and obtains the basic attribute information, the scoring attribute information and the performance attribute information of the hotel, performs attribute information screening and clustering based on a correlation analysis algorithm, thereby obtaining a plurality of hotel labels, sorts the hotel labels, calculates the resource amount provided to each hotel label and the resource amount provided by each hotel in each hotel label, determines a hotel from the plurality of hotels based on the resource amount provided by each hotel in each hotel label, and displays the hotel, thereby realizing automatic hotel labeling setting and optimizing the algorithm for displaying hotel information.
[0106] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims
1. A method for displaying hotel information, characterized in that, include: Obtain basic information and order data of the hotel within a historical time period; Based on the acquired basic information data, obtain the hotel's basic attribute information; Hotel rating attribute information is obtained based on the acquired basic information data; Hotel performance attribute information is obtained based on the acquired order data; Based on the data types of the basic attribute information, rating attribute information, and performance attribute information, different correlation analysis algorithms are used to perform attribute information correlation analysis. Based on the correlation analysis results, retain attribute information that is weakly correlated or uncorrelated with other attribute information; Clustering is performed on the basic attribute information, rating attribute information, and performance attribute information after removal to obtain multiple hotel tags; Sort the hotel tags from low to high according to the performance attribute information corresponding to the hotel tags; Based on the preset resources of multiple hotels, the amount of resources provided to each hotel tag is calculated according to the sorting number of the hotel tag; Based on the resource quantity of each hotel tag and the performance attribute information of each hotel, the resource quantity provided to each hotel within each hotel tag is calculated. The resource quantity provided to each hotel within each hotel tag is used to determine the hotel to be displayed from multiple hotels.
2. The method for displaying hotel information as described in claim 1, characterized in that, The step of performing attribute information correlation analysis using different correlation analysis algorithms based on the data types of the basic attribute information, rating attribute information, and performance attribute information includes: For two linearly correlated attributes, the Pearson correlation coefficient or Spearman correlation coefficient is used for correlation analysis.
3. The method for displaying hotel information as described in claim 1, characterized in that, The step of performing attribute information correlation analysis using different correlation analysis algorithms based on the data types of the basic attribute information, rating attribute information, and performance attribute information includes: For two attribute information types that are discrete variables, information entropy and information gain are used for correlation analysis.
4. The method for displaying hotel information as described in claim 1, characterized in that, Based on the data types of the aforementioned basic attribute information, rating attribute information, and performance attribute information, the following correlation analysis algorithms are used to perform attribute information correlation analysis: For two attribute information types, one a discrete variable and the other a continuous variable, the continuous variable is converted into a discrete variable by dividing the data into regions, and the information entropy and information gain are used for correlation analysis.
5. The method for displaying hotel information as described in claim 1, characterized in that, The hotel tag is reused to match the display platform that displays the hotel information in order to determine the display platform that displays the hotel information.
6. The method for displaying hotel information as described in claim 5, characterized in that, The hotel tag reuse is performed by matching the hotel tag with the user tags of the users on the platform displaying the hotel information.
7. The method for displaying hotel information as described in claim 5, characterized in that, The matching results between the hotel tags and the display platform showcasing the hotel information are used to adjust the amount of resources provided to each hotel within each hotel tag on that display platform.
8. A device for displaying hotel information, characterized in that, include: The first acquisition module is used to acquire basic information data and order data of the hotel within a historical time period; The hotel basic attribute information acquisition module is used to obtain hotel basic attribute information based on the acquired basic information data; The hotel rating attribute information acquisition module is used to obtain hotel rating attribute information based on the acquired basic information data; The hotel performance attribute information acquisition module is used to obtain hotel performance attribute information based on the acquired order data. The correlation analysis module is used to perform correlation analysis of attribute information based on the data types of the basic attribute information, rating attribute information, and performance attribute information, using different correlation analysis algorithms. The filtering module is used to retain attribute information that is weakly correlated or uncorrelated with other attribute information based on the correlation analysis results; The clustering module is used to cluster the basic attribute information, rating attribute information, and performance attribute information after removal to obtain multiple hotel tags; The sorting module is used to sort the hotel tags from low to high according to the performance attribute information corresponding to the hotel tags; The first resource quantity calculation module is used to calculate the amount of resources provided to each hotel tag based on the sorting number of the hotel tags, according to the preset resources of multiple hotels. The second resource quantity calculation module is used to calculate the resource quantity provided to each hotel within each hotel tag based on the resource quantity of each hotel tag and the performance attribute information of each hotel. The resource quantity provided to each hotel within each hotel tag is used to determine the hotel to be displayed from multiple hotels.
9. An electronic device, characterized in that, The electronic device includes: processor; A storage medium having a computer program stored thereon, the computer program being executed by the processor to perform the method of displaying hotel information as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, performs the method for displaying hotel information as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Resource space advertisement display method and device and electronic equipment
CN110348894A
Resource allocation method and device, electronic equipment and storage medium
CN112668902A