CN105872604B - Live video stream method for pushing and system based on different user state - Google Patents

Live video stream method for pushing and system based on different user state Download PDF

Info

Publication number
CN105872604B
CN105872604B CN201610424764.2A CN201610424764A CN105872604B CN 105872604 B CN105872604 B CN 105872604B CN 201610424764 A CN201610424764 A CN 201610424764A CN 105872604 B CN105872604 B CN 105872604B
Authority
CN
China
Prior art keywords
user
video
video flowing
clarity
logged
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.)
Active
Application number
CN201610424764.2A
Other languages
Chinese (zh)
Other versions
CN105872604A (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201610424764.2A priority Critical patent/CN105872604B/en
Publication of CN105872604A publication Critical patent/CN105872604A/en
Application granted granted Critical
Publication of CN105872604B publication Critical patent/CN105872604B/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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/23805Controlling the feeding rate to the network, e.g. by controlling the video pump
    • 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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26283Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for associating distribution time parameters to content, e.g. to generate electronic program guide data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of live video stream method for pushing and system based on different user state, are related to the push technology field of live video stream.This method includes:After user terminal is connect with video server, video server judges User Status, and if login status, user terminal enters login status pattern, and if the state that is not logged in, user terminal, which enters, is not logged in state model;Under login status pattern, user terminal is pushed according to login user configuration file or default configuration scheme;It is not logged under state model, user terminal provides limited super clear video to the user according to the residual time length that is not logged in the user recorded in user profile and may be viewed by super clear video, after residual time length is kept to zero, user terminal will automatically switch general clear video flowing and push.The present invention, which by limitation is not logged in user and watches the time of super clear video, to be reduced by being not logged in the massive band width consumption that user brings, to reduce whole bandwidth consumption cost.

Description

Live video stream method for pushing and system based on different user state
Technical field
It is specifically a kind of based on the straight of different user state the present invention relates to the push technology field of live video stream Broadcast pushing video streaming method and system.
Background technology
With the rapid development of Internet technology, more and more users can use the terminals such as computer, mobile phone to pass through net Network watches Online Video live streaming.Online Video live streaming refers to the live video direct broadcast service carried out using Internet resource, It is synchronized and is published on network by the video capture at scene, user can see live feelings in real time the same time on network Condition.
Currently, in the pushing video streaming scene of net cast, generally use is a kind of mode of unified push, that is, is not had Have and User Status (login status is not logged in state) is distinguished, but a kind of unified video flowing is used to all users Push strategy carrys out the push into line definition and video line.Although this way is simple, efficient, with the number of live streaming user It measures more and more so that the consuming cost of bandwidth is higher and higher, and in the case of limited bandwidth resources, existing video flowing is unified The mode of push cannot be satisfied the demand of growing user volume.Therefore, how the situation excessively huge in number of users Under, it is a urgent problem needed to be solved effectively to reduce bandwidth consumption.
Invention content
The purpose of the invention is to overcome the shortcomings of above-mentioned background technology, provide a kind of based on the straight of different user state Pushing video streaming method and system are broadcast, different pushing video streaming schemes can be provided according to the login status of different user, passed through It reduces and is consumed by being not logged in the massive band width that user brings, to reduce whole bandwidth consumption cost.
To achieve the above objectives, the present invention provides a kind of live video stream method for pushing based on different user state, packet Include following steps:
A, after user terminal and video server connect, video server judges User Status, User Status packet It includes login status or is not logged in state, if login status, user terminal enters login status pattern, is transferred to step B;If not Login status, user terminal, which enters, is not logged in state model, is transferred to step C;
B, user terminal judges to whether there is pre-set login user configuration file in local cache, and the login is used Family configuration file is used to record the video flowing allocation plan of user setting, and video flowing allocation plan includes video definition and video Circuit;If in the presence of according to the video flowing allocation plan recorded in login user configuration file, the push of video flowing is carried out;If no In the presence of according to preset default configuration scheme, carrying out the push of video flowing;
C, user terminal check it is pre-set in local cache be not logged in user profile, it is described to be not logged in user and match File is set for recording the residual time length that user may be viewed by super clear video, judges whether the residual time length is zero, if so, user Terminal pushing video clarity is general clear video flowing;If it is not, user terminal pushing video clarity is super clear video flowing, together The super clear timer that Shi Qidong is preset, the super clear timer is after super clear video flowing often plays one second by the residual time length One second is reduced, after the residual time length is kept to zero by super clear timer, the video flowing of push is switched to clearly by user terminal Clear degree is general clear video flowing.
Based on the above technical solution, user terminal described in step B according to preset default configuration scheme into After the push of row video flowing, if user has carried out the manual setting of video flowing allocation plan, user terminal will carry out video flowing Switching, the push of video flowing is carried out according to the video flowing allocation plan of user's manual setting, and by the video flowing of manual setting In allocation plan update to login user configuration file.
Based on the above technical solution, the video definition is divided into super clear, high definition, general cleer and peaceful low clear;It is described to regard Frequency circuit includes several main lines and at least one extension wire, and every circuit has unique circuit name and every circuit can Corresponding various video clarity;One video flowing allocation plan includes a kind of video definition and a video line.
Based on the above technical solution, it when carrying out the push of video flowing described in step B, is pushed using following poll Operation:According to the circuit name of video flowing allocation plan in login user configuration file or the circuit name of default configuration scheme, look into Find corresponding video line;According to the clarity of video flowing allocation plan or default configuration side in login user configuration file The clarity of case, searches the video flowing of corresponding clarity on the video line, and is pushed;Search corresponding clarity In the process, if not finding the video flowing of the corresponding clarity on the video line, it is with the corresponding clarity Point selects the video flowing of immediate clarity, and the video flowing is carried out according to the polling mode of clarity from high to low Push.
Based on the above technical solution, the video flowing of push is switched to clarity by user terminal described in step C Further include prompt register after general clear video flowing:User terminal provides the bullet frame that a prompt user logs in, inquiry Whether user, which selects, logs in, if user selects to log in, user terminal and video server reconnection, return to step after being logged in A;If user's selection is without logging into terminating.
Based on the above technical solution, after starting the super clear timer preset described in step C, if user is voluntarily Super clear video flowing is switched to the video flowing of other clarity, then the super clear timer will stop timing, until user with When being not logged in state and watching video again, the super clear timer is restarted.
Based on the above technical solution, in step C, user may be viewed by the initial value of the residual time length of super clear video by Designer is voluntarily arranged, and the residual time length will be reset automatically after one day.
The present invention also provides a kind of live video stream supplying system based on different user state, including Video service simultaneously Device and user terminal are provided with User Status judging unit in video server, login status pattern are provided in user terminal Unit and it is not logged in state model unit;
The User Status judging unit is used for:After user terminal is connect with video server, User Status is carried out Judge, User Status includes login status or is not logged in state, if login status, is then stepped on to the transmission of login status mode unit Record mode signal;If the state that is not logged in, then to be not logged in state model unit transmission be not logged in mode signal;
The login status mode unit is used for:After receiving login mode signal, judge in local cache with the presence or absence of pre- The login user configuration file being first arranged, the login user configuration file are used to record the video stream configuration side of user setting Case, which includes video definition and video line;If in the presence of according to being recorded in login user configuration file Video flowing allocation plan, carry out the push of video flowing;If being not present, according to preset default configuration scheme, video flowing is carried out Push;
The state model unit that is not logged in is used for:It receives after being not logged in mode signal, checks in local cache and set in advance That sets is not logged in user profile, and the user profile that is not logged in is for recording the residue that user may be viewed by super clear video Duration judges whether the residual time length is zero, if so, user terminal pushing video clarity is general clear video flowing;If it is not, User terminal pushing video clarity is super clear video flowing, while starting the super clear timer preset, the super clear timer The residual time length is reduced one second after super clear video flowing often plays one second, once super clear timer is by the residual time length After being kept to zero, it is general clear video flowing that the video flowing of push is switched to clarity by user terminal.
Based on the above technical solution, the video definition is divided into super clear, high definition, general cleer and peaceful low clear;It is described to regard Frequency circuit includes several main lines and at least one extension wire, and every circuit has unique circuit name and every circuit can Corresponding various video clarity;One video flowing allocation plan includes a kind of video definition and a video line;It is described When login status mode unit carries out the push of video flowing, using following poll push operation:According to login user configuration file The circuit name of middle video flowing allocation plan or the circuit name of default configuration scheme, find corresponding video line;According to stepping on The clarity of video flowing allocation plan or the clarity of default configuration scheme in user profile are recorded, in the video line It is upper to search the video flowing of corresponding clarity, and pushed;During searching corresponding clarity, if not having on the video line There is the video flowing for finding the corresponding clarity, then using the corresponding clarity as starting point, according to the wheel of clarity from high to low Inquiry mode selects the video flowing of immediate clarity, and the video flowing is pushed.
Based on the above technical solution, which further includes that prompt logs in unit, and the prompt logs in unit and is used for The bullet frame that a prompt user logs in is provided, asks the user whether that selection logs in, if user selects to log in, is made after being logged in User terminal and video server reconnection;If user's selection is without logging into terminating.
The beneficial effects of the present invention are:
1, in the present invention, user terminal is being respectively locally login user and is being not logged in user and creates two different match Set file:Login user configuration file and it is not logged in user profile.Record has user setting in login user configuration file Video flowing allocation plan, video flowing allocation plan includes video definition and video line;It is not logged in user profile Record has the residual time length that user may be viewed by super clear video.User terminal by distinguish user login status, according to above-mentioned two The different configuration file of kind locally rapidly can provide different push schemes for different user, and during push It is not logged in the duration that user watches super clear video by limitation, is consumed to reduce by being not logged in the massive band width that user brings, And then reduce whole bandwidth consumption cost.
2, the present invention is carrying out using a kind of poll push of practical plug-flow when the push of video flowing according to allocation plan Mode.Poll push mode is avoided that because video server plug-flow scheme not corresponding with allocation plan (does not have Corresponding circuit or clarity can push away), and there is the case where video flowing can not be pushed normally.It ensure that effectively pushing away for video flowing It send so that user can normally watch live video.
3, in the present invention, the initial value that user may be viewed by the residual time length of super clear video can be according to different situations by designer Member is voluntarily arranged, and flexibility is strong, and applicability is high.Also, the residual time length will reset automatically after one day.The reset operation Can guarantee user daily can under the state that is not logged in browsable certain time length super clear video, it is easy to use rationally.
Description of the drawings
Fig. 1 is the flow chart of the live video stream method for pushing based on different user state in the embodiment of the present invention;
Fig. 2 is the structure diagram of the live video stream supplying system based on different user state in the embodiment of the present invention.
Specific implementation mode
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of live video stream method for pushing based on different user state, Include the following steps:
Step S1:After user terminal is connect with video server, video server judges User Status, Yong Huzhuan State includes login status or is not logged in state (also referred to as tourist's state), and if login status, user terminal enters login status Pattern is transferred to step S2;If the state that is not logged in, user terminal, which enters, is not logged in state model, is transferred to step S5.
Step S2:User terminal judges to whether there is pre-set login user configuration file in local cache, described Login user configuration file is used to record the video flowing allocation plan of user setting, and video flowing allocation plan includes video definition And if video line is transferred to step S3 there are login user configuration file;If login user configuration file is not present, it is transferred to step Rapid S4.
It is understood that in the present embodiment, video definition is divided into super clear (i.e. physical resolution is 1080P), height Clearly (i.e. physical resolution is 720P), general clear (i.e. physical resolution is 480P) and it is low clearly (i.e. physical resolution is 280P);Depending on Frequency circuit includes several main lines and at least one extension wire, and every circuit has unique circuit name and every circuit can Corresponding various video clarity (i.e. there may be the video flowings of various video clarity on a circuit).One video stream configuration Scheme includes a kind of video definition and a video line, such as:Video flowing allocation plan is【It is super clear, circuit one】Or 【High definition, circuit two】Deng.
Step S3:User terminal carries out video flowing according to the video flowing allocation plan recorded in login user configuration file Push.
Step S4:User terminal carries out the push of video flowing according to preset default configuration scheme.
In the present embodiment, preset default configuration scheme is【It is super clear, circuit one】.Further it will be understood that step S4 In, user terminal is after the push for carrying out video flowing according to preset default configuration scheme, if user has carried out video stream configuration The manual setting of scheme, then user terminal will carry out the switching of video flowing, according to the video flowing allocation plan of user's manual setting The push of video flowing is carried out, and will be in the update to login user configuration file of the video flowing allocation plan of manual setting.
Further, due to during actual pushing video streaming, although it is possible that user setting video Stream configuration scheme has preset default configuration scheme, but there are one corresponding plug-flow schemes for video server, that is, do not have Corresponding circuit or clarity can push away (for example, the video flowing allocation plan of user setting is【It is super clear, circuit one】, but it is actual Can be pushed away there is no super clear video flowing in circuit one), therefore, in order to pushing video stream so that user can normally watch Live video, the present invention use a kind of poll push side of practical plug-flow when carrying out the push of video flowing according to allocation plan Formula.Specifically, when step S3, step S4 carries out the push of video flowing, using following poll push operation:According to login user The circuit name of the circuit name or default configuration scheme of video flowing allocation plan, finds corresponding video line in configuration file Road;According to the clarity of the clarity of video flowing allocation plan or default configuration scheme in login user configuration file, in institute The video flowing for searching corresponding clarity on video line is stated, and is pushed;During searching corresponding clarity, if described regard The video flowing of the corresponding clarity is not found on frequency circuit, then using the corresponding clarity as starting point, according to clarity by High to low polling mode (that is, super clear-high definition-is general clear-low clear-super clear ...), selects the video of immediate clarity Stream, and the video flowing is pushed.
Such as:The video flowing allocation plan of user setting is【It is super clear, circuit one】, then when being polled push, first regarding Circuit one is found in frequency circuit, and super clear video flowing is then searched on circuit one;If finding super clear video flowing, directly Push the super clear video flowing of circuit one;If not finding super clear video flowing, with super clearly for starting point, then the video of high definition is searched Stream, if finding, pushes the high definition video steaming of circuit one, if not finding, continues the poll side according to clarity from high to low Formula is searched.
Step S5:User terminal check it is pre-set in local cache be not logged in user profile, it is described to be not logged in User profile is used to record the residual time length that the user may be viewed by super clear video, judges whether the residual time length is zero, If so, being transferred to step S6;If it is not, being transferred to step S7.
It is understood that the initial value that user may be viewed by the residual time length of super clear video can be according to different situations by designing Personnel are voluntarily arranged, and the residual time length will reset automatically after one day.The reset operation can guarantee user every It can under the state that is not logged in browsable certain time length super clear video.
Step S6:User terminal pushing video clarity is general clear video flowing, is terminated.
Step S7:User terminal pushing video clarity is super clear video flowing;Start the super clear timing preset simultaneously The residual time length is reduced one second by device, the super clear timer after super clear video flowing often plays one second;Once super clear timing After the residual time length is kept to zero by device, it is general clear video flowing that the video flowing of push is then switched to clarity by user terminal, It is transferred to step S8.
When practical operation, after starting the super clear timer preset described in step S7, if user is about to super clear regard certainly After frequency stream is switched to the video flowing of other clarity, the super clear timer will stop timing, i.e., when will not reduce the residue It is long, when user watches video again to be not logged in state, restart the super clear timer.
Step S8:User terminal provides the bullet frame that a prompt user logs in, and asks the user whether that selection logs in, if user Selection logs in, then user terminal and video server reconnection, return to step S1 after being logged in;If user selection without logging into, Terminate.
Shown in Figure 2, the embodiment of the present invention also provides a kind of live video stream push system based on different user state It unites, including video server and user terminal, User Status judging unit is provided in video server, is arranged in user terminal There is login status mode unit, be not logged in state model unit and prompt login unit.
Wherein, User Status judging unit is used for:After user terminal is connect with video server, User Status is carried out Judge, User Status includes login status or is not logged in state, if login status, is then stepped on to the transmission of login status mode unit Record mode signal;If the state that is not logged in, then to be not logged in state model unit transmission be not logged in mode signal;
Login status mode unit is used for:After receiving login mode signal, judge in local cache with the presence or absence of setting in advance The login user configuration file set, the login user configuration file are used to record the video flowing allocation plan of user setting, should Video flowing allocation plan includes video definition and video line;If in the presence of being regarded according to what is recorded in login user configuration file Frequency stream configuration scheme, carries out the push of video flowing;If being not present, according to preset default configuration scheme, pushing away for video flowing is carried out It send;
State model unit is not logged in be used for:It receives after being not logged in mode signal, checks pre-set in local cache It is not logged in user profile, it is described when being not logged in user profile and may be viewed by the residue of super clear video for recording user It is long, judge whether the residual time length is zero, if so, user terminal pushing video clarity is general clear video flowing;If it is not, with Family terminal pushing video clarity is super clear video flowing, while starting the super clear timer preset, which exists Super clear video flowing often play one second after by the residual time length reduce one second, once super clear timer subtracts the residual time length After being zero, it is general clear video flowing that the video flowing of push is switched to clarity by user terminal.
Prompt logs in unit and is used for:The bullet frame that a prompt user logs in is provided, asks the user whether that selection logs in, if with Family selection logs in, then makes user terminal and video server reconnection after being logged in;If user's selection is without logging into terminating.
It should be noted that:The system that above-described embodiment provides is when being operated, only with stroke of above-mentioned each function module Divide and be illustrated, in practical application, can be completed as needed and by above-mentioned function distribution by different function modules, i.e., The internal structure of system is divided into different function modules, to complete all or part of the functions described above.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention Within the scope of.The content not being described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of live video stream method for pushing based on different user state, which is characterized in that this approach includes the following steps:
A, after user terminal and video server connect, video server judges User Status, and User Status includes stepping on Record state is not logged in state, and if login status, user terminal enters login status pattern, is transferred to step B;If being not logged in State, user terminal, which enters, is not logged in state model, is transferred to step C;
B, user terminal judges to whether there is pre-set login user configuration file in local cache, and the login user is matched Video flowing allocation plan of the file for recording user setting is set, video flowing allocation plan includes video definition and video line Road;If in the presence of according to the video flowing allocation plan recorded in login user configuration file, the push of video flowing is carried out;If not depositing According to preset default configuration scheme, the push of video flowing is being carried out;
C, user terminal check it is pre-set in local cache be not logged in user profile, it is described to be not logged in user configuration text Part judges whether the residual time length is zero, if so, user terminal for recording the residual time length that user may be viewed by super clear video Pushing video clarity is general clear video flowing;If it is not, user terminal pushing video clarity is super clear video flowing, open simultaneously The dynamic super clear timer preset, the super clear timer are reduced the residual time length after super clear video flowing often plays one second One second, after the residual time length is kept to zero by super clear timer, the video flowing of push was switched to clarity by user terminal For general clear video flowing.
2. the live video stream method for pushing based on different user state as described in claim 1, it is characterised in that:Step B Described in user terminal according to preset default configuration scheme carry out video flowing push after, match if user has carried out video flowing The manual setting of scheme is set, then user terminal will carry out the switching of video flowing, according to the video stream configuration side of user's manual setting Case carries out the push of video flowing, and will be in the update to login user configuration file of the video flowing allocation plan of manual setting.
3. the live video stream method for pushing based on different user state as described in claim 1, it is characterised in that:It is described to regard Frequency clarity is divided into super clear, high definition, general cleer and peaceful low clear;The video line includes several main lines and at least one siding Road, every circuit has unique circuit name and every circuit corresponds to various video clarity;In one video flowing allocation plan Including a kind of video definition and a video line.
4. the live video stream method for pushing based on different user state as claimed in claim 3, it is characterised in that:Step B Described in carry out video flowing push when, using following poll push operation:Matched according to video flowing in login user configuration file The circuit name of scheme or the circuit name of default configuration scheme are set, corresponding video line is found;It is configured according to login user The clarity of the clarity of video flowing allocation plan or default configuration scheme in file is searched on the video line and is corresponded to The video flowing of clarity, and pushed;During searching corresponding clarity, if not found on the video line described The video flowing of corresponding clarity, then using the corresponding clarity as starting point, according to the polling mode of clarity from high to low, selection Go out the video flowing of immediate clarity, and the video flowing is pushed.
5. the live video stream method for pushing based on different user state as described in claim 1, it is characterised in that:Step C Described in user terminal by the video flowing of push be switched to clarity be general clear video flowing after, further include prompt log in behaviour Make:User terminal provides the bullet frame that a prompt user logs in, and asks the user whether that selection logs in, if user selects to log in, User terminal and video server reconnection, return to step A after being logged in;If user's selection is without logging into terminating.
6. the live video stream method for pushing based on different user state as described in claim 1, it is characterised in that:Step C Described in start the super clear timer preset after, if user is from being about to the video that super clear video flowing is switched to other clarity Stream, then the super clear timer will stop timing, when user watches video again to be not logged in state, described in restarting Super clear timer.
7. the live video stream method for pushing based on different user state as described in claim 1, it is characterised in that:Step C In, the initial value that user may be viewed by the residual time length of super clear video is voluntarily arranged by designer, and the residual time length is passed through It will be reset automatically after one day.
8. a kind of live video stream supplying system based on different user state, including video server and user terminal, special Sign is:User Status judging unit is provided in video server, be provided in user terminal login status mode unit and It is not logged in state model unit;
The User Status judging unit is used for:After user terminal is connect with video server, User Status is judged, User Status includes login status or is not logged in state, if login status, is then sent to login status mode unit and logs in mould Formula signal;If the state that is not logged in, then to be not logged in state model unit transmission be not logged in mode signal;
The login status mode unit is used for:After receiving login mode signal, judge in local cache with the presence or absence of setting in advance The login user configuration file set, the login user configuration file are used to record the video flowing allocation plan of user setting, should Video flowing allocation plan includes video definition and video line;If in the presence of being regarded according to what is recorded in login user configuration file Frequency stream configuration scheme, carries out the push of video flowing;If being not present, according to preset default configuration scheme, pushing away for video flowing is carried out It send;
The state model unit that is not logged in is used for:It receives after being not logged in mode signal, checks pre-set in local cache It is not logged in user profile, it is described when being not logged in user profile and may be viewed by the residue of super clear video for recording user It is long, judge whether the residual time length is zero, if so, user terminal pushing video clarity is general clear video flowing;If it is not, with Family terminal pushing video clarity is super clear video flowing, while starting the super clear timer preset, which exists Super clear video flowing often play one second after by the residual time length reduce one second, once super clear timer subtracts the residual time length After being zero, it is general clear video flowing that the video flowing of push is switched to clarity by user terminal.
9. the live video stream supplying system based on different user state as claimed in claim 8, it is characterised in that:It is described to regard Frequency clarity is divided into super clear, high definition, general cleer and peaceful low clear;The video line includes several main lines and at least one siding Road, every circuit has unique circuit name and every circuit corresponds to various video clarity;In one video flowing allocation plan Including a kind of video definition and a video line;
When the login status mode unit carries out the push of video flowing, using following poll push operation:According to login user The circuit name of the circuit name or default configuration scheme of video flowing allocation plan, finds corresponding video line in configuration file Road;According to the clarity of the clarity of video flowing allocation plan or default configuration scheme in login user configuration file, in institute The video flowing for searching corresponding clarity on video line is stated, and is pushed;During searching corresponding clarity, if described regard The video flowing of the corresponding clarity is not found on frequency circuit, then using the corresponding clarity as starting point, according to clarity by High to low polling mode selects the video flowing of immediate clarity, and the video flowing is pushed.
10. the live video stream supplying system based on different user state as claimed in claim 8, it is characterised in that:This is System further includes that prompt logs in unit, and the prompt logs in unit and is used to provide the bullet frame that a prompt user logs in, and inquires user Whether selection logs in, if user selects to log in, user terminal and video server reconnection are made after being logged in;If user selects Without logging into then terminating.
CN201610424764.2A 2016-06-15 2016-06-15 Live video stream method for pushing and system based on different user state Active CN105872604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610424764.2A CN105872604B (en) 2016-06-15 2016-06-15 Live video stream method for pushing and system based on different user state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610424764.2A CN105872604B (en) 2016-06-15 2016-06-15 Live video stream method for pushing and system based on different user state

Publications (2)

Publication Number Publication Date
CN105872604A CN105872604A (en) 2016-08-17
CN105872604B true CN105872604B (en) 2018-09-21

Family

ID=56649507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610424764.2A Active CN105872604B (en) 2016-06-15 2016-06-15 Live video stream method for pushing and system based on different user state

Country Status (1)

Country Link
CN (1) CN105872604B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106959847B (en) * 2017-02-20 2021-04-27 武汉斗鱼网络科技有限公司 Login method and device for application program
CN107071536B (en) * 2017-03-29 2019-07-09 武汉斗鱼网络科技有限公司 User switches the method and system of clarity load video flowing
CN107592304B (en) * 2017-08-29 2019-12-10 武汉斗鱼网络科技有限公司 Live broadcast resource calculation and distribution method, storage medium, electronic device and system
CN107566910B (en) * 2017-08-29 2019-11-15 武汉斗鱼网络科技有限公司 The customized distribution monitoring method of resource, storage medium, electronic equipment and system is broadcast live
CN109375960B (en) * 2018-09-29 2021-10-01 郑州云海信息技术有限公司 Copyright information loading method and device
CN110401765B (en) * 2019-04-25 2020-05-08 深圳合纵物联信息科技有限公司 Mobile terminal use authority management and control system
CN111212302A (en) * 2020-03-17 2020-05-29 北京字节跳动网络技术有限公司 Method and device for determining video definition, electronic equipment and storage medium
CN115037951B (en) * 2021-03-05 2024-03-12 上海哔哩哔哩科技有限公司 Live broadcast processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938628A (en) * 2009-06-29 2011-01-05 未序网络科技(上海)有限公司 Internet live broadcast signal dynamic switching method
CN102130914A (en) * 2011-03-10 2011-07-20 中国电信股份有限公司 Method and device for pushing multimedia file
CN105656917A (en) * 2016-02-02 2016-06-08 广州华多网络科技有限公司 Method and device for controlling formal broadcasting of online live broadcast channel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100507811C (en) * 2004-06-03 2009-07-01 希尔克瑞斯特实验室公司 Client-server architectures and methods for zoomable user interfaces

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938628A (en) * 2009-06-29 2011-01-05 未序网络科技(上海)有限公司 Internet live broadcast signal dynamic switching method
CN102130914A (en) * 2011-03-10 2011-07-20 中国电信股份有限公司 Method and device for pushing multimedia file
CN105656917A (en) * 2016-02-02 2016-06-08 广州华多网络科技有限公司 Method and device for controlling formal broadcasting of online live broadcast channel

Also Published As

Publication number Publication date
CN105872604A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN105872604B (en) Live video stream method for pushing and system based on different user state
CN103414921B (en) A kind of method for building up of distributed IPTV multi-terminal video service switchover
CN106488273A (en) A kind of method and apparatus of transmission live video
CN101925084B (en) Method for reporting and matching call log and device thereof
CN108965003A (en) A kind of dispositions method of distributed type assemblies, device, system and storage medium
CN106412697A (en) Method and device for automatically acquiring time zone for smart television
CN101895547A (en) Uncertain service-based recommender system and method
CN103426105B (en) Advertising information push method facing public wireless network
CN101815205A (en) Method, system and terminal for recording web TV broadcast program
CN103856558A (en) Data processing method and device for terminal application
CN101707691A (en) Method and system for managing distributed electronic program guide synchronization
CN105657531A (en) Hibernation control method and system for mobile terminal
CN108241693B (en) Method and device for synchronizing data
CN106935007A (en) The method of the up connection management of mobile network's meter
CN103227942B (en) DTV intelligence authorization method
WO2018019167A1 (en) Set top box-based live sharing method and system
CN102075584A (en) Distributed file system and access method thereof
CN102983984B (en) Method and system for solution of aging of multicast entries
CN109327705A (en) A kind of transmission method of live video, device, server and medium
CN107567024A (en) A kind of business WIFI application method
CN101489068B (en) Background sound and key pressing sound playing method and system based on built-in brower
EP2541832A1 (en) Converged service system and implementation method thereof
CN112188245B (en) Front-end camera real-time video-on-demand method and device and electronic equipment
CN112087632A (en) Video processing system, method, storage medium and computer device
CN102946559B (en) The upgrade method of a kind of digital TV terminal, terminal, server and system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20160817

Assignee: Hubei Special Automobile Network Technology Co.,Ltd.

Assignor: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2023980034618

Denomination of invention: A Method and System for Pushing Live Video Streams Based on Different User States

Granted publication date: 20180921

License type: Common License

Record date: 20230413

EE01 Entry into force of recordation of patent licensing contract