Hotel first map optimization method, system and device based on travel purpose and storage medium
By adding preset scene labels to the hotel and image recognition and matching based on user travel purposes, the problem of standard gap and insufficient image quality scoring system in the selection process of first-picture hotels in the existing technology is solved, and the effect of automatically matching user needs is achieved, reducing labor costs and improving user experience is achieved.
Patent Information
- Application Number
- CN202411909303.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-15
AI Technical Summary
In the process of selecting first pictures in the hotel, there is a problem that the standard difference between the cropped pictures and the original pictures and the image quality scoring system cannot effectively evaluate the image quality among different categories, resulting in the hotel's high-quality pictures not becoming the first pictures and cannot meet the aesthetic needs of complex scenes and diversified users.
By adding preset scene tags to each hotel, identify and match the corresponding subset of pictures based on the user's travel purposes, select the highest rated representative picture as the first picture, and dynamically update the first picture based on user interaction data.
It realizes the purpose of automatically matching users' diversified travel in complex hotel selection scenarios, reducing labor costs, improving user experience, and ensuring the consistency between the quality of the first picture and the display effect.
Smart Images

Figure CN119829847A_ABST
Abstract
Description
Background Art
[0002] The hotel homepage image has a crucial impact on users browsing hotels and placing orders. On the current OTA platform, there are two main problems in the online homepage image selection process. First, the existing calculations and rules are based on the original image, while most of the images actually displayed on mobile phones are cropped. There is a certain gap between the homepage images selected by these two standards.
[0003] It is necessary to develop a first image quality assessment solution based on cropped images to ensure the consistency of display effects and quality during the assessment process. Secondly, in the selection scenario of the hotel first image, the existing hotel image quality rating system cannot effectively evaluate the image quality between different categories. In some specific and complex scenarios, the highest quality image is not necessarily the most suitable image for the hotel first image.
[0004] The existing solutions generally use artificial rules and set thresholds for hotel image quality to ensure the quality of the first image selected. However, this method results in the first image of some hotels whose high quality is not within the rules, and cannot meet the increasingly complex scenarios and users' diversified aesthetic needs.
[0005] Therefore, the present invention provides a method, system, device and storage medium for selecting a first picture of a hotel based on a travel destination. Summary of the invention
[0006] In response to the problems in the prior art, the purpose of the present invention is to provide a method, system, device and storage medium for optimizing the hotel home picture based on travel purpose, which overcomes the difficulties of the prior art, can adapt to more complex hotel selection home picture scenarios, automatically match users' diversified travel purposes, reduce labor costs, and improve user experience.
[0007] An embodiment of the present invention provides a method for selecting a first picture of a hotel based on a travel destination, comprising the following steps:
[0008] S110, adding a corresponding preset scenario label to each hotel based on the travel purpose with the highest percentage of the staying user group;
[0009] S120, performing image recognition on the image collection of each hotel on the OTA website, adding corresponding scene tags, and establishing corresponding image subsets according to the scene tags and obtaining representative images of each image subset;
[0010] S130, when the user initially searches for the feedback, selecting a representative picture of a subset of pictures with the same scene label based on at least a preset scene label to select a first picture of each of the hotels;
[0011] S140, tracking the user's search interaction steps, and analyzing the preset scenario tags corresponding to the user's current travel purpose for this hotel search; and
[0012] S150. According to the preset scene tags, when the user searches for the next time, a representative image of a subset of images with the same scene tags is selected according to the preset scene tags to select the first image of each hotel.
[0013] Preferably, in step S110, a corresponding preset scene label is added to each hotel based on the travel purpose with the highest percentage of the occupant user group, and the preset scene labels include business trip, sightseeing, and medium-term residence, and the travel purpose corresponds to at least one scene label or a combination of scene labels.
[0014] Preferably, the business trip corresponds to a hotel geographic location tag, the scenic spot tour corresponds to a hotel appearance tag, and the mid-term stay corresponds to a hotel room tag.
[0015] Preferably, the step S120 includes:
[0016] S121, performing image recognition on the image collection of each hotel on the OTA website, and adding corresponding scene tags;
[0017] S122: establishing corresponding picture subsets according to the photos having the same scene label, and obtaining a representative picture with the highest score in each picture subset based on a picture scoring model.
[0018] Preferably, the step S122 includes:
[0019] S1221, establishing corresponding picture subsets according to photos with the same scene label;
[0020] S1222. Collect interaction data of each picture, where the interaction data includes the number of likes, the number of reposts, and the number of downloads;
[0021] S1223. Obtaining a picture quality score for each picture based on a picture scoring model;
[0022] S1224. Obtain a score for each picture based at least on the interaction data and picture quality score of each picture and sort the scores from largest to smallest.
[0023] S1225. Use the picture with the highest score in each picture subset as the first picture displayed in the picture subset.
[0024] Preferably, the step S140 includes:
[0025] S141, tracking the interaction record of the user clicking to browse the hotel page in the hotel list containing the hotel first picture on the search feedback page and the interaction record of the picture subset containing the picture viewed after the user opened the hotel picture;
[0026] S142, counting the total number of preset scene tags corresponding to the first picture of the clicked hotel and the preset scene tags corresponding to the pictures viewed by the user; and
[0027] S143. When the number of times that a user continuously clicks on the same type of preset scene tag meets a threshold or the ratio of clicking on the same type of preset scene tag within a period of time meets a threshold, the preset scene tags of all hotels in the hotel feedback information are replaced with the preset scene tag with the highest number of clicks, and the homepage of all hotels in the search feedback page is updated according to the preset scene tags.
[0028] Preferably, in step S150, within a period of time from the start of this search, when the user searches next time, a representative image of a subset of images with the same scene label is selected according to the highest preset scene label that has been clicked, and the first image of each hotel is selected.
[0029] An embodiment of the present invention further provides a hotel first picture optimization system based on travel purpose, which is used to implement the above-mentioned hotel first picture optimization method based on travel purpose, and the hotel first picture optimization system based on travel purpose includes:
[0030] Preset scenario module, which adds a corresponding preset scenario tag to each hotel based on the travel purpose with the highest percentage of the staying user group;
[0031] The image recognition module performs image recognition on the image collection of each hotel on the OTA website, adds corresponding scene tags, and establishes corresponding image subsets based on the scene tags and obtains representative images of each image subset;
[0032] A first picture selection module, when responding to a preliminary search by a user, selects a first picture of each of the hotels by selecting a representative picture of a subset of pictures with the same scene label based on at least a preset scene label;
[0033] A travel purpose module that tracks the user's search interaction steps and analyzes the preset scenario tags corresponding to the user's current travel purpose for this hotel search; and
[0034] The first picture optimization module selects the first picture of each hotel according to the preset scene label and selects a representative picture of a subset of pictures with the same scene label according to the preset scene label when the user searches for the next time.
[0035] An embodiment of the present invention further provides a device for selecting a hotel first picture based on a travel destination, comprising:
[0036] processor;
[0037] a memory storing executable instructions of the processor;
[0038] Wherein, the processor is configured to execute the steps of the above-mentioned method for selecting the first picture of the hotel based on the travel purpose by executing the executable instructions.
[0039] An embodiment of the present invention further provides a computer-readable storage medium for storing a program, which, when executed, implements the steps of the above-mentioned method for selecting a hotel first picture based on travel destination.
[0040] The purpose of the present invention is to provide a method, system, device and storage medium for optimizing the hotel homepage based on travel purpose, which can adapt to more complex hotel selection homepage scenarios, automatically match users' diversified travel purposes, reduce labor costs and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] 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.
[0042] Figure 1 It is a flow chart of the method for selecting the first map of hotels based on travel destinations of the present invention.
[0043] Figure 2 It is a structural schematic diagram of the hotel first picture optimization system based on travel purpose of the present invention.
[0044] Figure 3 It is a structural schematic diagram of a device for selecting a hotel first picture based on travel purpose according to the present invention.
[0045] Figure 4 It is a schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in the present application. The present application can also be implemented or applied through other different specific implementation methods, and the details in the present application can also be modified or changed in various ways according to different viewpoints and application systems without departing from the spirit of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0047] The following is a detailed description of the embodiments of the present application with reference to the accompanying drawings so that those skilled in the art can easily implement the present application. The present application can be embodied in a variety of different forms and is not limited to the embodiments described herein.
[0048] In the representations of the present application, the representations with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials or characteristics represented in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the represented specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples represented in the present application and the features of the different embodiments or examples, unless they contradict each other.
[0049] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the representation of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0050] In order to clearly describe the present application, components irrelevant to the description are omitted, and the same reference symbols are given to the same or similar components throughout the specification.
[0051] Throughout the specification, when a device is said to be "connected" to another device, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a device is said to "include" a certain component, unless otherwise stated, it does not exclude other components, but means that other components may be included.
[0052] When a device is said to be "on" another device, it may be directly on the other device, but there may also be other devices between it. In contrast, when a device is said to be "directly" on another device, there are no other devices between it.
[0053] Although the terms first, second, etc. are used to represent various elements in some examples, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first interface and the second interface, etc. are represented. Moreover, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate the existence of features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Only when the combination of elements, functions, steps or operations is inherently mutually exclusive in some way, will there be an exception to this definition.
[0054] The technical terms used herein are only used to refer to specific embodiments and are not intended to limit the present application. The singular form used herein also includes the plural form unless the sentence clearly indicates the contrary meaning. The meaning of "including" used in the specification is to specify specific characteristics, regions, integers, steps, operations, elements and / or components, and does not exclude the existence or addition of other characteristics, regions, integers, steps, operations, elements and / or components.
[0055] Although not defined differently, all terms, including technical and scientific terms used herein, have the same meaning as those generally understood by those skilled in the art to which this application belongs. Terms defined in commonly used dictionaries are additionally interpreted as having meanings consistent with the relevant technical literature and the contents of the current disclosure, and unless defined, shall not be overly interpreted as ideal or very formal meanings.
[0056] In actual usage scenarios, users usually have a clear travel purpose (for example, business trips, scenic spot tourism, mid-term residence, etc.), and then go to OTA websites to compare hotels horizontally and place orders. In fact, the hotel first picture that each travel purpose wants to see is different. For example, guests on business trips want to know the location relationship between the hotel and the public transportation hub or landmark the most. For scenic spot tourism, the hotel appearance label is more concerned about the hotel and the natural scenery around the hotel. Mid-term residence is more concerned about the decoration layout of the hotel rooms, etc. These needs cannot be directly met in the existing search. Users have to open the hotel album and then look for the pictures they are interested in in the photo collection. There are also many hotels that are ignored because the first picture does not hit the user's current travel purpose (even if the hotel's first picture is already very beautiful or the hotel actually has the qualifications to meet customer needs). Because the first picture is not satisfactory, the user may pass the hotel. To solve these problems, it is necessary to improve the existing evaluation methods and processes to better balance quality and diversity.
[0057] Figure 1 Flow chart of the method for optimizing the first map of hotels based on travel destinations of the present invention. Figure 1 As shown, the preferred method of the first map of the hotel based on the travel destination of the present invention includes:
[0058] S110, adding a corresponding preset scenario label to each hotel based on the travel purpose with the highest percentage of the staying user group;
[0059] S120, performing image recognition on the image collection of each hotel on the OTA website, adding corresponding scene tags, and establishing corresponding image subsets according to the scene tags and obtaining representative images of each image subset;
[0060] S130, when the user initially searches for the feedback, select a representative picture of a subset of pictures with the same scene label based on at least the preset scene label to select the first picture of each hotel;
[0061] S140, tracking the user's search interaction steps, and analyzing the preset scenario tags corresponding to the user's current travel purpose for this hotel search; and
[0062] S150. According to the preset scene tags, when the user searches for the next time, a representative picture of a picture subset having the same scene tag is selected according to the preset scene tags to select the first picture of each hotel.
[0063] In a preferred embodiment, in step S110, a corresponding preset scene label is added to each hotel based on the travel purpose with the highest percentage of the occupant user group. The preset scene labels include business trip, sightseeing, and medium-term residence. The travel purpose corresponds to at least one scene label or a combination of scene labels, but is not limited to this.
[0064] In a preferred embodiment, business trips correspond to hotel geographic location tags, tourist attractions correspond to hotel appearance tags, and mid-term stays correspond to hotel room tags, but the present invention is not limited thereto.
[0065] In a preferred embodiment, step S120 includes:
[0066] S121, performing image recognition on the image collection of each hotel on the OTA website, and adding corresponding scene tags;
[0067] S122. Establish corresponding image subsets according to the photos with the same scene label, and obtain a representative image with the highest score in each image subset based on the image scoring model, but the present invention is not limited thereto.
[0068] In a preferred embodiment, step S122 includes:
[0069] S1221, establishing corresponding picture subsets according to photos with the same scene label;
[0070] S1222. Collect interaction data for each picture, where the interaction data includes the number of likes, the number of reposts, and the number of downloads;
[0071] S1223. Obtaining a picture quality score for each picture based on the picture scoring model;
[0072] S1224. Obtain a score for each image based at least on the interaction data and the image quality score of each image and sort the scores from largest to smallest.
[0073] S1225. Use the picture with the highest score in each picture subset as the first picture displayed in the picture subset, but this is not limited to this.
[0074] In a preferred embodiment, step S140 includes:
[0075] S141, tracking the interaction record of the user clicking to browse the hotel page in the hotel list containing the hotel first picture on the search feedback page and the interaction record of the picture subset containing the picture viewed after the user opened the hotel picture;
[0076] S142, counting the total number of preset scene tags corresponding to the first picture of the clicked hotel and the preset scene tags corresponding to the pictures viewed by the user; and
[0077] S143. When the number of times a user continuously clicks on the same type of preset scene tag meets a threshold or the ratio of clicks on the same type of preset scene tag within a period of time meets a threshold, the preset scene tags of all hotels in the hotel feedback information are replaced with the preset scene tag with the highest number of clicks, and the homepage of all hotels in the search feedback page is updated according to the preset scene tags, but not limited to this.
[0078] In a preferred embodiment, in step S150, within a period of time from the start of this search, when the user searches next time, a representative image of a subset of images with the same scene label is selected based on the highest clicked preset scene label to select the first image of each hotel, but this is not limited to this.
[0079] Specific embodiments of the present invention include:
[0080] First, a corresponding preset scene tag is added to each hotel based on the travel purpose with the highest percentage of the occupant user group. The preset scene tags include business travel, scenic spot tourism, and medium-term residence. The travel purpose corresponds to at least one scene tag or a combination of scene tags. Business travel corresponds to the hotel location tag, scenic spot tourism corresponds to the hotel appearance tag, and medium-term residence corresponds to the hotel room tag.
[0081] Then, perform image recognition on the image collection of each hotel on the OTA website and add corresponding scene tags. Establish corresponding image subsets based on photos with the same scene tags. Collect interaction data for each image, including the number of likes, forwardings, and downloads. Obtain the image quality score of each image based on the image scoring model. Obtain the score of each image based on at least the interaction data and image quality score of each image and sort them from large to small. The highest-scoring image in each image subset is used as the first image displayed in the image subset, for example. A picture showing the location relationship between the hotel and the public transportation hub or landmark is selected as the first image of the image subset corresponding to the business travel label; a picture showing the hotel appearance and the natural scenery around the hotel is selected as the first image of the image subset corresponding to the hotel appearance label; a picture of the interior decoration layout of the hotel room is selected as the first image of the image subset corresponding to the mid-term residence label.
[0082] When the user initially searches for feedback, the first picture of each hotel is selected by selecting a representative picture of a subset of pictures with the same scene label based on the preset scene label.
[0083] Track the interaction records of users clicking on and browsing hotel pages in the hotel list containing the hotel homepage on the search feedback page, as well as the interaction records of the image subset containing the image that the user views after opening the hotel image, and also include the scene tags corresponding to the image subset containing the image that the user views after opening the hotel image, etc. Count the total number of clicked hotel homepages and preset scene tags corresponding to the images viewed by users; when the number of consecutive clicks of the same type of preset scene tag "attractions and tourism" by users meets the threshold, replace the preset scene tags of all hotels in the hotel feedback information with the preset scene tag "attractions and tourism" with the highest number of clicks, and update the homepage of all hotels on the search feedback page according to the preset scene tags. At this time, the homepage of all hotels on the search feedback page are pictures showing the appearance of the hotel and the natural scenery around the hotel, so that tourists who want to travel to attractions can more intuitively and easily choose their favorite hotels based on the hotel homepage.
[0084] Within a period of time (for example, 10 minutes or half an hour) from the start of this search, when the user searches next time, the representative image of the image subset with the same scene label "attractions and tourism" is selected according to the highest clicked preset scene label to select the first image of each hotel, but not limited to this.
[0085] Figure 2 Schematic diagram of the structure of the hotel first map optimization system based on travel destination of the present invention. Figure 2 As shown, an embodiment of the present invention further provides a hotel first picture optimization system based on travel purpose, which is used to implement the above-mentioned hotel first picture optimization method based on travel purpose. The hotel first picture optimization system based on travel purpose 5 includes:
[0086] The preset scene module 51 adds a corresponding preset scene tag to each hotel based on the travel purpose with the highest percentage of the staying user group.
[0087] The picture recognition module 52 performs picture recognition on the picture collection of each hotel in the OTA website, adds corresponding scene tags, and establishes corresponding picture subsets according to the scene tags and obtains representative pictures of each picture subset.
[0088] The first picture selection module 53 selects the first picture of each hotel by selecting representative pictures of a picture subset with the same scene label at least based on the preset scene label when the user's initial search is fed back.
[0089] The travel purpose module 54 tracks the user's search interaction steps and analyzes the preset scenario tags corresponding to the user's current travel purpose for this hotel search.
[0090] The first picture optimization module 55 selects the first picture of each hotel according to the preset scene label and selects the representative picture of the picture subset with the same scene label according to the preset scene label when the user searches next time.
[0091] In a preferred embodiment, the preset scene module 51 is configured to add a corresponding preset scene label to each hotel based on the travel purpose with the highest percentage of the occupant user group, and the preset scene labels include business trips, sightseeing, and medium-term residence. The travel purpose corresponds to at least one scene label or a combination of scene labels.
[0092] In a preferred embodiment, business trips correspond to hotel geographic location tags, tourist attractions correspond to hotel appearance tags, and mid-term stays correspond to hotel room tags.
[0093] In a preferred embodiment, the image recognition module 52 is configured to perform image recognition on the image collection of each hotel in the OTA website and add corresponding scene tags. According to the photos with the same scene tags, corresponding image subsets are established, and a representative image with the highest score is obtained in each image subset based on the image scoring model.
[0094] In a preferred embodiment, the picture recognition module 52 is further configured to establish corresponding picture subsets according to photos with the same scene tag. Collect interaction data for each picture, the interaction data including the number of likes, the number of reposts, and the number of downloads. Obtain the picture quality score of each picture based on the picture scoring model. Obtain the score of each picture based at least on the interaction data and the picture quality score of each picture and sort them from large to small. The picture with the highest score in each picture subset is used as the first picture displayed in the picture subset.
[0095] In a preferred embodiment, the travel purpose module 54 is configured to track the user's interaction records of clicking on and browsing the hotel page in the hotel list containing the hotel's first picture on the search feedback page, as well as the interaction records of the picture subset containing the picture that the user viewed after opening the hotel picture. The total number of preset scene tags corresponding to the first picture of the clicked hotel and the preset scene tags corresponding to the pictures viewed by the user are counted. When the number of consecutive clicks of the same type of preset scene tags by the user meets the threshold or the proportion of clicks on the same type of preset scene tags within a period of time meets the threshold, the preset scene tags of all hotels in the hotel feedback information are replaced with the preset scene tags with the highest number of clicks, and the first pictures of all hotels are updated in the search feedback page according to the preset scene tags.
[0096] In a preferred embodiment, the first picture optimization module 55 is configured to select the first picture of each hotel from a representative picture of a subset of pictures with the same scene label based on the highest preset scene label clicked within a period of time from the start of this search when the user searches next time.
[0097] The hotel homepage optimization system based on travel purpose of the present invention can adapt to more complex hotel selection homepage scenarios, automatically match users' diversified travel purposes, reduce labor costs, and improve user experience.
[0098] The embodiment of the present invention also provides a device for selecting a hotel first picture based on a travel purpose, comprising a processor and a memory, wherein executable instructions of the processor are stored. The processor is configured to execute the steps of a method for selecting a hotel first picture based on a travel purpose by executing the executable instructions.
[0099] As shown above, the hotel first picture optimization device based on travel purpose in this embodiment of the present invention can adapt to more complex hotel selection first picture scenarios, automatically match users' diversified travel purposes, reduce labor costs, and improve user experience.
[0100] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "platform".
[0101] Figure 3 This is a schematic diagram of the structure of the hotel first map optimization device based on the travel destination of the present invention. Figure 3 The electronic device 600 according to this embodiment of the present invention is described. Figure 3 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.
[0102] like Figure 3 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.
[0103] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above method section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1 Follow the steps shown in .
[0104] 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 .
[0105] 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.
[0106] 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.
[0107] 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.
[0108] The embodiment of the present invention also provides a computer-readable storage medium for storing a program, and the steps of the method for selecting the first map of hotels based on travel purpose are implemented when the program is 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 embodiments of the present invention described in the above method section of this specification.
[0109] As shown above, the hotel first picture optimization system based on travel purpose in this embodiment of the present invention can adapt to more complex hotel first picture selection scenarios, automatically match users' diversified travel purposes, reduce labor costs, and improve user experience.
[0110] Figure 4 Schematic diagram of the structure of the computer-readable storage medium of the present invention. Figure 4 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.
[0111] The program product may employ 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 thereof. More specific examples (a non-exhaustive list) of readable storage media 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 thereof.
[0112] 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 a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. 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 code 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 of the above.
[0113] 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).
[0114] In summary, the purpose of the present invention is to provide a method, system, device and storage medium for optimizing the hotel home picture based on travel purpose, which can adapt to more complex hotel selection home picture scenarios, automatically match users' diversified travel purposes, reduce labor costs, and improve user experience.
[0115] 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 method for selecting the first picture of a hotel based on travel destination, characterized in that: The following steps are involved: S110, adding a corresponding preset scenario label to each hotel based on the travel purpose with the highest percentage of the staying user group; S120, performing image recognition on the image collection of each hotel on the OTA website, adding corresponding scene tags, and establishing corresponding image subsets according to the scene tags and obtaining representative images of each image subset; S130, when the user initially searches for the feedback, selecting a representative picture of a subset of pictures with the same scene label based on at least a preset scene label to select a first picture of each of the hotels; S140, tracking the user's search interaction steps, and analyzing the preset scenario tags corresponding to the user's current travel purpose for this hotel search; as well as S150. According to the preset scene tags, when the user searches for the next time, a representative image of a subset of images with the same scene tags is selected according to the preset scene tags to select the first image of each hotel.
2. The method for selecting the first picture of a hotel based on a travel destination as claimed in claim 1, characterized in that: In step S110, a corresponding preset scene label is added to each hotel based on the travel purpose with the highest percentage of the occupant user group, and the preset scene labels include business trip, sightseeing, and medium-term residence. The travel purpose corresponds to at least one scene label or a combination of scene labels.
3. The method for selecting the first picture of a hotel based on a travel destination as claimed in claim 2, characterized in that: The business trip corresponds to the hotel geographical location tag, the scenic spot tour corresponds to the hotel appearance tag, and the mid-term stay corresponds to the hotel room tag.
4. The method for selecting the first picture of a hotel based on a travel destination as claimed in claim 1, characterized in that: The step S120 includes: S121, performing image recognition on the image collection of each hotel on the OTA website, and adding corresponding scene tags; S122: establishing corresponding picture subsets according to the photos having the same scene label, and obtaining a representative picture with the highest score in each picture subset based on a picture scoring model.
5. The method for selecting the first picture of a hotel based on travel purpose as claimed in claim 4, characterized in that: The step S122 includes: S1221, establishing corresponding picture subsets according to photos with the same scene label; S1222. Collect interaction data of each of the pictures, where the interaction data includes the number of likes, the number of reposts, and the number of downloads; S1223. Obtaining a picture quality score for each picture based on a picture scoring model; S1224. Obtain a score for each picture based at least on the interaction data and picture quality score of each picture and sort the scores from largest to smallest. S1225. Use the picture with the highest score in each picture subset as the first picture displayed in the picture subset.
6. The method for selecting the first picture of a hotel based on travel purpose according to claim 5, characterized in that: The step S140 includes: S141, tracking the interaction record of the user clicking to browse the hotel page in the hotel list containing the hotel first picture on the search feedback page and the interaction record of the picture subset containing the picture viewed after the user opened the hotel picture; S142, counting the total number of preset scene tags corresponding to the first picture of the clicked hotel and the preset scene tags corresponding to the pictures viewed by the user; and S143. When the number of times that a user continuously clicks on the same type of preset scene tag meets a threshold or the ratio of clicks on the same type of preset scene tag within a period of time meets a threshold, the preset scene tags of all hotels in the hotel feedback information are replaced with the preset scene tag with the highest number of clicks, and the homepage of all hotels in the search feedback page is updated according to the preset scene tag.
7. The method for selecting the first picture of a hotel based on travel purpose according to claim 6, characterized in that: In step S150, within a period of time from the start of this search, when the user searches next time, a representative image of a subset of images with the same scene label is selected according to the highest clicked preset scene label to select the first image of each hotel.
8. A system for selecting hotels based on the first picture of a travel destination, used to implement the method for selecting hotels based on the first picture of a travel destination as described in claim 1, characterized in that: include: Preset scenario module, which adds a corresponding preset scenario tag to each hotel based on the travel purpose with the highest percentage of the staying user group; The image recognition module performs image recognition on the image collection of each hotel on the OTA website, adds corresponding scene tags, and establishes corresponding image subsets based on the scene tags and obtains representative images of each image subset; A first picture selection module, when responding to a preliminary search by a user, selects a first picture of each of the hotels by selecting a representative picture of a subset of pictures with the same scene label based on at least a preset scene label; The travel purpose module tracks the user's search interaction steps and analyzes the preset scenario tags corresponding to the user's current travel purpose for this hotel search; as well as The first picture optimization module selects the first picture of each hotel according to the preset scene label and selects a representative picture of a subset of pictures with the same scene label according to the preset scene label when the user searches for the next time.
9. A device for selecting the first picture of a hotel based on travel purpose, characterized in that: include: processor; a memory storing executable instructions of the processor; Wherein, the processor is configured to execute the steps of the method for selecting the first picture of a hotel based on travel purpose as described in any one of claims 1 to 7 by executing the executable instructions.
10. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps of the method for selecting the hotel first picture based on travel purpose as described in any one of claims 1 to 7 are implemented.