WO2022110819A1 - 视频切换方法及装置 - Google Patents
视频切换方法及装置 Download PDFInfo
- Publication number
- WO2022110819A1 WO2022110819A1 PCT/CN2021/105338 CN2021105338W WO2022110819A1 WO 2022110819 A1 WO2022110819 A1 WO 2022110819A1 CN 2021105338 W CN2021105338 W CN 2021105338W WO 2022110819 A1 WO2022110819 A1 WO 2022110819A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- recommended
- information
- response
- video information
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000004044 response Effects 0.000 claims abstract description 96
- 238000003860 storage Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 14
- 238000009826 distribution Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 18
- 238000013507 mapping Methods 0.000 description 8
- 230000003993 interaction Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000003068 static effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/735—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/738—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- 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
-
- 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/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/8173—End-user applications, e.g. Web browser, game
Definitions
- the present disclosure relates to the field of Internet technologies, and in particular, to a video switching method, apparatus, electronic device and storage medium.
- video App Application, application
- video playback page will be rendered in the background to play the video. If users want to watch other videos, they need to close the current video playback page, go back to the home page of the video app, and then select other videos.
- the present disclosure provides a video switching method, apparatus, electronic device and storage medium.
- a video switching method including:
- displaying at least two pieces of recommended video information on the video playing page includes: in response to a click operation, displaying at least two pieces of recommended video information on the video playing page.
- the click operation is a single click operation or a double click operation.
- displaying at least two recommended video information on the video playing page includes:
- the preset direction includes bottom to top, and the continuous sliding distance of the sliding operation is not less than the preset distance.
- At least two recommended video information are displayed on the upper layer of the current video.
- the at least two recommended video information are hidden.
- displaying at least two recommended video information on the video playback page includes:
- At least two pieces of recommended video information are displayed horizontally in a preset order on the video playback page.
- determining the target recommended video information indicated by the video switching instruction from at least two pieces of recommended video information includes:
- the triggering direction of the video switching gesture in the video switching instruction is determined, and the target recommended video information corresponding to the triggering direction is determined from the at least two recommended video information.
- determining the target recommended video information indicated by the video switching instruction from at least two pieces of recommended video information includes:
- the triggering range of the video switching gesture in the video switching instruction is determined, and the target recommended video information belonging to the triggering range is determined from the at least two recommended video information.
- a video switching apparatus including:
- the playback module is configured to play the current video on the video playback page
- a display module configured to display at least two recommended video information on the video playback page in response to the information display instruction
- a determining module configured to, in response to the video switching instruction, determine the target recommended video information indicated by the video switching instruction from at least two pieces of recommended video information
- the switching module is configured to switch the current video to the target recommended video corresponding to the target recommended video information on the video playback page for playback.
- the display module is configured to display at least two recommended video information on the video playing page in response to the click operation.
- the click operation is a single click operation or a double click operation.
- the display module is configured to display at least two recommended video information on the video playing page in response to a sliding operation in a preset direction;
- the preset direction includes bottom to top, and the continuous sliding distance of the sliding operation is not less than the preset distance.
- At least two recommended video information are displayed on the upper layer of the current video.
- the apparatus further includes a concealment module configured to:
- the information of at least two recommended videos is hidden.
- the display module is configured to, in response to the information display instruction, display at least two recommended video information in a horizontal distribution in a preset order on the video playing page.
- the determining module is configured to, in response to detecting the video switching instruction, determine the triggering direction of the video switching gesture in the video switching instruction, and determine the target recommended video corresponding to the triggering direction from the at least two recommended video information information.
- the determining module is configured to, in response to detecting the video switching instruction, determine the triggering range of the video switching gesture in the video switching instruction, and determine the target recommended video information belonging to the triggering range from the at least two recommended video information .
- an electronic device comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the first aspect as described above any of the methods.
- a storage medium when instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute any method in the first aspect of the embodiments of the present disclosure.
- a computer program product comprising instructions which, when executed on a computer, cause the computer to perform any one of the methods of the first aspect of the embodiments of the present disclosure.
- the current video is played on the video playback page, at least two recommended video information is displayed on the video playback page in response to the information display instruction, and the information is determined from the at least two recommended video information in response to the video switching instruction
- the user can directly determine a plurality of recommended videos through the information display instruction without exiting the video playback page, and perform video switching through the video switching instruction.
- the user has certain options.
- FIG. 1 is a schematic diagram of an application environment according to an exemplary embodiment
- FIG. 2 is a flowchart of a video switching method according to an exemplary embodiment
- FIG. 3 is a schematic diagram of a video viewing mode according to an exemplary embodiment
- FIG. 4 is a schematic diagram of displaying a video playback page according to an exemplary embodiment
- FIG. 5 is a schematic diagram of displaying a video playback page according to an exemplary embodiment
- FIG. 6 is a flowchart of a video switching method according to an exemplary embodiment
- FIG. 7 is a flowchart showing a video switching method according to an exemplary embodiment
- FIG. 8 is a flowchart of a video switching method according to an exemplary embodiment
- FIG. 9 is a schematic diagram of a video switching according to an exemplary embodiment
- FIG. 10 is a schematic diagram of a video switching according to an exemplary embodiment
- FIG. 11 is a block diagram of a video switching apparatus according to an exemplary embodiment
- Fig. 12 is a block diagram of an electronic device for video switching according to an exemplary embodiment.
- FIG. 1 is a schematic diagram of an application environment according to an exemplary embodiment. As shown in FIG. 1, it includes a terminal 01, wherein the terminal 01 includes a video playing page, and the current video 010 is on the video playing page. In response to the information display instruction, the terminal 01 may display at least two recommended video information 020 on the video playback page.
- the terminal 01 may be a device located on the video viewing side, used to play the current video on the video playback page, and finally switch the current video to the target recommended video in response to the information display instruction and in response to the video switching instruction .
- the terminal 01 may include, but is not limited to, smart phones, desktop computers, tablet computers, notebook computers, digital assistants, augmented reality (AR)/virtual reality (VR) devices, smart wearable devices, etc.
- the electronic device may include a screen or a component equivalent to the screen, which is used to display the current video and the target recommended video to the user.
- the operating system running on the electronic device may include, but is not limited to, Android system, IOS system, linux, windows, Unix, Android system, and the like.
- FIG. 1 is only an application environment of the video switching method provided by the present disclosure, and the applicable environment of the present disclosure is not limited thereto.
- FIG. 2 is a flowchart of a video switching method according to an exemplary embodiment. As shown in FIG. 2 , the video switching method is executed by an electronic device such as a terminal, and includes the following steps:
- step S201 the current video is played on the video playing page.
- FIG. 3 is a schematic diagram of a video viewing mode according to an exemplary embodiment, including an exemplary first viewing mode and a second viewing mode.
- (a) in FIG. 3 represents the home page in the first viewing mode, and the home page presents recommended video information of multiple recommended videos.
- the recommended video information may be a video cover made for the recommended video by a video author of the recommended video, and the video cover may be an image inconsistent with any image frame in the recommended video.
- the recommended video information may be a still picture or a dynamic picture captured by the video server according to the content of the recommended video.
- the video server can receive the video uploaded by the video author through the terminal, and deliver it to the terminal of the video viewer.
- the recommended video information may be used to characterize the relevant content of the recommended video and deliver primary playback information to the video viewer.
- the recommended video information of multiple recommended videos can be arranged in two columns as shown in the figure on the home page, or can be arranged in other forms, and even the user can be given adjustment permission, and the recommended video information can be adjusted by receiving the user's arrangement adjustment instruction.
- the arrangement is adjusted so that the user has more autonomy and improves the user experience.
- the user In the first viewing mode shown in Figure 3(a), the user must determine the recommended video corresponding to a certain recommended video information through preset playback instructions (such as clicking on the screen, or sliding on the screen, etc.), and then enter the video Play page, play the recommended video on the video play page.
- preset playback instructions such as clicking on the screen, or sliding on the screen, etc.
- (b) in FIG. 3 represents the home page in the second viewing mode, which may also be referred to as an immersive viewing mode. That is, when the user starts the video APP on the smartphone, if the home page in the second viewing mode comes out, the home page is the video playback page, that is, if it is the second viewing mode, after starting the video APP, the video is directly reached. Play page, the video played on the video play page may be randomly pushed by the video server, or may be pushed by the video server according to the user's viewing habits.
- the recommended videos in the first viewing mode all have the same objective attribute data.
- all recommended videos may be videos of video authors concerned by video viewers, or all recommended videos
- the recommended videos can be videos of video authors located in the same city as the video viewer, etc.
- the recommended videos in the second viewing mode may not have the same attribute data, and are randomly pushed by the video server, or pushed by the video server based on the video quality.
- the step of reaching the video playback page through different interaction logic and the recommended video played on the video playback page can be regarded as playing the current video on the video playback page in step S201.
- step S203 in response to the information display instruction, display at least two recommended video information on the video playing page.
- the video playback page 400 includes a first area 401 and a second area 402 .
- the current video is played in the first area 401 of the video play page 400, and in response to the information display instruction, at least two recommended video information is displayed in the second area 402 of the video play page 400.
- the first area The current video in the 401 is not showing up.
- the above-mentioned at least two recommended video information may be displayed on the upper layer of the current video, so that the current video may not block the recommended video information.
- the second area 402 is located in the first area 401 , and in order to ensure the viewing of the video as much as possible, at least two recommended video information may be suspended on the current video in a semi-transparent form.
- the first area 401 may occupy the entire video playing page, or may occupy part of the video playing page.
- the video playback page 500 includes a first area 501 and a second area 502 .
- the current video is played in the first area 501 of the video playing page 500 , and in response to the information display instruction, the terminal may display at least two recommended video information in the second area 502 of the video playing page 500 .
- the second area 502 and the first area 501 have no overlapping area.
- the terminal can play the current video in the first area 501 of the video playing page 500.
- the first area 501 can occupy the entire video playing page.
- the first area 501 can be adjusted.
- the size of the area 501 For example, adjust the length of the first area, adjust the first area to the top of the video playback page, and free the lower area; or adjust the first area to the bottom of the video playback page, free the upper area.
- the width of the first area may be adjusted, and the first area may be adjusted to the left area, leaving the right area; or, the first area may be adjusted to the right area, leaving the left area free.
- the length and width of the first region may be adjusted at the same time, and so on.
- which area of the video playback page to adjust the first area to may be preset, or may be adjusted according to the user's usage habits.
- the terminal may determine the vacant area as the second area, or determine the second area in the vacant area, and display at least two recommended video information in the second area.
- a second area may be set in the video playback page, and all recommended video information may be evenly displayed in the second area.
- a plurality of second areas may be set on the video playing page, and the number of the second areas is the same as the number of recommended video information.
- the above-mentioned at least two recommended video information may be distributed on the video playing page in a preset order. In some embodiments, it may be distributed horizontally on the video playing page according to a preset order, and may also be distributed vertically on the video page according to a preset order.
- the following describes several information display instructions in the embodiments of the present disclosure, so that the terminal can display at least two recommended video information on the video playback page in response to the information display instructions:
- the information display instruction may be a click operation
- the terminal may display at least two recommended video information on the video playback page in response to the click operation.
- the click operation on the screen may be a touch operation at any position on the screen, or may be a click operation at a preset position. For example, a click action on a midpoint of the screen.
- the above-mentioned click operation may be a single-click operation or a double-click operation, or more click operations. In this way, through a simple and convenient click operation, the recommended video information can be displayed, which simplifies the human-computer interaction operation.
- the information display instruction may be a sliding operation along a preset direction, and the continuous sliding distance of the sliding operation may not be less than the preset distance.
- the terminal may display at least two recommended video information on the video playback page in response to a sliding operation on the screen along a preset direction.
- the sliding operation on the screen can be a sliding operation starting from any position on the screen and in any direction; it can also be a sliding operation starting from a certain preset position and moving in any direction; it can also be a sliding operation in any direction.
- the preset position is the starting point, and the sliding operation in a specific direction. For example, start with the midpoint of the screen as the starting point, from top to bottom, and the continuous sliding distance is not less than 2 cm. In this way, through a simple and convenient sliding operation, the recommended video information can be displayed, which simplifies the human-computer interaction operation.
- the information display instruction may be a key-in operation of a preset key
- the terminal may display at least two recommended video information on the video playback page in response to the key-in operation of the preset key.
- the key-in operation of the preset key may be a key-in operation of a preset key with an arbitrary period of time, or may be a key-in operation of a preset key with a preset period of time. For example, it can be a key-in operation of a preset key for up to 2 seconds. In this way, the recommended video information can be displayed through a simple and convenient key-in operation, which simplifies the human-computer interaction operation.
- the information display instruction may be an implementation operation of a preset gesture
- the terminal may display at least two recommended video information on the video playback page in response to the implementation operation of the preset gesture.
- the preset gesture may be to shake the terminal, to flip the terminal to the left, or to flip the terminal to the right. In this way, the recommended video information can be displayed through a simple and convenient preset posture operation, which simplifies the human-computer interaction operation.
- the information display instruction may be that the currently playing video ends playing, and the terminal may display multiple recommended video information on the video playing page in response to the ending playing of the currently playing video.
- one or more of the five different forms of information display instructions in the above example can be selected to be enabled in the same time period, and which form of information display instructions to enable can be used when the user uses the video APP for the first time is set by the user himself.
- the video switching method may further include the step of acquiring recommended video information, as shown in FIG. 6 , which is a flowchart of a video switching method according to an exemplary embodiment, including:
- step S202 at least two pieces of recommended video information are acquired.
- step S202 may include:
- step S2021 obtain at least two still pictures corresponding to at least two recommended videos
- step S2023 the at least two still pictures are regarded as at least two recommended video information.
- the above-mentioned static picture may be a cover picture made by a video author for the recommended video, and the cover picture is different from all the image frames in the corresponding candidate pictures.
- the cover image may also be an image frame cut from its corresponding candidate image.
- step S202 may include:
- step S2025 obtain at least two dynamic pictures corresponding to at least two recommended videos
- step S2027 the at least two dynamic pictures are regarded as at least two recommended video information.
- the above-mentioned dynamic pictures are intercepted by the video server or the terminal based on the corresponding candidate pictures.
- the above-mentioned static pictures and dynamic pictures may respectively include feature data of corresponding recommended videos.
- the feature data may include one or more of the video type, video author, video name, and video production date.
- the terminal in response to the information display instruction, after the terminal displays at least two recommended video information on the video playback page, in response to no video switching instruction detected after a preset time, the terminal may display the at least two recommended video information. Recommended video information is hidden. In this way, it is possible to prevent at least two video recommendation information appearing on the video playback page from being displayed due to the user's accidental touch. By setting the preset time, the terminal can automatically hide the video recommendation information based on the preset time, simplifying the user experience. The computer interaction process reduces user operations.
- step S205 in response to the video switching instruction, the target recommended video information indicated by the video switching instruction is determined from at least two pieces of recommended video information.
- the terminal in order to allow the user to have more selectivity for the next video to be played, the terminal will try to display more recommended video information on the video playing page. Further, in order to enable the user to select each recommended video information through the video switching instruction, and then select the recommended video corresponding to the recommended video information, therefore, in some embodiments, the video switching instruction in the video switching instruction set where the video switching instruction is located.
- the number of video switching instructions is the same as the number of multiple recommended video information.
- FIG. 7 is a flowchart of a video switching method according to an exemplary embodiment, including:
- step S2051 in response to any video switching instruction in the video switching instruction set, the switching instruction and location information mapping table is invoked.
- the video switching instruction set includes at least two video switching gestures with triggering ranges, and after detecting the video switching instruction, the terminal may determine the triggering range of the video switching gesture of the video switching instruction, from at least two recommended videos Target recommended video information corresponding to the trigger range is determined in the information.
- the trigger range can be the lower right corner area, the lower left corner area and the midpoint area on the screen.
- the video switching gesture may be a click operation.
- the triggering direction of the video switching gesture in each video switching instruction in the video switching instruction set is different, and the terminal may determine the video switching gesture in the video switching instruction after detecting the video switching instruction.
- Triggering direction the target recommended video information corresponding to the triggering direction is determined from at least two recommended video information.
- at least two trigger directions are included, such as a top-to-bottom trigger direction, a left-to-right trigger direction, and a bottom-to-top trigger direction.
- the video switching gesture may be a swipe operation.
- the video switching instruction set includes keying operations of at least two preset buttons.
- the terminal may determine the preset button corresponding to the video switching instruction, and select the recommended video information from the at least two recommended videos. Determine the target recommended video information corresponding to the preset key.
- the preset keys may be the first key, the second key and the third key.
- the video switching instruction set includes the implementation operations of at least two preset gestures.
- the terminal may determine the preset gesture corresponding to the video switching instruction, and select the preset gesture from the at least two recommended video information. Determine target recommended video information corresponding to the preset gesture.
- the preset gestures may be to flip the terminal to the left, to flip the terminal to the right, and to flip the terminal up.
- the video switching instruction set includes at least two input operations with preset semantics.
- the terminal may determine the preset semantics corresponding to the video switching instruction, and select the recommended video information from the at least two recommended video information. Determine target recommended video information corresponding to the preset semantics.
- the preset semantics may be the first semantics, the second semantics and the third semantics.
- the five different forms of video switching instruction sets in the above example can be enabled at the same time, or one or more of them can be selected to be enabled at the same time period.
- the video APP is set by the user himself.
- the terminal or the user sets the set of video switching instructions to be enabled through the terminal, and also determines which area on the video playback page is the second area, and the number of recommended video information in the second area
- the user can use the terminal Or the terminal establishes a corresponding relationship between the video switching instruction in the video switching instruction set and the position information of the recommended video information in the second area according to the program, and generates the switching instruction and the position information mapping table according to the corresponding relationship and stores it in the storage area of the terminal.
- the following will take the above-mentioned five video switching instruction sets as an example, and exemplarily propose a video switching instruction and location information mapping table, indicating the corresponding relationship between the video switching instruction and the location information of the recommended video information in the second area, such as As shown in Table 1, including the click operation of the preset position, the sliding operation of the preset direction, the key-in operation of the preset button, the implementation operation of the preset posture and the input operation of the preset semantics respectively correspond to the position information in the second area relation:
- Table 1 Handover instruction and location information mapping table
- the switching instruction and the location information mapping table not only include the click operation of the trigger area, the slide operation of the trigger direction, the input operation of the preset button, the implementation operation of the preset posture and the input operation of the preset semantics
- the corresponding relationship with the position information in the second area can also record which form of video switching instruction set is currently enabled.
- the touch operation of the preset position and the sliding operation of the preset direction in Table 1 have been enable.
- At least one of a click operation of a preset position, a sliding operation of a preset direction, a typing operation of a preset button, an implementation operation of a preset gesture, and an input operation of preset semantics is enabled.
- step S2053 the target location information corresponding to the video switching instruction is determined from the switching instruction and the location information mapping table, and the target location information is the location information in the second area.
- the switching instruction and the location information mapping table can be called. Assuming that the video switching instruction is a touch operation in the lower right corner, the lower right corner is determined from the switching instruction and location information mapping table.
- the target position information corresponding to the touch operation is the first position information.
- step S2055 the recommended video information on the target location information is determined as the target recommended video information.
- the recommended video information on the first location information is determined as the target recommended video information.
- the information contained in the video switching instruction can also directly determine the corresponding target recommendation information, without the need to pass the first step.
- the location information in the second area is used as transition information, so that the amount of coding can be reduced, and the running overhead of the device can also be reduced.
- the present disclosure also proposes a more Embodiments of multi-recommended video information, in some embodiments, as shown in FIG. 8 , which is a flowchart of a video switching method according to an exemplary embodiment, including:
- step S801 an information update trigger area is displayed on the video playback page.
- the information update triggering area may appear on the video playing page, such as a floating button located in the first area.
- step S803 in response to detecting that the information update triggering area is touched, the plurality of recommended video information displayed on the video playing page is replaced with a plurality of recommended video information candidates in the background.
- the information update trigger area is not displayed on the video playback page, but whether the current recommended video information needs to be updated is determined by whether the information update instruction is detected. Specifically, in response to the terminal detecting the information update instruction, the multiple recommended video information displayed on the video playback page may be replaced with multiple recommended video information alternatives in the background to obtain the updated multiple recommended video information.
- step S207 on the video playing page, the current video is switched to the target recommended video corresponding to the target recommended video information to be played.
- the terminal may detect the playing status of the current video, and in response to detecting the end of the current video playing, implement the step of switching the current video in the video playing page to the target recommended video corresponding to the target recommended video information for playback. Specifically, in response to the terminal detecting a double-click operation on the midpoint of the screen, a plurality of recommended video information is displayed on the video playback page, and in response to the terminal detecting a sliding operation from left to right, it is determined from the plurality of recommended video information After outputting the target recommended video information corresponding to the video switching instruction, the terminal can detect the playback status of the current video, and in response to detecting the end of the current video playback, switch the current video in the video playback page to the target recommended video corresponding to the target recommended video information, and play This target recommends videos.
- FIG. 9 is a schematic diagram of a video switching according to an exemplary embodiment.
- the specific performance is: playing the current video on the video playback page, assuming that the information display instruction is at any position on the screen.
- Touch operation in response to detecting the touch operation at any position on the screen, two recommended video information are displayed in the second area on the video playback page, wherein the second area is located in the first area where the current video is being played.
- the video switching instruction is a sliding operation in the triggering direction
- the video switching instruction set is shown in Figure 9(a), including the sliding operation from bottom to top and the sliding operation from bottom to top in the trigger direction.
- the above-mentioned sliding operation determines the target recommended video information corresponding to the video switching instruction from the two recommended video information. Assuming that the target recommended video information is the recommended video information on the left, the current video in the video playback page is switched to The target recommended video corresponding to the target recommended video information is played, and in response to detecting the sliding operation from top to bottom, it is determined that the target recommended video information is the recommended video information on the right, and the current video is switched to the right recommended video. The recommended video corresponding to the recommended video information is played.
- the specific performance is: playing the current video on the video playback page, assuming that the information display instruction is a touch operation at any position on the screen, in response to detecting a touch operation at any position on the screen, in There are 3 recommended videos information displayed on the video playback page. It is assumed that the video switching instruction is a sliding operation in the trigger direction, and the video switching instruction set is shown in Figure 9(b), including the sliding operation whose trigger direction is from bottom to top, the sliding operation from left to right, and the sliding operation from bottom to top.
- Sliding operation in response to detecting the sliding operation from bottom to top, determine the target recommended video information corresponding to the video switching instruction from the three recommended video information, assuming that the target recommended video information is the recommended video information on the left, then Switch the current video in the video playback page to the target recommended video corresponding to the target recommended video information, and play the target recommended video; in response to detecting a sliding operation from left to right, determine that the target recommended video information is the middle recommended video information, switch the current video to the recommended video corresponding to the recommended video information in the middle for playback; in response to detecting a top-to-bottom sliding operation, determine that the target recommended video information is the recommended video information on the right, and switch the current video to the recommended video information on the right. Play as the recommended video corresponding to the recommended video information on the right.
- the terminal in response to the information display instruction, can set the number of recommended video information displayed on the video playback page, which can be 2 or 3 as mentioned above, or more or 1.
- Fig. 10 is a schematic diagram of a video switching according to an exemplary embodiment, which is embodied as: playing the current video on the video playing page, assuming that the information display instruction is the upward sliding operation on the screen shown in Fig. 10, the response Upon detecting the upward sliding operation, two recommended video information are displayed in the second area on the video playing page, wherein the second area is located below the first area where the current video is being played.
- the video switching instruction is a touch operation at a preset position
- the video switching instruction set is a touch operation in the area where the first recommended video information is located and a touch operation in the area where the second recommended video information is located
- the first recommended video information corresponding to the video switching instruction is determined from the two recommended video information, and it is used as the target recommended video information.
- the last frame of the current video in the video playback page is switched to the target recommended video corresponding to the target recommended video information, and the target recommended video is played.
- the user in the embodiments of the present disclosure can directly determine multiple recommended videos through the information of multiple recommended videos determined by the information display instruction without exiting the video playback page, and perform video switching through the video switching instruction, On the basis of making the user's operation easy, it also gives the user a certain right of choice because of the recommended video.
- Fig. 11 is a block diagram of a video switching apparatus according to an exemplary embodiment. 11 , the apparatus includes a playback module 1101 , a display module 1102 , a determination module 1103 and a switch module 1104 .
- Playing module 1101 configured to play the current video on the video playing page
- the display module 1102 is configured to display at least two recommended video information on the video playback page in response to the information display instruction;
- the determining module 1103 is configured to, in response to the video switching instruction, determine the target recommended video information indicated by the video switching instruction from at least two pieces of recommended video information;
- the switching module 1104 is configured to switch the current video to the target recommended video corresponding to the target recommended video information on the video playback page for playback.
- the click operation is a single click operation or a double click operation.
- the display module is configured to display at least two recommended video information on the video playing page in response to a sliding operation in a preset direction;
- the preset direction includes bottom to top, and the continuous sliding distance of the sliding operation is not less than the preset distance.
- At least two recommended video information are displayed on the upper layer of the current video.
- the apparatus further includes a concealment module configured to:
- the information of at least two recommended videos is hidden.
- the display module is configured to, in response to the information display instruction, display at least two recommended video information in a horizontal distribution in a preset order on the video playing page.
- the determining module is configured to, in response to detecting the video switching instruction, determine the triggering direction of the video switching gesture in the video switching instruction, and determine the target recommended video corresponding to the triggering direction from the at least two recommended video information information.
- the determining module is configured to, in response to detecting the video switching instruction, determine the triggering range of the video switching gesture in the video switching instruction, and determine the target recommended video information belonging to the triggering range from the at least two recommended video information .
- FIG. 12 is a block diagram of an electronic device 1200 for video switching according to an exemplary embodiment.
- the electronic device may be a server, or other devices having the same function as a server, and its internal structure diagram may be as shown in FIG. 12 .
- the electronic device includes a processor, memory, and a network interface connected by a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities.
- the memory of the electronic device includes a non-volatile storage medium and an internal memory.
- the nonvolatile storage medium stores an operating system and a computer program.
- the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
- the network interface of the electronic device is used to communicate with an external terminal through a network connection.
- the computer program when executed by the processor, implements a video switching method.
- FIG. 12 is only a block diagram of a partial structure related to the solution of the present disclosure, and does not constitute a limitation on the electronic device to which the solution of the present disclosure is applied.
- the specific electronic device may be Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
- a server comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement an embodiment of the present disclosure Video switching method in .
- a storage medium is also provided, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the video switching method in the embodiment of the present disclosure.
- a computer program product comprising instructions which, when executed on a computer, cause the computer to perform the video switching method in the embodiments of the present disclosure.
- Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory may include random access memory (RAM) or external cache memory.
- RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDRSDRAM double data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM synchronous chain Road (Synchlink) DRAM
- SLDRAM synchronous chain Road (Synchlink) DRAM
- Rambus direct RAM
- DRAM direct memory bus dynamic RAM
- RDRAM memory bus dynamic RAM
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种视频切换方法及装置,其中,该视频切换方法包括:在视频播放页面上播放当前视频(201),响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信息(203),响应于视频切换指令,从至少两个推荐视频信息中确定视频切换指令所指示的目标推荐视频信息(205),在视频播放页面中,将当前视频切换成目标推荐视频信息对应的目标推荐视频进行播放(207)。
Description
本申请要求于2020年11月30日提交至中国专利局、申请号为202011378773.5的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本公开涉及互联网技术领域,尤其涉及一种视频切换方法、装置、电子设备和存储介质。
随着智能终端和移动网络技术的发展,越来越多的用户利用移动终端中的视频App(Application,应用程序)观看视频,通过视频丰富自己的生活。在现有的视频App中,当用户选择了要观看的视频后,后台会渲染视频播放页面播放视频。如果用户希望观看其他视频,需要关闭当前的视频播放页面,回到视频App的主页,再选择其他视频。
发明内容
本公开提供一种视频切换方法、装置、电子设备和存储介质。
根据本公开实施例的第一方面,提供一种视频切换方法,包括:
在视频播放页面上播放当前视频;
响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信息;
响应于视频切换指令,从至少两个推荐视频信息中确定视频切换指令所指示的目标推荐视频信息;
在视频播放页面中,将当前视频切换成目标推荐视频信息对应的目标推荐视频进行播放。
在一些实施例中,响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信息包括:响应于点击操作,在视频播放页面上显示至少两个推荐视频信息。
在一些实施例中,点击操作为单击操作或者双击操作。
在一些实施例中,响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信息包括:
响应于沿预设方向的滑动操作,在视频播放页面上显示至少两个推荐视频信息;
预设方向包括由下至上,滑动操作的连续滑动距离不小于预设距离。
在一些实施例中,至少两个推荐视频信息在当前视频的上层显示。
在一些实施例中,响应于在预设时间后没有检测到视频切换指令,将至少两个推荐视频信息进行隐藏。
在一些实施例中,响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信 息包括:
响应于信息显示指令,在视频播放页面上按照预设顺序横向分布显示至少两个推荐视频信息。
在一些实施例中,响应于视频切换指令,从至少两个推荐视频信息中确定视频切换指令所指示的目标推荐视频信息包括:
响应于检测到视频切换指令,确定视频切换指令中的视频切换手势的触发方向,从至少两个推荐视频信息中确定与触发方向相对应的目标推荐视频信息。
在一些实施例中,响应于视频切换指令,从至少两个推荐视频信息中确定视频切换指令所指示的目标推荐视频信息包括:
响应于检测到视频切换指令,确定视频切换指令中的视频切换手势的触发范围,从至少两个推荐视频信息中确定所属于触发范围的目标推荐视频信息。
根据本公开实施例的第二方面,提供一种视频切换装置,包括:
播放模块,被配置为在视频播放页面上播放当前视频;
显示模块,被配置为响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信息;
确定模块,被配置为响应于视频切换指令,从至少两个推荐视频信息中确定视频切换指令所指示的目标推荐视频信息;
切换模块,被配置为在视频播放页面中,将当前视频切换成目标推荐视频信息对应的目标推荐视频进行播放。
在一些实施例中,显示模块被配置为响应于点击操作,在视频播放页面上显示至少两个推荐视频信息。
在一些实施例中,点击操作为单击操作或者双击操作。
在一些实施例中,显示模块被配置为响应于沿预设方向的滑动操作,在视频播放页面上显示至少两个推荐视频信息;
预设方向包括由下至上,滑动操作的连续滑动距离不小于预设距离。
在一些实施例中,至少两个推荐视频信息在当前视频的上层显示。
在一些实施例中,装置还包括隐藏模块,被配置为:
响应于在预设时间后没有检测到视频切换指令,将至少两个推荐视频信息进行隐藏。
在一些实施例中,显示模块被配置为响应于信息显示指令,在视频播放页面上按照预设顺序横向分布显示至少两个推荐视频信息。
在一些实施例中,确定模块被配置为响应于检测到视频切换指令,确定视频切换指令中的视频切换手势的触发方向,从至少两个推荐视频信息中确定与触发方向相对应的目标推荐视频信息。
在一些实施例中,确定模块被配置为响应于检测到视频切换指令,确定视频切换指令中的视频切换手势的触发范围,从至少两个推荐视频信息中确定所属于触发范围的目标推 荐视频信息。
根据本公开实施例的第三方面,提供一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,处理器被配置为执行指令,以实现如上述第一方面中任一项的方法。
根据本公开实施例的第四方面,提供一种存储介质,当存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行本公开实施例的第一方面中任一方法。
根据本公开实施例的第五方面,提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本公开实施例的第一方面中任一方法。
根据本公开的实施例,在视频播放页面上播放当前视频,响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信息,响应于视频切换指令,从至少两个推荐视频信息中确定视频切换指令所指示的目标推荐视频信息,在视频播放页面中,将当前视频切换成目标推荐视频信息对应的目标推荐视频进行播放。上述方法中,用户可以在不退出视频播放页面的情况下,直接通过信息显示指令确定出多个推荐视频,并通过视频切换指令进行视频切换,在用户操作简便的基础上也因为推荐视频给与用户一定的选择权。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
图1是根据一示例性实施例示出的一种应用环境的示意图;
图2是根据一示例性实施例示出的一种视频切换方法的流程图;
图3是根据一示例性实施例示出的一种视频观看模式示意图;
图4是根据一示例性实施例示出的一种视频播放页面显示示意图;
图5是根据一示例性实施例示出的一种视频播放页面显示示意图;
图6是根据一示例性实施例示出的一种视频切换方法的流程图;
图7是根据一示例性实施例示出的一种视频切换方法的流程图;
图8是根据一示例性实施例示出的一种视频切换方法的流程图;
图9是根据一示例性实施例示出的一种视频切换的示意图;
图10是根据一示例性实施例示出的一种视频切换的示意图;
图11是根据一示例性实施例示出的一种视频切换装置的框图;
图12是根据一示例性实施例示出的一种用于视频切换的电子设备的框图。
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二” 等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
请参阅图1,图1根据一示例性实施例示出的一种应用环境的示意图,如图1所示,包括终端01,其中,终端01包括视频播放页面,当前视频010是在该视频播放页面上播放的,终端01响应于信息显示指令,可以在视频播放页面上显示至少两个推荐视频信息020。
在一些实施例中,终端01可以是位于视频观看方的设备,用于在视频播放页面上播放当前视频,并响应于信息显示指令和响应于视频切换指令,最终将当前视频切换成目标推荐视频。具体的,终端01可以包括但不限于智能手机、台式计算机、平板电脑、笔记本电脑、数字助理、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、智能可穿戴设备等类型的电子设备,该电子设备可以包括屏幕或者和屏幕作用相当的部件,用于向用户展示当前视频和目标推荐视频。在一些实施例中,电子设备上运行的操作系统可以包括但不限于安卓系统、IOS系统、linux、windows、Unix、Android系统等。
此外,需要说明的是,图1所示的仅仅是本公开提供的视频切换方法的一种应用环境,本公开可应用的环境不限于此。
图2是根据一示例性实施例示出的一种视频切换方法的流程图,如图2所示,视频切换方法由终端等电子设备执行,包括以下步骤:
在步骤S201中,在视频播放页面上播放当前视频。
在本公开实施例中,以智能手机为例,当用户启动智能手机上的视频APP后,呈现在屏幕上的是多种视频观看模式中的任一种模式的首页。举个例子,如图3所示,图3是根据一示例性实施例示出的一种视频观看模式示意图,包括示例性的第一观看模式和第二观看模式。
在一些实施例中,图3中(a)代表的是第一观看模式下的首页,该首页上呈现的是多个推荐视频的推荐视频信息。在一些实施例中,该推荐视频信息可以是推荐视频的视频作者为推荐视频制作的视频封面,该视频封面可以是一张与推荐视频中任一图像帧不一致的图像。在一些实施例中,该推荐视频信息可以是视频服务器根据推荐视频的内容截取的静态图片或者动态图片。其中,该视频服务器可以接收视频作者通过终端上传的视频,并下发至视频观看者的终端。在一些实施例中,推荐视频信息可以用于表征推荐视频的相关内容,并向视频观看者传递主要播放信息。此外,多个推荐视频的推荐视频信息可以在首页上呈现如图所示的两列排列,也可以呈现其他形式排列,甚至可以给予用户调整权限,通过接收用户的排列调整指令对推荐视频信息的排列进行调整,以使得用户有更多的自主权,提高用户体验。
在图3(a)所示的第一观看模式下,用户必须通过预设的播放指令(比如点击屏幕,或者在屏幕上滑动等等)确定某个推荐视频信息对应的推荐视频,随后进入视频播放页面,在该视频播放页面上播放该推荐视频。
在一些实施例中,图3中(b)代表的是第二观看模式下的首页,该观看模式也可以被称为沉浸式观看模式。即当用户启动智能手机上的视频APP后,如果出来的是第二观看模式下的首页,该首页就是视频播放页面,也就是说,如果是第二观看模式,启动视频APP后,直接到达视频播放页面,该视频播放页面上播放的视频可以是视频服务器随机推送的,也可以是视频服务器根据用户的观看习惯推送的。
在一些实施例中,第一观看模式下的推荐视频都具有同样的客观的属性数据,比如说,第一观看模式中,所有的推荐视频可以是视频观看者关注的视频作者的视频,或者所有的推荐视频可以是和视频观看者位于同一个城市的视频作者的视频等等。第二观看模式下的推荐视频可能没有同样的属性数据,是视频服务器随机推送的,或者是视频服务器基于视频质量的高低推送的。
上述的两种观看模式下,经过不同的交互逻辑到达的视频播放页面,且在该视频播放页面播放的推荐视频这个步骤可以看作是步骤S201中的在视频播放页面上播放当前视频。
在步骤S203中,响应于信息显示指令,在该视频播放页面上显示至少两个推荐视频信息。
在一些实施例中,如图4所示,图4是根据一示例性实施例示出的一种视频播放页面显示示意图,该视频播放页面400包括第一区域401和第二区域402,终端可以在视频播放页面400中的第一区域401中播放当前视频,响应于信息显示指令,在视频播放页面400中的的第二区域402中显示至少两个推荐视频信息,在该图中,第一区域401中的当前视频并没有显示出来。
在一些实施例中,上述的至少两个推荐视频信息可以在当前视频的上层显示,如此,可以使得当前视频不遮挡推荐视频信息。
在一些实施例中,第二区域402位于第一区域401内,且为了尽可能保证视频的观看性,至少两个推荐视频信息可以以半透明的形式悬浮于当前视频上。在一些实施例中,第一区域401可以占据整个视频播放页面,也可以占据部分视频播放页面。
在一些实施方式中,如图5所示,图5是根据一示例性实施例示出的一种视频播放页面显示示意图,该视频播放页面500包括第一区域501和第二区域502,终端可以在视频播放页面500中的第一区域501中播放当前视频,响应于信息显示指令,终端可以在视频播放页面500的第二区域502中显示至少两个推荐视频信息。其中,第二区域502与第一区域501没有重合区域。在本公开的实施例中,终端可以在视频播放页面500的第一区域501播放当前视频,此时,第一区域501可以占据整个视频播放页面,当检测到信息显示指令时,可以调整第一区域501的尺寸。比如调整第一区域的长度,将第一区域调整至视 频播放页面的上方,空出下方区域;或者将第一区域调整至视频播放页面的下方,空出上方区域。或者,可以调整第一区域的宽度,将第一区域调整至左方区域,空出右方区域;或者,将第一区域调整至右方区域,空出左方区域。或者,可以同时调整第一区域的长度和宽度等等。
其中,将第一区域调整至视频播放页面的哪个区域可以是预设的,也可以根据用户的使用习惯进行调整的。在将第一区域调整至预设区域后,终端可以将空出区域定为第二区域,或者在空出区域中确定出第二区域,在第二区域中显示至少两个推荐视频信息。
上述的两种方式中,视频播放页面中可以设置有一个第二区域,所有的推荐视频信息可以均匀地显示在第二区域中。在一些实施例中,视频播放页面中可以设置有多个第二区域,第二区域的个数和推荐视频信息的个数相同。
在一些实施例中,为了布局的美观,上述的至少两个推荐视频信息可以按照预设顺序分布在视频播放页面上。在一些实施例中,可以按照预设顺序横向分布在视频播放页面上,也可以按照预设顺序纵向分布在视频页面上。
下面介绍本公开实施例中的几种信息显示指令,以使得终端可以响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信息:
在一些实施例中,信息显示指令可以是点击操作,终端可以响应于点击操作,在视频播放页面上显示至少两个推荐视频信息。该屏幕上的点击操作可以是屏幕上任一位置的触碰操作,还可以是某一个预设位置的点击操作。比如,在屏幕中点上的点击操作。在一些实施例中,上述的点击操作可以是单击操作或者双击操作,或者是更多次的点击操作。如此,通过简单便捷的点击操作,就可以显示推荐视频信息,简化了人机交互操作。
在一些实施例中,信息显示指令可以是沿预设方向的滑动操作,且该滑动操作的连续滑动距离可以不小于预设距离。终端可以响应于屏幕上沿预设方向的滑动操作时,在视频播放页面上显示至少两个推荐视频信息。该屏幕上的滑动操作可以是以屏幕上任一位置为起点,向任一方向的滑动操作;还可以是以某一个预设位置为起点,向任一方向的滑动操作;还可以是以某一个预设位置为起点,向特定方向的滑动操作。比如,以屏幕的中点为起点开始,由上至下且连续滑动距离不小于2厘米的滑动操作。如此,通过简单便捷的滑动操作,就可以显示推荐视频信息,简化了人机交互操作。
在一些实施例中,信息显示指令可以是预设按键的键入操作,终端可以响应于预设按键的键入操作,在视频播放页面上显示至少两个推荐视频信息。该预设按键的键入操作可以是任意时段长的预设按键的键入操作,还可以是预设时段长的预设按键的键入操作。比如,可以是长达2秒的预设按键的键入操作。如此,通过简单便捷的键入操作,就可以显示推荐视频信息,简化了人机交互操作。
在一些实施例中,信息显示指令可以是预设姿态的实施操作,终端可以响应于预设姿态的实施操作,在视频播放页面上显示至少两个推荐视频信息。该预设姿态可以是抖动终端,可以是向左翻转终端,或者向右翻转终端。如此,通过简单便捷的预设姿态实施操作, 就可以显示推荐视频信息,简化了人机交互操作。
在一些实施例中,信息显示指令可以是当前播放视频结束播放,终端可以响应于当前播放视频的结束播放,在视频播放页面上显示多个推荐视频信息。
在一些实施例中,上述示例的五种不同形式的信息显示指令可以选择其中一种或者多种在同一时间段被启用,启用何种形式的信息显示指令可以在用户第一次使用该视频APP时由用户自己设置。
在本公开实施方式中,该视频切换方法还可以包括获取推荐视频信息的步骤,如图6所示,图6是根据一示例性实施例示出的一种视频切换方法的流程图,包括:
在步骤S202中,获取至少两个推荐视频信息。
在一些实施例中,步骤S202可以包括:
在步骤S2021中,获取至少两个推荐视频对应的至少两个静态图片;
在步骤S2023中,将该至少两个静态图片当作至少两个推荐视频信息。
在一些实施例中,上述的静态图片可以是视频作者为推荐视频制作的封面图片,该封面图片与其对应的候选图片中的所有图像帧是不一样的。该封面图片也可以是从其对应的候选图片中截取的一帧图像帧。
或者;在一些实施例中,步骤S202可以包括:
在步骤S2025中,获取至少两个推荐视频对应的至少两个动态图片;
在步骤S2027中,将至少两个动态图片当作至少两个推荐视频信息。
在一些实施例中,上述的动态图片是视频服务器或者终端基于其对应的候选图片中截取的。
在一些实施例中,上述的静态图片和动态图片可以分别包含对应的推荐视频的特征数据。特征数据可以包括视频所属类型,视频作者、视频名称、视频制作日期的一个或者多个。
在一些实施例中,终端响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信息后,响应于在预设时间后没有检测到视频切换指令,则终端可以将显示的至少两个推荐视频信息进行隐藏。这样的话,可以防止出现在视频播放页面上的至少两个视频推荐信息是由于用户的误触而显示的,通过设置预设时间,使得终端可以基于该预设时间自动隐藏视频推荐信息,简化人机交互过程,减少用户操作。
在步骤S205中,响应于视频切换指令,从至少两个推荐视频信息中确定视频切换指令所指示的目标推荐视频信息。
本公开实施例中,为了使得用户有对下一播放视频更多的选择性,终端尽量会在视频播放页面上显示更多的推荐视频信息。进一步的,为了能使用户能够通过视频切换指令对每一个推荐视频信息作出选择,进而选择推荐视频信息对应的推荐视频,因此,在一些实施例中,视频切换指令所在的视频切换指令集合中的视频切换指令的数量和多个推荐视频信息的数量相同。
如图7所示,图7是根据一示例性实施例示出的一种视频切换方法的流程图,包括:
在步骤S2051中,响应于视频切换指令集合中的任一视频切换指令,调用切换指令和位置信息映射表。
下面介绍本公开实施例中的几种视频切换指令集合:
在一些实施例中,视频切换指令集合包括至少两个触发范围的视频切换手势,终端可以在检测到视频切换指令后,确定该视频切换指令的视频切换手势的触发范围,从至少两个推荐视频信息中确定与该触发范围相对应的目标推荐视频信息。举个例子,触发范围可以是在屏幕上右下角区域、左下角区域和中点区域。在一些实施例中,该视频切换手势可以是点击操作。
在一些实施例中,视频切换指令集合中每个视频切换指令中的视频切换手势的触发方向是不一样的,终端可以在检测到视频切换指令后,确定该视频切换指令中的视频切换手势的触发方向,从至少两个推荐视频信息中确定与触发方向相对应的目标推荐视频信息。举个例子,包括至少两个触发方向,比如由上至下的触发方向、由左至右的触发方向和由下至上的触发方向等。在一些实施例中,视频切换手势可以是滑动操作。
在一些实施例中,视频切换指令集合包括至少两个预设按键的键入操作,终端可以在检测到视频切换指令后,确定该视频切换指令对应的预设按键,从至少两个推荐视频信息中确定与该预设按键相对应的目标推荐视频信息。举个例子,预设按键可以是第一按键、第二按键和第三按键。
在一些实施例中,视频切换指令集合包括至少两个预设姿态的实施操作,终端可以在检测到视频切换指令后,确定该视频切换指令对应的预设姿态,从至少两个推荐视频信息中确定与该预设姿态相对应的目标推荐视频信息。举个例子,预设姿态可以是向左翻转终端、向右翻转终端和向上翻滚终端。
在一些实施例中,视频切换指令集合包括至少两个预设语义的输入操作,终端可以在检测到视频切换指令后,确定该视频切换指令对应的预设语义,从至少两个推荐视频信息中确定与该预设语义相对应的目标推荐视频信息。举个例子,预设语义可以是第一语义的、第二语义和第三语义。
上述示例的五种不同形式的视频切换指令集合可以同时被启用,也可以选择其中一种或者多种在同一时间段被启用,启用何种形式的视频切换指令集合可以在用户第一次使用该视频APP时由用户自己设置。
当终端或者用户通过终端设定好要启用的视频切换指令集合,同时也确定好视频播放页面中哪个区域为第二区域,且第二区域中的推荐视频信息的个数之后,用户可以通过终端或者终端根据程序将视频切换指令集合中的视频切换指令和推荐视频信息在第二区域中的位置信息建立对应关系,并根据该对应关系生成切换指令和位置信息映射表存储在终端的存储区域中。
下面将以上述的五种视频切换指令集合为例,示例性的提出一张视频切换指令和位置 信息映射表,表示视频切换指令和推荐视频信息在第二区域中的位置信息的对应关系,如表1所示,包括预设位置的点击操作、预设方向的滑动操作、预设按键的键入操作、预设姿态的实施操作和预设语义的输入操作分别与第二区域中位置信息的对应关系:
表1:切换指令和位置信息映射表
从上述的表格可以看出,切换指令和位置信息映射表中不仅包括触发区域的点击操作、触发方向的滑动操作、预设按键的键入操作、预设姿态的实施操作和预设语义的输入操作分别与第二区域中位置信息的对应关系,还可以记录哪种形式的视频切换指令集合当前被启用,比如,表1中的预设位置的触碰操作和预设方向的滑动操作当前已经被启用。启用情况可以包括三种,比如表1中预设位置的点击操作和预设方向的滑动操作当前被启用,预设按键的键入操作、预设姿态的实施操作和预设语义的输入操作的当前不被启用,以及第二区域中位置信息永久被启用。在一些实施例中,预设位置的点击操作、预设方向的滑动操作、预设按键的键入操作、预设姿态的实施操作和预设语义的输入操作至少存在一项被启用。
在步骤S2053中,从切换指令和位置信息映射表中确定出视频切换指令对应的目标位置信息,目标位置信息为第二区域中的位置信息。
以上述的表1进行举例,响应于检测到视频切换指令集合中任一视频切换指令时,可以确定该视频切换指令所属的视频切换指令集合是否被启用,如果没有被启用,则不会进行后续的流程。如果已经被启用,比如预设位置的点击操作,则可以调用切换指令和位置信息映射表,假设视频切换指令为右下角的触碰操作,则从切换指令和位置信息映射表中确定出右下角的触碰操作对应的目标位置信息为第一位置信息。
在步骤S2055中,将目标位置信息上的推荐视频信息确定为目标推荐视频信息。
根据上述的假设进行阐述,将第一位置信息上的推荐视频信息确定为目标推荐视频信息。
除了上述步骤S2051-2055的实施方式,还可以直接通过视频切换指令包含的信息(比如视频切换手势的触发范围,视频切换手势的触发方向)确定出其对应的目标推荐信息,而不需要通过第二区域中的位置信息作为过渡信息,如此,可以较少编码量,同时也减少设备运行开销。
在一些实施例中,当终端检测到信息显示指令后,在该视频播放页面上显示的多个推荐视频信息可能都不是用户感兴趣的,基于此种情况,本公开还提出一种给出更多推荐视频信息的实施例,在一些实施例中,如图8所示,图8是根据一示例性实施例示出的一种视频切换方法的流程图,包括:
在步骤S801中,在视频播放页面上显示信息更新触发区域。
在一些实施例中,该信息更新触发区域可以出现在视频播放页面上,比如是位于第一区域中的一个悬浮按钮。
在步骤S803中,响应于检测到信息更新触发区域被触碰,利用后台备选的多个推荐视频信息替换在视频播放页面上显示的多个推荐视频信息。
在一些实施例中,视频播放页面上并不会显示信息更新触发区域,而是通过信息更新指令是否被检测到以决定是否要对当前的推荐视频信息作出更新。具体的,响应于终端检测到信息更新指令,可以利用后台备选的多个推荐视频信息替换在视频播放页面上显示的多个推荐视频信息,得到更新后的多个推荐视频信息。
在步骤S207中,在视频播放页面中,将当前视频切换成目标推荐视频信息对应的目标推荐视频进行播放。
在一些实施例中,终端可以检测当前视频的播放情况,响应于检测到当前视频播放结束,实施将视频播放页面中的当前视频切换成目标推荐视频信息对应的目标推荐视频进行播放的步骤。具体的,响应于终端检测到屏幕中点上的双击操作,在该视频播放页面上显示多个推荐视频信息,响应于终端检测到由左至右的滑动操作,从多个推荐视频信息中确定出视频切换指令对应的目标推荐视频信息,终端可以检测当前视频的播放情况,响应于检测到当前视频播放结束,将视频播放页面中的当前视频切换成目标推荐视频信息对应的目标推荐视频,播放该目标推荐视频。
下面结合图例以及上述的具体实施方式介绍若干具体的实施例:
第一实施例:
图9是根据一示例性实施例示出的一种视频切换的示意图,在图9(a)中,具体表现为:在视频播放页面上播放当前视频,假设信息显示指令为在屏幕上任一位置的触碰操作,响应于检测到屏幕上任一位置的触碰操作,在该视频播放页面上的第二区域显示有2个推荐视频信息,其中,第二区域位于播放当前视频的第一区域内。假设视频切换指令为触发方向的滑动操作,且视频切换指令集合中如图9(a)所示,包括触发方向是由下至上的滑动操作和由下至上的滑动操作,响应于检测到由下至上的滑动操作,从2个推荐视频信息中确定出该视频切换指令对应的目标推荐视频信息,假设该目标推荐视频信息为左侧的推荐视 频信息,则将视频播放页面中的当前视频切换成该目标推荐视频信息对应的目标推荐视频,播放目标推荐视频,响应于检测到由上至下的滑动操作,确定该目标推荐视频信息为右侧的推荐视频信息,将当前视频切换成右侧的推荐视频信息对应的推荐视频进行播放。
在图9(b),具体表现为:在视频播放页面上播放当前视频,假设信息显示指令为在屏幕上任一位置的触碰操作,响应于检测到屏幕上任一位置的触碰操作时,在该视频播放页面上显示有3个推荐视频信息。假设视频切换指令为触发方向的滑动操作,且视频切换指令集合中如图9(b)所示,包括触发方向是由下至上的滑动操作、由左至右的滑动从操作和由下至上的滑动操作,响应于检测到由下至上的滑动操作时,从3个推荐视频信息中确定出该视频切换指令对应的目标推荐视频信息,假设该目标推荐视频信息为左侧的推荐视频信息,则将视频播放页面中的当前视频切换成该目标推荐视频信息对应的目标推荐视频,播放目标推荐视频;响应于检测到由左至右的滑动操作时,确定该目标推荐视频信息为中间的推荐视频信息,将当前视频切换成中间的推荐视频信息对应的推荐视频进行播放;响应于检测到由上至下的滑动操作时,确定该目标推荐视频信息为右侧的推荐视频信息,将当前视频切换成右侧的推荐视频信息对应的推荐视频进行播放。
在一些实施例中,终端响应于信息显示指令,在视频播放页面上显示的推荐视频信息的个数是可以设置的,可以是如上述的2个或者3个,还可以是更多数量或者是1个。
第二实施例:
图10是根据一示例性实施例示出的一种视频切换的示意图,具体表现为:在视频播放页面上播放当前视频,假设信息显示指令为图10所示的在屏幕上向上的滑动操作,响应于检测到向上的滑动操作,在该视频播放页面上的第二区域显示2个推荐视频信息,其中,第二区域位于播放当前视频的第一区域的下方。假设视频切换指令为预设位置的触碰操作,且视频切换指令集合为在第一个推荐视频信息所在区域的触碰操作和在第二个推荐视频信息所在区域的触碰操作,响应于检测到在第一个推荐视频信息所在区域的触碰操作时,从2个推荐视频信息中确定出视频切换指令对应的第一个推荐视频信息,将其作为目标推荐视频信息。在一些实施例中,可以在检测到当前视频播放结束的情况下,将视频播放页面中的当前视频的最后一帧切换成该目标推荐视频信息对应的目标推荐视频,播放目标推荐视频。
综上,本公开的实施方式的用户可以在不退出视频播放页面的情况下,直接通过信息显示指令确定出的多个推荐视频信息进而确定多个推荐视频,并通过视频切换指令进行视频切换,在使得用户操作简便的基础上也因为推荐视频给予用户一定的选择权。
图11是根据一示例性实施例示出的一种视频切换装置框图。参照图11,该装置包括播放模块1101、显示模块1102、确定模块1103和切换模块1104。
播放模块1101,被配置为在视频播放页面上播放当前视频;
显示模块1102,被配置为响应于信息显示指令,在视频播放页面上显示至少两个推荐视频信息;
确定模块1103,被配置为响应于视频切换指令,从至少两个推荐视频信息中确定视频切换指令所指示的目标推荐视频信息;
切换模块1104,被配置为在视频播放页面中,将当前视频切换成目标推荐视频信息对应的目标推荐视频进行播放。
在一些实施例中,点击操作为单击操作或者双击操作。
在一些实施例中,显示模块被配置为响应于沿预设方向的滑动操作,在视频播放页面上显示至少两个推荐视频信息;
预设方向包括由下至上,滑动操作的连续滑动距离不小于预设距离。
在一些实施例中,至少两个推荐视频信息在当前视频的上层显示。
在一些实施例中,装置还包括隐藏模块,被配置为:
响应于在预设时间后没有检测到视频切换指令,将至少两个推荐视频信息进行隐藏。
在一些实施例中,显示模块被配置为响应于信息显示指令,在视频播放页面上按照预设顺序横向分布显示至少两个推荐视频信息。
在一些实施例中,确定模块被配置为响应于检测到视频切换指令,确定视频切换指令中的视频切换手势的触发方向,从至少两个推荐视频信息中确定与触发方向相对应的目标推荐视频信息。
在一些实施例中,确定模块被配置为响应于检测到视频切换指令,确定视频切换指令中的视频切换手势的触发范围,从至少两个推荐视频信息中确定所属于触发范围的目标推荐视频信息。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图12是根据一示例性实施例示出的一种用于视频切换的电子设备1200的框图。
该电子设备可以是服务器,还可以是具有服务器同样功能的其他设备,其内部结构图可以如图12所示。该电子设备包括通过系统总线连接的处理器、存储器和网络接口。其中,该电子设备的处理器用于提供计算和控制能力。该电子设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该电子设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种视频切换方法。
本领域技术人员可以理解,图12中示出的结构,仅仅是与本公开方案相关的部分结构的框图,并不构成对本公开方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在示例性实施例中,还提供了一种服务器,包括:处理器;用于存储该处理器可执行指令的存储器;其中,该处理器被配置为执行该指令,以实现如本公开实施例中的视频切换方法。
在示例性实施例中,还提供了一种存储介质,当该存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行本公开实施例中的视频切换方法。
在示例性实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本公开实施例中的视频切换方法。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。
Claims (29)
- 一种视频切换方法,其特征在于,包括:在视频播放页面上播放当前视频;响应于信息显示指令,在所述视频播放页面上显示至少两个推荐视频信息;响应于视频切换指令,从至少两个所述推荐视频信息中确定所述视频切换指令所指示的目标推荐视频信息;在所述视频播放页面中,将所述当前视频切换成所述目标推荐视频信息对应的目标推荐视频进行播放。
- 根据权利要求1所述的视频切换方法,其特征在于,所述响应于信息显示指令,在所述视频播放页面上显示至少两个推荐视频信息包括:响应于点击操作,在所述视频播放页面上显示至少两个推荐视频信息。
- 根据权利要求2所述的视频切换方法,其特征在于,所述点击操作为单击操作或者双击操作。
- 根据权利要求1所述的视频切换方法,其特征在于,所述响应于信息显示指令,在所述视频播放页面上显示至少两个推荐视频信息包括:响应于沿预设方向的滑动操作,在所述视频播放页面上显示至少两个推荐视频信息;所述预设方向包括由下至上,所述滑动操作的连续滑动距离不小于预设距离。
- 根据权利要求1所述的视频切换方法,其特征在于,所述至少两个推荐视频信息在所述当前视频的上层显示。
- 根据权利要求5所述的视频切换方法,其特征在于,所述方法还包括:响应于在预设时间后没有检测到所述视频切换指令,将所述至少两个推荐视频信息进行隐藏。
- 根据权利要求1所述的视频切换方法,其特征在于,所述响应于信息显示指令,在所述视频播放页面上显示至少两个推荐视频信息包括:响应于信息显示指令,在所述视频播放页面上按照预设顺序横向分布显示至少两个推荐视频信息。
- 根据权利要求1所述的视频切换方法,其特征在于,所述响应于视频切换指令,从至少两个所述推荐视频信息中确定所述视频切换指令所指示的目标推荐视频信息包括:响应于检测到视频切换指令,确定所述视频切换指令中的视频切换手势的触发方向,从至少两个所述推荐视频信息中确定与所述触发方向相对应的目标推荐视频信息。
- 根据权利要求1所述的视频切换方法,其特征在于,所述响应于视频切换指令,从至少两个所述推荐视频信息中确定所述视频切换指令所指示的目标推荐视频信 息包括:响应于检测到视频切换指令,确定所述视频切换指令中的视频切换手势的触发范围,从至少两个所述推荐视频信息中确定所属于所述触发范围的目标推荐视频信息。
- 一种视频切换装置,其特征在于,包括:播放模块,被配置为在视频播放页面上播放当前视频;显示模块,被配置为响应于信息显示指令,在所述视频播放页面上显示至少两个推荐视频信息;确定模块,被配置为响应于视频切换指令,从至少两个所述推荐视频信息中确定所述视频切换指令所指示的目标推荐视频信息;切换模块,被配置为在所述视频播放页面中,将所述当前视频切换成所述目标推荐视频信息对应的目标推荐视频进行播放。
- 根据权利要求10所述的视频切换装置,其特征在于,所述显示模块被配置为响应于点击操作,在所述视频播放页面上显示至少两个推荐视频信息。
- 根据权利要求11所述的视频切换装置,其特征在于,所述点击操作为单击操作或者双击操作。
- 根据权利要求10所述的视频切换装置,其特征在于,所述显示模块被配置为响应于沿预设方向的滑动操作,在所述视频播放页面上显示至少两个推荐视频信息;所述预设方向包括由下至上,所述滑动操作的连续滑动距离不小于预设距离。
- 根据权利要求10所述的视频切换装置,其特征在于,所述至少两个推荐视频信息在所述当前视频的上层显示。
- 根据权利要求14所述的视频切换装置,其特征在于,所述装置还包括隐藏模块,被配置为:响应于在预设时间后没有检测到所述视频切换指令,将所述至少两个推荐视频信息进行隐藏。
- 根据权利要求10所述的视频切换装置,其特征在于,所述显示模块被配置为响应于信息显示指令,在所述视频播放页面上按照预设顺序横向分布显示至少两个推荐视频信息。
- 根据权利要求10所述的视频切换装置,其特征在于,所述确定模块被配置为响应于检测到视频切换指令,确定所述视频切换指令中的视频切换手势的触发方向,从至少两个所述推荐视频信息中确定与所述触发方向相对应的目标推荐视频信息。
- 根据权利要求10所述的视频切换装置,其特征在于,所述确定模块被配置响应于检测到视频切换指令,确定所述视频切换指令中的视频切换手势的触发范围,从至少两个所述推荐视频信息中确定所属于所述触发范围的目标推荐视频信息。
- 一种电子设备,其特征在于,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现以下步骤:在视频播放页面上播放当前视频;响应于信息显示指令,在所述视频播放页面上显示至少两个推荐视频信息;响应于视频切换指令,从至少两个所述推荐视频信息中确定所述视频切换指令所指示的目标推荐视频信息;在所述视频播放页面中,将所述当前视频切换成所述目标推荐视频信息对应的目标推荐视频进行播放。
- 根据权利要求19所述的电子设备,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:响应于点击操作,在所述视频播放页面上显示至少两个推荐视频信息。
- 根据权利要求20所述的电子设备,其特征在于,所述点击操作为单击操作或者双击操作。
- 根据权利要求19所述的电子设备,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:响应于沿预设方向的滑动操作,在所述视频播放页面上显示至少两个推荐视频信息;所述预设方向包括由下至上,所述滑动操作的连续滑动距离不小于预设距离。
- 根据权利要求19所述的电子设备,其特征在于,所述至少两个推荐视频信息在所述当前视频的上层显示。
- 根据权利要求19所述的电子设备,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:响应于在预设时间后没有检测到所述视频切换指令,将所述至少两个推荐视频信息进行隐藏。
- 根据权利要求19所述的电子设备,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:响应于信息显示指令,在所述视频播放页面上按照预设顺序横向分布显示至少两个推荐视频信息。
- 根据权利要求19所述的电子设备,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:响应于检测到视频切换指令,确定所述视频切换指令中的视频切换手势的触发方向,从至少两个所述推荐视频信息中确定与所述触发方向相对应的目标推荐视频信息。
- 根据权利要求19所述的电子设备,其特征在于,所述处理器被配置为执行所述指令,以实现以下步骤:响应于检测到视频切换指令,确定所述视频切换指令中的视频切换手势的触发范围,从至少两个所述推荐视频信息中确定所属于所述触发范围的目标推荐视频信息。
- 一种非暂时性计算机可读存储介质,存储有计算机指令,其特征在于,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行以下步骤:在视频播放页面上播放当前视频;响应于信息显示指令,在所述视频播放页面上显示至少两个推荐视频信息;响应于视频切换指令,从至少两个所述推荐视频信息中确定所述视频切换指令所指示的目标推荐视频信息;在所述视频播放页面中,将所述当前视频切换成所述目标推荐视频信息对应的目标推荐视频进行播放。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,计算机设备的至少一个处理器从所述可读存储介质读取并执行所述计算机程序,使得所述计算机设备执行以下步骤:在视频播放页面上播放当前视频;响应于信息显示指令,在所述视频播放页面上显示至少两个推荐视频信息;响应于视频切换指令,从至少两个所述推荐视频信息中确定所述视频切换指令所指示的目标推荐视频信息;在所述视频播放页面中,将所述当前视频切换成所述目标推荐视频信息对应的目标推荐视频进行播放。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011378773.5A CN112632322B (zh) | 2020-11-30 | 2020-11-30 | 一种视频切换方法、装置、电子设备和存储介质 |
CN202011378773.5 | 2020-11-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022110819A1 true WO2022110819A1 (zh) | 2022-06-02 |
Family
ID=75307168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/105338 WO2022110819A1 (zh) | 2020-11-30 | 2021-07-08 | 视频切换方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112632322B (zh) |
WO (1) | WO2022110819A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086775A (zh) * | 2022-06-10 | 2022-09-20 | 北京字跳网络技术有限公司 | 一种视频显示方法及装置 |
CN115190367A (zh) * | 2022-07-07 | 2022-10-14 | 北京字跳网络技术有限公司 | 一种视频播放方法、装置、设备和存储介质 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112632322B (zh) * | 2020-11-30 | 2022-08-30 | 北京达佳互联信息技术有限公司 | 一种视频切换方法、装置、电子设备和存储介质 |
CN113301441B (zh) * | 2021-05-21 | 2023-02-03 | 北京字跳网络技术有限公司 | 应用程序的交互方法、装置和电子设备 |
CN114051160B (zh) * | 2021-11-11 | 2023-03-24 | 上海哔哩哔哩科技有限公司 | 视频展示方法及装置 |
CN114697752B (zh) * | 2022-03-30 | 2023-04-11 | 北京字跳网络技术有限公司 | 一种视频处理方法、装置、设备及存储介质 |
CN115237314B (zh) * | 2022-04-18 | 2023-09-08 | 网易(杭州)网络有限公司 | 信息推荐方法、装置和电子设备 |
CN115225952B (zh) * | 2022-07-22 | 2024-02-27 | 腾讯科技(深圳)有限公司 | 视频的播放控制方法、装置、电子设备、存储介质及产品 |
CN116074595A (zh) * | 2023-02-01 | 2023-05-05 | 北京字跳网络技术有限公司 | 一种视频处理方法、装置、设备及存储介质 |
CN116320650A (zh) * | 2023-03-15 | 2023-06-23 | 北京字跳网络技术有限公司 | 一种视频处理方法、装置、设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107071525A (zh) * | 2017-01-20 | 2017-08-18 | 腾讯科技(深圳)有限公司 | 媒体文件的输出处理方法、客户端及系统 |
CN107172454A (zh) * | 2017-06-30 | 2017-09-15 | 网易传媒科技(北京)有限公司 | 一种视频推荐方法、介质、装置和计算设备 |
CN109120981A (zh) * | 2018-09-20 | 2019-01-01 | 北京达佳互联信息技术有限公司 | 信息列表展示方法、装置及存储介质 |
CN111405377A (zh) * | 2020-03-19 | 2020-07-10 | 百度在线网络技术(北京)有限公司 | 一种视频播放方法、装置、电子设备和存储介质 |
CN112632322A (zh) * | 2020-11-30 | 2021-04-09 | 北京达佳互联信息技术有限公司 | 一种视频切换方法、装置、电子设备和存储介质 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10944707B2 (en) * | 2014-09-26 | 2021-03-09 | Line Corporation | Method, system and recording medium for providing video contents in social platform and file distribution system |
CN105072465A (zh) * | 2015-08-27 | 2015-11-18 | 北京搜狗科技发展有限公司 | 一种视频播放控制方法及电子设备 |
CN106202316A (zh) * | 2016-07-01 | 2016-12-07 | 传线网络科技(上海)有限公司 | 基于视频的商品信息获取方法及装置 |
CN108012162B (zh) * | 2017-12-04 | 2020-12-04 | 北京小米移动软件有限公司 | 内容推荐方法及装置 |
CN108055589B (zh) * | 2017-12-20 | 2021-04-06 | 聚好看科技股份有限公司 | 智能电视 |
CN108984081A (zh) * | 2018-07-06 | 2018-12-11 | 北京微播视界科技有限公司 | 一种搜索页面交互方法、装置、终端及存储介质 |
CN110072138B (zh) * | 2019-04-26 | 2021-06-18 | 广州酷狗计算机科技有限公司 | 视频播放方法、设备及计算机可读存储介质 |
CN111309147B (zh) * | 2020-02-12 | 2024-05-31 | 咪咕视讯科技有限公司 | 全景视频播放方法、装置及存储介质 |
CN111432288A (zh) * | 2020-03-31 | 2020-07-17 | 北京达佳互联信息技术有限公司 | 视频播放方法、装置、电子设备和存储介质 |
-
2020
- 2020-11-30 CN CN202011378773.5A patent/CN112632322B/zh active Active
-
2021
- 2021-07-08 WO PCT/CN2021/105338 patent/WO2022110819A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107071525A (zh) * | 2017-01-20 | 2017-08-18 | 腾讯科技(深圳)有限公司 | 媒体文件的输出处理方法、客户端及系统 |
CN107172454A (zh) * | 2017-06-30 | 2017-09-15 | 网易传媒科技(北京)有限公司 | 一种视频推荐方法、介质、装置和计算设备 |
CN109120981A (zh) * | 2018-09-20 | 2019-01-01 | 北京达佳互联信息技术有限公司 | 信息列表展示方法、装置及存储介质 |
CN111405377A (zh) * | 2020-03-19 | 2020-07-10 | 百度在线网络技术(北京)有限公司 | 一种视频播放方法、装置、电子设备和存储介质 |
CN112632322A (zh) * | 2020-11-30 | 2021-04-09 | 北京达佳互联信息技术有限公司 | 一种视频切换方法、装置、电子设备和存储介质 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115086775A (zh) * | 2022-06-10 | 2022-09-20 | 北京字跳网络技术有限公司 | 一种视频显示方法及装置 |
CN115190367A (zh) * | 2022-07-07 | 2022-10-14 | 北京字跳网络技术有限公司 | 一种视频播放方法、装置、设备和存储介质 |
CN115190367B (zh) * | 2022-07-07 | 2023-12-01 | 北京字跳网络技术有限公司 | 一种视频播放方法、装置、设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112632322A (zh) | 2021-04-09 |
CN112632322B (zh) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022110819A1 (zh) | 视频切换方法及装置 | |
CN109164964B (zh) | 内容分享方法、装置、终端及存储介质 | |
CN107562322B (zh) | 切换页面的方法和装置 | |
CN111107418B (zh) | 视频数据处理方法、装置、计算机设备和存储介质 | |
US9965039B2 (en) | Device and method for displaying user interface of virtual input device based on motion recognition | |
US20180255341A1 (en) | Method and Apparatus for Video Playback | |
US10474848B2 (en) | Electronic device and method for adjusting a touch-control area thereof | |
US9509733B2 (en) | Program, communication apparatus and control method | |
US9495064B2 (en) | Information processing method and electronic device | |
CN111615682B (zh) | 用于基于视角来选择呈现模式的方法和装置 | |
WO2015149724A1 (zh) | 一种图像显示方法及终端 | |
US20150121301A1 (en) | Information processing method and electronic device | |
US20150286356A1 (en) | Method, apparatus, and terminal device for controlling display of application interface | |
CN113282262B (zh) | 投屏显示画面的控制方法、装置、移动终端及存储介质 | |
US20150199058A1 (en) | Information processing method and electronic device | |
CN108459783A (zh) | 虚拟键盘的控制方法、装置及设备、可读介质 | |
US10956763B2 (en) | Information terminal device | |
CN114779977A (zh) | 界面显示方法、装置、电子设备及存储介质 | |
CN113176846B (zh) | 一种图片显示方法、装置,设备及存储介质 | |
CN113259742B (zh) | 视频弹幕显示方法、装置、可读存储介质和计算机设备 | |
CN116644200A (zh) | 用于内容呈现的方法、装置、设备和存储介质 | |
CN115658196A (zh) | 页面展示方法、装置、电子设备及存储介质 | |
CN115550741A (zh) | 视频管理方法、装置、电子设备及可读存储介质 | |
CN114998102A (zh) | 图像处理方法、装置及电子设备 | |
CN113419660A (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: 21896326 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 210923) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21896326 Country of ref document: EP Kind code of ref document: A1 |