The present disclosure relates to the technical field of computer technology, and in particular to a video search method and apparatus, a device and a program product.
When users watch videos using a terminal device, generally, a keyword is entered in a search area, and then the terminal device displays search results below the search area for the users to select. The users need to select the video to be watched from the search results, in order to enter the playing page of the selected video to watch, and at this time, no other search results can be displayed on the playing page. In addition, when the users want to watch another video in the search result, they need to return to the search result page to make a new selection, so if the users want to watch a plurality of videos in the search result, they need to continuously repeat multiple times the process of returning to the search result from the playing page and then making a selection.
In a first aspect of the present disclosure, a video search method is provided, comprising:
In a second aspect of the present disclosure, a video search apparatus is provided, comprising:
In a third aspect of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor, when executing the computer program, implements the method as described in the first aspect.
In a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided that stores computer instructions for causing a computer to perform the method as described in the first aspect.
In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer program instructions which, when executed on a computer, cause the computer to perform the method as described in the first aspect.
In order to more clearly illustrate the technical solutions in the present disclosure or related art, the drawings required for use in the description of embodiments or related art will be briefly introduced below. Obviously, the drawings in the following description are only embodiments of the present disclosure. Based on these drawings, other drawings can be obtained by those skilled in the art without creative efforts.
In order to make the objectives, technical solutions and advantages of the present disclosure more apparent, the present disclosure is further described in detail below in connection with specific embodiments and with reference to the accompanying drawings.
It should be noted that, unless otherwise defined, technical or scientific terms used in the embodiments of the present disclosure should have the general meaning understood by persons of ordinary skills in the field to which the present disclosure belongs. The terms “first”, “second”, and the like as used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. The words “including” or “comprising” and the like are intended to mean that the element or article preceding the word encompasses the elements or articles listed after the word and their equivalents, but do not exclude other elements or articles. Words such as “connected” or “coupled” are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Up”, “down”, “left”, “right”, etc. are only used to indicate relative positional relationships. When the absolute position of the object being described is changed, the relative position relationship may also be changed accordingly.
In the related art, operations are frequently repeated, so that on one hand, the efficiency of watching search results by a user is reduced; on the other hand, the user cannot watch video search results continuously, resulting in poor continuity of video consumption and reduced user experience. In view of this, the present disclosure proposes a video search method and apparatus, a device and a program product to enable the user to watch the video search results continuously and smoothly.
In related video search solutions, search results are generally displayed on a display interface based on search information entered by a user. As shown in
It should be understood that the videos 103a, 103b, . . . 103n may represent all the search results or part of the search results. When the videos 103a, 103b, . . . 103n represent part of the search results, the display of other search results can be controlled by a preset user operation. The display of the search results in the result area 103 is controlled, for example, with a slider 104 or by directly sliding on the result area 103. The user may select a video in the search results. For example, the user clicks on the video 103a in the result area 103, and then enters the playing page of the video 103a.
As shown in
The same problem occurs when the terminal device 100 performs landscape display, as shown in
Based on the above considerations, according to embodiments of the present disclosure, there provided a video search method and apparatus, a device, a storage medium and a program product, which, by performing operation for a first area that displays a first video in the search results to switch to a second video in the search results to play in the first area, achieves the effect that other search results can be watched without the need for exiting the current playing interface, thereby improving the continuity and efficiency of watching videos by the user, and enhancing the user's video consumption experience.
The client 320 may be implemented in hardware or software. For example, when implemented in hardware, the client 320 may be a variety of electronic devices having a display screen and supporting page display, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When implemented in software, the client 320 device may be installed in the electronic devices listed above; it may be implemented as a plurality of software or software modules (e.g., software or software modules for providing distributed services), or may be implemented as a single software or software module, which is not specifically limited herein.
It should be noted that the video search method provided in the embodiment of the present application may be performed by the client 320, the client 320 may send a video search request to the server 310 and acquire video search results and corresponding video data to be locally played at the client 320. It should be understood that the number of clients, networks, and servers in
The processor 402 may be a Central Processing Unit (CPU), an image processor, a Neural Network Processor (NPU), a microcontroller (MCU), a programmable logic device, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits. The processor 402 may be used to perform functions related to the techniques described in the present disclosure. In some embodiments, the processor 402 may also include a plurality of processors integrated into a single logical component. For example, as shown in
The storage 404 may be configured to store data (e.g., instructions, computer code, etc.). As shown in
The network module 406 may be configured to provide the electronic device 400 with communication with other external devices via a network. The network may be any wired or wireless network capable of transmitting and receiving data. For example, the network may be a wired network, a local wireless network (e.g., Bluetooth, WiFi, Near Field Communication (NFC), etc.), a cellular network, the Internet, or a combination thereof. It is to be understood that the type of the network is not limited to the above specific examples. In some embodiments, the network module 106 may include any combinations of any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, etc.
The peripheral interface 408 may be configured to connect the electronic device 400 to one or more peripheral devices to enable input and output of information. For example, the peripheral devices may include input devices such as a keyboard, a mouse, a touch pad, a touch screen, a microphone, and various sensors, and output devices such as a display, a speaker, a vibrator, and an indicator light.
The bus 410 may be configured to transmit information between various components of the electronic device 400 (e.g., the processor 402, the storage 404, the network module 406, and the peripheral interface 408), such as an internal bus (e.g., a processor-memory bus), and an external bus (a USB port, a PCI-E bus), etc.
It should be noted that although the architecture of the electronic device 400 described above only shows the processor 402, the storage 404, the network module 406, the peripheral interface 408 and the bus 410, in the specific implementation process, the architecture of the electronic device 400 may also comprise other components necessary for normal operation. In addition, those skilled in the art may understand that the architecture of the electronic device 400 may only include components necessary to implement the embodiments of the present disclosure, and does not necessarily include all the components shown in the figure.
The video search method provided in the embodiment of the present disclosure can be applied to either a portrait display scenario or a landscape display scenario, and landscape display is more in line with the user's habit of use. The landscape display may refer to taking a screen of a terminal as a reference plane, in which a horizontal length of the display interface is greater than a vertical length thereof. Therefore, in the landscape display, the video being played and the search results can be displayed side by side on the screen to ensure that the video playing area will not be compressed while displaying the search results, and it is more convenient for the user to operate the playing area and the search result area separately. Below, the video search method of the embodiment of the present disclosure will be specifically described with reference to the landscape display scenario.
When searching for videos, the user may enter video search information in an initial search interface shown in
The user may enter in the search area 502 video search information he or she wants to search for, which may be, for example, a character in the video, a song, and other information related to the video. The user may operate a search control 505, such as clicking the search control 505, to search for related videos. The user may also operate an exit control 506, such as clicking the exit control 506, to exit the search or remove the video search information entered in the search area 502.
In the historical search area 503, historical video search information 503a, 503b, . . . 503n that the user previously searched may be displayed. The user may directly operate the historical video search information 503a, 503b, . . . 503n and make a further search, so that the user can quickly search the searched information.
In the guess search area 504, one tag or a plurality of tags 504a, 504b, 504c, and 504d may be displayed. Each tag may correspond to a plurality of pieces of recommended search information, for example, tags 504a, 504b, 504c, and 504d may correspond to “Guess what you want to search for”, “TV series”, “Movies”, and “Popular authors”, respectively. The tag 504a may correspond to a plurality of pieces of recommended search information 504a-1, 504a-2, . . . 504a-n, which may be the search information with the currently highest popularity (or the highest search rate), or may be the search information recommended based on the user's historical search data. Similarly, tags 504b, 504c, and 504d may also correspond to a plurality of pieces of search information for the user to perform a quick search.
The present disclosure enhances the landscape interaction experience, makes it convenient for the user to efficiently switch between videos according to search results when watching the videos in a landscape mode, and causes the user to have an anticipation of the corresponding video after switching, thereby improving user experience.
When the user enters video search information in the search area 502, search information including the text currently entered by the user may be displayed below the search area 502, as shown in
In
In some embodiments, an exit control 706 is also displayed on the first display interface 701. The user may perform operation O1 for the exit control 706 to exit the video search, returning to the initial search interface 501 shown in
In some embodiments, a first area 703 is provided on the left side of the first display interface 701. In some embodiments, a second area 705 is provided on the right side of the first display interface 701.
In some embodiments, the terminal device acquires the first search result 704 about the video search information 702a, and may automatically play the video 704a ranked first in the first search result in the first area 703. Further, in some embodiments, the videos 704a, 704b, 704c, . . . may be played in the first area 703 in the first order. In this way, after the user performs a search, the results, search while being are displayed, automatically played in the ranking order of the search results without user operation, so that the user feels it convenient to watch the video results quickly and has an anticipation of the next video to be played, thereby improving the user experience.
In some embodiments, the terminal device may display the first search result 704 in the second area 705. Further, in some embodiments, when displaying the plurality of videos 704a, 704b, 704c, . . . in the first search result 704, video information 704a-1, 704b-1, 704c-1, . . . of the respective videos may also be displayed correspondingly, such as the title, description, tags (e.g., system recommended tags or custom tags) of the videos, etc., Furthermore, in some embodiments, the video search information 702a may be highlighted in the video information 704a-1, 704b-1, 704c-1, . . . as well.
In some embodiments, the second area 705 further includes a plurality of attribute tags 707a, 707b, and 707c, each of which may indicate a different attribute, such as a “general” tag, a “movie & TV” tag, and a “user” tag. Based on the plurality of tags, search results about video search information may be sorted or filtered according to different attributes, and presented in different orders (for example, they may be arranged according to the attributes or a degree of relevance to the video search information). In some embodiments, the tag 707a may be set as a default tag, that is, the search results about the video search information are arranged in a first order based on the attribute indicated by the tag 707a by default, to form the first search result 704. In some embodiments, the search results may be determined to be arranged in the first order based on the tag 707a. In some embodiments, the search results may be determined to be arranged in a second order based on the tag 707b. In some embodiments, the search results may be determined to be arranged in a third order based on the tag 707c.
In some embodiments, the tag 707a may be a “general” tag, which indicates that when the tag 707a is selected, search results about video search information are arranged according to general ranking. In some embodiments, the tag 707b may be a “movie & TV” tag, which indicates that when the tag 707b is selected, videos of the movie & TV type in the search results about the video search information are arranged in the second order. In some embodiments, the tag 707c may be a “user” tag, which indicates that when the tag 707c is selected, the search results about the video search information are sorted by user and arranged in the third order. It should be understood that the video search method in the embodiment of the present disclosure is not limited by how the search results are arranged based on different tags. The specific implementation algorithm for arranging the search results based on different tags is not limited here.
In some embodiments, corresponding to the video 704a being played in the first area 703, a display status tag 708 may be displayed in an icon of the displayed video 704a in the second area 705, to indicate that the video 704a is in a playing state, that is, the video 704a is being played in the first area 703. It should be understood that the display status tag 708 may also be set at any position in the second area 705, which is not limited here.
According to an embodiment of the present disclosure, the user may directly operate the first area 703 to switch between videos in the first search result to play, without exiting the current display interface and returning to the search result page shown in
In
In
Similarly, the user may perform operation O5 for the first area 703 in
The video switching shown in
It can be seen that according to an embodiment of the present disclosure, the videos in the search results are played while the search results are displayed on the same display interface, and by sliding up and down the video being played, the videos in the search results are switched to play. The present disclosure improves the continuity and efficiency of watching videos by the user and allows the user to anticipate the video that is about to be played; at the same time, it reduces the user's repeated operations and enhances the user's video consumption experience.
In some embodiments, a publisher tag 709 may also be displayed on the first display interface 701 in
In some embodiments, a follow control 710 may also be displayed on the first display interface 701. Further, in some embodiments, the user may follow a publisher based on operation O6 for the follow control 710, such as clicking the follow control 710.
In some embodiments, a like control 711 may also be displayed on the first display interface 701. Further, in some embodiments, the user may like the video 704a being played in the first area 703 based on operation O7 for the like control 711, such as clicking the like control 711.
In some embodiments, a comment control 712 may also be displayed on the first display interface 701. Further, in some embodiments, the user may comment on the video 704a being played in the first area 703 or view other users' comments on the video 704a based on operation O8 for the comment control 712, such as clicking the comment control 712. As shown in
In
In some embodiments, a return control 813 may also be displayed in the second area 705, and the user may perform operation O9 for the return control 812, such as clicking the return control 813, to return to the first display interface 701 shown in
In some embodiments, the user may perform operation O10 for the second area 705, such as sliding from left to right, to switch the comment information 810 in the second area 705 to the first search result 704, i.e., to display the first display interface 701 as shown in
In some embodiments, the comment information 810 displayed in the second area 705 corresponds to the video displayed in the first area 703. For example, the user may perform operation O11 for the first area 703 in
It can be seen that when the video played in the first area 703 changes, the corresponding comments displayed in the second area 705 also change accordingly. Therefore, when the video played in the first area 703 is automatically switched or switched by the user to the previous video or the next video, the comments displayed in the second area 705 are changed accordingly. In this way, the consistency and continuity of the videos watched by the user and their related information can be guaranteed without the need for the user to perform more operations, further improving the user's watching efficiency and video consumption experience.
In some embodiments, a share control 713 may also be displayed on the first display interface 701. Further, in some embodiments, the user may share the video being played in the first area 703 based on operation O12 for the share control 713, such as clicking the share control 713.
According to an embodiment of the present disclosure, the user may also perform operation O13 for the first area 703 to achieve full-screen display of the video being played. In some embodiments, the user may perform a preset operation O13 for the first area, such as single-click, double-click, and long press, to perform full-screen display of the video being displayed in the first area 703 on the second display interface 901 as shown in
In some embodiments, a search control 902 and a return control 903 may also be displayed on the second display interface 901. Further, the user may perform operation O14 for the search control 902 or the return control 903, such as clicking the search control 902 or the return control 903, to return to the first display interface 701 as shown in
In some embodiments, a video identifier 904 may also be displayed on the second display interface 901 to display video information of the video being currently played (e.g., 704a-1 in
According to an embodiment of the present disclosure, the user may also perform operation O15 for the first area 703 to display a play control. As shown in
Further, in some embodiments, an operation O16 may also be performed for a non-control area of the first area 703 to achieve full-screen play of the video in the first area 703. The operation O16 may include clicking a non-control area 1010. After the user clicks on the non-control area 1010 in
In some embodiments, the user may also perform operation O17 for the publisher's identification 709 to display the videos posted by the publisher. The operation O17 may include clicking the publisher's identification 709. For example, the user performs the operation O17 for the publisher's identification 709 shown in
In some embodiments, when displaying videos posted by a publisher, a return control 1103 may also be displayed in the second area 705, and the user may perform operation O18 for the return control 1103, such as clicking the return control 1103, so that the videos posted by the publisher are switched to the first search result 704, returning to the first display interface 701 shown in
In some embodiments, the user may perform operation O19 for the second area 705, such as sliding from left to right, to switch the videos posted by the publisher to the first search result 704, i.e., to display the first display interface 701 as shown in
It can be seen that the user can also quickly track relevant information of the video being currently played on the current display interface, providing the user with more interaction content, and without the need for exiting the current display interface and searching for relevant information, that is, the user can quickly obtain the content of the relevant information, thereby further ensuring the continuity of the user's video consumption, and meanwhile, the user is provided with more video related information, thereby further improving the user experience.
In some embodiments, the user may perform operation O20 for the attribute tag 707b, such as clicking the attribute tag 707b, and the video 704b and its video information 704b-1, the video 704e and its video information 704e-1, the video 704f and its video information 704f-1, . . . in the second area 705 are arranged in a second order to form a second search result, as shown in
It can be seen that, with the video search method according to an embodiment of the present disclosure, the user can smoothly switch between videos, view/post comments, consume the publishers' videos and other relevant information, sort search results according to different attribute tags, etc. in a plurality of interaction ways, based on the advantage of landscape display on the current display page, without affecting the continuity of video watching; without exiting the current display interface, the continuity of video consumption is ensured, and the user is provided with rich video content, improving the continuity and efficiency of watching videos by the user, and letting the user have an anticipation of the video to be played; meanwhile, the user's repeated operations are reduced and the user's video consumption experience is enhanced.
Referring to
Step S1310, acquiring a first search result (e.g., the first search result 704 in
Step S1320, playing a first video (e.g., the video 704a in
Step S1330, in response to a first trigger operation for the first area (e.g., operations O2-O5 in
In some embodiments, the second video is located at a ranked position adjacent to the first video.
In some embodiments, the first display interface is a landscape display interface (e.g., the first display interface 701 in
In some embodiments, the first trigger operation includes a slide-up operation (e.g., the operation O2 in
In some embodiments, the first trigger operation includes a slide-down operation (e.g., the operation O5 in
In some embodiments, the method 1300 further comprises: indicating in the second area that the second video is in a playing state (e.g., the display status tag 708 in
In some embodiments, playing a first video in the first search result in the first area of the first display interface comprises: automatically playing the video ranked first in the first search result (e.g., the video 704a in
In some embodiments, the method 1300 further comprises: in response to a second trigger operation for the first area, full-screen playing the first video on a second display interface (e.g., the second display interface 901 in
In some embodiments, the method 1300 further comprises:
In some embodiments, the method 1300 further comprises:
In some embodiments, the method 1300 further comprises: in response to the first trigger operation, switching the first comment information displayed in the second area (e.g., the comments 810a, 810b, 810c in
In some embodiments, the method 1300 further comprises:
In some embodiments, the method 1300 further comprises:
The embodiment of the method 1300 of the above embodiment may have the beneficial effects of the corresponding embodiment of the aforementioned video search method, which will not be described in detail here.
It is to be noted that the method of the embodiment of the present disclosure may be executed by a single device, such as a computer or a server. The method of this embodiment may also be applied in a distributed scenario and completed by a plurality of devices in cooperation with each other. In the case of such a distributed scenario, one of the plurality of devices may execute only one or more steps in the method of the embodiment of the present disclosure, and the plurality of devices may interact with each other to complete the method.
It is to be noted that some embodiments of the present disclosure are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that in the above-described embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying drawings do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In certain implementations, multitasking and parallel processing are also possible or may be advantageous.
Based on the same inventive concept, corresponding to the method of any of the embodiments described above, the present disclosure further provides a video search apparatus.
Referring to
The acquisition module 1401 is configured to acquire a first search result about video search information, wherein the first search result comprises a plurality of videos.
The display module 1402 is configured to play a first video in the first search result in a first area of a first display interface, and to display the first search result in a second area displayed on the first interface; and to play a second video in the first area in response to a first trigger operation for the first area.
For the convenience of description, the above apparatus is described as being divided into various modules by functions, which are described separately. Of course, when implementing the present disclosure, the functions of respective modules may be implemented in the same one or more pieces of software and/or hardware.
The apparatus of the above embodiment is configured to implement the corresponding video search method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present disclosure further provides a non-transitory computer-readable storage medium, which stores computer instructions for causing the computer to execute the video search method described in any of the above embodiments.
The computer readable medium of this embodiment includes both permanent and non-permanent, removable and non-removable media. The storage medium may implement information storage by any method or technology, and the information may be computer readable instructions, data structures, program modules or other data. Examples of the computer storage medium include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disk (DVD) or other optical storage, magnetic cassettes, magnetic tape or disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The computer instructions stored on the storage medium of the above embodiment are used to cause the computer to execute the video search method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
Based on the same inventive concept, corresponding to the video search method of any of the above embodiments, the present disclosure further provides a computer program product, which comprises a computer program. In some embodiments, the computer program is executable by one or more processors to cause the processor(s) to perform the video search method. Corresponding to the execution entity that corresponds to each step of the video search method in the embodiments of the present disclosure, the processor that executes the corresponding step may belong to the corresponding execution entity.
The computer program product of the above embodiment is configured to cause the processor(s) to perform the video search method described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
From the above, it can be seen that the video search method and apparatus, device, storage medium, and program product provided by the present disclosure, by performing operation for the first area in which the first video in the search results is displayed and switching to the second video in the search results to play in the first area, achieves the effect that other search results can be viewed without exiting the current play interface, thereby improving the continuity and efficiency of watching videos by the user, and enhancing the user's video consumption experience.
Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.
In addition, well-known power/ground connections to integrated circuit (IC) chips and other components may or may not be shown within the provided figures, to simplify illustration and discussion, and so as not to obscure the disclosed embodiments. Further, the devices may be shown in the form of block diagrams in order to avoid obscuring the embodiments of the present disclosure, and this also takes into account the fact that details regarding the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure are to be implemented (i.e., these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it will be apparent to one skilled in the art that the embodiments of the present disclosure may be implemented without, or with variations of, these specific details. Accordingly, the description is to be regarded as illustrative rather than restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures, such as dynamic RAM (DRAM), may use the discussed embodiments.
The embodiments of the present disclosure are intended to embrace all such alternatives, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the protection scope of the present disclosure.
| Number | Date | Country | Kind |
|---|---|---|---|
| 202210043475.3 | Jan 2022 | CN | national |
This application is a continuation application of International Application No. PCT/CN2023/070902, as filed on Jan. 6, 2023, which is based on and claims the benefit of the Chinese Patent Application No. 202210043475.3, filed on Jan. 14, 2022, entitled “VIDEO SEARCH METHOD AND APPARATUS, DEVICE, STORAGE MEDIUM AND PROGRAM PRODUCT”, the disclosure of each of these applications is incorporated by reference herein in its entirety.
| Number | Date | Country | |
|---|---|---|---|
| Parent | PCT/CN2023/070902 | Jan 2023 | WO |
| Child | 18773464 | US |