CN110324693A - The direct broadcasting room processing method and processing device of video is played for realizing how small window - Google Patents

The direct broadcasting room processing method and processing device of video is played for realizing how small window Download PDF

Info

Publication number
CN110324693A
CN110324693A CN201810294009.6A CN201810294009A CN110324693A CN 110324693 A CN110324693 A CN 110324693A CN 201810294009 A CN201810294009 A CN 201810294009A CN 110324693 A CN110324693 A CN 110324693A
Authority
CN
China
Prior art keywords
direct broadcasting
broadcasting room
video
room
small window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810294009.6A
Other languages
Chinese (zh)
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 CN201810294009.6A priority Critical patent/CN110324693A/en
Publication of CN110324693A publication Critical patent/CN110324693A/en
Pending legal-status Critical Current

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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/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
    • H04N21/4316Generation 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 for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Abstract

The invention discloses a kind of direct broadcasting room processing method and processing devices that video is played for realizing how small window, which comprises creation live page, live page includes video playing layer and room list layer;Live streaming window and small window play options corresponding with target direct broadcasting room in video playing layer displaying target direct broadcasting room;After detecting the trigger action of small window play options, dialog box is created, and obtains the room ID of target direct broadcasting room according to the trigger action of small window play options;Room ID based on target direct broadcasting room generates small window playing request, and small window playing request is sent to server, and to obtain target video information from server, target video information includes the video flowing address of target direct broadcasting room;Video flowing address based on target direct broadcasting room plays the live video of target direct broadcasting room in dialog box.Direct broadcasting room processing method and processing device provided by the invention reduces the area that live streaming window occupies display, and user can be used simultaneously multiple small windows and play live video.

Description

The direct broadcasting room processing method and processing device of video is played for realizing how small window
Technical field
The present invention relates to technical field of information processing, and in particular to a kind of direct broadcasting room that video is played for realizing how small window Processing method and processing device.
Background technique
With the progress of network communication technology and the speed-raising of broadband network, net cast technology has obtained more and more hairs Exhibition and application.
Currently, user may think to work, learn or browse webpage on one side with the variation of user demand, watch on one side Live streaming.Existing live streaming window is more complicated, occupies biggish area over the display.If user works on one side, learn or Browse webpage, on one side viewing live streaming, then leave for user work, learn or browse webpage display area it is too small.
As it can be seen that live streaming window, which exists in the prior art, occupies the excessive technical problem of display area.
Summary of the invention
To be solved by this invention is that existing live streaming window occupies the excessive problem of display area.
The present invention is achieved through the following technical solutions:
A kind of direct broadcasting room processing method playing video for realizing how small window, comprising:
Live page is created, the live page includes video playing layer and room list layer, when the display video is broadcast When putting layer, the room list layer is in hidden state;
In the live streaming window of the video playing layer displaying target direct broadcasting room and corresponding with the target direct broadcasting room small Window play options;
After detecting the trigger action of the small window play options, dialog box is created, and choosing is played according to the small window The trigger action of item obtains the room ID of the target direct broadcasting room;
Room ID based on the target direct broadcasting room generates small window playing request, and the small window playing request is sent to Server, to obtain target video information from the server, the target video information includes the view of the target direct broadcasting room Frequency stream address;
Video flowing address based on the target direct broadcasting room plays the live streaming view of the target direct broadcasting room in the dialog box Frequently.
Optionally, after detecting the trigger action of the small window play options, further includes:
Close the live streaming window of the target direct broadcasting room.
Optionally, in the video flowing address based on the target direct broadcasting room, the target is played in the dialog box After the live video of direct broadcasting room, further includes:
Main window play options are shown in the dialog box;
After detecting the trigger action of the main window play options, the dialog box is destroyed, and in the video playing Layer plays the live video of the target direct broadcasting room.
Optionally, in the video flowing address based on the target direct broadcasting room, the target is played in the dialog box After the live video of direct broadcasting room, further includes:
Small window option is closed in dialog box display;
After detecting the trigger action for closing small window option, the dialog box is destroyed.
Optionally, in the video flowing address based on the target direct broadcasting room, the target is played in the dialog box After the live video of direct broadcasting room, further includes:
Top set play options are shown in the dialog box;
After detecting the trigger action of the top set play options, top layer is set by the dialog box and is shown.
Optionally, in the video flowing address based on the target direct broadcasting room, the target is played in the dialog box After the live video of direct broadcasting room, further includes:
It is shown in the dialog box and minimizes play options;
After detecting the trigger action for minimizing play options, set the dialog box to minimize display.
Optionally, the target video information further includes the room information of the target direct broadcasting room, described based on described The video flowing address of target direct broadcasting room, after the live video that the dialog box plays the target direct broadcasting room, further includes:
The room information of the target direct broadcasting room is shown in the dialog box.
The present invention also provides a kind of direct broadcasting room processing units that video is played for realizing how small window, comprising:
Creation module, for creating live page, the live page includes video playing layer and room list layer, when aobvious When showing the video playing layer, the room list layer is in hidden state;
Display module is straight for the live streaming window in the video playing layer displaying target direct broadcasting room and with the target Corresponding small window play options between broadcasting;
Module is obtained, for creating dialog box, and according to institute after detecting the trigger action of the small window play options The trigger action for stating small window play options obtains the room ID of the target direct broadcasting room;
Generation module generates small window playing request for the room ID based on the target direct broadcasting room;
Transceiver module, for the small window playing request to be sent to server, to obtain target view from the server Frequency information, the target video information include the video flowing address of the target direct broadcasting room;
Playing module plays the target in the dialog box for the video flowing address based on the target direct broadcasting room The live video of direct broadcasting room.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, and the program is processed Device realizes the above-mentioned direct broadcasting room processing method that video is played for realizing how small window when executing.
The present invention also provides a kind of computer equipment, including memory, processor and storage on a memory and can located The computer program run on reason device, which is characterized in that the processor is realized above-mentioned for realizing more when executing described program Small window plays the direct broadcasting room processing method of video.
Compared with prior art, the present invention having the following advantages and benefits:
Provided by the present invention for realizing that how small window plays the direct broadcasting room processing method and processing device of video, shown when detecting After the trigger action of small window play options on video playing layer, dialog box is created, and according to the small window play options Trigger action obtains the room ID of the target direct broadcasting room, and the room ID based on the target direct broadcasting room generates small window broadcasting and asks It asks, and the small window playing request is sent to server, with obtaining the video flowing of the target direct broadcasting room from the server Location, the video flowing address based on the target direct broadcasting room play the live video of the target direct broadcasting room in the dialog box.By In the present invention using the dialog box as live streaming window, dialog interface is simple, and can zoom in and out processing, can also set Bring to Front is shown, thus has simplified the live streaming window of live video, reduces the area that live streaming window occupies display, convenient Other operations are carried out in terminal while user watches live streaming.Further, the dialog box is in the small window play options quilt It is created after triggering, i.e., the described dialog box is dynamic creation, in the live streaming for each direct broadcasting room that the video playing layer is shown Window can create a corresponding dialog box after corresponding small window play options are triggered, thus user can be simultaneously Live video is played using multiple small windows.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand the embodiment of the present invention, constitutes one of the application Point, do not constitute the restriction to the embodiment of the present invention.In the accompanying drawings:
Fig. 1 is the process signal of the direct broadcasting room processing method that video is played for realizing how small window of the embodiment of the present invention Figure;
Fig. 2 is the structural representation of the direct broadcasting room processing unit that video is played for realizing how small window of the embodiment of the present invention Figure;
Fig. 3 is the overall structure signal of the computer equipment that video is played for realizing how small window of the embodiment of the present invention Figure.
Specific embodiment
The present invention provides a kind of direct broadcasting room processing method and processing devices that video is played for realizing how small window, for solving Live streaming window occupies the excessive problem of display area in the prior art.
Technical solution in the embodiment of the present application, general thought are as follows:
Live page is created, the live page includes video playing layer and room list layer, when the display video is broadcast When putting layer, the room list layer is in hidden state;The video playing layer displaying target direct broadcasting room live streaming window with And small window play options corresponding with the target direct broadcasting room;After detecting the trigger action of the small window play options, wound Dialog box is built, and obtains the room ID of the target direct broadcasting room according to the trigger action of the small window play options;Based on described The room ID of target direct broadcasting room generates small window playing request, and the small window playing request is sent to server, with from described Server obtains target video information, and the target video information includes the video flowing address of the target direct broadcasting room;Based on institute The video flowing address for stating target direct broadcasting room plays the live video of the target direct broadcasting room in the dialog box.
To make the objectives, technical solutions, and advantages of the present invention clearer, below with reference to embodiment and attached drawing, to this Invention is described in further detail, and exemplary embodiment of the invention and its explanation for explaining only the invention, are not made For limitation of the invention.
Embodiment 1
A kind of direct broadcasting room processing method for playing video for realizing how small window is present embodiments provided, terminal is applied to. Fig. 1 is the flow diagram of the direct broadcasting room processing method that video is played for realizing how small window, comprising:
Step S11 creates live page, and the live page includes video playing layer and room list layer, when display institute When stating video playing layer, the room list layer is in hidden state.
Specifically, because direct broadcasting room includes multiple, therefore server has the room roomManager manager, each live streaming Between then there is room network interface room interface, server can be led to by roomManager and the room interface in terminal Letter, and realize the management to each direct broadcasting room.The live page can be realized by following manner:
A1: creation window object Qt, and so that window object is inherited QQuickView and instantiate;
A2: creating a QQmlApplicationEngine Engine objects in Qt, for parsing and creating the control of the interface ui Part, program are accomplished by
M_engine=new QQmlApplicationEngine (this),
Wherein, the m_engine is Engine objects, and QQmlApplicationEngine is engine, and this is The parent of QQmlApplicationEngine;
A3: the address QQmlContext in QQmlApplicationEngine object is obtained, for binding pair in Qt As program is accomplished by
QQmlContext*context=m_engine- > rootContext (),
Wherein, the QQmlContext*context is the context of qml file, and rootContext () is to obtain The call method of Context root node context;
A4: preset qml file path is set, is accomplished by
Context- > setContextPdoperty (" _ app_path ", appPath),
Wherein, context- > setContextPdoperty is the method for calling file path, and appPath is window pair As middle main window file path, all ui interface controls of live page are loaded by the path;
A5: the method that roomManager object binding is conveniently called into roomManager in QML into QML context, Since each live streaming window interface requires request network interface, so each live streaming window interface has a request clothes The interface room interface of business device, and the list for having all room interfaces (room network interface) is maintained in roomManager.
The live page includes two layers: video playing layer and room list layer.When showing the video playing layer, institute It states room list layer and is in hidden state, user is facilitated to watch the live streaming of video playing layer.In the present embodiment, the video is broadcast Put the live streaming window and direct broadcasting room handoff options that layer includes multiple direct broadcasting rooms.The direct broadcasting room handoff options can be using tab points The mode of page is realized or other modes realize that the item number of the direct broadcasting room handoff options can be arranged as the case may be, Such as the configuration etc. of the size, terminal according to terminal display.Each direct broadcasting room handoff options then correspond to a live streaming window, The quantity that window is broadcast live can be 10,8,5 etc., be not specifically limited herein.
In the specific implementation process, room list layer includes that list realizes that part sum number factually shows part, wherein list Realize that part is specific as follows:
B1: a gridView control is added in qml file, for showing direct broadcasting room panel pattern;
B2: the general property of setting gridView control, for being arranged the format of direct broadcasting room panel pattern, such as position, Size and each size of node, each node refer to each direct broadcasting room in live page;
B3: addition view display agency, for realizing that the panel pattern of all direct broadcasting rooms, each direct broadcasting room panel pattern be Identical, only data are different, and room panel pattern refers to that the pattern of each live streaming intermediate node in list, panel pattern are solid Fixed.
Data realize that part is specific as follows:
C1: after the completion of the window object creation of live page, all live streamings of get request are sent to server Between list information;
C2: it gets server and returns to json format (JavaScript Object Notation, JS object tag is A kind of data interchange format of lightweight) room list information, and room list information is parsed, wherein server What is returned is the array information of json format, it is therefore desirable to parse to array information, obtain the list letter in each room Breath, the list information includes room title, main broadcaster's title, online number etc.;
C3: building view display model, and the list information after parsing is added in view display model;
C4: the view display model setting of building is shown into control to view: in gridView control, then view is set The data of display model, and data are supplemented in room list.
After the realization for describing room list layer, video playing layer is described below and realizes process:
D1: a TabView control, player control, for playing the video counts of direct broadcasting room are added in qml file According to;
D2: the attribute, such as size, position etc. of setting TabView control;
D3: one Component component of addition, and the addition cutting page in Component component, each cutting page is with regard to table Show a direct broadcasting room live streaming window interface, only includes a player control in each cutting page.
Step S12, the video playing layer displaying target direct broadcasting room live streaming window and with the target direct broadcasting room Corresponding small window play options.
Specifically, each direct broadcasting room is correspondingly arranged one small window play options, and the live streaming window of the target direct broadcasting room is The live streaming window that user is currently viewed.In the live streaming window for showing the target direct broadcasting room and the small window play options Before, need to open the target direct broadcasting room.When user first enters the target direct broadcasting room, it is straight that the target can be clicked to enter Operation between broadcasting, to be generated into the request of target direct broadcasting room.During concrete implementation, server receives the mesh It, can be by the room network interface of target direct broadcasting room described in roomManager object acquisition, so after the entrance request for marking direct broadcasting room The room network interface of the target direct broadcasting room is cached in player control afterwards, the video letter that terminal monitoring server returns Breath, such as room information, video flowing address, present information etc..
It can be body by the room ID of the target direct broadcasting room, ID in the room network interface of the target direct broadcasting room Part identification code sends the video flowing address of target direct broadcasting room described in a post request to server, when receiving server The video flowing address information of the json format of return plays the video of the video flowing address by player control, and in institute It states and shows the small window play options on the live streaming window of target direct broadcasting room.It further, can also be in the target direct broadcasting room By the room ID of the target direct broadcasting room in room network interface, target described in a get request is sent to server Then the room information for the json format that server returns is shown to the straight of the target direct broadcasting room by the room information of direct broadcasting room It broadcasts on window.
Step S13 creates dialog box, and according to described small after detecting the trigger action of the small window play options The trigger action of window play options obtains the room ID of the target direct broadcasting room.
Specifically, trigger action can be mouse clicking operation or screen taps operation.Clicking operation can generate one Trigger action signal, the trigger action signal can dish out a message, and the room of the target direct broadcasting room is carried in the message Between ID, the room ID of the target direct broadcasting room is the unique identification of the target direct broadcasting room, thus can be grasped according to the triggering The message dished out as signal obtains the room ID of the target direct broadcasting room.Process and the live streaming are realized in the creation of the dialog box The implementation of the page is similar, specifically refers to the description of abovementioned steps A1~A5 and step D1~D3, details are not described herein. Further, when the attribute of the dialog box is arranged, the dialog box can be set to showing the nonmodal dialogue in top layer Frame.
Step S14, the room ID based on the target direct broadcasting room generate small window playing request, and the small window broadcasting is asked It asks and is sent to server, to obtain target video information from the server, the target video information includes that the target is straight Video flowing address between broadcasting.
Specifically, the small window playing request is transformed based on the room ID of the target direct broadcasting room, can pass through institute The room ID for stating target direct broadcasting room sends the video flowing address of target direct broadcasting room described in a post request to server, To obtain the video flowing address information of json format from the server;Can also by the room ID of the target direct broadcasting room, The room information of target direct broadcasting room described in a get request is sent, to server to obtain json lattice from the server The room information of formula.
Step S15, the video flowing address based on the target direct broadcasting room play the target direct broadcasting room in the dialog box Live video.
Specifically, when receive server return json format video flowing address information and room information after, pass through by The video flowing address of player control in the dialog box is set as the video flowing address of the target direct broadcasting room, can be in institute State the live video that dialog box plays the target direct broadcasting room.Also, the target live streaming can also be shown in the dialog box Between room information.
Based on same inventive concept, the present invention also provides at a kind of direct broadcasting room for playing video for realizing how small window Reason method, referring specifically to embodiment 2.
Embodiment 2
The direct broadcasting room processing method provided in this embodiment that video is played for realizing how small window, working as in embodiment 1 After the trigger action for detecting the small window play options, further includes: close the live streaming window of the target direct broadcasting room.Pass through pass The live streaming window for closing the target direct broadcasting room only uses the live video that the dialog box plays the target direct broadcasting room, avoids The live video that two windows watch the same direct broadcasting room is opened simultaneously, can save system resource.
It specifically, can be by TabView control getTab method and current cutting page index to obtain the target The current cutting page of direct broadcasting room, then obtains the room network interface of caching in currently cutting page, then passes through TabView control RemovedTab method deletes current cutting page, and by the target direct broadcasting room from the roomManager of the server Room network interface is deleted, to be managed to each direct broadcasting room, in favor of the utilization of resource.
Based on same inventive concept, the present invention also provides at a kind of direct broadcasting room for playing video for realizing how small window Reason method, referring specifically to embodiment 3.
Embodiment 3
The direct broadcasting room processing method provided in this embodiment that video is played for realizing how small window, the base described in embodiment 1 In the video flowing address of the target direct broadcasting room, after the live video that the dialog box plays the target direct broadcasting room, also Include:
Main window play options are shown in the dialog box;
After detecting the trigger action of the main window play options, the dialog box is destroyed, and in the video playing Layer plays the live video of the target direct broadcasting room.
Specifically, the main window play options can be configured when creating the dialog box.The main window plays choosing The trigger action of item is similar with the trigger action of the small window play options, can by the trigger action of the main window play options To destroy the dialog box, the room ID of the target direct broadcasting room can also be obtained.Before destroying the dialog box, the dialog box In player control suspend play;After destroying the dialog box, the window object of the dialog box is recycled.Obtain the target It is similar with the target direct broadcasting room is first entered after the room ID of direct broadcasting room, i.e., again in the video playing of the live page Layer plays the live video of the target direct broadcasting room.At the direct broadcasting room provided in this embodiment for playing video for realizing how small window The live video watched can be switched to original master when user does not need small window broadcasting live video by reason method Window plays.
Based on same inventive concept, the present invention also provides at a kind of direct broadcasting room for playing video for realizing how small window Reason method, referring specifically to embodiment 4.
Embodiment 4
The direct broadcasting room processing method provided in this embodiment that video is played for realizing how small window, the base described in embodiment 1 In the video flowing address of the target direct broadcasting room, after the live video that the dialog box plays the target direct broadcasting room, also Include:
Small window option is closed in dialog box display;
After detecting the trigger action for closing small window option, the dialog box is destroyed.
Specifically, the small window option of closing can be configured when creating the dialog box.It is described to close small window choosing The trigger action of item is similar with the trigger action of the small window play options, can by the trigger action for closing small window option To destroy the dialog box.Before destroying the dialog box, the player control in the dialog box, which is suspended, to be played;It is described right to destroy After talking about frame, the window object of the dialog box is recycled.The direct broadcasting room provided in this embodiment that video is played for realizing how small window Processing method can close the dialog box when user is not desired to viewing live video.
Based on same inventive concept, the present invention also provides at a kind of direct broadcasting room for playing video for realizing how small window Reason method, referring specifically to embodiment 5.
Embodiment 5
The direct broadcasting room processing method provided in this embodiment that video is played for realizing how small window, the base described in embodiment 1 In the video flowing address of the target direct broadcasting room, after the live video that the dialog box plays the target direct broadcasting room, also Include:
Top set play options are shown in the dialog box;
After detecting the trigger action of the top set play options, top layer is set by the dialog box and is shown.
Specifically, the top set play options can be configured when creating the dialog box.The top set plays choosing The trigger action of item is similar with the trigger action of the small window play options, can by the trigger action of the top set play options Attribute the dialog box is arranged is shown as top layer.The direct broadcasting room provided in this embodiment that video is played for realizing how small window The dialog box can be shown the top in display by processing method, and the other users interface for avoiding user from opening is blocked The live video.
Based on same inventive concept, the present invention also provides at a kind of direct broadcasting room for playing video for realizing how small window Reason method, referring specifically to embodiment 6.
Embodiment 6
The direct broadcasting room processing method provided in this embodiment that video is played for realizing how small window, the base described in embodiment 1 In the video flowing address of the target direct broadcasting room, after the live video that the dialog box plays the target direct broadcasting room, also Include:
It is shown in the dialog box and minimizes play options;
After detecting the trigger action for minimizing play options, set the dialog box to minimize display.
Specifically, the minimum play options can be configured when creating the dialog box.The minimum is broadcast The trigger action for putting option is similar with the trigger action of the small window play options, passes through the triggering for minimizing play options The attribute of the dialog box can be set to minimize display in operation.
Based on same inventive concept, the present invention also provides at a kind of direct broadcasting room for playing video for realizing how small window Device is managed, referring specifically to embodiment 7.
Embodiment 7
Fig. 2 is the structural schematic diagram of the direct broadcasting room processing unit that video is played for realizing how small window, the interface Opening device includes creation module 11, display module 12, obtains module 13, generation module 14, transceiver module 15 and play mould Block 16.
Specifically, for the creation module 11 for creating live page, the live page includes video playing layer and room Between list layer, when showing the video playing layer, the room list layer is in hidden state;The display module 12 is used for Choosing is played in the live streaming window of the video playing layer displaying target direct broadcasting room and small window corresponding with the target direct broadcasting room ?;The acquisition module 13 is used for after detecting the trigger action of the small window play options, creates dialog box, and according to institute The trigger action for stating small window play options obtains the room ID of the target direct broadcasting room;The generation module 14 is used for based on described The room ID of target direct broadcasting room generates small window playing request;The transceiver module is used to the small window playing request being sent to clothes Business device, to obtain target video information from the server, the target video information includes the video of the target direct broadcasting room Flow address;The playing module 16 is used for the video flowing address based on the target direct broadcasting room, described in dialog box broadcasting The live video of target direct broadcasting room.The concrete operating principle of the direct broadcasting room processing unit that video is played for realizing how small window It can refer to the description in embodiment 1 for step S11 to step S15, this embodiment is not repeated.
Based on same inventive concept, the present invention also provides at a kind of direct broadcasting room for playing video for realizing how small window The corresponding computer readable storage medium of reason method and computer equipment, referring specifically to embodiment 8.
Embodiment 8
The present embodiment also provides a kind of computer equipment for video preview, as shown in figure 3, the computer equipment packet It includes: radio frequency (Radio Frequency, RF) circuit 310, memory 320, input unit 330, display unit 340, voicefrequency circuit 350, the components such as WiFi module 360, processor 370 and power supply 380.It will be understood by those skilled in the art that being shown in Fig. 3 Computer equipment structure do not constitute the restriction to computer equipment, may include than illustrating more or fewer components, or Person combines certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 3 to computer equipment:
RF circuit 310 can be used for sending and receiving for signal, particularly, after the downlink information of base station is received, to processing The processing of device 370.In general, RF circuit 310 includes but is not limited at least one amplifier, transceiver, coupler, low noise amplification Device (Low Noise Amplifier, LNA), duplexer etc..
Memory 320 can be used for storing software program and module, and processor 370 is stored in memory 320 by operation Software program and module, thereby executing the various function application and data processing of computer equipment.Memory 320 can be led It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function Application program etc.;Storage data area, which can be stored, uses created data etc. according to computer equipment.In addition, memory 320 May include high-speed random access memory, can also include nonvolatile memory, a for example, at least disk memory, Flush memory device or other volatile solid-state parts.
Input unit 330 can be used for receiving the number or character information of input, and generate the user with computer equipment Setting and the related key signals input of function control.Specifically, input unit 330 may include keyboard 331 and other inputs Equipment 332.Keyboard 331 collects the input operation of user on it, and drives corresponding connection according to preset formula Device.Keyboard 331 gives processor 370 after collecting output information again.In addition to keyboard 331, input unit 330 can also include Other input equipments 332.Specifically, other input equipments 332 can include but is not limited to touch panel, function key (such as sound Measure control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 340 can be used for showing information input by user or the information and computer equipment that are supplied to user Various menus.Display unit 340 may include display panel 341, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 341.Further, keyboard 331 can cover display panel 341, when keyboard 331 detect it is on it or attached After close touch operation, processor 370 is sent to determine the type of touch event, is followed by subsequent processing device 370 according to incoming event Type corresponding visual output is provided on display panel 341.Although keyboard 331 and display panel 341 are conducts in Fig. 3 Two independent components realize the input and input function of computer equipment, but in some embodiments it is possible to by keyboard 331 is integrated with display panel 341 and that realizes computer equipment output and input function.
Voicefrequency circuit 350, loudspeaker 351, microphone 352 can provide the audio interface between user and computer equipment. Electric signal after the audio data received conversion can be transferred to loudspeaker 351, be converted by loudspeaker 351 by voicefrequency circuit 350 For voice signal output;
WiFi belongs to short range wireless transmission technology, and computer equipment can help user to receive and dispatch by WiFi module 360 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 WiFi module 360 is shown, but it is understood that, and it is not belonging to must be configured into for computer equipment, it completely can root It is omitted within the scope of not changing the essence of the invention according to needs.
Processor 370 is the control centre of computer equipment, utilizes various interfaces and the entire computer equipment of connection Various pieces, by running or execute the software program and/or module that are stored in memory 320, and call and be stored in Data in memory 320 execute the various functions and processing data of computer equipment, to carry out to computer equipment whole Monitoring.Optionally, processor 370 may include one or more processing units;Preferably, processor 370 can be integrated using processing Device, wherein the main processing operation system of application processor, user interface and application program etc..
Computer equipment further includes the power supply 380 (such as power supply adaptor) powered to all parts, it is preferred that power supply can With logically contiguous by power-supply management system and processor 370.
Direct broadcasting room processing method, device and the computer provided in an embodiment of the present invention that video is played for realizing how small window Equipment, using dialog box as live streaming window, dialog interface is simple, and can zoom in and out processing, may be arranged as pushing up Layer display, thus the live streaming window of live video has been simplified, the area that live streaming window occupies display is reduced, user is facilitated to see Other operations are carried out in terminal while seeing live.Further, the dialog box is created after small window play options are triggered , i.e., the described dialog box is dynamic creation, corresponding small in the live streaming window for each direct broadcasting room that video playing layer is shown After window play options are triggered, a corresponding dialog box can be created, thus user can be broadcast using multiple small windows simultaneously Put live video.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP, Digital Signal Processing) Lai Shixian are implemented according to the present invention The some or all functions of the gateway of example, proxy server, some or all components in system.The present invention can also be real Now for for executing some or all device or device programs of method as described herein (for example, computer journey Sequence and computer program product).It is such to realize that program of the invention can store on computer readable storage medium, or It may be in the form of one or more signals.Such signal can be downloaded from an internet website to obtain, or carry It provides, or is provided in any other form on body signal.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention, should be included in protection of the invention Within the scope of.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

Claims (10)

1. a kind of direct broadcasting room processing method for playing video for realizing how small window characterized by comprising
Live page is created, the live page includes video playing layer and room list layer, when the display video playing layer When, the room list layer is in hidden state;
It is broadcast in the live streaming window of the video playing layer displaying target direct broadcasting room and small window corresponding with the target direct broadcasting room Put option;
After detecting the trigger action of the small window play options, dialog box is created, and according to the small window play options Trigger action obtains the room ID of the target direct broadcasting room;
Room ID based on the target direct broadcasting room generates small window playing request, and the small window playing request is sent to service Device, to obtain target video information from the server, the target video information includes the video flowing of the target direct broadcasting room Address;
Video flowing address based on the target direct broadcasting room plays the live video of the target direct broadcasting room in the dialog box.
2. the direct broadcasting room processing method according to claim 1 for playing video for realizing how small window, which is characterized in that when After the trigger action for detecting the small window play options, further includes:
Close the live streaming window of the target direct broadcasting room.
3. the direct broadcasting room processing method according to claim 2 for playing video for realizing how small window, which is characterized in that The video flowing address based on the target direct broadcasting room, the dialog box play the target direct broadcasting room live video it Afterwards, further includes:
Main window play options are shown in the dialog box;
After detecting the trigger action of the main window play options, the dialog box is destroyed, and broadcast in the video playing layer Put the live video of the target direct broadcasting room.
4. the direct broadcasting room processing method according to claim 2 for playing video for realizing how small window, which is characterized in that The video flowing address based on the target direct broadcasting room, the dialog box play the target direct broadcasting room live video it Afterwards, further includes:
Small window option is closed in dialog box display;
After detecting the trigger action for closing small window option, the dialog box is destroyed.
5. the direct broadcasting room processing method according to claim 2 for playing video for realizing how small window, which is characterized in that The video flowing address based on the target direct broadcasting room, the dialog box play the target direct broadcasting room live video it Afterwards, further includes:
Top set play options are shown in the dialog box;
After detecting the trigger action of the top set play options, top layer is set by the dialog box and is shown.
6. the direct broadcasting room processing method according to claim 2 for playing video for realizing how small window, which is characterized in that The video flowing address based on the target direct broadcasting room, the dialog box play the target direct broadcasting room live video it Afterwards, further includes:
It is shown in the dialog box and minimizes play options;
After detecting the trigger action for minimizing play options, set the dialog box to minimize display.
7. the direct broadcasting room processing method according to any one of claims 1 to 6 for playing video for realizing how small window, special Sign is that the target video information further includes the room information of the target direct broadcasting room, is broadcast live described based on the target Between video flowing address, after the live video that the dialog box plays the target direct broadcasting room, further includes:
The room information of the target direct broadcasting room is shown in the dialog box.
8. a kind of direct broadcasting room processing unit for playing video for realizing how small window characterized by comprising
Creation module, for creating live page, the live page includes video playing layer and room list layer, when display institute When stating video playing layer, the room list layer is in hidden state;
Display module, for the video playing layer displaying target direct broadcasting room live streaming window and with the target direct broadcasting room Corresponding small window play options;
Module is obtained, for creating dialog box, and according to described small after detecting the trigger action of the small window play options The trigger action of window play options obtains the room ID of the target direct broadcasting room;
Generation module generates small window playing request for the room ID based on the target direct broadcasting room;
Transceiver module, for the small window playing request to be sent to server, to obtain target video letter from the server Breath, the target video information includes the video flowing address of the target direct broadcasting room;
Playing module plays the target live streaming in the dialog box for the video flowing address based on the target direct broadcasting room Between live video.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor Claim 1 to 7 described in any item direct broadcasting room processing methods that video is played for realizing how small window are realized when row.
10. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that realize that claim 1 to 7 is described in any item when the processor executes described program and be used for Realize that how small window plays the direct broadcasting room processing method of video.
CN201810294009.6A 2018-03-30 2018-03-30 The direct broadcasting room processing method and processing device of video is played for realizing how small window Pending CN110324693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810294009.6A CN110324693A (en) 2018-03-30 2018-03-30 The direct broadcasting room processing method and processing device of video is played for realizing how small window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810294009.6A CN110324693A (en) 2018-03-30 2018-03-30 The direct broadcasting room processing method and processing device of video is played for realizing how small window

Publications (1)

Publication Number Publication Date
CN110324693A true CN110324693A (en) 2019-10-11

Family

ID=68112315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810294009.6A Pending CN110324693A (en) 2018-03-30 2018-03-30 The direct broadcasting room processing method and processing device of video is played for realizing how small window

Country Status (1)

Country Link
CN (1) CN110324693A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073818A (en) * 2020-09-14 2020-12-11 北京五八信息技术有限公司 Information processing method and device
CN112153409A (en) * 2020-09-29 2020-12-29 广州虎牙科技有限公司 Live broadcast method and device, live broadcast receiving end and storage medium
CN113099250A (en) * 2021-03-25 2021-07-09 联想(北京)有限公司 Information processing method and electronic equipment
CN113873316A (en) * 2021-11-04 2021-12-31 上海哔哩哔哩科技有限公司 Live broadcast room video playing method and device
WO2022000290A1 (en) * 2020-06-30 2022-01-06 深圳盈天下视觉科技有限公司 Live streaming method, live streaming apparatus, and terminal
WO2023077812A1 (en) * 2021-11-04 2023-05-11 上海哔哩哔哩科技有限公司 Method and apparatus for playing live broadcast video

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917568A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Streaming media technology-based network video player and playing system
CN105472437A (en) * 2015-11-24 2016-04-06 广州华多网络科技有限公司 Video playing method and apparatus thereof
CN106572355A (en) * 2016-11-02 2017-04-19 乐视控股(北京)有限公司 Multi-channel video live streaming method and system
CN107092417A (en) * 2017-03-30 2017-08-25 北京潘达互娱科技有限公司 Live network broadcast method and device
CN107181967A (en) * 2017-04-01 2017-09-19 北京潘达互娱科技有限公司 A kind of image display method and device
CN107333162A (en) * 2017-06-26 2017-11-07 广州华多网络科技有限公司 A kind of method and apparatus for playing live video

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917568A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Streaming media technology-based network video player and playing system
CN105472437A (en) * 2015-11-24 2016-04-06 广州华多网络科技有限公司 Video playing method and apparatus thereof
CN106572355A (en) * 2016-11-02 2017-04-19 乐视控股(北京)有限公司 Multi-channel video live streaming method and system
CN107092417A (en) * 2017-03-30 2017-08-25 北京潘达互娱科技有限公司 Live network broadcast method and device
CN107181967A (en) * 2017-04-01 2017-09-19 北京潘达互娱科技有限公司 A kind of image display method and device
CN107333162A (en) * 2017-06-26 2017-11-07 广州华多网络科技有限公司 A kind of method and apparatus for playing live video

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022000290A1 (en) * 2020-06-30 2022-01-06 深圳盈天下视觉科技有限公司 Live streaming method, live streaming apparatus, and terminal
CN112073818A (en) * 2020-09-14 2020-12-11 北京五八信息技术有限公司 Information processing method and device
CN112153409A (en) * 2020-09-29 2020-12-29 广州虎牙科技有限公司 Live broadcast method and device, live broadcast receiving end and storage medium
CN113099250A (en) * 2021-03-25 2021-07-09 联想(北京)有限公司 Information processing method and electronic equipment
CN113873316A (en) * 2021-11-04 2021-12-31 上海哔哩哔哩科技有限公司 Live broadcast room video playing method and device
WO2023077812A1 (en) * 2021-11-04 2023-05-11 上海哔哩哔哩科技有限公司 Method and apparatus for playing live broadcast video
CN113873316B (en) * 2021-11-04 2024-02-27 上海哔哩哔哩科技有限公司 Live broadcasting room video playing method and device

Similar Documents

Publication Publication Date Title
CN110324693A (en) The direct broadcasting room processing method and processing device of video is played for realizing how small window
CN104113787B (en) Based on the comment method of program, terminal, server and system
CN108260014A (en) A kind of video broadcasting method and terminal and storage medium
CN103702297B (en) Short message enhancement, apparatus and system
CN107391115A (en) A kind of method, apparatus and computer equipment for realizing pop-up alternative events
CN108228125A (en) The long-range control method and system of smart machine
CN108712670A (en) A kind of method, apparatus and computer equipment for video preview
CN101720022A (en) Public video management system and realizing method thereof
CN107241657A (en) Video broadcasting method, device, computing device and storage medium
CN110213504A (en) A kind of method for processing video frequency, method for sending information and relevant device
CN108810602B (en) Method and device for displaying information of live broadcast room and computer equipment
CN108306851A (en) Information acquisition method, providing method, apparatus and system
CN109891828A (en) Context painting canvas for collaboration workspace environment
CN106412078B (en) Accurate information method for pushing, device and system
CN108512716A (en) Method, system, computer equipment and the storage medium of reporting equipment information
CN104516890B (en) Method for processing business, device and electronic equipment
CN110324692A (en) The direct broadcasting room processing method and processing device of video is played for realizing small window
CN108351889A (en) The group of enhancing finds
CN109428908A (en) Information display method, device and equipment
CN107577712B (en) A kind of method, apparatus and computer equipment of loading page
CN202533929U (en) Screen capture system based on Android platform intelligent television
JP2010103964A (en) System for providing widget type idle screen
CN103901824B (en) Wired home control method and system, wired home control centre and mobile terminal
CN108521598A (en) A kind of method, apparatus and computer equipment for video preview
CN109218808A (en) A kind of method, apparatus and computer equipment of recorded video

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191011