Movatterモバイル変換


[0]ホーム

URL:


CN109218740A - Display methods, storage medium, electronic equipment and the system of double screen video flowing - Google Patents

Display methods, storage medium, electronic equipment and the system of double screen video flowing
Download PDF

Info

Publication number
CN109218740A
CN109218740ACN201710515634.4ACN201710515634ACN109218740ACN 109218740 ACN109218740 ACN 109218740ACN 201710515634 ACN201710515634 ACN 201710515634ACN 109218740 ACN109218740 ACN 109218740A
Authority
CN
China
Prior art keywords
double screen
video
video flowing
screen video
client
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
CN201710515634.4A
Other languages
Chinese (zh)
Other versions
CN109218740B (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.)
Shanghai Shirui Information 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 LtdfiledCriticalWuhan Douyu Network Technology Co Ltd
Priority to CN201710515634.4ApriorityCriticalpatent/CN109218740B/en
Publication of CN109218740ApublicationCriticalpatent/CN109218740A/en
Application grantedgrantedCritical
Publication of CN109218740BpublicationCriticalpatent/CN109218740B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses display methods, storage medium, electronic equipment and the systems of a kind of double screen video flowing, are related to live video display field.Steps of the method are: client preloads double screen video flowing according to double screen video flowing address;The hard decoder resolution ratio of video player is arranged in client, and the log printing function of player is closed;With after the video load object of double screen video flowing address matching, control video player obtains video and loads object, loads double screen video flowing according to video flowing address in video load object for client creation;Client shows video player on a user interface, plays double screen video flowing by video player.The present invention, which can be realized smoothly to switch to from broadcasting single screen video flowing, plays double screen video flowing, has been obviously improved user experience.

Description

Display methods, storage medium, electronic equipment and the system of double screen video flowing
Technical field
The present invention relates to live video display fields, and in particular to a kind of display methods of double screen video flowing, storage medium,Electronic equipment and system.
Background technique
With the fast development of live streaming industry, more and more users like viewing to be broadcast live, and user wants the viewing of live streamingAsk also higher and higher.Currently, a kind of display side of double screen video flowing has been introduced in order to attract more users in live streaming platformMethod shows the live video of at least 2 main broadcasters simultaneously in same direct broadcasting room (network is referred to as to connect wheat PK).
By taking 2 main broadcasters as an example, existing live video concurrent display method are as follows: client increases by 1 player (i.e. in totalFor 2 players), the video flowing of each one main broadcaster of player plays.After main player creates successfully, load simultaneously immediatelyRespective video flowing.
But above-mentioned live video concurrent display method has the following deficiencies:
More players load video flowing, can significantly increase the bandwidth and memory usage of client, and to clientNetwork speed it is more demanding, when the network speed of client lower than require when, client from play single-frequency video flowing switch to broadcasting multi-screenWhen video flowing, display interface will appear Caton, not smooth enough situation, thereby reduce user experience.
Summary of the invention
In view of the deficiencies in the prior art, present invention solves the technical problem that are as follows: how in 1 video playerSmoothly play double screen video flowing.The present invention, which can be realized smoothly to switch to from broadcasting single screen video flowing, plays double screen videoStream, has been obviously improved user experience.
To achieve the above objectives, the display methods of double screen video flowing provided by the invention, comprising the following steps:
Step A: the video stream module of client, according to the double screen video flowing address that server-side is sent, to double screen video flowingIt is preloaded;After the completion of load, video stream module sends load completion notice to client, and client confirmation, which receives, have been loadedAt notice, step B is gone to;
Step B: client detection double screen video flowing address whether there is, if so, going to step C, otherwise show that double screen regardsInformation is not present in frequency stream address;
Step C: the hard decoder resolution ratio of video player is arranged in client, and the log printing function of player is closed,Go to step D;
Step D: with after the video load object of double screen video flowing address matching, control video player is obtained for client creationIt takes video to load object, double screen video flowing is loaded according to video flowing address in video load object, goes to step E;
Step E: client shows video player on a user interface, plays double screen video flowing by video player.
Storage medium provided by the invention is stored with computer program on the storage medium, and the computer program is locatedReason device realizes the display methods of above-mentioned double screen video flowing when executing.
Electronic equipment provided by the invention, including memory and processor are stored on memory and are run on a processorComputer program, processor realizes the display methods of above-mentioned double screen video flowing when executing computer program.
The display system of double screen video flowing provided by the invention, the double screen video flowing including being set in client preloadModule, double screen video flow detection module, video player setup module, double screen video flowing loading module and double screen video renderModule;
Double screen video flowing preloaded components are used for: controlling the video stream module of client, the double screen sent according to server-sideVideo flowing address preloads double screen video flowing;After the completion of load, control video stream module has been loaded to client transmissionAt notice, confirmation receives load completion notice, sends double screen video flow detection signal to double screen video flow detection module;
Double screen video flow detection module is used for: after receiving double screen video flow detection signal, detection double screen video flowing address isOtherwise no presence shows double screen video flowing address if so, sending video player setting signal to video player setup moduleThere is no information;
Video player setup module is used for: after receiving video player setting signal, the hard solution of video player is arrangedCode distinguishability closes the log printing function of player, sends double screen video flowing load letter to double screen video flowing loading moduleNumber;
Double screen video flowing loading module is used for: after receiving double screen video flowing load signal, creation and double screen video flowing addressAfter matched video load object, control video player obtains video and loads object, according to video in video load objectIt flows address and loads double screen video flowing, send double screen video render signal to double screen video render module;
Double screen video render module is used for: after receiving double screen video render signal, showing video on a user interfacePlayer plays double screen video flowing by video player.
Compared with the prior art, the advantages of the present invention are as follows:
It is not to go load double screen view immediately referring to S1 of the present invention to S7 it is found that behind present invention acquisition double screen video flowing addressFrequency flows, but is preloaded by video stream module to double screen video flowing, can just be loaded by player after the completion of preloadingDouble screen video flowing;Preload meeting so that load Two bors d's oeuveres video flowing when ratio smoothly so that player from broadcasting single screen videoStream switch to play double screen video flowing when, can perfect transition, be not in Caton and slack situation.Therefore, of the inventionIt can be realized smoothly to switch to from broadcasting single screen video flowing and play double screen video flowing, be obviously improved user experience.
At the same time, the present invention only needs 1 video player to can play double screen video flowing, therefore significantly reduces visitorBandwidth, memory usage and the network speed requirement at family end, further the user experience is improved.
Detailed description of the invention
Fig. 1 is the flow chart of the display methods of double screen video flowing in the embodiment of the present invention;
Fig. 2 is the connection block diagram of electronic equipment in the embodiment of the present invention.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
It is shown in Figure 1, the display methods of the double screen video flowing in the embodiment of the present invention, comprising the following steps:
S1: client is according to the video definition of direct broadcasting room being played on, after obtaining video definition variable, by videoClarity variable is sent to server-side, goes to S2.
S2: server-side is sent to client (in this way can be complete with the double screen video flowing address of video definition variable matchThe configuration of U.S. adaptation client), double screen video flowing address is 2 video flowing addresses, the corresponding main broadcaster in every video flowing addressLive content, go to S3.
S3: client obtains existing video stream module using function operationPlayerBy, passes through video stream moduleAccording to double screen video flowing address, double screen video flowing is preloaded, (load completion standard is video stream module after the completion of loadDetect that the resolution ratio of video flowing changes), video stream module sends load completion notice to client, and client confirmation connectsLoad completion notice is received, S4 is gone to.
Video stream module sends load completion notice to client in S3, and client receives the process packet of load completion noticeInclude: client obtains the method defaultCenter at notice center using the class NSNotificationCenter at notice center,Notice center is got, is notified in the notification using one monitoring of addObserver function registration in the heart, monitors the title of noticeIdentical as load completion notice, when monitoring the notice for notifying to listen to same names sending, confirmation receives load completion notice.
S4: client in order to guarantee double screen video flowing can normal play, need to detect whether double screen video flowing address depositsIf so, going to S5, otherwise showing that there is no information for double screen video flowing address, terminate.
S5: the hard decoder resolution ratio of video player is arranged using function setPlayerOptionIntValue for client(generally 1920 pixels), in order to improve the performance of video player, client closes the log printing function of player, turnsTo S6.
S6: with after the video load object of double screen video flowing address matching, control video player is used for client creationFunction applyPlayerBy pulls video flowing: obtaining video load object, is added in video load object according to video flowing addressDouble screen video flowing is carried, S7 is gone to.
S7: client be arranged video player background color and scalingMode (stretch mode, generally adaptivelyMode MPMovieScalingModeAspectFill) after, show video player on a user interface, pass through video playingDevice plays double screen video flowing.
It is not to go load double screen view immediately referring to S1 to S7 it is found that behind acquisition of embodiment of the present invention double screen video flowing addressFrequency flows, but is preloaded by video stream module to double screen video flowing, can just be loaded by player after the completion of preloadingDouble screen video flowing;Because double screen video flowing is preloaded before load, player is cut from single screen video flowing is playedIt is not in Caton and slack situation when shifting to broadcasting double screen video flowing.Therefore, the embodiment of the present invention can be realized from broadcastingIt puts single screen video flowing and smoothly switches to broadcasting double screen video flowing, be obviously improved user experience.
At the same time, the embodiment of the present invention only needs 1 video player to can play double screen video flowing, therefore significant dropThe low bandwidth of client, memory usage and network speed requirement, further the user experience is improved.
The embodiment of the present invention also provides a kind of storage medium, and computer program, computer program are stored on storage mediumThe display methods of above-mentioned double screen video flowing is realized when being executed by processor.It should be noted that the storage medium include USB flash disk,Mobile hard disk, ROM (Read-Only Memory, read-only memory), RAM (deposit by Random Access Memory, arbitrary accessReservoir), the various media that can store program code such as magnetic or disk.
Shown in Figure 2, the embodiment of the present invention also provides a kind of electronic equipment, including memory and processor, memoryOn store the computer program run on a processor, processor realizes above-mentioned double screen video flowing when executing computer programDisplay methods.
The display system of double screen video flowing provided by the invention, the double screen video flowing address including being set in client are obtainedModulus block, double screen video flowing preloaded components, double screen video flow detection module, video player setup module, double screen video flowingLoading module and double screen video render module.
Double screen video flowing address acquisition module is used for: before the work of double screen video flowing preloaded components, according to broadcastingVideo definition variable is sent to server-side after obtaining video definition variable by the video definition for the direct broadcasting room put;It obtainsThe double screen video flowing address with video definition variable match that server-side returns.
Double screen video flowing preloaded components are used for: controlling the video stream module of client, the double screen sent according to server-sideVideo flowing address preloads double screen video flowing;(load completion standard is that video stream module detects view after the completion of loadThe resolution ratio of frequency stream changes), control video stream module sends load completion notice to client, and confirmation receives load and completesNotice sends double screen video flow detection signal to double screen video flow detection module;
Double screen video flow detection module is used for: after receiving double screen video flow detection signal, detection double screen video flowing address isOtherwise no presence shows double screen video flowing address if so, sending video player setting signal to video player setup moduleThere is no information;
Video player setup module is used for: after receiving video player setting signal, the hard solution of video player is arrangedCode distinguishability closes the log printing function of player, sends double screen video flowing load letter to double screen video flowing loading moduleNumber;
Double screen video flowing loading module is used for: after receiving double screen video flowing load signal, creation and double screen video flowing addressAfter matched video load object, control video player obtains video and loads object, according to video in video load objectIt flows address and loads double screen video flowing, send double screen video render signal to double screen video render module;
Double screen video render module is used for: after receiving double screen video render signal, the background of video player is arrangedColor and stretch mode;Video player is shown on a user interface, and double screen video flowing is played by video player.
It should be understood that system provided in an embodiment of the present invention is when carrying out intermodule communication, only with above-mentioned each functionThe division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function mouldsBlock is completed, i.e., the internal structure of system is divided into different functional modules, to complete all or part of function described aboveEnergy.
Further, the present invention is not limited to the above-described embodiments, for those skilled in the art,Without departing from the principles of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as the present inventionProtection scope within.The content being not described in detail in this specification belongs to existing skill well known to professional and technical personnel in the fieldArt.

Claims (10)

CN201710515634.4A2017-06-292017-06-29Display method, storage medium, electronic device and system of double-screen video streamActiveCN109218740B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710515634.4ACN109218740B (en)2017-06-292017-06-29Display method, storage medium, electronic device and system of double-screen video stream

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710515634.4ACN109218740B (en)2017-06-292017-06-29Display method, storage medium, electronic device and system of double-screen video stream

Publications (2)

Publication NumberPublication Date
CN109218740Atrue CN109218740A (en)2019-01-15
CN109218740B CN109218740B (en)2022-01-04

Family

ID=64976518

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710515634.4AActiveCN109218740B (en)2017-06-292017-06-29Display method, storage medium, electronic device and system of double-screen video stream

Country Status (1)

CountryLink
CN (1)CN109218740B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109788303A (en)*2019-01-282019-05-21广州酷狗计算机科技有限公司Method for pushing, device, electronic equipment and the storage medium of live video stream
CN110368689A (en)*2019-07-192019-10-25腾讯科技(深圳)有限公司Display methods, system, electronic equipment and the storage medium of interface
CN111586446A (en)*2020-04-132020-08-25微梦创科网络科技(中国)有限公司Method, device and system for seamless switching of media streams

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1967499A (en)*2006-04-242007-05-23华为技术有限公司Journal output system and output method
CN101472154A (en)*2007-12-272009-07-01深圳华为通信技术有限公司Method for switching digital channel and device for processing digital video
US20120331106A1 (en)*2011-06-242012-12-27General Instrument CorporationIntelligent buffering of media streams delivered over internet
US20140043537A1 (en)*2003-03-272014-02-13Sony CorporationMethod of and apparatus for utilizing video buffer in a multi-purpose fashion to extend the video buffer to multiple windows
CN103905783A (en)*2012-12-252014-07-02杭州海康威视数字技术股份有限公司Method and device for performing decoding and displaying on video stream
CN105635828A (en)*2014-10-282016-06-01腾讯科技(深圳)有限公司Play control method, play control device and electronic equipment comprising play control device
CN105915999A (en)*2016-04-192016-08-31乐视控股(北京)有限公司Video play method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20140043537A1 (en)*2003-03-272014-02-13Sony CorporationMethod of and apparatus for utilizing video buffer in a multi-purpose fashion to extend the video buffer to multiple windows
CN1967499A (en)*2006-04-242007-05-23华为技术有限公司Journal output system and output method
CN101472154A (en)*2007-12-272009-07-01深圳华为通信技术有限公司Method for switching digital channel and device for processing digital video
US20120331106A1 (en)*2011-06-242012-12-27General Instrument CorporationIntelligent buffering of media streams delivered over internet
CN103905783A (en)*2012-12-252014-07-02杭州海康威视数字技术股份有限公司Method and device for performing decoding and displaying on video stream
CN105635828A (en)*2014-10-282016-06-01腾讯科技(深圳)有限公司Play control method, play control device and electronic equipment comprising play control device
CN105915999A (en)*2016-04-192016-08-31乐视控股(北京)有限公司Video play method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109788303A (en)*2019-01-282019-05-21广州酷狗计算机科技有限公司Method for pushing, device, electronic equipment and the storage medium of live video stream
CN109788303B (en)*2019-01-282020-12-04广州酷狗计算机科技有限公司Live video stream pushing method and device, electronic equipment and storage medium
CN110368689A (en)*2019-07-192019-10-25腾讯科技(深圳)有限公司Display methods, system, electronic equipment and the storage medium of interface
CN110368689B (en)*2019-07-192021-08-06腾讯科技(深圳)有限公司Game interface display method, system, electronic equipment and storage medium
CN111586446A (en)*2020-04-132020-08-25微梦创科网络科技(中国)有限公司Method, device and system for seamless switching of media streams

Also Published As

Publication numberPublication date
CN109218740B (en)2022-01-04

Similar Documents

PublicationPublication DateTitle
CN102036058B (en)Method, server, terminal and system for switching videos in video monitoring system
CN106713937A (en)Video playing control method and device as well as terminal equipment
CN109274982B (en)Video carousel method and device, computer equipment and storage medium
US20190098259A1 (en)Techniques to provide a micro-broadcast of an event
CN105872640A (en)Live broadcast video obtaining method, device and system
CN104486685A (en)Control method, device and system of media streams
CN109120949B (en)Video message pushing method, device, equipment and storage medium for video set
CN103327410B (en)Method and system for playing video in mobile terminal browser and mobile terminal
CN109218740A (en)Display methods, storage medium, electronic equipment and the system of double screen video flowing
CN104168507A (en)Video playing method, video processing device and browsing device
CN104363473A (en)Information transmission method and device based on online live broadcast
CN109257618A (en)Company wheat interflow method, apparatus and server in a kind of live streaming
CN106101766A (en)The control method for playing back of a kind of video ads, device and electronic equipment
CN106303556A (en)Video resource call method, Apparatus and system
GB2390785B (en)Information service broadcasting or multicasting
CN106488270A (en)A kind of method and apparatus of direct broadcasting room switching
CN106572355A (en)Multi-channel video live streaming method and system
CN106162357A (en)Obtain the method and device of video content
CN110505490A (en)Multi-medium data recognition methods and system
CN105611337A (en)Advertisement recreation and popularization method and system
CN105245514B (en)Plug-in recognition methods, apparatus and system
CN105450506B (en)A kind of real-time information interaction method, apparatus and system
CN114222319B (en)Data transmission method, device and storage medium of internet of things terminal
CN105933797B (en)Programme televised live based on network protocol television opens broadcasting method and device
CN108196756B (en)Method and device for switching input of instant messaging interface, storage medium and terminal equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20231219

Address after:B1101, No. 150, Shangzao Building, Gaofeng Community, Dalang Street, Longhua District, Shenzhen, Guangdong 518000

Patentee after:Shenzhen Litong Zhiyuan Technology Transfer Center Co.,Ltd.

Address before:510000 2414-2416 of the main building 371, five mountain road, Tianhe District, Guangzhou, Guangdong.

Patentee before:GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration:20231219

Address after:510000 2414-2416 of the main building 371, five mountain road, Tianhe District, Guangzhou, Guangdong.

Patentee after:GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before:430000 Wuhan Donghu Development Zone, Wuhan, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building

Patentee before:WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.

TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20240320

Address after:200333 Room 201-181, Floor 2, Building 2, No. 2691, Zhenbei Road, Putuo District, Shanghai

Patentee after:Shanghai Shirui Information Technology Co.,Ltd.

Country or region after:Zhong Guo

Address before:B1101, No. 150, Shangzao Building, Gaofeng Community, Dalang Street, Longhua District, Shenzhen, Guangdong 518000

Patentee before:Shenzhen Litong Zhiyuan Technology Transfer Center Co.,Ltd.

Country or region before:Zhong Guo

TR01Transfer of patent right

[8]ページ先頭

©2009-2025 Movatter.jp