WO2024017117A1 - 视频处理方法、装置、电子设备以及存储介质 - Google Patents

视频处理方法、装置、电子设备以及存储介质 Download PDF

Info

Publication number
WO2024017117A1
WO2024017117A1 PCT/CN2023/106984 CN2023106984W WO2024017117A1 WO 2024017117 A1 WO2024017117 A1 WO 2024017117A1 CN 2023106984 W CN2023106984 W CN 2023106984W WO 2024017117 A1 WO2024017117 A1 WO 2024017117A1
Authority
WO
WIPO (PCT)
Prior art keywords
video content
preset event
current video
preset
touch
Prior art date
Application number
PCT/CN2023/106984
Other languages
English (en)
French (fr)
Inventor
李�根
江海强
王若茜
饶启正
苗华云
胡春豪
朱自强
赵鸿帅
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2024017117A1 publication Critical patent/WO2024017117A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies

Definitions

  • the present disclosure relates to the field of computer technology, for example, to a video processing method, device, electronic equipment and storage medium.
  • the video playback page is configured with the function of interacting with video content. For example, for a video platform similar to waterfall flow, if you are not interested in the video on the video playback page, you need to long press the screen to pop up the panel. By triggering the "Not interested” on the panel ” control interacts with video content for feedback. However, the "not interested” control is hidden under the panel, making it difficult to understand the specific situation, and the required operation paths include long presses and clicks, which leads to increased operating costs.
  • the present disclosure provides a video processing method, device, electronic device and storage medium to effectively reduce the operating cost of interactive feedback, thereby increasing the penetration rate of interactive feedback.
  • an embodiment of the present disclosure provides a video processing method, which method includes:
  • Preset event triggering control is performed on the current video content through the preset event triggering area.
  • embodiments of the present disclosure also provide a video processing device, including:
  • the current video content display module is set to display the current video content on the video playback page
  • the preset event trigger area display module is configured to display the preset event trigger area on the video playback page when the current video content is slid;
  • a preset event triggering control module is configured to perform preset event triggering control on the current video content through the preset event triggering area.
  • embodiments of the present disclosure also provide an electronic device, which includes:
  • processors one or more processors
  • a storage device configured to store one or more programs
  • the one or more processors are caused to implement the video processing method described in any embodiment of the present disclosure.
  • embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the video processing method described in any embodiment of the present disclosure is implemented.
  • Figure 1 is a schematic flow chart of a video processing method provided by an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of a video playback page provided by an embodiment of the present disclosure
  • Figure 3 is a schematic diagram of a video playback page provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic diagram of an upward sliding operation on the current video content provided in an embodiment of the present disclosure
  • Figure 5 is a schematic diagram of a preset event triggering area that is gradually adjusted as the current video content slides according to an embodiment of the present disclosure
  • Figure 6A is a schematic diagram of a touch and slide operation on the current video content provided by an embodiment of the present disclosure
  • Figure 6B is a schematic diagram of a video processing method provided in an embodiment of the present disclosure.
  • Figure 7 is a schematic diagram of a reference mark provided in an embodiment of the present disclosure entering a preset event triggering area
  • Figure 8 is a schematic diagram of screen jitter in a preset event triggering area provided in an embodiment of the present disclosure
  • Figure 9 is a flow chart of another video processing method provided in an embodiment of the present disclosure.
  • Figure 10 is a schematic diagram of the corresponding touch position when continuously touching and sliding the current video content according to an embodiment of the present disclosure
  • Figure 11 is a schematic diagram of the corresponding reference mark position when the current video content is continuously touched and slid according to an embodiment of the present disclosure
  • Figure 12 is a schematic diagram of a preset sliding operation condition provided by an embodiment of the present disclosure.
  • Figure 13 is a schematic diagram of a touch position entering a preset startup area provided in an embodiment of the present disclosure
  • Figure 14 is a schematic structural diagram of a video processing device provided by an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the term “include” and its variations are open-ended, ie, “including but not limited to.”
  • the term “based on” means “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”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • the user Before using the technical solutions disclosed in the multiple embodiments of this disclosure, the user should be informed of the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and the user's authorization should be obtained.
  • a prompt message is sent to the user to clearly remind the user that the operation requested by the user will require the acquisition and use of the user's personal information. Therefore, users can autonomously choose whether to provide personal information to software or hardware such as electronic devices, applications, servers or storage media that perform the operations of the technical solution of the present disclosure based on the prompt information.
  • the method of sending prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in the form of text in the pop-up window.
  • the pop-up window can also carry a selection control for the user to select "agree” or “disagree” to provide personal information to the electronic device.
  • FIG. 1 is a schematic flowchart of a video processing method provided by an embodiment of the disclosure.
  • the embodiment of the disclosure is suitable for triggering a preset event of a video.
  • the method can be executed by a video processing device, and the device can It is implemented in the form of software and/or hardware and is generally integrated on any electronic device with network communication functions.
  • the electronic device can be a mobile terminal, a personal computer (Personal Computer, PC) or a server.
  • the video processing method in this embodiment may include the following steps.
  • the video playback page may refer to a page used to play video content, such as the application page of multiple types of short video applications.
  • the video content played on the video playback page can be switched by sliding the video up or down.
  • the preset event triggering area may refer to an area where preset event triggering feedback is performed on the video content. For example, see Figure 3. Taking the preset event as the "Not Interested” event as an example, slide the current video content up and down on the video playback page. The "Not Interested" event trigger area for the current video content in Figure 3 will be displayed in on the video playback page.
  • the relative distance between the preset event triggering area and the bottom of the video play page is preset based on the sliding action distribution of the video content on the video play page.
  • the display position of the preset event triggering area on the video playback page that is, the relative distance between the preset event triggering area and the bottom of the video playback page, can be obtained through preset settings.
  • the display position of the preset event triggering area on the video play page can be set according to the distribution position of the sliding action when the user slides up and down on multiple video contents played on the video play page.
  • the position of the preset event triggering area can be set at a distance from the video playback page.
  • the preset event triggering area can be set in area A shown in FIG. 3 .
  • the following process may also be included:
  • the current video content displayed on the video playback page begins to slide in a preset direction, so that the next video content begins to appear on the video playback page for display.
  • the touch and sliding operation on the current video content is detected, and the touch and sliding operation includes the upward sliding operation and the downward sliding operation on the video playback page by the user.
  • the current video content is displayed on the video playback page.
  • an upward sliding operation on the current video content is detected, the current video content begins to slide upward so that the next video content is on the current video content.
  • the bottom of the video content begins to appear on the video playback page for display; the current video content and the next video content slide in synchronization along the sliding direction with the touch sliding operation on the video playback page.
  • the touch sliding operation may also be a downward sliding operation performed by the user on the video playback page.
  • a downward sliding operation on the current video content is detected, The current video content begins to slide downward, so that the next video content begins to appear on the video play page for display at the top of the current video content.
  • the preset event trigger area is displayed on the video playback page, and may also include the following processes:
  • the size of the preset event trigger area is gradually adjusted as the current video content slides.
  • the size of the preset event triggering area for the current video content will be gradually adjusted as the current video content slides.
  • the area size of the preset event triggering area will gradually increase as the current video content slides, and will stop increasing until it reaches the preset size or stop adjusting when the preset event is triggered.
  • the area size of the preset event trigger area displayed on the video playback page after sliding a certain distance is compared to the area of the preset event trigger area when it is first displayed. The size will increase significantly. The increase in size can remind the user that there is a possibility that the preset event will be triggered, and remind the user to pay attention to whether it is triggered.
  • the size of the preset event triggering area may be one-tenth of the screen of the entire video playback device. As the current video content slides, the area size of the preset event triggering area will gradually increase, and may eventually reach twice the area size of the preset event triggering area when the sliding begins. In the embodiment of the present disclosure, there is no limit on the size of the preset event triggering area.
  • the area size of the preset event triggering area should not be too large. If the area size of the preset event triggering area is too large, it will affect the user's daily operations. At the same time, if the preset event trigger area If the area size of the domain is too small, the effect of prompting the user through the preset event triggering area will be reduced, and the effective prompting effect on the user cannot be achieved.
  • the preset event trigger area is displayed on the video playback page, and may also include the following processes:
  • the background color of the preset event trigger area is gradually adjusted as the current video content slides.
  • the background color of the preset event triggering area is gradually adjusted as the current video content slides.
  • the gradient adjustment may mean that the background color of the preset event triggering area gradually becomes darker.
  • the transparency of the preset event triggering area is located in the preset transparency interval, which can make part of the video content blocked by the preset event triggering area blurred and visible.
  • the background color of the preset event triggering area is lighter, which can mean to achieve the effect of frosted glass, so as not to affect the user's viewing of the current video content; after the current video content slides a certain distance, the preset Assume that the background color of the event trigger area gradually becomes darker, which can be dark gray.
  • the background color gradient of the preset event triggering area is adjusted, which can serve as a visual reminder to the user.
  • the following process may also be included:
  • the preset event trigger prompt information may refer to the preset prompt information displayed in the preset event trigger area.
  • the preset event triggering prompt information may be "not interested” or similar prompt information.
  • "not interested” and other similar preset event trigger prompt information can be displayed simultaneously in the preset event trigger area.
  • S130 Perform preset event trigger control on the current video content through the preset event trigger area.
  • the preset event triggering control may refer to marking the current video content as an uninteresting video based on the user's triggering operation on the current video content. For example, sliding the current video content to a preset event triggering area marks the current video content as an uninteresting video.
  • performing preset event trigger control on the current video content through the preset event trigger area may include the following process:
  • triggering a preset event for the current video content displayed on the video playback page includes: waiting for the touch sliding operation to end in the preset event trigger area, triggering a preset event for the current video content displayed on the video playback page. event.
  • the touch sliding operation in the preset event triggering area is detected.
  • the result of triggering the preset event on the current video content is displayed on the video playback page, that is, " Let go successfully”.
  • triggering a preset event for the current video content displayed on the video play page it also includes:
  • the status of the preset event triggering area is changed, that is, when a touch sliding operation is detected, "Not interested” is displayed on the preset event triggering area.
  • “Let go successfully” is displayed on the preset event trigger area.
  • performing preset event trigger control on the current video content through the preset event trigger area may include the following process:
  • a preset event is triggered for the current video content displayed on the video playback page.
  • the current video content is displayed on the video play page.
  • the next video content begins to be displayed on the video play page.
  • the preset sliding operation condition for example, after sliding a preset distance
  • the preset event triggering area starts to be displayed on the video playing page.
  • the touch slide distance in the preset event trigger area exceeds the preset distance and the touch slide ends, the current video content is preset.
  • preset event trigger control is performed on the current video content to mark the current video content with a preset event, such as marking it as an uninteresting video .
  • the parameter is detected on the current video content. After the test mark enters the preset event triggering area, the preset event is triggered for the current video content, that is, the "not interested" area on the current video content is triggered.
  • triggering a preset event for the current video content displayed on the video playback page also includes: when waiting for the reference mark in the preset event triggering area to be hidden, triggering a preset event for the current video content displayed on the video playback page. Set event.
  • the reference mark When the reference mark is hidden, it indicates that the current video content triggers the preset event and the preset event trigger area displays "let go successfully"; through the change of the status in the preset event trigger area, the user is prompted to The triggering preset event of the current video content is completed.
  • the hiding of the reference mark on the current video content indicates that the touch sliding operation in the preset event triggering area ends; the hiding of the reference mark can be the disappearance of the reference mark, or the color hiding and/or reference of the reference mark.
  • the outline of the logo becomes a dotted line, for example, in Figure 7, the outline of the "lightning" becomes a dotted line.
  • the selection of reference marks in this embodiment of the disclosure includes “lightning”, which is not limited in this embodiment of the disclosure.
  • the following process may also be included:
  • the displayed preset event triggering area can be shaken to prompt the user to view the current video.
  • Content trigger control is complete.
  • the jittering of the displayed picture of the preset event triggering area may refer to continuously zooming in and out of the displayed preset event triggering area to achieve jittering of the picture of the preset event triggering area.
  • Figure 8 When the preset event triggering control is completed, the preset event triggering area is in an enlarged state. The preset event triggering area will be reduced at the next moment, and finally the preset event triggering area will return to its original enlarged state. .
  • the preset event triggering area is enlarged or reduced to prompt the user that the preset event triggering control is completed.
  • the playback device used to display the video playback page can also be controlled to provide tactile feedback to prompt The user triggers control of the current video content to complete.
  • the tactile feedback may mean that the playback device used to display the video playback page prompts the user via vibration to complete the preset event triggering control.
  • the preset event triggering area displayed on the video playback page can also be controlled to perform screen jitter and the playback device used to display the video playback page can be controlled to provide tactile feedback. Comprehensive, prompt the user to complete the trigger control of the current video content in a stronger form.
  • dynamic feedback when the current video content is triggered by a preset event, After control, dynamic feedback is also included.
  • the dynamic feedback may refer to feedback through dynamic graphics on the current video content page. For example, a split heart pops up on the current video content page, and at the same time, the split heart gradually becomes larger until it breaks. At this point, the user ends the sliding operation and is considered to have successfully submitted and is not interested.
  • the video processing method provided by the embodiment of the present disclosure combines the normal operation of swiping up from the current video to watch the next video and the operation of triggering the submission of uninteresting events, so that uninteresting events can be quickly fed back when swiping up the video, reducing the The operation cost of triggering events that users are not interested in feedback can increase the penetration rate of uninterested signals and facilitate better video recommendations.
  • the embodiment of the present disclosure adopts a video processing method, by displaying the current video content on the video playback page; when the current video content is slid, the preset event triggering area is displayed on the video playback page; by the preset event triggering area It is assumed that the event triggering area performs preset event triggering control on the current video content.
  • the current video content displayed on the video playback page is slid, thereby triggering the display of the preset event triggering area; through the change of the area size and background color of the preset event triggering area Changes in content, changes in prompt content, and tactile feedback from the playback device prompt users to mark the current video content as "not interested” content; by setting the location of the preset event trigger area, users are prevented from accidentally touching "not interested” during normal touch and sliding "area.
  • the operating cost of user feedback "not interested” can be effectively reduced, thereby increasing the penetration rate of "not interested” signals, and ultimately video recommendation adjustments can be made according to user preferences.
  • the content displayed in the preset event triggering area may also be "interesting"; at the same time, the preset event triggering the current video content may also be to mark the current video content as the content of interest, This allows users to mark the video content they are interested in, effectively reducing the operating cost of user feedback "interesting", thereby increasing the penetration rate of "interesting” signals, and ultimately adjusting video recommendations according to user preferences.
  • FIG 9 is a flow chart of another video processing method provided in an embodiment of the present disclosure.
  • the embodiments of the present disclosure describe the foregoing embodiments on the basis of the above-mentioned embodiments.
  • the embodiments of the present disclosure can be combined with multiple optional solutions in one or more of the above-mentioned embodiments.
  • the video processing method provided in the embodiment of the present disclosure may include the following steps.
  • S220 Detect touch and slide operation information when touching and sliding the current video content.
  • the touch and slide operation information may refer to information obtained when a touch and slide operation is performed on the video playback page, and the touch and slide operation information includes the continued sliding distance and/or the touch position. By detecting the corresponding touch position when the current video content is continuously touched and slid, the continuous sliding distance of the current video content when the current video content is continuously slid is determined.
  • detecting the continuous sliding distance when touching and sliding the current video content includes steps C1-C2.
  • Step C1 Detect at least two reference touch positions corresponding to the continuous sliding of the current video content.
  • the at least two reference touch positions include a touch position when starting the touch sliding on the current video content and a touch position before ending the touch sliding.
  • a touch position when starting the touch sliding on the current video content and a touch position before ending the touch sliding.
  • the touch position A is the touch position when the touch and slide operation on the current video content is started
  • the touch position B is when the touch on the current video content is finished.
  • Step C2 Determine the continuous sliding distance when the current video content is continuously slid based on the at least two reference touch positions.
  • the continuous sliding distance may refer to the distance from touch position A to touch position B, and the continuous sliding distance is represented by the number of pixels experienced from the beginning of the touch sliding operation. That is, the number of pixels included in the path from touch position A to touch position B is the continuous sliding distance when the current video content continues to slide.
  • detecting the touch position when touching and sliding the current video content includes steps D1-D2.
  • Step D1 Detect at least two reference mark positions corresponding to the continuous sliding of the current video content.
  • the at least two reference mark positions include the position of the reference mark on the current video content when the touch slide is started on the current video content and the updated position of the reference mark before the touch slide is ended.
  • the reference flag 1 is the reference flag position when the touch sliding operation is started on the current video content.
  • the reference flag 2 is the reference flag 2.
  • the updated position of the reference mark before the current video content ends touch sliding.
  • Step D2 Determine the continuous sliding distance of the current video content based on the positions of the at least two reference marks.
  • the continuous sliding distance may refer to the distance from reference flag 1 to reference flag 2, that is, the number of pixels included in the path from reference flag 1 to reference flag 2 is the number of pixels included in the path.
  • the continuous sliding distance of the current video content when it continues to slide may refer to the distance from reference flag 1 to reference flag 2, that is, the number of pixels included in the path from reference flag 1 to reference flag 2 is the number of pixels included in the path.
  • the preset sliding operation condition includes a first preset sliding operation condition and/or a second preset sliding operation condition.
  • the first preset sliding operation condition includes that the sliding distance has been continuously greater than the preset sliding distance and/or the corresponding touch position has entered the preset starting area on the video playback page when the sliding distance has been continuously touched. It is assumed that the startup area is used to determine whether to start displaying the preset event triggering area; the second preset sliding operation condition includes whether the starting touch position of the touch sliding operation is located in the preset starting area.
  • the preset sliding distance may mean that the sliding distance of the current video content is one quarter of the video playback page. See Figure 12.
  • the preset sliding distance may mean that the bottom of the page of the current video content and the bottom of the video playback page.
  • the preset start area may mean that when the current video content is slid and the corresponding touch position during the continuous touch slide enters the preset start area, the preset event trigger area starts to be displayed on the video playback page. .
  • the touch position enters the preset startup area, and the "not interested" area will appear on the video playback page.
  • the preset starting area may refer to the position where the touch sliding starts when sliding on the current video content. See Figure 12.
  • the preset starting position may refer to one-third of the area of the video playback page. If the When the current video content is slid, if the position where the touch slide is started is within the preset starting position, the preset event triggering area starts to be displayed on the video playback page.
  • preset sliding operation conditions such as preset sliding distance, preset start area, and preset starting area
  • preset sliding operation conditions such as preset sliding distance, preset start area, and preset starting area
  • S240 Perform preset event trigger control on the current video content through the preset event trigger area.
  • Embodiments of the present disclosure provide a video processing method that combines the normal operations of swiping up from the current video to watch the next video and triggering the submission of uninteresting events, so that uninteresting events can be quickly fed back when swiping up on the video. , reducing the operating cost of triggering events that users are not interested in feedback, improving user awareness, thereby improving user feedback; by setting preset sliding operation conditions such as preset sliding distance, preset starting area, and preset starting area , when any one or more preset sliding operation conditions are met, the preset event trigger area can be triggered, thereby giving users timely prompts and facilitating user feedback on the current video content.
  • preset sliding operation conditions such as preset sliding distance, preset starting area, and preset starting area
  • the user can quickly provide feedback on the video content while sliding the current video content, effectively reducing the operating cost of the user's "not interested” feedback, thereby increasing the penetration rate of the "not interested” signal and facilitating implementation Better video recommendations.
  • FIG. 14 is a schematic structural diagram of a video processing device provided by an embodiment of the present disclosure.
  • the embodiment of the present disclosure is suitable for triggering a preset event of a video.
  • the device can be implemented in the form of software and/or hardware, and Integrated on any electronic device with network communication capabilities, the electronic device can It is a mobile terminal, PC or server, etc.
  • the device includes: a current video content display module 310, a preset event trigger area display module 320, and a preset event trigger control module 330; wherein:
  • the current video content display module 310 is configured to display the current video content on the video playback page
  • the preset event trigger area display module 320 is configured to display the preset event trigger area on the video playback page when the current video content is slid;
  • the preset event trigger control module 330 is configured to perform preset event trigger control on the current video content through the preset event trigger area.
  • the preset event triggering area display module 320 includes:
  • the current video content displayed on the video playback page begins to slide in a preset direction, so that the next video content begins to appear on the video playback page for display. .
  • the preset event triggering area display module 320 also includes:
  • the touch and slide operation information includes the continued sliding distance and/or touch position
  • the preset event triggering area starts to be displayed on the video playback page.
  • the preset event triggering area display module 320 also includes:
  • the at least two reference touch positions include the touch position when the touch sliding is started on the current video content and the touch position before the touch sliding is ended. touch location;
  • the continuous sliding distance when the current video content is continuously slid is determined based on the at least two reference touch positions.
  • the preset event triggering area display module 320 also includes:
  • the at least two reference mark positions include the positions of the reference marks on the current video content when the current video content is started to be touched and slid. position and the updated position of the reference mark before ending the touch slide;
  • the continuous sliding distance of the current video content when the current video content is continuously slid is determined based on the positions of the at least two reference marks.
  • the continuous sliding distance is represented by the number of pixels experienced by the touch sliding operation from the beginning.
  • the preset event triggering area display module 320 also includes:
  • the preset sliding operation condition includes a first preset sliding operation condition and/or a second preset sliding operation condition; the first preset sliding operation condition
  • the operating conditions include that the continuous sliding distance is greater than the preset sliding distance and/or the corresponding touch position during continuous touch sliding enters the preset startup area on the video playback page.
  • the preset startup area is used to determine whether to activate the display preset Event triggering area; the second preset sliding operation condition includes whether the starting touch position of the touch sliding operation is located in the preset starting area.
  • the preset event triggering area display module 320 also includes:
  • the size of the preset event triggering area is gradually adjusted as the current video content slides.
  • the preset event triggering area display module 320 also includes:
  • the background color of the preset event triggering area is gradually adjusted as the current video content slides.
  • the transparency of the preset event triggering area is located in the preset transparency interval, which can make part of the video content blocked by the preset event triggering area blurred and visible.
  • the preset event triggering area display module 320 also includes:
  • Preset event triggering prompt information is synchronously displayed to prompt that the preset event is allowed to be triggered for the current video content during the sliding process of the current video content.
  • the preset event trigger prompt information is displayed in the preset event trigger area.
  • the relative distance between the preset event triggering area and the low end of the video playback page is based on sliding the video content on the video playback page.
  • Action distribution is preset.
  • the preset event triggering control module 330 includes:
  • the preset event After detecting the touch and sliding operation on the current video content when entering the preset event trigger area, the preset event is triggered for the current video content displayed on the video playback page; or,
  • a preset event is triggered for the current video content displayed on the video playback page.
  • the preset event triggering control module 330 includes:
  • the preset event is triggered for the current video content displayed on the video playback page;
  • the preset event is triggered for the current video content displayed on the video playback page, wherein the current video content on the current video content is triggered when the touch sliding operation is completed in the preset event triggering area.
  • Reference flag hidden When waiting for the reference mark in the preset event triggering area to be hidden, the preset event is triggered for the current video content displayed on the video playback page, wherein the current video content on the current video content is triggered when the touch sliding operation is completed in the preset event triggering area. Reference flag hidden.
  • the preset event triggering control module 330 includes:
  • the preset event triggering control module 330 includes:
  • the video processing device provided by the embodiments of the present disclosure can execute the video processing method provided by any embodiment of the present disclosure, and has corresponding functional modules and effects for executing the video processing method.
  • the multiple units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned divisions, as long as they can achieve the corresponding functions; in addition, the names of the multiple functional units are only for the convenience of distinguishing each other. , are not used to limit the protection scope of the embodiments of the present disclosure.
  • FIG. 15 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • Terminal devices in embodiments of the present disclosure may include mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, as well as fixed terminals such as digital televisions (television, TV), desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD Portable multimedia players
  • PMP portable multimedia players
  • vehicle-mounted terminals such as vehicle-mounted navigation terminals
  • fixed terminals such as digital televisions (television, TV), desktop computers, and the like.
  • the electronic device shown in FIG. 15 is only an example, and should not bring any limitations to the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501.
  • the processing device 501 may process data according to a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from a program.
  • the storage device 508 loads the program in the random access memory (Random Access Memory, RAM) 503 to perform various appropriate actions and processes.
  • RAM Random Access Memory
  • various programs and data required for the operation of the electronic device 500 are also stored.
  • the processing device 501, ROM 502 and RAM 503 are connected to each other via a bus 504.
  • An input/output (I/O) interface 505 is also connected to bus 504.
  • the following devices can be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker , an output device 507 such as a vibrator; a storage device 508 including a magnetic tape, a hard disk, etc.; and a communication device 509.
  • input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.
  • LCD liquid crystal display
  • speaker an output device 507 such as a vibrator
  • storage device 508 including a magnetic tape, a hard disk, etc.
  • Communication device 509 may allow electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data.
  • FIG. 15 illustrates electronic device 500 with various means, implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program including program code for executing the video processing method shown in the flowchart.
  • the computer program may be downloaded and installed from the network via communication device 509, or from storage device 508, or from ROM 502.
  • the processing device 501 When the computer program is executed by the processing device 501, the above-mentioned functions defined in the video processing method of the embodiment of the present disclosure are performed.
  • the electronic device provided by the embodiments of the present disclosure and the video processing method provided by the above embodiments belong to the same concept.
  • Technical details that are not described in detail in this embodiment can be referred to the above embodiments, and this embodiment has the same effect as the above embodiments. .
  • Embodiments of the present disclosure provide a computer storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the video processing method provided by the above embodiments is implemented.
  • Computer-readable medium of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • Computer-readable storage media may be, for example, electronic, magnetic, Optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any combination thereof.
  • Computer-readable storage media may include: an electrical connection having one or more wires, portable computer disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), flash memory, fiber optics , portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection 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, carrying computer-readable program code therein. Such propagated data signals may take many forms, including electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including: wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the client and server can communicate using any currently known or future developed network protocol, such as HyperText Transfer Protocol (HTTP), and can communicate with digital data in any form or medium.
  • HTTP HyperText Transfer Protocol
  • Communications e.g., communications network
  • Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any current network for knowledge or future research and development.
  • LANs Local Area Networks
  • WANs Wide Area Networks
  • the Internet e.g., the Internet
  • end-to-end networks e.g., ad hoc end-to-end networks
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device displays the current video content on the video playback page; and performs processing on the current video content.
  • the preset event triggering area is displayed on the video playback page; the current video content is controlled by preset event triggering through the preset event triggering area.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language.
  • 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 can be connected to the user computer through any kind of network, including a LAN or WAN. computer, or may be connected to an external computer (such as via the Internet using an Internet service provider).
  • each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • Each block in the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration may be implemented by special purpose hardware-based systems that perform the specified functions or operations, or may be implemented using special purpose hardware implemented in combination with computer instructions.
  • the units involved in the embodiments of the present disclosure can be implemented in software or hardware.
  • the name of the unit does not constitute a limitation on the unit itself.
  • the first acquisition unit can also be described as "the unit that acquires at least two Internet Protocol addresses.”
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Parts
  • SOC System on Chip
  • CPLD Complex Programmable Logic Device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an 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 electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • Machine-readable storage media includes one or more wire-based electrical connections, portable computer disks, hard drives, RAM, ROM, EPROM, flash memory, fiber optics, portable CD-ROMs, optical storage devices, magnetic storage devices, or the above any suitable combination of content.
  • the storage medium may be a non-transitory storage medium.
  • Example 1 provides a video processing method, the method includes:
  • Preset event triggering control is performed on the current video content through the preset event triggering area.
  • Example 2 According to the method described in Example 1, before the preset event trigger area is displayed on the video play page, it also includes:
  • the current video content displayed on the video playback page begins to slide in a preset direction, so that the next video content begins to appear on the video playback page for display. .
  • Example 3 According to the method described in Example 1, when sliding the current video content, the preset event trigger area is displayed on the video playback page, including:
  • the touch and slide operation information includes the continued sliding distance and/or touch position
  • the preset event triggering area starts to be displayed on the video playback page.
  • Example 4 According to the method described in Example 3, detecting touch and slide operation information when touching and sliding the current video content, including:
  • the at least two reference touch positions include the touch position when the touch sliding is started on the current video content and the touch position before the touch sliding is ended. touch location;
  • the continuous sliding distance when the current video content is continuously slid is determined based on the at least two reference touch positions.
  • Example 5 According to the method described in Example 3, detecting touch and slide operation information when touching and sliding the current video content, including:
  • the at least two reference mark positions include the positions of the reference marks on the current video content when the current video content is started to be touched and slid. position and the updated position of the reference mark before ending the touch slide;
  • the continuous sliding distance of the current video content when the current video content is continuously slid is determined based on the positions of the at least two reference marks.
  • Example 6 According to the method described in Example 4 or Example 5, the continued sliding distance is represented by the number of pixels experienced by the touch sliding operation from the beginning.
  • Example 7 According to the method described in Example 3, detect when the current video content is touched and slid. Touch and slide operation information, including:
  • the preset sliding operation condition includes a first preset sliding operation condition and/or a second preset sliding operation condition; the first preset sliding operation condition includes a continued sliding distance When the corresponding touch position is greater than the preset sliding distance and/or continuous touch sliding enters the preset startup area on the video playback page, the preset startup area is used to determine whether to start displaying the preset event trigger area; the third The second preset sliding operation condition includes whether the starting touch position of the touch sliding operation is located in the preset starting area.
  • Example 9 According to the method described in Example 1, the preset event trigger area is displayed on the video playback page, and also includes:
  • the size of the preset event triggering area is gradually adjusted as the current video content slides.
  • Example 10 According to the method described in Example 1, the preset event trigger area is displayed on the video play page, and also includes:
  • the background color of the preset event triggering area is gradually adjusted as the current video content slides.
  • Example 11 According to the method described in Example 1, the transparency of the preset event triggering area is located in the preset transparency interval, which can make part of the video content blocked by the preset event triggering area blurred and visible.
  • Example 12 According to the method described in Example 1, when the preset event trigger area is displayed on the video play page, it also includes:
  • Preset event triggering prompt information is synchronously displayed to prompt that the preset event is allowed to be triggered for the current video content during the sliding process of the current video content.
  • Example 13 According to the method of Example 12, the preset event trigger prompt information is displayed in the preset event trigger area.
  • Example 14 According to the method of Example 1, the relative distance between the preset event triggering area and the bottom of the video play page is preset based on the sliding action distribution of the video content on the video play page.
  • Example 15 According to the method described in Example 1, performing preset event trigger control on the current video content through the preset event trigger area includes:
  • the preset event is triggered for the current video content displayed on the video playback page;
  • the Trigger After detecting that the reference mark on the current video content enters the preset event triggering area, the Triggers a preset event on the current video content displayed on the video playback page.
  • Example 16 According to the method described in Example 15, triggering a preset event for the current video content displayed on the video play page includes:
  • the preset event is triggered for the current video content displayed on the video playback page;
  • the preset event When waiting for the reference mark in the preset event trigger area to be hidden, the preset event is triggered for the current video content displayed on the video playback page; where the reference mark on the current video content when the touch sliding operation ends in the preset event trigger area Flag hidden.
  • Example 17 According to the method described in Example 15, when the preset event is triggered for the current video content displayed on the video play page, the method further includes:
  • Example 18 According to the method described in Example 1, when the preset event is triggered for the current video content displayed on the video play page, the method further includes:
  • Example 19 further provides a video processing device, where the video processing device includes:
  • the current video content display module is set to display the current video content on the video playback page
  • the preset event trigger area display module is configured to display the preset event trigger area on the video playback page when the current video content is slid;
  • a preset event triggering control module is configured to perform preset event triggering control on the current video content through the preset event triggering area.
  • Example 20 further provides an electronic device, the electronic device includes:
  • processors one or more processors
  • a storage device configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the video processing method as described in any one of Examples 1-18.
  • Example 21 further provides a storage medium containing computer-executable instructions that, when executed by a computer processor, perform: The video processing method described in any of Examples 1-18.

Landscapes

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

Abstract

一种视频处理方法、装置、电子设备以及存储介质,所述方法包括:在视频播放页上显示当前视频内容[S110];在对所述当前视频内容进行滑动时,将预设事件触发区域显示在视频播放页上[S120];通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制[S130]。

Description

视频处理方法、装置、电子设备以及存储介质
本申请要求在2022年07月19日提交中国专利局、申请号为202210855134.6的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开涉及计算机技术领域,例如涉及一种视频处理方法、装置、电子设备以及存储介质。
背景技术
视频播放页配置有与视频内容进行交互操作的功能,比如对于类似瀑布流形式的视频平台,如果对视频播放页面上的视频不感兴趣,需要长按屏幕来弹出面板,通过触发面板上“不感兴趣”控件与视频内容进行交互反馈。但是这样一来“不感兴趣”控件隐藏在面板之下,难易了解具体情况,且需要操作的路径包括长按以及点击等,导致操作成本增加。
发明内容
本公开提供了一种视频处理方法、装置、电子设备以及存储介质,以实现有效降低交互反馈的操作成本,从而提升交互反馈的渗透率。
第一方面,本公开实施例提供了一种视频处理方法,所述方法包括:
在视频播放页上显示当前视频内容;
在对所述当前视频内容进行滑动时,将预设事件触发区域显示在视频播放页上;
通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
第二方面,本公开实施例还提供了一种视频处理装置,包括:
当前视频内容显示模块,设置为在视频播放页上显示当前视频内容;
预设事件触发区域显示模块,设置为在对所述当前视频内容进行滑动时,将预设事件触发区域显示在视频播放页上;
预设事件触发控制模块,设置为通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
第三方面,本公开实施例还提供了一种电子设备,该电子设备包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开任意实施例所述的视频处理方法。
第四方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现本公开任意实施例所述的视频处理方法。
附图说明
图1为本公开实施例所提供的一种视频处理方法的流程示意图;
图2是本公开实施例提供的一种视频播放页的示意图;
图3是本公开实施例提供的一种视频播放页的示意图;
图4是本公开实施例中提供的一种作用于当前视频内容的向上滑动的操作示意图;
图5是本公开实施例提供的一种预设事件触发区域随所述当前视频内容的滑动进行逐步调整的示意图;
图6A是本公开实施例提供的一种对当前视频内容进行触摸滑动操作的示意图;
图6B是本公开实施例中提供的一种视频处理方法的示意图;
图7是本公开实施例中提供的一种参考标志进入预设事件触发区域内的示意图;
图8是本公开实施例中提供的一种预设事件触发区域画面抖动的示意图;
图9为本公开实施例中提供的另一种视频处理方法的流程图;
图10是本公开实施例提供的一种对当前视频内容进行持续触摸滑动时对应的触摸位置的示意图;
图11是本公开实施例提供的一种对当前视频内容进行持续触摸滑动时对应的参考标志位置的示意图;
图12是本公开实施例提供的一种预设滑动操作条件的示意图;
图13是本公开实施例中提供的一种触摸位置进入预设启动区域的示意图;
图14为本公开实施例所提供的一种视频处理装置的结构示意图;
图15为本公开实施例所提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图描述本公开的实施例。虽然附图中显示了本公开的一些实施例,然而本公开可以通过多种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了理解本公开。本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
本公开的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,除非在上下文另有指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
在使用本公开多个实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。
例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,该用户请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。
作为一种可选的但非限定性的实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”以向电子设备提供个人信息的选择控件。
上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成 限定,其它满足相关法律法规的方式也可应用于本公开的实现方式中。
图1为本公开实施例所提供的一种视频处理方法的流程示意图,本公开实施例适用于对视频的预设事件进行触发的情形,该方法可以由视频处理装置来执行,该装置可以通过软件和/或硬件的形式实现,并一般集成在任何具有网络通信功能的电子设备上,该电子设备可以是移动终端、个人计算机(Personal Computer,PC)电脑或服务器等。如图1所示,本实施例中的视频处理方法,可包括以下步骤。
S110、在视频播放页上显示当前视频内容。
其中,视频播放页可以是指用于播放视频内容的页面,比如多类短视频应用程序的应用页面,视频播放页上播放的视频内容可以通过上划或下划进行视频滑动切换。例如,参见图2,通过上下滑动视频播放页上的当前视频内容,以获取下一视频内容;比如当前视频内容可以为图2中示出的骑马视频内容,相应地,下一视频内容可以为图2中示出的滑雪视频内容。
S120、在对当前视频内容进行滑动时,将预设事件触发区域显示在视频播放页上。
其中,预设事件触发区域可以是指对视频内容进行预设事件触发反馈的区域。例如,参见图3,以预设事件为“不感兴趣”事件为例,在视频播放页上将当前视频内容进行上下滑动,图3中针对当前视频内容的“不感兴趣”事件触发区域会显示在视频播放页上。
作为一种可选的但非限定性的实现方式,预设事件触发区域与视频播放页的页面底端的相对距离基于对视频播放页面上视频内容的滑动动作分布进行预先设置。
预设事件触发区域在视频播放页上的显示位置,即预设事件触发区域与视频播放页的页面底端的相对距离可以通过预先设置获取。可选地,预设事件触发区域在视频播放页上的显示位置可依据用户对视频播放页上播放的多个视频内容进行上下滑动时的滑动动作的分布位置进行设置。
示例性地,用户在对视频内容进行滑动操作时多作用于视频播放页的底端,例如图3中的区域B;本申请中可将预设事件触发区域的位置设置在距离视频播放页面的页面底端的四分之三区域内,比如可将预设事件触发区域设置在图3中示出的区域A内。通过将预设事件触发区域的位置设置在区域A中,防止用户在正常触摸滑动时误触“不感兴趣”区域。
作为一种可选的但非限定性的实现方式,在预设事件触发区域显示在视频播放页上之前,还可包括以下过程:
当检测到作用于所述当前视频内容的触摸滑动操作时,视频播放页上显示的当前视频内容开始沿预设方向进行滑动,以使下一视频内容开始出现在视频播放页上进行显示。
其中,检测作用于当前视频内容上的触摸滑动操作,所述触摸滑动操作包括用户作用于视频播放页上的向上滑动操作以及向下滑动操作。参见图4,开始滑动时,当前视频内容在视频播放页上显示,当检测到作用于当前视频内容的向上滑动操作时,当前视频内容开始向上进行滑动,以使下一视频内容在当前视频内容的底端开始出现在视频播放页上进行显示;其中,当前视频内容以及下一视频内容随作用于视频播放页上的触摸滑动操作沿滑动方向同步进行滑动。
作为一种可选的但非限定性的实现方式,所述触摸滑动操作还可以是用户作用于视频播放页上的向下滑动操作,当检测到作用于当前视频内容的向下滑动操作时,当前视频内容开始向下进行滑动,以使下一视频内容在当前视频内容的顶端开始出现在视频播放页上进行显示。
作为一种可选的但非限定性的实现方式,预设事件触发区域显示在视频播放页上,还可包括以下过程:
在视频播放页上显示预设事件触发区域时,预设事件触发区域的区域尺寸大小随当前视频内容的滑动进行逐步调整。
参见图5,在视频播放页上显示的当前视频内容向上滑动时,针对该当前视频内容的预设事件触发区域的区域尺寸大小会随当前视频内容的滑动进行逐步调整。可选地,预设事件触发区域的区域尺寸大小会随当前视频内容的滑动逐步变大,直至达到预设尺寸大小停止变大或者直至预设事件触发时停止调整。参见图5,不难看出,随着当前视频内容的不断滑动,滑动一段距离后视频播放页上显示的预设事件触发区域的区域尺寸相比于刚开始显示时的预设事件触发区域的区域尺寸会存在明显变大,通过尺寸变大可以提示使用者存在预设事件将有被触发的可能,提醒使用者注意是否触发。
示例性地,参见图5,视频播放页上刚开始显示预设事件触发区域时,预设事件触发区域的区域尺寸可以是占整个视频播放设备屏幕的十分之一。随着当前视频内容的滑动,预设事件触发区域的区域尺寸将逐步变大,最终可以达到开始滑动时所述预设事件触发区域的区域尺寸的两倍。本公开实施例中对预设事件触发区域的区域尺寸不做限制。
可选地,所述预设事件触发区域的区域尺寸不宜过大,预设事件触发区域的区域尺寸过大将会影响用户的日常操作。同时,若所述预设事件触发区 域的区域尺寸过小,通过预设事件触发区域对用户的提示效果将会减小,不能达到有效的对用户的提示作用。
作为一种可选的但非限定性的实现方式,预设事件触发区域显示在视频播放页上,还可包括以下过程:
在视频播放页上显示预设事件触发区域时,预设事件触发区域的背景颜色随当前视频内容的滑动进行渐变调整。
参见图5,所述预设事件触发区域的背景颜色随所述当前视频内容的滑动进行渐变调整。所述渐变调整可以是指所述预设事件触发区域的背景颜色逐步变深。其中,所述预设事件触发区域的透明度位于预设透明度区间,能使预设事件触发区域遮挡的部分视频内容模糊可见。例如,在开始滑动时,所述预设事件触发区域的背景颜色为较浅,可以是指达到毛玻璃的效果,以便不影响用户观看当前视频内容;在当前视频内容滑动一段距离后,所述预设事件触发区域的背景颜色逐步变深,可以是深灰色。随着当前视频内容的滑动所述预设事件触发区域的背景颜色渐变调整,在视觉上可以起到提示用户的作用。
作为一种可选的但非限定性的实现方式,在预设事件触发区域显示在视频播放页上时,还可包括以下过程:
同步显示预设事件触发提示信息,用于提示允许在对当前视频内容滑动过程中针对当前视频内容触发预设事件。
其中,预设事件触发提示信息可以是指显示在所述预设事件触发区域内的预设提示信息。参见图5,在本公开实施例的一种可选方案中,以预设事件为“不感兴趣”事件为例,预设事件触发提示信息可以是“不感兴趣”等类似的提示信息。在开始显示当前视频内容并显示预设事件触发区域时,预设事件触发区域内可以同步显示“不感兴趣”等类似的预设事件触发提示信息。
S130、通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
其中,预设事件触发控制可以是指依据用户对当前视频内容的触发操作,将当前视频内容标记为不感兴趣视频。例如,将所述当前视频内容滑动到预设事件触发区域即将所述当前视频内容标记为不感兴趣视频。
作为一种可选的但非限定性的实现方式,通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制,可包括以下过程:
检测到进入预设事件触发区域对当前视频内容进行触摸滑动操作后,针 对视频播放页上显示的当前视频内容触发预设事件。
参见图6A,当检测到对当前视频内容进行触摸滑动操作后,在视频播放页上触发“不感兴趣”区域。
可选的,所述针对视频播放页上显示的当前视频内容触发预设事件,包括:等待在预设事件触发区域内结束触摸滑动操作时,针对视频播放页上显示的当前视频内容触发预设事件。
参见图6A,检测在预设事件触发区域内的触摸滑动操作,当在预设事件触发区域内结束触摸滑动操作时,在视频播放页上显示对当前视频内容触发预设事件的结果,即“松手成功”。
作为一种可选的但非限定性的实现方式,在所述针对视频播放页上显示的当前视频内容触发预设事件时,还包括:
对所述预设事件触发区域进行状态变更处理,以提示已针对所述当前视频内容触发预设事件。
在检测到触摸滑动操作以及结束触摸滑动操作时,对预设事件触发区域的状态进行变更处理,即在检测到触摸滑动操作时,预设事件触发区域上显示“不感兴趣”,在检测到触摸滑动操作结束时,预设事件触发区域上显示“松手成功”。通过对预设事件触发区域进行状态变更处理,以提示用户将当前视频内容划分为不感兴趣类视频,在此后视频内容中将不会再播放类似的视频内容。
作为一种可选的但非限定性的实现方式,通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制,可包括以下过程:
检测到所述当前视频内容上的参考标志进入预设事件触发区域后,针对视频播放页上显示的当前视频内容触发预设事件。
参见图6B,视频播放页上显示当前视频内容,对视频播放页上显示的当前视频内容进行上滑操作时,下一视频内容开始显示在视频播放页上。当视频播放页上显示的当前视频内容的上滑操作满足预设滑动操作条件(比如,滑动预设距离之后)时,开始在视频播放页上显示预设事件触发区域。继续对当前视频内容进行上滑,使得上滑操作在预设事件触发区域内进行触摸滑动,当在预设事件触发区域触摸滑动距离超过预设距离并结束触摸滑动时对当前视频内容进行预设事件触发控制或者当在预设事件触发区域触摸滑动时间超过预设时间并结束触摸滑动时对当前视频内容进行预设事件触发控制,实现将当前视频内容标记预设事件,比如标记为不感兴趣视频。
参见图7,将图7中的“闪电”作为参考标志,在当前视频内容上检测到参 考标志进入预设事件触发区域后,针对当前视频内容触发预设事件,即触发当前视频内容上的“不感兴趣”区域。
可选的,所述针对视频播放页上显示的当前视频内容触发预设事件,还包括:等待进入预设事件触发区域内的参考标志隐藏时,针对视频播放页上显示的当前视频内容触发预设事件。
当所述参考标志隐藏时,表征所述当前视频内容触发预设事件结束,所述预设事件触发区域显示“松手成功”;通过所述预设事件触发区域内状态的变更,提示用户对所述当前视频内容的触发预设事件完成。其中,所述当前视频内容上的参考标志的隐藏表征在预设事件触发区域内的触摸滑动操作结束;所述参考标志隐藏可以是参考标志消失,也可以是参考标志的颜色隐藏和/或参考标志的轮廓变为虚线,例如图7中,将“闪电”的轮廓变为虚线。本公开实施例中参考标志的选取包括“闪电”,在本公开实施例中不做限制。
作为一种可选的但非限定性的实现方式,在所述针对视频播放页上显示的当前视频内容触发预设事件时,还可包括以下过程:
控制所述视频播放页上显示的预设事件触发区域进行画面抖动;和/或控制用于显示所述视频播放页的播放设备进行触觉反馈。
其中,在本公开实施例的一种可选方案中,在将所述当前视频内容进行预设事件触发控制后,可通过将显示的预设事件触发区域进行画面抖动,以提示用户对当前视频内容触发控制完成。其中,所述将显示的预设事件触发区域的画面进行抖动可以是指将显示的预设事件触发区域进行连续的放大缩小,以实现预设事件触发区域的画面抖动。例如,参见图8,在预设事件触发控制完成时,所述预设事件触发区域为放大状态,下一时刻所述预设事件触发区域将缩小,最终预设事件触发区域恢复原来的放大状态。本公开实施例中通过将所述预设事件触发区域进行放大缩小,以提示用户预设事件触发控制完成。
在本公开实施例的另一种可选方案中,在将所述当前视频内容进行预设事件触发控制后,还可通过控制用于显示所述视频播放页的播放设备进行触觉反馈,以提示用户对当前视频内容触发控制完成。其中,触觉反馈可以是指所述用于显示视频播放页的播放设备通过振动提示用户预设事件触发控制完成。
在本公开实施例的又一种可选方案中,还可以将控制所述视频播放页上显示的预设事件触发区域进行画面抖动以及控制用于显示所述视频播放页的播放设备进行触觉反馈进行综合,以更强的形式提示用户对当前视频内容触发控制的完成。
在本公开实施例的再一种可选方案中,在将当前视频内容进行预设事件触 发控制后,还包括动效反馈。其中,所述动效反馈可以是指在当前视频内容页面上通过动态图以进行反馈,例如,在当前视频内容页面弹出一个裂开的心,同时所述裂开的心逐渐变大直至破碎,此时用户结束滑动操作,即认为成功提交不感兴趣。
本公开实施例提供的视频处理方法通过将正常从当前视频上划观看下一个视频与触发提交不感兴趣等事件的操作合二为一,使得在上划视频时能快速反馈不感兴趣事件,降低了用户对反馈不感兴趣事件进行触发的操作成本,从而提升不感兴趣信号的渗透率,便于实现更好的视频推荐。
本公开实施例通过了一种视频处理方法,通过在视频播放页上显示当前视频内容;在对所述当前视频内容进行滑动时,预设事件触发区域显示在视频播放页上;通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。采用本公开实施例的技术方案,将在视频播放页上显示的当前视频内容进行滑动操作,从而触发预设事件触发区域的显示;通过所述预设事件触发区域的区域大小的变更、背景颜色的变更、提示内容的变更以及播放设备的触觉反馈,提示用户将当前视频内容标记为“不感兴趣”内容;通过设置预设事件触发区域的位置,防止用户在正常触摸滑动时误触“不感兴趣”区域。通过本公开实施例可以有效降低用户反馈“不感兴趣”的操作成本,从而提升“不感兴趣”信号的渗透率,最终可以根据用户的喜好进行视频推荐调整。
本公开实施例中预设事件触发区域内显示的内容也可以是“感兴趣”;同时,所述对当前视频内容的触发预设事件也可以是将所述当前视频内容标记为感兴趣内容,以便用户对感兴趣的视频内容进行标记,有效降低用户反馈“感兴趣”的操作成本,从而提升“感兴趣”信号的渗透率,最终可以根据用户的喜好进行视频推荐调整。
图9为本公开实施例中提供的另一种视频处理方法的流程图。本公开实施例在上述实施例的基础上对前述实施例进行说明,本公开实施例可以与上述一个或者多个实施例中多个可选方案结合。如图9所示,本公开实施例中提供的视频处理方法,可包括以下步骤。
S210、在视频播放页上显示当前视频内容。
S220、检测对所述当前视频内容进行触摸滑动时的触摸滑动操作信息。
其中,所述触摸滑动操作信息可以是指作用于视频播放页上进行触摸滑动操作时获取的信息,所述触摸滑动操作信息包括已持续滑动距离和/或触摸位置。通过检测对所述当前视频内容进行持续触摸滑动时对应的触摸位置,以确定所述当前视频内容进行持续滑动时的已持续滑动距离。
作为一种可选的但非限定性的实现方式,检测对所述当前视频内容进行触摸滑动时的已持续滑动距离,包括步骤C1-C2。
步骤C1:检测在对所述当前视频内容进行持续滑动时对应的至少两个参考触摸位置。
其中,所述至少两个参考触摸位置包括对所述当前视频内容进行开始触摸滑动时的触摸位置与结束触摸滑动前的触摸位置。参见图10,由触摸位置A持续滑动至触摸位置B,所述触摸位置A即为对所述当前视频内容开始触摸滑动操作时的触摸位置,触摸位置B即为对所述当前视频内容结束触摸滑动操作前的触摸位置。
步骤C2:依据所述至少两个参考触摸位置确定在对所述当前视频内容进行持续滑动时的已持续滑动距离。
其中,参见图10,所述已持续滑动距离可以是指从触摸位置A至触摸位置B的距离,所述已持续滑动距离采用触摸滑动操作从开始所经历的像素数量进行表示。即从触摸位置A至触摸位置B经过的路径中所包括的像素数量为所述当前视频内容进行持续滑动时的已持续滑动距离。
作为一种可选的但非限定性的实现方式,检测对所述当前视频内容进行触摸滑动时的触摸位置,包括步骤D1-D2。
步骤D1:检测在对所述当前视频内容进行持续滑动时对应的至少两个参考标志位置。
其中,所述至少两个参考标志位置包括对所述当前视频内容进行开始触摸滑动时所述当前视频内容上参考标志的位置与结束触摸滑动前的所述参考标志的更新位置。参见图11,由参考标志位1持续滑动至参考标志位2,所述参考标志位1即为对所述当前视频内容开始触摸滑动操作时的参考标志位置,参考标志位2即为对所述当前视频内容结束触摸滑动前的参考标志的更新位置。
步骤D2:依据所述至少两个参考标志位置确定对所述当前视频内容进行持续滑动时的已持续滑动距离。
参见图11,所述已持续滑动距离可以是指从参考标志位1至参考标志位2的距离,即从参考标志位1至参考标志位2经过的路径中所包括的像素数量为对所述当前视频内容进行持续滑动时的已持续滑动距离。
S230、在所述触摸滑动操作信息满足预设滑动操作条件时,开始在视频播放页上显示预设事件触发区域。
其中,所述预设滑动操作条件包括第一预设滑动操作条件和/或第二预设滑 动操作条件;所述第一预设滑动操作条件包括已持续滑动距离大于预设滑动距离和/或持续触摸滑动时对应的触摸位置进入所述视频播放页上的预设启动区域,所述预设启动区域用于判断是否启动显示预设事件触发区域;所述第二预设滑动操作条件包括触摸滑动操作的起始触摸位置是否位于预设起始区域。
预设滑动距离可以是指当前视频内容的滑动距离为视频播放页的四分之一,参见图12,所述预设滑动距离可以是指当前视频内容的页面底端与视频播放页页面的底端的距离,在当前视频内容的滑动距离超过预设滑动距离时,视频播放页上开始显示预设事件触发区域。
预设启动区域可以是指当对所述当前视频内容进行滑动时,所述持续触摸滑动时对应的触摸位置进入所述预设启动区域,则所述视频播放页上开始显示预设事件触发区域。参见图13,当用户在视频播放页进行触摸滑动时,触摸位置进入所述预设启动区域,“不感兴趣”区域将出现在所述视频播放页上。
预设起始区域可以是指在对当前视频内容进行滑动时开始触摸滑动的位置,参见图12,所述预设起始位置可以是指在视频播放页的三分之一区域内,若对当前视频内容进行滑动时开始触摸滑动的位置在所述预设起始位置内,则开始在视频播放页上显示预设事件触发区域。
通过设置预设滑动距离、预设启动区域以及预设起始区域等预设滑动操作条件,在满足任意一个或多个预设滑动操作条件时,均可触发“不感兴趣”区域,从而给用户及时的提示,便于用户对当前视频内容进行“不感兴趣”反馈。
S240、通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
本公开实施例提供了一种视频处理方法,通过将正常从当前视频上划观看下一个视频与触发提交不感兴趣等事件的操作合二为一,使得在上划视频时能快速反馈不感兴趣事件,降低了用户对反馈不感兴趣事件进行触发的操作成本,提高了用户认知,从而提升用户的反馈;通过设置预设滑动距离、预设启动区域以及预设起始区域等预设滑动操作条件,在满足任意一个或多个预设滑动操作条件时,均可触发预设事件触发区域,从而给用户及时的提示,便于用户对当前视频内容的反馈。采用本公开实施例的技术方案,在用户滑动当前视频内容的同时可快速对视频内容进行反馈,有效降低用户反馈“不感兴趣”的操作成本,从而提升“不感兴趣”信号的渗透率,便于实现更好的视频推荐。
图14为本公开实施例所提供的一种视频处理装置的结构示意图,本公开实施例适用于对视频的预设事件进行触发的情形,该装置可以通过软件和/或硬件的形式实现,并集成在任何具有网络通信功能的电子设备上,该电子设备可以 是移动终端、PC或服务器等。如图14所示,所述装置包括:当前视频内容显示模块310、预设事件触发区域显示模块320以及预设事件触发控制模块330;其中:
当前视频内容显示模块310,设置为在视频播放页上显示当前视频内容;
预设事件触发区域显示模块320,设置为在对所述当前视频内容进行滑动时,将预设事件触发区域显示在视频播放页上;
预设事件触发控制模块330,设置为通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域显示模块320,包括:
当检测到作用于所述当前视频内容的触摸滑动操作时,所述视频播放页上显示的当前视频内容开始沿预设方向进行滑动,以使下一视频内容开始出现在视频播放页上进行显示。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域显示模块320,还包括:
检测对所述当前视频内容进行触摸滑动时的触摸滑动操作信息;所述触摸滑动操作信息包括已持续滑动距离和/或触摸位置;
在所述触摸滑动操作信息满足预设滑动操作条件时,开始在视频播放页上显示预设事件触发区域。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域显示模块320,还包括:
检测在对所述当前视频内容进行持续滑动时对应的至少两个参考触摸位置;所述至少两个参考触摸位置包括对所述当前视频内容进行开始触摸滑动时的触摸位置与结束触摸滑动前的触摸位置;
依据所述至少两个参考触摸位置确定在对所述当前视频内容进行持续滑动时的已持续滑动距离。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域显示模块320,还包括:
检测在对所述当前视频内容进行持续滑动时对应的至少两个参考标志位置;所述至少两个参考标志位置包括对所述当前视频内容进行开始触摸滑动时所述当前视频内容上参考标志的位置与结束触摸滑动前的所述参考标志的更新位置;
依据所述至少两个参考标志位置确定对所述当前视频内容进行持续滑动时的已持续滑动距离。
在本公开实施例的一种可选方案中,可选的,所述已持续滑动距离采用触摸滑动操作从开始所经历的像素数量进行表示。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域显示模块320,还包括:
检测对所述当前视频内容进行持续触摸滑动时对应的触摸位置。
在本公开实施例的一种可选方案中,可选的,所述预设滑动操作条件包括第一预设滑动操作条件和/或第二预设滑动操作条件;所述第一预设滑动操作条件包括已持续滑动距离大于预设滑动距离和/或持续触摸滑动时对应的触摸位置进入所述视频播放页上的预设启动区域,所述预设启动区域用于判断是否启动显示预设事件触发区域;所述第二预设滑动操作条件包括触摸滑动操作的起始触摸位置是否位于预设起始区域。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域显示模块320,还包括:
在视频播放页上显示预设事件触发区域时,预设事件触发区域的区域尺寸大小随所述当前视频内容的滑动进行逐步调整。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域显示模块320,还包括:
在视频播放页上显示预设事件触发区域时,预设事件触发区域的背景颜色随所述当前视频内容的滑动进行渐变调整。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域的透明度位于预设透明度区间,能使预设事件触发区域遮挡的部分视频内容模糊可见。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域显示模块320,还包括:
同步显示预设事件触发提示信息,用于提示允许在对所述当前视频内容滑动过程中针对所述当前视频内容触发预设事件。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发提示信息显示在所述预设事件触发区域内。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发区域与所述视频播放页面的页面低端的相对距离基于对视频播放页面上视频内容的滑动 动作分布进行预先设置。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发控制模块330,包括:
检测到进入预设事件触发区域对当前视频内容进行触摸滑动操作后,针对视频播放页上显示的当前视频内容触发预设事件;或者,
检测到所述当前视频内容上的参考标志进入预设事件触发区域后,针对视频播放页上显示的当前视频内容触发预设事件。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发控制模块330,包括:
等待在预设事件触发区域内结束触摸滑动操作时,针对视频播放页上显示的当前视频内容触发预设事件;
等待进入预设事件触发区域内的参考标志隐藏时,针对视频播放页上显示的当前视频内容触发预设事件,其中,在预设事件触发区域内结束触摸滑动操作时所述当前视频内容上的参考标志隐藏。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发控制模块330,包括:
对所述预设事件触发区域进行状态变更处理,以提示已针对所述当前视频内容触发预设事件。
在本公开实施例的一种可选方案中,可选的,所述预设事件触发控制模块330,包括:
控制所述视频播放页上显示的预设事件触发区域进行画面抖动;和/或,
控制用于显示所述视频播放页的播放设备进行触觉反馈。
本公开实施例所提供的视频处理装置可执行本公开任意实施例所提供的视频处理方法,具备执行视频处理方法相应的功能模块和效果。
上述装置所包括的多个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,多个功能单元的名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。
图15为本公开实施例所提供的一种电子设备的结构示意图。下面参考图15,其示出了适于用来实现本公开实施例的电子设备(例如图15中的终端设备或服务器)500的结构示意图。本公开实施例中的终端设备可以包括诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media  Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(television,TV)、台式计算机等等的固定终端。图15示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图15所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,处理装置501可以根据存储在只读存储器(Read-Only Memory,ROM)502中的程序或者从存储装置508加载到随机访问存储器(Random Access Memory,RAM)503中的程序而执行多种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的多种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(Input/Output,I/O)接口505也连接至总线504。
以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图15示出了具有多种装置的电子设备500,但是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的视频处理方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的视频处理方法中限定的上述功能。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
本公开实施例提供的电子设备与上述实施例提供的视频处理方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的效果。
本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例所提供的视频处理方法。
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是电、磁、 光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质可以包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(HyperText Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:在视频播放页上显示当前视频内容;在对所述当前视频内容进行滑动时,将预设事件触发区域显示在视频播放页上;通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算 机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在一种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、EPROM、快闪存储器、光纤、便捷式CD-ROM、光学储存设备、磁储存设备、或上述内容的任何合适组合。存储介质可以是非暂态(non-transitory)存储介质。
根据本公开的一个或多个实施例,示例1提供了一种视频处理方法,所述方法包括:
在视频播放页上显示当前视频内容;
在对所述当前视频内容进行滑动时,将预设事件触发区域显示在视频播放页上;
通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
示例2根据示例1所述的方法,在预设事件触发区域显示在视频播放页上之前,还包括:
当检测到作用于所述当前视频内容的触摸滑动操作时,所述视频播放页上显示的当前视频内容开始沿预设方向进行滑动,以使下一视频内容开始出现在视频播放页上进行显示。
示例3根据示例1所述的方法,在对所述当前视频内容进行滑动时,将预设事件触发区域显示在视频播放页上,包括:
检测对所述当前视频内容进行触摸滑动时的触摸滑动操作信息;所述触摸滑动操作信息包括已持续滑动距离和/或触摸位置;
在所述触摸滑动操作信息满足预设滑动操作条件时,开始在视频播放页上显示预设事件触发区域。
示例4根据示例3所述的方法,检测对所述当前视频内容进行触摸滑动时的触摸滑动操作信息,包括:
检测在对所述当前视频内容进行持续滑动时对应的至少两个参考触摸位置;所述至少两个参考触摸位置包括对所述当前视频内容进行开始触摸滑动时的触摸位置与结束触摸滑动前的触摸位置;
依据所述至少两个参考触摸位置确定在对所述当前视频内容进行持续滑动时的已持续滑动距离。
示例5根据示例3所述的方法,检测对所述当前视频内容进行触摸滑动时的触摸滑动操作信息,包括:
检测在对所述当前视频内容进行持续滑动时对应的至少两个参考标志位置;所述至少两个参考标志位置包括对所述当前视频内容进行开始触摸滑动时所述当前视频内容上参考标志的位置与结束触摸滑动前的所述参考标志的更新位置;
依据所述至少两个参考标志位置确定对所述当前视频内容进行持续滑动时的已持续滑动距离。
示例6根据示例4或示例5所述的方法,所述已持续滑动距离采用触摸滑动操作从开始所经历的像素数量进行表示。
示例7根据示例3所述的方法,检测对所述当前视频内容进行触摸滑动时 的触摸滑动操作信息,包括:
检测对所述当前视频内容进行持续触摸滑动时对应的触摸位置。
示例8根据示例3所述的方法,所述预设滑动操作条件包括第一预设滑动操作条件和/或第二预设滑动操作条件;所述第一预设滑动操作条件包括已持续滑动距离大于预设滑动距离和/或持续触摸滑动时对应的触摸位置进入所述视频播放页上的预设启动区域,所述预设启动区域用于判断是否启动显示预设事件触发区域;所述第二预设滑动操作条件包括触摸滑动操作的起始触摸位置是否位于预设起始区域。
示例9根据示例1所述的方法,预设事件触发区域显示在视频播放页上,还包括:
在视频播放页上显示预设事件触发区域时,预设事件触发区域的区域尺寸大小随所述当前视频内容的滑动进行逐步调整。
示例10根据示例1所述的方法,预设事件触发区域显示在视频播放页上,还包括:
在视频播放页上显示预设事件触发区域时,预设事件触发区域的背景颜色随所述当前视频内容的滑动进行渐变调整。
示例11根据示例1所述的方法,预设事件触发区域的透明度位于预设透明度区间,能使预设事件触发区域遮挡的部分视频内容模糊可见。
示例12根据示例1所述的方法,在预设事件触发区域显示在视频播放页上时,还包括:
同步显示预设事件触发提示信息,用于提示允许在对所述当前视频内容滑动过程中针对所述当前视频内容触发预设事件。
示例13根据示例12所述的方法,所述预设事件触发提示信息显示在所述预设事件触发区域内。
示例14根据示例1所述的方法,所述预设事件触发区域与所述视频播放页的页面底端的相对距离基于对视频播放页面上视频内容的滑动动作分布进行预先设置。
示例15根据示例1所述的方法,通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制,包括:
检测到进入预设事件触发区域对当前视频内容进行触摸滑动操作后,针对视频播放页上显示的当前视频内容触发预设事件;
或,检测到所述当前视频内容上的参考标志进入预设事件触发区域后,针 对视频播放页上显示的当前视频内容触发预设事件。
示例16根据示例15所述的方法,所述针对视频播放页上显示的当前视频内容触发预设事件,包括:
等待在预设事件触发区域内结束触摸滑动操作时,针对视频播放页上显示的当前视频内容触发预设事件;
等待进入预设事件触发区域内的参考标志隐藏时,针对视频播放页上显示的当前视频内容触发预设事件;其中在预设事件触发区域内结束触摸滑动操作时所述当前视频内容上的参考标志隐藏。
示例17根据示例15所述的方法,在所述针对视频播放页上显示的当前视频内容触发预设事件时,还包括:
对所述预设事件触发区域进行状态变更处理,以提示已针对所述当前视频内容触发预设事件。
示例18根据示例1所述的方法,在所述针对视频播放页上显示的当前视频内容触发预设事件时,还包括:
控制所述视频播放页上显示的预设事件触发区域进行画面抖动;和/或,
控制用于显示所述视频播放页的播放设备进行触觉反馈。
根据本公开的一个或多个实施例,示例19还提供了一种视频处理装置,所述视频处理装置包括:
当前视频内容显示模块,设置为在视频播放页上显示当前视频内容;
预设事件触发区域显示模块,设置为在对所述当前视频内容进行滑动时,将预设事件触发区域显示在视频播放页上;
预设事件触发控制模块,设置为通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
根据本公开的一个或多个实施例,示例20还提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如示例1-18中任一所述的视频处理方法。
根据本公开的一个或多个实施例,示例21还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如 示例1-18中任一所述的视频处理方法。
此外,虽然采用特定次序描绘了多个操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了多个实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的一些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的多种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (21)

  1. 一种视频处理方法,包括:
    在视频播放页上显示当前视频内容;
    在对所述当前视频内容进行滑动的情况下,将预设事件触发区域显示在所述视频播放页上;
    通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
  2. 根据权利要求1所述的方法,其中,所述在对所述当前视频内容进行滑动的情况下,将预设事件触发区域显示在所述视频播放页上,包括:
    检测在对所述当前视频内容进行触摸滑动的情况下的触摸滑动操作信息,其中,所述触摸滑动操作信息包括以下至少之一:已持续滑动距离、或触摸位置;
    在所述触摸滑动操作信息满足预设滑动操作条件的情况下,开始在所述视频播放页上显示所述预设事件触发区域。
  3. 根据权利要求1所述的方法,其中,所述将预设事件触发区域显示在所述视频播放页上,还包括:
    在所述视频播放页上显示所述预设事件触发区域的情况下,所述预设事件触发区域的区域尺寸大小随所述当前视频内容的滑动进行逐步调整。
  4. 根据权利要求1所述的方法,其中,所述将预设事件触发区域显示在所述视频播放页上,还包括:
    在所述视频播放页上显示所述预设事件触发区域的情况下,所述预设事件触发区域的背景颜色随所述当前视频内容的滑动进行渐变调整。
  5. 根据权利要求1所述的方法,其中,所述预设事件触发区域的透明度位于预设透明度区间,以使所述预设事件触发区域遮挡的部分视频内容模糊可见。
  6. 根据权利要求1所述的方法,其中,在所述将预设事件触发区域显示在所述视频播放页上的情况下,还包括:
    同步显示预设事件触发提示信息,用于提示允许在对所述当前视频内容滑动过程中针对所述当前视频内容触发预设事件。
  7. 根据权利要求6所述的方法,其中,所述预设事件触发提示信息显示在所述预设事件触发区域内。
  8. 根据权利要求1所述的方法,其中,所述通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制,包括:
    在检测到进入所述预设事件触发区域对所述当前视频内容进行触摸滑动操 作后,针对所述视频播放页上显示的当前视频内容触发所述预设事件;
    或,在检测到所述当前视频内容上的参考标志进入所述预设事件触发区域后,针对所述视频播放页上显示的当前视频内容触发所述预设事件。
  9. 根据权利要求8所述的方法,其中,所述针对所述视频播放页上显示的当前视频内容触发所述预设事件,包括:
    等待在所述预设事件触发区域内结束触摸滑动操作的情况下,针对所述视频播放页上显示的当前视频内容触发所述预设事件;
    等待进入所述预设事件触发区域内的参考标志隐藏的情况下,针对所述视频播放页上显示的当前视频内容触发所述预设事件,其中,在所述预设事件触发区域内结束触摸滑动操作的情况下所述当前视频内容上的参考标志隐藏。
  10. 根据权利要求8所述的方法,其中,在所述针对所述视频播放页上显示的当前视频内容触发所述预设事件的情况下,还包括:
    对所述预设事件触发区域进行状态变更处理,以提示已针对所述当前视频内容触发所述预设事件。
  11. 根据权利要求8所述的方法,其中,在所述针对所述视频播放页上显示的当前视频内容触发所述预设事件的情况下,还包括以下至少之一:
    控制所述视频播放页上显示的预设事件触发区域进行画面抖动;或,
    控制用于显示所述视频播放页的播放设备进行触觉反馈。
  12. 根据权利要求2所述的方法,其中,所述检测在对所述当前视频内容进行触摸滑动的情况下的触摸滑动操作信息,包括:
    检测在对所述当前视频内容进行持续滑动的情况下对应的至少两个参考触摸位置,其中,所述至少两个参考触摸位置包括对所述当前视频内容进行开始触摸滑动时的触摸位置与结束触摸滑动前的触摸位置;
    依据所述至少两个参考触摸位置确定在对所述当前视频内容进行持续滑动的情况下的已持续滑动距离。
  13. 根据权利要求2所述的方法,其中,所述检测在对所述当前视频内容进行触摸滑动的情况下的触摸滑动操作信息,包括:
    检测在对所述当前视频内容进行持续滑动的情况下对应的至少两个参考标志位置,其中,所述至少两个参考标志位置包括对所述当前视频内容进行开始触摸滑动时所述当前视频内容上参考标志的位置与结束触摸滑动前的所述参考标志的更新位置;
    依据所述至少两个参考标志位置确定对所述当前视频内容进行持续滑动的情况下的已持续滑动距离。
  14. 根据权利要求12或13所述的方法,其中,所述已持续滑动距离采用触摸滑动操作从开始所经历的像素数量进行表示。
  15. 根据权利要求2所述的方法,其中,所述检测在对所述当前视频内容进行触摸滑动的情况下的触摸滑动操作信息,包括:
    检测在对所述当前视频内容进行持续触摸滑动的情况下对应的触摸位置。
  16. 根据权利要求2所述的方法,其中,所述预设滑动操作条件包括以下至少之一:第一预设滑动操作条件、或第二预设滑动操作条件;所述第一预设滑动操作条件包括以下至少之一:已持续滑动距离大于预设滑动距离、或在持续触摸滑动的情况下对应的触摸位置进入所述视频播放页上的预设启动区域,其中,所述预设启动区域用于判断是否启动显示所述预设事件触发区域;所述第二预设滑动操作条件包括触摸滑动操作的起始触摸位置是否位于预设起始区域。
  17. 根据权利要求1所述的方法,其中,在所述将预设事件触发区域显示在所述视频播放页上之前,还包括:
    在检测到作用于所述当前视频内容的触摸滑动操作的情况下,所述视频播放页上显示的当前视频内容开始沿预设方向进行滑动,以使下一视频内容开始出现在所述视频播放页上进行显示。
  18. 根据权利要求1所述的方法,其中,所述预设事件触发区域与所述视频播放页的页面底端的相对距离基于对视频播放页面上视频内容的滑动动作分布进行预先设置。
  19. 一种视频处理装置,包括:
    当前视频内容显示模块,设置为在视频播放页上显示当前视频内容;
    预设事件触发区域显示模块,设置为在对所述当前视频内容进行滑动的情况下,将预设事件触发区域显示在所述视频播放页上;
    预设事件触发控制模块,设置为通过所述预设事件触发区域对所述当前视频内容进行预设事件触发控制。
  20. 一种电子设备,包括:
    一个或多个处理器;
    存储装置,设置为存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-18中任一项所述的视频处理方法。
  21. 一种包含计算机可执行指令的存储介质,其中,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-18中任一项所述的视频处理方法。
PCT/CN2023/106984 2022-07-19 2023-07-12 视频处理方法、装置、电子设备以及存储介质 WO2024017117A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210855134.6A CN115119040B (zh) 2022-07-19 2022-07-19 视频处理方法、装置、电子设备以及存储介质
CN202210855134.6 2022-07-19

Publications (1)

Publication Number Publication Date
WO2024017117A1 true WO2024017117A1 (zh) 2024-01-25

Family

ID=83333801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/106984 WO2024017117A1 (zh) 2022-07-19 2023-07-12 视频处理方法、装置、电子设备以及存储介质

Country Status (2)

Country Link
CN (1) CN115119040B (zh)
WO (1) WO2024017117A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115119040B (zh) * 2022-07-19 2024-01-30 北京字跳网络技术有限公司 视频处理方法、装置、电子设备以及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924633A (zh) * 2018-07-16 2018-11-30 腾讯科技(深圳)有限公司 视频播放速率控制方法、装置、系统及存储介质
US20200396498A1 (en) * 2018-12-28 2020-12-17 Beijing Microlive Vision Technology Co., Ltd Method and device for video previewing, electronic equipment, and computer-readable storage medium
CN112423122A (zh) * 2020-11-11 2021-02-26 北京字跳网络技术有限公司 热点榜单的显示方法、装置、电子设备和存储介质
CN113110783A (zh) * 2021-04-16 2021-07-13 北京字跳网络技术有限公司 控件的显示方法、装置、电子设备和存储介质
CN115119040A (zh) * 2022-07-19 2022-09-27 北京字跳网络技术有限公司 视频处理方法、装置、电子设备以及存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872647A (zh) * 2015-12-14 2016-08-17 乐视网信息技术(北京)股份有限公司 一种视频切换的方法及系统
CN105939480A (zh) * 2016-04-18 2016-09-14 乐视控股(北京)有限公司 一种终端视频的直播方法及装置
CN109104630A (zh) * 2018-08-31 2018-12-28 北京优酷科技有限公司 视频互动方法及装置
CN109618177B (zh) * 2018-12-26 2020-02-28 北京微播视界科技有限公司 视频处理方法、装置、电子设备及计算机可读存储介质
CN110149557B (zh) * 2019-05-22 2021-08-17 北京达佳互联信息技术有限公司 视频播放方法、装置、终端和存储介质
CN111580718A (zh) * 2020-04-30 2020-08-25 北京字节跳动网络技术有限公司 应用程序的页面切换方法、装置、电子设备及存储介质
CN113923499B (zh) * 2021-09-30 2023-06-02 北京字跳网络技术有限公司 显示控制方法、装置、设备及存储介质
CN114415928A (zh) * 2022-01-17 2022-04-29 北京字跳网络技术有限公司 一种页面控制方法、装置、设备以及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924633A (zh) * 2018-07-16 2018-11-30 腾讯科技(深圳)有限公司 视频播放速率控制方法、装置、系统及存储介质
US20200396498A1 (en) * 2018-12-28 2020-12-17 Beijing Microlive Vision Technology Co., Ltd Method and device for video previewing, electronic equipment, and computer-readable storage medium
CN112423122A (zh) * 2020-11-11 2021-02-26 北京字跳网络技术有限公司 热点榜单的显示方法、装置、电子设备和存储介质
CN113110783A (zh) * 2021-04-16 2021-07-13 北京字跳网络技术有限公司 控件的显示方法、装置、电子设备和存储介质
CN115119040A (zh) * 2022-07-19 2022-09-27 北京字跳网络技术有限公司 视频处理方法、装置、电子设备以及存储介质

Also Published As

Publication number Publication date
CN115119040A (zh) 2022-09-27
CN115119040B (zh) 2024-01-30

Similar Documents

Publication Publication Date Title
JP7421009B2 (ja) トレンドランキングリストの表示方法、装置、電子機器及び記憶媒体
WO2022161335A1 (zh) 互动方法、装置、电子设备和存储介质
US10956008B2 (en) Automatic home screen determination based on display device
CN111770366A (zh) 一种消息补发方法、服务器及显示设备
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
US11586255B2 (en) Method and apparatus for adjusting view for target device, electronic device and medium
WO2023051330A1 (zh) 显示控制方法、装置、设备及存储介质
WO2023103956A1 (zh) 数据交互方法、装置、电子设备、存储介质和程序产品
WO2022077994A1 (zh) 信息处理方法、装置及介质
WO2021228234A1 (zh) 应用程序的互动消息展示方法、装置及可读存储介质
WO2022213773A1 (zh) 页面显示控制方法、装置、设备及存储介质
WO2023024921A1 (zh) 视频交互方法、装置、设备及介质
CN111836115B (zh) 一种屏保展示方法、屏保跳转方法及显示设备
US20240147014A1 (en) Control display method and apparatus, device and medium
WO2024017117A1 (zh) 视频处理方法、装置、电子设备以及存储介质
WO2024061063A1 (zh) 通知消息的显示方法、装置、电子设备和存储介质
WO2023035835A1 (zh) 一种信息展示方法、装置、设备及介质
WO2024078486A1 (zh) 内容展示方法、装置、设备及存储介质
WO2024027648A1 (zh) 信息的显示方法、装置、电子设备和存储介质
WO2024027689A1 (zh) 媒体内容的控制方法、装置、电子设备和存储介质
WO2021135684A1 (zh) 直播间互动方法、装置、可读介质及电子设备
WO2024037563A1 (zh) 内容展示方法、装置、设备及存储介质
WO2023134544A1 (zh) 一种锁定方法、装置、电子设备及介质
WO2023134559A1 (zh) 评论提示方法、装置、电子设备、存储介质和程序产品
WO2022262824A1 (zh) 交互方法、装置、电子设备及计算机可读存储介质

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: 23842182

Country of ref document: EP

Kind code of ref document: A1