CN109257615A - A kind of method and apparatus that net cast is shown - Google Patents
A kind of method and apparatus that net cast is shown Download PDFInfo
- Publication number
- CN109257615A CN109257615A CN201811115819.7A CN201811115819A CN109257615A CN 109257615 A CN109257615 A CN 109257615A CN 201811115819 A CN201811115819 A CN 201811115819A CN 109257615 A CN109257615 A CN 109257615A
- Authority
- CN
- China
- Prior art keywords
- video
- video flowing
- networked terminals
- view
- depending
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a kind of method and apparatus that net cast is shown, the method and device are applied in view networking, the view networking includes view networked server, and the first view networked terminals, the second view networked terminals that communicate to connect respectively with the view networked server;Described first depending on networked terminals in the trigger action for receiving live broadcast service, generate the video flowing acquisition instruction of the live broadcast service and be sent to view networked server, while acquiring and uploading the first video flowing;Depending on the video flowing acquisition instruction that networked server is uploaded according to the first view networked terminals, the second video flowing uploaded as the second view networked terminals of target terminal is obtained, then by the second video stream to the first view networked terminals;First view networked terminals show the first video flowing and the second decoding video stream high definition in the same display interface, the problem of overcoming prior art not and can be carried out HD video real time communication.
Description
Technical field
It is straight more particularly to a kind of method that net cast is shown and a kind of video the present invention relates to view networking technology field
Broadcast the device of display.
Background technique
With the development of science and technology, video communication is widely used, such as video conference, Video chat, to life
Living, work brings great convenience.
Currently, the communication of existing internet video can not achieve the HD video real-time Transmission of the whole network, the present invention be directed to
Upper problem improves.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
The method and a kind of corresponding device that net cast is shown that a kind of net cast to solve the above problems is shown.
To solve the above-mentioned problems, one side according to the present invention, it is aobvious that the embodiment of the invention discloses a kind of net casts
The method shown, the method are applied in view networking, and the view networking includes view networked server, and is joined respectively with the view
The first view networked terminals, the second view networked terminals of network server communication connection;The described method includes:
Described first when receiving the trigger action of live broadcast service depending on networked terminals, generates the video flowing of the live broadcast service
Acquisition instruction is simultaneously sent to view networked server, while acquiring the first video flowing;The view networked server is used for according to
Video flowing acquisition instruction obtains the second video flowing that the second view networked terminals upload, and determines and upload second video
The second of stream regards networked terminals as target terminal;
Described first depending on networked terminals by first video flowing described first depending on being shown as local view on networked terminals
Frequency picture, and it is uploaded to the view networked server;It is described to be used to give first video stream depending on networked server
The target terminal;
Described first receive that the view networked server is returned for the video flowing acquisition instruction depending on networked terminals the
Two video flowings, by the first of second video flowing local video picture described in simultaneous display depending on being shown as net on networked terminals
Network video pictures.
In a kind of preferred embodiment of the present invention, described first depending on being provided with Android system, the Android in networked terminals
It include JNI layers of object of application APP layer object and JAVA local interface in system.
In a kind of preferred embodiment of the present invention, described first receives the trigger action of live broadcast service depending on networked terminals
When, it generates the video flowing acquisition instruction of the live broadcast service and is sent to and include: depending on the step of networked server
When the APP layers of object receives the trigger action of live broadcast service, the video flowing for generating the live broadcast service is obtained
It instructs and is sent to the JNI layers of object;
The video flowing acquisition instruction is sent to view networked server by the JNI layers of object.
In a kind of preferred embodiment of the present invention, the method also includes:
When the APP layers of object receives the trigger action of live broadcast service, by the video on the first view networked terminals
Display control SurfaceView and preset decoding channels number are sent to the JNI layers of object;
The JNI layers of object is numbered according to the decoding channels, creates the first decoding channels and the second decoding channels, and right
The channel completion signal for completing the creation should be generated;Wherein, first decoding channels are for receiving the first view networking
Terminal acquisition the first video flowing, second decoding channels for receive it is described view networked server be directed to the video flowing obtain
The second video flowing that instruction fetch returns.
In a kind of preferred embodiment of the present invention, the first view networked terminals are by first video flowing described first
Include: depending on the step of being shown as local video picture on networked terminals
The APP layers of object completes signal according to the channel, and it is right to described JNI layers that the first decoding video stream of transmission is instructed
As;
The JNI layers of object is instructed according to first decoding video stream, creates the first Android decoder, and will be described
SurfaceView is bound as the binding parameter of the first Android decoder and the first Android decoder, is generated and is completed
First signal of the binding;
According to first signal, the JNI layers of object receives the first video flowing of the first decoding channels transmission, and
By first video stream to the first Android decoder;
The first Android decoder decodes first video flowing, and by decoded first video flowing described
Local video picture is shown as on SurfaceView.
In a kind of preferred embodiment of the present invention, the first view networked terminals are by second video flowing in simultaneous display
The first of the local video picture is depending on being shown as network video picture on networked terminals the step of include:
The APP layers of object completes signal according to the channel, and it is right to described JNI layers that the second decoding video stream of transmission is instructed
As;
The JNI layers of object is instructed according to second decoding video stream, creates the second Android decoder, and will be described
SurfaceView is bound as the binding parameter of the second Android decoder and the second Android decoder, is generated and is completed
The second signal of the binding;
According to the second signal, the JNI layers of object receives the second video flowing of the second decoding channels transmission, and
It is sent to the second Android decoder;
The second Android decoder decodes second video flowing, and by decoded second video flowing in simultaneous display
Network video picture is shown as on the SurfaceView of the local video picture.
To solve the above-mentioned problems, another aspect according to the present invention, the embodiment of the invention discloses another video is straight
The method for broadcasting display, the method are applied in view networking, view networking include regard networked server, and respectively with it is described
The first view networked terminals, the second view networked terminals depending on networked server communication connection;The described method includes:
The video flowing acquisition instruction that the view networked server is sent according to the first view networked terminals, obtains described the
The second video flowing that two view networked terminals upload, and determine that uploading the second of second video flowing regards networked terminals as target end
End;Wherein, the video flowing acquisition instruction be by described first depending on networked terminals in the trigger action for receiving live broadcast service
It is generated;
The view networked server is directed to the video flowing acquisition instruction, sends second video flowing to first view
Networked terminals;Described first is used to receive second video flowing depending on networked terminals, by second video flowing described first
Depending on being shown as network video picture on networked terminals;
It is described that the first video flowing that the first view networked terminals upload is received depending on networked server, and described first is regarded
Frequency stream is sent to the target terminal;Wherein, first video flowing is to receive live streaming depending on networked terminals by described first
It is collected when the trigger action of business, and first of the network video picture described in simultaneous display on networked terminals depending on being shown as
Local video picture.
To solve the above-mentioned problems, one side according to the present invention, it is aobvious that the embodiment of the invention discloses a kind of net casts
The device shown, described device are applied in view networking, and the view networking includes view networked server, and is joined respectively with the view
The first view networked terminals, the second view networked terminals of network server communication connection;Described first includes: depending on networked terminals
Video triggering collection module, for generating the live broadcast service in the trigger action for receiving live broadcast service
Video flowing acquisition instruction is simultaneously sent to view networked server, while acquiring the first video flowing;The view networked server is used for root
According to the video flowing acquisition instruction, the second video flowing that the second view networked terminals upload is obtained, and determines and uploads described the
The second of two video flowings regards networked terminals as target terminal;
Video show uploading module, for by first video flowing described first view be shown as on networked terminals local
Video pictures, and it is uploaded to the view networked server;The view networked server is used for first video stream
To the target terminal;
Video shows receiving module, for receiving the view networked server for video flowing acquisition instruction return
Second video flowing, by the first of second video flowing local video picture described in simultaneous display depending on being shown as on networked terminals
Network video picture.
In a kind of preferred embodiment of the present invention, described first depending on networked terminals further includes Android system frame, the peace
It include JNI layers of module of application APP layer module and JAVA local interface in tall and erect system framework.
To solve the above-mentioned problems, another aspect according to the present invention, the embodiment of the invention discloses another video is straight
Broadcast the device of display, described device is applied in view networking, the view networking include regard networked server, and respectively with it is described
The first view networked terminals, the second view networked terminals depending on networked server communication connection;It is described to include: depending on networked server
Video, which determines, obtains module, and the video flowing acquisition instruction for being sent according to the first view networked terminals obtains
The second video flowing that the second view networked terminals upload, and determine upload the second of second video flowing regard networked terminals as
Target terminal;Wherein, the video flowing acquisition instruction is depending on networked terminals by described first in the triggering for receiving live broadcast service
It is generated when operation;
The first delivery module of video sends second video flowing to described for being directed to the video flowing acquisition instruction
First view networked terminals;Described first is used to receive second video flowing depending on networked terminals, by second video flowing in institute
First is stated depending on being shown as network video picture on networked terminals;
The second delivery module of video, the first video flowing uploaded for receiving the first view networked terminals, and will be described
First video stream gives the target terminal;Wherein, first video flowing is to be received by described first depending on networked terminals
To live broadcast service trigger action when it is collected, and the network video picture described in simultaneous display first view networked terminals on
It is shown as local video picture.
The embodiment of the present invention includes following advantages:
The characteristic of application view networking of the embodiment of the present invention, the first view networked terminals regarded in networking, the second view networking is whole
End connect with depending on networked server, then first depending on networked terminals, second depending on networked terminals in the triggering for receiving live broadcast service
When operation, video flowing acquisition just is carried out, and upload video flowing collected;It is uploaded depending on networked server according to view networked terminals
Video flowing acquisition instruction, by first regard networked terminals, second view networked terminals upload video flowing obtain, interaction, can with this
It realizes and carries out high definition real-time live broadcast between the first view networked terminals, the second view networked terminals, the business function of high definition videophone,
Overcome the problems, such as prior art not and can be carried out HD video real time communication.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart for the method that net cast is shown of the embodiment of the present invention;
Fig. 6 is the step flow chart for the method that another kind net cast of the embodiment of the present invention is shown;
Fig. 7 is a kind of structural block diagram for the device that net cast is shown of the embodiment of the present invention;
Fig. 8 is the structural block diagram for the device that another kind net cast of the embodiment of the present invention is shown.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,
Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type
The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis
It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform
Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy
Enough transmitted comprising signaling and data.For voice and live broadcast service, handled depending on networking and unified video platform Streaming Media
Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and
Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media
Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes
Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but
The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time
The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black
The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net
The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich
The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type "
Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class
Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines
Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases
Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal.
Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve
Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end
Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve
Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area
The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or
National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array
Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine
Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet;
And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close
It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions
It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including
The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown)
Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table)
Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module
302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould
Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met,
It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould
The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine
Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet;
If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier
(stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet
Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1)
It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410
(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server.
Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes
Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA | SA | Reserved | Payload | CRC |
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages
64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment
It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server
Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of the core concepts of the embodiments of the present invention is proposed, it then follows regard the association of networking
View can be realized the whole network HD video real-time Transmission using depending on networking, push numerous Internet applications to HD video, high definition
First in view networking is regarded networked terminals, the second view networked terminals and connect with depending on networked server, then by aspectant characteristic
First depending on networked terminals, second depending on networked terminals in the trigger action for receiving live broadcast service, with regard to carry out video flowing acquisition, with
And upload video flowing collected;Depending on the video flowing acquisition instruction that networked server is uploaded according to view networked terminals, by the first view
The video flowing that networked terminals, the second view networked terminals upload calls interaction, can realize the first view networked terminals, the second view connection with this
High definition real-time live broadcast is carried out between network termination, the business function of high definition videophone overcomes prior art not and can be carried out high definition view
The problem of frequency real time communication.
Embodiment one:
As shown in figure 5, one side according to the present invention, shows a kind of method that net cast is shown of the embodiment of the present invention
Step flow chart, the method can be applied in view networking, view networking include regard networked server, and respectively with
The first view networked terminals, the second view networked terminals of the view networked server communication connection;The method can specifically include
Following steps:
Step 501, described first when receiving the trigger action of live broadcast service depending on networked terminals, generates the live broadcast service
Video flowing acquisition instruction and be sent to view networked server, while acquire the first video flowing;It is described to be used for depending on networked server
According to the video flowing acquisition instruction, the second video flowing that the second view networked terminals upload is obtained, and is determined described in upload
The second of second video flowing regards networked terminals as target terminal;
Step 502, described first depending on networked terminals by first video flowing described first depending on being shown on networked terminals
For local video picture, and it is uploaded to the view networked server;The view networked server is used for first video
Stream is sent to the target terminal;
Step 503, the first view networked terminals receive the view networked server and are directed to the video flowing acquisition instruction
The second video flowing returned, will be on the first view networked terminals of second video flowing local video picture described in simultaneous display
It is shown as network video picture.
In embodiments of the present invention, providing can be from the side for realizing HD video real-time communication depending on networked terminals angle
Formula:
User initiates the industry of net cast in such a way that remote control, switch button or triggering first are depending on networked terminals screen
Business, live broadcast service here include publication live streaming and watch live streaming, and such as publication live streaming initiates video calling for selection, are watched
Live streaming receives video calling for selection.Then first when receiving the trigger action of live broadcast service depending on networked terminals, just automatically generates
The video flowing acquisition instruction of the live broadcast service is sent to view networked server, while acquiring the first video flowing.Here video
Acquisition instruction is flowed, includes that the terminal coding for the target terminal connected and the terminal of itself is needed to compile in publication live broadcast service
Code and service request protocol data;It include the agreement for being directed to the return of service request protocol data in receiving live broadcast service
Data and the terminal coding of itself.
After the video flowing acquisition instruction for receiving the live broadcast service depending on networked server, just referred to according to video flowing acquisition
It enables and executes corresponding task, obtain video flowing.If depending on networked server receive be issue live broadcast service video flowing acquisition refer to
It enables, just first to be encoded according to the terminal of service request protocol data and target terminal in instruction to the as target terminal
Two view networked terminals send the service request of net cast, after target terminal is agreed to, then receive target terminal and upload the second video
Stream;If what is received depending on networked server is the video flowing acquisition instruction for receiving live broadcast service, just according in instruction for business
It is whole to obtain target directly using the terminal for initiating live broadcast service as target terminal for the agreement data of the return of request protocol data
Hold the second video flowing uploaded.
First depending on networked terminals by the first video flowing of acquisition described first depending on being shown as local video on networked terminals
The step of picture, not described here any more, is discussed in detail again in preferred embodiment below.Described first is regarded depending on networked server
After frequency stream is sent to the target terminal, the first video flowing is just shown as network video picture in target terminal.
First view networked terminals receive the second video flowing from target terminal by view networked server, by it in synchronization
The first of the local video picture is shown depending on being shown as network video picture on networked terminals, how to be shown as network picture here
The step of face, not described here any more, is discussed in detail again in preferred embodiment below.
First mentioned in the embodiment of the present invention regards networked terminals and second to regard networked terminals can be one species type
View networked terminals, or different types of view networked terminals, but may be implemented it is above-mentioned first view networked terminals institute energy
The step function of realization realizes the high definition real time communication of video.
In a kind of preferred embodiment of the present invention, described first depending on being provided with Android system, the Android in networked terminals
It may include JNI layers of object of application APP layer object and JAVA local interface in system.
In embodiments of the present invention, it is preferable to use Android systems as operating system, Android system for the first view networked terminals
System is made of if dividing by language two worlds, is the world Java and the local world Native respectively, JNI makes as bridge
Obtain the world Java and the intercommunication of the world Native.And write depending on the useful C&C++ language of data in networked server, so this hair
Bright embodiment realizes that APP layers of object are communicated with the conversion depending on data between networked server using JNI layers of object.The present invention is real
Example is applied by way of calling JNI layers of object, it finally can be by the first video flowing and the second video flowing high definition real-time display
On one view networked terminals.
In a kind of preferred embodiment of the present invention, described first receives the trigger action of live broadcast service depending on networked terminals
When, generating the video flowing acquisition instruction of the live broadcast service and being sent to can specifically include depending on the step of networked server:
When the APP layers of object receives the trigger action of live broadcast service, the video flowing for generating the live broadcast service is obtained
It instructs and is sent to the JNI layers of object;
The video flowing acquisition instruction is sent to view networked server by the JNI layers of object.
In embodiments of the present invention, application APP layer object belongs to the backstage of APP, and the operable interface APP of user is
The foreground of APP, when APP receives the trigger action of live broadcast service from the user, APP layers of object will automatic sensing to and give birth to
At the video flowing acquisition instruction of the live broadcast service, view networked server is sent to by JNI layers of object.
In a kind of preferred embodiment of the present invention, the method specifically can with the following steps are included:
When the APP layers of object receives the trigger action of live broadcast service, by the video on the first view networked terminals
Display control SurfaceView and preset decoding channels number are sent to the JNI layers of object;
The JNI layers of object is numbered according to the decoding channels, creates the first decoding channels and the second decoding channels, and right
The channel completion signal for completing the creation should be generated;Wherein, first decoding channels are for receiving the first view networking
Terminal acquisition the first video flowing, second decoding channels for receive it is described view networked server be directed to the video flowing obtain
The second video flowing that instruction fetch returns.
In embodiments of the present invention, the APP layer object and JNI layers of object provided in first terminal is receiving video flowing,
And video flowing is shown as to the preparation of local picture or network picture.The embodiment of the present invention uses SurfaceView conduct
The same display control of local picture and network picture, decoded video flowing are shown on SurfaceView.
In APP layers of object be preset with and regard networked server and the first view networked terminals negotiate after decoding channels
Number, such as decoding are 1001 come the decoding channels number of the second video flowing of networked server of considering oneself as, and decoding is from local (the
One regards networked terminals) upload the first video flowing decoding channels number be 2001, JNI layers of object according to different decoding channels
Number creates decoding channels corresponding with number, for example creates the first decoding channels and the second decoding channels, the first decoding channels
For receiving the first video flowing of the first view networked terminals acquisition, the second decoding channels are for receiving the view the Internet services
Device is directed to the second video flowing that the video flowing acquisition instruction returns, and letter is completed in the corresponding channel for generating the completion creation
Number.Hereafter, JNI layers of object receive the video flowing to come come networked server of considering oneself as, will be automatically according to the video flowing of institute's band
Number, place it on the second decoding channels, so that the second Android decoder is decoded below;JNI layers of object receive
The video flowing to come from first depending on networked terminals will place it in the first solution automatically according to the number of the video flowing of institute's band
On code channel, so that the first Android decoder is decoded below.
In a kind of preferred embodiment of the present invention, the first view networked terminals are by first video flowing described first
It can specifically include depending on the step of being shown as local video picture on networked terminals:
The APP layers of object completes signal according to the channel, and it is right to described JNI layers that the first decoding video stream of transmission is instructed
As;
The JNI layers of object is instructed according to first decoding video stream, creates the first Android decoder, and will be described
SurfaceView is bound as the binding parameter of the first Android decoder and the first Android decoder, is generated and is completed
First signal of the binding;
According to first signal, the JNI layers of object receives the first video flowing of the first decoding channels transmission, and
By first video stream to the first Android decoder;
The first Android decoder decodes first video flowing, and by decoded first video flowing described
Local video picture is shown as on SurfaceView.
In embodiments of the present invention, the first view networked terminals are provided and join received first video flowing in first view
The step of local video picture is shown as on network termination.APP layers of object complete signal, control according to the channel that JNI layers of object generate
JNI layers of object processed starts to carry out the work of Android decoder.Here the first decoding video stream instruction includes wanting decoded view
The data format of frequency stream, data volume size etc., JNI layers of object are instructed according to the first decoding video stream, creation the first Android decoding
Device, can be accurately by the first decoding video stream with this first Android decoder;Meanwhile JNI layers of object make SurfaceView
It is bound for the binding parameter of the first Android decoder and the first Android decoder, such first Android decoder is solved
Data after code can be converted to the received digital quantity video flowing of institute directly in rendering on SurfaceView
The displayable analog quantity video flowing of SurfaceView such as switchs to the H264 formatted data decoding of the first video flowing collected
Yuv format data, so that user can be immediately seen the local video picture acquired in real time, and very high definition.
In a kind of preferred embodiment of the present invention, the first view networked terminals are by second video flowing in simultaneous display
The first of the local video picture is depending on being shown as network video picture on networked terminals the step of can specifically include:
The APP layers of object completes signal according to the channel, and it is right to described JNI layers that the second decoding video stream of transmission is instructed
As;
The JNI layers of object is instructed according to second decoding video stream, creates the second Android decoder, and will be described
SurfaceView is bound as the binding parameter of the second Android decoder and the second Android decoder, is generated and is completed
The second signal of the binding;
According to the second signal, the JNI layers of object receives the second video flowing of the second decoding channels transmission, and
It is sent to the second Android decoder;
The second Android decoder decodes second video flowing, and by decoded second video flowing in simultaneous display
Network video picture is shown as on the SurfaceView of the local video picture.
In embodiments of the present invention, providing first will be from view received second video flowing of networked server depending on networked terminals
Described first depending on being shown as network video picture on networked terminals the step of.JNI layers of object are regarded according to the second of APP layers of object
Frequency stream solution code instruction is into the second Android decoder of creation, and then the second Android decoder renders the second decoding video stream
On SurfaceView, it is made to be shown as the display side of the local video picture of the mode of network video picture and above-described embodiment
Formula is consistent, not described here any more.The same SurfaceView is shown in since the first video flowing and the second video flowing render
On, so two picture synchronizations are shown on an interface, such as in video calling, local picture is shown as in the display interface
Wicket, network picture are shown as big window in the display interface.Through the embodiment of the present invention, user can see in real time from mesh
Mark the network video picture of terminal, and very high definition.
Embodiment two:
As shown in fig. 6, another aspect according to the present invention, shows what another kind net cast of the embodiment of the present invention was shown
The step flow chart of method, the method can be applied in view networking, and the view networking includes view networked server, Yi Jifen
Networked terminals are not regarded with the first view networked terminals of the view networked server communication connection, second;The method specifically can be with
The following steps are included:
Step 601, the video flowing acquisition instruction that the view networked server is sent according to the first view networked terminals, is obtained
The second video flowing for taking the second view networked terminals to upload, and determine the second view networked terminals for uploading second video flowing
For target terminal;Wherein, the video flowing acquisition instruction is depending on networked terminals by described first in the touching for receiving live broadcast service
It is generated when hair operation;
Step 602, the view networked server is directed to the video flowing acquisition instruction, sends second video flowing to institute
State the first view networked terminals;Described first is used to receive second video flowing depending on networked terminals, and second video flowing is existed
Described first depending on being shown as network video picture on networked terminals;
Step 603, described that the first video flowing that the first view networked terminals upload is received depending on networked server, and by institute
The first video stream is stated to the target terminal;Wherein, first video flowing is to be connect by described first depending on networked terminals
Receive it is collected when the trigger action of live broadcast service, and the network video picture described in simultaneous display first view networked terminals
On be shown as local video picture.
In embodiments of the present invention, HD video real-time communication can be realized from the angle depending on networked server by providing
Mode.The side for transferring transmission of video flowing is carried out according to the video flowing acquisition instruction for receiving live broadcast service depending on networked server
Formula is identical with embodiment one, not described here any more.By can be realized the whole network HD video real-time Transmission depending on networked server,
Push numerous Internet applications to HD video, the aspectant characteristic of high definition may be implemented on the first view networked terminals with this
High definition real-time live broadcast is carried out, the business function of high definition videophone overcomes prior art not and can be carried out HD video real time communication
The problem of.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Embodiment three:
As shown in fig. 7, one side according to the present invention, method in comparative examples one shows the embodiment of the present invention
A kind of structural block diagram for the device that net cast is shown, described device can be applied in view networking, and the view networking includes view
Networked server, and networked terminals are regarded with the first view networked terminals of the view networked server communication connection, second respectively;
Described first includes: depending on networked terminals
Video triggering collection module 71, for generating the live broadcast service in the trigger action for receiving live broadcast service
Video flowing acquisition instruction and be sent to view networked server, while acquire the first video flowing;It is described to be used for depending on networked server
According to the video flowing acquisition instruction, the second video flowing that the second view networked terminals upload is obtained, and is determined described in upload
The second of second video flowing regards networked terminals as target terminal;
Video shows uploading module 72, for first video flowing to be shown as in the described first view on networked terminals
Ground video pictures, and it is uploaded to the view networked server;The view networked server is used to send out first video flowing
Give the target terminal;
Video shows receiving module 73, returns for receiving the view networked server for the video flowing acquisition instruction
The second video flowing, by the first of second video flowing local video picture described in simultaneous display depending on being shown on networked terminals
For network video picture.
In a kind of preferred embodiment of the present invention, described first depending on networked terminals further includes Android system frame, the peace
It include JNI layers of module of application APP layer module and JAVA local interface in tall and erect system framework.
In embodiments of the present invention, the first view networked terminals are provided and realize net cast purpose operating system, and are held
The trigger action of row user carries out the module of data conversion communication with view networked server, by with the work of upper module, finally
It can be by the first video flowing and the second video flowing high definition real-time display on the first view networked terminals.
Embodiment three:
As shown in figure 8, another aspect according to the present invention, method in comparative examples two shows implementation of the present invention
The structural block diagram for the device that another net cast of example is shown, described device can be applied in view networking, the view networking packet
View networked server is included, and is networked respectively with the first view networked terminals of the view networked server communication connection, the second view
Terminal;It is described to include: depending on networked server
Video, which determines, obtains module 81, and the video flowing acquisition instruction for being sent according to the first view networked terminals obtains
The second video flowing for taking the second view networked terminals to upload, and determine the second view networked terminals for uploading second video flowing
For target terminal;Wherein, the video flowing acquisition instruction is depending on networked terminals by described first in the touching for receiving live broadcast service
It is generated when hair operation;
The first delivery module of video 82 sends second video flowing to institute for being directed to the video flowing acquisition instruction
State the first view networked terminals;Described first is used to receive second video flowing depending on networked terminals, and second video flowing is existed
Described first depending on being shown as network video picture on networked terminals;
The second delivery module of video 83, the first video flowing uploaded for receiving the first view networked terminals, and by institute
The first video stream is stated to the target terminal;Wherein, first video flowing is to be connect by described first depending on networked terminals
Receive it is collected when the trigger action of live broadcast service, and the network video picture described in simultaneous display first view networked terminals
On be shown as local video picture.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of method that net cast is shown provided by the present invention and a kind of device that net cast is shown, into
It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation
The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field
Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as limiting the invention.
Claims (10)
1. a kind of method that net cast is shown, which is characterized in that the method is applied in view networking, described to include depending on networking
It networks eventually depending on networked server, and respectively with the first view networked terminals of the view networked server communication connection, the second view
End;The described method includes:
Described first when receiving the trigger action of live broadcast service depending on networked terminals, and the video flowing for generating the live broadcast service obtains
View networked server is instructed and be sent to, while acquiring the first video flowing;The view networked server is used for according to the video
Acquisition instruction is flowed, obtains the second video flowing that the second view networked terminals upload, and determine and upload second video flowing
Second regards networked terminals as target terminal;
Described first draws first video flowing described first depending on networked terminals depending on being shown as local video on networked terminals
Face, and it is uploaded to the view networked server;The view networked server is used for first video stream to described
Target terminal;
Described first receives the second view that the view networked server is returned for the video flowing acquisition instruction depending on networked terminals
Frequency flows, by the first of second video flowing local video picture described in simultaneous display depending on being shown as network video on networked terminals
Frequency picture.
2. the method according to claim 1, wherein described first depending on being provided with Android system in networked terminals,
It include JNI layers of object of application APP layer object and JAVA local interface in the Android system.
3. according to the method described in claim 2, it is characterized in that, described first receives the touching of live broadcast service depending on networked terminals
When hair operation, generates the video flowing acquisition instruction of the live broadcast service and be sent to and include: depending on the step of networked server
When the APP layers of object receives the trigger action of live broadcast service, the video flowing acquisition instruction of the live broadcast service is generated
And it is sent to the JNI layers of object;
The video flowing acquisition instruction is sent to view networked server by the JNI layers of object.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
When the APP layers of object receives the trigger action of live broadcast service, the video on the first view networked terminals is shown
Control SurfaceView and preset decoding channels number are sent to the JNI layers of object;
The JNI layers of object is numbered according to the decoding channels, creates the first decoding channels and the second decoding channels, and corresponding life
Signal is completed at the channel for completing the creation;Wherein, first decoding channels are for receiving the first view networked terminals
First video flowing of acquisition, second decoding channels refer to for receiving described obtain depending on networked server for the video flowing
Enable the second video flowing returned.
5. according to the method described in claim 4, it is characterized in that, the first view networked terminals exist first video flowing
Described first depending on being shown as local video picture on networked terminals the step of include:
The APP layers of object completes signal according to the channel, sends the first decoding video stream and instructs to the JNI layers of object;
The JNI layers of object is instructed according to first decoding video stream, creates the first Android decoder, and will be described
SurfaceView is bound as the binding parameter of the first Android decoder and the first Android decoder, is generated and is completed
First signal of the binding;
According to first signal, the JNI layers of object receives the first video flowing of first decoding channels transmission, and by institute
The first video stream is stated to the first Android decoder;
The first Android decoder decodes first video flowing, and by decoded first video flowing described
Local video picture is shown as on SurfaceView.
6. according to the method described in claim 4, it is characterized in that, the first view networked terminals exist second video flowing
The first of local video picture described in simultaneous display is depending on being shown as network video picture on networked terminals the step of include:
The APP layers of object completes signal according to the channel, sends the second decoding video stream and instructs to the JNI layers of object;
The JNI layers of object is instructed according to second decoding video stream, creates the second Android decoder, and will be described
SurfaceView is bound as the binding parameter of the second Android decoder and the second Android decoder, is generated and is completed
The second signal of the binding;
According to the second signal, the JNI layers of object receives the second video flowing of the second decoding channels transmission, and sends
To the second Android decoder;
The second Android decoder decodes second video flowing, and by decoded second video flowing described in the simultaneous display
Network video picture is shown as on the SurfaceView of local video picture.
7. a kind of method that net cast is shown, which is characterized in that the method is applied in view networking, described to include depending on networking
It networks eventually depending on networked server, and respectively with the first view networked terminals of the view networked server communication connection, the second view
End;The described method includes:
The video flowing acquisition instruction that the view networked server is sent according to the first view networked terminals obtains second view
The second video flowing that networked terminals upload, and determine that uploading the second of second video flowing regards networked terminals as target terminal;
Wherein, the video flowing acquisition instruction is given birth to depending on networked terminals in the trigger action for receiving live broadcast service by described first
At;
The view networked server is directed to the video flowing acquisition instruction, sends second video flowing and networks to first view
Terminal;Described first is used to receive second video flowing depending on networked terminals, and second video flowing is joined in first view
Network video picture is shown as on network termination;
It is described that the first video flowing that the first view networked terminals upload is received depending on networked server, and by first video flowing
It is sent to the target terminal;Wherein, first video flowing is to receive live broadcast service depending on networked terminals by described first
Trigger action when it is collected, and first of the network video picture described in simultaneous display is depending on being shown as local on networked terminals
Video pictures.
8. a kind of device that net cast is shown, which is characterized in that described device is applied in view networking, described to include depending on networking
It networks eventually depending on networked server, and respectively with the first view networked terminals of the view networked server communication connection, the second view
End;Described first includes: depending on networked terminals
Video triggering collection module, for generating the video of the live broadcast service in the trigger action for receiving live broadcast service
Stream acquisition instruction is simultaneously sent to view networked server, while acquiring the first video flowing;The view networked server is used for according to institute
Video flowing acquisition instruction is stated, obtains the second video flowing that the second view networked terminals upload, and determine and upload second view
The second of frequency stream regards networked terminals as target terminal;
Video show uploading module, for by first video flowing described first depending on being shown as local video on networked terminals
Picture, and it is uploaded to the view networked server;The view networked server is used for first video stream to institute
State target terminal;
Video shows receiving module, is directed to the second of video flowing acquisition instruction return for receiving the view networked server
Video flowing, by the first of second video flowing local video picture described in simultaneous display depending on being shown as network on networked terminals
Video pictures.
9. device according to claim 8, which is characterized in that described first depending on networked terminals further includes Android system frame
Frame includes JNI layers of module of application APP layer module and JAVA local interface in the Android system frame.
10. a kind of device that net cast is shown, which is characterized in that described device is applied in view networking, the view networking packet
View networked server is included, and is networked respectively with the first view networked terminals of the view networked server communication connection, the second view
Terminal;It is described to include: depending on networked server
Video, which determines, obtains module, the video flowing acquisition instruction for being sent according to the first view networked terminals, described in acquisition
The second video flowing that second view networked terminals upload, and determine that uploading the second of second video flowing regards networked terminals as target
Terminal;Wherein, the video flowing acquisition instruction is depending on networked terminals by described first in the trigger action for receiving live broadcast service
When it is generated;
The first delivery module of video sends second video flowing to described first for being directed to the video flowing acquisition instruction
Depending on networked terminals;Described first depending on networked terminals for receiving second video flowing, by second video flowing described the
One depending on being shown as network video picture on networked terminals;
The second delivery module of video, the first video flowing uploaded for receiving the first view networked terminals, and by described first
Video stream gives the target terminal;Wherein, first video flowing is to be received directly by described first depending on networked terminals
Broadcast collected when the trigger action of business, and first of the network video picture described in simultaneous display on networked terminals depending on showing
For local video picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811115819.7A CN109257615A (en) | 2018-09-25 | 2018-09-25 | A kind of method and apparatus that net cast is shown |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811115819.7A CN109257615A (en) | 2018-09-25 | 2018-09-25 | A kind of method and apparatus that net cast is shown |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109257615A true CN109257615A (en) | 2019-01-22 |
Family
ID=65046926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811115819.7A Pending CN109257615A (en) | 2018-09-25 | 2018-09-25 | A kind of method and apparatus that net cast is shown |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109257615A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111263104A (en) * | 2020-02-07 | 2020-06-09 | 视联动力信息技术股份有限公司 | Window display method and device and storage medium |
CN112130721A (en) * | 2020-09-14 | 2020-12-25 | 上海商米科技集团股份有限公司 | Method for starting multi-window multi-task by one key based on Andriod platform and readable medium |
CN115514918A (en) * | 2022-09-19 | 2022-12-23 | 深圳市拓普智造科技有限公司 | Remote video method, cloud platform, communication mobile platform and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1805534A (en) * | 2005-01-12 | 2006-07-19 | 乐金电子(中国)研究开发中心有限公司 | Mobile telephone and method of displaying multiple video images |
CN101212751A (en) * | 2006-12-26 | 2008-07-02 | 鸿富锦精密工业(深圳)有限公司 | Mobile communication terminal capable of displaying multi-party video call and the display method |
CN101242513A (en) * | 2008-03-10 | 2008-08-13 | 杭州华三通信技术有限公司 | Dual-stream transmission method in video conference and video conference system |
CN102082945A (en) * | 2011-01-26 | 2011-06-01 | 青岛海信电器股份有限公司 | Method for realizing multi-party video calls, video terminal and system |
CN102325181A (en) * | 2011-09-09 | 2012-01-18 | 重庆抛物线信息技术有限责任公司 | Instant audio/video interactive communication method based on sharing service and instant audio/video interactive communication system based on sharing service |
US20120096500A1 (en) * | 2001-01-08 | 2012-04-19 | eVideo Incorporated | System and method for delivering video on demand |
CN105872445A (en) * | 2016-04-26 | 2016-08-17 | 乐视控股(北京)有限公司 | Video call method, device and system |
-
2018
- 2018-09-25 CN CN201811115819.7A patent/CN109257615A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120096500A1 (en) * | 2001-01-08 | 2012-04-19 | eVideo Incorporated | System and method for delivering video on demand |
CN1805534A (en) * | 2005-01-12 | 2006-07-19 | 乐金电子(中国)研究开发中心有限公司 | Mobile telephone and method of displaying multiple video images |
CN101212751A (en) * | 2006-12-26 | 2008-07-02 | 鸿富锦精密工业(深圳)有限公司 | Mobile communication terminal capable of displaying multi-party video call and the display method |
CN101242513A (en) * | 2008-03-10 | 2008-08-13 | 杭州华三通信技术有限公司 | Dual-stream transmission method in video conference and video conference system |
CN102082945A (en) * | 2011-01-26 | 2011-06-01 | 青岛海信电器股份有限公司 | Method for realizing multi-party video calls, video terminal and system |
CN102325181A (en) * | 2011-09-09 | 2012-01-18 | 重庆抛物线信息技术有限责任公司 | Instant audio/video interactive communication method based on sharing service and instant audio/video interactive communication system based on sharing service |
CN105872445A (en) * | 2016-04-26 | 2016-08-17 | 乐视控股(北京)有限公司 | Video call method, device and system |
Non-Patent Citations (1)
Title |
---|
陈林,廖恩红,曹杰: "《互联网+"智慧校园技术与工程实施》", 30 September 2017 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111263104A (en) * | 2020-02-07 | 2020-06-09 | 视联动力信息技术股份有限公司 | Window display method and device and storage medium |
CN112130721A (en) * | 2020-09-14 | 2020-12-25 | 上海商米科技集团股份有限公司 | Method for starting multi-window multi-task by one key based on Andriod platform and readable medium |
CN115514918A (en) * | 2022-09-19 | 2022-12-23 | 深圳市拓普智造科技有限公司 | Remote video method, cloud platform, communication mobile platform and storage medium |
CN115514918B (en) * | 2022-09-19 | 2023-06-20 | 深圳市拓普智造科技有限公司 | Remote video method, cloud platform, communication mobile platform and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109788232A (en) | A kind of summary of meeting recording method of video conference, device and system | |
CN108063745B (en) | A kind of video call method and its system based on Android device | |
CN110049271A (en) | A kind of view networking conferencing information methods of exhibiting and device | |
CN108881135A (en) | It is a kind of based on view networking information transferring method, device and system | |
CN108989837A (en) | A kind of method and apparatus of picture interception | |
CN109120879A (en) | A kind of processing method and system of video conference | |
CN109547731A (en) | A kind of methods of exhibiting and system of video conference | |
CN110493513A (en) | A kind of camera control method and a kind of view networked system | |
CN110049346A (en) | A kind of method and system of net cast | |
CN110049273A (en) | A kind of meeting method for recording and transfer server based on view networking | |
CN108307212A (en) | A kind of file order method and device | |
CN109246135A (en) | A kind of acquisition methods and system of stream medium data | |
CN109257615A (en) | A kind of method and apparatus that net cast is shown | |
CN110149305A (en) | A kind of method and transfer server of the multi-party playing audio-video based on view networking | |
CN109743555A (en) | A kind of information processing method and system based on view networking | |
CN109802952A (en) | Monitoring data synchronous method and device | |
CN109729184A (en) | A kind of method and apparatus of view networking service processing | |
CN109743284A (en) | A kind of method for processing video frequency and system based on view networking | |
CN110445761A (en) | A kind of video drawing stream method and device | |
CN108574819B (en) | A kind of terminal device and a kind of method of video conference | |
CN110519331A (en) | A kind of view networked resources processing method and processing device | |
CN110086773A (en) | A kind of processing method and system of audio, video data | |
CN110072154A (en) | A kind of group building method and transfer server based on view networking | |
CN109788222A (en) | A kind of processing method and processing device regarding networked video | |
CN109257655A (en) | Audio-frequency processing method and device when a kind of program switches |
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 |
Application publication date: 20190122 |
|
RJ01 | Rejection of invention patent application after publication |