CN109922356B - Video recommendation method and device and computer-readable storage medium - Google Patents
Video recommendation method and device and computer-readable storage medium Download PDFInfo
- Publication number
- CN109922356B CN109922356B CN201910156365.6A CN201910156365A CN109922356B CN 109922356 B CN109922356 B CN 109922356B CN 201910156365 A CN201910156365 A CN 201910156365A CN 109922356 B CN109922356 B CN 109922356B
- Authority
- CN
- China
- Prior art keywords
- video
- videos
- identifier
- server
- displaying
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a video recommendation method, a video recommendation device and a computer readable storage medium, and belongs to the technical field of networks. The method comprises the following steps: playing a first video, wherein the first video is manufactured according to a plurality of second videos; sending a video query request to a server, wherein the video query request carries an identifier of each second video in a plurality of second videos, and returning an identifier of a third video by the server, wherein the third video is made according to at least one second video in the plurality of second videos; and when the identifier of the third video sent by the server is received, displaying the identifier of the third video on the playing page of the first video so as to recommend the third video. According to the invention, the correlation degree between the video content of the third video and the video content of the first video is higher, so that the accuracy of video recommendation can be greatly improved, and the video recommendation is carried out according to the video content of the currently played first video, so that the flexibility of video recommendation is higher.
Description
Technical Field
The present invention relates to the field of network technologies, and in particular, to a video recommendation method, apparatus, and computer-readable storage medium.
Background
It is a common behavior that a user browses videos on network platforms, and each network platform can also recommend videos which may be interesting to the user in real time.
In the related art, when a user browses a certain video in a network platform, the network platform will generally recommend other videos published by a user account publishing the video to the user.
However, all videos published by one user account are often not related, so that only other videos published by the user account are recommended to the user, and the accuracy and flexibility of video recommendation are low.
Disclosure of Invention
The embodiment of the invention provides a video recommendation method, a video recommendation device and a computer readable storage medium, which can solve the problem that the accuracy and the flexibility of video recommendation in the related technology are low. The technical scheme is as follows:
in a first aspect, a video recommendation method is provided, where the method includes:
playing a first video, wherein the first video is manufactured according to a plurality of second videos;
sending a video query request to a server, wherein the video query request carries an identifier of each second video in the plurality of second videos, and the server returns an identifier of a third video, and the third video is made according to at least one second video in the plurality of second videos;
and when the identifier of the third video sent by the server is received, displaying the identifier of the third video on the playing page of the first video so as to recommend the third video.
Optionally, before sending the video query request to the server, the method further includes:
and when the first operation is detected on the playing page of the first video, executing the operation of sending the video query request to the server.
Optionally, the displaying the identifier of the third video on the playing page of the first video includes:
displaying a video list on a playing page of the first video;
displaying an identification of the third video in the video list.
Optionally, after the displaying the video list on the play page of the first video, the method further includes:
hiding the video list on the playing page of the first video when a second operation is detected on the playing page of the first video.
Optionally, the displaying the identifier of the third video in the video list includes:
and if the number of the third videos is multiple, arranging and displaying the identifier of each third video in the multiple third videos in the video list according to the sequence of the production time of each third video in the multiple third videos from near to far.
Optionally, after the displaying the identifier of the third video on the play page of the first video to recommend the third video, the method further includes:
when a third operation aiming at the identification of the third video is detected, acquiring the third video from the server;
and displaying the playing page of the third video, and playing the third video in the playing page of the third video.
Optionally, the picture of the ith frame of the first video includes a picture of the ith frame of each of the plurality of second videos, the picture of the ith frame of each of the plurality of second videos is located at a different position of the ith frame of the first video, and i is a positive integer.
In a second aspect, there is provided a video recommendation apparatus, the apparatus comprising:
the first playing module is used for playing a first video, and the first video is made according to a plurality of second videos;
a sending module, configured to send a video query request to a server, where the video query request carries an identifier of each of the plurality of second videos, and the server returns an identifier of a third video, where the third video is made according to at least one of the plurality of second videos;
and the recommending module is used for displaying the identifier of the third video on the playing page of the first video when the identifier of the third video sent by the server is received so as to recommend the third video.
Optionally, the apparatus further comprises:
and the triggering module is used for triggering the sending module to send a video query request to a server when a first operation is detected on the playing page of the first video.
Optionally, the recommendation module includes:
the first display unit is used for displaying a video list on a playing page of the first video;
a second display unit for displaying the identifier of the third video in the video list.
Optionally, the apparatus further comprises:
and the hiding module is used for hiding the video list on the playing page of the first video when a second operation is detected on the playing page of the first video.
Optionally, the second display unit is configured to:
and if the number of the third videos is multiple, arranging and displaying the identifier of each third video in the multiple third videos in the video list according to the sequence of the production time of each third video in the multiple third videos from near to far.
Optionally, the apparatus further comprises:
an obtaining module, configured to obtain the third video from the server when a third operation for an identifier of the third video is detected;
and the second playing module is used for displaying the playing page of the third video and playing the third video in the playing page of the third video.
Optionally, the picture of the ith frame of the first video includes a picture of the ith frame of each of the plurality of second videos, the picture of the ith frame of each of the plurality of second videos is located at a different position of the ith frame of the first video, and i is a positive integer.
In a third aspect, a computer-readable storage medium is provided, having stored thereon instructions, which when executed by a processor, implement the steps of the method of the first aspect described above.
The technical scheme provided by the embodiment of the invention can at least bring the following beneficial effects:
and playing the first video, wherein the first video is manufactured according to the plurality of second videos. And then sending a video query request carrying the identifier of each of the plurality of second videos to the server, and returning the identifier of a third video by the server, wherein the third video is manufactured according to at least one of the plurality of second videos. And then when the identifier of the third video sent by the server is received, displaying the identifier of the third video on the playing page of the first video so as to recommend the third video. Since the correlation between the video content of the third video and the video content of the first video is high, the accuracy of video recommendation can be greatly improved. In addition, since video recommendation is performed based on the video content of the currently played first video, the flexibility of video recommendation is high.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a video recommendation method according to an embodiment of the present invention;
fig. 2 is a flowchart of another video recommendation method provided in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a video recommendation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another video recommendation apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of a video recommendation method according to an embodiment of the present invention, where the method is applied to a terminal. Referring to fig. 1, the method includes:
step 101: and playing the first video, wherein the first video is manufactured according to the plurality of second videos.
Step 102: and sending a video query request to a server, wherein the video query request carries the identifier of each second video in the plurality of second videos, and the server returns the identifier of a third video which is made according to at least one second video in the plurality of second videos.
Step 103: and when the identifier of the third video sent by the server is received, displaying the identifier of the third video on the playing page of the first video so as to recommend the third video.
In the embodiment of the invention, the first video is played, and the first video is made according to a plurality of second videos. And then sending a video query request carrying the identifier of each of the plurality of second videos to the server, and returning the identifier of a third video by the server, wherein the third video is manufactured according to at least one of the plurality of second videos. And then when the identifier of the third video sent by the server is received, displaying the identifier of the third video on the playing page of the first video so as to recommend the third video. Since the correlation between the video content of the third video and the video content of the first video is high, the accuracy of video recommendation can be greatly improved. In addition, since video recommendation is performed based on the video content of the currently played first video, the flexibility of video recommendation is high.
Optionally, before sending the video query request to the server, the method further includes:
when the first operation is detected on the playing page of the first video, the operation of sending a video query request to the server is executed.
Optionally, displaying an identifier of a third video on the playing page of the first video, including:
displaying a video list on a playing page of a first video;
an identification of the third video is displayed in the video list.
Optionally, after displaying the video list on the play page of the first video, the method further includes:
and hiding the video list on the playing page of the first video when the second operation is detected on the playing page of the first video.
Optionally, displaying an identification of the third video in the video list, including:
and if the number of the third videos is multiple, arranging and displaying the marks of each third video in the multiple third videos in a video list according to the sequence of the production time of each third video in the multiple third videos from near to far.
Optionally, after displaying the identifier of the third video on the playing page of the first video to recommend the third video, the method further includes:
when a third operation aiming at the identification of the third video is detected, the third video is obtained from the server;
and displaying the playing page of the third video, and playing the third video in the playing page of the third video.
Optionally, the picture of the ith frame of the first video includes a picture of the ith frame of each of the plurality of second videos, the picture of the ith frame of each of the plurality of second videos is located at a different position of the ith frame of the first video, and i is a positive integer.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present invention, which is not described in detail herein.
Fig. 2 is a flowchart of a video recommendation method according to an embodiment of the present invention, where the method is applied to a terminal. Referring to fig. 2, the method includes:
step 201: the first video is played.
It should be noted that the first video may be produced from a plurality of second videos. For example, the first video may be a co-shot video of the plurality of second videos, in which case the first video may show the plurality of second videos in the form of frame binning, that is, the frame of the ith frame of the first video may include a frame of the ith frame of each of the plurality of second videos, the frame of the ith frame of each of the plurality of second videos may be located at different positions of the ith frame of the first video, and i is a positive integer.
Further, the terminal may display the identification of the first video before step 201. Accordingly, the operation of step 201 may be: when the terminal detects a third operation aiming at the identifier of the first video, acquiring the first video from the server; and displaying the playing page of the first video, and playing the first video on the playing page of the first video.
It should be noted that the identifier of the first video is used to uniquely identify the first video, for example, the identifier of the first video may be a name, a thumbnail, and the like of the first video, which is not limited in this embodiment of the present invention.
In addition, the third operation is used to instruct to play the video, for example, the third operation may be a click operation, a voice operation, a sliding operation, a gesture operation, and the like, which is not limited in the embodiment of the present invention. For example, when the terminal detects a click operation for the identification of the first video, the first video may be acquired from the server.
Furthermore, the playing page of the first video is used for playing the first video. In practical application, the terminal may obtain the first video from the server and also obtain related information of the first video, for example, the related information of the first video may include user information (such as a user head portrait, a user nickname, and the like) of a user account issuing the first video, comment information of the first video, and the like. In this case, besides playing the first video, the playing page of the first video may also display information related to the first video.
When the terminal acquires the first video from the server, the terminal may send a first video acquisition request to the server and then receive the first video sent by the server.
It should be noted that the first video acquisition request is used to request to acquire a first video, and the first video acquisition request may carry an identifier of the first video.
In addition, after receiving a first video acquisition request sent by the terminal, the server can search for the first video identified by the identifier of the first video from all videos stored in the server, and return the searched first video to the terminal. And after the server finds the first video, the server can also acquire the related information of the first video and return the related information to the terminal.
It should be noted that, for any video stored in the server, the video may be a video instructed to be published by a certain user account. The server may store the video and the identification of the video, and if the video is produced from at least one other video, the server may also store the identification of each of the at least one other video used to produce the video.
For example, a user may start a function of recording a snap shot video on a terminal, then manually record a plurality of second videos or locally select a plurality of second videos, then make the plurality of second videos into a first video, and then the terminal may upload the first video to a server using a logged-in user account to implement publishing of the first video. And when the terminal uploads the first video to the server, the terminal can also send the identifier of the first video and the identifier of each of the plurality of second videos to the server, so that the server can correspondingly store the first video, the identifier of the first video and the identifier of each of the plurality of second videos.
Step 202: and sending a video query request to a server.
It should be noted that the video query request carries an identifier of each of the plurality of second videos, and the video query request is used to request to acquire an identifier of a third video.
In addition, the identifier of the third video is used for uniquely identifying the third video, and the third video is produced according to at least one of the plurality of second videos, so that the correlation between the video content of the third video and the video content of the first video is high, and the number of the third videos can be one or more. For example, the plurality of second videos are video a and video B, and the third video may be a video produced according to video a, or a video produced according to video B, or a video produced according to video a and video B.
Moreover, after receiving the video query request sent by the terminal, the server may search, from all videos stored in the server, a third video stored in correspondence with the identifier of at least one of the plurality of second videos, and return the identifier of the searched third video to the terminal.
Further, when the terminal sends the video query request to the server, the terminal may send the video query request to the server again when the first operation is detected on the play page of the first video.
It should be noted that the first operation is used to instruct to perform video recommendation, for example, the first operation may be a click operation, a voice operation, a slide operation, a gesture operation, and the like, which is not limited in this embodiment of the present invention.
For example, the terminal may transmit a video query request to the server when a right-slide operation is detected on an arbitrary area of a play page of the first video.
Step 203: and when the identifier of the third video sent by the server is received, displaying the identifier of the third video on the playing page of the first video so as to recommend the third video.
It should be noted that, in the embodiment of the present invention, while the first video produced from the plurality of second videos is played, the third video produced from at least one of the plurality of second videos may be recommended on the playing page of the first video. Since the correlation between the video content of the third video and the video content of the first video is high, the accuracy of video recommendation can be greatly improved. In addition, since video recommendation is performed based on the video content of the currently played first video, the flexibility of video recommendation is high.
When the terminal displays the identifier of the third video on the playing page of the first video, the terminal may display the video list on the playing page of the first video first, and then display the identifier of the third video in the video list.
It should be noted that the video list is a list for displaying an identifier of a recommended video related to a currently played video. The video list can be displayed in a preset area on a playing page of the first video; or, when the terminal detects the first operation on the play page of the first video and sends the video query request to the server, the video list may also be displayed in the operation area of the first operation on the play page of the first video, which is not limited in the embodiment of the present invention.
When the terminal displays the video list on the playing page of the first video, the video list can be displayed on the playing page of the first video with animation effects such as a drawer animation effect, and the like.
When the terminal displays the identifiers of the third videos in the video list, if the number of the third videos is multiple, the identifiers of each third video in the multiple third videos are arranged and displayed in the video list according to the sequence of the production time of each third video in the multiple third videos from near to far.
It should be noted that the identifier of each of the plurality of third videos may be displayed in the video list in a row or a column. If the number of the third videos is large, the identifier of each of the third videos in the plurality of third videos may also be slid left and right or slid up and down in the video list, which is not limited in the embodiment of the present invention.
Further, after the terminal displays the video list on the play page of the first video, the terminal may further hide the video list on the play page of the first video when the second operation is detected on the play page of the first video. Thereafter, if the terminal detects the first operation on the play page of the first video, the video list may be displayed again on the play page of the first video.
It should be noted that the second operation is used to indicate the hidden video list, for example, the second operation may be a click operation, a voice operation, a sliding operation, a gesture operation, and the like, which is not limited in this embodiment of the present invention.
For example, the terminal may hide the video list on the play page of the first video when a left-swipe operation is detected on an arbitrary area of the play page of the first video. Thereafter, if the terminal detects a right-slide operation on an arbitrary area of the play page of the first video, the video list may be redisplayed on the play page of the first video.
Further, after step 203, when a third operation for the identification of the third video is detected, the third video may be acquired from the server; and displaying the playing page of the third video, and playing the third video in the playing page of the third video.
It should be noted that the playing page of the third video is used for playing the third video. In practical application, the terminal may obtain the third video from the server and also obtain related information of the third video, for example, the related information of the third video may include user information (such as a user head portrait, a user nickname, and the like) of a user account issuing the third video, comment information of the third video, and the like. In this case, besides playing the third video, the playing page of the third video may also display information related to the third video.
When the terminal acquires the third video from the server, the terminal may send a third video acquisition request to the server and then receive the third video sent by the server.
It should be noted that the third video acquisition request is used to request to acquire a third video, and the third video acquisition request may carry an identifier of the third video.
In addition, after receiving a third video acquisition request sent by the terminal, the server can search for a third video identified by the identifier of the third video from all videos stored in the server, and return the searched third video to the terminal. And after the server finds the third video, the server can also acquire the related information of the third video and return the related information to the terminal.
In the embodiment of the invention, the first video is played, and the first video is made according to a plurality of second videos. And then sending a video query request carrying the identifier of each of the plurality of second videos to the server, and returning the identifier of a third video by the server, wherein the third video is manufactured according to at least one of the plurality of second videos. And then when the identifier of the third video sent by the server is received, displaying the identifier of the third video on the playing page of the first video so as to recommend the third video. Since the correlation between the video content of the third video and the video content of the first video is high, the accuracy of video recommendation can be greatly improved. In addition, since video recommendation is performed based on the video content of the currently played first video, the flexibility of video recommendation is high.
Fig. 3 is a schematic structural diagram of a video recommendation apparatus according to an embodiment of the present invention. Referring to fig. 3, the apparatus includes: a first play module 301, a sending module 302 and a recommendation module 303.
A first playing module 301, configured to play a first video, where the first video is made according to a plurality of second videos;
a sending module 302, configured to send a video query request to a server, where the video query request carries an identifier of each of a plurality of second videos, and the server returns an identifier of a third video, where the third video is made according to at least one of the plurality of second videos;
and the recommending module 303 is configured to, when receiving the identifier of the third video sent by the server, display the identifier of the third video on the playing page of the first video to recommend the third video.
Optionally, the apparatus further comprises:
and the triggering module is used for triggering the sending module to send a video query request to the server when the first operation is detected on the playing page of the first video.
Optionally, the recommending module 303 includes:
the first display unit is used for displaying a video list on a playing page of a first video;
and the second display unit is used for displaying the identifier of the third video in the video list.
Optionally, the apparatus further comprises:
and the hiding module is used for hiding the video list on the playing page of the first video when the second operation is detected on the playing page of the first video.
Optionally, the second display unit is configured to:
and if the number of the third videos is multiple, arranging and displaying the marks of each third video in the multiple third videos in a video list according to the sequence of the production time of each third video in the multiple third videos from near to far.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring a third video from the server when a third operation aiming at the identifier of the third video is detected;
and the second playing module is used for displaying the playing page of the third video and playing the third video in the playing page of the third video.
Optionally, the picture of the ith frame of the first video includes a picture of the ith frame of each of the plurality of second videos, the picture of the ith frame of each of the plurality of second videos is located at a different position of the ith frame of the first video, and i is a positive integer.
In the embodiment of the invention, the first video is played, and the first video is made according to a plurality of second videos. And then sending a video query request carrying the identifier of each of the plurality of second videos to the server, and returning the identifier of a third video by the server, wherein the third video is manufactured according to at least one of the plurality of second videos. And then when the identifier of the third video sent by the server is received, displaying the identifier of the third video on the playing page of the first video so as to recommend the third video. Since the correlation between the video content of the third video and the video content of the first video is high, the accuracy of video recommendation can be greatly improved. In addition, since video recommendation is performed based on the video content of the currently played first video, the flexibility of video recommendation is high.
It should be noted that: in the video recommendation apparatus provided in the foregoing embodiment, only the division of the functional modules is illustrated in the exemplary embodiment, in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the video recommendation apparatus and the video recommendation method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
Fig. 4 is a schematic structural diagram of a video recommendation apparatus according to an embodiment of the present invention. Referring to fig. 4, the apparatus may be a terminal 400, and the terminal 400 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal 400 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, the terminal 400 includes: a processor 401 and a memory 402.
In some embodiments, the terminal 400 may further optionally include: a peripheral interface 403 and at least one peripheral. The processor 401, memory 402 and peripheral interface 403 may be connected by bus or signal lines. Each peripheral may be connected to the peripheral interface 403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 404, touch screen display 405, camera 406, audio circuitry 407, positioning components 408, and power supply 409.
The peripheral interface 403 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 401 and the memory 402. In some embodiments, processor 401, memory 402, and peripheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 401, the memory 402, and the peripheral interface 403 may be implemented on separate chips or circuit boards, which are not limited in this application.
The Radio Frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, etc. The radio frequency circuitry 404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 405 is a touch display screen, the display screen 405 also has the ability to capture touch signals on or over the surface of the display screen 405. The touch signal may be input to the processor 401 as a control signal for processing. At this point, the display screen 405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 405 may be one, disposed on the front panel of the terminal 400; in other embodiments, the display screen 405 may be at least two, respectively disposed on different surfaces of the terminal 400 or in a folded design; in still other embodiments, the display 405 may be a flexible display disposed on a curved surface or a folded surface of the terminal 400. Even further, the display screen 405 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 405 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 406 is used to capture images or video. Optionally, camera assembly 406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 401 for processing, or inputting the electric signals to the radio frequency circuit 404 for realizing voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 400. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 401 or the radio frequency circuit 404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 407 may also include a headphone jack.
The positioning component 408 is used to locate the current geographic position of the terminal 400 for navigation or LBS (Location Based Service). The Positioning component 408 may be a Positioning component based on the GPS (Global Positioning System) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
The power supply 409 is used to supply power to the various components in the terminal 400. The power source 409 may be alternating current, direct current, disposable or rechargeable. When power source 409 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 400 also includes one or more sensors 410. The one or more sensors 410 include, but are not limited to: acceleration sensor 411, gyro sensor 412, pressure sensor 413, fingerprint sensor 414, optical sensor 415, and proximity sensor 416.
The acceleration sensor 411 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 400. For example, the acceleration sensor 411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 401 may control the touch display screen 405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 411. The acceleration sensor 411 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 412 may detect a body direction and a rotation angle of the terminal 400, and the gyro sensor 412 may cooperate with the acceleration sensor 411 to acquire a 3D motion of the terminal 400 by the user. From the data collected by the gyro sensor 412, the processor 401 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 413 may be disposed on a side bezel of the terminal 400 and/or a lower layer of the touch display screen 405. When the pressure sensor 413 is disposed on the side frame of the terminal 400, a user's holding signal to the terminal 400 can be detected, and the processor 401 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 413. When the pressure sensor 413 is disposed at the lower layer of the touch display screen 405, the processor 401 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 414 is used for collecting a fingerprint of the user, and the processor 401 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 414 may be disposed on the front, back, or side of the terminal 400. When a physical key or vendor Logo is provided on the terminal 400, the fingerprint sensor 414 may be integrated with the physical key or vendor Logo.
The optical sensor 415 is used to collect the ambient light intensity. In one embodiment, the processor 401 may control the display brightness of the touch display screen 405 based on the ambient light intensity collected by the optical sensor 415. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 405 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 405 is turned down. In another embodiment, the processor 401 may also dynamically adjust the shooting parameters of the camera assembly 406 according to the ambient light intensity collected by the optical sensor 415.
The proximity sensor 416, also referred to as a distance sensor, is typically disposed on a front panel of the terminal 400. The proximity sensor 416 is used to collect the distance between the user and the front surface of the terminal 400. In one embodiment, when the proximity sensor 416 detects that the distance between the user and the front surface of the terminal 400 gradually decreases, the processor 401 controls the touch display screen 405 to switch from the bright screen state to the dark screen state; when the proximity sensor 416 detects that the distance between the user and the front surface of the terminal 400 gradually becomes larger, the processor 401 controls the touch display screen 405 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is not intended to be limiting of terminal 400 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (15)
1. A method for video recommendation, the method comprising:
playing a first video, wherein the first video is manufactured according to a plurality of second videos, and the first video shows the second videos in a picture cellular mode;
sending a video query request to a server, wherein the video query request carries an identifier of each second video in the plurality of second videos, and the server returns an identifier of a third video, and the third video is made according to the plurality of second videos;
and when the identifier of the third video sent by the server is received, displaying the identifier of the third video on the playing page of the first video so as to recommend the third video.
2. The method of claim 1, wherein prior to sending the video query request to the server, further comprising:
and when the first operation is detected on the playing page of the first video, executing the operation of sending the video query request to the server.
3. The method of claim 1, wherein said displaying the identification of the third video on the play page of the first video comprises:
displaying a video list on a playing page of the first video;
displaying an identification of the third video in the video list.
4. The method of claim 3, wherein after displaying the list of videos on the play page for the first video, further comprising:
hiding the video list on the playing page of the first video when a second operation is detected on the playing page of the first video.
5. The method of claim 3, wherein said displaying an identification of said third video in said video list comprises:
and if the number of the third videos is multiple, arranging and displaying the identifier of each third video in the multiple third videos in the video list according to the sequence of the production time of each third video in the multiple third videos from near to far.
6. The method of claim 1, wherein after displaying the identification of the third video on the play page of the first video for recommendation of the third video, further comprising:
when a third operation aiming at the identification of the third video is detected, acquiring the third video from the server;
and displaying the playing page of the third video, and playing the third video in the playing page of the third video.
7. The method according to any one of claims 1 to 6, wherein the picture of the i-th frame of the first video comprises a picture of the i-th frame of each of the plurality of second videos, the picture of the i-th frame of each of the plurality of second videos being located at a different position of the i-th frame of the first video, and i is a positive integer.
8. A video recommendation apparatus, characterized in that the apparatus comprises:
the first playing module is used for playing a first video, the first video is manufactured according to a plurality of second videos, and the first video displays the second videos in a picture division mode;
the sending module is used for sending a video query request to a server, wherein the video query request carries an identifier of each second video in the plurality of second videos, and the server returns an identifier of a third video which is made according to the plurality of second videos;
and the recommending module is used for displaying the identifier of the third video on the playing page of the first video when the identifier of the third video sent by the server is received so as to recommend the third video.
9. The apparatus of claim 8, wherein the apparatus further comprises:
and the triggering module is used for triggering the sending module to send a video query request to a server when a first operation is detected on the playing page of the first video.
10. The apparatus of claim 8, wherein the recommendation module comprises:
the first display unit is used for displaying a video list on a playing page of the first video;
a second display unit for displaying the identifier of the third video in the video list.
11. The apparatus of claim 10, wherein the apparatus further comprises:
and the hiding module is used for hiding the video list on the playing page of the first video when a second operation is detected on the playing page of the first video.
12. The apparatus of claim 10, wherein the second display unit is to:
and if the number of the third videos is multiple, arranging and displaying the identifier of each third video in the multiple third videos in the video list according to the sequence of the production time of each third video in the multiple third videos from near to far.
13. The apparatus of claim 8, wherein the apparatus further comprises:
an obtaining module, configured to obtain the third video from the server when a third operation for an identifier of the third video is detected;
and the second playing module is used for displaying the playing page of the third video and playing the third video in the playing page of the third video.
14. The apparatus according to any one of claims 8-13, wherein the pictures of the ith frame of the first video comprise pictures of the ith frame of each of the plurality of second videos, the pictures of the ith frame of each of the plurality of second videos are located at different positions of the ith frame of the first video, and i is a positive integer.
15. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910156365.6A CN109922356B (en) | 2019-03-01 | 2019-03-01 | Video recommendation method and device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910156365.6A CN109922356B (en) | 2019-03-01 | 2019-03-01 | Video recommendation method and device and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109922356A CN109922356A (en) | 2019-06-21 |
CN109922356B true CN109922356B (en) | 2021-07-09 |
Family
ID=66962957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910156365.6A Active CN109922356B (en) | 2019-03-01 | 2019-03-01 | Video recommendation method and device and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109922356B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688571A (en) * | 2019-09-20 | 2020-01-14 | 北京字节跳动网络技术有限公司 | List stream implementation method and device, electronic equipment and storage medium |
CN111061913B (en) * | 2019-12-16 | 2020-11-20 | 腾讯科技(深圳)有限公司 | Video push method, apparatus, system, computer-readable storage medium and device |
CN111711838B (en) * | 2020-06-23 | 2023-03-31 | 广州酷狗计算机科技有限公司 | Video switching method, device, terminal, server and storage medium |
CN113179289B (en) * | 2020-11-11 | 2021-10-01 | 苏州知云创宇信息科技有限公司 | A method and system for uploading conference video information based on cloud computing service |
CN113613053B (en) * | 2021-07-26 | 2023-03-21 | 北京达佳互联信息技术有限公司 | Video recommendation method and device, electronic equipment and storage medium |
CN113434729B (en) * | 2021-08-04 | 2024-01-30 | 深圳墨世科技有限公司 | Video related information aggregation acquisition method and device and terminal equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916705A (en) * | 2014-03-13 | 2014-07-09 | 三星电子(中国)研发中心 | Method and device for achieving mosaic navigation at electronic terminal |
CN104967902A (en) * | 2014-09-17 | 2015-10-07 | 腾讯科技(北京)有限公司 | Video sharing method, apparatus and system |
CN106993226A (en) * | 2017-03-17 | 2017-07-28 | 深圳市金立通信设备有限公司 | A kind of method and terminal of recommendation video |
CN107666623A (en) * | 2017-03-07 | 2018-02-06 | 腾讯科技(深圳)有限公司 | The methods of exhibiting and device of broadcast information |
CN107920274A (en) * | 2017-10-27 | 2018-04-17 | 优酷网络技术(北京)有限公司 | A kind of method for processing video frequency, client and server |
CN108573032A (en) * | 2018-03-27 | 2018-09-25 | 麒麟合盛网络技术股份有限公司 | Video recommendation method and device |
CN108694217A (en) * | 2017-04-12 | 2018-10-23 | 合信息技术(北京)有限公司 | The label of video determines method and device |
CN109257622A (en) * | 2018-11-01 | 2019-01-22 | 广州市百果园信息技术有限公司 | A kind of audio/video processing method, device, equipment and medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916718B (en) * | 2013-01-05 | 2018-12-11 | 腾讯科技(北京)有限公司 | The method and system of video playing is carried out based on video clip |
US20170188103A1 (en) * | 2015-12-29 | 2017-06-29 | Le Holdings (Beijing) Co., Ltd. | Method and device for video recommendation based on face recognition |
CN106131627B (en) * | 2016-07-07 | 2019-03-26 | 腾讯科技(深圳)有限公司 | A kind of method for processing video frequency, apparatus and system |
CN108632541B (en) * | 2017-03-20 | 2021-07-20 | 杭州海康威视数字技术股份有限公司 | Multi-video-clip merging method and device |
-
2019
- 2019-03-01 CN CN201910156365.6A patent/CN109922356B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916705A (en) * | 2014-03-13 | 2014-07-09 | 三星电子(中国)研发中心 | Method and device for achieving mosaic navigation at electronic terminal |
CN104967902A (en) * | 2014-09-17 | 2015-10-07 | 腾讯科技(北京)有限公司 | Video sharing method, apparatus and system |
CN107666623A (en) * | 2017-03-07 | 2018-02-06 | 腾讯科技(深圳)有限公司 | The methods of exhibiting and device of broadcast information |
CN106993226A (en) * | 2017-03-17 | 2017-07-28 | 深圳市金立通信设备有限公司 | A kind of method and terminal of recommendation video |
CN108694217A (en) * | 2017-04-12 | 2018-10-23 | 合信息技术(北京)有限公司 | The label of video determines method and device |
CN107920274A (en) * | 2017-10-27 | 2018-04-17 | 优酷网络技术(北京)有限公司 | A kind of method for processing video frequency, client and server |
CN108573032A (en) * | 2018-03-27 | 2018-09-25 | 麒麟合盛网络技术股份有限公司 | Video recommendation method and device |
CN109257622A (en) * | 2018-11-01 | 2019-01-22 | 广州市百果园信息技术有限公司 | A kind of audio/video processing method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109922356A (en) | 2019-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109874312B (en) | Method and device for playing audio data | |
CN109922356B (en) | Video recommendation method and device and computer-readable storage medium | |
CN109348247B (en) | Method and device for determining audio and video playing time stamp and storage medium | |
CN108737897B (en) | Video playing method, device, equipment and storage medium | |
CN108965922B (en) | Video cover generation method and device and storage medium | |
CN109451343A (en) | Video sharing method, apparatus, terminal and storage medium | |
CN109862412B (en) | Method and device for video co-shooting and storage medium | |
CN111083526B (en) | Video transition method and device, computer equipment and storage medium | |
CN109144346B (en) | Song sharing method and device and storage medium | |
CN111753784A (en) | Video special effect processing method and device, terminal and storage medium | |
CN113204672B (en) | Resource display method, device, computer equipment and medium | |
CN110248236B (en) | Video playing method, device, terminal and storage medium | |
CN112667835B (en) | Works processing method, device, electronic device and storage medium | |
CN110769313B (en) | Video processing method and device and storage medium | |
CN110868636B (en) | Video material intercepting method and device, storage medium and terminal | |
CN111142838A (en) | Audio playing method and device, computer equipment and storage medium | |
CN109982129B (en) | Short video playing control method and device and storage medium | |
CN111370096A (en) | Interactive interface display method, device, equipment and storage medium | |
CN111092991A (en) | Lyric display method and device and computer storage medium | |
CN113032590A (en) | Special effect display method and device, computer equipment and computer readable storage medium | |
CN108966026B (en) | Method and device for making video file | |
CN112135256A (en) | Method, device and equipment for determining movement track and readable storage medium | |
CN109491636A (en) | Method for playing music, device and storage medium | |
CN111464829B (en) | Method, device and equipment for switching media data and storage medium | |
CN111369434B (en) | Method, device, equipment and storage medium for generating spliced video covers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |