CN111432288A - Video playing method and device, electronic equipment and storage medium - Google Patents
Video playing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111432288A CN111432288A CN202010245781.6A CN202010245781A CN111432288A CN 111432288 A CN111432288 A CN 111432288A CN 202010245781 A CN202010245781 A CN 202010245781A CN 111432288 A CN111432288 A CN 111432288A
- Authority
- CN
- China
- Prior art keywords
- video
- information
- tag
- tag information
- subsequent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000002776 aggregation Effects 0.000 claims description 83
- 238000004220 aggregation Methods 0.000 claims description 83
- 230000001960 triggered effect Effects 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 16
- 238000004891 communication Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 7
- 241000282326 Felis catus Species 0.000 description 5
- 238000003825 pressing Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000009191 jumping Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 235000019633 pungent taste Nutrition 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000004931 aggregating effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 235000013410 fast food Nutrition 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 229940048662 kwai Drugs 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/84—Generation or processing of descriptive data, e.g. content descriptors
- H04N21/8405—Generation or processing of descriptive data, e.g. content descriptors represented by keywords
-
- 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
-
- 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/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/84—Generation or processing of descriptive data, e.g. content descriptors
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The present disclosure relates to a video playing method, apparatus, electronic device and storage medium, the method comprising: detecting video switching operation carried out on a playing page of a current video, and acquiring video identification information and video tag information of the current video; determining a subsequent video to be played according to the video label information and the video identification information; and playing the subsequent video. According to the embodiment of the disclosure, the technical effects of improving the switching efficiency of playing the subsequent video and reducing the extra consumption of network or storage resources can be at least realized.
Description
Technical Field
The present disclosure relates to the field of communications, and in particular, to a video playing method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of communication technology and the popularization of intelligent equipment, resource recording and resource sharing in a video form gradually enter deep into the working life of people, video resources become a main resource sharing way among users due to vivid and rich expression and visual and convenient watching experience, and meanwhile, the user stickiness of products is determined to the great extent for the playing experience of target videos.
However, in the related art, no matter the playing process of the target video resource or the switching process of the multiple video resources, the user needs to jump repeatedly among multiple pages of the intelligent device, so that not only is the waste of network or storage resources caused by low operation efficiency, but also the usability and the convenience of operation of the product are reduced due to the long operation path, and the use experience of the user on the product is restricted.
Disclosure of Invention
The present disclosure provides a video playing method, apparatus, electronic device and storage medium to at least solve the technical problems in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a video playing method is provided, where the method includes:
detecting video switching operation carried out on a playing page of a current video, and acquiring video identification information and video tag information of the current video;
determining a subsequent video to be played according to the video label information and the video identification information;
and playing the subsequent video.
Optionally, the determining a subsequent video to be played according to the video tag information and the video identification information includes:
acquiring videos, indicated by the video switching operation and having switching sequences behind the video identification information, from a recommended video set corresponding to the video tag information, as the subsequent videos to be played; or,
according to the video identification information, when the current video is determined to be the last playing video in the recommended video set corresponding to the video label information, obtaining the subsequent label information of the video label information; wherein, the sequence relation between the video label information and the subsequent label information corresponds to the switching sequence indicated by the video switching operation;
and acquiring videos corresponding to the switching sequence indicated by the video switching operation from the video set corresponding to the subsequent label information as subsequent videos to be played.
Optionally, the video switching operation includes backward switching, and determining a subsequent video to be played according to the video tag information and the video identification information includes:
according to the video identification information, determining that other videos arranged behind the current video exist in a recommended video set corresponding to the video tag information, and determining the other videos as subsequent videos to be played;
according to the video identification information, determining that no other video arranged behind the current video exists in the recommended video set corresponding to the video tag information, and determining the video corresponding to the tag information arranged behind the video tag information as a subsequent video to be played.
Optionally, the video switching operation includes forward switching, and determining a subsequent video to be played according to the video tag information and the video identification information includes:
according to the video identification information, determining that other videos arranged before the current video exist in a recommended video set corresponding to the video tag information, and determining the other videos as subsequent videos to be played;
according to the video identification information, determining that no other video arranged before the current video exists in the recommended video set corresponding to the video tag information, and determining the video corresponding to the tag information arranged before the video tag information as a subsequent video to be played.
Optionally, the method further includes:
detecting that the label switching operation is carried out on the current video, and displaying preset label aggregation content;
determining the video tag information selected in the tag aggregated content;
and playing the video in the video set corresponding to the video label information.
Optionally, the detecting that the tag switching operation is performed on the current video, and displaying the preset tag aggregation content includes:
detecting that a label switching operation is carried out on a current video, and overlapping and displaying preset label aggregation content in a playing page of the current video; or,
and when detecting that the label switching operation is carried out on the current video, displaying a label switching area containing preset label aggregation content and a video preview area of the current video.
Optionally, the detecting that the tag switching operation is performed on the current video, and displaying a tag switching area containing preset tag aggregation content and a video preview area of the current video includes:
detecting that the spacing distance between an operation starting position and an operation ending position of label switching operation carried out on a current video exceeds a distance threshold value, and determining the operation direction from the operation starting position to the operation ending position;
moving the playing thumbnail page of the current video according to the operation direction until the current video is played in the associated area of the operation ending position;
and displaying a tag switching area containing preset tag aggregation content in other areas except the associated area in the current page.
Optionally, the determining tag information selected in the tag aggregation content includes:
detecting a selection operation of a tag type in the tag aggregation content, and displaying tag information belonging to the tag type;
determining target tag information selected among the presented tag information as the tag information selected in the tag aggregated content.
Optionally, the method further includes:
displaying an aggregation page of the initial video set or a playing page of the initial video;
detecting that the playing operation of any displayed video is triggered, and determining video identification information and video label information of the any video;
and determining a reconstructed video set according to the video identification information and the video tag information, so as to play the video in the reconstructed video set after receiving a video switching operation on any one video, wherein the video in the reconstructed video set corresponds to the video tag information or the associated tag information of the video tag information.
Optionally, the acquiring the video identification information and the video tag information of the current video includes:
and acquiring video identification information and video tag information of the current video from the basic attribute information corresponding to the current video, wherein part of information in the basic attribute information of the current video is displayed in a playing page of the current video.
According to a second aspect of the embodiments of the present disclosure, a video playing apparatus is provided, the apparatus including:
the information acquisition module is configured to execute video switching operation which is detected to be carried out on a playing page of a current video, and acquire video identification information and video tag information of the current video;
a video determining module configured to determine a subsequent video to be played according to the video tag information and the video identification information;
a first video playing module configured to perform playing of the subsequent video.
Optionally, the video determining module is specifically configured to:
acquiring a subsequent video indicated by the video switching operation and having a switching sequence after the video identification information from a recommended video set corresponding to the video tag information, and taking the subsequent video as the subsequent video to be played; or,
according to the video identification information, when the current video is determined to be the last playing video in the recommended video set corresponding to the video label information, obtaining the subsequent label information of the video label information; wherein, the sequence relation between the video label information and the subsequent label information corresponds to the switching sequence indicated by the video switching operation;
and acquiring videos corresponding to the switching sequence indicated by the video switching operation from the video set corresponding to the subsequent label information as subsequent videos to be played.
Optionally, the video switching operation includes backward switching, and the video determining module is further configured to:
according to the video identification information, determining that other videos arranged behind the current video exist in a recommended video set corresponding to the video tag information, and determining the other videos as subsequent videos to be played;
according to the video identification information, determining that no other video arranged behind the current video exists in the recommended video set corresponding to the video tag information, and determining the video corresponding to the tag information arranged behind the video tag information as a subsequent video to be played.
Optionally, the video switching operation includes forward switching, and the video determining module is further configured to:
according to the video identification information, determining that other videos arranged before the current video exist in a recommended video set corresponding to the video tag information, and determining the other videos as subsequent videos to be played;
according to the video identification information, determining that no other video arranged before the current video exists in the recommended video set corresponding to the video tag information, and determining the video corresponding to the tag information arranged before the video tag information as a subsequent video to be played.
Optionally, the method further includes:
the tag display module is configured to execute the detection of the tag switching operation on the current video and display the preset tag aggregation content;
a tag determination module configured to perform determining the video tag information selected in the tag aggregated content;
and the second video playing module is configured to play the videos in the video set corresponding to the video label information.
Optionally, the tag display module is specifically configured to:
detecting that a label switching operation is carried out on a current video, and overlapping and displaying preset label aggregation content in a playing page of the current video; or,
and when detecting that the label switching operation is carried out on the current video, displaying a label switching area containing preset label aggregation content and a video preview area of the current video.
Optionally, the tag display module is further configured to:
detecting that the spacing distance between an operation starting position and an operation ending position of label switching operation carried out on a current video exceeds a distance threshold value, and determining the operation direction from the operation starting position to the operation ending position;
moving the playing thumbnail page of the current video according to the operation direction until the current video is played in the associated area of the operation ending position;
and displaying a tag switching area containing preset tag aggregation content in other areas except the associated area in the current page.
Optionally, the tag determination module is specifically configured to:
detecting a selection operation of a tag type in the tag aggregation content, and displaying tag information belonging to the tag type;
determining target tag information selected among the presented tag information as the tag information selected in the tag aggregated content.
Optionally, the method further includes:
the page display module is configured to execute display of an aggregation page of the initial video set or a play page of the initial video;
the information determining module is configured to execute the playing operation of any video displayed by detecting triggering, and determine the video identification information and the video label information of any video;
a third video playing module configured to execute determining a reconstructed video set according to the video identification information and the video tag information, so as to play a video in the reconstructed video set after receiving a video switching operation on any one of the videos, where the video in the reconstructed video set corresponds to the video tag information or corresponds to associated tag information of the video tag information.
Optionally, the information obtaining module is specifically configured to:
and acquiring video identification information and video tag information of the current video from the basic attribute information corresponding to the current video, wherein part of information in the basic attribute information of the current video is displayed in a playing page of the current video.
According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the video playing method according to any of the above embodiments.
According to a fourth aspect of the embodiments of the present disclosure, a storage medium is provided, where instructions executed by a processor of an electronic device enable the electronic device to execute the video playing method according to any one of the embodiments.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product configured to execute the video playing method according to any one of the embodiments.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the embodiment of the disclosure, the video switching operation can be received at the playing page of the current video, and then the playing page of the current video directly enters the playing page of the subsequent video determined by the video tag information and the video identification information, so that a tedious and lengthy page jump operation is not needed, at least the switching efficiency of the played subsequent video is improved, and the technical effects of reducing the additional consumption of network or storage resources are achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow chart illustrating a video playback method according to one of the exemplary embodiments of the present disclosure;
fig. 2 is a flowchart of a video playing method according to another exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a video aggregation page shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating an incoming video aggregation page in accordance with an illustrative embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a display tag syndication content shown in the present disclosure according to one of the exemplary embodiments;
fig. 6 is a schematic diagram of a display tag syndication according to a second exemplary embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating a display tag syndication according to a third exemplary embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a display tag syndication content shown in the fourth embodiment of the present disclosure;
fig. 9 is a schematic block diagram illustrating a video playback device in accordance with an embodiment of the present disclosure;
fig. 10 is a schematic block diagram illustrating an electronic device in accordance with an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
With the rapid development of communication technology and the popularization of intelligent equipment, resource recording and resource sharing in a video form gradually enter deep into the work and life of people. The user can record and share the living experience or the working experience in a video form at any time and any place, and other users can watch and comment the video shared by the user by means of the application platform so as to meet the modern mainstream fast-food entertainment enjoyment.
Video resources become a main resource sharing way among users due to vivid and rich expression modes and visual and convenient watching experience. Because the text resource only has monotonous characters or simple matching pictures, the video resource additionally comprises elements which are not possessed by texts such as pictures, sounds and even animation special effects; in addition, the video resources have a more efficient information output mode, and compared with a lengthy text form which restricts the reading experience of the user, the video can be vividly deduced within the effective time duration, and a viewer can easily obtain a deeper impression.
While resource sharing in the form of videos leads users to enter an immersive experience, users are also sensitive to a play operation to acquire a target video or to switching between multiple videos, which makes the experience regarding the play operation of the target video largely determinative of the user stickiness of the product.
However, in the related art, if a user wants to play a video resource belonging to target tag information, a user needs to perform a jump operation between multiple pages before entering a playing page of the video resource corresponding to the target tag, such as an application program, and then jump to a selection page of the tag information, and then jump from the selection page of the tag information to a video resource preview page corresponding to the tag information a specified by the user, and then open the playing page of the selected video resource a based on the detected video resource a selected from the video resource preview page by the user, thereby completing the playing of the target video resource a in the tag information a required by the user.
For another example, if the user jumps from the playing page of the current video resource a to the playing page of the target video resource B corresponding to the other tag information B, the user needs to operate to return the playing page of the current video resource a to the video resource preview page corresponding to the tag information a, and then return the playing page of the current video resource a to the selection page of the tag information; and then, based on the detected video resource B selected by the user from the video resource preview page corresponding to the tag information B, opening the playing page of the selected video resource B, thereby completing the jumping from the playing page of the video resource A to the playing page of the target video resource B corresponding to the other tag information B.
Therefore, regardless of the process of playing the video resource corresponding to the tag information specified by the user or skipping from the currently played video resource to the video resource corresponding to the specified tag information, the operation process of the related art is tedious and tedious, so that the user needs to skip repeatedly among multiple pages, which not only causes low operation efficiency and wastes network or equipment storage resources, but also reduces the usability and operation convenience of the product due to the lengthy operation path, and restricts the use experience of the user on the product.
In view of the above, the present disclosure provides a video playing method to solve at least the technical problems in the related art, and the following embodiments will explain technical solutions of the present disclosure in detail. Fig. 1 is a flowchart illustrating a video playing method according to one exemplary embodiment of the present disclosure, as shown in fig. 1, which may include the following steps:
in step 101, a video switching operation performed on a playing page of a current video is detected, and video identification information and video tag information of the current video are acquired.
In this embodiment, the video playing method may be applied to any application installed in the electronic device, such as a video playing application, a video editing application, or may also be an application integrating video editing, video sharing, and other functions, such as an Instant Messaging application (IM) including a video sharing function.
In this embodiment, the video identification information and the video tag information of the current video may be pre-configured in the basic attribute information corresponding to the current video, the basic attribute information may include multiple kinds of attribute information corresponding to the current video, such as the number of viewers, the hotness ranking of the video tag, description information of the video tag, a matching link of a video cover, and the like, and accordingly, part of the basic attribute information may be displayed in a playing page of the current video, so as to display detailed content of the current video about the attribute information in the case that a triggering operation of the user on the attribute information displayed in the playing page is detected.
In this embodiment, after a user enters an application program including the video playing method, an aggregation page of an initial video set or a playing page of an initial video may be displayed, and when a trigger for a playing operation on any displayed video is detected, video identification information and video tag information of any video are determined, and a reconstructed video set is further determined according to the video identification information and the video tag information, where a video in the determined reconstructed video set may be matched with the video tag information or associated tag information of the video tag information, so that after a video switching operation on any video is received, a video in the reconstructed video set that is matched with the video tag information or associated tag information of the video tag information is played.
By the embodiment, the tag information matched with the selected video to be played or the video matched with the associated tag information associated with the selected video tag information can be automatically recommended according to the video to be played selected from the aggregation page of the initial video set or the playing page of the initial video, so that a user can conveniently acquire the video resource of the same tag information or the associated tag information.
In addition, in the process of recommending the video matched with the label information of the video to be played or the selected video label information, the reconstructed video set corresponding to the video identification information and the video label information can be recommended in a video stream form after video aggregation, so that the video to be played can be efficiently switched.
In step 102, a subsequent video to be played is determined according to the video tag information and the video identification information.
In this embodiment, in the process of determining a subsequent video to be played according to the video tag information and the video identification information, it may be determined that, in a recommended video set corresponding to the video tag information, a video indicated by the video switching operation and having a switching sequence subsequent to the video identification information is obtained as the subsequent video to be played;
or, according to the video identification information, when it is determined that the current video is the last video played in the recommended video set corresponding to the video tag information, acquiring subsequent tag information of the video tag information, where a sequential relationship between the video tag information and the subsequent tag information corresponds to a switching sequence indicated by the video switching operation; and then, acquiring a video corresponding to the switching sequence indicated by the video switching operation from the video set corresponding to the subsequent label information, and taking the video as the subsequent video to be played.
Further, the sequence of video switching operations may include switching forward by one video to play a previous video in the sequence before the current video and switching backward by one video to play a subsequent video in the sequence after the current video. Of course, a video switching operation that a user may perform on the playing page of the current video may correspond to switching to another video that is spaced apart from the current video by a plurality of videos, such as a video switching operation performed on the playing page of the current video corresponds to switching to another video that is spaced apart from the current video by 2 videos, and then a video that is not more than 2 video apart from the current video is directly skipped, and a video that is spaced apart from the current video by 3 is skipped.
When the situation that the video switching operation implemented by the user is backward switching and other videos arranged behind the current video exist in the recommended video set corresponding to the video label information is detected, determining the other videos as subsequent videos to be played; and if it is detected that no other video arranged after the current video exists in the recommended video set corresponding to the video tag information after receiving the backward switching operation performed by the user, determining the video corresponding to the tag information arranged after the video tag information as a subsequent video to be played.
Similarly, when it is received that the video switching operation implemented by the user is forward switching and it is detected that other videos arranged before the current video exist in the recommended video set corresponding to the video tag information, determining the other videos as subsequent videos to be played; and if it is detected that there is no other video arranged before the current video in the recommended video set corresponding to the video tag information after receiving that the video switching operation implemented by the user is forward switching, determining the video corresponding to the tag information arranged before the video tag information as a subsequent video to be played.
By implementing the video switching operation on the playing page of the current video, the playing page of the current video directly jumps to the video playing page matched with the same tag information, or the playing page of the current video directly jumps to the playing page of the video in the recommended video set matched with the subsequent tag information, and the user does not need to implement the lengthy page switching operation in the video switching process, so that the video switching operation efficiency is improved.
In step 103, the subsequent video is played.
In this embodiment, the playing page of the video in the video set corresponding to the target tag information may be skipped to from the playing page of the current video. Specifically, when the label switching operation on the current video is detected, preset label aggregation content can be displayed, and then the video in the video set corresponding to the video label information is played under the condition that the video label information selected from the label aggregation content is determined. Through the embodiment, the user can conveniently select the tag information corresponding to the subsequently played video on the playing page of the current video, and the operation efficiency of selecting the tag information of the subsequently played video is improved.
Further, the process of displaying the preset tag aggregation content may adopt a plurality of modes when the tag switching operation is performed on the current video according to the detection: for example, preset tag aggregation content may be displayed in a superimposed manner in a playing page of the current video according to the detected tag switching operation performed on the current video.
Or, according to the detected tag switching operation on the current video, simultaneously displaying a tag switching area containing preset tag aggregation content and a video preview area of the current video in the page. Specifically, according to the detected tag switching operation performed on the current video, the separation distance between the operation start position and the operation end position of the tag switching operation performed on the current video may be determined, and further, in the case that the separation distance exceeds the distance threshold, the operation direction from the operation start position to the operation end position is determined, so as to move the play thumbnail page of the current video according to the operation direction until the current video is played in the associated area of the operation end position, and the tag switching area containing the preset tag aggregation content is displayed in the other area except the associated area in the current page.
Further, in the process of determining the tag information selected in the tag aggregation content, there may be various forms: the method comprises the steps that tag information corresponding to a selection instruction in tag aggregation content can be determined according to the received selection instruction of the tag information in the tag aggregation content; or, the selection operation of the tag class trap in the tag aggregation content is detected, the tag information belonging to the tag type is displayed, and further, the target tag information selected from the displayed tag information is determined as the tag information selected from the tag aggregation content.
According to the embodiment, the video switching operation can be received at the playing page of the current video, and then the playing page of the current video directly enters the playing page of the subsequent video determined by the video tag information and the video identification information, so that tedious and lengthy page jump operation is not needed, the switching efficiency of the played subsequent video is at least improved, and the technical effects of reducing additional consumption of network or storage resources are achieved.
Fig. 2 is a flowchart of a video playing method according to another exemplary embodiment of the present disclosure, as shown in fig. 2, the method may include the following steps:
in step 201, an aggregation page of the initial video set or a play page of the initial video is presented.
After the user enters the application program containing the video playing method, an aggregation page of the initial video set or a playing page of the initial video can be displayed. A plurality of video resources may be included in an aggregated page of an initial video set, as shown in fig. 3, fig. 3 is a schematic diagram of a video aggregated page shown in the present disclosure according to an exemplary embodiment, and in the aggregated page of the initial video set shown in fig. 3, the displayed video resources, such as video a, video B, video C, and video D, may be automatically recommended for a server based on a recommendation algorithm facing all users; or the recommendation mode of the video in the aggregated page of the initial video set is not limited by the present disclosure.
In step 202, a play operation for any video in the page is detected, the any video is played, and a reconstructed video set is loaded according to the video identification information and the video tag information of the any video.
And under the condition that the triggering of the playing operation of any one of the displayed videos is detected, determining the video identification information and the video label information of any one of the videos, and further determining a reconstructed video set according to the video identification information and the video label information.
Specifically, the determined reconstructed video set may include other videos corresponding to the video tag information of any video, or videos corresponding to other tag information associated with the video tag information of any video. In practical application, the request information sent to the server can be generated by sending video identification information, video tag information and the like based on any video, so that the server determines other videos corresponding to the video tag information or videos corresponding to other tag information associated with the video tag information in the database according to the received request information, the determined videos can form a reconstructed video set corresponding to the video identification information or the video tag information of any video, and the server returns the reconstructed video set.
The video identification information and the video tag information of the video may be pre-configured in the basic attribute information corresponding to the current video, so that the video identification information and the video tag information may be directly read in the basic attribute information corresponding to the video in the process of generating the request information, such as basic attribute information including a tag identification ID, tag description information Desc, skip protocol L inkUrl, and the like may be configured as the basic attribute information corresponding to the video.
In practical application, the tag identification, the tag description information, etc. can be configured and displayed in the playing page of the video, so as to display the detailed content of the current video about the attribute information when the triggering operation of the user on the attribute information displayed in the playing page is detected, besides, part of the basic attribute information can be configured in the skip protocol L inkUrl, and displayed after being parsed in the new page or in the overlapping area on the current page.
Some information configured in the skip protocol L inkUrl, such as the number of viewers, the hotness ranking of video tags, the number of viewers of video tags within a preset time duration, a mapping link of a video cover, etc., an exemplary skip protocol L inkUrl may be kwai:// forwarding.
Further, the operation performed by the user on the page may be used as a trigger instruction for loading the reconstructed video set, or may be automatically determined to trigger loading the reconstructed video set after a play operation on any video is detected. After the reconstructed video set is loaded, the video aggregation page corresponding to the reconstructed video set can be directly displayed; or displaying the video aggregation page corresponding to the reconstructed video set after receiving the operation instruction of the user again, specifically, after the reconstructed video set is loaded, displaying a jump icon or a prompt icon corresponding to the video aggregation page in the playing page of the video; under the condition that no reconstructed video set corresponding to the current video exists or the reconstructed video set fails to be loaded, the jump icon corresponding to the video aggregation page is not displayed in the playing page of the video, and certainly, prompt information about the fact that no corresponding video aggregation page exists in the playing page of the video can be sent, which is not limited by the disclosure.
Under the condition that a jump icon corresponding to a video aggregation page is used and the operation of clicking, dragging and the like of a user on the jump icon is received, jumping from the current video page to the video aggregation page corresponding to a reconstructed video set containing the current video; and under the condition of using the prompt icon corresponding to the video aggregation page, receiving the trigger operation of the user on the page, and jumping to the video aggregation page corresponding to the reconstructed video set. As shown in fig. 4, fig. 4 is a schematic diagram of an incoming video aggregation page according to an exemplary embodiment of the present disclosure, in fig. 4, a jump icon "video aggregation entry" corresponding to the video aggregation page is displayed in the play page of video a, under the condition that a jumping icon 'video aggregation entrance' of a video aggregation page is detected to be clicked, entering the video aggregation page corresponding to a reconstructed video set containing the current video from a playing page of the current video, a video aggregation page corresponding to a reconstructed video set including the current video a and other videos B, C and D is shown in an abstract manner in fig. 4, the abstract video aggregation page corresponds to the video switching operation which is a video switching operation of sliding up and down, and correspondingly, after the video switching of one video is triggered by sliding down, converting the playing page of the video A into the playing page of the video B on the current video playing page; similarly, after the downward sliding triggers the video switching of two videos, the current video playing page is converted from the playing page of the video a to the switching page of the video C, or after the upward sliding triggers the video switching of one video, the current video playing page is converted from the playing page of the video a to the playing page of the video D. Further, after the playing page of the current video enters the video aggregation page, the current video can be continuously played, or the video at the preset position in the reconstructed video set can be played.
It should be noted that fig. 4 exemplarily shows a form in which a plurality of video playing windows in a reconstructed video set are spliced into one video aggregation page, and the video switching process performed on each video playing window is more connected and smooth by splicing the plurality of video playing windows in the reconstructed video set, so that the video playing efficiency is improved. It is to be easily understood that the multiple video playing windows in the reconstructed video set may not be spliced, such as being displayed according to a video playing sequence preset for the reconstructed video set, which is not limited by the present disclosure.
In practical application, the implementation operation as the trigger instruction can be in the modes of clicking, long-pressing, sliding or dragging along a preset direction, knocking and the like, and the operation implemented on the page can be customized by a user; or in the case that the user does not set the default operation mode, the default operation mode may be used as a trigger instruction for loading the reconstructed video set, and further, the default operation mode for entering the video aggregation page including the reconstructed video set may be prompted to the user in the page.
In step 203a, a video switching operation performed on a playing page of a current video is detected, whether a subsequent video corresponding to a switching sequence indicated by the video switching operation exists in a reconstructed video set is determined according to video tag information and video identification information of the current video, and if so, the subsequent video corresponding to the switching sequence indicated by the video switching operation is played; otherwise, step 204a is entered.
The video switching operation triggered by the user on the playing page of the current video may include multiple modes, such as upward sliding, downward sliding, screen clicking, long screen pressing, and the like, specifically, when the operation mode is screen clicking, the operation mode further includes the number of screen clicks; when the operation mode is long-time pressing of the screen, the operation mode also comprises long-time pressing of the screen. The purpose of the video switching operation may be to switch video forward, switch video backward, or a specific step size of video switching, such as switching two videos forward, switching two videos backward, or switching three videos forward, etc.
The user may customize the association relationship between each operation mode and the video switching operation purpose, or determine the operation mode in the association relationship and the video switching operation purpose corresponding to the operation mode according to a default mode of the system, for example, the association relationship between the operation mode and the video switching operation purpose is as follows: double-click switches one video forward, triple-click switches two videos forward, long-press switches one video backward for more than 2 seconds, long-press switches two videos backward for more than 3 seconds, and the like.
After detecting the video switching operation performed on the playing page of the current video, determining whether a subsequent video corresponding to the switching sequence indicated by the video switching operation exists in the reconstructed video set according to the video tag information and the video identification information of the current video, and if so, playing the subsequent video corresponding to the switching sequence indicated by the video switching operation, such as when the video switching operation performed on the playing page of the current video is to switch one video backwards, and determining one video after the current video as the subsequent video corresponding to the switching sequence indicated by the video switching operation when determining that at least one video exists after the current video in the reconstructed video set; for another example, the video switching operation executed on the playing page of the current video is to switch two videos backwards, and if it is determined that only one video exists after the current video in the reconstructed video set, it is determined that no subsequent video corresponding to the switching order indicated by the video switching operation exists in the reconstructed video set.
Further, the plurality of videos in the reconstructed video set may correspond to the video tag information of the current video or the associated video tag information associated with the video tag information of the current video, and the determined subsequent video may be a video corresponding to the video tag information of the current video or the associated tag information associated with the video tag information corresponding to the current video.
In practical applications, when a video switching operation of switching one video backward to a playing page of a current video is detected and no video exists after the current video in a video set corresponding to video tag information of the current video, a first video in a piece of subsequent tag information after the video tag information of the current video in a reconstructed video set can be used as a subsequent video corresponding to the operation of switching one video backward; similarly, in the case where a video switching operation of switching one video forward to the playing page of the current video is detected and there is a video arranged before the current video in the video set corresponding to the video tag information of the current video, the last video in the video set corresponding to one tag information arranged before the video tag of the current video in the reconstructed video set may be used as the subsequent video corresponding to the operation of switching one video forward.
In step 204a, sending a subsequent video acquisition request corresponding to the switching sequence indicated by the video switching operation to the server to load the video based on the received response information in the case that the server returns the response information on the subsequent video; and in the case that the server returns the response information that the subsequent video does not exist, displaying prompt information for representing that no more video exists.
Under the condition that the subsequent videos corresponding to the switching sequence indicated by the video switching operation do not exist in the reconstructed video set, whether the subsequent videos corresponding to the switching sequence indicated by the video switching operation exist in the video set corresponding to the video tag information of the current video at the server side can be determined according to the value of the haseMore issued by the server, and whether an acquisition request of the subsequent videos corresponding to the video tag information of the current video and the switching sequence indicated by the video switching operation is sent to the server is determined according to the value of the haseMore.
Specifically, when the value of the haseMore is true, the server continues to send a subsequent video acquisition request corresponding to the video tag information of the current video and corresponding to the switching sequence indicated by the video switching operation; and under the condition that the value of the haseMore is false, judging whether subsequent label information corresponding to the switching sequence indicated by the video switching operation exists in the reconstructed video set, and under the condition that the subsequent label information exists, sending a video acquisition request related to the subsequent label information to the server, so as to load the video corresponding to the subsequent label information into the reconstructed video set under the condition that response information related to the video of the subsequent label information is returned by the server, and further playing the video corresponding to the switching sequence indicated by the video switching operation.
In step 203b, it is detected that a tag switching operation is performed on the current video, and preset tag aggregation content is displayed.
The tag switching operation performed on the current video may include various operations such as clicking a preset tag switching icon, such as a displayed tag switching icon in a playing page of the current video, a tag switching icon displayed in an area other than a playing area of the current video, or a screen trigger operation corresponding to the tag switching operation, for example, long-pressing for a preset length of time or clicking operation corresponding to a preset number of times, and the like.
When the tag switching operation on the current video is detected, the preset tag aggregation content may be displayed in a superimposed manner in the playing page of the current video, and the tag aggregation content may be displayed in the playing page of the video in a superimposed manner after popping up in the playing page of the current video, or may slide out of the playing page of the current video to present an effect displayed in the playing page of the video in a superimposed manner.
The process of displaying the preset tag aggregation content in the playing page of the current video in an overlapping manner can be as shown in fig. 5, figure 5 is a schematic diagram of a display tag syndicated content according to one of the exemplary embodiments of the present disclosure, in the case that a user's trigger operation of "switching the aggregation tag" is received in the playing page of the current video, the tagged syndication content may be displayed superimposed in a playback page of the current video, which may continue to play without interference from the superimposed tagged syndication content, as further shown in figure 6, figure 6 is a schematic diagram of a display tag syndicated content according to a second illustrative embodiment of the present disclosure, in fig. 6, a user may perform a trigger operation on a video aggregation title a corresponding to a current video a in a playing page of the current video a, and further superimpose and display tag aggregation content on a display page of the current video a.
Further, there are various ways of displaying the tag syndication content in an overlapping manner, and fig. 6 shows an exemplary way of displaying the tag syndication content, in fig. 6, the tag syndication content is overlapped on the right side of the video playing page; it is easily understood that the overlapping position of the video syndication content in the page, such as the overlapping display of the tab syndication content at the left side, the lower side, etc. of the page, may be changed according to actual needs, please refer to fig. 7, fig. 7 is a schematic diagram of a display tab syndication content according to a third exemplary embodiment of the present disclosure, in the case that the tab switching operation is detected to be performed on the current video, for example, the click operation to the video syndication title a in the video playing page shown in fig. 7 is detected, and the tab syndication content is overlapped and displayed at the upper half of the video playing page of the video a. Of course, the page containing the tagged syndication content may also completely replace the playing page for the current video so that the user is shown complete information about the tagged syndication content.
And when detecting that the label switching operation is carried out on the current video, displaying a label switching area containing preset label aggregation content and a video preview area of the current video. Further, when the fact that the distance between the operation starting position and the operation ending position of the label switching operation carried out on the current video exceeds a distance threshold value is detected, the operation direction from the operation starting position to the operation ending position is determined; moving the playing thumbnail page of the current video according to the operation direction until the current video is played in the associated area of the operation ending position; and displaying a tag switching area containing preset tag aggregation content in other areas except the associated area in the current page.
Taking an operation direction from an operation start position a to an operation end position B as an example, as shown in fig. 8, fig. 8 is a schematic diagram of displaying tag aggregation contents according to a fourth exemplary embodiment of the present disclosure, a play thumbnail page of a video a is moved according to the moving direction until the video a is played in an associated area at the operation end position B, and a tag switching area containing preset tag aggregation contents is displayed in other areas except the associated area, wherein all the tag aggregation contents, such as a tag type a, a tag type B, a tag type C, a tag type D, and each aggregation tag title corresponding to the selected tag type B, a corresponding video amount, a browsing population, and the like, can be displayed in the tag switching area.
It is to be understood that the operation direction from the operation start position a to the operation start position B may be from top to bottom, from bottom to top, from left to right, or from top to bottom left, from bottom to bottom left, etc., and the present disclosure is not limited thereto.
In step 204b, the tag information selected in aggregating the content for the tag is determined.
Under the condition that the default listed tag information in the tag aggregation content corresponds to the requirement of the user, the user can directly select the tag information displayed in the tag aggregation content, and then the video corresponding to the selected tag information is played in the video playing page.
Under the condition that the tag information listed in the tag aggregation content does not match the requirements of the user, the user can select the tag type information displayed in the tag aggregation content, the tag information corresponding to the selected tag type can be displayed in response to the detected tag type selection information, and then the tag information corresponding to the tag information selection instruction is determined to be the tag information selected in the tag aggregation content according to the tag information selection instruction of the tag information corresponding to the selected tag type.
For example, in a case where the tag information selected by the user's intention is a cat and the listed tag information does not include a cat by default, the user may select the tag type displayed in the tag aggregate content, and for example, in response to the detected selection information of the tag type for "pet", the tag information "pet dog", "pet cat", "pet mouse", "pet pig" and the like included in the tag type "pet" are displayed, and in response to the detection of the selection instruction of the tag information "pet cat", the tag information "pet cat" is determined as the tag information selected in the tag aggregate content.
Of course, besides the application scenario in which the user selects the tag information displayed in the tag aggregated content, the search may be performed in a search box corresponding to the tag aggregated content, such as inputting the name of the tag information to be detected in the form of text, voice or picture.
In step 205, the video in the video set corresponding to the tag information is played.
In one embodiment, the video in the video set corresponding to the tag information can be directly played in a full screen; in another embodiment, a preset number of thumbnail videos in a video set corresponding to the tag information may be displayed in a preset area of the current page, and when a play operation on a plurality of thumbnail videos is detected, the thumbnail video corresponding to the play operation is played in a full screen.
Correspondingly to the foregoing embodiment of the video playing method, the present disclosure also provides an embodiment of a video playing apparatus.
Fig. 8 is a schematic block diagram illustrating a video playback device according to an embodiment of the present disclosure. The video playing apparatus shown in this embodiment may be applied to video playing applications, where the applications are applied to terminals, and the terminals include, but are not limited to, mobile phones, tablet computers, wearable devices, personal computers, and other electronic devices. The video playing application may be an application installed in the terminal, or may be a web application integrated in the browser, and the user may play a video through the video playing application, where the played video may be a long video, such as a movie and a tv series, or a short video, such as a video clip and a scene short series.
As shown in fig. 9, the video playback apparatus may include:
an information obtaining module 901, configured to execute video switching operation that is detected to be performed on a playing page of a current video, and obtain video identification information and video tag information of the current video;
a video determining module 902 configured to determine a subsequent video to be played according to the video tag information and the video identification information;
a first video playing module 903 configured to perform playing of the subsequent video.
Optionally, the video determining module is specifically configured to:
acquiring videos, indicated by the video switching operation and having switching sequences behind the video identification information, from a recommended video set corresponding to the video tag information, as the subsequent videos to be played; or,
determining, according to the video identification information, that the current video is the last played video in a recommended video set corresponding to the video tag information, and acquiring subsequent tag information of the video tag information; wherein, the sequence relation between the video label information and the subsequent label information corresponds to the switching sequence indicated by the video switching operation;
and acquiring videos corresponding to the switching sequence indicated by the video switching operation from the video set corresponding to the subsequent label information as subsequent videos to be played.
Optionally, the video switching operation includes backward switching, and the video determining module is further configured to:
according to the video identification information, determining that other videos arranged behind the current video exist in a recommended video set corresponding to the video tag information, and determining the other videos as subsequent videos to be played;
according to the video identification information, determining that no other video arranged behind the current video exists in the recommended video set corresponding to the video tag information, and determining the video corresponding to the tag information arranged behind the video tag information as a subsequent video to be played.
Optionally, the video switching operation includes forward switching, and the video determining module is further configured to:
according to the video identification information, determining that other videos arranged before the current video exist in a recommended video set corresponding to the video tag information, and determining the other videos as subsequent videos to be played;
according to the video identification information, determining that no other video arranged before the current video exists in the recommended video set corresponding to the video tag information, and determining the video corresponding to the tag information arranged before the video tag information as a subsequent video to be played.
Optionally, the method further includes:
a tag display module 904, configured to perform detection of performing a tag switching operation on a current video, and display preset tag aggregation content;
a tag determination module 905 configured to perform determining the video tag information selected in the tag aggregated content;
a second video playing module 906 configured to perform playing of videos in the video set corresponding to the video tag information.
Optionally, the tag display module is specifically configured to:
detecting that a label switching operation is carried out on a current video, and overlapping and displaying preset label aggregation content in a playing page of the current video; or,
and when detecting that the label switching operation is carried out on the current video, displaying a label switching area containing preset label aggregation content and a video preview area of the current video.
Optionally, the tag display module is further configured to:
detecting that the spacing distance between an operation starting position and an operation ending position of label switching operation carried out on a current video exceeds a distance threshold value, and determining the operation direction from the operation starting position to the operation ending position;
moving the playing thumbnail page of the current video according to the operation direction until the current video is played in the associated area of the operation ending position;
and displaying a tag switching area containing preset tag aggregation content in other areas except the associated area in the current page.
Optionally, the tag determination module is specifically configured to:
detecting a selection operation of a tag type in the tag aggregation content, and displaying tag information belonging to the tag type;
determining target tag information selected among the presented tag information as the tag information selected in the tag aggregated content.
Optionally, the method further includes:
a page presentation module 907 configured to perform presentation of an aggregation page of the initial video set or a play page of the initial video;
an information determining module 908 configured to execute detecting to trigger a playing operation on any one of the displayed videos, and determine video identification information and video tag information of the any one of the videos;
a third video playing module 909 configured to execute determining a reconstructed video set according to the video identification information and the video tag information, so as to play the video in the reconstructed video set after receiving a video switching operation on any one of the videos, where the video in the reconstructed video set corresponds to the video tag information or the associated tag information of the video tag information.
Optionally, the information obtaining module is specifically configured to:
and acquiring video identification information and video tag information of the current video from the basic attribute information corresponding to the current video, wherein part of information in the basic attribute information of the current video is displayed in a playing page of the current video.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
An embodiment of the present disclosure also provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the video playing method according to any of the above embodiments.
The electronic device in the present disclosure may be an independent client device, may be an independent server, or may be an electronic device of a system including a client and a server. In the case that the electronic device of the present disclosure is an electronic device of a system composed of a client and a server, part of the processes in any of the above embodiments may be implemented by the client triggering the server, such as:
after detecting the video operation performed on the playing page of the current video and acquiring the video identification information and the video tag information of the current video, the client may send the acquired video identification information and the video tag information to the server, so that the server determines the subsequent video to be played according to the video tag information and the video identification information, and then returns the determined subsequent video to be played to the client, so that the client plays the subsequent video.
In the process of determining a subsequent video to be played according to the video tag information and the video identification information, the server may obtain, from a recommended video set corresponding to the video tag information, a video indicated by the video switching operation and having a switching sequence subsequent to the video identification information, as the subsequent video to be played; or,
the server can obtain the subsequent label information of the video label information when determining that the current video is the last playing video in the recommended video set corresponding to the video label information according to the video identification information; wherein, the sequence relation between the video label information and the subsequent label information corresponds to the switching sequence indicated by the video switching operation;
the server may obtain, from the video set corresponding to the subsequent tag information, a video corresponding to the switching order indicated by the video switching operation, as a subsequent video to be played.
When the client detects that the label switching operation is carried out on the current video, the client displays the preset label aggregation content; the client determines the video tag information selected from the tag aggregation content, the client sends the video tag information selected from the determined tag aggregation content to the server, the server determines the video in the video set corresponding to the video tag information, the server sends the video in the video set corresponding to the video tag information to the client, and the client plays the received video.
The method comprises the steps that a client detects that the playing operation of any displayed video is triggered, video identification information and video label information of any video are determined, the client sends the determined video identification information and video label information of any video to a server, the server determines a reconstructed video set according to the video identification information and the video label information, the determined reconstructed video set is sent to the client, and the client plays the video in the reconstructed video set after receiving the video switching operation of any video.
Embodiments of the present disclosure also provide a storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to execute the video playing method according to any of the above embodiments.
Embodiments of the present disclosure further provide a computer program product configured to execute the video playing method according to any of the above embodiments.
Fig. 10 is a schematic block diagram illustrating an electronic device in accordance with an embodiment of the present disclosure. For example, the electronic device 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, electronic device 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls overall operation of the electronic device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the video playback method described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the electronic device 1000. Examples of such data include instructions for any application or method operating on the electronic device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the electronic device 1000. The power components 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and a user, in some embodiments, the screen may include a liquid crystal display (L CD) and a Touch Panel (TP). if the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 may include a Microphone (MIC) configured to receive external audio signals when the electronic device 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the electronic device 1000. For example, the sensor assembly 1014 may detect an open/closed state of the electronic device 1000, the relative positioning of components, such as a display and keypad of the electronic device 1000, the sensor assembly 1014 may also detect a change in position of the electronic device 1000 or a component of the electronic device 1000, the presence or absence of user contact with the electronic device 1000, orientation or acceleration/deceleration of the electronic device 1000, and a change in temperature of the electronic device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate wired or wireless communication between the electronic device 1000 and other devices. The electronic device 1000 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an embodiment of the present disclosure, the electronic device 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components, for executing the above-mentioned video playing method.
In an embodiment of the present disclosure, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the electronic device 1000 to perform the video playing method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The method and apparatus provided by the embodiments of the present disclosure are described in detail above, and the principles and embodiments of the present disclosure are explained herein by applying specific examples, and the above description of the embodiments is only used to help understanding the method and core ideas of the present disclosure; meanwhile, for a person skilled in the art, based on the idea of the present disclosure, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present disclosure should not be construed as a limitation to the present disclosure.
Claims (10)
1. A video playback method, the method comprising:
detecting video switching operation carried out on a playing page of a current video, and acquiring video identification information and video tag information of the current video;
determining a subsequent video to be played according to the video label information and the video identification information;
and playing the subsequent video.
2. The method of claim 1, wherein the determining the subsequent video to be played according to the video tag information and the video identification information comprises:
acquiring videos, indicated by the video switching operation and having switching sequences behind the video identification information, from a recommended video set corresponding to the video tag information, as the subsequent videos to be played; or,
according to the video identification information, when the current video is determined to be the last playing video in the recommended video set corresponding to the video label information, obtaining the subsequent label information of the video label information; wherein, the sequence relation between the video label information and the subsequent label information corresponds to the switching sequence indicated by the video switching operation;
and acquiring videos corresponding to the switching sequence indicated by the video switching operation from the video set corresponding to the subsequent label information as subsequent videos to be played.
3. The method of claim 1, wherein the video switching operation comprises a backward switch, and the determining a subsequent video to be played according to the video tag information and the video identification information comprises:
according to the video identification information, determining that other videos arranged behind the current video exist in a recommended video set corresponding to the video tag information, and determining the other videos as subsequent videos to be played;
according to the video identification information, determining that no other video arranged behind the current video exists in the recommended video set corresponding to the video tag information, and determining the video corresponding to the tag information arranged behind the video tag information as a subsequent video to be played.
4. The method of claim 1, wherein the video switching operation comprises forward switching, and wherein the determining the subsequent video to be played according to the video tag information and the video identification information comprises:
according to the video identification information, determining that other videos arranged before the current video exist in a recommended video set corresponding to the video tag information, and determining the other videos as subsequent videos to be played;
according to the video identification information, determining that no other video arranged before the current video exists in the recommended video set corresponding to the video tag information, and determining the video corresponding to the tag information arranged before the video tag information as a subsequent video to be played.
5. The method of claim 1, further comprising:
detecting that the label switching operation is carried out on the current video, and displaying preset label aggregation content;
determining the video tag information selected in the tag aggregated content;
and playing the video in the video set corresponding to the video label information.
6. The method of claim 5, wherein the determining the tag information selected from the tag aggregate content comprises:
detecting a selection operation of a tag type in the tag aggregation content, and displaying tag information belonging to the tag type;
determining target tag information selected among the presented tag information as the tag information selected in the tag aggregated content.
7. The method of claim 1, further comprising:
displaying an aggregation page of the initial video set or a playing page of the initial video;
detecting that the playing operation of any displayed video is triggered, and determining video identification information and video label information of the any video;
and determining a reconstructed video set according to the video identification information and the video tag information, so as to play the video in the reconstructed video set after receiving a video switching operation on any one video, wherein the video in the reconstructed video set corresponds to the video tag information or the associated tag information of the video tag information.
8. A video playback apparatus, comprising:
the information acquisition module is configured to execute video switching operation which is detected to be carried out on a playing page of a current video, and acquire video identification information and video tag information of the current video;
a video determining module configured to determine a subsequent video to be played according to the video tag information and the video identification information;
a first video playing module configured to perform playing of the subsequent video.
9. An electronic device, comprising
A processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the video playback method of any of claims 1 to 7.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the video playback method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010245781.6A CN111432288A (en) | 2020-03-31 | 2020-03-31 | Video playing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010245781.6A CN111432288A (en) | 2020-03-31 | 2020-03-31 | Video playing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111432288A true CN111432288A (en) | 2020-07-17 |
Family
ID=71551832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010245781.6A Pending CN111432288A (en) | 2020-03-31 | 2020-03-31 | Video playing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111432288A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153454A (en) * | 2020-09-25 | 2020-12-29 | 北京字跳网络技术有限公司 | Method, device and equipment for providing multimedia content |
CN112632322A (en) * | 2020-11-30 | 2021-04-09 | 北京达佳互联信息技术有限公司 | Video switching method and device, electronic equipment and storage medium |
CN113423014A (en) * | 2021-06-08 | 2021-09-21 | 深圳康佳电子科技有限公司 | Playing information pushing method and device, terminal equipment and storage medium |
CN114007103A (en) * | 2021-12-30 | 2022-02-01 | 飞狐信息技术(天津)有限公司 | Method and device for online video playing, electronic equipment and storage medium |
CN114546216A (en) * | 2022-02-25 | 2022-05-27 | 深圳康佳电子科技有限公司 | Aggregation-based global searching method, device, equipment and medium for video resources |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080046956A1 (en) * | 2006-08-04 | 2008-02-21 | Kulas Charles J | User control for displaying tags associated with items in a video playback |
CN103618959A (en) * | 2013-11-28 | 2014-03-05 | 乐视网信息技术(北京)股份有限公司 | Method and device for video playing |
CN107948740A (en) * | 2017-10-30 | 2018-04-20 | 广州虎牙信息科技有限公司 | Video playing control method, device and terminal |
CN109587568A (en) * | 2018-11-01 | 2019-04-05 | 北京奇艺世纪科技有限公司 | Video broadcasting method, device, computer readable storage medium |
-
2020
- 2020-03-31 CN CN202010245781.6A patent/CN111432288A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080046956A1 (en) * | 2006-08-04 | 2008-02-21 | Kulas Charles J | User control for displaying tags associated with items in a video playback |
CN103618959A (en) * | 2013-11-28 | 2014-03-05 | 乐视网信息技术(北京)股份有限公司 | Method and device for video playing |
CN107948740A (en) * | 2017-10-30 | 2018-04-20 | 广州虎牙信息科技有限公司 | Video playing control method, device and terminal |
CN109587568A (en) * | 2018-11-01 | 2019-04-05 | 北京奇艺世纪科技有限公司 | Video broadcasting method, device, computer readable storage medium |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153454A (en) * | 2020-09-25 | 2020-12-29 | 北京字跳网络技术有限公司 | Method, device and equipment for providing multimedia content |
EP4171043A4 (en) * | 2020-09-25 | 2023-10-18 | Beijing Zitiao Network Technology Co., Ltd. | Method and apparatus for providing multimedia content, and device |
CN112632322A (en) * | 2020-11-30 | 2021-04-09 | 北京达佳互联信息技术有限公司 | Video switching method and device, electronic equipment and storage medium |
CN112632322B (en) * | 2020-11-30 | 2022-08-30 | 北京达佳互联信息技术有限公司 | Video switching method and device, electronic equipment and storage medium |
CN113423014A (en) * | 2021-06-08 | 2021-09-21 | 深圳康佳电子科技有限公司 | Playing information pushing method and device, terminal equipment and storage medium |
CN114007103A (en) * | 2021-12-30 | 2022-02-01 | 飞狐信息技术(天津)有限公司 | Method and device for online video playing, electronic equipment and storage medium |
CN114007103B (en) * | 2021-12-30 | 2022-04-26 | 飞狐信息技术(天津)有限公司 | Method and device for online video playing, electronic equipment and storage medium |
CN114546216A (en) * | 2022-02-25 | 2022-05-27 | 深圳康佳电子科技有限公司 | Aggregation-based global searching method, device, equipment and medium for video resources |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108881994B (en) | Video access method, client, device, terminal, server and storage medium | |
CN111432288A (en) | Video playing method and device, electronic equipment and storage medium | |
US20200077137A1 (en) | Video interaction method and apparatus | |
CN104166689B (en) | The rendering method and device of e-book | |
CN111783001A (en) | Page display method and device, electronic equipment and storage medium | |
CN104113786A (en) | Information acquisition method and device | |
CN107193606B (en) | Application distribution method and device | |
CN109245997B (en) | Voice message playing method and device | |
US11545188B2 (en) | Video processing method, video playing method, devices and storage medium | |
CN105488715B (en) | Target object information query method and device | |
CN109413478B (en) | Video editing method and device, electronic equipment and storage medium | |
CN113065008A (en) | Information recommendation method and device, electronic equipment and storage medium | |
CN106789551B (en) | Conversation message methods of exhibiting and device | |
CN110719530A (en) | Video playing method and device, electronic equipment and storage medium | |
CN106886540B (en) | Data searching method and device for data searching | |
CN111736746A (en) | Multimedia resource processing method and device, electronic equipment and storage medium | |
CN113986574A (en) | Comment content generation method and device, electronic equipment and storage medium | |
CN113988021A (en) | Content interaction method and device, electronic equipment and storage medium | |
CN113411516A (en) | Video processing method and device, electronic equipment and storage medium | |
CN114827709B (en) | Video display method and device, electronic equipment and storage medium | |
CN113901241B (en) | Page display method and device, electronic equipment and storage medium | |
CN115935099A (en) | Information display method and device, electronic equipment and storage medium | |
CN109151544B (en) | Multimedia playing and displaying method and device | |
CN115119038B (en) | Information display method and device, electronic equipment and storage medium | |
CN115221444A (en) | Data processing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200717 |
|
RJ01 | Rejection of invention patent application after publication |