CN107124652B - It is a kind of to connect windows switching method and device in wheat live streaming - Google Patents

It is a kind of to connect windows switching method and device in wheat live streaming Download PDF

Info

Publication number
CN107124652B
CN107124652B CN201710258812.XA CN201710258812A CN107124652B CN 107124652 B CN107124652 B CN 107124652B CN 201710258812 A CN201710258812 A CN 201710258812A CN 107124652 B CN107124652 B CN 107124652B
Authority
CN
China
Prior art keywords
window
windows exchange
windows
main broadcaster
switching
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
CN201710258812.XA
Other languages
Chinese (zh)
Other versions
CN107124652A (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 CN201710258812.XA priority Critical patent/CN107124652B/en
Publication of CN107124652A publication Critical patent/CN107124652A/en
Application granted granted Critical
Publication of CN107124652B publication Critical patent/CN107124652B/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/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides windows switching method and device in a kind of even wheat live streaming, and the method includes: to monitor the windows exchange selection operation of client, and according to windows exchange selection operation, judges whether window can switch;If can switch, windows exchange request is sent to control server;Receive the information for whether allowing windows exchange that control server is returned according to windows exchange request;According to the information for whether allowing windows exchange, executes windows exchange operation or do not execute windows exchange operation.By the invention it is possible to effectively realize the windows exchange of main broadcaster and Lian Maizhe during even wheat live streaming, and the pet name of different windows can be accurately shown after windows exchange, it is synchronous to realize that the switching of different windows video flowing switches with the pet name.

Description

It is a kind of to connect windows switching method and device in wheat live streaming
Technical field
The present invention relates to net cast fields, more particularly, to windows switching method and device in a kind of even wheat live streaming.
Background technique
With the fast development of net cast, even wheat live streaming is a very common function, after even wheat process is realized, is related to Three ends: even wheat, main broadcaster are initiated in Zhu Boduan, Lian Maiduan, viewer end, Lian Maiduan and main broadcaster end can see the view of oneself and Lian Maizhe Frequency flows, and Lian Maizhe can see the video flowing of oneself and main broadcaster, spectators it can also be seen that oneself and main broadcaster video flowing.Some connect When wheat person performance is very excellent, main broadcaster wants to switch over window where Lian Maizhe and window where itself.
It is current much connect wheat live video otherwise be cannot switch, or be video flowing can switch but cannot be accurate Switch the pet name in different windows in time, wherein the window pet name can be such that spectators perceive in time and main broadcaster is shown in window Video pictures or Lian Maizhe video pictures.The pet name in even different windows also has switched, but the view of window Frequency stream does not switch, and causes the nonsynchronous problem of video flowing.
Summary of the invention
The present invention provide it is a kind of overcome the above problem or at least be partially solved the above problem company wheat live streaming in window Switching method and device.
According to an aspect of the present invention, provide it is a kind of even wheat live streaming in windows switching method, comprising:
S1 monitors the windows exchange selection operation of client, and according to windows exchange selection operation, judges that window whether can Switching;
S2 sends windows exchange request to control server if can switch;
S3 receives the information for whether allowing windows exchange that control server is returned according to windows exchange request;
S4 executes windows exchange operation or does not execute windows exchange according to the information for whether allowing windows exchange Operation;
Wherein, windows exchange operation is cutting for window where window where the video clip of main broadcaster end and Lian Maiduan video clip It changes.
The invention has the benefit that main broadcaster end server switches selection operation by audit window, window is then judged Whether can switch, determine whether windows exchange when window can switch, then by control server, by judging twice, really Protecting window can actually switch, and just switch at local main broadcaster end, can effectively realize main broadcaster during even wheat live streaming With the windows exchange of Lian Maizhe, and can be realized window video flowing switching switch with the pet name it is synchronous.
Based on the above technical solution, the present invention can also improve as follows.
Further, the window includes first window and the second window, before the step S1 further include:
Detect the location information of first window or the second window in main broadcaster's client;
Switching selection gesture or switching push button are added in first window according to the location information of first window;Alternatively, According to the location information of the second window, addition switching in a second window selects gesture or switching push button;
Gesture or the click switching push button is selected to carry out windows exchange selection operation by touching the switching.
Further, judging whether window can switch in the step S1 further includes:
It is that voice connects wheat or video connects wheat that judgement, which currently connects wheat, if voice connects wheat, then window cannot switch, if view Frequency connects wheat, then window can switch.
Further, the step S4 is specifically included:
S41 changes current window switching mark if receiving the information of the permission windows exchange of control server return Know, wherein windows exchange mark second window of characterization shows main broadcaster end video pictures or Lian Maiduan video pictures;
S42 is identified according to the windows exchange after change, executes windows exchange operation, and show the second window on main broadcaster end The pet name.
Further, it is identified in the step S42 according to the windows exchange after change, executes the specific packet of windows exchange operation It includes:
According to the windows exchange mark after change, the location information of current first window is revised as to the position of the second window The location information of second window is revised as the location information of first window by information, to realize the switching of window.
Further, the step S42 further include:
Video flowing plug-flow component in main broadcaster end is identified according to the windows exchange after change, by the video pictures of Lian Maiduan and The video pictures synthetic video stream at main broadcaster end;
By the pushing video streaming after synthesis to streaming server, for streaming server by pushing video streaming to viewer end, wherein It include windows exchange notification information in the video flowing.
Further, windows exchange mark is carried in the windows exchange notification information;
After the step S4 further include:
When viewer end listens to the windows exchange notification information in video flowing, according in the notification information of windows exchange Windows exchange mark, shows the pet name in the second window in viewer end.
According to another aspect of the present invention, windows exchange device in a kind of even wheat live streaming, including main broadcaster end are additionally provided Server and control server;Main broadcaster end server includes:
Module is monitored, for monitoring the windows exchange selection operation of client;
Judgment module, for judging whether window can switch according to windows exchange selection operation;
Sending module sends windows exchange request to control server if can switch for window;
Receiving module, for receive control server according to the windows exchange request return whether permission windows exchange Information;
Execution module, for executing windows exchange operation or not holding according to the information for whether allowing windows exchange The operation of row windows exchange;
The control server, the windows exchange request for being sent according to main broadcaster end, determines whether windows exchange, And whether the information of windows exchange will be allowed to return to main broadcaster end;
Wherein, windows exchange operation is cutting for window where window where the video clip of main broadcaster end and Lian Maiduan video clip It changes.
Further, the window includes first window and the second window, main broadcaster end server further include:
Update module, if front window is worked as in the information of the permission windows exchange for receiving control server return, update Mouth switching mark, wherein windows exchange mark the second window of characterization display main broadcaster end video pictures or Lian Maiduan video are drawn Face;
Display module executes windows exchange operation for the windows exchange mark after execution module is according to change Afterwards, the pet name of the second window on main broadcaster end is shown.
It further, further include viewer end server;
The viewer end server, for when listening to windows exchange notification information, according to windows exchange notification information In windows exchange mark, show the second window of viewer end in the pet name.
Detailed description of the invention
Fig. 1 is windows switching method flow chart in the company wheat live streaming of one embodiment of the invention;
Fig. 2 is that windows exchange device connects block diagram in the company wheat live streaming of another embodiment of the present invention;
Fig. 3 is the inside company that end server is broadcast live in the company wheat live streaming of another embodiment of the invention in windows exchange device Connect block diagram;
Fig. 4 is that the test equipment of windows exchange device in the company wheat live streaming of further embodiment of the present invention connects block diagram.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below Example is not intended to limit the scope of the invention for illustrating the present invention.
It is windows switching method in the company wheat live streaming of one embodiment of the invention referring to Fig. 1, the company of can be realized wheat was broadcast live The process of main broadcaster and Lian Maizhe windows exchange in journey.This method comprises: S1, monitors the windows exchange selection operation of client, and According to windows exchange selection operation, judge whether window can switch;S2 sends window to control server if window can switch Mouth switching request;S3 receives the information for whether allowing windows exchange that control server is returned according to windows exchange request; S4 executes windows exchange operation or does not execute windows exchange operation according to the information for whether allowing windows exchange;Its In, windows exchange operation is the switching of window where window where the video clip of main broadcaster end and Lian Maiduan video clip.
In net cast application field, even wheat is a very common function, after even wheat process is realized, is related to three ends: Main broadcaster end, Lian Maiduan and viewer end.Even wheat, main broadcaster are initiated in Lian Maiduan and main broadcaster end can see oneself and Lian Mai by main broadcaster end The video flowing of person, Lian Maizhe can see the video flowing of oneself and main broadcaster by even wheat end, and spectators can then pass through viewer end See the video flowing of oneself and main broadcaster.When Lian Maizhe performance is very excellent, main broadcaster want to allow Lian Maizhe place window with Window where itself switches over, then the display of different windows is also required to switch.
Therefore, the present embodiment proposes the switching method of window in even wheat live streaming, and main broadcaster end server is monitored in client Windows exchange selection operation judges whether window can switch after listening to windows exchange selection operation in client.Work as master It broadcasts server and judges that window at this time allows hand over, then send windows exchange request to control server.Control service Device receives the windows exchange request of main broadcaster end server transmission, is requested according to windows exchange, determines whether windows exchange, And whether the information of windows exchange will be allowed to return to main broadcaster end server.When main broadcaster end, server receives control server and returns When the information for whether allowing windows exchange returned, executes windows exchange operation or do not execute windows exchange operation, even control What server returned is the information for allowing windows exchange, then executes windows exchange operation, if control server return is not fair Perhaps the information of windows exchange does not execute windows exchange operation then.Wherein, the window includes first window and the second window, Realize that windows exchange is the switching for realizing first window and the second window.First window and the second window show main broadcaster end respectively Video pictures and connect with main broadcaster end wheat Lian Maiduan video pictures.
Main broadcaster end server switches selection operation by audit window in the present embodiment, then judges whether window can be cut It changes, windows exchange is determined whether when window can switch, then by control server, by judging twice, it is ensured that window is true It allows hand over, is just switched at local main broadcaster end in fact, main broadcaster and Lian Maizhe during even wheat live streaming can be effectively realized Windows exchange, and can be realized window video flowing switching switch with the pet name it is synchronous.
In one embodiment of the invention, the step S1 main broadcaster end server audit window switching selection operation it Before further include: the window includes first window and the second window, before the step S1 further include: in detection main broadcaster's client The location information of first window or the second window.Switching selection is added in first window according to the location information of first window Gesture or switching push button;Alternatively, according to the location information of the second window, in a second window addition switching selection gesture or Switching push button.Gesture or the click switching push button is selected to carry out windows exchange selection operation by touching the switching.
After spectators enter direct broadcasting room, main broadcaster end server can detect the first window location information and the second window of client The location information of mouthful location information, first window location information and the second window include four vertex of window coordinate information, The width of window, the height of window, the X-coordinate axle of window and the Y-coordinate axle of window can be obtained by by these coordinate values The position of one window and the second window.During developer's exploitation, adds and cut in first window or the second window Change selection gesture or switching push button.Here it is possible to add switching selection gesture or switching push button, Ke Yi in first window Second window addition switching selection gesture or switching push button.When main broadcaster touches switching selection gesture or click on the client When switching push button, a function will be adjusted back, this function is exactly the function for executing windows exchange, i.e., by described in main broadcaster's touch Switching selection gesture clicks the switching push button to carry out windows exchange selection operation.
In another embodiment of the present invention, judging whether window can switch in the step S1 further includes: to sentence Disconnected currently to connect wheat be that voice connects wheat or video connects wheat, if voice connects wheat, then window cannot switch, if video connects wheat, then Window can switch.
When main broadcaster's server detects windows exchange selection operation, judge whether window can switch, mainly passes through Judge current anchor and Lian Maizhe is the company of progress wheat in which way.If current anchor and Lian Maizhe are that voice connects wheat, window It cannot switch;If current anchor and Lian Maizhe are that video connects wheat, window can switch.
In another embodiment of the present invention, the step S4 specifically includes: S41 and returns if receiving control server The information of the permission windows exchange returned then changes current window switching mark, wherein windows exchange mark second window of characterization Mouth display main broadcaster end video pictures or Lian Maiduan video pictures;S42 is identified according to the windows exchange after change, is executed window and is cut Operation is changed, and shows the pet name of the second window on main broadcaster end.
When judging that window can switch, main broadcaster end server is by the location information of first window and the second window, window Mouth switching request and windows exchange mark are sent to control server.Wherein, location information, that is, window coordinate of window Information, the coordinate information on four vertex including window.And windows exchange mark is with a parameter Main broadcaster end video pictures are shown also in the second window after expression windows exchange come what is identified in FutureinSmallWindow It is the video pictures of Lian Maiduan.Wherein, FutureinSmallWindow is integer, and FutureinSmallWindow is 1 representative Main broadcaster represents Lian Maizhe in the second window, master for 0 in first window, FutureinSmallWindow in the second window, Lian Maizhe It broadcasts in first window.If current FutureinSmallWindow is 1, show main broadcaster in the second window, if necessary to execute window Mouth handover operation, then be transformed to 0 for the value of FutureinSmallWindow;Likewise, if current FutureinSmallWindow is 0, shows that Lian Maizhe in the second window, if necessary to execute windows exchange operation, then will The value of FutureinSmallWindow is transformed to 1.
After control server receives the windows exchange request of main broadcaster end server, windows exchange is determined whether. Wherein, control server mainly judges whether there may be exceptions during this windows exchange, such as, if according to pre- It is abnormal if it does not exist if rule switches over, then allow windows exchange, otherwise, do not allow windows exchange.Control server will be The no information for allowing windows exchange returns to main broadcaster end server, and whether main broadcaster end server is permitted according to what control server was fed back Perhaps the information switched executes windows exchange operation or does not execute windows exchange operation.
Wherein, when main broadcaster end, server receives the information of permission windows exchange of control server return, then change Current window switching mark, that is, change the value of nowinSmallWindow, at this point, the value of nowinSmallWindow is equal to The value of FutuerinSmallWindow, wherein windows exchange mark second window of characterization shows the video pictures at main broadcaster end Or the video pictures of Lian Maiduan.Then, it according to the value of the windows exchange mark FutuerinSmallWindow after change, executes Windows exchange operation, and show the pet name on main broadcaster end in the second window, it is that main broadcaster goes back that spectators can be allowed, which to understand in the second window, It is Lian Maizhe.
After the present embodiment main broadcaster end server receives the response message for whether allowing windows exchange of control server, just change Become the value of the second Window variable nowinSmallWindow, can guarantee that the switching of window is more reliable in this way.If taken in control The response message of business device just changes the value of nowinSmallWindow before returning, if there are exception or nets for control server Network will will lead to this switching and can not be normally carried out in the presence of abnormal, and the main broadcaster end of local is switched, viewer end but without Method switching, causes the switching in main broadcaster end and viewer end asynchronous.And whether the present embodiment receives control server return Allow windows exchange information when, just decide whether the windows exchange for carrying out local main broadcaster end so that switching after main broadcaster end and The information of viewer end is consistent.
In another embodiment of the present invention, it is identified in the step S42 according to the windows exchange after change, executes window Mouthful handover operation specifically includes: being identified according to the windows exchange after change, the location information of current first window is revised as the The location information of second window is revised as the location information of first window by the location information of two windows, to realize cutting for window It changes.
Specifically, if the windows exchange mark after changing shows that the video pictures at main broadcaster end are shown in the second window, Lian Mai The video pictures at end are shown in first window, then the location information that the video pictures at main broadcaster end are currently located window are revised as The location information that the video pictures of Lian Maiduan are currently located window is revised as the position of the second window by the location information of one window Information;If the windows exchange mark after changing shows that the video pictures of Lian Maiduan are shown in the second window, the video at main broadcaster end is drawn Face is shown in first window, then the location information that the video pictures of Lian Maiduan are currently located window is revised as to the position of first window The location information that the video pictures at main broadcaster end are currently located window, is revised as the location information of the second window by confidence breath.
In one embodiment of the invention, the step S42 further include: the step S42 further include: in main broadcaster end Video flowing plug-flow component is identified according to the windows exchange after change, and the video pictures of Lian Maiduan and the video pictures at main broadcaster end are closed At video flowing;By the pushing video streaming after synthesis to streaming server, for streaming server by pushing video streaming to viewer end, In, it include windows exchange notification information in the video flowing.
After the location information switching of the aforementioned current window by main broadcaster end, main broadcaster end, which switches current window, to be identified The value of nowinSmallWindow is sent to video flowing plug-flow component, and video flowing plug-flow component is according to nowinSmallWindow's Value one pushing video streaming of synthesis to streaming server, for streaming server by the pushing video streaming after synthesis to viewer end.Specifically , if the value of nowinSmallWindow illustrates main broadcaster in the second window for 1, Lian Maizhe is in first window, then video flowing pushes away It flows component and the Lian Maizhe video pictures of acquisition and main broadcaster's video pictures is synthesized into a main broadcaster in the second window Lian Maizhe first The video flowing of window.If the value of nowinSmallWindow is 0, illustrate main broadcaster in first window, Lian Maizhe in the second window, Then the Lian Maizhe video pictures of acquisition and the video pictures of main broadcaster are synthesized a main broadcaster in first window by video flowing plug-flow component Video flowing of the Lian Maizhe in the second window.Video flowing plug-flow component by the pushing video streaming after synthesis to streaming server, for stream Server is by the pushing video streaming after synthesis to viewer end.Video flowing plug-flow component gives stream service in the pushing video streaming that will be synthesized During device, it is embedded in a windows exchange notification information in video streaming.
In one embodiment of the invention, windows exchange mark is carried in the windows exchange notification information;It is described After step S4 further include: when viewer end listens to windows exchange notification information, according in the notification information of windows exchange Windows exchange mark, shows the pet name in the second window in viewer end.
Viewer end can monitor windows exchange notification information in video flowing in real time, when listening to windows exchange notification information, According to the value of the windows exchange mark nowinSmallWindow carried in windows exchange notification information, to show in viewer end the The pet name of two windows.If the value of nowinSmallWindow is 1, illustrate that main broadcaster in the second window, shows in the bottom of the second window Show the pet name of main broadcaster, if the value of nowinSmallWindow is 0, illustrates Lian Maizhe in the second window, in the second window Bottom shows the pet name of Lian Maizhe.
The present embodiment determines whether window can be cut according to the information for whether allowing windows exchange that control server returns It changes, switching is just determined when only meeting switching condition, after the location information switching of window, video flowing plug-flow component is regarded The synthesis of frequency stream, while windows exchange notification information is embedded in the video flowing for being pushed to viewer end.Viewer end only receives view Frequency flows, then must will receive windows exchange notification information, viewer end is according to the windows exchange carried in the windows exchange communication information Mark carrys out the pet name of exchange screen, can be well realized in the window of main broadcaster end and Lian Maiduan in this way the switching of video pictures and The switching of the pet name.
It referring to figs. 2 and 3, is windows exchange device in the company wheat live streaming of another embodiment of the present invention, including main broadcaster end Server 1 and control server 2, wherein main broadcaster end server 1 include monitor module 11, judgment module 12, sending module 13, Receiving module 14 and execution module 16.
Wherein, module 11 is monitored, for monitoring the windows exchange selection operation of client;
Judgment module 12, for judging whether window can switch according to windows exchange selection operation;
Sending module 13 sends windows exchange request to control server if can switch for window;
Receiving module 14, for receive control server according to the windows exchange request return whether permission window is cut The information changed;
Execution module 16, for according to the information for whether allowing windows exchange, executing windows exchange operation or not Execute windows exchange operation;The control server 2, the windows exchange request for being sent according to main broadcaster end, judges whether to permit Perhaps windows exchange;Wherein, windows exchange operation is window where window where the video clip of main broadcaster end and Lian Maiduan video clip Switching.
Wherein, the window includes first window and the second window, main broadcaster end server 1 further include:
Update module 15, if the information of the permission windows exchange for receiving control server return, updates current Windows exchange mark, wherein windows exchange mark second window of characterization shows main broadcaster end video pictures or Lian Maiduan video Picture;
Display module 17 executes windows exchange for the windows exchange mark after execution module 16 is according to change After operation, the pet name of the second window on main broadcaster end is shown.
Windows exchange device further includes viewer end server 3 in even wheat live streaming provided in this embodiment, the viewer end clothes Business device 3 is shown for being identified according to the windows exchange in windows exchange notification information when listening to windows exchange notification information Show the pet name in the second window of viewer end.
Based on connect provided by above-mentioned Fig. 2 and Fig. 3 corresponding embodiment wheat live streaming in windows exchange device, the present invention also provides The test equipment of windows exchange device in a kind of even wheat live streaming.Referring to fig. 4, the test for connecting windows exchange device in wheat live streaming Equipment includes: processor (processor) 401, memory (memory) 402, communication interface (Communications Interface) 403 and bus 404;
Wherein, processor 401, memory 402 and communication interface 403 complete mutual communication by bus 404 respectively;
Information of the communication interface 403 for the test equipment and even in wheat live streaming between the communication equipment of windows exchange device Transmission;
Processor 401 is used to call the program instruction in memory 402, is provided with executing above-mentioned Fig. 1 corresponding embodiment Company wheat live streaming in windows switching method, for example, monitor the windows exchange selection operation of client, and according to windows exchange Selection operation, judges whether window can switch;If can switch, windows exchange request is sent to control server;Receive control The information for whether allowing windows exchange that server is returned according to windows exchange request;Whether window is allowed to cut according to described The information changed executes windows exchange operation or does not execute windows exchange operation;Wherein, windows exchange operation is main broadcaster end video The switching of window where window where interface and Lian Maiduan video clip.
The present invention discloses a kind of computer program product, which can including being stored in non-transient computer The computer program on storage medium is read, which includes program instruction, when program instruction is computer-executed, meter Calculation machine, which is able to carry out provided by above-mentioned Fig. 1 corresponding embodiment, connects windows switching method in wheat live streaming, for example, monitors client The windows exchange selection operation at end, and according to windows exchange selection operation, judge whether window can switch;If can switch, to Control server sends windows exchange request;Receive control server according to the windows exchange request return whether permission window The information of mouth switching;According to the information for whether allowing windows exchange, executes windows exchange operation or do not execute window and cut Change operation;Wherein, windows exchange operation is cutting for window where window where the video clip of main broadcaster end and Lian Maiduan video clip It changes.
The present invention provides a kind of non-transient computer readable storage medium, non-transient computer readable storage medium storage Computer instruction, the computer instruction execute computer to connect window in wheat live streaming provided by above-mentioned Fig. 1 corresponding embodiment and cut Change method, for example, monitor the windows exchange selection operation of client, and according to windows exchange selection operation, judge window Whether can switch;If can switch, windows exchange request is sent to control server;Control server is received according to the window The information for whether allowing windows exchange that switching request returns;According to the information for whether allowing windows exchange, window is executed Handover operation does not execute windows exchange operation;Wherein, windows exchange operation is window and company where the video clip of main broadcaster end The switching of window where the video clip of wheat end.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The embodiments such as test equipment of windows exchange device are only schematical in company wheat live streaming described above, In as illustrated by the separation member unit may or may not be physically separated, component shown as a unit can To be or may not be physical unit, it can it is in one place, or may be distributed over multiple network units. Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.This field is general Logical technical staff is without paying creative labor, it can understands and implements.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Certain Part Methods of example or embodiment.
Windows switching method and device in even wheat live streaming provided by the invention, can effectively realize in even wheat live streaming process The windows exchange of middle main broadcaster and Lian Maizhe, and it is capable of after windows exchange the pet name of accurately display window, realize window view Frequency stream switching switches synchronous with city.During local main broadcaster end carries out windows exchange, main broadcaster end server is being received After the information of the permission windows exchange returned to control server, just determine to carry out windows exchange, such energy at local main broadcaster end Enough ensure the simultaneous display of the video flowing window at main broadcaster end and viewer end.
Finally, the present processes are only preferable embodiment, it is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in protection of the invention Within the scope of.

Claims (8)

1. windows switching method in a kind of even wheat live streaming characterized by comprising
S1 monitors the windows exchange selection operation of client, and according to windows exchange selection operation, judges whether window can be cut It changes;
S2 sends windows exchange request to control server if can switch;
S3 receives the information for whether allowing windows exchange that control server is returned according to windows exchange request;
S4 executes windows exchange operation or does not execute windows exchange operation according to the information for whether allowing windows exchange;
Wherein, windows exchange operation is the switching of window where window where the video clip of main broadcaster end and Lian Maiduan video clip;
The window includes first window and the second window, before the step S1 further include:
Detect the location information of first window or the second window in main broadcaster's client;
Switching selection gesture or switching push button are added in first window according to the location information of first window;Alternatively, according to The location information of second window, in a second window addition switching select gesture or switching push button;
Gesture or the click switching push button is selected to carry out windows exchange selection operation by touching the switching;
Judging whether window can switch in the step S1 further includes:
It is that voice connects wheat or video connects wheat that judgement, which currently connects wheat, if voice connects wheat, then window cannot switch, if video connects Wheat, then window can switch.
2. connecting windows switching method in wheat live streaming as described in claim 1, which is characterized in that the step S4 is specifically included:
S41 changes current window switching mark if receiving the information of the permission windows exchange of control server return, In, windows exchange mark second window of characterization shows main broadcaster end video pictures or Lian Maiduan video pictures;
S42 is identified according to the windows exchange after change, executes windows exchange operation, and show the second window in main broadcaster's client The pet name.
3. connecting windows switching method in wheat live streaming as claimed in claim 2, which is characterized in that basis changes in the step S42 Windows exchange mark after change executes windows exchange operation and specifically includes:
According to the windows exchange mark after change, the position that the location information of current first window is revised as the second window is believed The location information of second window, is revised as the location information of first window, to realize first window and second the window's position by breath The switching of information.
4. connecting windows switching method in wheat live streaming as claimed in claim 3, which is characterized in that the step S42 further include:
Video flowing plug-flow component in main broadcaster end is identified according to the windows exchange after change, by the video pictures of Lian Maiduan and main broadcaster The video pictures synthetic video stream at end;
By the pushing video streaming after synthesis to streaming server, for streaming server by pushing video streaming to viewer end, wherein it is described It include windows exchange notification information in video flowing.
5. connecting windows switching method in wheat live streaming as claimed in claim 4, which is characterized in that the windows exchange notification information In carry windows exchange mark;
After the step S4 further include:
When viewer end listens to the windows exchange notification information in video flowing, according to the window in the notification information of windows exchange Switching mark, shows the pet name in the second window in viewer end.
6. windows exchange device in a kind of even wheat live streaming, which is characterized in that including main broadcaster end server and control server;It is described Main broadcaster end server includes:
Module is monitored, for monitoring the windows exchange selection operation of client;
Judgment module, for judging whether window can switch according to windows exchange selection operation;
Sending module sends windows exchange request to control server if can switch for window;
Receiving module, the letter for whether allowing windows exchange returned for receiving control server according to windows exchange request Breath;
Execution module, for executing windows exchange operation or not executing window according to the information for whether allowing windows exchange Mouth handover operation;
The control server, the windows exchange request for being sent according to main broadcaster end determine whether windows exchange, and will The information of windows exchange whether is allowed to return to main broadcaster end;
Wherein, windows exchange operation is the switching of window where window where the video clip of main broadcaster end and Lian Maiduan video clip;
Wherein, the window includes first window and the second window, and main broadcaster end server includes further include:
Detect the location information of first window or the second window in main broadcaster's client;
Switching selection gesture or switching push button are added in first window according to the location information of first window;Alternatively, according to The location information of second window, in a second window addition switching select gesture or switching push button;
Gesture or the click switching push button is selected to carry out windows exchange selection operation by touching the switching;
It is described to judge whether window switch and further include:
It is that voice connects wheat or video connects wheat that judgement, which currently connects wheat, if voice connects wheat, then window cannot switch, if video connects Wheat, then window can switch.
7. connecting windows exchange device in wheat live streaming as claimed in claim 6, which is characterized in that the window includes first window With the second window, main broadcaster end server further include:
Update module, if the information of the permission windows exchange for receiving control server return, updates current window and cut Dehorn is known, wherein windows exchange mark second window of characterization shows main broadcaster end video pictures or Lian Maiduan video pictures;
Display module is shown after executing windows exchange operation for the windows exchange mark after execution module is according to change Show the pet name on main broadcaster end in the second window.
8. connecting windows exchange device in wheat live streaming as claimed in claim 7, which is characterized in that further include viewer end server;
The viewer end server, for when listening to windows exchange notification information, according in windows exchange notification information Windows exchange mark, shows the pet name in the second window of viewer end.
CN201710258812.XA 2017-04-19 2017-04-19 It is a kind of to connect windows switching method and device in wheat live streaming Active CN107124652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710258812.XA CN107124652B (en) 2017-04-19 2017-04-19 It is a kind of to connect windows switching method and device in wheat live streaming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710258812.XA CN107124652B (en) 2017-04-19 2017-04-19 It is a kind of to connect windows switching method and device in wheat live streaming

Publications (2)

Publication Number Publication Date
CN107124652A CN107124652A (en) 2017-09-01
CN107124652B true CN107124652B (en) 2019-08-02

Family

ID=59724992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710258812.XA Active CN107124652B (en) 2017-04-19 2017-04-19 It is a kind of to connect windows switching method and device in wheat live streaming

Country Status (1)

Country Link
CN (1) CN107124652B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864122B (en) * 2017-10-18 2021-05-28 武汉斗鱼网络科技有限公司 Display method and device for live stream of main broadcast with wheat
CN108900854B (en) * 2018-07-06 2021-05-28 武汉斗鱼网络科技有限公司 Live broadcast microphone room switching method, storage medium, equipment and system
CN109511007B (en) * 2018-11-29 2021-05-04 广州市百果园信息技术有限公司 Network live broadcast method, device, equipment and storage medium
CN114205633B (en) * 2020-08-31 2024-03-08 腾讯科技(深圳)有限公司 Live interaction method and device, storage medium and electronic equipment
CN112738610A (en) * 2020-12-25 2021-04-30 北京达佳互联信息技术有限公司 Display control method and device of multimedia data, electronic equipment and storage medium
CN115134625B (en) * 2022-06-30 2024-09-24 广州方硅信息技术有限公司 Game data display method and device under continuous wheat direct play, electronic equipment and medium
CN115529485B (en) * 2022-09-14 2024-06-18 北京字跳网络技术有限公司 Live video processing method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013117038A1 (en) * 2012-02-08 2013-08-15 海尔集团公司 Video multi-screen sharing method and system for realizing same
CN106028143A (en) * 2016-05-27 2016-10-12 北京小米移动软件有限公司 Video live broadcasting method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898341A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Method and mobile client enabling simultaneous video live broadcast by two persons
CN106331754A (en) * 2016-08-18 2017-01-11 北京奇虎科技有限公司 Method of via-microphone live broadcast in live Internet broadcast, and anchor-side device
CN106454537B (en) * 2016-10-14 2020-04-14 广州华多网络科技有限公司 Video live broadcast method and related equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013117038A1 (en) * 2012-02-08 2013-08-15 海尔集团公司 Video multi-screen sharing method and system for realizing same
CN106028143A (en) * 2016-05-27 2016-10-12 北京小米移动软件有限公司 Video live broadcasting method and device

Also Published As

Publication number Publication date
CN107124652A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
CN107124652B (en) It is a kind of to connect windows switching method and device in wheat live streaming
US11711670B2 (en) Method for activating service based on user scenario perception, terminal device, and system
CN102291425B (en) Intelligent filtering method and system for render status determination in a screen sharing system
CN111882582B (en) Image tracking correlation method, system, device and medium
CN108334525A (en) A kind of method for exhibiting data and device
KR101663891B1 (en) Method, mobile station and chatting server for displaying extracted message differently in chatting room
CN102436339A (en) Display control method and device for modal dialog boxes
US20140372506A1 (en) Managing and using remote applications on a mobile device
EP3570493A1 (en) Systems and methods for context based multi-dimensional network visualization
CN102984343B (en) Information cuing method, device and mobile terminal
CN108829314B (en) Screenshot selecting interface selection method, device, equipment and storage medium
CN107765976B (en) Message pushing method, terminal and system
TW200841674A (en) Apparatus and methods of providing and presenting representations of communication events on a map
US20160291836A1 (en) Smart terminal and associated method for displaying application icons
CN111880879B (en) Playing method, device, equipment and storage medium of dynamic wallpaper
CN104426939A (en) Information processing method and electronic equipment
CN110290213A (en) Intelligent robot management method and device and electronic equipment
CN107908637A (en) The entity update method and system in a kind of knowledge based storehouse
CN106302932A (en) The method and apparatus checking log in communication terminal
CN109918157B (en) Operation processing method and device
CN109873980A (en) Video monitoring method, device and terminal device
CN111601049A (en) Multi-device control method, device and system
CN103530020B (en) The method and device of information operation
CN110658969B (en) Picture processing method, device, equipment and storage medium
CN112433723A (en) Personalized list development method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant