WO2023169361A1 - Information recommendation method and apparatus and electronic device - Google Patents

Information recommendation method and apparatus and electronic device Download PDF

Info

Publication number
WO2023169361A1
WO2023169361A1 PCT/CN2023/079846 CN2023079846W WO2023169361A1 WO 2023169361 A1 WO2023169361 A1 WO 2023169361A1 CN 2023079846 W CN2023079846 W CN 2023079846W WO 2023169361 A1 WO2023169361 A1 WO 2023169361A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
display
input
image frame
target video
Prior art date
Application number
PCT/CN2023/079846
Other languages
French (fr)
Chinese (zh)
Inventor
杨迁
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023169361A1 publication Critical patent/WO2023169361A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440236Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440245Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program

Definitions

  • This application belongs to the field of communications, and specifically relates to an information recommendation method, device and electronic equipment.
  • the content of video creation is getting richer and richer, and users can obtain information through videos. While the user is watching the video, if he encounters some topics of interest (such as clothing appearing in the video, etc.), the user needs to switch to another application and search for information through the other application to get the required information. information and cumbersome operations.
  • topics of interest such as clothing appearing in the video, etc.
  • the purpose of the embodiments of this application is to provide an information recommendation method, device and electronic device that can simplify user operations.
  • embodiments of the present application provide an information recommendation method, which method includes: during the playback process of the target video, obtaining key information based on the target image frame of the target video; and displaying recommended information based on the key information; wherein,
  • the recommended information includes at least one of the following: images, videos, and links;
  • the display method of the recommended information includes at least one of the following: full-screen display; displayed in a first display area, which is part of the playback interface of the target video area.
  • inventions of the present application provide an information recommendation device.
  • the information recommendation device includes: an acquisition module and a display module; the acquisition module is used to, during the playback process of the target video, based on the target image frame of the target video, Obtain key information; the display module is used to display recommended information based on the key information obtained by the acquisition module; wherein the recommended information includes at least one of the following: images, videos, and links; the display method of the recommended information includes at least one of the following: full-screen display ;Display in the first display area, which is the target video Part of the playback interface.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the programs or instructions are processed by the processor.
  • the processor is executed, the steps of the method described in the first aspect are implemented.
  • embodiments of the present application provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the steps of the method described in the first aspect are implemented. .
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first aspect. the method described.
  • embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method as described in the first aspect.
  • the electronic device can obtain key information based on the target image frame of the target video; and display recommended information based on the key information; wherein the recommended information includes at least one of the following: Images, videos, links; the display method of recommended information includes at least one of the following: full-screen display; display in the first display area, which is part of the playback interface of the target video.
  • the embodiment of the present application can obtain key information based on the target image frame of the target video during the playback process of the target video; and display recommended information based on the key information, thus simplifying the steps for users to view information in the video, and While watching the video, the information in the video can also be obtained, which meets the user's need to watch the video and obtain information at the same time. In this way, the user operation is simplified and the flexibility of the electronic device to play the video is improved.
  • Figure 1 is one of the schematic diagrams of an information recommendation method provided by an embodiment of the present application.
  • Figure 2 is an example schematic diagram of an interface of a mobile phone provided by an embodiment of the present application
  • Figure 3 is a second schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • Figure 4 is a third schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • Figure 5 is a fourth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • Figure 6 is a schematic structural diagram of an information recommendation device provided by an embodiment of the present application.
  • Figure 7 is one of the schematic diagrams of the hardware structure of an electronic device provided by an embodiment of the present application.
  • FIG. 8 is a second schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,” “second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • embodiments of the present application provide an information recommendation method.
  • the information recommendation process if the user needs to obtain the information in the currently played video, he or she can use the image frames in the video during the video playback process. Get key information and display recommended information based on the key information.
  • the embodiment of the present application provides an information recommendation method.
  • Figure 1 shows an information recommendation method provided by the embodiment of the present application. Flowchart of the method. As shown in Figure 1, the information recommendation method provided by the embodiment of the present application may include the following steps 201 and 202.
  • Step 201 During the playback process of the target video, obtain key information based on the target image frame of the target video.
  • the user can open the target video in the electronic device, so that the electronic device can display any image frame of the target video (for example, the target image frame) based on the target image frame of the target video, thereby The electronic device can obtain key information of the target image frame.
  • the electronic device can display any image frame of the target video (for example, the target image frame) based on the target image frame of the target video, thereby The electronic device can obtain key information of the target image frame.
  • the electronic device can obtain the image information of the target image frame after acquiring the target image frame of the target video, so that the electronic device can parse the image information of the target image frame based on big data to obtain Get key information.
  • the above key information may include person information, item information, building information, text information, geographical information, etc. in the target image frame; the specific information may be determined according to actual usage requirements. In the embodiment of the present application, This does not impose any restrictions.
  • the above-mentioned character information may include appearance information (such as the character's appearance, etc.), characteristic information (such as the character's skin color, height, etc.) and attribute information (such as famous people) in the target image frame.
  • appearance information such as the character's appearance, etc.
  • characteristic information such as the character's skin color, height, etc.
  • attribute information such as famous people
  • the above-mentioned item information may include characteristic information of the item in the target image frame (such as the color, shape and size of the item, etc.) and attribute information (such as the purpose of the item, the material of the item, etc.); the above-mentioned building The information may include characteristic information of the building in the target image frame (such as the height of the building, the color of the building, etc.) and attribute information (such as the area where the building is located, the style of the building, the age of the building, etc.); the above text information may include the target image frame The text, feature information (such as the font type of the text, etc.) and attribute information (such as the source of the poems appearing in the text, etc.); the above geographical information can include the scenery information in the target image frame (such as the scenic spots in the image) name, geographical location, etc.), attribute information (such as the name of the city in the image, city history, etc.).
  • the above key information is text information generated by the electronic device according to the image information of the target image frame and converting the image information of the target image frame.
  • the electronic device can perform image recognition processing on the target image frame based on big data to identify all the information of the image in the target image frame.
  • the electronic device after acquiring the image information of the target image frame, can convert the image information of the target image frame into text information, so that key information can be obtained.
  • the electronic device can convert the image information of the orange-red scarf with trademark A into: A brand, orange, scarf and other text information.
  • the electronic device can convert the image information with the animated character C of Company B into: Company B, animated character C and other text information.
  • the information recommendation method provided by the embodiment of the present application also includes the following step 301.
  • Step 301 When the image content of the first image frame meets the preset condition, the electronic device determines the first image frame as the target image frame.
  • the electronic device can detect the image content of at least one frame in the target video in real time. When the image content of the first image frame meets the preset condition, the electronic device converts the first image frame into Determine the target image frame.
  • the above-mentioned preset conditions may be set by the user, or may be default conditions of the electronic device.
  • the information recommendation method provided by the embodiment of the present application also includes the following steps 501 and Step 502.
  • Step 501 The electronic device receives the user's second input to the second image frame in the target video.
  • the above-mentioned second input may be the user's click input or long press input on the second image frame, etc., to trigger the electronic device to determine the second image frame as the target image frame.
  • Step 502 The electronic device responds to the second input and determines the second image frame as the target image frame.
  • the electronic device after receiving the user's second input to the second image frame, determines the second image frame as the target image frame.
  • the second image frame may be the same as the first image frame, or the second image frame may be different from the first image frame.
  • the electronic device can automatically determine the target image frame, or determine the target image frame based on the user's input of any frame in the target video. In this way, the electronic device can determine the target image frame in a more flexible manner.
  • Step 202 The electronic device displays recommended information based on the key information.
  • the recommended information includes at least one of the following: images, videos, and links.
  • the display method of the recommended information includes at least one of the following: full-screen display; display in a first display area, and the first display area is a partial area of the playback interface of the target video.
  • step 202 can be specifically implemented through the following steps 202a and 202c.
  • Step 202a The electronic device converts the key information into text information, and displays the text information in a preset display mode.
  • the electronic device when the electronic device plays the target video, the electronic device can detect the image content of at least one frame of the target video in real time, and the electronic device determines at least one image frame as the target. After the image frame, the user can be prompted for information search or matching in a preset display form in the target video.
  • the above-mentioned preset display format may be in the form of a pop-up window (for example, in the form of a bubble pop-up window).
  • the mobile phone displays the target image frame of the target video in the screen display area 10, and detects the image content in the target image frame in real time, and then can detect the target image frame in the target image frame.
  • a bubble pop-up window 11 is displayed in the upper right corner, and "Search?" is displayed in the bubble pop-up window 11, so that the user can click and input on the bubble pop-up window 11 to trigger the mobile phone to process the information in the target frame image. search.
  • Step 202b The electronic device receives the user's first input of text information.
  • the user can make a first input to the text information to trigger the electronic device to display recommended information.
  • the above-mentioned first input may be the user's click input or long press input of text information, so as to trigger the electronic device to display recommended information according to the user's first input of text information.
  • Step 202c The electronic device displays recommended information in response to the first input.
  • the electronic device after generating the recommendation information, can insert the recommendation information into any position in the target video (such as the target position), so that the electronic device can stop playing and cancel the display of the target video, so that the electronic device can stop playing the target video from the target video.
  • the second video starts playing at the position.
  • the above-mentioned target position may be the position of the starting video frame image of the target video, the position of any intermediate video frame image (for example, the position of the next frame image of the target image frame), and the position of the target video frame.
  • the specific position of the ending video frame image can be determined according to the implementation situation, and is not subject to any limitations in the embodiments of this application.
  • the electronic device may use the recommendation information as the fifth frame of the first video after playing the fifth video frame image of the target video.
  • Six video frame images are displayed, and after the recommendation information is played, continue to play the original sixth video frame image of the target video as the seventh video frame image of the target video, and so on, until all the original videos of the target video are played.
  • the frame images are played, it can be understood that if the target video is a video with ten frames of images, after the electronic device inserts the recommendation information into the target position in the target video, the target video will be a video with eleven frames of images.
  • the electronic device can display the recommended information in the form of a full screen, or the electronic device can display the recommended information in the form of a split screen or a pop-up window.
  • the specific information can be determined according to the actual usage. The implementation of this application There are no restrictions on this.
  • the recommended information may be a picture; or the recommended information may be a video including one frame of image or multiple frames of images; or the recommended information may be an animated picture; the specifics may be determined according to the implementation situation It is determined that the embodiments of this application do not impose any limitations here.
  • the mobile phone after the mobile phone generates the recommendation information, it can pause the playback and cancel the display of the target video, and display the recommendation information in full screen form in the screen display area 10.
  • the electronic device can insert the recommendation information into the target video and display the recommendation information in a full-screen form.
  • the electronic device can also fuse the recommendation information with the target image frame of the target video to simultaneously play the target video and the target video. Recommended information, thus, improves the flexibility of electronic devices to play videos.
  • the information recommendation method provided by this embodiment of the present application further includes the following steps 401 and 402.
  • Step 401 The electronic device searches based on the text information and obtains search result information corresponding to the text information.
  • the electronic device after obtaining the text information, can call other applications (such as search engines and other applications) in the electronic device and perform a search based on the text information to obtain search information corresponding to the text information. result.
  • applications such as search engines and other applications
  • the electronic device can call a search engine and search for text information to obtain search result information corresponding to the text information; or, the electronic device can call an application program corresponding to the text information, and Search the text information to obtain search result information corresponding to the text information; the specific information can be determined based on actual use, and the embodiments of the present application do not impose any limitations here.
  • Step 402 The electronic device generates recommendation information based on the search result information.
  • the electronic device after obtaining the search result information corresponding to the text information, the electronic device can generate recommendation information corresponding to the search result information based on the search result information.
  • the electronic device can generate recommendation information including the search result information based on the search result information; or the electronic device can generate recommendation information corresponding to the search result information based on the search result information; or, the electronic device can The device can generate recommendation information related to the search result information based on the search result information; the specific information can be determined based on actual use, and the embodiments of the present application do not impose any restrictions here.
  • the electronic device can search to obtain search result information corresponding to the text information based on the text information, and generate recommendation information based on the search result information, so that the electronic device can display the recommended information in the screen display area, so , which improves the flexibility of electronic devices for information recommendation.
  • "displaying recommended information" in the above-mentioned step 202 can be specifically implemented through the following steps 202d to 202f.
  • Step 202d The electronic device displays recommended information, the first control and the second control.
  • the first control may be a video close control.
  • the second control is a time control for displaying recommended information. After the display time specified by the second control ends, the recommended information is closed and the target video continues to be played.
  • the electronic device after generating the recommendation information, can fuse the recommendation information with the target image frame to generate a fused target image frame.
  • the fused target image frame includes the target image frame of the target video and the recommendation information, so that the electronic device can simultaneously play the target video and recommendation information from the position of the target image frame.
  • the electronic device can display the recommendation information in the form of a pop-up window in the playback interface of the target video; or the electronic device can display the recommendation information in the form of a floating window in the playback interface of the target video; or , the electronic device can divide the screen display area into two display areas, display the playback interface of the target video in the first display area, and display the recommendation information in the second display area.
  • the electronic device can use the central axis of the screen of the electronic device as a dividing line to divide the screen into two screen areas, each of which displays one area (for example, a first display area and a second display area). display area) to display the corresponding video in the window; alternatively, the electronic device can use the diagonal line of the electronic device screen as a dividing line to divide the screen into two screen areas, and each screen area displays one area respectively (for example, the a display area and second display area) to display the corresponding video in the display area; alternatively, the electronic device can divide the screen into two screen areas with different preset areas, and each screen area displays one area respectively (for example, the first display area and the second display area). second display area) to display the corresponding video in the display area; the details can be determined according to actual usage requirements, and are not limited in the embodiments of this application.
  • the central axis of the screen may be the vertical central axis or the horizontal central axis of the screen.
  • the diagonal line of the above screen can be any diagonal line of the screen.
  • the mobile phone can divide the screen display area 10 into two display areas, display the playback interface of the target video in the first display area 12, and display recommendation information in the second display area 13 .
  • Step 202e The electronic device receives the user's third input to the first control.
  • the user can input the first control to trigger the electronic device to close the recommended information.
  • the third input may be the user's click input or long press input on the first control, etc., to trigger the electronic device to close the recommended information.
  • Step 202f In response to the third input, the electronic device closes the recommended information and continues to play the target video.
  • the electronic device after receiving the user's third input to the first control, the electronic device closes the recommendation information and continues to play the target video.
  • the mobile phone displays the playback interface of the target video in the first display area 12, displays the recommended information in the second display area 13, and displays "Jump” in the display interface of the recommended information.
  • "Skip" control 15 and "Countdown 20s” control 16 so that the user can click the "Skip" control 15 to make the mobile phone stop displaying recommended information and start playing the target video.
  • the electronic device can receive the user's input of recommendation information while displaying the target video, so that the electronic device can choose to turn off the recommendation information. This improves the flexibility of the electronic device in playing the second video.
  • the information recommendation method provided by the embodiment of the present application further includes the following steps 601 and 602.
  • Step 601 The electronic device receives the user's fourth input of recommended information.
  • the user can perform a fourth input on the recommended information to trigger the electronic device to update the display parameters of the recommended information.
  • Step 602 The electronic device responds to the fourth input and updates the display parameters of the recommended information.
  • the display parameters include at least one of the following: display position and display area size.
  • the user can input the recommended information to trigger the electronic device to update the display position or display area size of the recommended information.
  • the information recommendation method provided by the embodiment of the present application further includes the following steps 701 and 702, or includes the following steps 703 and 704.
  • Step 701 When the display mode of the recommended information is full-screen display, the electronic device receives the fifth input of the recommended information from the user.
  • the fifth input is the user's input to update the display mode of the recommended information to be displayed in the first display area.
  • Step 702 The electronic device responds to the fifth input and continues to play the target video.
  • Step 703 When the display mode of the recommended information is to be displayed in the first display area, the electronic device receives the user's sixth input of the recommended information.
  • the above-mentioned sixth input is the user's input to update the display mode of the recommended information to full-screen display.
  • Step 704 The electronic device responds to the sixth input and pauses playing the target video.
  • the electronic device may pause the playback of the target video.
  • the embodiment of the present application provides an information recommendation method.
  • the electronic device can obtain key information based on the target image frame of the target video; and display the recommended information based on the key information;
  • the recommended information includes at least one of the following: images, videos, and links;
  • the display method of the recommended information includes at least one of the following: full-screen display; displayed in a first display area, which is the playback interface of the target video In some areas, compared with traditional technology, if the user encounters some interesting information while watching a video, he or she needs to pause the currently playing video, switch to another application, and then use the other application to Only by performing information search can the required information be obtained.
  • the embodiment of the present application can obtain key information based on the target image frame of the target video during the playback process of the target video; and display recommended information based on the key information. Therefore, it simplifies The user needs to view the steps of the information in the video, and can also obtain the information in the video while watching the video, which satisfies the user's need to watch the video and obtain information at the same time. In this way, it not only simplifies the user operation, but also improves the electronic quality. Flexibility for video playback on sub-devices.
  • the execution subject may be an information recommendation device.
  • an information recommendation device performing an information recommendation method is used as an example to illustrate the information recommendation device provided by the embodiment of the present application.
  • Figure 6 shows a possible structural schematic diagram of the information recommendation device involved in the embodiment of the present application.
  • the information recommendation device 70 may include: an acquisition module 71 and a display module 72 .
  • the acquisition module 71 is used to acquire key information based on the target image frame of the target video during the playback process of the target video.
  • the display module 72 is used to display recommended information based on the key information obtained by the acquisition module 71 .
  • the recommended information includes at least one of the following: images, videos, and links.
  • the display method of the recommended information includes at least one of the following: full-screen display; display in the first display area, and the first display area is a partial area of the playback interface of the target video.
  • the above-mentioned information recommendation device 70 further includes: a determination module.
  • the determination module is configured to determine the first image frame as the target image frame when the image content of the first image frame meets the preset condition before the acquisition module 71 acquires the key information based on the target image frame of the target video.
  • the display module 72 is specifically configured to convert key information into text information and display the text information in a preset display mode; receive the user's first input of text information; in response to the first input, Display recommended information.
  • the above-mentioned information recommendation device 70 further includes: a processing module.
  • the processing module is configured to perform a search based on the text information before the display module 72 displays the recommended information to obtain search result information corresponding to the text information; and generate recommendation information based on the search result information.
  • the above-mentioned information recommendation device 70 further includes: a receiving module and a determining module.
  • the receiving module is configured to receive the user's second input of the second image frame in the target video before the acquisition module 71 obtains the key information based on the first image frame of the first video.
  • the determining module is configured to determine the second image frame as the target image frame in response to the second input received by the receiving module.
  • the display module 72 is specifically configured to display recommended information, a first control and a second control; receive the user's third input to the first control; and in response to the third input, close the recommended information, and continue playing the target video.
  • the second control is a time control for displaying recommended information. After the display time specified by the second control ends, the recommended information is closed and the target video continues to be played.
  • the above-mentioned information recommendation device 70 further includes: a receiving module and an updating module.
  • the receiving module is configured to receive the user's fourth input of the recommended information after the display module 72 displays the recommended information.
  • An update module configured to update the display parameters of the recommended information in response to the fourth input received by the receiving module, where the display parameters include at least one of the following: display position and display area size.
  • the above-mentioned information recommendation device further includes: a receiving module, a playing module and a pausing module.
  • a receiving module configured to receive a fifth input from the user to the recommended information when the display mode of the recommended information is full-screen display. The fifth input is the user's input to update the display mode of the recommended information to be displayed in the first display area. .
  • the playing module is configured to continue playing the target video in response to the fifth input received by the receiving module.
  • the receiving module is also configured to receive a sixth input from the user to the recommended information when the display mode of the recommended information is to be displayed in the first display area, where the sixth input is the user's request to update the display mode of the recommended information to full-screen display. enter.
  • the pause module is configured to pause the playback of the target video in response to the sixth input received by the receiving module.
  • the embodiment of the present application provides an information recommendation device. Since the embodiment of the present application can obtain key information based on the target image frame of the target video during the playback process of the target video, and display the recommended information based on the key information, therefore, it simplifies The user needs to view the steps of the information in the video, and can also obtain the information in the video while watching the video, which meets the user's need to watch the video and obtain information at the same time. In this way, it not only simplifies the user operation, but also improves the electronic equipment. Flexibility in playing videos.
  • the information recommendation device in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR).
  • the information recommendation device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the information recommendation device provided by the embodiments of the present application can implement each process implemented by the method embodiments of Figures 1 to 5. The process achieves the same technical effect. To avoid duplication, it will not be described again here.
  • this embodiment of the present application also provides an electronic device M00, including a processor M01 and a memory M02.
  • the memory M02 stores programs or instructions that can be run on the processor M01.
  • the program or instruction is executed by the processor M01, each step of the above information recommendation method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, etc. part.
  • the electronic device 100 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 110 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the structure of the electronic device shown in Figure 8 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
  • the processor 110 is configured to obtain key information based on the target image frame of the target video during the playback process of the target video.
  • the processor 110 is configured to control the display unit 106 to display recommended information based on the key information.
  • the recommended information includes at least one of the following: images, videos, and links.
  • the display method of the recommended information includes at least one of the following: full-screen display; display in the first display area, and the first display area is a partial area of the playback interface of the target video.
  • the processor 110 is configured to, before acquiring key information based on the target image frame of the target video, when the image content of the first image frame meets the preset condition, convert the first image into The frame is determined as the target image frame.
  • the processor 110 is specifically configured to convert key information into text information, and control the display unit 106 to display the text information in a preset display mode; the user input unit 107 is used to receive the user's input on the text. First input of information; the display unit 106 is configured to display recommended information in response to the first input.
  • the processor 110 is configured to perform recommendation based on the text information before displaying the recommended information. Perform a search to obtain search result information corresponding to the text information; and generate recommendation information based on the search result information.
  • the user input unit 107 is configured to receive a second input from the user to the second image frame in the target video before acquiring key information based on the first image frame of the first video.
  • the processor 110 is configured to determine the second image frame as the target image frame in response to the second input.
  • the display unit 106 is specifically used to display recommended information, the first control and the second control; the user input unit 107 is used to receive the user's third input to the first control; the processor 110 , used to close the recommendation information and continue playing the target video in response to the third input.
  • the second control is a time control for displaying recommended information. After the display time specified by the second control ends, the recommended information is closed and the target video continues to be played.
  • the user input unit 107 is configured to receive the user's fourth input of the recommended information after displaying the recommended information.
  • the processor 110 is also configured to update display parameters of the recommended information in response to the fourth input, where the display parameters include at least one of the following: display position and display area size.
  • the user input unit 107 is configured to receive the user's fifth input of the recommended information when the display mode of the recommended information is full-screen display, and the fifth input is the user's display of the recommended information.
  • the mode is updated to display the input in the first display area.
  • the processor 110 is configured to control the display unit 106 to continue playing the target video in response to the fifth input.
  • the user input unit 107 is also configured to receive a sixth input from the user to the recommended information when the display mode of the recommended information is to be displayed in the first display area.
  • the sixth input is that the user updates the display mode of the recommended information to full screen. Displayed input.
  • the processor 110 is configured to pause playing the target video in response to the sixth input.
  • Embodiments of the present application provide an electronic device. Since the embodiment of the present application can obtain key information based on the target image frame of the target video during the playback process of the target video, and display recommendation information based on the key information, it simplifies the user's It requires the steps to view the information in the video, and while watching the video, you can also obtain the information in the video, which meets the user's need to watch the video and obtain information at the same time. In this way, it not only simplifies the user operation, but also improves the playback of electronic devices. Video flexibility.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042.
  • the graphics processor 1041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072 . touch panel 1071, also known as touch screen.
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 109 may be used to store software programs as well as various data.
  • the memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 109 may include volatile memory or nonvolatile memory, or memory 109 may include both volatile and nonvolatile memory.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory
  • the processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 110 .
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above information recommendation method embodiment is implemented, and the same can be achieved. The technical effects will not be repeated here to avoid repetition.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above information recommendation method embodiment. Each process can achieve the same technical effect. To avoid duplication, it will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • Embodiments of the present application provide a computer program product.
  • the program product is stored in a storage medium.
  • the program product is executed by at least one processor to implement each process of the above information recommendation method embodiment, and can achieve the same technical effect. , to avoid repetition, we will not go into details here.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to the field of communications, and discloses an information recommendation method and apparatus and an electronic device. The information recommendation method comprises: in the playback process of a target video, obtaining key information on the basis of a target image frame of the target video; and displaying recommendation information on the basis of the key information, wherein the recommendation information comprises at least one of the following: an image, a video, and a link, and the display mode of the recommendation information comprises at least one of the following: full-screen display, and displaying in a first display region, the first display region being a partial region of a playback interface of the target video.

Description

信息推荐方法、装置和电子设备Information recommendation method, device and electronic device
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年3月7日在中国提交的中国专利申请号202210217364.X的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202210217364.X filed in China on March 7, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于通信领域,具体涉及一种信息推荐方法、装置和电子设备。This application belongs to the field of communications, and specifically relates to an information recommendation method, device and electronic equipment.
背景技术Background technique
目前,视频的创作内容越来越丰富,用户可以通过视频获取信息。在用户观看视频的过程中,若遇到一些感兴趣的话题(例如视频中出现的服装等),用户需要切换至另一个应用程序,并通过该另一个应用程序进行信息搜索,以得到需求的信息,操作繁琐。At present, the content of video creation is getting richer and richer, and users can obtain information through videos. While the user is watching the video, if he encounters some topics of interest (such as clothing appearing in the video, etc.), the user needs to switch to another application and search for information through the other application to get the required information. information and cumbersome operations.
发明内容Contents of the invention
本申请实施例的目的是提供一种信息推荐方法、装置和电子设备,能够简化用户操作。The purpose of the embodiments of this application is to provide an information recommendation method, device and electronic device that can simplify user operations.
第一方面,本申请实施例提供了一种信息推荐方法,该方法包括:在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息;基于关键信息,显示推荐信息;其中,推荐信息包括以下至少一项:图像、视频、链接;推荐信息的显示方式包括以下至少一项:全屏显示;在第一显示区域进行显示,第一显示区域为所述目标视频的播放界面的部分区域。In the first aspect, embodiments of the present application provide an information recommendation method, which method includes: during the playback process of the target video, obtaining key information based on the target image frame of the target video; and displaying recommended information based on the key information; wherein, The recommended information includes at least one of the following: images, videos, and links; the display method of the recommended information includes at least one of the following: full-screen display; displayed in a first display area, which is part of the playback interface of the target video area.
第二方面,本申请实施例提供了一种信息推荐的装置,该信息推荐装置包括:获取模块和显示模块;获取模块,用于在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息;显示模块,用于基于获取模块获取的关键信息,显示推荐信息;其中,推荐信息包括以下至少一项:图像、视频、链接;推荐信息的显示方式包括以下至少一项:全屏显示;在第一显示区域进行显示,第一显示区域为目标视频的 播放界面的部分区域。In the second aspect, embodiments of the present application provide an information recommendation device. The information recommendation device includes: an acquisition module and a display module; the acquisition module is used to, during the playback process of the target video, based on the target image frame of the target video, Obtain key information; the display module is used to display recommended information based on the key information obtained by the acquisition module; wherein the recommended information includes at least one of the following: images, videos, and links; the display method of the recommended information includes at least one of the following: full-screen display ;Display in the first display area, which is the target video Part of the playback interface.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. The programs or instructions are processed by the processor. When the processor is executed, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented. .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first aspect. the method described.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method as described in the first aspect.
在本申请实施例中,在目标视频的播放过程中,电子设备可以基于目标视频的目标图像帧,获取关键信息;并基于关键信息,显示推荐信息;其中,该推荐信息包括以下至少一项:图像、视频、链接;推荐信息的显示方式包括以下至少一项:全屏显示;在第一显示区域进行显示,该第一显示区域为目标视频的播放界面的部分区域,相较于传统技术中,用户在观看视频的过程中,若遇到一些感兴趣的信息,需要暂停当前播放的视频,并切换至另一个应用程序,然后通过该另一个应用程序进行信息搜索,才能得到需求的信息的方式,本申请实施例可以在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息;并基于关键信息,显示推荐信息,因此,简化了用户需求查看视频中的信息的步骤,并且在观看视频的同时,还可以获取视频中的信息,满足了用户同时观看视频和获取信息的需求,如此,既简化了用户操作,又提升了电子设备播放视频的灵活性。In the embodiment of the present application, during the playback of the target video, the electronic device can obtain key information based on the target image frame of the target video; and display recommended information based on the key information; wherein the recommended information includes at least one of the following: Images, videos, links; the display method of recommended information includes at least one of the following: full-screen display; display in the first display area, which is part of the playback interface of the target video. Compared with traditional technology, When a user encounters some interesting information while watching a video, he or she needs to pause the currently playing video, switch to another application, and then search for information through the other application to obtain the required information. , the embodiment of the present application can obtain key information based on the target image frame of the target video during the playback process of the target video; and display recommended information based on the key information, thus simplifying the steps for users to view information in the video, and While watching the video, the information in the video can also be obtained, which meets the user's need to watch the video and obtain information at the same time. In this way, the user operation is simplified and the flexibility of the electronic device to play the video is improved.
附图说明Description of the drawings
图1是本申请实施例提供的一种信息推荐方法的示意图之一;Figure 1 is one of the schematic diagrams of an information recommendation method provided by an embodiment of the present application;
图2是本申请实施例提供的一种手机的界面的实例示意图之一;Figure 2 is an example schematic diagram of an interface of a mobile phone provided by an embodiment of the present application;
图3是本申请实施例提供的一种手机的界面的实例示意图之二;Figure 3 is a second schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application;
图4是本申请实施例提供的一种手机的界面的实例示意图之三; Figure 4 is a third schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application;
图5是本申请实施例提供的一种手机的界面的实例示意图之四;Figure 5 is a fourth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application;
图6是本申请实施例提供的一种信息推荐装置的结构示意图;Figure 6 is a schematic structural diagram of an information recommendation device provided by an embodiment of the present application;
图7是本申请实施例提供的一种电子设备的硬件结构示意图之一;Figure 7 is one of the schematic diagrams of the hardware structure of an electronic device provided by an embodiment of the present application;
图8是本申请实施例提供的一种电子设备的硬件结构示意图之二。FIG. 8 is a second schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
目前,用户在观看视频时,若对视频中的一些信息感兴趣,例如对视频中的人物的服装感兴趣,可以暂停播放视频,并对当前视频进行截图,然后退出当前播放视频的应用程序,打开另外一个应用程序,并根据刚才的视频截图对视频截图中的信息进行识别,以获取到用户需求的信息。Currently, when users are watching a video, if they are interested in some information in the video, such as the clothing of the characters in the video, they can pause the video, take a screenshot of the current video, and then exit the application currently playing the video. Open another application and identify the information in the video screenshot based on the video screenshot just now to obtain the information the user needs.
然而,上述方法中,若用户需求获取相关信息,必须先对进行保存,并通过场景或应用程序的切换,以查找到该信息,因此,用户进行场景或应用程序切换的行为不仅会中断当前视频的播放,也容易造成当前播放视频的应用程序用户的流失。为了解决这个难题,本申请实施例提供一种信息推荐方法,在信息推荐的过程中,若用户需求获取当前播放的视频中的信息,可以在视频的播放过程中,基于视频中的图像帧,获取关键信息,并根据关键信息显示推荐信息。However, in the above method, if the user needs to obtain relevant information, he must first save it and find the information by switching scenes or applications. Therefore, the user's behavior of switching scenes or applications will not only interrupt the current video Playback of videos can also easily lead to the loss of users of the application currently playing the video. In order to solve this problem, embodiments of the present application provide an information recommendation method. During the information recommendation process, if the user needs to obtain the information in the currently played video, he or she can use the image frames in the video during the video playback process. Get key information and display recommended information based on the key information.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息推荐方法进行详细地说明。The information recommendation method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
本申请实施例提供一种信息推荐方法,图1示出了本申请实施例提供的一种信息推荐 方法的流程图。如图1所示,本申请实施例提供的信息推荐方法可以包括下述的步骤201和步骤202。The embodiment of the present application provides an information recommendation method. Figure 1 shows an information recommendation method provided by the embodiment of the present application. Flowchart of the method. As shown in Figure 1, the information recommendation method provided by the embodiment of the present application may include the following steps 201 and 202.
步骤201、在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息。Step 201: During the playback process of the target video, obtain key information based on the target image frame of the target video.
本申请实施例中,用户可以在电子设备中打开目标视频,以使得电子设备可以在显示目标视频的任意一帧图像帧(例如目标图像帧)的情况下,基于目标视频的目标图像帧,从而电子设备可以获取目标图像帧的关键信息。In the embodiment of the present application, the user can open the target video in the electronic device, so that the electronic device can display any image frame of the target video (for example, the target image frame) based on the target image frame of the target video, thereby The electronic device can obtain key information of the target image frame.
可选地,本申请实施例中,电子设备可以在获取到目标视频的目标图像帧后,获取目标图像帧的图像信息,从而电子设备可以基于大数据对目标图像帧的图像信息进行解析,以获取关键信息。Optionally, in the embodiment of the present application, the electronic device can obtain the image information of the target image frame after acquiring the target image frame of the target video, so that the electronic device can parse the image information of the target image frame based on big data to obtain Get key information.
可选地,本申请实施例中,上述关键信息可以包括目标图像帧中的人物信息、物品信息、建筑信息、文字信息、地理信息等;具体的可以根据实际使用需求确定,本申请实施例在此不做任何限制。Optionally, in the embodiment of the present application, the above key information may include person information, item information, building information, text information, geographical information, etc. in the target image frame; the specific information may be determined according to actual usage requirements. In the embodiment of the present application, This does not impose any restrictions.
可选地,本申请实施例中,上述人物信息可以包括目标图像帧中的人物的外貌信息(例如人物的长相等)、特征信息(例如人物的皮肤颜色、身高等)和属性信息(例如著名人物的人名、经历等);上述物品信息可以包括目标图像帧中的物品的特征信息(例如物品的色彩、形状以及尺寸等)以及属性信息(例如物品的用途、物品的材质等);上述建筑信息可以包括目标图像帧中的建筑的特征信息(例如建筑的高度、建筑的色彩等)和属性信息(例如建筑所在地区、建筑的风格以及建筑的年限等);上述文字信息可以包括目标图像帧中的所有文字的文字、特征信息(例如文字的字体类型等)和属性信息(例如文字中出现的诗词的出处等);上述地理信息可以包括目标图像帧中的风景信息(例如图像中风景名胜的名称、地理位置等)、属性信息(例如图像中城市名称、城市历史等)。Optionally, in this embodiment of the present application, the above-mentioned character information may include appearance information (such as the character's appearance, etc.), characteristic information (such as the character's skin color, height, etc.) and attribute information (such as famous people) in the target image frame. the character's name, experience, etc.); the above-mentioned item information may include characteristic information of the item in the target image frame (such as the color, shape and size of the item, etc.) and attribute information (such as the purpose of the item, the material of the item, etc.); the above-mentioned building The information may include characteristic information of the building in the target image frame (such as the height of the building, the color of the building, etc.) and attribute information (such as the area where the building is located, the style of the building, the age of the building, etc.); the above text information may include the target image frame The text, feature information (such as the font type of the text, etc.) and attribute information (such as the source of the poems appearing in the text, etc.); the above geographical information can include the scenery information in the target image frame (such as the scenic spots in the image) name, geographical location, etc.), attribute information (such as the name of the city in the image, city history, etc.).
可选地,本申请实施例中,上述关键信息为电子设备根据目标图像帧的图像信息,并对目标图像帧的图像信息进行转换而生成的文字信息。Optionally, in this embodiment of the present application, the above key information is text information generated by the electronic device according to the image information of the target image frame and converting the image information of the target image frame.
可选地,本申请实施例中,电子设备可以基于大数据对目标图像帧进行图像识别处理,以识别出目标图像帧中的图像的所有信息。Optionally, in this embodiment of the present application, the electronic device can perform image recognition processing on the target image frame based on big data to identify all the information of the image in the target image frame.
本申请实施例中,电子设备在获取到目标图像帧的图像信息之后,可以将目标图像帧的图像信息转换为文字信息,从而可以得到关键信息。 In the embodiment of the present application, after acquiring the image information of the target image frame, the electronic device can convert the image information of the target image frame into text information, so that key information can be obtained.
示例性地,若电子设备获取到的目标图像帧的图像信息为一条带有商标A的橘红色的围巾,则电子设备可以将该带有商标A的橘红色的围巾的图像信息转换为:A牌、橘红色、围巾等文字信息。For example, if the image information of the target image frame acquired by the electronic device is an orange-red scarf with trademark A, the electronic device can convert the image information of the orange-red scarf with trademark A into: A brand, orange, scarf and other text information.
又示例性地,若电子设备获取到的目标图像帧的图像信息为一个B公司的动漫人物C,则电子设备可以将带有B公司的动漫人物C的图像信息转换为:B公司、动漫人物C等文字信息。For another example, if the image information of the target image frame acquired by the electronic device is an animated character C of Company B, the electronic device can convert the image information with the animated character C of Company B into: Company B, animated character C and other text information.
可选地,本申请实施例中,在上述步骤201中的“在基于目标视频的目标图像帧,获取关键信息”之前,本申请实施例提供的信息推荐方法还包括下述的步骤301。Optionally, in the embodiment of the present application, before "obtaining key information based on the target image frame of the target video" in the above step 201, the information recommendation method provided by the embodiment of the present application also includes the following step 301.
步骤301、在第一图像帧的图像内容满足预设条件的情况下,电子设备将第一图像帧确定为目标图像帧。Step 301: When the image content of the first image frame meets the preset condition, the electronic device determines the first image frame as the target image frame.
可选地,本申请实施例中,电子设备可以实时检测目标视频的中的至少一帧的图像内容,在第一图像帧的图像内容满足预设条件的情况下,电子设备将第一图像帧确定为目标图像帧。Optionally, in this embodiment of the present application, the electronic device can detect the image content of at least one frame in the target video in real time. When the image content of the first image frame meets the preset condition, the electronic device converts the first image frame into Determine the target image frame.
可选地,本申请实施例中,上述预设条件可以为用户设置的,也可以为电子设备默认的条件。Optionally, in this embodiment of the present application, the above-mentioned preset conditions may be set by the user, or may be default conditions of the electronic device.
可选地,本申请实施例中,在上述步骤201中的“基于第一视频的第一图像帧,获取关键信息”之前,本申请实施例提供的信息推荐方法还包括下述的步骤501和步骤502。Optionally, in the embodiment of the present application, before "obtaining key information based on the first image frame of the first video" in the above step 201, the information recommendation method provided by the embodiment of the present application also includes the following steps 501 and Step 502.
步骤501、电子设备接收用户对目标视频中第二图像帧的第二输入。Step 501: The electronic device receives the user's second input to the second image frame in the target video.
可选地,本申请实施例中,上述第二输入可以为用户对第二图像帧的点击输入或长按输入等,以触发电子设备将第二图像帧确定为目标图像帧。Optionally, in this embodiment of the present application, the above-mentioned second input may be the user's click input or long press input on the second image frame, etc., to trigger the electronic device to determine the second image frame as the target image frame.
步骤502、电子设备响应于第二输入,将第二图像帧确定为目标图像帧。Step 502: The electronic device responds to the second input and determines the second image frame as the target image frame.
本申请实施例中,电子设备在接收到用户对第二图像帧的第二输入之后,将第二图像帧确定为目标图像帧。In this embodiment of the present application, after receiving the user's second input to the second image frame, the electronic device determines the second image frame as the target image frame.
需要说明的是,第二图像帧可以与第一图像帧相同,或者,第二图像帧可以与第一图像帧不同。It should be noted that the second image frame may be the same as the first image frame, or the second image frame may be different from the first image frame.
本申请实施例中,电子设备可以自动确定目标图像帧,或是根据用户对目标视频中的任意一帧的输入,确定目标图像帧,如此,电子设备确定目标图像帧的方式更加灵活。 In the embodiment of the present application, the electronic device can automatically determine the target image frame, or determine the target image frame based on the user's input of any frame in the target video. In this way, the electronic device can determine the target image frame in a more flexible manner.
步骤202、电子设备基于关键信息,显示推荐信息。Step 202: The electronic device displays recommended information based on the key information.
本申请实施例中,推荐信息包括以下至少一项:图像、视频、链接。In the embodiment of this application, the recommended information includes at least one of the following: images, videos, and links.
可选地,本申请实施例中,推荐信息的显示方式包括以下至少一项:全屏显示;在第一显示区域进行显示,第一显示区域为目标视频的播放界面的部分区域。Optionally, in this embodiment of the present application, the display method of the recommended information includes at least one of the following: full-screen display; display in a first display area, and the first display area is a partial area of the playback interface of the target video.
可选地,本申请实施例中,上述步骤202具体可以通过下述的步骤202a和步骤202c实现。Optionally, in this embodiment of the present application, the above step 202 can be specifically implemented through the following steps 202a and 202c.
步骤202a、电子设备将关键信息转化为文字信息,并以预设显示方式显示文字信息。Step 202a: The electronic device converts the key information into text information, and displays the text information in a preset display mode.
可选地,本申请实施例中,电子设备可以在播放目标视频的情况下,电子设备可以实时检测目标视频的中的至少一帧的图像内容,在电子设备将至少一帧图像帧确定为目标图像帧之后,可以在目标视频中以预设显示形式提示用户进行信息搜索或匹配。Optionally, in the embodiment of the present application, when the electronic device plays the target video, the electronic device can detect the image content of at least one frame of the target video in real time, and the electronic device determines at least one image frame as the target. After the image frame, the user can be prompted for information search or matching in a preset display form in the target video.
可选地,本申请实施例中,上述预设显示形式可以为弹窗形式(例如泡泡弹窗的形式)。Optionally, in this embodiment of the present application, the above-mentioned preset display format may be in the form of a pop-up window (for example, in the form of a bubble pop-up window).
示例性地,以电子设备为手机为例,如图2所示,手机在屏幕显示区域10显示目标视频的目标图像帧,并实时检测目标图像帧中的图像内容,然后可以在该目标图像帧的右上角显示泡泡弹窗11,并在泡泡弹窗11中显示“搜索一下?”,从而用户可以对泡泡弹窗11进行点击输入,以触发手机可以对目标帧图像中的信息进行搜索。For example, taking the electronic device as a mobile phone as an example, as shown in Figure 2, the mobile phone displays the target image frame of the target video in the screen display area 10, and detects the image content in the target image frame in real time, and then can detect the target image frame in the target image frame. A bubble pop-up window 11 is displayed in the upper right corner, and "Search?" is displayed in the bubble pop-up window 11, so that the user can click and input on the bubble pop-up window 11 to trigger the mobile phone to process the information in the target frame image. search.
步骤202b、电子设备接收用户对文字信息的第一输入。Step 202b: The electronic device receives the user's first input of text information.
本申请实施例中,在电子设备将关键信息转化为文字信息,并以预设显示方式显示文字信息之后,用户可以对该文字信息进行第一输入,以触发电子设备显示推荐信息。In the embodiment of the present application, after the electronic device converts key information into text information and displays the text information in a preset display mode, the user can make a first input to the text information to trigger the electronic device to display recommended information.
可选地,本申请实施例中,上述第一输入可以为用户对文字信息的点击输入、长按输入,以触发电子设备根据用户对文字信息的第一输入,显示推荐信息。Optionally, in this embodiment of the present application, the above-mentioned first input may be the user's click input or long press input of text information, so as to trigger the electronic device to display recommended information according to the user's first input of text information.
步骤202c、电子设备响应于第一输入,显示推荐信息。Step 202c: The electronic device displays recommended information in response to the first input.
本申请实施例中,电子设备可以在生成推荐信息之后,将推荐信息插入至目标视频中的任意位置(例如目标位置),从而电子设备可以停止播放并取消显示目标视频,从而电子设备可以从目标位置处开始播放第二视频。In the embodiment of the present application, after generating the recommendation information, the electronic device can insert the recommendation information into any position in the target video (such as the target position), so that the electronic device can stop playing and cancel the display of the target video, so that the electronic device can stop playing the target video from the target video. The second video starts playing at the position.
可选地,本申请实施例中,上述目标位置可以为目标视频的起始视频帧图像的位置、中间任意视频帧图像的位置(例如目标图像帧的下一帧图像的位置)以及目标视频的结尾视频帧图像的位置,具体的可以根据实施情况确定,本申请实施例不做任何限制。 Optionally, in this embodiment of the present application, the above-mentioned target position may be the position of the starting video frame image of the target video, the position of any intermediate video frame image (for example, the position of the next frame image of the target image frame), and the position of the target video frame. The specific position of the ending video frame image can be determined according to the implementation situation, and is not subject to any limitations in the embodiments of this application.
示例性地,若目标视频的目标图像帧所在的位置为目标视频的第五帧,则电子设备可以在将目标视频的第五帧视频帧图像播放完成后,将推荐信息作为第一视频的第六帧视频帧图像显示,并在推荐信息播放完成后,继续将目标视频原第六帧视频帧图像作为目标视频的第七帧视频帧图像播放,以此类推,直至将目标视频的原所有视频帧图像播放完毕,可以理解,若目标视频为一个具有十帧图像的视频,则电子设备将推荐信息插入至目标视频中的目标位置之后,目标视频便为一个具有十一帧图像的视频。For example, if the position of the target image frame of the target video is the fifth frame of the target video, the electronic device may use the recommendation information as the fifth frame of the first video after playing the fifth video frame image of the target video. Six video frame images are displayed, and after the recommendation information is played, continue to play the original sixth video frame image of the target video as the seventh video frame image of the target video, and so on, until all the original videos of the target video are played. After the frame images are played, it can be understood that if the target video is a video with ten frames of images, after the electronic device inserts the recommendation information into the target position in the target video, the target video will be a video with eleven frames of images.
可选地,本申请实施例中,电子设备可以以全屏的形式显示推荐信息,或者,电子设备可以以分屏或弹窗的形式显示推荐信息,具体的可以根据实际使用情况确定,本申请实施例对此不做任何限制。Optionally, in the embodiment of this application, the electronic device can display the recommended information in the form of a full screen, or the electronic device can display the recommended information in the form of a split screen or a pop-up window. The specific information can be determined according to the actual usage. The implementation of this application There are no restrictions on this.
可选地,本申请实施例中,推荐信息可以为一张图片;或者,推荐信息可以为包括有一帧图像或多帧图像的视频;或者,推荐信息可以为动图;具体的可以根据实施情况确定,本申请实施例在此不做任何限制。Optionally, in the embodiment of the present application, the recommended information may be a picture; or the recommended information may be a video including one frame of image or multiple frames of images; or the recommended information may be an animated picture; the specifics may be determined according to the implementation situation It is determined that the embodiments of this application do not impose any limitations here.
示例性地,结合图2,如图3所示,手机生成推荐信息之后,可以暂停播放并取消显示目标视频,并在屏幕显示区域10以全屏的形式显示推荐信息。For example, with reference to Figure 2, as shown in Figure 3, after the mobile phone generates the recommendation information, it can pause the playback and cancel the display of the target video, and display the recommendation information in full screen form in the screen display area 10.
本申请实施例中,电子设备可以将推荐信息插入至目标视频中,并以全屏的形式显示推荐信息,电子设备也可以将推荐信息与目标视频的目标图像帧进行融合,以同时播放目标视频和推荐信息,如此,提升了电子设备播放视频的灵活性。In the embodiment of the present application, the electronic device can insert the recommendation information into the target video and display the recommendation information in a full-screen form. The electronic device can also fuse the recommendation information with the target image frame of the target video to simultaneously play the target video and the target video. Recommended information, thus, improves the flexibility of electronic devices to play videos.
可选地,本申请实施例中,在上述步骤202c中的“显示推荐信息”之前,本申请实施例提供的信息推荐方法还包括下述的步骤401和步骤402。Optionally, in this embodiment of the present application, before "displaying recommended information" in step 202c, the information recommendation method provided by this embodiment of the present application further includes the following steps 401 and 402.
步骤401、电子设备根据文字信息进行搜索,得到与文字信息对应的搜索结果信息。Step 401: The electronic device searches based on the text information and obtains search result information corresponding to the text information.
本申请实施例中,电子设备在获取到文字信息后,可以调用电子设备中的其他应用程序(例如搜索引擎等应用程序),并基于文字信息,进行搜索,以得到与文字信息对应的搜索信息结果。In the embodiment of the present application, after obtaining the text information, the electronic device can call other applications (such as search engines and other applications) in the electronic device and perform a search based on the text information to obtain search information corresponding to the text information. result.
可选地,本申请实施例中,电子设备可以调用搜索引擎,并对文字信息进行搜索,以得到与文字信息对应的搜索结果信息;或者,电子设备可以调用与文字信息对应的应用程序,并对文字信息进行搜索,以得到与文字信息对应的搜索结果信息;具体的可以根据实际使用确定,本申请实施例在此不做任何限制。 Optionally, in the embodiment of the present application, the electronic device can call a search engine and search for text information to obtain search result information corresponding to the text information; or, the electronic device can call an application program corresponding to the text information, and Search the text information to obtain search result information corresponding to the text information; the specific information can be determined based on actual use, and the embodiments of the present application do not impose any limitations here.
步骤402、电子设备基于搜索结果信息,生成推荐信息。Step 402: The electronic device generates recommendation information based on the search result information.
本申请实施例中,电子设备在得到与文字信息对应的搜索结果信息后,可以基于搜索结果信息,生成与搜索结果信息对应的推荐信息。In the embodiment of the present application, after obtaining the search result information corresponding to the text information, the electronic device can generate recommendation information corresponding to the search result information based on the search result information.
可选地,本申请实施例中,电子设备可以基于搜索结果信息,生成包括搜索结果信息的推荐信息;或者,电子设备可以基于搜索结果信息,生成与搜索结果信息对应的推荐信息;或者,电子设备可以基于搜索结果信息,生成与搜索结果信息相关的推荐信息;具体的可以根据实际使用确定,本申请实施例在此不做任何限制。Optionally, in the embodiment of the present application, the electronic device can generate recommendation information including the search result information based on the search result information; or the electronic device can generate recommendation information corresponding to the search result information based on the search result information; or, the electronic device can The device can generate recommendation information related to the search result information based on the search result information; the specific information can be determined based on actual use, and the embodiments of the present application do not impose any restrictions here.
本申请实施例中,电子设备可以根据文字信息,搜索得到与文字信息对应的搜索结果信息,并根据该搜索结果信息,生成推荐信息,从而电子设备可以在屏幕显示区域中显示该推荐信息,如此,提升了电子设备进行信息推荐的灵活性。In the embodiment of the present application, the electronic device can search to obtain search result information corresponding to the text information based on the text information, and generate recommendation information based on the search result information, so that the electronic device can display the recommended information in the screen display area, so , which improves the flexibility of electronic devices for information recommendation.
可选地,本申请实施例中,上述步骤202中的“显示推荐信息”具体可以通过下述的步骤202d至步骤202f实现。Optionally, in this embodiment of the present application, "displaying recommended information" in the above-mentioned step 202 can be specifically implemented through the following steps 202d to 202f.
步骤202d、电子设备显示推荐信息、第一控件和第二控件。Step 202d: The electronic device displays recommended information, the first control and the second control.
本申请实施例中,上述第一控件可以为关闭视频控件。In this embodiment of the present application, the first control may be a video close control.
本申请实施例中,第二控件为显示推荐信息的时间控件,在第二控件规定的显示时间结束后,将推荐信息关闭,并继续播放目标视频。In the embodiment of this application, the second control is a time control for displaying recommended information. After the display time specified by the second control ends, the recommended information is closed and the target video continues to be played.
本申请实施例中,电子设备可以在生成推荐信息之后,将推荐信息与目标图像帧进行融合,以生成融合后的目标图像帧,该融合后的目标图像帧包括目标视频的目标图像帧和推荐信息,从而电子设备可以从目标图像帧的位置同时播放目标视频和推荐信息。In the embodiment of the present application, after generating the recommendation information, the electronic device can fuse the recommendation information with the target image frame to generate a fused target image frame. The fused target image frame includes the target image frame of the target video and the recommendation information, so that the electronic device can simultaneously play the target video and recommendation information from the position of the target image frame.
可选地,本申请实施例中,电子设备可以在目标视频的播放界面中以弹窗的形式显示推荐信息;或者,电子设备可以在目标视频的播放界面中以悬浮的形式显示推荐信息;或者,电子设备可以将屏幕显示区域分为两个显示区域,并在第一显示区域显示目标视频的播放界面,在第二显示区域显示推荐信息。Optionally, in this embodiment of the present application, the electronic device can display the recommendation information in the form of a pop-up window in the playback interface of the target video; or the electronic device can display the recommendation information in the form of a floating window in the playback interface of the target video; or , the electronic device can divide the screen display area into two display areas, display the playback interface of the target video in the first display area, and display the recommendation information in the second display area.
可选地,本申请实施例中,电子设备可以以电子设备屏幕的中轴线为分割线,将屏幕划分为两个屏幕区域,每个屏幕区域分别显示一个区域(例如第一显示区域和第二显示区域),以在窗口内显示对应的视频;或者,电子设备可以以电子设备屏幕的对角线为分割线,将屏幕划分为两个屏幕区域,每个屏幕区域分别显示一个区域(例如第一显示区域和 第二显示区域),以在显示区域内显示对应的视频;或者,电子设备可以将屏幕划分为两个不同预设面积的屏幕区域,每个屏幕区域分别显示一个区域(例如第一显示区域和第二显示区域),以在显示区域内显示对应的视频;具体的可以根据实际使用需求确定,本申请实施例不做限制。Optionally, in this embodiment of the present application, the electronic device can use the central axis of the screen of the electronic device as a dividing line to divide the screen into two screen areas, each of which displays one area (for example, a first display area and a second display area). display area) to display the corresponding video in the window; alternatively, the electronic device can use the diagonal line of the electronic device screen as a dividing line to divide the screen into two screen areas, and each screen area displays one area respectively (for example, the a display area and second display area) to display the corresponding video in the display area; alternatively, the electronic device can divide the screen into two screen areas with different preset areas, and each screen area displays one area respectively (for example, the first display area and the second display area). second display area) to display the corresponding video in the display area; the details can be determined according to actual usage requirements, and are not limited in the embodiments of this application.
可选地,本申请实施例中,上述屏幕的中轴线可以为屏幕的竖向中轴线或横向中轴线。上述屏幕的对角线可以为屏幕的任意一个对角线。Optionally, in this embodiment of the present application, the central axis of the screen may be the vertical central axis or the horizontal central axis of the screen. The diagonal line of the above screen can be any diagonal line of the screen.
示例性地,结合图2,如图4所示,手机可以将屏幕显示区域10分为两个显示区域,在第一显示区域12显示目标视频的播放界面,在第二显示区域13显示推荐信息。For example, in conjunction with Figure 2, as shown in Figure 4, the mobile phone can divide the screen display area 10 into two display areas, display the playback interface of the target video in the first display area 12, and display recommendation information in the second display area 13 .
步骤202e、电子设备接收用户对第一控件的第三输入。Step 202e: The electronic device receives the user's third input to the first control.
本申请实施例中,用户可以对第一控件进行输入,以触发电子设备关闭推荐信息。In this embodiment of the present application, the user can input the first control to trigger the electronic device to close the recommended information.
可选地,本申请实施例中,上述第三输入可以为用户对第一控件的点击输入或长按输入等,以触发电子设备关闭推荐信息。Optionally, in this embodiment of the present application, the third input may be the user's click input or long press input on the first control, etc., to trigger the electronic device to close the recommended information.
步骤202f、电子设备响应于第三输入,将推荐信息关闭,并继续播放目标视频。Step 202f: In response to the third input, the electronic device closes the recommended information and continues to play the target video.
本申请实施例中,电子设备在接收到用户对第一控件的第三输入之后,关闭推荐信息,并继续播放目标视频。In this embodiment of the present application, after receiving the user's third input to the first control, the electronic device closes the recommendation information and continues to play the target video.
示例性地,结合图4,如图5所示,手机在第一显示区域12显示目标视频的播放界面,在第二显示区域13显示推荐信息,并在推荐信息的显示界面中中显示“跳过”控件15和“倒计时20s”控件16,从而用户可以对“跳过”控件15进行点击输入,以使得手机停止显示推荐信息,并开始播放目标视频。For example, with reference to Figure 4, as shown in Figure 5, the mobile phone displays the playback interface of the target video in the first display area 12, displays the recommended information in the second display area 13, and displays "Jump" in the display interface of the recommended information. "Skip" control 15 and "Countdown 20s" control 16, so that the user can click the "Skip" control 15 to make the mobile phone stop displaying recommended information and start playing the target video.
本申请实施例中,电子设备可以在显示目标视频的情况下,接收用户对推荐信息的输入,从而电子设备可以选择关闭推荐信息,如此,提升了电子设备播放第二视频的灵活性。In the embodiment of the present application, the electronic device can receive the user's input of recommendation information while displaying the target video, so that the electronic device can choose to turn off the recommendation information. This improves the flexibility of the electronic device in playing the second video.
可选地,本申请实施例中,在上述步骤202之后,本申请实施例提供的信息推荐方法还包括下述的步骤601和步骤602。Optionally, in this embodiment of the present application, after the above-mentioned step 202, the information recommendation method provided by the embodiment of the present application further includes the following steps 601 and 602.
步骤601、电子设备接收用户对推荐信息的第四输入。Step 601: The electronic device receives the user's fourth input of recommended information.
本申请实施例中,电子设备在显示推荐信息之后,用户可以对推荐信息进行第四输入,以触发电子设备更新推荐信息的显示参数。In this embodiment of the present application, after the electronic device displays the recommended information, the user can perform a fourth input on the recommended information to trigger the electronic device to update the display parameters of the recommended information.
步骤602、电子设备响应于第四输入,更新推荐信息的显示参数。 Step 602: The electronic device responds to the fourth input and updates the display parameters of the recommended information.
本申请实施例中,显示参数包括以下至少一项:显示位置、显示区域尺寸。In the embodiment of the present application, the display parameters include at least one of the following: display position and display area size.
可选地,本申请实施例中,用户可以对推荐信息进行输入,以触发电子设备等更新推荐信息的显示位置或显示区域尺寸。Optionally, in this embodiment of the present application, the user can input the recommended information to trigger the electronic device to update the display position or display area size of the recommended information.
可选地,本申请实施例中,本申请实施例提供的信息推荐方法,还包括下述的步骤701和步骤702,或者,包括下述的步骤703和步骤704。Optionally, in the embodiment of the present application, the information recommendation method provided by the embodiment of the present application further includes the following steps 701 and 702, or includes the following steps 703 and 704.
步骤701、在推荐信息的显示方式为全屏显示的情况下,电子设备接收用户对推荐信息的第五输入。Step 701: When the display mode of the recommended information is full-screen display, the electronic device receives the fifth input of the recommended information from the user.
本申请实施例中,上述第五输入为用户将推荐信息的显示方式更新为在第一显示区域进行显示的输入。In this embodiment of the present application, the fifth input is the user's input to update the display mode of the recommended information to be displayed in the first display area.
步骤702、电子设备响应于第五输入,继续播放目标视频。Step 702: The electronic device responds to the fifth input and continues to play the target video.
步骤703、在推荐信息的显示方式为在第一显示区域进行显示的情况下,电子设备接收用户对推荐信息的第六输入。Step 703: When the display mode of the recommended information is to be displayed in the first display area, the electronic device receives the user's sixth input of the recommended information.
本申请实施例中,上述第六输入为用户将推荐信息的显示方式更新为全屏显示的输入。In the embodiment of the present application, the above-mentioned sixth input is the user's input to update the display mode of the recommended information to full-screen display.
步骤704、电子设备响应于第六输入,暂停播放目标视频。Step 704: The electronic device responds to the sixth input and pauses playing the target video.
可选地,本申请实施例中,电子设备在接收到用户对推荐信息的第六输入之后,可以暂停播放目标视频。Optionally, in this embodiment of the present application, after receiving the user's sixth input of recommendation information, the electronic device may pause the playback of the target video.
本申请实施例提供一种信息推荐方法,在本申请实施例中,在目标视频的播放过程中,电子设备可以基于目标视频的目标图像帧,获取关键信息;并基于关键信息,显示推荐信息;其中,该推荐信息包括以下至少一项:图像、视频、链接;推荐信息的显示方式包括以下至少一项:全屏显示;在第一显示区域进行显示,该第一显示区域为目标视频的播放界面的部分区域,相较于传统技术中,用户在观看视频的过程中,若遇到一些感兴趣的信息,需要暂停当前播放的视频,并切换至另一个应用程序,然后通过该另一个应用程序进行信息搜索,才能得到需求的信息的方式,本申请实施例可以在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息;并基于关键信息,显示推荐信息,因此,简化了用户需求查看视频中的信息的步骤,并且在观看视频的同时,还可以获取视频中的信息,满足了用户同时观看视频和获取信息的需求,如此,既简化了用户操作,又提升了电 子设备播放视频的灵活性。The embodiment of the present application provides an information recommendation method. In the embodiment of the present application, during the playback process of the target video, the electronic device can obtain key information based on the target image frame of the target video; and display the recommended information based on the key information; Wherein, the recommended information includes at least one of the following: images, videos, and links; the display method of the recommended information includes at least one of the following: full-screen display; displayed in a first display area, which is the playback interface of the target video In some areas, compared with traditional technology, if the user encounters some interesting information while watching a video, he or she needs to pause the currently playing video, switch to another application, and then use the other application to Only by performing information search can the required information be obtained. The embodiment of the present application can obtain key information based on the target image frame of the target video during the playback process of the target video; and display recommended information based on the key information. Therefore, it simplifies The user needs to view the steps of the information in the video, and can also obtain the information in the video while watching the video, which satisfies the user's need to watch the video and obtain information at the same time. In this way, it not only simplifies the user operation, but also improves the electronic quality. Flexibility for video playback on sub-devices.
本申请实施例提供的信息推荐方法,执行主体可以为信息推荐装置。本申请实施例中以信息推荐装置执行信息推荐方法为例,说明本申请实施例提供的信息推荐的装置。For the information recommendation method provided by the embodiments of this application, the execution subject may be an information recommendation device. In the embodiment of the present application, an information recommendation device performing an information recommendation method is used as an example to illustrate the information recommendation device provided by the embodiment of the present application.
图6示出了本申请实施例中涉及的信息推荐装置的一种可能的结构示意图。如图6所示,该信息推荐装置70可以包括:获取模块71和显示模块72。Figure 6 shows a possible structural schematic diagram of the information recommendation device involved in the embodiment of the present application. As shown in FIG. 6 , the information recommendation device 70 may include: an acquisition module 71 and a display module 72 .
获取模块71,用于在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息。显示模块72,用于基于获取模块71获取的关键信息,显示推荐信息。其中,推荐信息包括以下至少一项:图像、视频、链接。推荐信息的显示方式包括以下至少一项:全屏显示;在第一显示区域进行显示,第一显示区域为目标视频的播放界面的部分区域。The acquisition module 71 is used to acquire key information based on the target image frame of the target video during the playback process of the target video. The display module 72 is used to display recommended information based on the key information obtained by the acquisition module 71 . Among them, the recommended information includes at least one of the following: images, videos, and links. The display method of the recommended information includes at least one of the following: full-screen display; display in the first display area, and the first display area is a partial area of the playback interface of the target video.
在一种可能实现的方式中,上述信息推荐装置70还包括:确定模块。确定模块,用于在获取模块71基于目标视频的目标图像帧,获取关键信息之前,在第一图像帧的图像内容满足预设条件的情况下,将第一图像帧确定为目标图像帧。In a possible implementation manner, the above-mentioned information recommendation device 70 further includes: a determination module. The determination module is configured to determine the first image frame as the target image frame when the image content of the first image frame meets the preset condition before the acquisition module 71 acquires the key information based on the target image frame of the target video.
在一种可能实现的方式中,显示模块72,具体用于将关键信息转化为文字信息,并以预设显示方式显示文字信息;接收用户对文字信息的第一输入;响应于第一输入,显示推荐信息。In one possible implementation, the display module 72 is specifically configured to convert key information into text information and display the text information in a preset display mode; receive the user's first input of text information; in response to the first input, Display recommended information.
在一种可能实现的方式中,上述信息推荐装置70还包括:处理模块。处理模块,用于在显示模块72显示推荐信息之前,根据文字信息进行搜索,得到与文字信息对应的搜索结果信息;并基于搜索结果信息,生成推荐信息。In a possible implementation manner, the above-mentioned information recommendation device 70 further includes: a processing module. The processing module is configured to perform a search based on the text information before the display module 72 displays the recommended information to obtain search result information corresponding to the text information; and generate recommendation information based on the search result information.
在一种可能实现的方式中,上述信息推荐装置70还包括:接收模块和确定模块。接收模块,用于在获取模块71基于第一视频的第一图像帧,获取关键信息之前,接收用户对目标视频中第二图像帧的第二输入。确定模块,用于响应于接收模块接收的第二输入,将第二图像帧确定为目标图像帧。In a possible implementation manner, the above-mentioned information recommendation device 70 further includes: a receiving module and a determining module. The receiving module is configured to receive the user's second input of the second image frame in the target video before the acquisition module 71 obtains the key information based on the first image frame of the first video. The determining module is configured to determine the second image frame as the target image frame in response to the second input received by the receiving module.
在一种可能实现的方式中,显示模块72,具体用于显示推荐信息、第一控件和第二控件;接收用户对第一控件的第三输入;响应于第三输入,将推荐信息关闭,并继续播放目标视频。第二控件为显示推荐信息的时间控件,在第二控件规定的显示时间结束后,将推荐信息关闭,并继续播放目标视频。In a possible implementation manner, the display module 72 is specifically configured to display recommended information, a first control and a second control; receive the user's third input to the first control; and in response to the third input, close the recommended information, and continue playing the target video. The second control is a time control for displaying recommended information. After the display time specified by the second control ends, the recommended information is closed and the target video continues to be played.
在一种可能实现的方式中,上述信息推荐装置70还包括:接收模块和更新模块。接 收模块,用于在显示模块72显示推荐信息之后,接收用户对推荐信息的第四输入。更新模块,用于响应于接收模块接收的第四输入,更新推荐信息的显示参数,显示参数包括以下至少一项:显示位置、显示区域尺寸。In a possible implementation manner, the above-mentioned information recommendation device 70 further includes: a receiving module and an updating module. catch The receiving module is configured to receive the user's fourth input of the recommended information after the display module 72 displays the recommended information. An update module, configured to update the display parameters of the recommended information in response to the fourth input received by the receiving module, where the display parameters include at least one of the following: display position and display area size.
在一种可能实现的方式中,上述信息推荐装置还包括:接收模块、播放模块和暂停模块。接收模块,用于在推荐信息的显示方式为全屏显示的情况下,接收用户对推荐信息的第五输入,第五输入为用户将推荐信息的显示方式更新为在第一显示区域进行显示的输入。播放模块,用于响应于接收模块接收的第五输入,继续播放目标视频。接收模块,还用于在推荐信息的显示方式为在第一显示区域进行显示的情况下,接收用户对推荐信息的第六输入,第六输入为用户将推荐信息的显示方式更新为全屏显示的输入。暂停模块,用于响应于接收模块接收的第六输入,暂停播放目标视频。In a possible implementation manner, the above-mentioned information recommendation device further includes: a receiving module, a playing module and a pausing module. A receiving module, configured to receive a fifth input from the user to the recommended information when the display mode of the recommended information is full-screen display. The fifth input is the user's input to update the display mode of the recommended information to be displayed in the first display area. . The playing module is configured to continue playing the target video in response to the fifth input received by the receiving module. The receiving module is also configured to receive a sixth input from the user to the recommended information when the display mode of the recommended information is to be displayed in the first display area, where the sixth input is the user's request to update the display mode of the recommended information to full-screen display. enter. The pause module is configured to pause the playback of the target video in response to the sixth input received by the receiving module.
本申请实施例提供一种信息推荐装置,由于本申请实施例可以在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息;并基于关键信息,显示推荐信息,因此,简化了用户需求查看视频中的信息的步骤,并且在观看视频的同时,还可以获取视频中的信息,满足了用户同时观看视频和获取信息的需求,如此,既简化了用户操作,又提升了电子设备播放视频的灵活性。The embodiment of the present application provides an information recommendation device. Since the embodiment of the present application can obtain key information based on the target image frame of the target video during the playback process of the target video, and display the recommended information based on the key information, therefore, it simplifies The user needs to view the steps of the information in the video, and can also obtain the information in the video while watching the video, which meets the user's need to watch the video and obtain information at the same time. In this way, it not only simplifies the user operation, but also improves the electronic equipment. Flexibility in playing videos.
本申请实施例中的信息推荐装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The information recommendation device in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or chip. The electronic device may be a terminal or other devices other than the terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR). ) equipment, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (personal digital assistants, PDA), etc., and can also be servers, network attached storage (Network Attached Storage), NAS), personal computer (PC), television (TV), teller machine or self-service machine, etc., the embodiments of this application are not specifically limited.
本申请实施例中的信息推荐装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The information recommendation device in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
本申请实施例提供的信息推荐装置能够实现图1至图5的方法实施例实现的各个过 程,实现相同的技术效果,为避免重复,这里不再赘述。The information recommendation device provided by the embodiments of the present application can implement each process implemented by the method embodiments of Figures 1 to 5. The process achieves the same technical effect. To avoid duplication, it will not be described again here.
可选地,如图7所示,本申请实施例还提供一种电子设备M00,包括处理器M01和存储器M02,存储器M02上存储有可在所述处理器M01上运行的程序或指令,该程序或指令被处理器M01执行时实现上述信息推荐方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 7, this embodiment of the present application also provides an electronic device M00, including a processor M01 and a memory M02. The memory M02 stores programs or instructions that can be run on the processor M01. When the program or instruction is executed by the processor M01, each step of the above information recommendation method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be described here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The electronic device 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, etc. part.
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 100 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 8 does not constitute a limitation on the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
其中,处理器110,用于在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息。处理器110,用于基于关键信息,控制显示单元106显示推荐信息。其中,推荐信息包括以下至少一项:图像、视频、链接。推荐信息的显示方式包括以下至少一项:全屏显示;在第一显示区域进行显示,第一显示区域为目标视频的播放界面的部分区域。The processor 110 is configured to obtain key information based on the target image frame of the target video during the playback process of the target video. The processor 110 is configured to control the display unit 106 to display recommended information based on the key information. Among them, the recommended information includes at least one of the following: images, videos, and links. The display method of the recommended information includes at least one of the following: full-screen display; display in the first display area, and the first display area is a partial area of the playback interface of the target video.
可选地,本申请实施例中,处理器110,用于在基于目标视频的目标图像帧,获取关键信息之前,在第一图像帧的图像内容满足预设条件的情况下,将第一图像帧确定为目标图像帧。Optionally, in this embodiment of the present application, the processor 110 is configured to, before acquiring key information based on the target image frame of the target video, when the image content of the first image frame meets the preset condition, convert the first image into The frame is determined as the target image frame.
可选地,本申请实施例中,处理器110,具体用于将关键信息转化为文字信息,并控制显示单元106以预设显示方式显示文字信息;用户输入单元107,用于接收用户对文字信息的第一输入;显示单元106,用于响应于第一输入,显示推荐信息。Optionally, in this embodiment of the present application, the processor 110 is specifically configured to convert key information into text information, and control the display unit 106 to display the text information in a preset display mode; the user input unit 107 is used to receive the user's input on the text. First input of information; the display unit 106 is configured to display recommended information in response to the first input.
可选地,本申请实施例中,处理器110,用于在显示推荐信息之前,根据文字信息进 行搜索,得到与文字信息对应的搜索结果信息;并基于搜索结果信息,生成推荐信息。Optionally, in this embodiment of the present application, the processor 110 is configured to perform recommendation based on the text information before displaying the recommended information. Perform a search to obtain search result information corresponding to the text information; and generate recommendation information based on the search result information.
可选地,本申请实施例中,用户输入单元107,用于在基于第一视频的第一图像帧,获取关键信息之前,接收用户对目标视频中第二图像帧的第二输入。处理器110,用于响应于第二输入,将第二图像帧确定为目标图像帧。Optionally, in this embodiment of the present application, the user input unit 107 is configured to receive a second input from the user to the second image frame in the target video before acquiring key information based on the first image frame of the first video. The processor 110 is configured to determine the second image frame as the target image frame in response to the second input.
可选地,本申请实施例中,显示单元106,具体用于显示推荐信息、第一控件和第二控件;用户输入单元107,用于接收用户对第一控件的第三输入;处理器110,用于响应于第三输入,将推荐信息关闭,并继续播放目标视频。第二控件为显示推荐信息的时间控件,在第二控件规定的显示时间结束后,将推荐信息关闭,并继续播放目标视频。Optionally, in this embodiment of the present application, the display unit 106 is specifically used to display recommended information, the first control and the second control; the user input unit 107 is used to receive the user's third input to the first control; the processor 110 , used to close the recommendation information and continue playing the target video in response to the third input. The second control is a time control for displaying recommended information. After the display time specified by the second control ends, the recommended information is closed and the target video continues to be played.
可选地,本申请实施例中,用户输入单元107,用于在显示推荐信息之后,接收用户对推荐信息的第四输入。处理器110,还用于响应于第四输入,更新推荐信息的显示参数,显示参数包括以下至少一项:显示位置、显示区域尺寸。Optionally, in this embodiment of the present application, the user input unit 107 is configured to receive the user's fourth input of the recommended information after displaying the recommended information. The processor 110 is also configured to update display parameters of the recommended information in response to the fourth input, where the display parameters include at least one of the following: display position and display area size.
可选地,本申请实施例中,用户输入单元107,用于在推荐信息的显示方式为全屏显示的情况下,接收用户对推荐信息的第五输入,第五输入为用户将推荐信息的显示方式更新为在第一显示区域进行显示的输入。处理器110,用于响应于第五输入,控制显示单元106继续播放目标视频。用户输入单元107,还用于在推荐信息的显示方式为在第一显示区域进行显示的情况下,接收用户对推荐信息的第六输入,第六输入为用户将推荐信息的显示方式更新为全屏显示的输入。处理器110,用于响应于第六输入,暂停播放目标视频。Optionally, in this embodiment of the present application, the user input unit 107 is configured to receive the user's fifth input of the recommended information when the display mode of the recommended information is full-screen display, and the fifth input is the user's display of the recommended information. The mode is updated to display the input in the first display area. The processor 110 is configured to control the display unit 106 to continue playing the target video in response to the fifth input. The user input unit 107 is also configured to receive a sixth input from the user to the recommended information when the display mode of the recommended information is to be displayed in the first display area. The sixth input is that the user updates the display mode of the recommended information to full screen. Displayed input. The processor 110 is configured to pause playing the target video in response to the sixth input.
本申请实施例提供一种电子设备,由于本申请实施例可以在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息;并基于关键信息,显示推荐信息,因此,简化了用户需求查看视频中的信息的步骤,并且在观看视频的同时,还可以获取视频中的信息,满足了用户同时观看视频和获取信息的需求,如此,既简化了用户操作,又提升了电子设备播放视频的灵活性。Embodiments of the present application provide an electronic device. Since the embodiment of the present application can obtain key information based on the target image frame of the target video during the playback process of the target video, and display recommendation information based on the key information, it simplifies the user's It requires the steps to view the information in the video, and while watching the video, you can also obtain the information in the video, which meets the user's need to watch the video and obtain information at the same time. In this way, it not only simplifies the user operation, but also improves the playback of electronic devices. Video flexibility.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板 1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. The graphics processor 1041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072 . touch panel 1071, also known as touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 109 may include volatile memory or nonvolatile memory, or memory 109 may include both volatile and nonvolatile memory. Among them, non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器110可包括一个或多个处理单元;可选地,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 110 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息推荐方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above information recommendation method embodiment is implemented, and the same can be achieved. The technical effects will not be repeated here to avoid repetition.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。 Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息推荐方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above information recommendation method embodiment. Each process can achieve the same technical effect. To avoid duplication, it will not be described again here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述信息推荐方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application provide a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above information recommendation method embodiment, and can achieve the same technical effect. , to avoid repetition, we will not go into details here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (13)

  1. 一种信息推荐方法,所述方法包括:An information recommendation method, the method includes:
    在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息;During the playback of the target video, key information is obtained based on the target image frame of the target video;
    基于所述关键信息,显示推荐信息;Based on the key information, display recommended information;
    其中,所述推荐信息包括以下至少一项:图像、视频、链接;Wherein, the recommended information includes at least one of the following: images, videos, links;
    所述推荐信息的显示方式包括以下至少一项:全屏显示;在第一显示区域进行显示,所述第一显示区域为所述目标视频的播放界面的部分区域。The display method of the recommended information includes at least one of the following: full-screen display; display in a first display area, and the first display area is a partial area of the playback interface of the target video.
  2. 根据权利要求1所述的方法,其中,在所述基于目标视频的目标图像帧,获取关键信息之前,所述方法还包括:The method according to claim 1, wherein before obtaining key information based on the target image frame of the target video, the method further includes:
    在第一图像帧的图像内容满足预设条件的情况下,将所述第一图像帧确定为目标图像帧。When the image content of the first image frame satisfies the preset condition, the first image frame is determined as the target image frame.
  3. 根据权利要求1所述的方法,其中,所述基于所述关键信息,显示推荐信息,包括:The method according to claim 1, wherein displaying recommended information based on the key information includes:
    将所述关键信息转化为文字信息,并以预设显示方式显示所述文字信息;Convert the key information into text information and display the text information in a preset display mode;
    接收用户对所述文字信息的第一输入;Receive the user's first input of the text information;
    响应于所述第一输入,显示推荐信息。In response to the first input, recommendation information is displayed.
  4. 根据权利要求3所述的方法,其中,所述显示推荐信息之前,还包括:The method according to claim 3, wherein before displaying the recommended information, the method further includes:
    根据所述文字信息进行搜索,得到与所述文字信息对应的搜索结果信息;Search according to the text information to obtain search result information corresponding to the text information;
    基于所述搜索结果信息,生成推荐信息。Based on the search result information, recommendation information is generated.
  5. 根据权利要求1所述的方法,其中,在所述基于第一视频的第一图像帧,获取关键信息之前,所述方法还包括:The method according to claim 1, wherein before obtaining key information based on the first image frame of the first video, the method further includes:
    接收用户对所述目标视频中第二图像帧的第二输入;receiving a second input from the user to a second image frame in the target video;
    响应于所述第二输入,将所述第二图像帧确定为目标图像帧。In response to the second input, the second image frame is determined as the target image frame.
  6. 根据权利要求1所述的方法,其中,所述显示推荐信息,包括:显示推荐信息、第一控件和第二控件;The method according to claim 1, wherein the displaying recommended information includes: displaying recommended information, a first control and a second control;
    接收用户对所述第一控件的第三输入;Receive a third input from the user to the first control;
    响应于所述第三输入,将所述推荐信息关闭,并继续播放所述目标视频; In response to the third input, close the recommendation information and continue playing the target video;
    所述第二控件为显示所述推荐信息的时间控件,在所述第二控件规定的显示时间结束后,将所述推荐信息关闭,并继续播放所述目标视频。The second control is a time control for displaying the recommended information. After the display time specified by the second control ends, the recommended information is closed and the target video continues to be played.
  7. 根据权利要求1所述的方法,其中,所述在显示推荐信息之后,所述方法还包括:The method according to claim 1, wherein after displaying the recommendation information, the method further includes:
    接收用户对所述推荐信息的第四输入;Receive a fourth input from the user regarding the recommended information;
    响应于所述第四输入,更新所述推荐信息的显示参数,所述显示参数包括以下至少一项:显示位置、显示区域尺寸。In response to the fourth input, display parameters of the recommended information are updated, and the display parameters include at least one of the following: display position and display area size.
  8. 根据权利要求1所述的方法,其中,The method of claim 1, wherein,
    在所述推荐信息的显示方式为全屏显示的情况下,接收用户对所述推荐信息的第五输入,所述第五输入为用户将所述推荐信息的显示方式更新为在所述第一显示区域进行显示的输入;When the display mode of the recommended information is full-screen display, receiving a fifth input from the user on the recommended information, the fifth input is that the user updates the display mode of the recommended information to the first display mode. area for display input;
    响应于所述第五输入,继续播放所述目标视频;In response to the fifth input, continue playing the target video;
    在所述推荐信息的显示方式为在所述第一显示区域进行显示的情况下,接收用户对所述推荐信息的第六输入,所述第六输入为用户将所述推荐信息的显示方式更新为全屏显示的输入;When the display mode of the recommended information is to be displayed in the first display area, receiving a sixth input from the user to the recommended information, where the sixth input is that the user updates the display mode of the recommended information. For input displayed in full screen;
    响应于所述第六输入,暂停播放所述目标视频。In response to the sixth input, the target video is paused.
  9. 一种信息推荐装置,所述信息推荐装置包括:获取模块和显示模块;An information recommendation device, the information recommendation device includes: an acquisition module and a display module;
    所述获取模块,用于在目标视频的播放过程中,基于目标视频的目标图像帧,获取关键信息;The acquisition module is used to obtain key information based on the target image frame of the target video during the playback process of the target video;
    所述显示模块,用于基于所述获取模块获取的所述关键信息,显示推荐信息;The display module is configured to display recommended information based on the key information obtained by the acquisition module;
    其中,所述推荐信息包括以下至少一项:图像、视频、链接;Wherein, the recommended information includes at least one of the following: images, videos, links;
    所述推荐信息的显示方式包括以下至少一项:全屏显示;在第一显示区域进行显示,所述第一显示区域为所述目标视频的播放界面的部分区域。The display method of the recommended information includes at least one of the following: full-screen display; display in a first display area, and the first display area is a partial area of the playback interface of the target video.
  10. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-8中任一项所述的信息推荐方法的步骤。An electronic device, including a processor and a memory, the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, any one of claims 1-8 is implemented. The steps of the information recommendation method described in the item.
  11. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要 求1-8中任一项所述的信息推荐方法的步骤。A computer program product executed by at least one processor to implement the claims Find the steps of the information recommendation method described in any one of 1-8.
  12. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-8中任一项所述的信息推荐方法的步骤。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the information as described in any one of claims 1-8 Recommended method steps.
  13. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-8中任一项所述的方法的步骤。 A readable storage medium on which programs or instructions are stored. When the programs or instructions are executed by a processor, the steps of the method according to any one of claims 1-8 are implemented.
PCT/CN2023/079846 2022-03-07 2023-03-06 Information recommendation method and apparatus and electronic device WO2023169361A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210217364.XA CN114786062A (en) 2022-03-07 2022-03-07 Information recommendation method and device and electronic equipment
CN202210217364.X 2022-03-07

Publications (1)

Publication Number Publication Date
WO2023169361A1 true WO2023169361A1 (en) 2023-09-14

Family

ID=82422688

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/079846 WO2023169361A1 (en) 2022-03-07 2023-03-06 Information recommendation method and apparatus and electronic device

Country Status (2)

Country Link
CN (1) CN114786062A (en)
WO (1) WO2023169361A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114786062A (en) * 2022-03-07 2022-07-22 维沃移动通信有限公司 Information recommendation method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012162A (en) * 2017-12-04 2018-05-08 北京小米移动软件有限公司 Content recommendation method and device
CN110381369A (en) * 2019-07-19 2019-10-25 腾讯科技(深圳)有限公司 Determination method, apparatus, equipment and the storage medium of recommendation information implantation position
CN110704684A (en) * 2019-10-17 2020-01-17 北京字节跳动网络技术有限公司 Video searching method and device, terminal and storage medium
US20200322684A1 (en) * 2017-12-07 2020-10-08 Beijing Baidu Netcom Science And Technology Co., Ltd. Video recommendation method and apparatus
CN112015277A (en) * 2020-09-10 2020-12-01 北京达佳互联信息技术有限公司 Information display method and device and electronic equipment
CN113111221A (en) * 2021-05-13 2021-07-13 北京字节跳动网络技术有限公司 Video-based searching method and device
CN113766330A (en) * 2021-05-26 2021-12-07 腾讯科技(深圳)有限公司 Method and device for generating recommendation information based on video
CN114786062A (en) * 2022-03-07 2022-07-22 维沃移动通信有限公司 Information recommendation method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915954A (en) * 2015-10-30 2016-08-31 乐视移动智能信息技术(北京)有限公司 Video recommendation method based on mobile phone screen and video recommendation system thereof
CN109151176A (en) * 2018-07-25 2019-01-04 维沃移动通信有限公司 A kind of information acquisition method and terminal
CN111107434A (en) * 2018-10-25 2020-05-05 青岛海尔多媒体有限公司 Information recommendation method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012162A (en) * 2017-12-04 2018-05-08 北京小米移动软件有限公司 Content recommendation method and device
US20200322684A1 (en) * 2017-12-07 2020-10-08 Beijing Baidu Netcom Science And Technology Co., Ltd. Video recommendation method and apparatus
CN110381369A (en) * 2019-07-19 2019-10-25 腾讯科技(深圳)有限公司 Determination method, apparatus, equipment and the storage medium of recommendation information implantation position
CN110704684A (en) * 2019-10-17 2020-01-17 北京字节跳动网络技术有限公司 Video searching method and device, terminal and storage medium
CN112015277A (en) * 2020-09-10 2020-12-01 北京达佳互联信息技术有限公司 Information display method and device and electronic equipment
CN113111221A (en) * 2021-05-13 2021-07-13 北京字节跳动网络技术有限公司 Video-based searching method and device
CN113766330A (en) * 2021-05-26 2021-12-07 腾讯科技(深圳)有限公司 Method and device for generating recommendation information based on video
CN114786062A (en) * 2022-03-07 2022-07-22 维沃移动通信有限公司 Information recommendation method and device and electronic equipment

Also Published As

Publication number Publication date
CN114786062A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN112437353B (en) Video processing method, video processing device, electronic apparatus, and readable storage medium
US20230244363A1 (en) Screen capture method and apparatus, and electronic device
WO2023169361A1 (en) Information recommendation method and apparatus and electronic device
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN112286617B (en) Operation guidance method and device and electronic equipment
WO2024114571A1 (en) Information display method and apparatus, electronic device, and storage medium
WO2024061285A1 (en) Video playback method and device
WO2024046266A1 (en) Video management method and apparatus, electronic device, and readable storage medium
WO2023241563A1 (en) Data processing method and electronic device
WO2023011300A1 (en) Method and apparatus for recording facial expression of video viewer
WO2023284640A1 (en) Picture processing method and electronic device
CN115309487A (en) Display method, display device, electronic equipment and readable storage medium
KR20230120668A (en) Video call method and device
CN114998102A (en) Image processing method and device and electronic equipment
CN113157966A (en) Display method and device and electronic equipment
CN113593614A (en) Image processing method and device
CN107277602B (en) Information acquisition method and electronic equipment
CN115278378B (en) Information display method, information display device, electronic apparatus, and storage medium
CN111638845B (en) Animation element obtaining method and device and electronic equipment
CN115103054B (en) Information processing method, device, electronic equipment and medium
WO2024140025A1 (en) Page display method and apparatus, and device and storage medium
CN113177139A (en) Interaction method and device and electronic equipment
CN117112111A (en) Information display method and device and electronic equipment
CN117224942A (en) Game interaction method and device and electronic equipment
CN117311884A (en) Content display method, device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23765939

Country of ref document: EP

Kind code of ref document: A1