CN109618192A - Play method, apparatus, system and the storage medium of video - Google Patents

Play method, apparatus, system and the storage medium of video Download PDF

Info

Publication number
CN109618192A
CN109618192A CN201811573115.4A CN201811573115A CN109618192A CN 109618192 A CN109618192 A CN 109618192A CN 201811573115 A CN201811573115 A CN 201811573115A CN 109618192 A CN109618192 A CN 109618192A
Authority
CN
China
Prior art keywords
video
attribute information
playing
terminal
server
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.)
Granted
Application number
CN201811573115.4A
Other languages
Chinese (zh)
Other versions
CN109618192B (en
Inventor
张曼
韩少鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201811573115.4A priority Critical patent/CN109618192B/en
Publication of CN109618192A publication Critical patent/CN109618192A/en
Application granted granted Critical
Publication of CN109618192B publication Critical patent/CN109618192B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6377Control signals issued by the client directed to the server or network components directed to server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Abstract

The disclosure is directed to a kind of method, apparatus, system and storage mediums for playing video, belong to video technique field.The described method includes: when playing the first video, the first acquisition request of video can be sent to terminal, and the mark of the first video is carried in the first acquisition request, after server receives, it can determine the attribute information for meeting the second video of preset matching condition with the first video, the attribute information of the second video be sent to terminal, after terminal receives the attribute information of the second video, when detecting the first switching command, the second video can be played based on the attribute information of the second video.By the disclosure, playing efficiency can be improved.

Description

Play method, apparatus, system and the storage medium of video
Technical field
This disclosure relates to video technique field, more particularly to play method, apparatus, system and the storage medium of video.
Background technique
With the development of computer technology and network technology, user can browse other in video sharing application program The video that user shares.
In the related technology, user is when browsing some video, it is desirable to see the relevant video of the video, can be moved back with triggering terminal Currently playing video out is searched video relevant to the video, is then played out into total browser interface.
Due to exiting currently playing video, other videos relevant to the video could be searched, are played out, so meeting Cause playing efficiency relatively low.
Summary of the invention
Present disclose provides a kind of method, apparatus, system and storage mediums for playing video, and playing efficiency can be overcome low The problem of.
According to the first aspect of the embodiments of the present disclosure, a kind of method playing video is provided, comprising:
When playing the first video, the first acquisition request of video is sent to server, wherein first acquisition request In carry the mark of first video;
Receive mark determination of the server according to first video meets preset matching with first video The attribute information of second video of condition;
When detecting the first switching command, according to the attribute information of second video, second video is played.
Optionally, further includes:
When detecting the idsplay order of total browser interface of video, the second acquisition that Xiang Suoshu server sends video is asked It asks;
Receive the attribute information and the preset number video of preset number video that the server is sent Playing sequence;
According to the playback order, the preset number video is shown in total browser interface;
It is described when playing the first video, to server send video the first acquisition request, comprising:
When playing the first video in the preset number video, the first acquisition for sending video to server is asked It asks.
Optionally, described when detecting the first switching command, according to the attribute information of second video, described in broadcasting Second video, comprising:
When detecting the first switching command, second video is updated in the playing sequence, and is arranged in institute It states at the first video position adjacent with first video later;
According to updated playing sequence, adjacent the second video after first video is determined;
According to the attribute information of second video, second video is played.
Optionally, further includes:
During playing second video, when detecting the second switching command, described updated broadcast is determined Put forward adjacent third video after the second video described in sequence;
According to the attribute information of the third video, the third video is played;
When detect start to play the third video when, deleted from the updated playing sequence it is described second view Frequently.
Optionally, the attribute information includes cover;
Further include:
When detecting the total browser interface for retracting video, described second is shown at the display position of first video Cover in the attribute information of video;Alternatively,
When detecting the total browser interface for retracting video, in next display position of the display position of first video Set the cover in the attribute information of place's display second video.
Optionally, first switching command be long-pressing screen command, double-click the instruction of screen, the sliding of preset direction refers to Enable, pull the head portrait of the affiliated account of the first video described in the instruction of the head portrait of the affiliated account of first video, long-pressing Any one in instruction.
According to the second aspect of an embodiment of the present disclosure, a kind of method playing video is provided, comprising:
Receive the first acquisition request of the video that terminal is sent when playing the first video, wherein first acquisition is asked The mark of first video is carried in asking;
According to the mark of first video, determining the second video for meeting preset matching condition with first video Attribute information;
The attribute information of second video is sent to the terminal, so that the terminal is detecting the first switching command When, according to the attribute information of second video, play second video.
Optionally, the mark according to first video, it is determining to meet preset matching condition with first video The second video attribute information, comprising:
According to the mark of first video, the affiliated account of first video is determined, if account belonging to described is worked as It is preceding to be broadcast live, then live video is determined as meeting the second video of preset matching condition with first video, described in acquisition The attribute information of second video obtains all videos of the affiliated account if account belonging to described be not broadcast live currently In, the most video of history broadcasting time is determined as meeting the second video of preset matching condition with first video, obtains The attribute information of second video;Alternatively, obtaining in all videos of the affiliated account, with the first video similarity Maximum video is determined as meeting the second video of preset matching condition with first video, obtains second video Attribute information;Alternatively, obtain it is described belonging in all video of account, it is adjacent with the first video uplink time point and in institute The video after the first video is stated, is determined as meeting the second video of preset matching condition with first video, described in acquisition The attribute information of second video.
In this way, the video that the affiliated account of the first video is quickly seen at family can be used.
Optionally, the mark according to first video, it is determining to meet preset matching condition with first video The second video attribute information, comprising:
It is determining to belong to of a sort video with first video according to the mark of first video, what is determined In video, the most video of history broadcasting time is chosen, is determined as meeting the second of preset matching condition with first video Video;
Obtain the attribute information of second video.
In this way, user experience can be improved.
Optionally, the mark according to first video, it is determining to belong to of a sort video with first video, Include:
It according to the mark of first video, determines before current point in time, and before the current point in time Preset duration in, belong to of a sort video with first video.
In this way, user experience can be improved.
According to the third aspect of an embodiment of the present disclosure, a kind of device playing video is provided, comprising:
Transmission unit, for sending the first acquisition request of video to server, wherein institute when playing the first video State the mark that first video is carried in the first acquisition request;
Receiving unit, it is determining with first video according to the mark of first video for receiving the server Meet the attribute information of the second video of preset matching condition;
Broadcast unit, for according to the attribute information of second video, playing institute when detecting the first switching command State the second video.
Optionally, the transmission unit is also used to when detecting the idsplay order of total browser interface of video, Xiang Suoshu Second acquisition request of server transmission video;
The receiving unit, be also used to receive the preset number video that the server is sent attribute information and The playing sequence of the preset number video;
The broadcast unit, is also used to according to the playback order, shows the preset number in total browser interface A video;
The broadcast unit, for being sent to server when playing the first video in the preset number video First acquisition request of video.
Optionally, the broadcast unit, is used for:
When detecting the first switching command, second video is updated in the playing sequence, and is arranged in institute It states at the first video position adjacent with first video later;
According to updated playing sequence, adjacent the second video after first video is determined;
According to the attribute information of second video, second video is played.
Optionally, the broadcast unit, is also used to:
During playing second video, when detecting the second switching command, described updated broadcast is determined Put forward adjacent third video after the second video described in sequence;
According to the attribute information of the third video, the third video is played;
When detect start to play the third video when, deleted from the updated playing sequence it is described second view Frequently.
Optionally, the attribute information includes cover;
The broadcast unit, is also used to:
When detecting the total browser interface for retracting video, described second is shown at the display position of first video Cover in the attribute information of video;Alternatively,
When detecting the total browser interface for retracting video, in next display position of the display position of first video Set the cover in the attribute information of place's display second video.
Optionally, first switching command be long-pressing screen command, double-click the instruction of screen, the sliding of preset direction refers to Enable, pull the head portrait of the affiliated account of the first video described in the instruction of the head portrait of the affiliated account of first video, long-pressing Any one in instruction.
According to a fourth aspect of embodiments of the present disclosure, a kind of device playing video is provided, comprising:
Receiving unit, for receiving the first acquisition request of the video that terminal is sent when playing the first video, wherein institute State the mark that first video is carried in the first acquisition request;
Determination unit, it is determining to meet preset matching item with first video for the mark according to first video The attribute information of second video of part;
Transmission unit, for sending the attribute information of second video to the terminal, so that the terminal is detecting When to the first switching command, according to the attribute information of second video, second video is played.
Optionally, the determination unit, is used for:
According to the mark of first video, the affiliated account of first video is determined, if account belonging to described is worked as It is preceding to be broadcast live, then live video is determined as meeting the second video of preset matching condition with first video, described in acquisition The attribute information of second video obtains all videos of the affiliated account if account belonging to described be not broadcast live currently In, the most video of history broadcasting time is determined as meeting the second video of preset matching condition with first video, obtains The attribute information of second video;Alternatively, obtaining in all videos of the affiliated account, with the first video similarity Maximum video is determined as meeting the second video of preset matching condition with first video, obtains second video Attribute information;Alternatively, obtain it is described belonging in all video of account, it is adjacent with the first video uplink time point and in institute The video after the first video is stated, is determined as meeting the second video of preset matching condition with first video, described in acquisition The attribute information of second video.
Optionally, the determination unit, is used for:
It is determining to belong to of a sort video with first video according to the mark of first video, what is determined In video, the most video of history broadcasting time is chosen, is determined as meeting the second of preset matching condition with first video Video;
Obtain the attribute information of second video.
Optionally, the determination unit, is used for:
It according to the mark of first video, determines before current point in time, and before the current point in time Preset duration in, belong to of a sort video with first video.
According to a fifth aspect of the embodiments of the present disclosure, a kind of system playing video, including terminal and server are provided:
The terminal, the device as described in the above-mentioned third aspect;
The server, the device as described in above-mentioned fourth aspect.
According to a sixth aspect of an embodiment of the present disclosure, a kind of terminal is provided, comprising: processor and for storing the processing The memory of device executable instruction;
Wherein, the processor is configured to executing the method for playing video described in above-mentioned first aspect.
According to the 7th of embodiment of the present disclosure aspect, a kind of server is provided, comprising: processor and for storing the place Manage the memory of device executable instruction;
Wherein, the processor is configured to executing the method for playing video described in above-mentioned second aspect.
According to the eighth aspect of the embodiment of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of terminal, enable the terminal to execute the view of broadcasting described in above-mentioned first aspect The method of frequency.
According to the 9th of the embodiment of the present disclosure the aspect, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of server, enables the server to execute and be broadcast described in above-mentioned second aspect The method for putting video.
According to the tenth of the embodiment of the present disclosure the aspect, a kind of application program, including one or more instruction are provided, this one Item or a plurality of instruction can be executed by the processor of terminal, to complete following methods for playing video:
When playing the first video, the first acquisition request of video is sent to server, wherein first acquisition request In carry the mark of first video;
Receive mark determination of the server according to first video meets preset matching with first video The attribute information of second video of condition;
When detecting the first switching command, according to the attribute information of second video, second video is played.
On the one hand according to the tenth of the embodiment of the present disclosure the, a kind of application program, including one or more instruction are provided, it should One or more instruction can be executed by the processor of server, to complete following methods for playing video:
Receive the first acquisition request of the video that terminal is sent when playing the first video, wherein first acquisition is asked The mark of first video is carried in asking;
According to the mark of first video, determining the second video for meeting preset matching condition with first video Attribute information;
The attribute information of second video is sent to the terminal, so that the terminal is detecting the first switching command When, according to the attribute information of second video, play second video.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, when playing the first video, can to terminal send video the first acquisition request, and The mark that the first video is carried in first acquisition request after server receives, can determine and meet default with the first video The attribute information of the second video with condition, the attribute information of the second video is sent to terminal, and terminal receives the second video After attribute information, when detecting the first switching command, the second video can be played based on the attribute information of the second video.This Sample, since preset matching condition can be met with the first video to server request with triggering terminal when playing the first video Second video can play the second video, without exiting currently playing video, institute then by a triggering command Opposite playing efficiency can be improved.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of method for playing video shown according to an exemplary embodiment;
Fig. 2 is a kind of display schematic diagram at the interface of application program shown according to an exemplary embodiment;
Fig. 3 is a kind of schematic diagram for pulling account head portrait shown according to an exemplary embodiment;
Fig. 4 is a kind of structural block diagram of device for playing video shown according to an exemplary embodiment;
Fig. 5 is a kind of structural block diagram of device for playing video shown according to an exemplary embodiment;
Fig. 6 is a kind of structural block diagram of terminal shown according to an exemplary embodiment;
Fig. 7 is a kind of structural block diagram of server shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
A kind of method for playing video is provided in the embodiment of the present disclosure, this method can be jointly real by terminal and server Existing, terminal can be mobile phone, tablet computer etc., and video application is equipped in the terminal, and server is the Video Applications journey The background server of sequence.
Wherein, processor, memory and transceiver can be set in terminal, processor can be used for playing video process Processing, memory can be used for storing the data of data and generation for playing and needing during video, and transceiver can be used In receiving and transmitting data, the input-output equipment such as microphone, screen are also provided in terminal, microphone can be used for Sound is transmitted, screen can be touch screen, be displayed for video pictures etc..It is by mobile phone of terminal in the embodiment of the present disclosure Example carries out the explanation of scheme, and other situations are similar therewith, and the embodiment of the present disclosure is not repeated.
Processor, memory and transceiver can be set in server, processor can be used for playing video process Processing, memory can be used for storing the data for playing the data and generation that need during video, and transceiver can be used for Receive and transmit data.
Before being implemented, application scenarios involved in the embodiment of the present disclosure are introduced first:
The video application mentioned in the embodiment of the present disclosure is video sharing application program, and user can be in Video Applications Then login account in program uploads the video that itself is recorded, the server of video application can by video with Upload the corresponding storage of account.After a login account logs in, server can push pre- to the registration terminal of the login account If number video, which can be shown, user can operate and play out, in the process for playing some video In, execute the process of the embodiment of the present disclosure
Fig. 1 is a kind of flow chart for playing video method shown according to an exemplary embodiment, the method for playing video For in terminal and server, comprising the following steps:
In a step 101, terminal sends the first acquisition request of video to server when playing the first video.
In an implementation, user is during using video application, it is desirable to which playing some video therein (subsequent can To be known as the first video), the selection option of the video can be clicked, terminal can then detect the point of the selection option of the video Hit instruction, start to play the first video, and generate the first acquisition request of video, the first acquisition request for request with First video meets the second video of preset matching condition, and the mark of the first video is added in the first acquisition request, then to Server sends the first acquisition request.
Optionally, terminal is in the click commands of selection option for detecting the video, the selection of the available video The corresponding attribute information of option obtains the broadcasting link of the first video from the attribute information, by loading broadcasting link, from The video data that the server of storage video data obtains the first video plays out.Optionally, the service of video data is stored Device can be same server with server mentioned above, be also possible to different server.
Optionally, when can play the video in total browser interface of video, the first acquisition request, phase are sent to server The processing answered can be such that
When detecting the idsplay order of total browser interface of video, the second acquisition request of video is sent to server, The attribute information for the preset number video that server is sent and the playing sequence of preset number video are received, according to broadcasting Sequence is put forward, preset number video is shown in total browser interface, when playing the first video in preset number video, to clothes Business device sends the first acquisition request of video.
Wherein, preset number can be preset by technical staff, and be stored into server, and such as 40, preset number is used The number of the video pushed when indicating server every time to terminal pushing video.If playing sequence be used to indicate user according to Preset handover operation triggering plays next video, then is played out according to playing sequence.
In an implementation, it detects in terminal from other display interfaces and switches to total browser interface of video (such as from concern circle Face etc. switches to total browser interface of video) when, or when user logs in the login account of oneself, triggering shows the total of video When browser interface, terminal can detecte the idsplay order of total browser interface, generate the second acquisition request of video, and second obtains Preset number video of the request for request push, wherein carry the mark of current logon account, then terminal can be with The second acquisition request of video is sent to server.
After server receives the second acquisition request of video, it can be therefrom resolved to the mark of current logon account, and And according to preset push rule, determine that the attribute information of preset number video and preset number video, broadcasting are suitable Sequence.Then server can send the attribute information and playing sequence of preset number video to terminal.
It, can be in total browser interface of video after terminal receives the attribute information and playing sequence of preset number video In, according to playing sequence, this preset number video is shown, and store playing sequence, under the different surely display of the screen of terminal Preset number video can show several videos of foremost in playing sequence first, as shown foremost in playing sequence 4 videos, user trigger page turn over operation when, terminal can be based on playing sequence, show remaining video.
If it is intended to playing some video (subsequent to be known as the first video) that total browser interface is shown, can click The selection option of the video, terminal can then detect the click commands of the selection option of the video, start to play the first video, and And the first acquisition request of video is generated, the mark of the first video is added in the first acquisition request, is then sent to server First acquisition request.
In this way, user can be prevented without directly transmitting video data by only sending the attribute information of preset number video Do not trigger play preset number video in some video when, and caused by transfer resource waste.
Optionally, preset push rule can be with are as follows:
Label preset number video identical with target labels is chosen, target labels are that the account distance of registration terminal is worked as The label of the video of preceding time point recent viewing (label will do it explanation later).Alternatively,
For a period of time in interior (can preset, and store into server), history plays selected distance current point in time The most preset number video of number.
It optionally, may include cover and broadcasting link in the attribute information of video, broadcasting link is used to pass through the broadcasting Link obtains video data, and cover can be any frame image in video can when terminal shows video in total browser interface The cover in attribute information to show video.In addition, each position on video cover can be set in the selection option of video Set place, as long as that is, click the cover position of some video, can trigger and play the video.
It should be noted that as shown in Fig. 2, user logs in view using the login account of oneself in video application After frequency application program, terminal can then show total browser interface (being known as discovery interface) of video, show in total browser interface Multiple videos are shown with, and show some other option, such as pay close attention to option, with city option, user can pass through triggering concern choosing , triggering display concern interface (can show the video that the account of current logon account concern uploads) in concern interface, and Can trigger same city option, triggering display with city interface (with can be shown in the interface of city belong to current logon account it is same The video that the account in city uploads).
In a step 102, the first acquisition request of the video that server receiving terminal is sent when playing the first video.
In an implementation, after server receives the first acquisition request of video, the first acquisition request can be parsed, Therefrom parsing obtains the mark of the first video.
In step 103, for server according to the mark of the first video, determination and the first video meet preset matching condition The attribute information of second video.
Wherein, preset matching condition can be preset, and be stored into server, most view such as history broadcasting time Frequently, the previous video etc. that the affiliated account of the first video uploads.Attribute information may include broadcasting link and cover etc..
In an implementation, after server gets the mark of the first video, available pre-stored preset matching condition, Then in video library, determining the second video for meeting preset matching condition with the first video is searched after determining the second video The attribute information of second video.
Optionally, there are many attribute information that mode can determine the second video, the embodiment of the present disclosure provides following three The feasible mode of kind:
Mode one determines the affiliated account of the first video according to the mark of the first video, if affiliated account is currently straight It broadcasts, is then determined as live video meeting the second video of preset matching condition with the first video, obtain the attribute of the second video Information obtains in all videos of affiliated account, the most view of history broadcasting time if affiliated account be not broadcast live currently Frequently, it is determined as meeting the second video of preset matching condition with the first video, obtains the attribute information of the second video;Alternatively, obtaining In all videos of account belonging to taking, with the first maximum video of video similarity, it is determined as meeting default with the first video The second video with condition obtains the attribute information of the second video;Alternatively, obtaining in all videos of affiliated account, with first Video uplink time point is adjacent and video after the first video, is determined as meet preset matching condition with the first video Two videos obtain the attribute information of the second video.
In an implementation, server can determine the affiliated account of the first video after the mark for getting the first video, It is exactly the upload account for determining the first video, then determines whether the affiliated account is currently being broadcast live, if it is determined that currently just It is being broadcast live, live video can be determined directly as meeting the second video of preset matching condition with the first video, then obtained The attribute information of second video, the attribute information include cover and broadcasting link.
If it is determined that the affiliated account be not broadcast live currently, the history of all videos of the available affiliated account is played Number determines the highest video of history broadcasting time in all videos, which is determined as meeting with the first video pre- If the second video of matching condition, then the attribute information of available second video, the attribute information include cover and broadcasting Link.
Alternatively, in all video of account belonging to determining, it is adjacent with the first video uplink time point and the first video it The video is determined as meeting the second video of preset matching condition with the first video by video afterwards, and then available second The attribute information of video, the attribute information include cover and broadcasting link.
Alternatively, obtain all videos of the affiliated account label (label for identify classification, such as sport, cuisines, tourism Deng), and using the mark of the first video, the label of the first video is found, determining and the first video in all videos The identical video of label, if video identical with the first video tab only one, can determine the video be and first The video is determined as meeting the second video of preset matching condition with the first video, then by the maximum video of video similarity The attribute information of available second video, the attribute information include cover and broadcasting link.If with the first video tab phase Same video is not one, can determine the history broadcasting time of each video in video identical with the first label, then will go through The most video of history broadcasting time, be determined as with the first maximum video of video similarity, by the video be determined as and first view Frequency meets the second video of preset matching condition, then the attribute information of available second video, which includes envelope Face and broadcasting link.
In addition, can determine view identical with the first label if video identical with the first video tab is not one The uplink time of frequency determines time interval of these videos respectively with the uplink time of the first video, by the time of uplink time Be spaced the smallest video, be determined as with the first maximum video of video similarity, by the video be determined as and the first video meet Second video of preset matching condition, then the attribute information of available second video, the attribute information include cover and broadcast Put link.
It should be noted that terminal provides label option when owner (namely user) uploaded videos of each video, User can select, and terminal can upload label together with video data, after server receives, can will connect The label received storage corresponding with the mark of video.In this way, the subsequent mark that can use the first video, finds the first view The label of frequency.First video is identified as the unique identification that server is the first video distribution, can uniquely be looked for by the mark To the first video.In addition, the label of video is also possible to the frame image of server identification video, the content of video is obtained, will be regarded The content of frequency is matched with multiple labels, by the highest label of matching degree, is determined as the label of video.For example, if identification The content of frame image be to play basketball, label can then be matched to sport, if the content of the frame image of identification is to have a meal, if label Cuisines can be matched to.
It should also be noted that, server can also record the broadcasting time of each video, each video is played once, The broadcasting time of the video is added one by server.
In this way, since user generally likes seeing live video, so being determined when the affiliated account of the first video is being broadcast live Second video is the video being broadcast live, and it is more preferable that family experience can be used.
In this way, wanting the video for meeting preset matching condition in the affiliated account for seeing the first video with the first video in user When, it can get in the affiliated account of the first video directly when playing the first video, by way of triggering command with One video meets the video of preset matching condition, then plays out, the master of the affiliated account without entering the first video It is searched in page, reduces the operating process of user, keep the experience of user more preferable.
Mode two, it is determining to belong to of a sort video with the first video according to the mark of the first video, in the view determined In frequency, the most video of history broadcasting time is chosen, is determined as meeting the second video of preset matching condition with the first video, obtain Take the attribute information of the second video.
In an implementation, the mark of the first video can be used in server, finds the label of the first video, determines and first These videos are determined as belonging to of a sort video with the first video by the identical video of the label of video.Then determination belongs to The most video of history broadcasting time is determined as and the first video by the history broadcasting time of each video in of a sort video Meet the second video of preset matching condition, then the attribute information of available second video, the attribute information include cover And broadcasting link.
In this way, since user generally likes seeing similar video, so the video similar with the first video is provided for user, It is more preferable that family experience can be used.
In addition, the history broadcasting time for having multiple videos is that at most, can randomly select one in this multiple video Video is determined as the second video.For example, belonging to of a sort video with the first label there are 5, it is divided into for A, B, C, D, E, history Broadcasting time is respectively 10,20,5,80,150,150, it is seen that the history broadcasting time of D and E is most and is 150, can choose D or E is determined as the second video.
Optionally, when determining same class video, it is also contemplated that uplink time, corresponding processing can be such that
It according to the mark of the first video, determines before current point in time, and when default before current point in time In length, belong to of a sort video with the first video.
Wherein, preset duration can be preset, and can store into server, such as 3 days.
In an implementation, the mark of the first video can be used in server, finds the label of the first video, determines and first The identical video of the label of video determines the uplink time point of each video in these videos, determines the uplink time point of each video To the time interval of current point in time, time interval is belonged into the video in preset duration, is determined as belonging to together with the first video A kind of video.
In this way, general user still likes seeing apart from the closer video of current point in time, so by obtaining preset duration Interior video, the available video preferred to user, user experience are relatively good.
Mode three determines the affiliated account of the first video according to the mark of the first video, determines the concern account of affiliated account The highest video of history broadcasting time in family
In an implementation, server can determine the affiliated account of the first video, so after the mark for getting the first video The concern account of account belonging to determining afterwards determines the video of all concern accounts, and it is secondary then to determine that the history of these videos plays Number, by the highest video of history broadcasting time, is determined as meeting the second video of preset matching condition with the first video, then may be used To obtain the attribute information of the second video, which includes cover and broadcasting link.
At step 104, server sends the attribute information of the second video to terminal, so that terminal is detecting that first cuts When changing instruction, according to the attribute information of the second video, the second video is played.
In an implementation, after server determines the attribute information of the second video, the category of the second video can be sent to terminal Property information.
In step 105, terminal receives server and is preset according to determining the meeting with the first video of mark of the first video The attribute information of second video of matching condition.
In an implementation, terminal receive server transmission the second video attribute information after, can be to the second video Attribute information is stored.
In this way, only sending the attribute information of the second video, the video data without directly transmitting the second video can be prevented User do not trigger play the second video, and caused by transfer resource waste.
In step 106, when detecting the first switching command, according to the attribute information of the second video, the second view is played Frequently.
Wherein, the first switching command can be preset, and be stored into terminal, and the first switching command is used to indicate subsequent The second video can be played.
In an implementation, user is if it is intended to the second video of broadcasting, can make terminal detect that the first switching refers to operating terminal It enables, for example, user can pull the head portrait of the affiliated account of the first video shown in screen, keeps the head portrait mobile, then can touch Hair terminal detects the first switching command.After terminal detects the first switching command, the category of available second video of terminal Property information, then obtain the broadcasting link in the attribute information of the second video, load the broadcasting link, from server obtain second The video data of video, plays out.
Optionally, the first switching command be long-pressing screen command, double-click the instruction of screen, preset direction slip instruction, Pull the instruction of the head portrait of the affiliated account of the first video, the affiliated account of the first video of long-pressing head portrait instruction in it is any It is a kind of.
In an implementation, long-pressing screen command refer to long-pressing screen duration be more than preset duration (can preset, and store to In terminal, such as 1 second) triggering instruction, double-click screen refer to twice click screen duration less than preset threshold (can With default, and store into terminal, such as 0.01 second) instruction, the slip instruction of preset direction is directed toward preset direction sliding Instruction, such as slide or slide to the right to the left.The instruction for pulling the head portrait of the affiliated account of the first video refers to that user drags first The instruction of head portrait a distance triggering of the affiliated account of video, as shown in figure 3, by the head portrait of the affiliated account of the first video from first Position is dragged to the second position, and in Fig. 3, the video pictures of the first video are omitted.The head of the affiliated account of the first video of long-pressing The duration of the head portrait of the affiliated account for referring to the first video of long-pressing of picture is more than the instruction of the triggering of preset duration.
It should be noted that usually showing the affiliated account of the first video in the lower left corner when playing the first video Head portrait.
Optionally, terminal can be updated playing sequence, be based on updated playing sequence, play the second video, Corresponding processing can be such that
When detecting the first switching command, the second video is updated in playing sequence, and be arranged the first video it Afterwards at the position adjacent with the first video, according to updated playing sequence, adjacent the second video after the first video is determined, According to the attribute information of the second video, the second video is played.
In an implementation, user is if it is intended to the second video of broadcasting, can make terminal detect that the first switching refers to operating terminal It enables, after terminal detects the first switching command, the second video can be updated in playing sequence by terminal, and be arranged the After one video at the position adjacent with the first video.For example, original playing sequence is a, b, c, d, e ..., the first video is a, Second video is A, and after adding the second video, playing sequence becomes a, A, b, c, d, e ....
Then the available current playing sequence (namely updated playing sequence) of terminal, it is suitable in current broadcasting In sequence, after determining the first video, then second video adjacent with the first video obtains the attribute information of the second video, The attribute information of second video obtains broadcasting link, loads the broadcasting link, and the video data of the second video is obtained from server, It plays out.
Optionally, it when formally playing the second video, can also be triggered by the second switching command, it is corresponding to handle It can be such that
When detecting the second switching command, according to updated playing sequence, determine adjacent after the first video Two videos.
Wherein, the first switching command and the second switching command be not identical, for example, the first switching command is directed toward left slide trigger Instruction, the second switching command is directed toward the instruction of upper slide trigger.Second switching command for controlling terminal according to playing sequence, Play video.
In an implementation, user can detect the second switching command with triggering terminal, detect the second switching command in terminal Afterwards, available updated playing sequence, in playing sequence in the updated, after determining the first video, with the first video The second adjacent video.
For example, original playing sequence is a, b, c, d, e ..., the first video is a, and the second video is A, and user is if it is intended to broadcast The second video is put, the head portrait of the affiliated account of the first video can be pulled, terminal can then detect the first switching command, and terminal can Playing sequence is become a, A, b, c, d, e ..., in user's upward sliding, terminal can then detect the second switching command, can To determine the video A after a, video A can be played.
Optionally, in the embodiment of the present disclosure, the processing how to switch over when playing the second video, phase are additionally provided The processing answered can be such that
During playing the second video, when detecting the second switching command, determine in updated playing sequence Adjacent third video after second video plays third video, starts to broadcast when detecting according to the attribute information of third video When putting third video, the second video is deleted from updated playing sequence.
In an implementation, during playing the second video, if user is not desired to the second video of viewing or user finishes watching Second video can detect the second switching command with triggering terminal, and terminal can then obtain current playing sequence, then play In sequence, the second currently playing video next video (namely third video) adjacent with the second video later is determined, The attribute information of the available third video of terminal, finds broadcasting link from the attribute information, loads the broadcasting link, obtain The video data for taking third video, plays out.In this way, during playing the second video, and can be according to playing sequence It plays out.
In addition, terminal can delete the second video in playing sequence in the updated when starting third video, in this way, Both the second video had been played, has not influenced the broadcasting of other videos also.Moreover, because the second video is deleted in playing sequence, Subsequent user wants to see the first video during playing third video, and third switching command can be detected with triggering terminal, the Three switching commands are used to indicate the upper video for playing current video, and terminal can play the first view based on playing sequence Frequently, rather than the second video is played.
Optionally, the second video can be shown in total browser interface, corresponding processing can be such that
When detecting the total browser interface for retracting video, the category of the second video is shown at the display position of the first video Cover in property information;Alternatively, when detecting the total browser interface for retracting video, in the next of the display position of the first video The cover in the attribute information of the second video is shown at a display position.
In an implementation, user, can be with upper left on the interface of the first video of click play if it is intended to browse total browser interface What angle was shown exits option, and terminal can then detect the click commands of the option, shows total browser interface of video, and showing When total browser interface, the cover in attribute information for showing the second video at the display position of the first video, such case phase It is replaced when in by the first video.Alternatively, next display when showing total browser interface, at the display position of the first video Cover in the attribute information of the second video is shown at position.Such case, which is equivalent to, is directly inserted into playing sequence for the second video In, after the first video, and it is adjacent with the first video.
In this way, when user also wants to play the second video, back to the second video, user can also be found in total browser interface It experiences relatively good.
In the embodiment of the present disclosure, when playing the first video, can to terminal send video the first acquisition request, and The mark that the first video is carried in first acquisition request after server receives, can determine and meet default with the first video The attribute information of the second video with condition, the attribute information of the second video is sent to terminal, and terminal receives the second video After attribute information, when detecting the first switching command, the second video can be played based on the attribute information of the second video.This Sample, since preset matching condition can be met with the first video to server request with triggering terminal when playing the first video Second video can play the second video, without exiting currently playing video, institute then by a triggering command Opposite playing efficiency can be improved.
Fig. 4 is a kind of block diagram of device for playing video shown according to an exemplary embodiment.Referring to Fig. 4, the device Including transmission unit 411, receiving unit 412 and broadcast unit 413.
Transmission unit 411, for sending the first acquisition request of video to server when playing the first video, wherein The mark of first video is carried in first acquisition request;
Receiving unit 412, for receive the server according to the mark of first video it is determining with described first Video meets the attribute information of the second video of preset matching condition;
Broadcast unit 413, for according to the attribute information of second video, broadcasting when detecting the first switching command Put second video.
Optionally, the transmission unit 411 is also used to when detecting the idsplay order of total browser interface of video, to The server sends the second acquisition request of video;
The receiving unit 412, be also used to receive the preset number video that the server is sent attribute information, with And the playing sequence of the preset number video;
The broadcast unit 413, is also used to according to the playback order, shows the present count in total browser interface Mesh video;
The broadcast unit 413, for being sent out to server when playing the first video in the preset number video Send the first acquisition request of video.
Optionally, the broadcast unit 413, is used for:
When detecting the first switching command, second video is updated in the playing sequence, and is arranged in institute It states at the first video position adjacent with first video later;
According to updated playing sequence, adjacent the second video after first video is determined;
According to the attribute information of second video, second video is played.
Optionally, the broadcast unit 413, is also used to:
During playing second video, when detecting the second switching command, described updated broadcast is determined Put forward adjacent third video after the second video described in sequence;
According to the attribute information of the third video, the third video is played;
When detect start to play the third video when, deleted from the updated playing sequence it is described second view Frequently.
Optionally, the attribute information includes cover;
The broadcast unit 413, is also used to:
When detecting the total browser interface for retracting video, described second is shown at the display position of first video Cover in the attribute information of video;Alternatively,
When detecting the total browser interface for retracting video, in next display position of the display position of first video Set the cover in the attribute information of place's display second video.
Optionally, first switching command be long-pressing screen command, double-click the instruction of screen, the sliding of preset direction refers to Enable, pull the head portrait of the affiliated account of the first video described in the instruction of the head portrait of the affiliated account of first video, long-pressing Any one in instruction.
In the embodiment of the present disclosure, when playing the first video, can to terminal send video the first acquisition request, and The mark that the first video is carried in first acquisition request after server receives, can determine and meet default with the first video The attribute information of the second video with condition, the attribute information of the second video is sent to terminal, and terminal receives the second video After attribute information, when detecting the first switching command, the second video can be played based on the attribute information of the second video.This Sample, since preset matching condition can be met with the first video to server request with triggering terminal when playing the first video Second video can play the second video, without exiting currently playing video, institute then by a triggering command Opposite playing efficiency can be improved.
About the terminal in above-described embodiment, wherein each unit executes the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 5 is a kind of device block diagram for playing video shown according to an exemplary embodiment.Referring to Fig. 5, the device packet Include receiving unit 511, determination unit 512 and transmission unit 513.
Receiving unit 511, for receiving the first acquisition request of the video that terminal is sent when playing the first video, In, the mark of first video is carried in first acquisition request;
Determination unit 512, it is determining to meet preset matching with first video for the mark according to first video The attribute information of second video of condition;
Transmission unit 513, for sending the attribute information of second video to the terminal, so that the terminal is being examined When measuring the first switching command, according to the attribute information of second video, second video is played.
Optionally, the determination unit 512, is used for:
According to the mark of first video, the affiliated account of first video is determined, if account belonging to described is worked as It is preceding to be broadcast live, then live video is determined as meeting the second video of preset matching condition with first video, described in acquisition The attribute information of second video obtains all videos of the affiliated account if account belonging to described be not broadcast live currently In, the most video of history broadcasting time is determined as meeting the second video of preset matching condition with first video, obtains The attribute information of second video;Alternatively, obtaining in all videos of the affiliated account, with the first video similarity Maximum video is determined as meeting the second video of preset matching condition with first video, obtains second video Attribute information;Alternatively, obtain it is described belonging in all video of account, it is adjacent with the first video uplink time point and in institute The video after the first video is stated, is determined as meeting the second video of preset matching condition with first video, described in acquisition The attribute information of second video.
Optionally, the determination unit 512, is used for:
It is determining to belong to of a sort video with first video according to the mark of first video, what is determined In video, the most video of history broadcasting time is chosen, is determined as meeting the second of preset matching condition with first video Video;
Obtain the attribute information of second video.
Optionally, the determination unit 512, is used for:
It according to the mark of first video, determines before current point in time, and before the current point in time Preset duration in, belong to of a sort video with first video.
In the embodiment of the present disclosure, when playing the first video, can to terminal send video the first acquisition request, and The mark that the first video is carried in first acquisition request after server receives, can determine and meet default with the first video The attribute information of the second video with condition, the attribute information of the second video is sent to terminal, and terminal receives the second video After attribute information, when detecting the first switching command, the second video can be played based on the attribute information of the second video.This Sample, since preset matching condition can be met with the first video to server request with triggering terminal when playing the first video Second video can play the second video, without exiting currently playing video, institute then by a triggering command Opposite playing efficiency can be improved.
About the server in above-described embodiment, wherein each unit executes the concrete mode of operation in the related party It is described in detail in the embodiment of method, no detailed explanation will be given here.
Fig. 6 shows the structural block diagram of the terminal 600 of one exemplary embodiment of disclosure offer.The terminal 600 can be with Be: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, Dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 600 be also possible to by Referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, terminal 600 includes: processor 601 and memory 602.
Processor 601 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 601 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 601 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 601 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 601 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 602 may include one or more computer readable storage mediums, which can To be non-transient.Memory 602 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 602 can Storage medium is read for storing at least one instruction, at least one instruction for performed by processor 601 to realize this public affairs The method for opening the broadcasting video that middle embodiment of the method provides.
In some embodiments, terminal 600 is also optional includes: peripheral device interface 603 and at least one peripheral equipment. It can be connected by bus or signal wire between processor 601, memory 602 and peripheral device interface 603.Each peripheral equipment It can be connected by bus, signal wire or circuit board with peripheral device interface 603.Specifically, peripheral equipment includes: radio circuit 604, at least one of touch display screen 605, camera 606, voicefrequency circuit 607, positioning component 608 and power supply 609.
Peripheral device interface 603 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 601 and memory 602.In some embodiments, processor 601, memory 602 and peripheral equipment Interface 603 is integrated on same chip or circuit board;In some other embodiments, processor 601, memory 602 and outer Any one or two in peripheral equipment interface 603 can realize on individual chip or circuit board, the present embodiment to this not It is limited.
Radio circuit 604 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates Frequency circuit 604 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 604 turns electric signal It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 604 wraps It includes: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip Group, user identity module card etc..Radio circuit 604 can be carried out by least one wireless communication protocol with other terminals Communication.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), wireless office Domain net and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio circuit 604 may be used also To include the related circuit of NFC (Near Field Communication, wireless near field communication), the disclosure is not subject to this It limits.
Display screen 605 is for showing UI (User Interface, user interface).The UI may include figure, text, figure Mark, video and its their any combination.When display screen 605 is touch display screen, display screen 605 also there is acquisition to show The ability of the touch signal on the surface or surface of screen 605.The touch signal can be used as control signal and be input to processor 601 are handled.At this point, display screen 605 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or Soft keyboard.In some embodiments, display screen 605 can be one, and the front panel of terminal 600 is arranged;In other embodiments In, display screen 605 can be at least two, be separately positioned on the different surfaces of terminal 600 or in foldover design;In still other reality It applies in example, display screen 605 can be flexible display screen, be arranged on the curved surface of terminal 600 or on fold plane.Even, it shows Display screen 605 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 605 can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) Etc. materials preparation.
CCD camera assembly 606 is for acquiring image or video.Optionally, CCD camera assembly 606 include front camera and Rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.One In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are clapped Camera shooting function.In some embodiments, CCD camera assembly 606 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp, It is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for not With the light compensation under colour temperature.
Voicefrequency circuit 607 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and will Sound wave, which is converted to electric signal and is input to processor 601, to be handled, or is input to radio circuit 604 to realize voice communication. For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 600 to be multiple.Mike Wind can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 601 or radio circuit will to be come from 604 electric signal is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications Number the sound wave that the mankind do not hear is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 607 can also include Earphone jack.
Positioning component 608 is used for the current geographic position of positioning terminal 600, to realize navigation or LBS (Location Based Service, location based service).Positioning component 608 can be the GPS (Global based on the U.S. Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union The positioning component of Galileo system.
Power supply 609 is used to be powered for the various components in terminal 600.Power supply 609 can be alternating current, direct current, Disposable battery or rechargeable battery.When power supply 609 includes rechargeable battery, which can support wired charging Or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 600 further includes having one or more sensors 610.The one or more sensors 610 include but is not limited to: acceleration transducer 611, gyro sensor 612, pressure sensor 613, fingerprint sensor 614, Optical sensor 615 and proximity sensor 616.
The acceleration that acceleration transducer 611 can detecte in three reference axis of the coordinate system established with terminal 600 is big It is small.For example, acceleration transducer 611 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 601 can With the acceleration of gravity signal acquired according to acceleration transducer 611, touch display screen 605 is controlled with transverse views or longitudinal view Figure carries out the display of user interface.Acceleration transducer 611 can be also used for the acquisition of game or the exercise data of user.
Gyro sensor 612 can detecte body direction and the rotational angle of terminal 600, and gyro sensor 612 can To cooperate with acquisition user to act the 3D of terminal 600 with acceleration transducer 611.Processor 601 is according to gyro sensor 612 Following function may be implemented in the data of acquisition: when action induction (for example changing UI according to the tilt operation of user), shooting Image stabilization, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 605 in terminal 600 can be set in pressure sensor 613.Work as pressure When the side frame of terminal 600 is arranged in sensor 613, user can detecte to the gripping signal of terminal 600, by processor 601 Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 613 acquires.When the setting of pressure sensor 613 exists When the lower layer of touch display screen 605, the pressure operation of touch display screen 605 is realized to UI circle according to user by processor 601 Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu At least one of control.
Fingerprint sensor 614 is used to acquire the fingerprint of user, collected according to fingerprint sensor 614 by processor 601 The identity of fingerprint recognition user, alternatively, by fingerprint sensor 614 according to the identity of collected fingerprint recognition user.It is identifying When the identity of user is trusted identity out, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 601 Include solution lock screen, check encryption information, downloading software, payment and change setting etc..Terminal can be set in fingerprint sensor 614 600 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 600, fingerprint sensor 614 can be with It is integrated with physical button or manufacturer Logo.
Optical sensor 615 is for acquiring ambient light intensity.In one embodiment, processor 601 can be according to optics The ambient light intensity that sensor 615 acquires controls the display brightness of touch display screen 605.Specifically, when ambient light intensity is higher When, the display brightness of touch display screen 605 is turned up;When ambient light intensity is lower, the display for turning down touch display screen 605 is bright Degree.In another embodiment, the ambient light intensity that processor 601 can also be acquired according to optical sensor 615, dynamic adjust The acquisition parameters of CCD camera assembly 606.
Proximity sensor 616, also referred to as range sensor are generally arranged at the front panel of terminal 600.Proximity sensor 616 For acquiring the distance between the front of user Yu terminal 600.In one embodiment, when proximity sensor 616 detects use When family and the distance between the front of terminal 600 gradually become smaller, touch display screen 605 is controlled from bright screen state by processor 601 It is switched to breath screen state;When proximity sensor 616 detects user and the distance between the front of terminal 600 becomes larger, Touch display screen 605 is controlled by processor 601 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of structure shown in Fig. 6 not structure paired terminal 600, can wrap It includes than illustrating more or fewer components, perhaps combine certain components or is arranged using different components.
Fig. 7 is a kind of structural schematic diagram for server that the embodiment of the present disclosure provides, which can be because of configuration or property Energy is different and generates bigger difference, may include one or more processors (central processing Units, CPU) 701 and one or more memory 702, wherein at least one finger is stored in the memory 702 It enables, described at least one instructs the step of being loaded by the processor 701 and executed the method to realize above-mentioned broadcasting video.
In the embodiment of the present disclosure, additionally provide it is a kind of play video terminal, comprising: processor and be used for storage processor The memory of executable instruction, wherein the processor is configured to the step of method of the execution to complete above-mentioned broadcasting video.
In the embodiment of the present disclosure, additionally provide it is a kind of play video server, comprising: processor and for storage handle The memory of device executable instruction, wherein the processor is configured to executing to complete the step of the method for above-mentioned broadcasting video Suddenly.
In the embodiment of the present disclosure, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage medium In instruction by terminal processor execute when, enable the terminal to the step of executing to complete the method for above-mentioned broadcasting video.
In the embodiment of the present disclosure, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage medium In instruction by server processor execute when, enable the server to execute to complete the step of the method for above-mentioned broadcasting video Suddenly.
In the embodiment of the present disclosure, a kind of application program, including one or more instruction are additionally provided, one or more finger The step of order can be executed by the processor of terminal, method to complete above-mentioned broadcasting video.
In the embodiment of the present disclosure, a kind of application program, including one or more instruction are additionally provided, one or more finger The step of order can be executed by the processor of server, method to complete above-mentioned broadcasting video.
In the embodiment of the present disclosure, a kind of system for playing video, including terminal and server are additionally provided, it is above-mentioned to complete The step of playing the method for video.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of method for playing video characterized by comprising
When playing the first video, the first acquisition request of video is sent to server, wherein take in first acquisition request Mark with first video;
Receive mark determination of the server according to first video meets preset matching condition with first video The second video attribute information;
When detecting the first switching command, according to the attribute information of second video, second video is played.
2. the method according to claim 1, wherein further include:
When detecting the idsplay order of total browser interface of video, Xiang Suoshu server sends the second acquisition request of video;
Receive the broadcasting of the attribute information and the preset number video of the preset number video that the server is sent Sequentially;
According to the playback order, the preset number video is shown in total browser interface;
It is described when playing the first video, to server send video the first acquisition request, comprising:
When playing the first video in the preset number video, the first acquisition request of video is sent to server.
3. according to the method described in claim 2, it is characterized in that, described when detecting the first switching command, according to described The attribute information of second video plays second video, comprising:
When detecting the first switching command, second video is updated in the playing sequence, and is arranged described the After one video at the position adjacent with first video;
According to updated playing sequence, adjacent the second video after first video is determined;
According to the attribute information of second video, second video is played.
4. according to the method described in claim 3, it is characterized by further comprising:
During playing second video, when detecting the second switching command, determine that the updated broadcasting is suitable Adjacent third video after second video described in sequence;
According to the attribute information of the third video, the third video is played;
When detect start to play the third video when, second video is deleted from the updated playing sequence.
5. method according to any one of claims 1 to 4, which is characterized in that the attribute information includes cover;
Further include:
When detecting the total browser interface for retracting video, second video is shown at the display position of first video Attribute information in cover;Alternatively,
When detecting the total browser interface for retracting video, at next display position of the display position of first video Show the cover in the attribute information of second video.
6. a kind of method for playing video characterized by comprising
Receive the first acquisition request of the video that terminal is sent when playing the first video, wherein in first acquisition request Carry the mark of first video;
According to the mark of first video, the attribute of determining the second video for meeting preset matching condition with first video Information;
The attribute information of second video is sent to the terminal, so that the terminal is when detecting the first switching command, According to the attribute information of second video, second video is played.
7. according to the method described in claim 6, it is characterized in that, the mark according to first video, determining and institute State the attribute information that the first video meets the second video of preset matching condition, comprising:
According to the mark of first video, the affiliated account of first video is determined, if account belonging to described currently exists Live video, then be determined as meeting the second video of preset matching condition with first video by live streaming, obtains described second The attribute information of video is obtained in all videos of the affiliated account, is gone through if account belonging to described be not broadcast live currently The most video of history broadcasting time is determined as meeting the second video of preset matching condition with first video, described in acquisition The attribute information of second video;Alternatively, obtain in all videos of the affiliated account, it is maximum with the first video similarity Video, be determined as meeting the second video of preset matching condition with first video, obtain the attribute of second video Information;Alternatively, obtain it is described belonging in all video of account, it is adjacent with the first video uplink time point and described the Video after one video is determined as meeting the second video of preset matching condition with first video, obtains described second The attribute information of video.
8. a kind of device for playing video characterized by comprising
Transmission unit, for when playing the first video, to the first acquisition request of server transmission video, wherein described the The mark of first video is carried in one acquisition request;
Receiving unit, for receiving meeting with first video for mark determination of the server according to first video The attribute information of second video of preset matching condition;
Broadcast unit according to the attribute information of second video, plays described for when detecting the first switching command Two videos.
9. a kind of device for playing video characterized by comprising
Receiving unit, for receiving the first acquisition request of the video that terminal is sent when playing the first video, wherein described The mark of first video is carried in one acquisition request;
Determination unit, it is determining to meet preset matching condition with first video for the mark according to first video The attribute information of second video;
Transmission unit, for sending the attribute information of second video to the terminal, so that the terminal is detecting When one switching command, according to the attribute information of second video, second video is played.
10. a kind of system for playing video characterized by comprising terminal and server, in which:
The terminal, such as device according to any one of claims 8;
The server, such as device as claimed in claim 9.
CN201811573115.4A 2018-12-21 2018-12-21 Method, device, system and storage medium for playing video Active CN109618192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811573115.4A CN109618192B (en) 2018-12-21 2018-12-21 Method, device, system and storage medium for playing video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811573115.4A CN109618192B (en) 2018-12-21 2018-12-21 Method, device, system and storage medium for playing video

Publications (2)

Publication Number Publication Date
CN109618192A true CN109618192A (en) 2019-04-12
CN109618192B CN109618192B (en) 2021-09-24

Family

ID=66010194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811573115.4A Active CN109618192B (en) 2018-12-21 2018-12-21 Method, device, system and storage medium for playing video

Country Status (1)

Country Link
CN (1) CN109618192B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113625A (en) * 2019-05-10 2019-08-09 广州酷狗计算机科技有限公司 Video broadcasting method, equipment and computer readable storage medium
CN110267091A (en) * 2019-05-07 2019-09-20 北京奇艺世纪科技有限公司 Play instance processes method, apparatus and computer readable storage medium
CN112162682A (en) * 2020-09-18 2021-01-01 北京字节跳动网络技术有限公司 Content display method and device, electronic equipment and computer readable storage medium
CN115225916A (en) * 2021-04-15 2022-10-21 北京字节跳动网络技术有限公司 Video processing method, device and equipment
CN115225916B (en) * 2021-04-15 2024-04-23 北京字节跳动网络技术有限公司 Video processing method, device and equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307483A1 (en) * 2007-06-06 2008-12-11 Akinori Iida Information processing device, video playback method, program, and video playback system
US20110154405A1 (en) * 2009-12-21 2011-06-23 Cambridge Markets, S.A. Video segment management and distribution system and method
CN102685565A (en) * 2012-05-18 2012-09-19 合一网络技术(北京)有限公司 Click feedback type individual recommendation system
US8392505B2 (en) * 2008-09-26 2013-03-05 Apple Inc. Collaborative playlist management
CN103870109A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN104038790A (en) * 2014-06-30 2014-09-10 北京奇艺世纪科技有限公司 Video playing list updating method and system
CN105187861A (en) * 2015-09-15 2015-12-23 三星电子(中国)研发中心 Method and apparatus for providing content by intelligent device
CN105872743A (en) * 2015-12-31 2016-08-17 乐视网信息技术(北京)股份有限公司 Method, terminal, server and system for infinite switching of direct broadcasting stations
CN106294564A (en) * 2016-07-27 2017-01-04 乐视控股(北京)有限公司 A kind of video recommendation method and device
CN107509094A (en) * 2017-09-12 2017-12-22 中广热点云科技有限公司 A kind of method of intelligent television programme televised live association request program
CN107948740A (en) * 2017-10-30 2018-04-20 广州虎牙信息科技有限公司 Video playing control method, device and terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307483A1 (en) * 2007-06-06 2008-12-11 Akinori Iida Information processing device, video playback method, program, and video playback system
US8392505B2 (en) * 2008-09-26 2013-03-05 Apple Inc. Collaborative playlist management
US20110154405A1 (en) * 2009-12-21 2011-06-23 Cambridge Markets, S.A. Video segment management and distribution system and method
CN102685565A (en) * 2012-05-18 2012-09-19 合一网络技术(北京)有限公司 Click feedback type individual recommendation system
CN103870109A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN104038790A (en) * 2014-06-30 2014-09-10 北京奇艺世纪科技有限公司 Video playing list updating method and system
CN105187861A (en) * 2015-09-15 2015-12-23 三星电子(中国)研发中心 Method and apparatus for providing content by intelligent device
CN105872743A (en) * 2015-12-31 2016-08-17 乐视网信息技术(北京)股份有限公司 Method, terminal, server and system for infinite switching of direct broadcasting stations
CN106294564A (en) * 2016-07-27 2017-01-04 乐视控股(北京)有限公司 A kind of video recommendation method and device
CN107509094A (en) * 2017-09-12 2017-12-22 中广热点云科技有限公司 A kind of method of intelligent television programme televised live association request program
CN107948740A (en) * 2017-10-30 2018-04-20 广州虎牙信息科技有限公司 Video playing control method, device and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
江永胜: ""智能电视视频推荐系统的设计与实现"", 《中国优秀硕士学位论文全文数据库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110267091A (en) * 2019-05-07 2019-09-20 北京奇艺世纪科技有限公司 Play instance processes method, apparatus and computer readable storage medium
CN110113625A (en) * 2019-05-10 2019-08-09 广州酷狗计算机科技有限公司 Video broadcasting method, equipment and computer readable storage medium
CN112162682A (en) * 2020-09-18 2021-01-01 北京字节跳动网络技术有限公司 Content display method and device, electronic equipment and computer readable storage medium
CN115225916A (en) * 2021-04-15 2022-10-21 北京字节跳动网络技术有限公司 Video processing method, device and equipment
CN115225916B (en) * 2021-04-15 2024-04-23 北京字节跳动网络技术有限公司 Video processing method, device and equipment

Also Published As

Publication number Publication date
CN109618192B (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN110267067B (en) Live broadcast room recommendation method, device, equipment and storage medium
CN108259945B (en) Method and device for processing playing request for playing multimedia data
CN110865754B (en) Information display method and device and terminal
CN109327608B (en) Song sharing method, terminal, server and system
CN109618212A (en) Information display method, device, terminal and storage medium
CN107888968A (en) Player method, device and the computer-readable storage medium of live video
CN108966008A (en) Live video back method and device
CN110418152B (en) Method and device for carrying out live broadcast prompt
CN110278464A (en) The method and apparatus for showing list
CN110061900A (en) Message display method, device, terminal and computer readable storage medium
CN109660855A (en) Paster display methods, device, terminal and storage medium
CN108174274A (en) Virtual objects presentation method, device and storage medium
CN109302385A (en) Multimedia resource sharing method, device and storage medium
CN109729372A (en) Method for switching between, device, terminal, server and storage medium is broadcast live
CN110290392B (en) Live broadcast information display method, device, equipment and storage medium
CN109327707A (en) Shift the method, apparatus and storage medium of virtual resource
CN107896337A (en) Information popularization method, apparatus and storage medium
CN109618192A (en) Play method, apparatus, system and the storage medium of video
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN108900925A (en) The method and apparatus of live streaming template are set
CN109218751A (en) The method, apparatus and system of recommendation of audio
CN108900921A (en) Even wheat live broadcasting method, device and storage medium
CN111711838A (en) Video switching method, device, terminal, server and storage medium
CN110196673A (en) Picture exchange method, device, terminal and storage medium
CN114302160B (en) Information display method, device, computer equipment and 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
GR01 Patent grant
GR01 Patent grant