Method, apparatus, device, and storage medium for search recommendation
The inline presentation of a search box and suggestion terms on multimedia content pages addresses the disruption in user experience by enabling seamless search integration, enhancing user interaction in multimedia content sharing applications.
Patent Information
- Application Number
- JP2024559119
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-04-06
- Filing Date
- 2023-04-05
- Publication Date
- 2025-09-08
- Estimated Expiration
- 2043-04-05
AI Technical Summary
Conventional multimedia content sharing applications require users to switch to a separate search page to input search queries, disrupting the viewing process and affecting user experience.
A method and apparatus that allows for the inline presentation of a search box and suggestion terms on the same page as the multimedia content, determining the availability of space and adjusting the display based on navigation tabs and content, enabling seamless search integration without disrupting the viewing experience.
Enhances user experience by allowing users to search for multimedia content without pausing their current activity, providing personalized search recommendations based on the content they are viewing.
Smart Images

Figure 0007735592000001 
Figure 0007735592000002 
Figure 0007735592000003
Abstract
Description
[Technical Field]
[0001] [Cross-reference of related applications] This application claims priority to a Chinese patent application filed on April 6, 2022, entitled "Method, apparatus, device, and storage medium for search recommendation," with application number CN202210358726.7.
[0002] FIELD OF THE INVENTION Exemplary embodiments of the present invention relate generally to the field of computers, and more particularly to methods, apparatus, devices, and computer-readable storage media for search recommendation. [Background technology]
[0003] Currently, an increasing number of applications are being designed to provide various services to users. For example, in a content sharing application, a user can view, comment on, and retweet various types of content, including multimedia content such as videos, images, image sets, and sounds. The sharing application can also allow a user to select multimedia content of interest based on their preferences through a search operation, and can provide the user with search recommendations related to the multimedia content based on the user's preferences collected by the application itself, thereby further optimizing the interactive experience between the user and the application. Summary of the Invention
[0004] Exemplary embodiments according to the present invention provide a solution for search recommendation to further enhance search recommendation functionality.
[0005] A first aspect of the present invention provides a method for search recommendation, the method including: determining whether a search box can be presented on a page; if it is determined that the search box can be presented on the page, presenting the search box on the page; determining search suggestion terms based on multimedia content presented on the page; and presenting at least a portion of the search suggestion terms in the search box.
[0006] A second aspect of the present invention provides an apparatus for search recommendation, comprising: a first determination module for determining whether a search box can be presented on a page; a first presentation module for presenting the search box on the page if it is determined that the search box can be presented; a second determination module for determining search suggestion terms based on multimedia content presented on the page; and a second presentation module for presenting at least a portion of the search suggestion terms in the search box.
[0007] A third aspect of the present invention provides an electronic device comprising at least one processing unit and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit that, when executed by the at least one processing unit, cause the device to perform the method of the first aspect.
[0008] A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method of the first aspect.
[0009] It should be understood that the contents described in the summary of the present invention are not intended to limit the main or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will be readily understood from the following description. [Brief explanation of the drawings]
[0010] The above-mentioned features and other features, advantages, and aspects of the embodiments of the present invention will become more apparent from the following detailed description taken in conjunction with the drawings, in which like or similar symbols indicate like or similar elements, and in which: [Figure 1] 1 shows a schematic diagram of an exemplary environment in which embodiments of the present invention may be implemented; [Figure 2] 1 illustrates a flowchart of a process for search recommendations in some embodiments according to the present invention. [Figure 3] 1 shows a schematic diagram of an example page of an application according to some embodiments of the present invention; [Figure 4A] 1 shows a schematic diagram of an example page of an application according to some embodiments of the present invention; [Figure 4B] 1 shows a schematic diagram of an example page of an application according to some embodiments of the present invention; [Figure 5A] 1 shows a schematic diagram of an example page of an application according to some embodiments of the present invention; [Figure 5B] 1 shows a schematic diagram of an example page of an application according to some embodiments of the present invention; [Figure 6A] 1 shows a schematic diagram of an example of page interaction for an application of some embodiments according to the present invention; [Figure 6B] 1 shows a schematic diagram of an example of page interaction for an application of some embodiments according to the present invention; [Figure 7A] 1 shows a schematic diagram of an example of page interaction for an application of some embodiments according to the present invention; [Figure 7B] 1 shows a schematic diagram of an example of page interaction for an application of some embodiments according to the present invention; [Figure 8] 1 illustrates a block diagram of an apparatus for search recommendation according to some embodiments of the present invention. [Figure 9] 1 shows a block diagram of a device capable of implementing several embodiments of the present invention; DETAILED DESCRIPTION OF THE INVENTION
[0011] Hereinafter, the embodiments of the present invention will be described in more detail with reference to the drawings. Although the drawings show specific embodiments of the present invention, it should be understood that the present invention can be realized in various forms and should not be construed as being limited to the embodiments described herein, but rather, these embodiments are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are for illustrative purposes and are not used to limit the protection scope of the present invention.
[0012] In describing embodiments of the present invention, the term "comprising" and similar terms are intended to be open-ended inclusions, including, but not limited to, the term "based on" should be understood to mean "based at least in part on." The term "an embodiment" or "the embodiment" should be understood to mean "at least one embodiment." The term "some embodiments" should be understood to mean "at least some embodiments." The following specification may contain explicit and implicit definitions:
[0013] In describing embodiments of the present invention, the term "comprising" and similar terms are intended to be open-ended inclusions, including, but not limited to, the term "based on" should be understood to mean "based at least in part on." The term "an embodiment" or "the embodiment" should be understood to mean "at least one embodiment." The term "some embodiments" should be understood to mean "at least some embodiments." The following specification may contain explicit and implicit definitions:
[0014] 1 illustrates a schematic diagram of an exemplary environment 100 in which an embodiment of the present invention may be implemented. In the exemplary environment 100, a terminal device 110 has an application 120 installed thereon. A user 140 may interact with the application 120 through the terminal device 110 and / or an accessory device of the terminal device 110. The application 120 may be a content-sharing application and may provide the user 140 with services related to multimedia content consumption, including viewing, commenting, retweeting, creating (e.g., capturing and / or editing), publishing, etc., of multimedia content. As used herein, "multimedia content" may refer to various forms of content, including video, audio, images, image sets, text, etc.
[0015] 1, when active in application 120, terminal device 110 may present user 140 with pages 150 of application 120. Pages 150 may include various types of pages that application 120 may provide, including multimedia content submission pages, content creation pages, content editing pages, message pages, personal pages, mall pages, etc.
[0016] In some embodiments, terminal device 110 communicates with server 130 to provide services to application 120. Terminal device 110 may be any type of mobile, fixed, or portable terminal, including a mobile phone, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, media computer, multimedia tablet, personal communication system (PCS) device, personal navigation device, personal digital assistant (PDA), audio / video player, digital camera / camcorder, positioning device, television receiver, radio broadcast receiver, e-book device, gaming device, or any combination thereof, including accessories and peripherals of these devices, or any combination thereof. In some embodiments, terminal device 110 may also support any type of user interface (e.g., “wearable” circuitry, etc.). Server 130 may be any type of computing system / server capable of providing computing capabilities, including, but not limited to, a mainframe, an edge computing node, a computing device in a cloud environment, etc.
[0017] It should be understood that the structure and functionality of environment 100 is described for illustrative purposes only and is not intended to imply any limitation on the scope of the present invention.
[0018] Conventionally, a user interface element such as a search icon used in an application to guide a user to search for multimedia content of interest may be located at a specific position on a page. When a user intends to search for multimedia content of interest, the user actively searches for and activates the user interface element, thereby switching the page for presenting the current multimedia content to a search page where the user can perform a search operation.
[0019] Typically, a search page presents a search box for allowing a user to input search keywords related to multimedia content of interest. The search page also typically presents a list of suggested search terms. The list of suggested search terms may include one or more suggested search entries. These suggested search entries may be determined by an application based on specific conditions. For example, suggested search phrases may be determined based on current hot events or topics. Alternatively, for example, suggested search entries may be determined based on a user's preferences.
[0020] However, in the conventional solution, when a user wants to search for multimedia content that interests him, he needs to pause the currently playing multimedia content and switch to a search page, which makes the multimedia content viewing process unsmooth and affects the user's application usage experience.
[0021] An embodiment of the present invention provides a solution for search recommendation, which includes determining whether a search box can be displayed on a page; displaying the search box on the page if it is determined that the search box can be displayed; determining search recommendation terms based on the multimedia content displayed on the page, and displaying at least some of the search recommendation terms in the search box. This method can meet the user's personalized needs by displaying search recommendation terms to the user based on the multimedia content the user is interested in, and can enable the user to search for multimedia content of interest without affecting the user's current viewing process, thereby providing a better user experience.
[0022] With continued reference to the drawings, several exemplary embodiments of the present invention will now be described.
[0023] 2 illustrates a flowchart of a process 200 for search recommendation according to some embodiments of the present invention. Process 200 may be implemented on terminal device 110. For ease of discussion, process 200 will be described with reference to environment 100 of FIG. 1.
[0024] In box 210 , the terminal device 110 determines whether a search box can be presented on the page 150 of the application 120 .
[0025] In some embodiments, the terminal device 110 may determine a first length of one or more navigation tabs presented on the page 150 in a predetermined direction and may determine a second length of a search box in the predetermined direction. The one or more navigation tabs and the search box may be arranged side by side in the predetermined direction. The terminal device 110 may determine that the search box may be presented on the page 150 when it is determined that the sum of the first length and the second length does not exceed the overall length of the page 150 in the predetermined direction.
[0026] In some embodiments, the terminal device 110 presents a search icon on the page 150 when it determines that the sum of the first length and the second length exceeds the width of the page 150 .
[0027] In some embodiments, the predetermined direction may be the width direction of the display interface of the terminal device 110 .
[0028] In some embodiments, the terminal device 110 determines the first length based on a display mode associated with the display of one or more navigation tabs, which may be, for example, a display mode related to the size of a display font, such as a large mode or an elder mode.
[0029] In some embodiments, the terminal device 110 may determine the number of one or more navigation tabs in the application 120. The number of navigation tabs in the application 120 may be varied based on the needs of the service provider during the course of use by the user 140.
[0030] In some embodiments, the terminal device 110 may determine the number of dissimilar navigation tabs based on one or more dissimilar navigation tabs other than the one or more navigation tabs presented on the current page 150. As the user 140 uses the application 120, the number of dissimilar tabs may increase based on the needs of the service provider. The dissimilar navigation tabs may be displayed differently from the one or more navigation tabs presented on the current page 150. For example, they may have a different font type and size, or may contain a different number and type of characters or symbols.
[0031] In some embodiments, the terminal device 110 may determine the second length based on a threshold number of characters that are allowed to be submitted in a search box.
[0032] In some embodiments, the terminal device 110 determines the overall length based on display parameters of a display interface of the terminal device 110. For example, the display parameters may include a width of the display interface.
[0033] In box 220, the terminal device 110 presents a search box on the page 150 if it determines that a search box can be presented.
[0034] In some embodiments, the terminal device 110 can present a search box at the top of the page 150. It should be understood that the terminal device 110 can present the search box at the bottom of the page 150 based on the needs of the service provider.
[0035] In box 230 , the terminal device 110 determines suggested search terms based on the multimedia content presented on the page 150 .
[0036] In some implementations, once content tabs related to the multimedia content presented on the page 150 are obtained, the terminal device 110 can determine search suggestion terms based on the content tabs.
[0037] In some embodiments, the terminal device 110 may determine default characters as the search suggestion terms if a content tab related to the multimedia content presented on the page 150 is not obtained.
[0038] At box 240, the terminal device 110 presents at least some of the suggested search terms in a search box.
[0039] In some embodiments, the terminal device 110 may determine whether the number of characters included in the suggested search term is less than a threshold number. If the number of characters is determined to be less than the threshold number, the terminal device 110 may present the suggested search term in the search box.
[0040] In some embodiments, when the number of characters is equal to or greater than a threshold number, the terminal device 110 displays symbols in the search box to indicate some of the characters included in the suggested search term and other characters omitted from the suggested search term.
[0041] In some embodiments, the total length of symbols indicating some of the characters included in the search suggestion words and other omitted characters in the search suggestion words corresponds to the length of the threshold number of characters.
[0042] In some embodiments, the terminal device 110 presents search suggestion terms in the center of the search box.
[0043] In some embodiments, when a switch occurs from another multimedia content to another multimedia content on page 150, the terminal device 110 can present a process of switching from another search suggestion term related to the other multimedia content to a search suggestion term in the search box.
[0044] In some embodiments, when switching from another multimedia content to another multimedia content is associated with the same navigation tab, the terminal device 110 can present the process of switching from another search suggestion term to a search suggestion term in an upward scrolling mode or a downward scrolling mode.
[0045] In some embodiments, when the switching from another multimedia content to another multimedia content is associated with a different navigation tab, the terminal device 110 may present the switching process from another search suggestion term to another search suggestion term in a fade-in / fade-out mode.
[0046] In some implementations, the suggested search terms correspond to preferred suggested search terms on a search page presented in application 120 .
[0047] To better understand an exemplary embodiment of the presentation of search suggestion terms, the following description is provided with reference to an exemplary user interface.
[0048] The terminal device may determine whether a search box may be provided on a page of the application. If the search box may be provided, the terminal device provides the search box on the page. For example, the terminal device may determine whether a search box may be provided on the page by comparing the sum of a first length of the page of navigation tabs in the page in a predetermined direction and a second length of the search box in the predetermined direction with the total length of the page in the predetermined direction.
[0049] 3 illustrates an exemplary page presenting a search box in the application 120. In the page 300, navigation tabs 301-304 are arranged at the top of the page 300 in a width direction H of the page 300. The terminal device 110 may determine a first length 320 of the navigation tabs 301-304 in the width direction H. A second length 330 of the search box 305 in the width direction H may be determined based on a threshold number of characters allowed to be presented in the search box.
[0050] When the terminal device 110 determines that the sum of the first length 320 and the second length 330 does not exceed the width 340 of the page 300, the terminal device 110 presents a search box 305 on the page 300, as shown in Fig. 3. The search box 305 may be arranged alongside the navigation tabs 301 to 304 at the top of the page 300 in the width direction H.
[0051] It should be understood that the arrangement of the navigation tabs 301-304 and the search box 305 shown in Figure 3 is for illustrative purposes only and is not intended to limit the present invention. If desired, the navigation tabs 301-304 and the search box 305 may be located in other positions on the page 300.
[0052] In some cases, the terminal device may not be able to display a search box on a page, for example, if the sum of the first length of the navigation tabs in the page in a predetermined direction and the second length of the search box in the predetermined direction exceeds the total length of the page in the predetermined direction, the search box will not be displayed.
[0053] 4A and 4B illustrate such pages 400A and 400B. In FIG. 4A, when the display mode of the terminal device 110 is adjusted, for example, to the large mode or elder mode, the font size of the navigation tabs 401 to 404 increases, and accordingly, the first length 410 of the navigation tabs 401 to 404 in the width direction H of the page 400A significantly increases. Therefore, the total length 430 of the first length 410 of the navigation tabs 401 to 404 in the width direction H of the page 400A and the second length 420 of the search box 405 in the width direction H of the page 400A exceeds the total length 440 of the page 400A in the width direction H. In such a case, the search box 405 cannot be displayed on the page 400A. A graphical interface element for guiding a search, such as a search icon 406, is displayed on the page 400A.
[0054] In FIG. 4B , a dissimilar navigation tab 407 is presented on page 400B. Because the dissimilar navigation tab has a different display format from the navigation tabs 402 to 404 presented on page 400B, a first length 410 in the width direction H of the dissimilar navigation tab 407 and the navigation tabs 402 to 404 on page 400B becomes significantly larger. In this case, a total length 460 of a first length 450 in the width direction H of the dissimilar navigation tab 407 and the navigation tabs 402 to 404 on page 400B and a first length 420 in the width direction H of the search box 405 on page 400B exceeds a total length 440 in the width direction H of page 400B. In this case, a graphical interface element for guiding a search, such as a search icon 406, is presented on page 400B.
[0055] The terminal device further determines suggested search terms based on the multimedia content presented on the page and presents at least some of the suggested search terms in the search box.
[0056] Continuing with reference to FIG. 3, a page 300 presents currently playing multimedia content 310. The terminal device 110 can determine search suggestion terms related to the multimedia content 310. For example, the terminal device 110 can obtain one or more content tabs related to the multimedia content 310 and determine search suggestion terms based on the content tabs.
[0057] When it is determined that the recommended search term has been presented in the search box 305, the terminal device 110 can determine whether the number of characters included in the recommended search term is less than the threshold number of characters allowed to be presented in the search box 305. If the number of characters included in the recommended search term is less than the threshold number, the characters included in the recommended search term, i.e., the complete recommended search term, is presented in the search box 305. In FIG. 3, assuming that the threshold number of characters allowed to be presented in the search box 305 is 5, the number of characters included in the determined recommended search term "remote socializing" is 4, and therefore the recommended search term "remote socializing" is presented in the search box 305.
[0058] In some cases, the terminal device 110 displays only a portion of the determined suggested search terms in the search box of the page, for example, when the number of characters included in the suggested search terms is equal to or exceeds the threshold number of characters allowed to be displayed in the search box.
[0059] 5A shows such a page 500A. In FIG. 5A, page 500A displays currently playing multimedia content 510. The terminal device 110 can determine search suggestion terms related to the multimedia content 510, such as "multimedia entertainment." Assuming that the number of characters included in the search suggestion terms is 5 and the threshold number of characters allowed to be displayed in search box 505 is 5, the number of characters included in the search suggestion terms is equal to the threshold number of characters allowed to be displayed in search box 505.
[0060] In such a case, the terminal device 110 may display some characters of the suggested search term in the search box 505, and indicate the omitted characters of other parts of the suggested search term with an ellipsis. For example, in FIG. 5A, the suggested search term displayed in the search box 505 of page 500A is "multimedia entertainment...".
[0061] In some cases, the terminal device may display default words in the search box of a page. FIG. 5B illustrates such a page. In FIG. 5B, page 500B displays currently playing multimedia content 520. If the terminal device 110 cannot obtain a valid content tab associated with the multimedia content 520, it may display default words as suggested search terms in the search box 505 of page 500B. For example, in FIG. 5B, the suggested search term is "search."
[0062] In the exemplary page already described above, the search suggestion terms may be presented in the search box in a centered format. It should be understood that the search suggestion terms may also be presented in the search box in other formats, such as a right-justified format. The presentation format shown in the drawings should not be considered a limitation of the present invention.
[0063] In some situations, after viewing or listening to the multimedia content presented on a page of an application, a user performs a multimedia content switching operation. For example, the user switches the multimedia content presented on the page by sliding up and down or left and right on the page. As the user slides the page, the suggested search terms presented in the search box also change as the multimedia content presented on the page switches. That is, the suggested search terms determined based on the currently presented multimedia content are switched to the suggested search terms determined based on the multimedia content presented after the switch.
[0064] The process of switching between search suggestion terms may be presented with a predetermined visual effect, which may be associated with navigation tabs corresponding to the currently played multimedia content and the switched multimedia content.
[0065] 6A, 6B and 7A, 7B illustrate such a switching process.
[0066] 6A and 6B, multimedia content 610 is presented on page 600A in FIG. 6A. The multimedia content 610 corresponds to a navigation tab 604 selected by a user. Search recommendation terms 602 determined based on the multimedia content 610 presented on page 600A are presented in a search box 605.
[0067] When applying the setting, if the user performs an upward or downward slide operation without changing the selected navigation tab to switch the multimedia content on the page, the multimedia content before the switch and the multimedia content after the switch correspond to the same navigation tab.
[0068] 6A and 6B, when a user performs a downward slide operation 601 to switch multimedia content 610 presented on page 600A to multimedia content 620 presented on page 600B shown in Fig. 6B, multimedia content 610 and multimedia content 620 correspond to the same navigation tab 604. In this case, the switch from suggested search terms 602 presented in the search box 605 of page 600A in Fig. 6A to suggested search terms 603 presented in the search box 605 of page 600B in Fig. 6B is presented in the form of a scroll switch. The scroll direction of suggested search terms presented by the scroll switch of suggested search terms corresponds to the slide direction of the slide operation performed by the user on the page.
[0069] 7A and 7B, multimedia content 710 is presented on page 700A in FIG. 7A. The multimedia content 710 corresponds to a navigation tab 704 selected by a user. Search suggestion terms 702 determined based on the multimedia content 710 presented on page 700A are presented in a search box 705.
[0070] When applied, when the user performs a leftward or rightward slide operation, the selected navigation tab will also be switched, i.e., the selected navigation tab will be switched from the current navigation tab to the adjacent navigation tab corresponding to the user's slide direction. In this scenario, the multimedia content before the switch and the multimedia content after the switch correspond to different navigation tabs.
[0071] As shown in Figures 7A and 7B, when a user performs a left slide operation 701 to switch the multimedia content 710 presented on page 700A to the multimedia content 720 presented on page 700B shown in Figure 7B, the multimedia content 710 and the multimedia content 720 correspond to different navigation tabs, i.e., the multimedia content 710 corresponds to the navigation tab 704, and the multimedia content 720 corresponds to the navigation tab 703.
[0072] In such a case, the switch from the search recommendation terms 702 presented in the search box 705 of page 700A in Fig. 7A to the search recommendation terms 703 presented in the search box 705 of page 700B in Fig. 7B may be presented in a fade-in / fade-out switching format. The fade-in / fade-out direction of the presented search recommendation terms by the fade-in / fade-out switching of the search recommendation terms corresponds to the slide direction of the slide operation performed by the user on the page.
[0073] In some examples, pages 300, 400A, 400B, 500A, 500B, 600A, 600B, 700A, and 700B described in conjunction with Figures 3, 4A, 4B, 5A, 5B, 6A, 6B, 7A, and 7B comprise pages in a multimedia sharing application. In some examples, pages 300, 400A, 400B, 500A, 500B, 600A, 600B, 700A, and 700B described in conjunction with Figures 3, 4A, 4B, 5A, 5B, 6A, 6B, 7A, and 7B comprise pages in a video sharing application.
[0074] According to the solution proposed by the present invention, search recommendation terms are presented to users based on the multimedia content they are interested in, thereby meeting the users' personalized needs and enabling them to search for the multimedia content they are interested in without affecting their current viewing process, thereby providing a better user experience.
[0075] 8 shows a block diagram of a schematic structure of an apparatus 800 for search recommendation according to a specific embodiment of the present invention. The apparatus 800 can be implemented as or included in the terminal device 110. Each module / component in the apparatus 800 can be implemented by hardware, software, firmware, or any combination thereof.
[0076] As shown in the drawing, the apparatus 800 includes a first determination module 810 for determining whether a search box can be presented on a page. The apparatus 800 further includes a first presentation module 820 for presenting the search box on the page when it is determined that the search box can be presented. The apparatus 800 further includes a second determination module 830 for determining suggested search terms based on multimedia content presented on the page. The apparatus 800 further includes a second presentation module 840 for presenting at least a portion of the suggested search terms in the search box.
[0077] In some embodiments, the first determination module 810 further determines a first length of one or more navigation tabs presented on the page in a predetermined direction, where the one or more navigation tabs and the search box are arranged side by side in the predetermined direction, and determines a second length of the search box in the predetermined direction, and determines that the search box can be presented on the page when it is determined that the sum of the first length and the second length does not exceed the total length of the page in the predetermined direction.
[0078] In some embodiments, the first determination module 810 further determines the first length based on at least one parameter of a display mode associated with the display of the one or more navigation tabs, the number of the one or more navigation tabs, and dissimilar tabs other than the one or more navigation tabs presented on the page.
[0079] In some embodiments, the first determination module 810 further determines the total length based on display parameters for displaying the device of the page.
[0080] In some embodiments, the first determination module 810 further determines the second length based on a threshold number of characters that are allowed to be submitted in the search box.
[0081] In some embodiments, the first determination module 810 further presents a search icon on the page when it determines that the sum of the first length and the second length exceeds the width of the page.
[0082] In some implementations, the first presentation module 820 also presents the search box at the top of the page.
[0083] In some embodiments, the second determination module 830 further determines the search recommendation terms based on content tabs associated with the multimedia content presented on the page, when the content tabs are obtained.
[0084] In some embodiments, the second determination module 830 further determines default characters as the search suggestion terms when a content tab related to the multimedia content presented on the page is not obtained.
[0085] In some implementations, the search suggestion terms correspond to preferred search suggestion terms presented on a search page.
[0086] In some embodiments, the second presentation module 840 further determines whether the number of characters included in the search suggestion term is less than a threshold number, and presents the search suggestion term in the search box if the number of characters is less than a threshold number.
[0087] In some embodiments, if the number of characters is equal to or greater than a threshold number, the second presentation module 840 further presents in the search box some of the characters included in the search suggestion term and a symbol indicating another portion of characters omitted from the search suggestion term.
[0088] In some embodiments, the total length of the subset of characters and the symbols corresponds to the length of the threshold number of characters.
[0089] In some embodiments, the second presentation module 840 further presents to the search box a switching process from another search recommendation term related to the other multimedia content to the search recommendation term when a switch from another multimedia content to the other multimedia content occurs on the page.
[0090] In some embodiments, the second presentation module 840 further presents the switching process from the other search suggestion term to the search suggestion term in an upward scroll mode or a downward scroll mode when the switching from the other multimedia content to the multimedia content is associated with the same navigation tab.
[0091] In some embodiments, the second presentation module 840 further presents the switching process from the other search suggestion term to the search suggestion term in a fade-in / fade-out mode when the switching from the other multimedia content to the multimedia content is associated with a different navigation tab.
[0092] In some implementations, the second presentation module 840 further presents the search suggestion terms in the center of the search box.
[0093] 9 illustrates a block diagram of a computing device 900 capable of implementing one or more embodiments of the present invention. It should be understood that the computing device 900 illustrated in FIG. 9 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The computing device 900 illustrated in FIG. 9 may be used to implement the terminal device 110 of FIG. 1.
[0094] 9, computing device 900 is a form of general-purpose computing device. Components of computing device 900 may include, but are not limited to, one or more processors or processing units 910, memory 920, storage device 930, one or more communication units 940, one or more input devices 950, and one or more output devices 960. Processing unit 910 may be a real or virtual processor and may perform various processes based on programs stored in memory 920. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel, thereby increasing the parallel processing capabilities of computing device 900.
[0095] Computing device 900 typically includes a number of computer storage media. Such media may be any obtainable media accessible by computing device 900, including, but not limited to, volatile and nonvolatile media, removable and non-removable media. Memory 920 may be volatile memory (e.g., registers, high-speed cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 930 may be removable or non-removable media and may include machine-readable media, such as a flash memory drive, a magnetic disk, or any other media, that may be used to store information and / or data (e.g., training data for training) and that may be accessible within computing device 900.
[0096] The computing device 900 may further include other removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 9, a magnetic disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”) and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a path (not shown) by one or more data media interfaces. The memory 920 may include a computer program product 925 having one or more program modules configured to perform various methods or operations of various embodiments of the present invention.
[0097] The communications unit 940 facilitates communication with other computing devices over a communications medium. Additionally, the functionality of the components of the computing device 900 may be implemented as a single computing cluster or multiple computing machines, which can communicate over a communications connection. Thus, the computing device 900 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or other network nodes.
[0098] The input device(s) 950 may be one or more input devices such as a mouse, keyboard, trackball, etc. The output device(s) 960 may be one or more output devices such as a display, speakers, printer, etc. The computing device 900 may further communicate with one or more external devices (not shown) via the communication unit 940, such as a storage device, a display device, a device through which a user interacts with the computing device 900, or any device (e.g., a netbook card, a modem, etc.) through which the computing device 900 communicates with one or more other computing devices, as needed. Such communication may be performed via an input / output (I / O) interface (not shown).
[0099] An exemplary implementation according to the present invention provides a computer-readable storage medium having computer-executable instructions stored thereon, which are executed by a processor to implement the above-described method.An exemplary implementation according to the present invention further provides a computer program product, the computer program product including computer-executable instructions tangibly stored on a non-transitory computer-readable medium, which are executed by a processor to implement the above-described method.
[0100] Aspects of the present invention are described herein with reference to flowchart and / or block diagrams of methods, apparatus, devices, and computer program products implemented by the present invention. It will be understood that each box in the flowchart and / or block diagrams, and combinations of boxes in the flowchart and / or block diagrams, may be implemented by computer-readable program instructions.
[0101] These computer-readable program instructions may be provided to a processing unit of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus to generate a machine that, when executed by the processing unit of the computer or other programmable data processing apparatus, generates an apparatus for implementing the functions / acts specified in one or more boxes in the flowcharts and / or block diagrams. These computer-readable program instructions may be stored on a computer-readable storage medium such that the instructions cause the computer, programmable data processing apparatus, and / or other device to operate in a particular manner, such that the computer-readable medium on which the instructions are stored constitutes an article of manufacture containing instructions that implement each aspect of the functions / acts specified in one or more boxes in the flowcharts and / or block diagrams.
[0102] The computer-readable program instructions, when loaded into a computer, other programmable data processing apparatus, or other device, cause the computer, other programmable data processing apparatus, or other device to perform a series of operational steps to produce a computer-implemented process, such that the instructions executing on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in one or more boxes in the flowcharts and / or block diagrams.
[0103] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to the present invention. In this regard, each box in a flowchart or block diagram may represent a module, program segment, or portion of instructions, which includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions depicted in the boxes may occur in a different order than depicted in the figures. For example, two consecutive boxes may actually be executed substantially in parallel, or may be executed in the reverse order, depending on the functionality involved. It should also be noted that each box in the block diagrams and / or flowcharts, and combinations of boxes in the block diagrams and / or flowcharts, may be implemented by a special-purpose hardware-based system that performs the specified functions or operations, or by a combination of special-purpose hardware and computer instructions.
[0104] Although various implementations of the present invention have been described above, the above descriptions are illustrative and not exhaustive, and are not limited to the various implementations disclosed. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the various implementations described. The terminology used herein is intended to best interpret the principles, practical applications, or improvements to commercially available technologies of the various implementations, or to enable those skilled in the art to understand the various implementations disclosed herein.
Claims
1. determining whether a search box may be presented on the page; presenting the search box on the page if it is determined that the search box may be presented; determining search recommendation terms based on multimedia content presented on the page; presenting at least a portion of the search recommendation words in the search box; Determining whether the search box can be presented includes: determining a first length of one or more navigation tabs presented on the page in a predetermined direction, the one or more navigation tabs and the search box being arranged side by side in the predetermined direction; determining a second length of the search box in the predetermined direction; determining that the search box may be presented on the page if it is determined that the sum of the first length and the second length does not exceed the overall length of the page in the predetermined direction. Methods for search recommendations.
2. Determining the first length comprises: a display mode associated with displaying the one or more navigation tabs; the number of said one or more navigation tabs; determining the first length based on at least one parameter of: a dissimilar navigation tab presented on the page other than the one or more navigation tabs, the dissimilar navigation tab having a different appearance than the one or more navigation tabs; The method of claim 1.
3. determining the total length based on display parameters of a device for displaying the page; The method of claim 1.
4. Determining the second length comprises: determining the second length based on a threshold number of characters allowed to be submitted to the search box. The method of claim 1.
5. and presenting a search icon on the page when it is determined that the sum of the first length and the second length exceeds a width of the page. The method of claim 1.
6. Presenting at least a portion of the search recommendation words in the search box includes: Determining whether the number of characters included in the recommended search term is smaller than a threshold number; If the number of characters is less than the threshold number, presenting the search suggestion words in the search box. The method of claim 1.
7. If the number of characters is equal to or greater than the threshold number, the search box displays: A part of characters included in the recommended search words; and a symbol for indicating the omitted characters of the other part in the search recommendation words. The method of claim 6.
8. the total length of the part of characters and the symbol corresponds to the length of the threshold number of characters; The method of claim 7.
9. When a switch from another multimedia content to the multimedia content occurs on the page, a process for switching from another search recommendation term related to the other multimedia content to the search recommendation term is presented in the search box. The method of claim 1.
10. Presenting the switching process to the search box includes: When the switching from the other multimedia content to the other multimedia content is associated with the same navigation tab, the switching process from the other search suggested term to the search suggested term is presented in an upward scroll mode or a downward scroll mode.
10. The method of claim 9.
11. Presenting the switching process to the search box includes: presenting the switching process from the other search suggested term to the search suggested term in a fade-in / fade-out mode when the switching from the other multimedia content to the multimedia content is associated with a different navigation tab; 10. The method of claim 9.
12. The suggested search terms correspond to preferred suggested search terms presented on a search page. The method of claim 1.
13. Determining the search recommendation words includes: When content tabs related to the multimedia content presented on the page are obtained, determining the search recommendation words based on the content tabs. The method of claim 1.
14. Determining the search recommendation words includes: determining default characters as the search suggestion terms when a content tab related to the multimedia content presented on the page is not obtained; The method of claim 1.
15. Presenting the at least some of the search recommendation words in the search box includes: presenting the search suggestion words in the center of the search box; The method of claim 1.
16. Presenting the search box on the page includes: presenting the search box at the top of the page. The method of claim 1.
17. a first determination module configured to determine whether a search box may be presented on a page; a first presentation module configured to present the search box on the page upon determining that the search box may be presented; a second determination module configured to determine search recommendation terms based on multimedia content presented on the page; a second presentation module configured to present at least a portion of the search recommendation terms to the search box; The first determination module further comprises: determining a first length of one or more navigation tabs presented on the page in a predetermined direction, the one or more navigation tabs and the search box being arranged side by side in the predetermined direction; determining a second length of the search box in the given direction; determining that the search box may be presented on the page if it is determined that the sum of the first length and the second length does not exceed the overall length of the page in the predetermined direction; It is configured as follows: A device for search recommendations.
18. 1. An electronic device comprising: at least one processing unit; and at least one memory coupled to said at least one processing unit and storing instructions for execution by said at least one processing unit, said instructions, when executed by said at least one processing unit, causing said electronic device to perform the method of any one of claims 1 to 16. Electronic devices.
19. A computer program is stored, and when the computer program is executed by a processor, the method according to any one of claims 1 to 16 is realized. A computer-readable storage medium.
Citation Information
Patent Citations
Search component display method and device
CN108509133A
Taskbar searching method and device
CN111368222A
Recommendation word display method and terminal equipment
CN112241491A
Candidate item presentation method and terminal device
JP2019532376A
Display apparatus and control method thereof
US20170017304A1