Summary of the invention
The embodiment of the present invention provides a kind of video broadcasting method and device, can be avoided and takes a long time to other
Participant carry out dial-up, establish the preparations such as communication connection, reduce cost of labor and consumption of reducing work hours.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of video broadcasting method, comprising:
The identification information and character string information that distribution apparatus is sent according to initiating terminal generate room address, and by described
The display unit of distribution apparatus is shown;
The access request sent from terminal is received, according to the access request to described from terminal distribution access address, and
Establish the connection from terminal and video playing room, the access request by it is described from terminal according to the hair read
The room address that cloth unit is shown generates, a video playing room be used to access initiating terminal and at least one from end
End;
Receive the video data of the initiating terminal publication in the video playing room, and by the video data to connecing
The slave terminal for entering the video playing room is sent.
With reference to first aspect, in the first possible implementation of the first aspect, described to be sent according to initiating terminal
Identification information and character string information generate room address, and shown by the display unit of the distribution apparatus, comprising:
The distribution apparatus receives the solicited message that the initiating terminal is sent, and the solicited message includes that the publication is set
Standby identification information and character string information;
Room address is generated according to the identification information of the distribution apparatus and character string information, and utilizes the room address
Establish the video playing room;
Encoding of graphs is generated according to the room address, and the figure is shown by the display unit of the distribution apparatus
Coding.
The possible implementation of with reference to first aspect the first, in the second possible implementation, further includes:
Address list is generated, and by the room address in the video playing room established and/or encoding of graphs, is recorded in institute
State address list;
The address list is shown by the display unit of the distribution apparatus.
The possible implementation of second with reference to first aspect, in the third possible implementation, further includes:
It generates for showing the browsing pages of the address list, and issues the address information of the browsing pages;
The browsing pages are pushed to the terminal for sending access request.
With reference to first aspect, in a fourth possible implementation of the first aspect, it is described by the video data to
The slave terminal for accessing the video playing room is sent, comprising:
It is determined according to the type information for the slave terminal for accessing the video playing room corresponding respectively from the drawing stream service of terminal
Device, wherein one from the type information of terminal include one system type information from terminal and device model information, one
The corresponding type information of kind drawing streaming server type information corresponding with another kind drawing streaming server is not exactly the same;
The video data is sent from terminal to each by identified drawing streaming server.
With reference to first aspect, in the fifth possible implementation of the first aspect, further includes:
A video data issued from terminal in the video playing room is received, and by one from terminal
The video data of publication is to the initiating terminal for accessing the video playing room and in addition to other one from terminal from end
End is sent.
Second aspect, the embodiment of the present invention provide a kind of video play device, comprising:
Release unit, identification information and character string information for being sent according to initiating terminal generate room address, and lead to
The display unit for crossing the distribution apparatus is shown;
Access unit, for receiving the access request sent from terminal, according to the access request to described from terminal point
With access address, and establish the connection from terminal and video playing room, the access request by it is described from terminal according to
The room address that the release unit read is shown generates, and a video playing room be used to access initiating terminal
With at least one from terminal;
Transmission unit, for receiving the video data of the initiating terminal publication in the video playing room, and by institute
Video data is stated to send to the slave terminal for accessing the video playing room.
In conjunction with second aspect, in the first possible implementation of the second aspect, the release unit is specifically used for
The solicited message that the initiating terminal is sent is received, the solicited message includes the identification information and character string of the distribution apparatus
Information;And room address is generated according to the identification information of the distribution apparatus and character string information, and utilize the room address
Establish the video playing room;And encoding of graphs is generated according to the room address, and pass through the display of the distribution apparatus
Unit shows the encoding of graphs;
And/or the release unit, it is specifically used for generating address list, and by the room in the video playing room established
Between address and/or encoding of graphs, be recorded in the address list;And it is shown describedly by the display unit of the distribution apparatus
Location list;
And/or the release unit, specifically for generating for showing the browsing pages of the address list, and issue
The address information of the browsing pages;And the browsing pages are pushed to the terminal for sending access request.
In conjunction with second aspect, in a second possible implementation of the second aspect, the access unit is specifically used for
It is determined according to the type information for the slave terminal for accessing the video playing room corresponding respectively from the drawing streaming server of terminal, wherein
One from the type information of terminal include one system type information from terminal and device model information, a kind of drawing stream clothes
The corresponding type information of business device type information corresponding with another kind drawing streaming server is not exactly the same;And pass through identified drawing
Streaming server sends the video data from terminal to each.
In conjunction with second aspect, in the third possible implementation of the second aspect, the transmission unit is also used to connect
Receive a video data issued from terminal in the video playing room, and by one video issued from terminal
Data are sent to the initiating terminal for accessing the video playing room and in addition to other one from terminal from terminal.
Video broadcasting method and device provided in an embodiment of the present invention, can according to initiating terminal send identification information and
Character string information generates room address, and show by the display unit of the distribution apparatus, when receiving from terminal transmission
When access request, broadcast to described from terminal distribution access address, and described in foundation from terminal and video according to the access request
The connection in room is put, and the video data is sent to the slave terminal for accessing the video playing room.Relative to existing skill
Carry out the scheme that successively manual dialup participates in video conference in art, the present invention realizes the automatic foundation and fastly in video conference room
Speed publication, participant only need to can be from by the encoding of graphs that browsing address list or operating terminal equipment scan room address
It is dynamic to participate in video conference, it avoids and takes a long time to other participants progress dial-up, foundation communication connection etc.
Preparation, to reduce cost of labor and consumption of reducing work hours.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, with reference to the accompanying drawing and specific embodiment party
Present invention is further described in detail for formula.Embodiments of the present invention are described in more detail below, the embodiment is shown
Example is shown in the accompanying drawings, and in which the same or similar labels are throughly indicated same or similar element or has identical or class
Like the element of function.It is exemplary below with reference to the embodiment of attached drawing description, for explaining only the invention, and cannot
It is construed to limitation of the present invention.Those skilled in the art of the present technique are appreciated that unless expressly stated, odd number shape used herein
Formula " one ", "one", " described " and "the" may also comprise plural form.It is to be further understood that specification of the invention
Used in wording " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that
In the presence of or add other one or more features, integer, step, operation, element, component and/or their group.It should be understood that
When we say that an element is " connected " or " coupled " to another element, it can be directly connected or coupled to other elements, or
There may also be intermediary elements.In addition, " connection " used herein or " coupling " may include being wirelessly connected or coupling.Here make
Wording "and/or" includes one or more associated any cells for listing item and all combinations.The art
Technical staff is appreciated that unless otherwise defined all terms (including technical terms and scientific terms) used herein have
Meaning identical with the general understanding of the those of ordinary skill in fields of the present invention.It should also be understood that such as general
Those terms, which should be understood that, defined in dictionary has a meaning that is consistent with the meaning in the context of the prior art, and
Unless defined as here, it will not be explained in an idealized or overly formal meaning.
Method flow provided by the present embodiment can specifically be applied in the system of framework as shown in Figure 1, wherein wrapping
It includes: distribution apparatus, the display unit of distribution apparatus and at least two terminal devices.Wherein, distribution apparatus is particularly used for generating
Room address, or the server apparatus of management (such as: add drop list item refreshes in real time) address list, such as: background server,
Work station etc.;The display unit of distribution apparatus specifically can be the display connecting with distribution apparatus, projector etc. and can show
The equipment of image or text, display unit are usually connected by data line with distribution apparatus, can also be established by wireless network
Connection;It include at least two terminal devices in the system of framework as shown in Figure 1, in actual use, if an end
End equipment has sent the information for requesting to establish video playing room to distribution apparatus, then the terminal device is properly termed as initiating
Terminal.And the video playing room for having built up, access the end other than initiating terminal in a video playing room
End equipment is properly termed as from terminal.
In the present embodiment, as shown in Figure 2, distribution apparatus includes input unit, processor unit, output unit, leads to
Believe the components such as unit, storage unit, Peripheral Interface.These components are communicated by one or more bus.Art technology
Personnel are appreciated that the structure of electronic equipment shown in figure and do not constitute a limitation of the invention that it is either type trunk
Structure is also possible to hub-and-spoke configuration, can also include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.Wherein: input unit for realizing terminal device and distribution apparatus interaction and/or information input to hair
In cloth equipment.For example, input unit can receive the number or character information of user's input, to generate and user setting or function
Control related signal input.In the specific embodiment of the invention, input unit can be touch panel, be also possible to other
Human-computer interaction interface, such as entity enter key, microphone etc. can also be other external information capture devices, such as camera etc..
Processor unit is the control centre of distribution apparatus, using the various pieces of various interfaces and the entire distribution apparatus of connection,
By running or execute the software program and/or module that are stored in storage unit, and calls and be stored in storage unit
Data, to execute the various functions and/or processing data of distribution apparatus.Processor unit can be by integrated circuit
(Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection
The encapsulation IC of identical function or different function and form.For example, processor unit can only include central processing unit
(Central Processing Unit, abbreviation CPU) is also possible to GPU, digital signal processor (Digital Signal
Processor, abbreviation DSP) and the control chip (such as baseband chip) in communication unit combination.In embodiment party of the present invention
In formula, CPU can be single operation core, also may include multioperation core.Communication unit makes to issue for establishing communication channel
Equipment passes through communication channel to be connected to each terminal device, or for the Video service to terminal device pushing video data
Device.Communication unit may include WLAN (Wireless Local Area Network, abbreviation wireless LAN) mould
Communication modules and the corresponding radio frequency (Radio of communication module such as block, bluetooth module, base band (Base Band) module
Frequency, abbreviation RF) circuit, for carrying out WLAN communication, Bluetooth communication, infrared communication and/or honeycomb fashion
Communication system communication, for example, wideband code division multiple access (Wideband Code Division Multiple Access, referred to as
) and/or high-speed downstream packet access (High Speed Downlink Packet Access, abbreviation HSDPA) W-CDMA.It deposits
Storage unit can be used for storing software program and module, processing unit by operation be stored in storage unit software program and
Module, thereby executing the various function application and realization data processing of distribution apparatus.Storage unit mainly includes program storage
Area and data storage area, wherein program storage area can application program needed for storage program area, at least one function;Data
Memory block, which can be stored, uses created data (such as the room address information in video playing room) etc. according to distribution apparatus,
And the data (such as initiating terminal or the video data sent from terminal) that storage receives.In specific embodiment party of the present invention
In formula, storage unit may include volatile memory, such as non-volatile dynamic random access memory (Nonvolatile
Random Access Memory, abbreviation NVRAM), phase change random access memory (Phase Change RAM, referred to as
PRAM), magnetic-resistance random access memory (Magetoresistive RAM, abbreviation MRAM) etc. can also include non-volatile deposits
Reservoir, for example, at least a disk memory, Electrical Erasable programmable read only memory (Electrically
Erasable Programmable Read-Only Memory, abbreviation EEPROM), flush memory device, such as anti-or flash memory (NOR
Flash memory) or anti-and flash memory (NAND flash memory).Nonvolatile storage stores performed by processing unit
Operating system and application program.Processing unit is from nonvolatile storage load operating program and data to memory and by digital content
It is stored in mass storage.Operating system includes for controlling and managing general system tasks, such as memory management, storage
Equipment control, power management etc., and facilitate the various assemblies communicated between various software and hardwares and/or driver.Power supply is used
It is powered in the different components to distribution apparatus to maintain its operation.
In the present embodiment, the display unit of distribution apparatus can be a kind of image output unit, for output character, figure
Piece and/or video.Image output unit may include display panel, for example, by using LCD (Liquid Crystal Display, liquid
Crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode), Field Emission Display
Forms such as (field emission display, abbreviation FED) are come the display panel that configures.Or image output unit can wrap
Reflected displaying device, such as electrophoresis-type (electrophoretic) display are included, or utilizes interference of light modulation tech
The display of (Interferometric Modulation of Light).Image output unit may include individual monitor
Or various sizes of multiple displays.
In the present embodiment, terminal device includes but is not limited to mobile phone, PC, tablet computer, individual digital
Assistant (Personal Digital Assistant, PDA), media player, smart television and it is above-mentioned two or two with
On combination etc..
The embodiment of the present invention provides a kind of video broadcasting method, as shown in Figure 3, comprising:
The identification information and character string information that S1, distribution apparatus are sent according to initiating terminal generate room address, and pass through
The display unit of the distribution apparatus is shown.
Wherein, identification information specifically can be the information for identifying terminal device, the identification letter of different terminal devices
Cease it is different, such as: the IP address of terminal device, the work number of the user of terminal device or preset terminal device
Device numbering etc..Character string information be specifically used for indicating it is preset with terminal device there are the character string of corresponding relationship,
Such as: the title of the operating system of terminal device and version number, the title of the user affiliated function of terminal device, when video conference
Between information etc..
In this example it is shown that unit specifically can be the equipment such as the display being connected with distribution apparatus, smart television,
It is also possible to the display screen of any one terminal device in system as shown in Figure 1, the terminal device as display unit can be with
It establishes and communicates to connect with distribution apparatus in advance, distribution apparatus communicates room address or address list to distribution apparatus foundation
The terminal device of connection transmits, and is shown by the display screen for the terminal device for establishing communication connection with distribution apparatus.
S2, the access request that is sent from terminal of reception, according to the access request to described from terminal distribution access address,
And establish the connection from terminal and video playing room.
Wherein, access request from terminal according to the room address that the distribution apparatus read is shown by generating, a video
Play room be used to access initiating terminal and at least one from terminal.
It in the present embodiment, specifically can (Virtual Network Computing, be virtual network by web vnc
Computer) or rtmp (Real Time Messaging Protocol, real-time messages transport protocol), it is arranged in server end
Different server groups, and according to the participation number in video playing room, the broadcasting scheme of corresponding technology is selected, such as: it initiates
Terminal can be added in solicited message comprising information such as video conference scale, place or times, if the default of video conference connects
Enter amount and then use webvnc no more than 20 people, uses rtmp technology if access amount is not more than 20 people.
The video data of initiating terminal publication in video playing room described in S3, reception, and by the video data
It is sent to the slave terminal for accessing the video playing room.
In the present embodiment, video data specifically can be the vision signal of the display desktop of terminal device transmission, such as:
The interface PPT, the operation interface etc. of windows system.It is also possible to the video signal acquired by the camera of terminal device, for example regards
The picture signal etc. that frequency is shot when chatting.In the present embodiment, video data is alternatively referred to as video flowing.
In the present embodiment, the concrete mode that room address is shown by the display unit of the distribution apparatus, can wrap
It includes:
The distribution apparatus receives the solicited message that the initiating terminal is sent.
Wherein, the solicited message includes the identification information and character string information of the distribution apparatus, such as: user can be with
It include work number, the name of user, and setting by operation individual terminal devices to distribution apparatus solicited message, in solicited message
Meeting number, the information such as time.
Room address is generated according to the identification information of the distribution apparatus and character string information, and utilizes the room address
Establish the video playing room.
In the present embodiment, after distribution apparatus receives solicited message, the video playing room of the corresponding solicited message is established
Between and for the video playing room established distribute room address.As shown in Figure 4, access the terminal device in video playing room
It can be requested according to the room address in the video playing room to distribution apparatus or the video server being connected with distribution apparatus
Video data.
Encoding of graphs is generated according to the room address, and the figure is shown by the display unit of the distribution apparatus
Coding.
Wherein, encoding of graphs specifically can be two dimensional code or bar code etc..
Further, by the concrete mode of the display unit display room address of the distribution apparatus, can also include:
Address list is generated, and by the room address in the video playing room established and/or encoding of graphs, is recorded in institute
State address list.And the address list is shown by the display unit of the distribution apparatus.
In the practical application of the present embodiment, distribution apparatus can receive the solicited message that multiple initiating equipments are sent, and
Respectively each initiating equipment establishes corresponding video playing room, and by the room in all video playing rooms established
Location and/or encoding of graphs are shown in address list, in order to which user is by being searched and being connect by browsing address list from terminal
Enter video playing room.
In the present embodiment, the mode of a variety of publication room addresses or address list is additionally provided, such as:
It generates for showing the browsing pages of the address list, and issues the address information of the browsing pages.And to
The terminal for sending access request pushes the browsing pages.Such as: the URL of browsing pages can be shared to chat group or electronics
Mail, from the user of terminal by the operation of clickthrough, triggering sends access request from terminal to distribution apparatus, and accesses clear
Look at the page.
In the present embodiment, as shown in Figure 5, browsing pages can also show the room in one or several video playing rooms
Between address, such as: the room address in one or several video playing rooms is shown by way of picture browsing or lantern slide
Two dimensional code.
It in the present embodiment, can be by video-frequency data transmission system as shown in Figure 4, by the video data to access
The slave terminal in the video playing room is sent, and specific transmission flow includes:
It is determined according to the type information for the slave terminal for accessing the video playing room corresponding respectively from the drawing stream service of terminal
Device.And the video data is sent from terminal to each by identified drawing streaming server.
Wherein, one includes that one system type information from terminal and device model are believed from the type information of terminal
Breath, a kind of corresponding type information of drawings streaming server type information corresponding with another drawing streaming server are not exactly the same.
In the present embodiment, as shown in FIG. 6, multiple or multiple groups can be set and draw streaming server, one or a set of drawing stream
Server is known as " a kind of drawing streaming server ", and each draws streaming server to be used to send video to the terminal device of specified range
Data.Wherein, specified range can refer to the terminal device of given city, the terminal device of designated group, specified type terminal
Equipment (such as PC or smart phone etc.), specified operating system terminal device (such as windows system, IOS system or
Android system etc.) or be customized by the user setting terminal device division range.
Further, load-balanced server can also be set, and by executing preset load balancing for video
Data to different type, not homologous ray terminal send.Such as: load-balanced server obtains first eventually by stream pushing server
The Screen sharing request of end push;Load-balanced server is by drawing streaming server, by the screen content or video of first terminal
Stream is pushed to second terminal;Second terminal passes through the screen content or video flowing of web browser or player plays first terminal,
Wherein, when first terminal is by pushing video streaming to load-balanced server, link, two dimensional code or IP is can be generated in distribution apparatus
Address, second terminal user are scanned the two-dimensional code by IP address/clickthrough/, participate in Screen sharing, specifically can be by issuing
Equipment as load-balanced server, i.e., room address, the issuing function of address list and transmission of video load-balancing function
It is integrated on same server apparatus and realizes, different server apparatus also can be set and realize different functions.
Further, in the present embodiment, can also from from terminal to access video playing room other terminal devices
Video data is issued, therefore further includes following below scheme:
A video data issued from terminal in the video playing room is received, and by one from terminal
The video data of publication is to the initiating terminal for accessing the video playing room and in addition to other one from terminal from end
End is sent.Such as: as shown in Figure 7, during the progress of video conference, it can arbitrarily send and shield to distribution apparatus from terminal
Curtain sharing request, load-balanced server is obtained by stream pushing server issues the video that the slave terminal that Screen sharing is requested is sent
Data;Load-balanced server passes through drawing streaming server again, the video data that the slave terminal for issuing Screen sharing request is sent
Give initiating terminal in same video playing room and in addition to other one from terminal are from terminal.
Video broadcasting method provided in an embodiment of the present invention, the identification information and character string that can be sent according to initiating terminal
Information generates room address, and is shown by the display unit of the distribution apparatus, asks when receiving from the access that terminal is sent
When asking, according to the access request to described from terminal distribution access address, and establish described from terminal and video playing room
Connection, and the video data is sent to the slave terminal for accessing the video playing room.In compared with the existing technology into
Successively manual dialup of going participates in the scheme of video conference.The present invention realizes the automatic foundation in video conference room and quickly sends out
Cloth, participant can need to only be joined automatically by the encoding of graphs that browsing address list or operating terminal equipment scan room address
With video conference, avoids and take a long time to preparations such as other participants progress dial-up, foundation communication connections
Work, to reduce cost of labor and consumption of reducing work hours.
The embodiment of the present invention, which also provides one kind, may operate in video play device on distribution apparatus, as shown in Figure 8, it should
Device includes:
Release unit, identification information and character string information for being sent according to initiating terminal generate room address, and lead to
The display unit for crossing the distribution apparatus is shown.
Access unit, for receiving the access request sent from terminal, according to the access request to described from terminal point
With access address, and establish the connection from terminal and video playing room, the access request by it is described from terminal according to
The room address that the release unit read is shown generates, and a video playing room be used to access initiating terminal
With at least one from terminal.
Transmission unit, for receiving the video data of the initiating terminal publication in the video playing room, and by institute
Video data is stated to send to the slave terminal for accessing the video playing room.
Wherein, the release unit, the solicited message sent specifically for receiving the initiating terminal, the solicited message
Identification information and character string information including the distribution apparatus.And believed according to the identification information of the distribution apparatus and character string
Breath generates room address, and establishes the video playing room using the room address.And it is generated according to the room address
Encoding of graphs, and the encoding of graphs is shown by the display unit of the distribution apparatus.
And/or the release unit, it is specifically used for generating address list, and by the room in the video playing room established
Between address and/or encoding of graphs, be recorded in the address list.And it is shown describedly by the display unit of the distribution apparatus
Location list.
And/or the release unit, specifically for generating for showing the browsing pages of the address list, and issue
The address information of the browsing pages.And the browsing pages are pushed to the terminal for sending access request.
In the present embodiment, the access unit, specifically for according to the slave terminal for accessing the video playing room
Type information determines corresponding respectively from the drawing streaming server of terminal, wherein one from the type information of terminal include it is one from
The system type information and device model information of terminal, a kind of corresponding type information of drawing streaming server and another drawing stream service
The corresponding type information of device is not exactly the same.And the video counts are sent from terminal to each by identified drawing streaming server
According to.
In the present embodiment, the transmission unit is also used to receive one in the video playing room from terminal
The video data of publication, and will be one whole from the video data that terminal is issued to the initiation for accessing the video playing room
End and in addition to other one from terminal are sent from terminal.
Video play device provided in an embodiment of the present invention, the identification information and character string that can be sent according to initiating terminal
Information generates room address, and is shown by the display unit of the distribution apparatus, asks when receiving from the access that terminal is sent
When asking, according to the access request to described from terminal distribution access address, and establish described from terminal and video playing room
Connection, and the video data is sent to the slave terminal for accessing the video playing room.In compared with the existing technology into
Successively manual dialup of going participates in the scheme of video conference.The present invention realizes the automatic foundation in video conference room and quickly sends out
Cloth, participant can need to only be joined automatically by the encoding of graphs that browsing address list or operating terminal equipment scan room address
With video conference, avoids and take a long time to preparations such as other participants progress dial-up, foundation communication connections
Work, to reduce cost of labor and consumption of reducing work hours.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for equipment reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.Those of ordinary skill in the art will appreciate that realizing all or part of stream in above-described embodiment method
Journey is relevant hardware can be instructed to complete by computer program, and it is computer-readable that the program can be stored in one
It takes in storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage
Medium can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random
Access Memory, RAM) etc..The above description is merely a specific embodiment, but protection scope of the present invention is not
Be confined to this, anyone skilled in the art in the technical scope disclosed by the present invention, the change that can be readily occurred in
Change or replace, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with claim
Subject to protection scope.