WO2022083199A1 - 视频处理方法、装置、电子设备和计算机可读存储介质 - Google Patents
视频处理方法、装置、电子设备和计算机可读存储介质 Download PDFInfo
- Publication number
- WO2022083199A1 WO2022083199A1 PCT/CN2021/108085 CN2021108085W WO2022083199A1 WO 2022083199 A1 WO2022083199 A1 WO 2022083199A1 CN 2021108085 W CN2021108085 W CN 2021108085W WO 2022083199 A1 WO2022083199 A1 WO 2022083199A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- user
- pop
- preset
- interactive operation
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 64
- 230000002452 interceptive effect Effects 0.000 claims abstract description 155
- 238000012545 processing Methods 0.000 claims description 63
- 238000004590 computer program Methods 0.000 claims description 16
- 230000003068 static effect Effects 0.000 claims description 4
- 238000000034 method Methods 0.000 description 44
- 238000010586 diagram Methods 0.000 description 19
- 230000008569 process Effects 0.000 description 18
- 238000001514 detection method Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 13
- 230000003993 interaction Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000002045 lasting effect Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008921 facial expression Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
- H04N21/4316—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4333—Processing operations in response to a pause request
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/4722—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4882—Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/654—Transmission by server directed to the client
- H04N21/6547—Transmission by server directed to the client comprising parameters, e.g. for client setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/812—Monomedia components thereof involving advertisement data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8126—Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
- H04N21/8133—Monomedia 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8545—Content authoring for generating interactive applications
Definitions
- the present disclosure relates to the field of information technology, and in particular, to a video processing method, apparatus, electronic device, computer-readable storage medium, computer program, and computer program product.
- applications installed in smart terminals can be used to play various different types of videos.
- the application program installed on the smart terminal is not limited to playing video, for example, it may also have other functions, such as an instant messaging function, a payment function, and the like.
- the smart terminal plays the video from the start frame to the end frame.
- the embodiments of the present disclosure provide a video processing method, apparatus, electronic device and storage medium, so that a user can interact with a video playback device while watching a video , in the process of interaction, the user can learn other information related to the video, for example, the related information of the target object, thereby improving the user experience.
- a video processing method comprising: playing a video; when the video is played to a preset progress, pausing the playing of the video; displaying interactive operation guidance information; If the interactive operation of the first user is detected within time, a pop-up window is displayed, and the pop-up window includes the target object; according to the first operation of the first user on the pop-up window, a target page is displayed, and the target page includes the target object. information about the object.
- a video processing method including: receiving configuration information sent by a first terminal, where the configuration information includes a second user's feedback on the video, preset progress, interactive operation guidance information, and pop-up windows. , and target page configuration information; according to the configuration information, send the video, the preset progress, the interactive operation guidance information, the pop-up window, and the target page to the second terminal.
- a video processing apparatus including: a player for playing a video; a controller for pausing the playing of the video when the video reaches a preset progress ; a display for displaying interactive operation guidance information; a processor for detecting an interactive operation of the first user within a preset time; the display is also used for: when the processor detects a During the interactive operation of the first user, a pop-up window is displayed, and the pop-up window includes the target object; and according to the first operation of the first user on the pop-up window, a target page is displayed, and the target page includes the relevant information of the target object. information.
- a video processing apparatus including: a receiver configured to receive configuration information sent by a first terminal, where the configuration information includes a second user's response to the video, preset progress, and interactive operations Guidance information, pop-up window, and target page configuration information; a transmitter, configured to send the video, the preset progress, the interactive operation guidance information, the pop-up window, and the target according to the configuration information The page is sent to the second terminal.
- an electronic device includes: one or more processors; a memory for storing one or more programs; when the one or more programs are stored The one or more processors execute, so that the one or more processors implement the video processing method described in any one of the foregoing embodiments.
- a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the video processing method described in any one of the foregoing embodiments.
- a computer program comprising: instructions which, when executed by a processor, cause the processor to perform the video processing method according to any one of the above embodiments.
- a computer program product comprising instructions which, when executed by a processor, cause the processor to perform the video processing method according to any of the above embodiments.
- the technical solution provided by the embodiment of the present disclosure has at least the following advantages: the video processing method provided by the embodiment of the present disclosure, by playing the video, when the video is played to a preset progress, the video is paused to play, And the interactive operation guide information is displayed, and under the guidance of the interactive operation guide information, the user who watches the video may perform corresponding interactive operations. If the user's interactive operation is detected within the preset time, a pop-up window is displayed, and the pop-up window may include the target object. Further, the target page may be displayed according to the user's operation on the pop-up window, and the target page includes the relevant information of the target object. information, so that the user can interact with the video playback device during the process of watching the video. During the interaction process, the user can learn other information related to the video, such as the relevant information of the target object, thereby improving the user experience. experience.
- FIG. 1 is a flowchart of a video processing method in an embodiment of the disclosure
- FIG. 2 is a schematic diagram of an application scenario in an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of a user interface in an embodiment of the present disclosure.
- FIG. 4 is a schematic diagram of another user interface in an embodiment of the disclosure.
- FIG. 5 is a schematic diagram of another user interface in an embodiment of the present disclosure.
- FIG. 6 is a schematic diagram of yet another user interface in an embodiment of the disclosure.
- FIG. 7 is a flowchart of another video processing method in an embodiment of the disclosure.
- FIG. 8 is a flowchart of another video processing method in an embodiment of the disclosure.
- FIG. 9 is a flowchart of still another video processing method in an embodiment of the disclosure.
- FIG. 10 is a schematic diagram of another application scenario in an embodiment of the disclosure.
- FIG. 11 is a schematic diagram of yet another user interface in an embodiment of the disclosure.
- FIG. 12 is a schematic diagram of another user interface in an embodiment of the disclosure.
- FIG. 13 is a schematic structural diagram of a video processing apparatus according to an embodiment of the disclosure.
- FIG. 14 is a schematic structural diagram of another video processing apparatus in an embodiment of the disclosure.
- FIG. 15 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
- the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
- the term “based on” is “based at least in part on.”
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
- the way of playing the video from the start frame to the end frame lacks interaction with the user, thereby reducing the user experience.
- the following embodiments can be used to realize the technical solutions of the present disclosure.
- FIG. 1 is a flowchart of a video processing method in an embodiment of the present disclosure.
- This embodiment is applicable to the case where video processing is performed in a client.
- the method may be executed by a video processing apparatus, and the apparatus may use software and/or By means of hardware, the device can be configured in electronic devices, such as mobile terminals, including mobile phones, computers or tablet computers, wearable devices, smart home devices, and the like.
- this embodiment may be applicable to the case where video processing is performed in the server, the method may be executed by a video processing apparatus, the apparatus may be implemented in software and/or hardware, and the apparatus may be configured in an electronic device, such as a server .
- the method may include S101 , playing a video.
- various application programs may be installed on the terminal 21 , and the server 22 corresponding to the application program may send video to the terminal 21 .
- the terminal 21 can play the video after receiving the video.
- the terminal 21 may locally cache the video, and the terminal 21 plays the video according to the user's playback operation of the local video.
- the terminal 21 includes a video player 30 for playing a video.
- the video player 30 may be a video player provided by an application.
- the video player 30 may include a video playback progress display bar 31 , a playback control button 32 , a video volume control button 33 and a full screen control button 34 .
- the terminal 21 can play the video in full screen according to the user's operation of the full screen control button 34 .
- the user's operation on the full-screen control button 34 is not limited, for example, it may be a single click, a double click, a long press, and the like.
- the video processing apparatus in the background of the terminal 21 can acquire the playing progress of the video in real time.
- a video consists of multiple frames of images, which are played in sequence with a certain frequency.
- the duration can be used as the total duration of the video, and the playback progress of the video can be the ratio of the already played part duration to the total duration of the video.
- the video processing apparatus may control the video player 30 to pause the playback of the video.
- the preset progress may be a progress other than the first m seconds and the last n seconds of the video.
- the total duration of the video currently played by the video player 30 is 72 seconds, and when the playback progress of the video is greater than or equal to 4 seconds and less than or equal to 67 seconds, the video processing apparatus may control the video player 30 to pause the playback the video.
- the video processing apparatus may display interactive operation guidance information in the user interface of the terminal 21 .
- the interactive operation guidance information is used to guide the user of the terminal 21 to perform an interactive operation or an interactive operation in the user interface.
- the user of the terminal 21 may be recorded as the first user, and the first user may be the user who watches the video.
- the first user may perform a corresponding interactive operation or interactive operation according to the guidance of the interactive operation guidance information, or may not follow the interactive operation.
- the guidance of the guidance information performs corresponding interactive operations or interactive operations.
- the preset time may include the time or duration that the interactive operation guidance information is displayed in the user interface, and/or the preset time may also include other time or duration set according to actual needs.
- a specific time or a specific period of time is additionally added, so that the user can make an interactive operation decision.
- the video processing device can detect whether the first user has performed a corresponding interactive operation or interactive operation in the user interface within the preset time; if the video processing device detects the interactive operation or interaction of the first user within the preset time operation, a pop-up window is displayed in the user interface, and the pop-up window includes the target object.
- the interactive operation includes: a click operation.
- the video processing apparatus acquires the playing progress of the video in real time.
- the video processing apparatus controls the video player 30 to pause playing the video.
- the video player 30 displays a frame of image corresponding to the playback progress, for example, the image includes the object 41 .
- the video processing apparatus may display interactive operation guidance information in the user interface of the terminal 21 . It can be understood that the video processing apparatus may display the interactive operation guidance information while pausing the playback of the video, or the video processing apparatus may further display the interaction operation guidance information after pausing the playback of the video.
- the interactive operation guidance information includes a dynamic icon, a static icon or text information for guiding the first user to perform an interactive operation.
- the interactive operation guidance information includes an icon 42 as shown in FIG. 4 , and the icon 42 may be a static icon or a dynamic icon.
- the icon 42 may present a click gesture of a dynamic effect, and the click gesture of the dynamic effect may be repeated several times, each lasting several seconds. For example, the click gesture of the dynamic effect can be repeated 3 times, each lasting 2 seconds.
- the interactive operation guidance information may also include text information, for example, "click for a surprise”.
- the first user may click on the user interface.
- the video processing apparatus detects the click operation of the first user in the user interface, and further displays the pop-up window 43 .
- Objects 44 may be displayed in the pop-up window 43 .
- the object 41 and the object 44 may or may not be related. Among them, the object 44 can be recorded as the target object.
- the video continues to be played.
- the first user may not be influenced by the icon 42 and the textual information.
- the first user may not perform any operation on the user interface.
- the video processing apparatus does not detect the interactive operation of the first user within the preset time when the icon 42 and the text information are displayed, continue Play the video, which means the video resumes from where it was paused.
- the pop-up window 43 may further include a button 45 .
- the video processing apparatus may jump to the target page according to the first user's operation on the button 45 , or the video processing apparatus may jump to the target page according to the first user's operation on the area other than the close icon 46 in the pop-up window 43 .
- jumping to the target page may refer to jumping from displaying the popup window 43 to displaying the target page.
- the target page may include relevant information of the target object.
- the target page may be a detail page or a purchase page of the target object.
- the detail page may display some description information of the target object, such as size, size, price, picture, function, etc. In some embodiments, some description information of the target object may also be displayed on the purchase page.
- this embodiment does not limit the specific operation of the first user on the button 45 or the specific operation of the first user on the area other than the close icon 46 in the pop-up window 43, for example, it may be click, double-click, long-press, voice Recognition, gesture recognition, facial expression recognition, etc.
- the operation that the first user can trigger the terminal 21 to jump from the pop-up window 43 to the target page is not limited to the operation of the button 45 or the operation of the area other than the close icon 46 in the pop-up window 43, for example , and other operations are possible.
- the operation that the first user triggers the terminal 21 to jump from the pop-up window 43 to the target page may be recorded as the first operation.
- steps S101-S105 can also be performed again.
- steps S101-S105 may be performed one or more times. That is to say, pausing the playback and displaying the interactive operation guide information may be performed separately in multiple different preset progresses.
- the video processing method by playing a video, when the video is played to a preset progress, the video is paused and the interactive operation guide information is displayed. Under the guidance of the interactive operation guidance information, the user who watches the video may perform corresponding interactive operations.
- a pop-up window is displayed, and the pop-up window may include a target object.
- a target page can be displayed according to the user's operation on the pop-up window, and the target page includes relevant information of the target object, so that the user can interact with the video playback device during the process of watching the video.
- the user can learn other information related to the video, for example, information about the target object, thereby improving the user experience.
- the video includes an advertisement video
- the target object is an advertisement product
- the target page is used to display relevant information of the advertisement product.
- the video played by the video player 30 includes an advertisement video, which may be an advertisement video about shoes, for example.
- the video processing apparatus acquires the playing progress of the advertisement video in real time.
- the playing progress is the preset progress, that is, the video is played to the preset progress
- the video processing apparatus controls the video player 30 to pause playing the advertisement video.
- the video player 30 displays a frame of image corresponding to the playing progress, for example, the image includes the shoes 51 .
- the video processing apparatus may display interactive operation guidance information in the user interface of the terminal 21 .
- the interactive operation guidance information includes the icon 52 as shown in FIG. 5 and the text information "click to be surprised".
- the user of the terminal 21, that is, the first user can click on the user interface.
- the video processing apparatus detects the click operation of the first user in the user interface, and further displays the pop-up window 53 .
- the pop-up window 53 displays shoes 54 , a buy button 55 and a close button 56 .
- the shoes 54 may be advertising products.
- the shoes 54 and 51 may be the same type of shoes, or the shoes 54 and 51 may be different types of shoes.
- the video processing apparatus can jump from the pop-up window 53 to the target page according to the click operation of the first user.
- the target page is used to display relevant information of the shoes 54 , that is, the target page is a page associated with the target object shoes 54 , for example, the target page may be a purchase page of the shoes 54 .
- the advertisement video is paused, and interactive operation guide information is displayed; under the guidance of the interactive operation guide information, watch The user of the ad video may interact accordingly.
- a pop-up window will be displayed, and the pop-up window may include an advertisement product. Further, a target page associated with the advertisement product, such as a purchase page, may be displayed according to the user's operation on the pop-up window. , so that the user can interact with the playback device of the advertisement video while watching the advertisement video. In the process of interaction, users can purchase advertising products, thereby improving the user experience.
- the videos described in the embodiments of the present disclosure are not limited to advertisement videos, but may also include other various types of videos, and other various types of videos may also use the videos provided by the embodiments of the present disclosure.
- the processing method to realize the interaction with the user is not limited to advertisement videos, but may also include other various types of videos, and other various types of videos may also use the videos provided by the embodiments of the present disclosure.
- the method further includes: closing the pop-up window according to the second operation of the first user on the pop-up window or the third operation of the first user on the area outside the pop-up window; continuing to play the video.
- the terminal 21 when the terminal 21 displays the pop-up window 43 or the pop-up window 53 , the terminal 21 can control the pop-up window to close according to the second operation of the first user on the close icon 46 or the close icon 47 , and Resume a paused video after closing the popup.
- the terminal 21 may also control the pop-up window to close according to the third operation performed by the first user on the area outside the pop-up window 43 or the pop-up window 53 .
- the second operation and the third operation are not specifically limited here, for example, it may be a click, a double-click, or the like.
- the video processing method provided by the embodiment of the present disclosure controls the pop-up window to close according to the first user's closing operation on the pop-up window, and continues to play the paused video, so that the user watching the video can close the pop-up window by closing the
- the pop-up window can continue to watch the video, preventing the pop-up window from affecting the user to continue watching the video, and further improving the user experience.
- displaying a pop-up window including: if the interactive operation of the first user in the preset area is detected within the preset time, A pop-up window is displayed.
- the terminal 21 displays the icon 42 or the icon 52 and the text information “click will be pleasantly surprised”, if the preset time (for example, the icon 42 or the icon 52 and the text information display If the terminal 21 detects an interactive operation of the first user, such as a click operation, within the preset time), the terminal 21 can further detect whether the interactive operation is within the preset area of the user interface. When the terminal 21 determines that the interactive operation is within the preset area, the pop-up window 43 or the pop-up window 53 is displayed.
- the preset area may be a preset area around the icon 42 or the icon 52, or other preset areas in the user interface.
- the preset area around the icon 52 may be a certain point on the icon 52, for example, an area centered on the center point.
- the terminal 21 when the terminal 21 detects the interactive operation of the first user in the preset area, the terminal 21 can also perform vibration feedback and display a pop-up window.
- the method further includes: if an interactive operation by the first user outside the preset area is detected within the preset time, continuing to play the video.
- the terminal 21 detects an interactive operation of the first user, such as a click operation, and the terminal 21 can further detect whether the interactive operation is in the preset user interface. If the interactive operation is not in the preset area but outside the preset area, the paused video will continue to be played, that is, the playback of the previously paused video will resume.
- an interactive operation of the first user such as a click operation
- a pop-up window is displayed when an interactive operation by a first user in a preset area is detected within a preset time; by detecting that the first user is in a preset area within a preset time
- the video continues to be played, which can avoid the appearance of the pop-up window due to the user's misoperation outside the preset area from affecting the first user to watch the video, and further improves the user experience.
- the interactive operation includes: a sliding operation.
- the interactive operation guidance information displayed by the terminal 21 may include an icon 61 as shown in FIG. 6 , where the icon 61 may be a static icon or a dynamic icon.
- the gesture icon 611 in the icon 61 may move from the left side of the screen of the terminal 21 to the right side.
- the preset track 612 may be gradually extended from the left to the right of the screen.
- the icon 61 may present a sliding gesture with a dynamic effect, so as to guide the first user to perform a sliding operation on the user interface.
- the sliding gesture of the dynamic effect may be repeated several times, each lasting several seconds.
- the swipe gesture of the dynamic effect can be repeated 3 times, each lasting 3 seconds.
- the interactive operation guidance information may also include text information, such as "swipe for a surprise”.
- the first user may perform a sliding operation in the user interface.
- 62 shows the sliding track of the first user's sliding operation in the user interface.
- a pop-up window is displayed, including the following steps as shown in FIG. 7 .
- the terminal 21 detects the sliding operation of the first user within the preset time when the icon 61 and the text information are displayed, and further, can determine whether the sliding trajectory of the first user in the user interface satisfies the preset condition.
- the terminal 21 displays a pop-up window, such as the pop-up window 53 shown in FIG.
- a pop-up window such as the pop-up window 53 shown in FIG.
- the terminal 21 may continue to play the paused video.
- the preset condition includes: the sliding track is within a preset area of the user interface.
- the preset area may be a preset area around the icon 61, or may be other preset areas in the user interface. That is to say, when the terminal 21 detects the sliding operation of the first user within the preset time for displaying the icon 61 and the text information, and the sliding trajectory of the first user is within the preset area of the user interface, the terminal 21 can display Pop-ups.
- the preset condition includes: a similarity between the sliding track and a preset track displayed by the interactive operation guidance information is greater than or equal to a preset similarity.
- the terminal 21 when the terminal 21 detects the sliding operation of the first user within the preset time when the icon 61 and the text information are displayed, the terminal 21 can further determine the sliding track 62 of the first user and the preset displayed by the interactive operation guidance information.
- the similarity of the track 612 when the similarity is greater than or equal to the preset similarity, the terminal 21 may display a pop-up window.
- the terminal 21 may also determine the similarity between the sliding trajectory within a preset area of the user interface and the sliding trajectory and the preset trajectory displayed by the interactive operation guidance information. When the similarity is greater than or equal to the preset similarity and both are satisfied, a pop-up window will be displayed.
- the preset condition includes at least one of the following: the length of the sliding track is greater than or equal to the preset length; and the angle of the sliding track is within a preset angle range.
- the terminal 21 when the terminal 21 detects the sliding operation of the first user within the preset time when the icon 61 and the text information are displayed, the terminal 21 can further determine whether the length of the sliding track 62 of the first user is greater than or equal to the preset length, And/or determine whether the angle of the sliding track 62 is within the preset angle range; when the length of the sliding track 62 is greater than or equal to the preset length and/or the angle of the sliding track 62 is within the preset angle range, the terminal 21 can Show popup.
- the length of the sliding track 62 may be in units of pixels (pt).
- the length of the sliding track 62 may be the number of pixels corresponding to the straight line.
- the length of the sliding track 62 may be the number of pixels corresponding to the curve, and the number of pixels corresponding to the curve may be calculated by means of integration.
- the preset length may be 125 pixels.
- the preset angle range may be 30 degrees-150 degrees, and/or, 210 degrees-330 degrees. That is to say, when the terminal 21 detects the sliding operation of the first user within the preset time for displaying the icon 61 and the text information, and the length of the sliding track of the first user is greater than or equal to 125 pixels, the angle of the sliding track is When the temperature is between 30 degrees and 150 degrees or between 210 degrees and 330 degrees, the terminal 21 can display a pop-up window.
- the terminal 21 may also display the pop-up window when at least two of the following conditions are satisfied simultaneously: 1) The sliding track is in a preset area of the user interface 2) the similarity between the sliding track and the preset track displayed by the interactive operation guidance information is greater than or equal to the preset similarity; 3) the length of the sliding track is greater than or equal to the preset length, and/or The angle of the sliding track is within a preset angle range.
- the angle of the sliding track is the included angle between the line connecting the start point and the end point of the sliding track and the horizontal direction or the vertical direction.
- the angle of the sliding track 62 may be the included angle between the line connecting the start point and the end point of the sliding track 62 and the horizontal direction or the vertical direction.
- the angle of the sliding track is the included angle between the tangent of the starting point of the sliding track and the horizontal direction or the vertical direction.
- the angle of the sliding track 62 may be an angle between a certain point on the sliding track 62 such as the tangent of the starting point and the horizontal direction or the vertical direction.
- determining whether the sliding track of the first user satisfies a preset condition according to the sliding operation includes the following steps as shown in FIG. 8 .
- the terminal 21 detects the sliding operation of the first user within the preset time when the icon 61 and the text information are displayed.
- the sliding track 62 of the first user can be displayed in the user interface, and some conventional methods can be used.
- the sliding track 62 and the preset track 612 are distinguished.
- the line of the sliding track 62 is thicker, and the line of the preset track 612 is thinner.
- the sliding track 62 may be a solid line track, and the preset track 612 may be a dotted line track.
- the terminal 21 determines whether the sliding track 62 satisfies a preset condition.
- the sliding operation of the first user is detected within a preset time, and whether the sliding trajectory of the first user satisfies the preset condition is determined according to the sliding operation, and the sliding trajectory satisfies the preset condition.
- the pop-up window is displayed, so that the first user can trigger the pop-up window through various interactive operations, which improves the flexibility of triggering the display of the pop-up window.
- FIG. 9 is a flowchart of another video processing method in an embodiment of the disclosure. As shown in FIG. 9 , the method of this embodiment is applied to the server, and the method can be applied to the application scenario shown in FIG. 10 . In this application scenario, the server 22 can not only communicate with the terminal 21 . In addition, the server 22 can also communicate with the terminal 23 .
- the terminal 23 may be denoted as the first terminal
- the terminal 21 may be denoted as the second terminal
- the user of the terminal 21 may be denoted as the first user
- the user of the terminal 23 may be denoted as the second user.
- the first user may be the user who watches the video as described above.
- the second user may be the creator of the video.
- the creator can configure the video, the preset progress of the video pause, the interactive operation guide information, the pop-up window, the target page or the link of the target page; further, the creator can send the corresponding configuration information to the server 22 through the terminal 23, and the server 22 pushes the creator's video to the terminal 21, and in the process of playing the video on the terminal 21, the terminal 21 may execute the method described in the above embodiment, and the specific process will not be repeated here.
- This embodiment uses the server 22 as the execution body to introduce the method executed by the server 22.
- the method includes S901.
- Receive configuration information sent by the first terminal where the configuration information includes the second user's feedback on the video, preset Information about progress, interactive operation guidance information, pop-up windows, and target pages for configuration.
- the server 22 may receive configuration information sent by the terminal 23 , the configuration information including the preset progress of the video, the video pause, the interactive operation guidance information, the pop-up window, the target page or the target of the second user such as the creator. Links to pages for configuration information.
- the following takes the interactive operation guide information as an example to introduce the configuration process of the interactive operation guide information by the second user.
- the user interface of the terminal 23 may display a configuration page.
- the configuration page is shown in FIG. 11
- the configuration page 110 can be used to configure the interactive operation guide information
- the interactive operation guide information can be the icon 61 shown in FIG. 6 .
- the configuration page 110 includes a configuration icon 111 of a control point, a configuration icon 112 of a preset track shadow, a gesture icon 611 and a configuration icon 113 of a preset track 612 display duration.
- the control points are used to determine the length and/or shape of the preset track.
- the two control points, control point 1 and control point 2 may determine a linear preset trajectory, and the distance between control point 1 and control point 2 may determine the length of the preset trajectory.
- the second user can click the create button 114, and further, The server 22 or the terminal 23 can create the interactive operation guide information 115 as shown in FIG. 11 .
- the second user may also configure a curved preset track through the configuration page 110 .
- the second user can add control point 3 on the basis of control point 1 and control point 2.
- the relative positional relationship between control point 1, control point 2 and control point 3 is shown in Fig. 12, thereby creating the control point shown in Fig. 12.
- the server 22 may send, according to the configuration information of the terminal 23 , the video configured by the creator, the preset progress of video pause, interactive operation guidance information, pop-up windows, target pages or links to the target pages, etc., to the terminal 21 .
- the second terminal is used to play the video, and when the video is played to the preset progress, the second terminal is used to pause the playback of the video and display the interactive operation guidance information; if The second terminal detects the interactive operation of the first user within a preset time, and displays the pop-up window, where the pop-up window includes a target object; the second terminal is further configured to The first operation of the window is to display the target page, where the target page includes relevant information of the target object.
- the terminal 21 when the terminal 21 is playing the video, the terminal 21 may execute the method described in the above embodiment, and the specific process will not be repeated here.
- configuration information sent by a first terminal is received through a server, where the configuration information may be a second user corresponding to the first terminal for a video, a preset progress of video pause, interactive operation guidance information, Information for configuring popups, target pages, or links to target pages.
- the server sends the video, the preset progress of the video pause, interactive operation guidance information, pop-up windows, target pages or links to the target page to the second terminal, so that the second terminal is playing the video.
- the server can interact with the first user corresponding to the second terminal during the process. It not only increases the flexibility of the second user to configure the video, but also improves the interaction between the first user and the video, and improves the user experience.
- FIG. 13 is a schematic structural diagram of a video processing apparatus according to an embodiment of the disclosure.
- the video processing apparatus provided by the embodiments of the present disclosure may be configured in a client or a server.
- the video processing apparatus 130 includes: a player including a playback module 131 for playing videos; a video processing device including a control module 132 a controller for suspending the playback of the video when the video is played to a preset progress; a display including a display module 133 for displaying interactive operation guidance information; a processor including a detection module 134 for The interactive operation of the first user is detected within a preset time.
- the display module 133 is further configured to: when the detection module 134 detects the interactive operation of the first user within the preset time, display a pop-up window, the pop-up window includes the target object; and according to the first user's response to the pop-up window In the first operation, a target page is displayed, and the target page includes relevant information of the target object.
- control module 132 is further configured to: close the pop-up window according to the first user's second operation on the pop-up window or the first user's third operation on the area outside the pop-up window; the playback module 131 also uses After the pop-up window is closed, the video continues to be played.
- the playing module 131 is further configured to continue playing the video when the detection module 134 does not detect the interactive operation of the first user within a preset time.
- the display module 133 is specifically configured to: display a pop-up window when the detection module 134 detects an interactive operation of the first user within the preset area within a preset time.
- the playing module 131 is further configured to continue playing the video when the detection module 134 detects an interactive operation by the first user outside the preset area within a preset time.
- the interactive operation includes: a click operation.
- the interactive operation includes: a sliding operation.
- the video processing device 130 further includes: a determining module 135, configured to determine whether the sliding trajectory of the first user is based on the sliding operation when the detection module 134 detects the sliding operation of the first user within a preset time.
- the preset condition is met; the display module 133 is configured to: display the pop-up window under the condition that the sliding track satisfies the preset condition.
- the preset conditions include:
- the similarity between the sliding track and the preset track displayed by the interactive operation guide information is greater than or equal to the preset similarity.
- the preset conditions include at least one of the following:
- the length of the sliding track is greater than or equal to a preset length
- the angle of the sliding track is within a preset angle range.
- the angle of the sliding track is the angle between the connecting line between the start point and the end point of the sliding track and the horizontal direction or the vertical direction; or
- the angle of the sliding track is the included angle between the tangent of the starting point of the sliding track and the horizontal direction or the vertical direction.
- the display module 133 is configured to display the sliding track of the first user according to the sliding operation; the determining module 135 is configured to determine whether the sliding track of the first user satisfies a preset condition.
- the video includes an advertisement video
- the target object is an advertisement product
- the target page is used to display relevant information of the advertisement product.
- the video processing apparatus provided by the embodiments of the present disclosure can execute the steps performed by the client or the server in the video processing method provided by the method embodiments of the present disclosure, and the execution steps and beneficial effects are not repeated here.
- FIG. 14 is a schematic structural diagram of a video processing apparatus according to an embodiment of the disclosure.
- the video processing provided by the embodiments of the present disclosure may be configured in a server, and the video processing apparatus 140 includes: a receiver including a receiving module 141, configured to receive configuration information sent by the first terminal, where the configuration information includes the second user Information for configuring the video, preset progress, interactive operation guidance information, pop-up windows, and target pages; including the transmitter of the sending module 142, which is used to send the video, the preset progress, all the The interactive operation guidance information, the pop-up window, and the target page are sent to the second terminal.
- the video processing apparatus provided by the embodiments of the present disclosure can execute the steps executed by the server in the video processing method provided by the method embodiments of the present disclosure, and the execution steps and beneficial effects are not repeated here.
- FIG. 15 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. Referring next to FIG. 15 , it shows a schematic structural diagram of an electronic device 1500 suitable for implementing an embodiment of the present disclosure.
- the electronic device 1500 in the embodiment of the present disclosure may include, but is not limited to, such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal ( Mobile terminals such as in-vehicle navigation terminals), wearable electronic devices, etc., and stationary terminals such as digital TVs, desktop computers, smart home devices, and the like.
- PDA personal digital assistant
- PAD tablet computer
- PMP portable multimedia player
- a vehicle-mounted terminal Mobile terminals such as in-vehicle navigation terminals
- wearable electronic devices etc.
- stationary terminals such as digital TVs, desktop computers, smart home devices, and the like.
- the electronic device shown in FIG. 15 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
- the electronic device shown in FIG. 15 may also be the server described in the foregoing embodiment, and the server may execute the video processing method described in the foregoing embodiment, thereby realizing interaction with the user.
- electronic device 1500 may include processing means (eg, central processing unit, graphics processing unit, etc.) 1501 that may be loaded into random access according to a program stored in read only memory (ROM) 1502 or from storage means 1508 Various appropriate actions and processes are executed by the programs in the memory (RAM) 1503 . In the RAM 1503, various programs and data necessary for the operation of the electronic device 1500 are also stored.
- the processing device 1501, the ROM 1502, and the RAM 1503 are connected to each other through a bus 1504.
- An input/output (I/O) interface 1505 is also connected to bus 1504 .
- I/O interface 1505 the following devices can be connected to the I/O interface 1505: input devices 1506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 1507 of a computer, etc.; a storage device 1508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1509. Communication means 1509 may allow electronic device 1500 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 15 shows an electronic device 1500 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
- input devices 1506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.
- LCD liquid crystal display
- speakers vibration
- embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flowchart, thereby achieving the above the video processing method.
- the computer program may be downloaded and installed from the network via the communication device 1509, or from the storage device 1508, or from the ROM 1502.
- the processing apparatus 1501 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the above-mentioned computer-readable storage medium may be a non-volatile computer-readable storage medium.
- the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
- Computer readable storage media may include, for example, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon.
- Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
- Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
- the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
- HTTP HyperText Transfer Protocol
- Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to: play a video; when the video is played to a preset progress, pause playback the video; display the interactive operation guidance information; if the interactive operation of the first user is detected within the preset time, a pop-up window is displayed, and the pop-up window includes the target object; operation, displaying a target page, where the target page includes relevant information of the target object.
- the electronic device may also perform other steps described in the foregoing method embodiments.
- the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device causes the electronic device to: receive configuration information sent by the first terminal, where the configuration information includes the second The information that the user configures the video, the preset progress, the interactive operation guide information, the pop-up window, and the target page; according to the configuration information, the video, the preset progress, the interactive operation guide information, the pop-up The window and the target page are sent to the second terminal.
- the electronic device may also perform other steps described in the foregoing method embodiments.
- Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
- LAN local area network
- WAN wide area network
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
- the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Among them, the name of the unit does not constitute a limitation of the unit itself under certain circumstances.
- exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSPs Application Specific Standard Products
- SOCs Systems on Chips
- CPLDs Complex Programmable Logical Devices
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
- Machine-readable storage media include, for example, one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory) Flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
- the present disclosure provides a video processing method, including: playing a video; when the video is played to a preset progress, pausing to play the video; displaying interactive operation guidance information ; If the interactive operation of the first user is detected within the preset time, a pop-up window is displayed, and the pop-up window includes the target object; according to the first operation of the first user on the pop-up window, the target page is displayed, the target The page includes relevant information of the target object.
- the method further includes: according to a second operation of the first user on the pop-up window or the first user's manipulation of the area outside the pop-up window
- the third operation is to close the pop-up window; continue to play the video.
- the method further includes: if no interactive operation of the first user is detected within a preset time, continuing to play the video.
- a pop-up window if an interactive operation of the first user is detected within a preset time, displaying a pop-up window, including: if the detection is performed within a preset time To the interactive operation of the first user in the preset area, a pop-up window is displayed.
- the method further includes: if an interactive operation by the first user outside the preset area is detected within a preset time, continuing to play the video.
- the interactive operation includes a click operation.
- the interactive operation includes: a sliding operation.
- the video processing method if the interactive operation of the first user is detected within a preset time, displaying a pop-up window, including: if within the preset time If the sliding operation of the first user is detected within the APP, it is determined whether the sliding trajectory of the first user satisfies the preset condition according to the sliding operation; if the sliding trajectory satisfies the preset condition, the pop-up window is displayed.
- the preset condition includes: the similarity between the sliding track and the preset track displayed by the interactive operation guidance information is greater than or is equal to the preset similarity.
- the preset condition includes at least one of the following: the length of the sliding track is greater than or equal to a preset length; The angle is within the preset angle range.
- the angle of the sliding track is the angle between the connecting line between the start point and the end point of the sliding track and the horizontal direction or the vertical direction. or the angle of the sliding track is the included angle between the tangent of the starting point of the sliding track and the horizontal direction or the vertical direction.
- determining whether the sliding track of the first user satisfies a preset condition according to the sliding operation includes: displaying the first user according to the sliding operation. A sliding track of a user; determining whether the sliding track of the first user satisfies a preset condition.
- the video includes an advertisement video
- the target object is an advertisement product
- the target page is used to display relevant information of the advertisement product .
- the present disclosure provides a video processing method, including: receiving configuration information sent by a first terminal, where the configuration information includes a second user's guidance on video, preset progress, and interactive operation guidance. information, pop-up window, and target page configuration information; according to the configuration information, send the video, the preset progress, the interactive operation guidance information, the pop-up window, and the target page to the second terminal .
- the present disclosure provides a video processing apparatus, including: a player including a playing module for playing a video; a controller including a control module for playing the video to In the case of a preset progress, the playback of the video is suspended; a display including a display module is used to display interactive operation guidance information; a processor including a detection module is used to detect the interactive operation of the first user within a preset time; display The module is further configured to: display a pop-up window when the detection module detects the interactive operation of the first user within the preset time, and the pop-up window includes the target object; operation, displaying a target page, where the target page includes relevant information of the target object.
- control module is further configured to: according to the second operation of the first user on the pop-up window or the first user's manipulation of the area outside the pop-up window The third operation is to close the pop-up window; the playing module is also used for continuing to play the video after the pop-up window is closed.
- the playback module is further configured to: when the detection module does not detect the interactive operation of the first user within a preset time, continue to play the video video.
- the display module is configured to: when the detection module detects the interactive operation of the first user in the preset area within a preset time, display Pop-ups.
- the playback module is further configured to: when the detection module detects an interactive operation by the first user outside the preset area within a preset time, Continue playing the video.
- the interactive operation includes a click operation.
- the interactive operation includes: a sliding operation.
- the video processing apparatus further includes: a determination module, configured to be used when the detection module detects the sliding operation of the first user within a preset time , determining whether the sliding track of the first user satisfies a preset condition according to the sliding operation; the display module is configured to: display the pop-up window when the sliding track satisfies the preset condition.
- the preset condition includes: the similarity between the sliding track and the preset track displayed by the interactive operation guidance information is greater than or is equal to the preset similarity.
- the preset condition includes at least one of the following: the length of the sliding track is greater than or equal to a preset length; the length of the sliding track is greater than or equal to a preset length; The angle is within the preset angle range.
- the angle of the sliding track is the angle between the connecting line between the start point and the end point of the sliding track and the horizontal direction or the vertical direction. or the angle of the sliding track is the included angle between the tangent of the starting point of the sliding track and the horizontal direction or the vertical direction.
- a display module is configured to display a sliding trajectory of the first user according to the sliding operation; a determination module is configured to determine the first user Whether the sliding trajectory meets the preset conditions.
- the video includes an advertisement video
- the target object is an advertisement product
- the target page is used to display relevant information of the advertisement product .
- the present disclosure provides a video processing apparatus, including: a receiver including a receiving module, configured to receive configuration information sent by a first terminal, where the configuration information includes a second user Video, preset progress, interactive operation guide information, pop-up window, and target page configuration information; including the transmitter of the sending module, which is used to send the video, the preset progress, the interaction according to the configuration information
- the operation guidance information, the pop-up window, and the target page are sent to the second terminal.
- the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs; when the one or more programs are stored The one or more processors execute, so that the one or more processors implement the video processing method as provided in any one of the present disclosure.
- the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements video processing as described in any one of the present disclosure method.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开实施例公开了一种视频处理方法、装置、电子设备和存储介质。本公开通过播放视频,在该视频播放至预设进度的情况下,暂停播放该视频,并显示交互操作引导信息,在该交互操作引导信息的引导下,观看该视频的用户可能会执行与所述交互操作引导信息相应的交互操作。若在预设时间内检测到该用户的交互操作,则显示弹窗,该弹窗可包括目标对象。可以根据用户对该弹窗的操作显示目标页面,该目标页面包括目标对象的相关信息。
Description
相关申请的交叉引用
本申请是以中国申请号为202011149980.3,申请日为2020年10月23日的申请为基础,并主张其优先权,该中国申请的公开内容在此作为整体引入本申请中。
本公开涉及信息技术领域,尤其涉及一种视频处理方法、装置、电子设备、计算机可读存储介质、计算机程序和计算机程序产品。
随着智能终端的不断发展,用户可以在智能终端中安装各种不同类型的应用(Application,APP)程序。
例如,智能终端中安装的应用程序可用于播放各种不同类型的视频。另外,智能终端安装的应用程序不限于播放视频,例如还可以有其他功能,例如即时通信功能、支付功能等。
在相关技术中,智能终端在播放视频的过程中,将视频从起始帧播放到结尾帧。
发明内容
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例提供了一种视频处理方法、装置、电子设备和存储介质,使得用户在观看视频的过程中可以与视频的播放设备进行互动,在互动的过程中,用户可以了解到与该视频相关的其他信息,例如,目标对象的相关信息,从而提高了用户体验。
根据本公开的一些实施例,提供了一种视频处理方法,包括:播放视频;在所述视频播放至预设进度的情况下,暂停播放所述视频;显示交互操作引导信息;若在预设时间内检测到第一用户的交互操作,则显示弹窗,所述弹窗包括目标对象;根据第一用户对所述弹窗的第一操作,显示目标页面,所述目标页面包括所述目标对象的相关信息。
根据本公开的一些实施例,还提供了一种视频处理方法,包括:接收第一终端发送的配置信息,所述配置信息包括第二用户对视频、预设进度、交互操作引导信息、 弹窗、目标页面进行配置的信息;根据所述配置信息,将所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面发送给第二终端。
根据本公开的一些实施例,还提供了一种视频处理装置,包括:播放器,用于播放视频;控制器,用于在所述视频播放至预设进度的情况下,暂停播放所述视频;显示器,用于显示交互操作引导信息;处理器,用于在预设时间内检测第一用户的交互操作;所述显示器还用于:当所述处理器在所述预设时间内检测到第一用户的交互操作时,显示弹窗,所述弹窗包括目标对象;以及根据第一用户对所述弹窗的第一操作,显示目标页面,所述目标页面包括所述目标对象的相关信息。
根据本公开的一些实施例,还提供了一种视频处理装置,包括:接收器,用于接收第一终端发送的配置信息,所述配置信息包括第二用户对视频、预设进度、交互操作引导信息、弹窗、目标页面进行配置的信息;发送器,用于根据所述配置信息,将所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面发送给第二终端。
根据本公开的一些实施例,还提供了一种电子设备,所述电子设备包括:一个或多个处理器;存储器,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述任一个实施例所述的视频处理方法。
根据本公开的一些实施例,还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一个实施例所述的视频处理方法。
根据本公开的一些实施例,还提供了一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行根据上述任一个实施例所述的视频处理方法。
根据本公开的一些实施例,还提供了一种计算机程序产品,包括指令,所述指令当由处理器执行时使所述处理器执行根据上述任一个实施例所述的视频处理方法。
本公开实施例提供的技术方案与现有技术相比至少具有如下优点:本公开实施例提供的视频处理方法,通过播放视频,在该视频播放至预设进度的情况下,暂停播放该视频,并显示交互操作引导信息,在该交互操作引导信息的引导下,观看该视频的用户可能会执行相应的交互操作。若在预设时间内检测到该用户的交互操作,则显示弹窗,该弹窗可包括目标对象,进一步,可以根据用户对该弹窗的操作显示目标页面,该目标页面包括目标对象的相关信息,从而使得用户在观看视频的过程中可以与视频的播放设备进行互动,在互动的过程中,用户可以了解到与该视频相关的其他信息, 例如,目标对象的相关信息,从而提高了用户体验。
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例中的一种视频处理方法的流程图;
图2为本公开实施例中的一种应用场景的示意图;
图3为本公开实施例中的一种用户界面的示意图;
图4为本公开实施例中的另一种用户界面的示意图;
图5为本公开实施例中的另一种用户界面的示意图;
图6为本公开实施例中的又一种用户界面的示意图;
图7为本公开实施例中的另一种视频处理方法的流程图;
图8为本公开实施例中的另一种视频处理方法的流程图;
图9为本公开实施例中的又一种视频处理方法的流程图;
图10为本公开实施例中的另一种应用场景的示意图;
图11为本公开实施例中的又一种用户界面的示意图;
图12为本公开实施例中的另一种用户界面的示意图;
图13为本公开实施例中的一种视频处理装置的结构示意图;
图14为本公开实施例中的另一种视频处理装置的结构示意图;
图15为本公开实施例中的一种电子设备的结构示意图。
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
如前所述,将视频从起始帧播放到结尾帧的播放方式,缺少与用户之间的互动,从而降低了用户体验。针对上述技术问题,可采用如下的实施例实现本公开的技术方案。
图1为本公开实施例中的一种视频处理方法的流程图,本实施例可适用于客户端中进行视频处理的情况,该方法可以由视频处理装置执行,该装置可以采用软件和/或硬件的方式实现,该装置可配置于电子设备中,例如移动终端,包括手机、电脑或平板电脑、可穿戴设备、智能家居设备等。或者,本实施例可适用于服务端中进行视频处理的情况,该方法可以由视频处理装置执行,该装置可以采用软件和/或硬件的方式实现,该装置可配置于电子设备中,例如服务器。
如图1所示,该方法可以包括S101、播放视频。
如图2所示,终端21可安装有各类应用程序,应用程序对应的服务器22可以向终端21发送视频。终端21在接收到视频后可以播放该视频。或者,终端21本地可缓存有视频,终端21根据用户对本地视频的播放操作对该视频进行播放。如图3所示,终端21包括视频播放器30,该视频播放器30用于播放视频。该视频播放器30可以是应用程序提供的视频播放器。
如图3所示,该视频播放器30可以包括视频播放进度显示条31、播放控制按钮32、视频音量控制按钮33和全屏控制按钮34。可以理解的是,如图3所示的视频播放器只是一种示意性说明,并不做具体限定。终端21可以根据用户对该全屏控制按钮34的操作对视频进行全屏播放。此处,并不限定用户对全屏控制按钮34的操作,例如可以是单击、双击、长按等。
在一个实施例中,在视频播放器30播放视频的过程中,终端21后台的视频处理装置可以实时获取该视频的播放进度。
S102、在所述视频播放至预设进度的情况下,暂停播放所述视频。
通常情况下,一个视频由多帧图像组成,多帧图像以一定的频率按序播放。另外,一个视频从播放起始帧到播放结尾帧之间存在一定的时长,该时长可以作为该视频的总时长,视频的播放进度可以是已经播放的部分时长与该视频的总时长的比值。
在本实施例中,在该视频的播放进度为预设进度的情况下,视频处理装置可以控制视频播放器30暂停播放该视频。可选的,该预设进度可以是除视频前m秒和后n秒之外的进度。此处并不限定m和n的具体取值,例如,m=3,n=5。例如,视频播放器30当前播放的视频的总时长为72秒,在该视频的播放进度为大于或等于4秒且小于或等于67秒的情况下,视频处理装置可以控制视频播放器30暂停播放该视频。
S103、显示交互操作引导信息。
在视频播放器30暂停播放该视频的情况下,视频处理装置可以在终端21的用户界面中显示交互操作引导信息。该交互操作引导信息用于引导终端21的用户在该用户界面中进行交互操作或互动操作。本实施例可以将终端21的用户记为第一用户,第一用户可以是观看该视频的用户。
S104、若在预设时间内检测到第一用户的交互操作,则显示弹窗,所述弹窗包括目标对象。
可以理解的是,在终端21的用户界面中显示交互操作引导信息的情况下,第一用户可能按照该交互操作引导信息的引导进行相应的交互操作或互动操作,也可能并不按照该交互操作引导信息的引导进行相应的交互操作或互动操作。
例如,预设时间可以包括该交互操作引导信息在用户界面中显示的时间或时长,和/或预设时间还可以包括其他根据实际需要设置的时间或时长。
例如,交互操作引导信息在用户界面中显示之后额外附加的特定时间或特定时长,以便用户做出交互操作的决定。视频处理装置可以在该预设时间内检测第一用户是否 在该用户界面中进行了相应的交互操作或互动操作;若视频处理装置在该预设时间内检测到第一用户的交互操作或互动操作,则在该用户界面中显示弹窗,该弹窗包括目标对象。
在一种可行的实现方式中,所述交互操作包括:点击操作。
例如图4所示,在视频播放器30播放视频的过程中,视频处理装置实时获取该视频的播放进度。在该播放进度为预设进度的情况下,视频处理装置控制视频播放器30暂停播放该视频。此时,视频播放器30显示该播放进度所对应的一帧图像,例如,该图像中包括物体41。
在视频播放器30暂停播放该视频的情况下,视频处理装置可以在终端21的用户界面中显示交互操作引导信息。可以理解的是,视频处理装置可以在暂停播放该视频的同时显示交互操作引导信息,或者,视频处理装置可以在暂停播放该视频后进一步显示交互操作引导信息。
在一些实施例中,交互操作引导信息包括动态的图标、静态的图标或者文本信息,用于引导所述第一用户进行交互操作。
该交互操作引导信息包括如图4所示的图标42,图标42可以是静态的图标或动态的图标。在动态的情况下,图标42可以呈现动态效果的点击手势,并且该动态效果的点击手势可以重复若干次,每次持续若干秒。例如,该动态效果的点击手势可以重复3次,每次持续2秒。
另外,该交互操作引导信息还可以包括文本信息,例如“点击会有惊喜”。在图标42和文本信息的引导下,第一用户可以点击用户界面。例如,在图标42和文本信息显示的预设时间内,视频处理装置检测到了第一用户在用户界面中的点击操作,则进一步显示弹窗43。该弹窗43中可显示有物体44。其中,物体41和物体44可以是有关联性的,也可以没有关联性的。其中,物体44可以记为目标对象。
另外,若在所述预设时间内未检测到第一用户的交互操作,则继续播放所述视频。
例如,在图标42和文本信息的引导下,第一用户可能并不会被图标42和文本信息所影响。例如,第一用户可能并不会对用户界面进行任何操作,在这种情况下,若视频处理装置在图标42和文本信息显示的预设时间内未检测到第一用户的交互操作,则继续播放该视频,即该视频从暂停的位置继续向后播放。
S105、根据第一用户对所述弹窗的第一操作,显示目标页面,所述目标页面包括所述目标对象的相关信息。
如图4所示,弹窗43中还可以包括按钮45。视频处理装置可以根据第一用户对按钮45的操作跳转到目标页面,或者视频处理装置可以根据第一用户对弹窗43中除关闭图标46之外的区域的操作跳转到目标页面。
例如,跳转到目标页面可以是指从显示弹窗43跳转到显示目标页面。该目标页面可以包括目标对象的相关信息。例如,以广告视频为例,该目标页面可以是该目标对象的详情页面或购买页面。其中,详情页面可以显示该目标对象的一些描述信息,例如,大小、尺码、价格、图片、功能等。在一些实施例中,购买页面中也可以显示有该目标对象的一些描述信息。
另外,本实施例并不限定第一用户对按钮45的具体操作或第一用户对弹窗43中除关闭图标46之外的区域的具体操作,例如,可以是点击、双击、长按、语音识别、手势识别、表情识别等等。
可以理解的是,第一用户能够触发终端21从弹窗43跳转到目标页面的操作并不限定于对按钮45的操作或对弹窗43中除关闭图标46之外的区域的操作,例如,还可以有其他的操作。本实施例可以将第一用户触发终端21从弹窗43跳转到目标页面的操作记为第一操作。
可以理解的是,在该视频被播放完成后被重新播放时,如上所述的步骤S101-S105还可以再次被执行。另外,在该视频的一次完整播放过程中,步骤S101-S105可以被执行一次或多次。也就是说,暂停播放并显示交互操作引导信息可以在多个不同的预设进度分别执行。
本公开实施例提供的视频处理方法,通过播放视频,在该视频播放至预设进度的情况下,暂停播放该视频,并显示交互操作引导信息。在该交互操作引导信息的引导下,观看该视频的用户可能会执行相应的交互操作。
若在预设时间内检测到该用户的交互操作,则显示弹窗,该弹窗可包括目标对象。进一步,可以根据用户对该弹窗的操作显示目标页面,该目标页面包括目标对象的相关信息,从而使得用户在观看视频的过程中可以与视频的播放设备进行互动。在互动的过程中,用户可以了解到与该视频相关的其他信息,例如,目标对象的相关信息,从而提高了用户体验。
在上述实施例的基础上,所述视频包括广告视频,所述目标对象为广告产品,所述目标页面用于显示所述广告产品的相关信息。
以下将结合图5以广告视频为例进行描述。如图5所示,视频播放器30播放的 视频包括广告视频,该广告视频可以是关于例如鞋子的广告视频。
在视频播放器30播放该广告视频的过程中,视频处理装置实时获取该广告视频的播放进度。在该播放进度为预设进度即该视频播放至预设进度的情况下,视频处理装置控制视频播放器30暂停播放该广告视频。此时,视频播放器30显示该播放进度所对应的一帧图像,例如,该图像中包括鞋子51。
另外,在视频播放器30暂停播放该广告视频的情况下,视频处理装置可以在终端21的用户界面中显示交互操作引导信息。该交互操作引导信息包括如图5所示的图标52和文本信息“点击会有惊喜”。
在图标52和文本信息的引导下,终端21的用户即第一用户可以点击用户界面。例如,在图标52和文本信息显示的预设时间内,视频处理装置检测到了第一用户在用户界面中的点击操作,则进一步显示弹窗53。弹窗53显示有鞋子54、购买按钮55和关闭按钮56。其中,鞋子54可以是广告产品。鞋子54和鞋子51可以是同一款鞋子,或者鞋子54和鞋子51可以是不同款的鞋子。
在第一用户点击购买按钮55或点击弹窗53中除关闭按钮56之外的区域时,视频处理装置可以根据第一用户的点击操作,从弹窗53跳转到目标页面。该目标页面用于显示鞋子54的相关信息,即该目标页面是与目标对象鞋子54相关联的页面,例如,该目标页面可以是鞋子54的购买页面。
本公开实施例提供的视频处理方法,通过播放视频,在该视频播放至预设进度的情况下,暂停播放该广告视频,并显示交互操作引导信息;在该交互操作引导信息的引导下,观看该广告视频的用户可能会执行相应的交互操作。
若在预设时间内检测到该用户的交互操作,则显示弹窗,该弹窗可包括广告产品,进一步,可以根据用户对该弹窗的操作显示与广告产品相关联的目标页面例如购买页面,从而使得用户在观看广告视频的过程中可以与广告视频的播放设备进行互动。在互动的过程中,用户可以购买广告产品,从而提高了用户体验。
本领域技术人员应该理解的是,本公开实施例中所述的视频不限于广告视频,还可以包括其他各种类型的视频,并且其他各种类型的视频也可以通过本公开实施例提供的视频处理方法,实现与用户的互动。
在上述实施例的基础上,所述方法还包括:根据第一用户对所述弹窗的第二操作或第一用户对所述弹窗外区域的第三操作,关闭所述弹窗;继续播放所述视频。
如图4或图5所示,在终端21显示弹窗43或弹窗53的情况下,终端21可以根 据第一用户对关闭图标46或关闭图标47的第二操作,控制弹窗关闭,并在关闭弹窗后继续播放被暂停的视频。或者,终端21还可以根据第一用户对弹窗43或弹窗53之外的区域的第三操作,控制弹窗关闭。此处并不对第二操作、第三操作进行具体限定,例如,可以是点击、双击等。
本公开实施例提供的视频处理方法,根据第一用户对弹窗的关闭操作,控制弹窗关闭,并继续播放被暂停的视频,使得观看该视频的用户在出现弹窗的情况下,通过关闭该弹窗可以继续观看该视频,避免该弹窗影响用户继续观看视频,进一步提高了用户体验。
可选的,若在所述预设时间内检测到第一用户的交互操作,则显示弹窗,包括:若在所述预设时间内检测到第一用户在预设区域内的交互操作,则显示弹窗。
如图4或图5所示,在终端21显示图标42或图标52、以及文本信息“点击会有惊喜”的情况下,若在预设时间(例如,图标42或图标52、以及文本信息显示的预设时间)内,终端21检测到了第一用户的交互操作,例如点击操作,则终端21可以进一步检测该交互操作是否在用户界面的预设区域内。在终端21确定该交互操作在预设区域内的情况下,显示弹窗43或弹窗53。
本实施例并不对该预设区域进行限定,例如,该预设区域可以是图标42或图标52周围的预设区域,或者是用户界面中的其他预设区域。其中,图标52周围的预设区域可以是以图标52上的某一个点,例如,中心点为中心的一个区域。
此外,当终端21检测到第一用户在预设区域内的交互操作时,终端21还可以进行震动反馈,并显示弹窗。
可选的,所述方法还包括:若在所述预设时间内检测到第一用户在预设区域外的交互操作,则继续播放所述视频。
例如,在图标42或图标52、以及文本信息显示的预设时间内,终端21检测到了第一用户的交互操作,例如点击操作,则终端21可以进一步检测该交互操作是否在用户界面的预设区域内,若该交互操作不在该预设区域内,而是在该预设区域外,则继续播放被暂停的视频,即之前被暂停的视频恢复播放。
本公开实施例提供的视频处理方法,通过在预设时间内检测到第一用户在预设区域内的交互操作时,显示弹窗;通过在预设时间内检测到第一用户在预设区域外的交互操作时,继续播放视频,可以避免由于用户在预设区域外的误操作而导致弹窗的出现影响第一用户观看视频,进一步提高了用户体验。
在另一种可行的实现方式中,所述交互操作包括:滑动操作。
例如,终端21显示的交互操作引导信息可以包括如图6所示的图标61,其中,图标61可以是静态的图标或动态的图标。在动态的情况下,图标61中的手势图标611可以从终端21屏幕的左边移动到右边。并且在手势图标611从左边移动到右边的过程中,预设轨迹612可以从屏幕的左边向右边逐渐延长。
也就是说,图标61可以呈现动态效果的滑动手势,从而引导第一用户在用户界面上进行滑动操作。可选的,该动态效果的滑动手势可以重复若干次,每次持续若干秒。例如,该动态效果的滑动手势可以重复3次,每次持续3秒。此外,该交互操作引导信息还可以包括文本信息,例如“滑动会有惊喜”。
例如,在图标61和文本信息的引导下,第一用户可能会在用户界面中进行滑动操作,如图6所示,62所示为第一用户的滑动操作在用户界面中的滑动轨迹。
可选的,若在预设时间内检测到第一用户的交互操作,则显示弹窗,包括如图7所示的如下几个步骤。
S701、若在所述预设时间内检测到第一用户的滑动操作,则根据所述滑动操作确定第一用户的滑动轨迹是否满足预设条件。
例如,终端21在图标61和文本信息显示的预设时间内,检测到了第一用户的滑动操作,进一步,可以确定该第一用户在用户界面中的滑动轨迹是否满足预设条件。
S702、在所述滑动轨迹满足预设条件的情况下,显示所述弹窗。
例如,在第一用户的滑动轨迹满足预设条件的情况下,终端21显示弹窗,例如图6所示的弹窗53;第一用户对弹窗53的操作,以及终端21对该操作的响应可以参照上述实施例所述的内容,此处不再赘述。在第一用户的滑动轨迹不满足预设条件的情况下,终端21可以继续播放被暂停的视频。
在一种可行的实现方式中,所述预设条件包括:所述滑动轨迹在用户界面的预设区域内。例如,该预设区域可以是图标61周围的预设区域,或者可以是用户界面中其他的预设区域。也就是说,当终端21在图标61和文本信息显示的预设时间内,检测到了第一用户的滑动操作,并且第一用户的滑动轨迹在用户界面的预设区域内时,终端21可以显示弹窗。
在另一种可行的实现方式中,所述预设条件包括:所述滑动轨迹与所述交互操作引导信息所展示的预设轨迹的相似度大于或等于预设相似度。
例如,当终端21在图标61和文本信息显示的预设时间内,检测到了第一用户的 滑动操作,进一步,终端21可以判断第一用户的滑动轨迹62与交互操作引导信息所展示的预设轨迹612的相似度;在该相似度大于或等于预设相似度的情况下,终端21可以显示弹窗。
可以理解的是,在一些实施例中,终端21还可以在确定所述滑动轨迹在用户界面的预设区域内、所述滑动轨迹与所述交互操作引导信息所展示的预设轨迹的相似度大于或等于预设相似度同时满足的情况下,显示弹窗。
在另一种可行的实现方式中,所述预设条件包括如下至少一种:所述滑动轨迹的长度大于或等于预设长度;所述滑动轨迹的角度在预设角度范围内。
例如,当终端21在图标61和文本信息显示的预设时间内,检测到了第一用户的滑动操作,进一步,终端21可以判断第一用户的滑动轨迹62的长度是否大于或等于预设长度,和/或判断滑动轨迹62的角度是否在预设角度范围内;在滑动轨迹62的长度大于或等于预设长度和/或滑动轨迹62的角度在预设角度范围内的情况下,终端21可以显示弹窗。
其中,滑动轨迹62的长度可以以像素(pt)为单位。在滑动轨迹62为直线的情况下,滑动轨迹62的长度可以是该直线对应的像素个数。在滑动轨迹62为曲线的情况下,滑动轨迹62的长度可以是该曲线对应的像素个数,该曲线对应的像素个数可以通过积分的方式计算得到。
可选的,预设长度可以是125个像素。预设角度范围可以是30度-150度,和/或,210度-330度。也就是说,当终端21在图标61和文本信息显示的预设时间内,检测到了第一用户的滑动操作,并且第一用户的滑动轨迹的长度大于或等于125个像素,该滑动轨迹的角度在30度-150度或210度-330度之间时,终端21可以显示弹窗。
可以理解的是,在一些实施例中,终端21还可以在如下几个条件中的至少两个条件同时满足的情况下,显示该弹窗:1)所述滑动轨迹在用户界面的预设区域内;2)所述滑动轨迹与所述交互操作引导信息所展示的预设轨迹的相似度大于或等于预设相似度;3)所述滑动轨迹的长度大于或等于预设长度,和/或所述滑动轨迹的角度在预设角度范围内。
可选的,所述滑动轨迹的角度为所述滑动轨迹的起点和终点之间的连线与水平方向或垂直方向之间的夹角。
例如,在滑动轨迹62为直线的情况下,滑动轨迹62的角度可以是滑动轨迹62的起点和终点之间的连线与水平方向或垂直方向之间的夹角。或者,所述滑动轨迹的角 度为所述滑动轨迹的起点的切线与水平方向或垂直方向之间的夹角。
例如,在滑动轨迹62为曲线的情况下,滑动轨迹62的角度可以是滑动轨迹62上的某个点例如起点的切线与水平方向或垂直方向之间的夹角。
可选的,根据所述滑动操作确定第一用户的滑动轨迹是否满足预设条件,包括如图8所示的如下几个步骤。
S801、根据所述滑动操作显示所述第一用户的滑动轨迹。
例如,终端21在图标61和文本信息显示的预设时间内,检测到了第一用户的滑动操作,进一步,可以将第一用户的滑动轨迹62显示在用户界面中,并且可以通过一些常规的方式将滑动轨迹62和预设轨迹612进行区别。例如,滑动轨迹62的线条较粗,预设轨迹612的线条较细。或者,滑动轨迹62可以是实线轨迹,预设轨迹612可以是虚线轨迹。
S802、确定所述第一用户的滑动轨迹是否满足预设条件。
进一步,终端21确定该滑动轨迹62是否满足预设条件。
本公开实施例提供的视频处理方法,通过在预设时间内检测第一用户的滑动操作,并根据该滑动操作确定第一用户的滑动轨迹是否满足预设条件,在该滑动轨迹满足预设条件的情况下,显示弹窗,使得第一用户可以通过多种交互操作触发弹窗,提高了触发弹窗显示的灵活性。
图9为本公开实施例中的另一种视频处理方法的流程图。如图9所示,本实施例的方法应用于服务器中,该方法可以适用于如图10所示的应用场景。在该应用场景中,服务器22不仅可以与终端21进行通信。另外,服务器22还可以与终端23进行通信。
在本实施例中,可以将终端23记为第一终端,将终端21记为第二终端,将终端21的用户记为第一用户,将终端23的用户记为第二用户。其中,第一用户可以是如上所述的观看视频的用户。第二用户可以是视频的创作者。
创作者可以对视频、视频暂停的预设进度、交互操作引导信息、弹窗、目标页面或目标页面的链接进行配置;进一步,创作者可以通过终端23将相应的配置信息发送给服务器22,服务器22向终端21推送创作者的视频,并且在该终端21播放该视频的过程中,该终端21可以执行上述实施例所述的方法,具体过程此处不赘述。
本实施例以服务器22为执行主体介绍服务器22所执行的方法,如图9所示,该方法包括S901、接收第一终端发送的配置信息,所述配置信息包括第二用户对视频、 预设进度、交互操作引导信息、弹窗、目标页面进行配置的信息。
例如,结合图10可知,服务器22可以接收终端23发送的配置信息,该配置信息包括第二用户例如创作者对视频、视频暂停的预设进度、交互操作引导信息、弹窗、目标页面或目标页面的链接进行配置的信息。
下面以交互操作引导信息为例,介绍第二用户对交互操作引导信息的配置过程。例如,第二用户通过终端23登录到服务器22时,终端23的用户界面可以显示配置页面。该配置页面如图11所示,配置页面110可用于配置该交互操作引导信息,该交互操作引导信息可以是如图6所示的图标61。
例如,配置页面110包括控制点的配置图标111、预设轨迹阴影的配置图标112、手势图标611和预设轨迹612显示时长的配置图标113。其中,控制点用于确定预设轨迹的长度和/或形状。例如,控制点1和控制点2这两个控制点可以确定直线型的预设轨迹,控制点1和控制点2之间的距离可以确定该预设轨迹的长度。
另外,在第二用户通过配置图标111、配置图标112、配置图标113依次对控制点、预设轨迹阴影、手势图标611和预设轨迹612显示时长配置完成后,可以点击创建按钮114,进一步,服务器22或终端23可以创建出如图11所示的交互操作引导信息115。
在其他实施例中,第二用户还可以通过配置页面110配置出曲线型的预设轨迹。例如,第二用户可以在控制点1和控制点2的基础上增加控制点3,控制点1、控制点2和控制点3的相对位置关系如图12所示,从而创建出如图12所示的交互操作引导信息116。
S902、根据所述配置信息,将所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面发送给第二终端。
例如,服务器22可以根据终端23的配置信息,将创作者配置的视频、视频暂停的预设进度、交互操作引导信息、弹窗、目标页面或目标页面的链接等发送给终端21。
所述第二终端用于播放所述视频,在所述视频播放至所述预设进度的情况下,所述第二终端用于暂停播放所述视频,并显示所述交互操作引导信息;若在预设时间内所述第二终端检测到第一用户的交互操作,则显示所述弹窗,所述弹窗包括目标对象;所述第二终端还用于根据第一用户对所述弹窗的第一操作,显示所述目标页面,所述目标页面包括所述目标对象的相关信息。
例如,终端21在播放该视频的过程中,该终端21可以执行上述实施例所述的方 法,具体过程此处不赘述。
本公开实施例提供的视频处理方法,通过服务器接收第一终端发送的配置信息,该配置信息可以是该第一终端对应的第二用户对视频、视频暂停的预设进度、交互操作引导信息、弹窗、目标页面或目标页面的链接进行配置的信息。
进一步,服务器根据该配置信息,将该视频、视频暂停的预设进度、交互操作引导信息、弹窗、目标页面或目标页面的链接等信息发送给第二终端,使得第二终端在播放该视频的过程中可以与第二终端对应的第一用户进行互动。不仅增加了第二用户配置视频的灵活性,同时还提高了第一用户与视频之间的互动性,提高了用户体验。
图13为本公开实施例中的一种视频处理装置的结构示意图。本公开实施例所提供的视频处理装置可以配置于客户端中,或者可以配置于服务端中,该视频处理装置130包括:包含播放模块131的播放器,用于播放视频;包含控制模块132的控制器,用于在所述视频播放至预设进度的情况下,暂停播放所述视频;包含显示模块133的显示器,用于显示交互操作引导信息;包含检测模块134的处理器,用于在预设时间内检测第一用户的交互操作。
显示模块133还用于:当检测模块134在所述预设时间内检测到第一用户的交互操作时,显示弹窗,所述弹窗包括目标对象;以及根据第一用户对所述弹窗的第一操作,显示目标页面,所述目标页面包括所述目标对象的相关信息。
可选的,控制模块132还用于:根据第一用户对所述弹窗的第二操作或第一用户对所述弹窗外区域的第三操作,关闭所述弹窗;播放模块131还用于所述弹窗关闭后,继续播放所述视频。
可选的,播放模块131还用于:当检测模块134在预设时间内未检测到第一用户的交互操作时,继续播放所述视频。
可选的,显示模块133具体用于:当检测模块134在预设时间内检测到第一用户在预设区域内的交互操作时,显示弹窗。
可选的,播放模块131还用于:当检测模块134在预设时间内检测到第一用户在预设区域外的交互操作时,继续播放所述视频。
可选的,所述交互操作包括:点击操作。
可选的,所述交互操作包括:滑动操作。
可选的,该视频处理装置130还包括:确定模块135,用于当检测模块134在预设时间内检测到第一用户的滑动操作时,根据所述滑动操作确定第一用户的滑动轨迹 是否满足预设条件;显示模块133用于:在所述滑动轨迹满足预设条件的情况下,显示所述弹窗。
可选的,所述预设条件包括:
所述滑动轨迹与所述交互操作引导信息所展示的预设轨迹的相似度大于或等于预设相似度。
可选的,所述预设条件包括如下至少一种:
所述滑动轨迹的长度大于或等于预设长度;
所述滑动轨迹的角度在预设角度范围内。
可选的,所述滑动轨迹的角度为所述滑动轨迹的起点和终点之间的连线与水平方向或垂直方向之间的夹角;或者
所述滑动轨迹的角度为所述滑动轨迹的起点的切线与水平方向或垂直方向之间的夹角。
可选的,显示模块133用于根据所述滑动操作显示所述第一用户的滑动轨迹;确定模块135用于确定所述第一用户的滑动轨迹是否满足预设条件。
可选的,所述视频包括广告视频,所述目标对象为广告产品,所述目标页面用于显示所述广告产品的相关信息。
本公开实施例提供的视频处理装置,可执行本公开方法实施例所提供的视频处理方法中客户端或服务端所执行的步骤,具备执行步骤和有益效果此处不再赘述。
图14为本公开实施例中的一种视频处理装置的结构示意图。本公开实施例所提供的视频处理可以配置于服务端中,该视频处理装置140包括:包含接收模块141的接收器,用于接收第一终端发送的配置信息,所述配置信息包括第二用户对视频、预设进度、交互操作引导信息、弹窗、目标页面进行配置的信息;包含发送模块142的发送器,用于根据所述配置信息,将所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面发送给第二终端。
本公开实施例提供的视频处理装置,可执行本公开方法实施例所提供的视频处理方法中服务端所执行的步骤,具备执行步骤和有益效果此处不再赘述。
图15为本公开实施例中的一种电子设备的结构示意图。下面参考图15,其示出了适于用来实现本公开实施例中的电子设备1500的结构示意图。
本公开实施例中的电子设备1500可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体 播放器)、车载终端(例如车载导航终端)、可穿戴电子设备等等的移动终端以及诸如数字TV、台式计算机、智能家居设备等等的固定终端。
图15示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。另外,如图15所示的电子设备还可以是上述实施例所述的服务器,该服务器可以执行如上实施例所述的视频处理方法,从而实现与用户的互动。
如图15所示,电子设备1500可以包括处理装置(例如中央处理器、图形处理器等)1501,其可以根据存储在只读存储器(ROM)1502中的程序或者从存储装置1508加载到随机访问存储器(RAM)1503中的程序而执行各种适当的动作和处理。在RAM 1503中,还存储有电子设备1500操作所需的各种程序和数据。处理装置1501、ROM 1502以及RAM 1503通过总线1504彼此相连。输入/输出(I/O)接口1505也连接至总线1504。
通常,以下装置可以连接至I/O接口1505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1506;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1507;包括例如磁带、硬盘等的存储装置1508;以及通信装置1509。通信装置1509可以允许电子设备1500与其他设备进行无线或有线通信以交换数据。虽然图15示出了具有各种装置的电子设备1500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码,从而实现如上所述的视频处理方法。在这样的实施例中,该计算机程序可以通过通信装置1509从网络上被下载和安装,或者从存储装置1508被安装,或者从ROM 1502被安装。在该计算机程序被处理装置1501执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。上述的计算机可读存储介质可以是非易失性计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质例如可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读 存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:播放视频;在所述视频播放至预设进度的情况下,暂停播放所述视频;显示交互操作引导信息;若在预设时间内检测到第一用户的交互操作,则显示弹窗,所述弹窗包括目标对象;根据第一用户对所述弹窗的第一操作,显示目标页面,所述目标页面包括所述目标对象的相关信息。
此外,该电子设备还可以执行上述方法实施例所述的其他步骤。
或者,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收第一终端发送的配置信息,所述配置信息包括第二用户对视频、预设进度、交互操作引导信息、弹窗、目标页面进行配置的信息;根据所述配置信息,将所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面发送给第二终端。
此外,该电子设备还可以执行上述方法实施例所述的其他步骤。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质例如包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器 (CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,本公开提供了一种视频处理方法,包括:播放视频;在所述视频播放至预设进度的情况下,暂停播放所述视频;显示交互操作引导信息;若在预设时间内检测到第一用户的交互操作,则显示弹窗,所述弹窗包括目标对象;根据第一用户对所述弹窗的第一操作,显示目标页面,所述目标页面包括所述目标对象的相关信息。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,所述方法还包括:根据第一用户对所述弹窗的第二操作或第一用户对所述弹窗外区域的第三操作,关闭所述弹窗;继续播放所述视频。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,所述方法还包括:若在预设时间内未检测到第一用户的交互操作,则继续播放所述视频。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,若在预设时间内检测到第一用户的交互操作,则显示弹窗,包括:若在预设时间内检测到第一用户在预设区域内的交互操作,则显示弹窗。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,所述方法还包括:若在预设时间内检测到第一用户在预设区域外的交互操作,则继续播放所述视频。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,所述交互操作包括:点击操作。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,所述交互操作包括:滑动操作。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,若在预设时间内检测到第一用户的交互操作,则显示弹窗,包括:若在所述预设时间内检测到第一用户的滑动操作,则根据所述滑动操作确定第一用户的滑动轨迹是否满足预设条件;在所述滑动轨迹满足预设条件的情况下,显示所述弹窗。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,所述预设条件包括:所述滑动轨迹与所述交互操作引导信息所展示的预设轨迹的相似度大于或等于预设相似度。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,所述预设条件包括如下至少一种:所述滑动轨迹的长度大于或等于预设长度;所述滑动轨迹的角 度在预设角度范围内。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,所述滑动轨迹的角度为所述滑动轨迹的起点和终点之间的连线与水平方向或垂直方向之间的夹角;或者所述滑动轨迹的角度为所述滑动轨迹的起点的切线与水平方向或垂直方向之间的夹角。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,根据所述滑动操作确定第一用户的滑动轨迹是否满足预设条件,包括:根据所述滑动操作显示所述第一用户的滑动轨迹;确定所述第一用户的滑动轨迹是否满足预设条件。
根据本公开的一个或多个实施例,在本公开提供的视频处理方法中,所述视频包括广告视频,所述目标对象为广告产品,所述目标页面用于显示所述广告产品的相关信息。
根据本公开的一个或多个实施例,本公开提供了一种视频处理方法,包括:接收第一终端发送的配置信息,所述配置信息包括第二用户对视频、预设进度、交互操作引导信息、弹窗、目标页面进行配置的信息;根据所述配置信息,将所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面发送给第二终端。
根据本公开的一个或多个实施例,本公开提供了一种视频处理装置,包括:包含播放模块的播放器,用于播放视频;包含控制模块的控制器,用于在所述视频播放至预设进度的情况下,暂停播放所述视频;包含显示模块的显示器,用于显示交互操作引导信息;包含检测模块的处理器,用于在预设时间内检测第一用户的交互操作;显示模块还用于:当检测模块在所述预设时间内检测到第一用户的交互操作时,显示弹窗,所述弹窗包括目标对象;以及根据第一用户对所述弹窗的第一操作,显示目标页面,所述目标页面包括所述目标对象的相关信息。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,控制模块还用于:根据第一用户对所述弹窗的第二操作或第一用户对所述弹窗外区域的第三操作,关闭所述弹窗;播放模块还用于所述弹窗关闭后,继续播放所述视频。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,播放模块还用于:当检测模块在预设时间内未检测到第一用户的交互操作时,继续播放所述视频。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,显示模块用于:当检测模块在预设时间内检测到第一用户在预设区域内的交互操作时,显示弹窗。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,播放模块还 用于:当检测模块在预设时间内检测到第一用户在预设区域外的交互操作时,继续播放所述视频。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,所述交互操作包括:点击操作。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,所述交互操作包括:滑动操作。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,该视频处理装置还包括:确定模块,用于当检测模块在预设时间内检测到第一用户的滑动操作时,根据所述滑动操作确定第一用户的滑动轨迹是否满足预设条件;显示模块用于:在所述滑动轨迹满足预设条件的情况下,显示所述弹窗。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,所述预设条件包括:所述滑动轨迹与所述交互操作引导信息所展示的预设轨迹的相似度大于或等于预设相似度。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,所述预设条件包括如下至少一种:所述滑动轨迹的长度大于或等于预设长度;所述滑动轨迹的角度在预设角度范围内。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,所述滑动轨迹的角度为所述滑动轨迹的起点和终点之间的连线与水平方向或垂直方向之间的夹角;或者所述滑动轨迹的角度为所述滑动轨迹的起点的切线与水平方向或垂直方向之间的夹角。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,显示模块用于根据所述滑动操作显示所述第一用户的滑动轨迹;确定模块用于确定所述第一用户的滑动轨迹是否满足预设条件。
根据本公开的一个或多个实施例,在本公开提供的视频处理装置中,所述视频包括广告视频,所述目标对象为广告产品,所述目标页面用于显示所述广告产品的相关信息。
根据本公开的一个或多个实施例,本公开提供了一种视频处理装置,包括:包含接收模块的接收器,用于接收第一终端发送的配置信息,所述配置信息包括第二用户对视频、预设进度、交互操作引导信息、弹窗、目标页面进行配置的信息;包括发送模块的发送器,用于根据所述配置信息,将所述视频、所述预设进度、所述交互操作 引导信息、所述弹窗、所述目标页面发送给第二终端。
根据本公开的一个或多个实施例,本公开提供了一种电子设备,包括:一个或多个处理器;存储器,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开提供的任一所述的视频处理方法。
根据本公开的一个或多个实施例,本公开提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开提供的任一所述的视频处理方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。
Claims (22)
- 一种视频处理方法,包括:播放视频;在所述视频播放至预设进度的情况下,暂停播放所述视频;显示交互操作引导信息;若在预设时间内检测到第一用户的与所述交互操作引导信息相应的交互操作,则显示弹窗,所述弹窗包括目标对象;和根据第一用户对所述弹窗的第一操作,显示目标页面,所述目标页面包括所述目标对象的相关信息。
- 根据权利要求1所述的视频处理方法,还包括:根据第一用户对所述弹窗的第二操作或第一用户对所述弹窗外区域的第三操作,关闭所述弹窗;和继续播放所述视频。
- 根据权利要求1或2所述的视频处理方法,还包括:若在所述预设时间内未检测到第一用户的交互操作,则继续播放所述视频。
- 根据权利要求1-3任一项所述的视频处理方法,其中,若在预设时间内检测到第一用户的与所述交互操作引导信息相应的交互操作,则显示弹窗,包括:若在预设时间内检测到第一用户在预设区域内的交互操作,则显示弹窗。
- 根据权利要求4所述的视频处理方法,还包括:若在所述预设时间内检测到第一用户在预设区域外的交互操作,则继续播放所述视频。
- 根据权利要求1-5任一项所述的视频处理方法,其中,所述交互操作包括点击操作。
- 根据权利要求1-5任一项所述的视频处理方法,其中,所述交互操作包括滑动操作。
- 根据权利要求7所述的视频处理方法,其中,若在预设时间内检测到第一用户的与所述交互操作引导信息相应的交互操作,则显示弹窗,包括:若在所述预设时间内检测到第一用户的滑动操作,则根据所述滑动操作确定第一用户的滑动轨迹是否满足预设条件;和在所述滑动轨迹满足预设条件的情况下,显示所述弹窗。
- 根据权利要求8所述的视频处理方法,其中,所述预设条件包括所述滑动轨迹与所述交互操作引导信息所展示的预设轨迹的相似度大于或等于预设相似度。
- 根据权利要求8所述的视频处理方法,其中,所述预设条件包括如下条件中的至少一种:所述滑动轨迹的长度大于或等于预设长度;所述滑动轨迹的角度在预设角度范围内。
- 根据权利要求10所述的视频处理方法,其中,所述滑动轨迹的角度为所述滑动轨迹的起点和终点之间的连线与水平方向或垂直方向之间的夹角,或者所述滑动轨迹的角度为所述滑动轨迹的起点处的切线与水平方向或垂直方向之间的夹角。
- 根据权利要求1-11任一项所述的视频处理方法,其中,所述视频包括广告视频,所述目标对象为广告产品,所述目标页面用于显示所述广告产品的相关信息。
- 根据权利要求1-11任一项所述的视频处理方法,其中,所述交互操作引导信息包括动态的图标、静态的图标或者文本信息,用于引导所述第一用户进行交互操作。
- 一种视频处理方法,包括:接收第一终端发送的配置信息,所述配置信息包括第二用户对视频、预设进度、 交互操作引导信息、弹窗、目标页面进行配置的信息;和根据所述配置信息,将所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面发送给第二终端。
- 根据权利要求14所述的视频处理方法,其中,所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面用于所述第二终端执行权利要求1-13任一项所述的视频处理方法。
- 一种视频处理装置,包括:播放器,用于播放视频;控制器,用于在所述视频播放至预设进度的情况下,暂停播放所述视频;显示器,用于显示交互操作引导信息;和处理器,用于在预设时间内检测第一用户是否进行与所述交互操作引导信息相应的交互操作;所述显示器还用于:当所述处理器在所述预设时间内检测到第一用户的与所述交互操作引导信息相应的交互操作时,显示弹窗,所述弹窗包括目标对象,以及根据第一用户对所述弹窗的第一操作,显示目标页面,所述目标页面包括所述目标对象的相关信息。
- 一种视频处理装置,包括:接收器,用于接收第一终端发送的配置信息,所述配置信息包括第二用户对视频、预设进度、交互操作引导信息、弹窗、目标页面进行配置的信息;和发送器,用于根据所述配置信息,将所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面发送给第二终端。
- 根据权利要求17所述的视频处理装置,其中,所述视频、所述预设进度、所述交互操作引导信息、所述弹窗、所述目标页面用于所述第二终端执行权利要求1-13任一项所述的视频处理方法。
- 一种电子设备,包括:一个或多个处理器;和存储器,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-15中任一项所述的视频处理方法。
- 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-15中任一项所述的视频处理方法。
- 一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1-15中任一项所述的视频处理方法。
- 一种计算机程序产品,包括指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1-15中任一项所述的视频处理方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/610,680 US20220312065A1 (en) | 2020-10-23 | 2021-07-23 | Video processing method, apparatus, electronic device and non-transitory computer-readable storage medium |
EP21881619.7A EP4203483A4 (en) | 2020-10-23 | 2021-07-23 | VIDEO PROCESSING METHOD AND APPARATUS, ELECTRONIC APPARATUS AND COMPUTER READABLE STORAGE MEDIUM |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011149980.3A CN112261459B (zh) | 2020-10-23 | 2020-10-23 | 一种视频处理方法、装置、电子设备和存储介质 |
CN202011149980.3 | 2020-10-23 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022083199A1 true WO2022083199A1 (zh) | 2022-04-28 |
Family
ID=74262348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/108085 WO2022083199A1 (zh) | 2020-10-23 | 2021-07-23 | 视频处理方法、装置、电子设备和计算机可读存储介质 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20220312065A1 (zh) |
EP (1) | EP4203483A4 (zh) |
CN (1) | CN112261459B (zh) |
WO (1) | WO2022083199A1 (zh) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112261459B (zh) * | 2020-10-23 | 2023-03-24 | 北京字节跳动网络技术有限公司 | 一种视频处理方法、装置、电子设备和存储介质 |
CN113157359B (zh) * | 2021-02-07 | 2024-04-30 | 北京字节跳动网络技术有限公司 | 交互方法、装置、电子设备及计算机可读存储介质 |
CN113253901A (zh) * | 2021-03-15 | 2021-08-13 | 北京字跳网络技术有限公司 | 一种直播间内的交互方法、装置、设备及存储介质 |
CN113038236A (zh) * | 2021-03-17 | 2021-06-25 | 北京字跳网络技术有限公司 | 一种视频处理方法、装置、电子设备及存储介质 |
CN113157181B (zh) * | 2021-03-30 | 2024-01-05 | 北京达佳互联信息技术有限公司 | 操作引导方法及装置 |
CN113031842B (zh) * | 2021-04-12 | 2023-02-28 | 北京有竹居网络技术有限公司 | 基于视频的交互方法、装置、存储介质及电子设备 |
CN113259752A (zh) * | 2021-07-12 | 2021-08-13 | 广州闪畅信息科技有限公司 | 浏览器页面中的互动视频的播放控制方法、装置及服务器 |
CN113407291B (zh) * | 2021-07-19 | 2024-03-12 | 北京达佳互联信息技术有限公司 | 内容项显示方法、装置、终端及计算机可读存储介质 |
CN113721807B (zh) * | 2021-08-30 | 2023-08-22 | 北京字跳网络技术有限公司 | 一种信息展示方法、装置、电子设备和存储介质 |
CN114125536A (zh) * | 2021-11-26 | 2022-03-01 | 北京字跳网络技术有限公司 | 一种游戏内直播交互方法、装置、计算机设备及存储介质 |
US20230196686A1 (en) * | 2021-12-22 | 2023-06-22 | Meta Platforms Technologies, Llc | Social Media Platform Checkout for Artificial Reality Platform-Specific Applications |
CN114866693B (zh) * | 2022-04-15 | 2024-01-05 | 苏州清睿智能科技股份有限公司 | 一种基于智能终端的信息交互方法及装置 |
CN115190341A (zh) * | 2022-06-30 | 2022-10-14 | 北京达佳互联信息技术有限公司 | 媒体资源的互动方法、装置、电子设备以及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775319A (zh) * | 2016-12-22 | 2017-05-31 | 惠州Tcl移动通信有限公司 | 一种基于移动终端的功能标识待机识别方法及移动终端 |
US20180255358A1 (en) * | 2015-11-26 | 2018-09-06 | Le Holdings (Beijing) Co., Ltd. | Method, system and device for interaction during video playback |
CN110572705A (zh) * | 2019-09-17 | 2019-12-13 | 北京字节跳动网络技术有限公司 | 弹窗的控制方法、装置、介质及电子设备 |
CN110620949A (zh) * | 2019-09-17 | 2019-12-27 | 北京字节跳动网络技术有限公司 | 热点推荐弹窗的控制方法、装置、介质及电子设备 |
CN111669639A (zh) * | 2020-06-15 | 2020-09-15 | 北京字节跳动网络技术有限公司 | 一种活动入口的展示方法、装置、电子设备及存储介质 |
CN112261459A (zh) * | 2020-10-23 | 2021-01-22 | 北京字节跳动网络技术有限公司 | 一种视频处理方法、装置、电子设备和存储介质 |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802055B (zh) * | 2011-05-25 | 2016-06-01 | 阿里巴巴集团控股有限公司 | 一种基于在线视频的数据交互方法及装置 |
CN103049209B (zh) * | 2012-12-31 | 2016-04-06 | 广东欧珀移动通信有限公司 | 在手机熄屏状态下启动手机相机的方法和装置 |
US9407975B2 (en) * | 2013-03-05 | 2016-08-02 | Brandon Grusd | Systems and methods for providing user interactions with media |
CN104346067B (zh) * | 2013-11-15 | 2019-02-05 | 上海触乐信息科技有限公司 | 连续滑动输入单词的方法和系统 |
KR102319456B1 (ko) * | 2014-12-15 | 2021-10-28 | 조은형 | 콘텐츠 재생 방법 및 이를 수행하는 전자 기기 |
US10721540B2 (en) * | 2015-01-05 | 2020-07-21 | Sony Corporation | Utilizing multiple dimensions of commerce and streaming data to provide advanced user profiling and realtime commerce choices |
CN105357585B (zh) * | 2015-08-29 | 2019-05-03 | 华为技术有限公司 | 对视频内容任意位置和时间播放的方法及装置 |
CN105511758B (zh) * | 2015-12-10 | 2021-02-19 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
CN106921892B (zh) * | 2015-12-28 | 2020-01-10 | 腾讯科技(北京)有限公司 | 在线视频播放方法及装置 |
CN105824499A (zh) * | 2016-03-04 | 2016-08-03 | 维沃移动通信有限公司 | 一种窗口的控制方法及移动终端 |
CN105898520A (zh) * | 2016-04-07 | 2016-08-24 | 合网络技术(北京)有限公司 | 视频帧截取方法和装置 |
US10477277B2 (en) * | 2017-01-06 | 2019-11-12 | Google Llc | Electronic programming guide with expanding cells for video preview |
CN108600807B (zh) * | 2018-04-08 | 2021-04-13 | Oppo广东移动通信有限公司 | 视频播放控制方法、装置、终端和计算机可读介质 |
CN109525885B (zh) * | 2018-12-13 | 2021-07-20 | 广州华多网络科技有限公司 | 信息处理方法、装置、电子设备及计算机可读存储介质 |
US11250468B2 (en) * | 2019-02-28 | 2022-02-15 | International Business Machines Corporation | Prompting web-based user interaction |
CN110060101A (zh) * | 2019-04-18 | 2019-07-26 | 陈琪 | 一种广告视频信息推送方法 |
CN111143019B (zh) * | 2019-12-31 | 2023-05-23 | 中国银行股份有限公司 | 一种移动终端弹窗的控制方法及系统 |
-
2020
- 2020-10-23 CN CN202011149980.3A patent/CN112261459B/zh active Active
-
2021
- 2021-07-23 EP EP21881619.7A patent/EP4203483A4/en active Pending
- 2021-07-23 US US17/610,680 patent/US20220312065A1/en not_active Abandoned
- 2021-07-23 WO PCT/CN2021/108085 patent/WO2022083199A1/zh unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180255358A1 (en) * | 2015-11-26 | 2018-09-06 | Le Holdings (Beijing) Co., Ltd. | Method, system and device for interaction during video playback |
CN106775319A (zh) * | 2016-12-22 | 2017-05-31 | 惠州Tcl移动通信有限公司 | 一种基于移动终端的功能标识待机识别方法及移动终端 |
CN110572705A (zh) * | 2019-09-17 | 2019-12-13 | 北京字节跳动网络技术有限公司 | 弹窗的控制方法、装置、介质及电子设备 |
CN110620949A (zh) * | 2019-09-17 | 2019-12-27 | 北京字节跳动网络技术有限公司 | 热点推荐弹窗的控制方法、装置、介质及电子设备 |
CN111669639A (zh) * | 2020-06-15 | 2020-09-15 | 北京字节跳动网络技术有限公司 | 一种活动入口的展示方法、装置、电子设备及存储介质 |
CN112261459A (zh) * | 2020-10-23 | 2021-01-22 | 北京字节跳动网络技术有限公司 | 一种视频处理方法、装置、电子设备和存储介质 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4203483A4 * |
Also Published As
Publication number | Publication date |
---|---|
CN112261459B (zh) | 2023-03-24 |
US20220312065A1 (en) | 2022-09-29 |
CN112261459A (zh) | 2021-01-22 |
EP4203483A1 (en) | 2023-06-28 |
EP4203483A4 (en) | 2024-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022083199A1 (zh) | 视频处理方法、装置、电子设备和计算机可读存储介质 | |
US20240040199A1 (en) | Video-based interaction method and apparatus, storage medium and electronic device | |
WO2021254186A1 (zh) | 一种活动入口的展示方法、装置、电子设备及存储介质 | |
WO2023051297A1 (zh) | 信息显示方法、装置、电子设备和存储介质 | |
US20220368980A1 (en) | Video interaction method and device, electronic device and storage medium | |
US20240094875A1 (en) | Video interaction method and apparatus, electronic device, and storage medium | |
WO2023160416A1 (zh) | 信息展示方法、装置、电子设备、存储介质和程序产品 | |
WO2021218556A1 (zh) | 信息展示方法、装置和电子设备 | |
US20240319840A1 (en) | Data interaction method, apparatus, electronic device, storage medium, and program product | |
EP4203433A1 (en) | Information processing method and device, and medium | |
US20230185444A1 (en) | Multimedia information playback and apparatus, electronic device, and computer storage medium | |
WO2023071606A1 (zh) | 交互方法、装置、电子设备和存储介质 | |
US20240345698A1 (en) | Comment prompt method, apparatus, electronic device, storage medium and program product | |
WO2022257797A1 (zh) | 目标内容的显示方法、装置、设备、可读存储介质及产品 | |
EP4428718A1 (en) | Video processing method and apparatus, electronic device, and storage medium | |
US20210400330A1 (en) | Information interaction method and device, electronic apparatus, and computer readable storage medium | |
WO2021088823A1 (zh) | 用于交互控制的方法、装置、终端及存储介质 | |
WO2023035835A1 (zh) | 一种信息展示方法、装置、设备及介质 | |
WO2024094130A1 (zh) | 内容分享方法、装置、设备、计算机可读存储介质及产品 | |
WO2022218109A1 (zh) | 交互方法, 装置, 电子设备及计算机可读存储介质 | |
WO2024165010A1 (zh) | 信息生成方法、信息显示方法、装置、设备和存储介质 | |
WO2024055836A1 (zh) | 播放控制方法、装置、电子设备和存储介质 | |
WO2024027689A1 (zh) | 媒体内容的控制方法、装置、电子设备和存储介质 | |
WO2024027648A1 (zh) | 信息的显示方法、装置、电子设备和存储介质 | |
US20240267595A1 (en) | Method, device and medium for enabling moving comments to a video |
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: 21881619 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021881619 Country of ref document: EP Effective date: 20230323 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |