CN109788314A - A kind of method and apparatus of video stream data transmission - Google Patents
A kind of method and apparatus of video stream data transmission Download PDFInfo
- Publication number
- CN109788314A CN109788314A CN201811555016.3A CN201811555016A CN109788314A CN 109788314 A CN109788314 A CN 109788314A CN 201811555016 A CN201811555016 A CN 201811555016A CN 109788314 A CN109788314 A CN 109788314A
- Authority
- CN
- China
- Prior art keywords
- server
- video stream
- stream data
- transcoding
- video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000005540 biological transmission Effects 0.000 title claims description 35
- 230000006855 networking Effects 0.000 claims abstract description 87
- 238000004891 communication Methods 0.000 claims abstract description 15
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000009826 distribution Methods 0.000 description 5
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 4
- 238000009434 installation Methods 0.000 description 4
- 241001269238 Data Species 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000002155 anti-virotic effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005304 joining Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000010025 steaming Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present application provides a kind of method that video stream data transmits and corresponding device, the method and device are applied and are regarded in networking, the view networking includes view networked server, with the view networked terminals of the view networked server communication connection, it include streaming media server in the internet, practice the transcoding server and internet terminal of grade with the streaming media server respectively, the view networked server and the streaming media server communicate to connect, streaming media server generates transcoding instruction according to the video parameter of internet terminal, and internet video flow data is converted into depending on networked video flow data depending on what networked terminals were sent by what is received, transcoding server is instructed for transcoding, internet video flow data is re-encoded as to the video stream data with target resolution, streaming media server retransmits the view after this is recompiled Frequency flow data realizes the purpose that internet terminal independently defines the resolution ratio of view networked video flow data to internet terminal.
Description
Technical field
This application involves view networking technology fields, fill more particularly to a kind of method and apparatus of video stream data transmission.
Background technique
Currently, in video call service or live broadcast service, depending on being regarded between networked terminals and internet terminal
When the transmission of frequency flow data, internet terminal cannot actively select the live video stream received according to the resolution ratio of oneself equipment
Resolution ratio, cause sometimes regard networked terminals issue HD video when, due to internet terminal equipment parameter limit, no
HD video can be decoded, prevent internet terminal is from watching HD video, alternatively, internet terminal is in real-time video call
When, cannot actively select the resolution ratio of video flowing, can only passive adaptation view networked terminals issue video stream data resolution ratio.
To sum up, the problem of customer experience difference is caused.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present application and overcomes the above problem or at least partly in order to provide one kind
The device of a kind of method of video stream data transmission to solve the above problems and a kind of corresponding video stream data transmission.
To solve the above-mentioned problems, the embodiment of the present application provides a kind of method of video stream data transmission, the method
Applied in view networking and internet, the view networking is communicated to connect including view networked server, with the view networked server
View networked terminals, include streaming media server, transcoding server and internet terminal, the Streaming Media clothes in the internet
Business device communicates to connect respectively with the transcoding server and the internet terminal, the view networked server and the Streaming Media
Server communication connection, comprising:
The streaming media server receives the first video stream data of the view networked server forwarding, and, receive institute
State the video parameter instruction of internet terminal transmission;First video stream data by it is described depending on networked terminals generate and send to
The view networked server, first video stream data are the video flowing for supporting view networking protocol, and the video parameter is by institute
The resolution ratio selection operation that internet terminal is stated for triggering generates, and the video parameter instruction includes target resolution;
First video stream data is converted into supporting the second video flowing of Internet protocol by the streaming media server
Data, and, it is instructed for the video parameter and generates the instruction of the first transcoding;Wherein, the first transcoding instruction includes described
Target resolution;
Second video stream data and first transcoding instruction are sent to the transcoding by the streaming media server
Server;The transcoding server is used to instruct for first transcoding, and according to the target resolution, described second is regarded
Frequency flow data is encoded into third video stream data;
The streaming media server receives the third video stream data that the transcoding server returns, and by described the
Three video stream datas are sent to the internet terminal.
Preferably, the target resolution is the resolution ratio that global image transmits video conference CIF format.
Preferably, the step of streaming media server is instructed for the video parameter, generates the instruction of the first transcoding, packet
It includes:
The streaming media server obtains network bandwidth from the network being presently in, and is directed to the network bandwidth, really
Set the goal code stream;
The streaming media server extracts the target resolution from video parameter instruction;
The streaming media server generates the instruction of the second transcoding, and the second transcoding instruction includes the target code stream and institute
State target resolution.
Preferably, second video stream data and second transcoding instruction are sent to institute by the streaming media server
State transcoding server;The transcoding server is used to instruct for second transcoding, according to the target resolution and described
Second video stream data is encoded into third video stream data by target code stream.
To solve the above-mentioned problems, the embodiment of the present application also provides a kind of method of video stream data transmission, the sides
Method is applied to view and networks in internet, and the view networking includes view networked server and the view networked server communication link
The view networked terminals connect, the internet include streaming media server, the transcoding clothes with streaming media server communication connection
Business device and internet terminal, the view networked server and the streaming media server communicate to connect;Include:
The transcoding server receives the second video stream data that the streaming media server is sent and the instruction of the first transcoding;
The first transcoding instruction, which is instructed by the streaming media server for the video parameter that internet terminal is sent, to be generated, including mesh
Mark resolution ratio;The first video that second video stream data is forwarded the view networked server by the streaming media server
Flow data generates after carrying out protocol conversion, and first video stream data is acquired depending on networked terminals by described and is sent to the view
Networked server;First video stream data is the video stream data for supporting view networking protocol, second video stream data
For the video stream data for supporting Internet protocol;The video parameter instruction is by the internet terminal for the resolution ratio of triggering
Selection operation generates, including target resolution;
The transcoding server is instructed for first transcoding, according to the target resolution, by second video
Flow data is encoded into third video stream data;
The third video stream data is sent to the streaming media server, the Streaming Media clothes by the transcoding server
Business device is used to the third video stream data being sent to the internet terminal.
Preferably, the transcoding server is instructed for first transcoding, according to the target resolution, by described the
Two video stream datas are encoded into third video stream data:
Second video stream data is decoded into intermediate video flow data by the transcoding server;
The transcoding server is instructed for first transcoding, according to the target resolution, by the intermediate video
Flow data is encoded into third video stream data.
Preferably, the first transcoding instruction further includes target code stream, and the target code stream is by the streaming media server
It is determined according to the network bandwidth got in the network being presently in.
Preferably, the transcoding server is instructed for first transcoding, according to the target resolution and the mesh
Second video stream data is encoded into third video stream data by coding stream.
To solve the above-mentioned problems, the embodiment of the present application has also correspondingly provided a kind of device of video stream data transmission,
Described device is applied in view networking and internet, and the method is applied in view networking and internet, described to include depending on networking
It include that Streaming Media takes in the internet depending on networked server, the view networked terminals with the view networked server communication connection
Business device, transcoding server and internet terminal, the streaming media server and the transcoding server and the internet terminal
It communicates to connect respectively, the view networked server and the streaming media server communicate to connect, and described device is located at the stream matchmaker
Body server, comprising:
First receiving module, the first video stream data forwarded for receiving the view networked server, and, receive institute
State the video parameter instruction of internet terminal transmission;First video stream data is acquired and is sent to depending on networked terminals by described
The view networked server, first video stream data are the video flowing for supporting view networking protocol, and the video parameter is by institute
The resolution ratio selection operation that internet terminal is stated for triggering generates, and the video parameter instruction includes target resolution;
First video stream data is converted into supporting the second video fluxion of Internet protocol by protocol conversion module
According to;
Transcoding directive generation module generates the instruction of the first transcoding for instructing for the video parameter;Wherein, described
The instruction of first transcoding includes the target resolution;
First sending module, for second video stream data and first transcoding instruction to be sent to the transcoding
Server;To notify the transcoding server to instruct for first transcoding, according to the target resolution, by described second
Video stream data is encoded into third video stream data;
Forwarding module, the third video stream data returned for receiving the transcoding server, and by the third
Video stream data is sent to the internet terminal, and the internet terminal is used for the third video stream data after broadcast decoder.
To solve the above-mentioned problems, the embodiment of the present application has also correspondingly provided the transmission dress of another video stream data
It sets, described device is applied in view networking and internet, and the method is applied in view networking and internet, the view networking packet
View networked server, the view networked terminals with the view networked server communication connection are included, includes Streaming Media in the internet
Server, transcoding server and internet terminal, the streaming media server and the transcoding server and the internet are whole
End communicates to connect respectively, and the view networked server and the streaming media server communicate to connect, and described device is located at described turn
On code server, comprising:
Second receiving module, the second video stream data and the first transcoding for receiving the streaming media server transmission refer to
It enables;Wherein, the first transcoding instruction instructs life for the video parameter that internet terminal is sent by the streaming media server
At, including target resolution;Second video stream data is forwarded the view networked server by the streaming media server
The first video stream data carry out protocol conversion after generate, first video stream data by the view networked terminals acquisition concurrently
It send to the view networked server;First video stream data be support view networking protocol video stream data, described second
Video stream data is the video stream data for supporting Internet protocol;The video parameter instruction is by the internet terminal for touching
The resolution ratio selection operation of hair generates, including target resolution;
Transcoding module, for being instructed for first transcoding, according to the target resolution, by second video flowing
Data encoding is at third video stream data;
Second sending module, for the third video stream data to be sent to the streaming media server, to notify
It states streaming media server and the third video stream data is sent to the internet terminal, the internet terminal is for decoding
The third video stream data, and the third video stream data after broadcast decoder.
The prior art is compared, and the embodiment of the present application has the advantage that
Firstly, the characteristic of the embodiment of the present application application view networking, streaming media server are joined according to the video of internet terminal
Number generates transcoding instruction, and is converted into internet video stream depending on networked video flow data depending on what networked terminals were sent for what is received
Data, transcoding server are instructed for transcoding, and internet video flow data is re-encoded as to the video with target resolution
Flow data, streaming media server retransmit the video stream data after this is recompiled to internet terminal, in this way, internet terminal
The video stream data received is exactly the video flowing that the internet terminal equipment parameter is supported, realizing user can actively make by oneself
The purpose of the resolution ratio for the video flowing that justice is watched improves the viewing experience of view on-line customer.
Secondly, the target resolution that internet terminal is sent can be the resolution ratio of CIF format, can satisfy in this way
Under the bad environment of the network environments such as 3G/4G/WiFi, internet terminal selects the format resolution to interconnect with depending on networking,
The target resolution of CIF format is 352x 288, because resolution ratio becomes smaller so that the video stream data after transcoding becomes smaller significantly, thus
The efficiency of transmission in video call service Union of Central Vision net video stream data under 3G/4G/WiFi network is substantially increased, is improved
Picture fluency in video call process also achieves the view networked video stream that high definition is watched on internet terminal.
Finally, streaming media server can also determine suitable target bit rate automatically according to network bandwidth, so that transcoding takes
Device be engaged in transcoding, is encoded according further to object code code rate, the network self-adapting ability of video stream data transmission is improved.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the application;
Fig. 2 is a kind of hardware structural diagram of node server of the application;
Fig. 3 is a kind of hardware structural diagram of access switch of the application;
Fig. 4 is that a kind of Ethernet association of the application turns the hardware structural diagram of gateway;
Fig. 5 is a kind of step flow chart of the embodiment of the method 1 of video stream data transmission of the application;
Fig. 6 is a kind of applied environment figure of the embodiment of the method 1 of video stream data transmission of the application;
Fig. 7 is a kind of step flow chart of the embodiment of the method 2 of video stream data transmission of the application;
Fig. 8 is a kind of structural block diagram of the Installation practice 3 of video stream data transmission of the application;
Fig. 9 is a kind of structural block diagram of the Installation practice 4 of video stream data transmission of the application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in 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.
To make those skilled in the art more fully understand the embodiment of the present application, it is introduced below to depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (NetworkTechnology)
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 (ServerTechnology)
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 video business, 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 the embodiment of the present application 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 the embodiment of the present application:
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 code rate operation 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.
Code rate operation 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 code rate operation 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, code rate operation 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 the embodiment of the present application: 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 core idea of the embodiment of the present application is proposed, it then follows regard the association of networking
View, streaming media server will be converted into the video stream data of Internet protocol depending on joining flow data depending on the view networking of networking protocol, and
Transcoding instruction is generated according to the video parameter of internet terminal, to notify transcoding server to instruct for transcoding, by internet protocol
The video stream data of view is re-encoded as the video stream data with target resolution, and streaming media server retransmits the video flowing
Data are to internet terminal, in this way, the video stream data that internet terminal receives is exactly the internet terminal equipment parameter branch
The video flowing held realizes the purpose of the resolution ratio for the video flowing that user customized can watch, improves view on-line customer's
Viewing experience.
Embodiment one
Referring to Fig. 5, a kind of step flow chart of the embodiment of the method 1 of video stream data transmission of the application is shown,
In the embodiment of the present application, the method is applied in view networking and internet, view networking include regard networked server 603,
The view networked terminals 604 communicated to connect with the view networked server 603, include in the internet streaming media server 602,
Transcoding server 605 and internet terminal 601, the streaming media server 602 and the transcoding server 605 and the interconnection
Network termination 601 communicates to connect respectively, and the view networked server 603 is communicated to connect with the streaming media server 602.
As shown in Figure 6, streaming media server 602 can be understood as propping up simultaneously the application environment of the embodiment of the present application
Hold Internet protocol and regard networking protocol server, streaming media server 602 with streaming protocol receive live video stream, then with
Streaming protocol is broadcast live to internet terminal 601;Transcoding server 605 can be understood as carrying out with streaming media server 602 mutually
Networking protocol communication, the server that the video flowing that can be received is decoded and encodes;Internet terminal 601 and view connection
Network termination 604 can be the hardware devices such as Android mobile phone, PC machine or tablet computer;In the embodiment of the present application, internet terminal
601 are communicated with streaming media server 602 with Internet protocol, are joined depending on networked terminals 604 with depending on networked server 603 with regarding
FidonetFido is communicated.
A kind of method of video stream data transmission of the embodiment of the present application may comprise steps of:
Step 501, the streaming media server 602 receives the first video fluxion that the view networked server 603 forwards
According to, and, receive the video parameter instruction that the internet terminal 601 is sent.
First video stream data is generated and sent depending on networked terminals 604 to the view networked server 603 by described,
First video stream data is the video flowing for supporting view networking protocol, and the video parameter is by 601 needle of internet terminal
The resolution ratio selection operation of triggering is generated, the video parameter instruction includes target resolution.
In practice, the first video stream data can be live video stream, be also possible to video conference video flowing.In practice,
Internet terminal 601 can provide 601 device parameter of internet terminal in the display interface for user can be multiple points decoded
Resolution option, user selection target resolution ratio, selection operation can be touch on multiple resolution options of offer
It operates, be also possible to button operation or voice operating, the application is not defined the concrete mode of selection operation.
By generating video parameter instruction, 601 user of internet terminal can actively select when watching live video stream
The resolution ratio of video.
Step 502, first video stream data is converted into supporting Internet protocol by the streaming media server 602
Second video stream data, and, it is instructed for the video parameter and generates the instruction of the first transcoding.
Wherein, the first transcoding instruction includes the target resolution.
In practice, the first video stream data is the video by acquiring depending on networked terminals 604, and is sent according to view networking protocol
To view networked server 603, streaming media server 602 to receive first video stream data depending on networking protocol, because view networking and
Internet uses different communication protocol, and the first video stream data depending on networking protocol cannot transmit in internet, Streaming Media
After first video stream data is converted into the second video stream data of Internet protocol by server 602, so that the second video fluxion
According to can be transmitted in internet.Wherein, the instruction of the first transcoding can be understood as notice transcoding server 605 for the second view
The signaling of frequency flow data progress transcoding.
Upper general installation mobile phone palm leads to software, to obtain the video of live video or TV news in view networking,
And mobile phone palm leads to software
Step 503, the streaming media server 602 sends second video stream data and first transcoding instruction
To the transcoding server 605.
The transcoding server 605 is used to instruct for first transcoding, according to the target resolution, by described the
Two video stream datas are encoded into third video stream data.
In practice, the resolution ratio for the third video stream data being re-encoded as is exactly target resolution, in practice, target point
Resolution can be higher than the resolution ratio of the first video stream data, can also be lower than the first video stream data resolution ratio.For example, the first view
The resolution ratio of frequency flow data is the resolution ratio of 1080P format, then target resolution can be point of 720P format or 480P format
Resolution;If the resolution ratio 720P format of the first video stream data, then target resolution can be the resolution ratio of 1080P format,
It is also possible to the resolution ratio of 480P format.Target resolution less than the first video stream data resolution ratio when, third video fluxion
Transmission speed can be improved according to becoming smaller, in the scenes relatively high to video requirement of real-time such as live streaming, user can be watched more
For smooth video, the time of live streaming delay is greatly shortened, improves viewing experience;Target resolution is greater than the first video stream data
Resolution ratio when, third video stream data decoded after internet terminal 601 play when, image quality clarity can be improved, mention
High user's viewing experience.
Step 504, the streaming media server 602 receives the third video flowing that the transcoding server 605 returns
Data, and the third video stream data is sent to the internet terminal 601.
As a kind of optional example of the embodiment of the present application, the target resolution is that global image transmits video conference
The resolution ratio of CIF format.
In practice, the network environment locating in 601 watching video stream of internet terminal may be 3G/4G/WiFi network,
Network bandwidth is small, is not able to satisfy the transmission of high definition live video stream in view networking, especially in live streaming application, in 3G/4G/
Live video is watched with mobile phone under WiFi network, has the delay of long period, and video is not smooth to be easy to Caton, causes user
Experience sense is poor.In addition, general internet terminal 601 waits softwares to watch view networked video stream by the way that installation mobile phone palm is logical, still
The video stream data sent depending on networked terminals 604 is typically all HD video flow data, such as the resolution ratio of 1024P format, and
The logical video that can not decode the resolution ratio of mobile phone palm;Based on the above issues, internet terminal 601 refers in generation video parameter
When enabling, the resolution ratio used, the i.e. resolution ratio of 352x 288, such 605 transcoding of transcoding server can be transmitted using CIF agreement
The resolution ratio of the third video stream data formed afterwards is the resolution ratio of 352x 288, so that third video stream data greatly reduces,
The fluency that internet terminal 601 watches high definition video steaming in 3G/4G/WiFi network is improved, and can make to be mounted with palm
The internet terminal 601 of logical software can watch that high definition regards networked video stream.
As a kind of optional example of the embodiment of the present application, step 502 can specifically include following sub-step:
Sub-step 5021, the streaming media server 602 obtains network bandwidth from the network being presently in, and is directed to institute
Network bandwidth is stated, determines target code stream.
Code stream can be understood as referring to the data traffic that video file uses within the unit time, be picture matter in Video coding
Most important part in amount control, under the same resolution ratio of same video stream data, the bigger image quality of code stream is more preferable, shared Netowrk tape
It is wide bigger;Code stream is smaller, and shared network bandwidth is smaller, and video pictures are more smooth.
In the concrete realization, streaming media server 602 obtain current network bandwidth it is wider when, such as 8M can then be selected
Select high target code stream, such as the target code stream of 2M;When current network bandwidth is relatively narrow, low target code stream can choose.It is real
When row, streaming media server 602 can determine what current network bandwidth adapted to according to the historical data of network bandwidth and code stream
Target code stream.
The code stream of third video stream data is independently selected according to network bandwidth, by video stream transcoding at height under high network bandwidth
Target code stream, so that the video image quality that internet terminal 601 obtains is more preferable, by video stream transcoding at low target under low network band width
Code stream, so that the video image quality fluency that internet terminal 601 obtains is more preferable.
Sub-step 5022, the streaming media server 602 extract the target resolution from video parameter instruction.
Sub-step 5023, the streaming media server 602 generate the instruction of the second transcoding, and the second transcoding instruction includes institute
State target code stream and the target resolution.
In the case where streaming media server 602 generates transcoding instruction also according to target code stream, the streaming media server
Second video stream data and second transcoding instruction are sent to the transcoding server 605 by 602;The transcoding service
Device 605 is used to instruct for second transcoding, according to the target resolution and the target code stream, by second video
Flow data is encoded into third video stream data.
The embodiment of the present application, streaming media server 602 generate transcoding according to the video parameter of internet terminal 601 and instruct,
To notify transcoding server 605 to instruct for transcoding, recompiled what is sent depending on networked terminals 604 depending on networked video flow data
At the video stream data with target resolution, so that the video stream data that internet terminal 601 receives is exactly the internet
The video flowing that 601 device parameter of terminal is supported, realize user can the actively resolution ratio of the customized video flowing watched mesh
, improve the viewing experience of view on-line customer.
Embodiment two
Referring to Fig. 7, a kind of step flow chart of the embodiment of the method 1 of video stream data transmission of the application is shown,
In the embodiment of the present application, the method is applied in view networking and internet, view networking include regard networked server 603,
The view networked terminals 604 communicated to connect with the view networked server 603, include in the internet streaming media server 602,
Transcoding server 605 and internet terminal 601, the streaming media server 602 and the transcoding server 605 and the interconnection
Network termination 601 communicates to connect respectively, and the view networked server 603 is communicated to connect with the streaming media server 602.
The application environment of the embodiment of the present application please refers to the description of embodiment one, and the present embodiment is not repeating, this Shen
Please embodiment a kind of video stream data transmission method can specifically include following steps:
Step 701, the transcoding server 605 receives the second video stream data that the streaming media server 602 is sent
And first transcoding instruction.
Wherein, the first transcoding instruction is directed to the video that internet terminal 601 is sent by the streaming media server 602
Parameter instruction generates, including target resolution;Second video stream data is joined the view by the streaming media server 602
The first video stream data that network server 603 forwards generates after carrying out protocol conversion, and first video stream data is by the view
Networked terminals 604 acquire and are sent to the view networked server 603;First video stream data is to support view networking protocol
Video stream data, second video stream data be support Internet protocol video stream data;The video parameter instruction
Resolution ratio selection operation by the internet terminal 601 for triggering generates, including target resolution.
The detailed process of this step 701, is referred to the description of the step 501 and step 502 of embodiment one, and the application is real
Example is applied to repeat no more.
Step 702, the transcoding server 605 is instructed for first transcoding, according to the target resolution, by institute
It states the second video stream data and is encoded into third video stream data.
As a kind of optional example of the embodiment of the present application, step 702 can specifically include following sub-step:
Step 7021, second video stream data is decoded into intermediate video flow data by the transcoding server 605.
Step 7022, the transcoding server 605 is instructed for first transcoding, will according to the target resolution
The intermediate video flow data is encoded into third video stream data.
In practice, transcoding server 605 can be carried out the second video stream data using existing video coding and decoding technology
First solve decoding post-encoding, such as FFmpeg program, FFmpeg be appreciated that it is a set of can be used to record, converted digital audio, view
Frequently, and the open source computer program of stream can be translated into.The application is not defined specific encoding and decoding application software.
In this sub-step, when being encoded into third video stream data to intermediate video stream data, transcoding server 605 can be with
The code rate for defaulting third video stream data is 400kb.
Step 703, the third video stream data is sent to the streaming media server by the transcoding server 605
602, the streaming media server 602 is used to the third video stream data being sent to the internet terminal 601.
As a kind of optional example of the embodiment of the present application, the first transcoding instruction further includes target code stream, the mesh
Coding stream is determined by the streaming media server 602 according to the network bandwidth got in the network being presently in.
In this optional example, streaming media server 602 determines target code stream, and according to the instruction of target code stream generated code stream
Detailed process may refer to the specific descriptions of one step 5021 of embodiment to step 5023.
As a kind of optional example of the embodiment of the present application, sub-step 7022 specifically can be following content:
Sub-step 7022', the transcoding server 605 is instructed for first transcoding, according to the target resolution
And the target code stream, second video stream data is encoded into third video stream data.
In step 7022', transcoding server 605 instructs according to the transcoding of streaming media server 602 and generates third video counts
According to the code stream of third video stream data is exactly the target code stream that streaming media server 602 selects, and resolution ratio is exactly internet end
The target resolution that end 601 independently selects.So that transcoding server 605 in transcoded video flow data, both meets Streaming Media clothes
The target code stream that business device 602 determines meets the target resolution that internet terminal 601 independently selects again, improves transcoding server
605 transcoding capabilities.
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
Such as the device that a kind of Fig. 8 video stream data for showing the embodiment of the present application 3 transmits, the processing of comparative examples 1
Method, described device are applied in view networking and internet, and the method is applied in view networking and internet, the view networking
Including view networked server 603, the view networked terminals 604 communicated to connect with the view networked server 603, in the internet
Including streaming media server 602, transcoding server 605 and internet terminal 601, the streaming media server 602 with described turn
Code server 605 and the internet terminal 601 communicate to connect respectively, and the view networked server 603 takes with the Streaming Media
Business device 602 communicates to connect, and described device is located at the streaming media server 602, can specifically include with lower module:
First receiving module 801, the first video stream data forwarded for receiving the view networked server 603, and,
Receive the video parameter instruction that the internet terminal 601 is sent;First video stream data is by the view networked terminals 604
The view networked server 603 is acquired and is sent to, first video stream data is the video flowing for supporting view networking protocol, institute
It states resolution ratio selection operation of the video parameter by the internet terminal 601 for triggering to generate, the video parameter instruction packet
Include target resolution;
First video stream data is converted into supporting the second video flowing of Internet protocol by protocol conversion module 802
Data;
Transcoding directive generation module 803 generates the instruction of the first transcoding for instructing for the video parameter;Wherein, institute
Stating the instruction of the first transcoding includes the target resolution;
First sending module 804, it is described for second video stream data and first transcoding instruction to be sent to
Transcoding server 605;To notify the transcoding server 605 to instruct for first transcoding, according to the target resolution,
Second video stream data is encoded into third video stream data;
Forwarding module 805, the third video stream data returned for receiving the transcoding server 605, and by institute
It states third video stream data and is sent to the internet terminal 601, the internet terminal 601 is used for the third after broadcast decoder
Video stream data.
As a kind of optional example of the embodiment of the present application, the transcoding directive generation module 802 may include following son
Module:
Target code stream determines submodule, network bandwidth is obtained from the network being presently in, and be directed to the network bandwidth,
Determine target code stream.
Target resolution extracting sub-module, for extracting the target resolution from video parameter instruction;
Instruction generates submodule, and for generating the instruction of the second transcoding, the second transcoding instruction includes the target code stream
And the target resolution.
As a kind of optional example of the embodiment of the present application, the target resolution is that global image transmits video conference
The resolution ratio of CIF format.
Example IV
Such as the device that a kind of Fig. 9 video stream data for showing the embodiment of the present application 4 transmits, the processing of comparative examples 2
Method, described device are applied in view networking and internet, and the method is applied in view networking and internet, the view networking
Including view networked server 603, the view networked terminals 604 communicated to connect with the view networked server 603, in the internet
Including streaming media server 602, transcoding server 605 and internet terminal 601, the streaming media server 602 with described turn
Code server 605 and the internet terminal 601 communicate to connect respectively, and the view networked server 603 takes with the Streaming Media
Business device 602 communicates to connect, and described device is located on the transcoding server 605, can specifically include with lower module:
Second receiving module 901, the second video stream data and first sent for receiving the streaming media server 602
Transcoding instruction;Wherein, the first transcoding instruction is directed to the view that internet terminal 601 is sent by the streaming media server 602
Frequency parameter instruction generates, including target resolution;Second video stream data is by the streaming media server 602 by the view
The first video stream data that networked server 603 forwards generates after carrying out protocol conversion, and first video stream data is by described
It is acquired depending on networked terminals 604 and is sent to the view networked server 603;First video stream data is to support view networking association
The video stream data of view, second video stream data are the video stream data for supporting Internet protocol;The video parameter refers to
The resolution ratio selection operation by the internet terminal 601 for triggering is enabled to generate, including target resolution;
Transcoding module 902, according to the target resolution, described second is regarded for instructing for first transcoding
Frequency flow data is encoded into third video stream data;
Second sending module 903, for the third video stream data to be sent to the streaming media server 602, with
Notify the streaming media server 602 that the third video stream data is sent to the internet terminal 601, the internet
Terminal 601 is for decoding the third video stream data, and the third video stream data after broadcast decoder.
As a kind of optional example of the embodiment of the present application, transcoding module 902 can specifically include following submodule:
Video decoding sub-module, for second video stream data to be decoded into intermediate video flow data.
Video coding submodule, for being instructed for first transcoding, according to the target resolution, by the centre
Video stream data is encoded into third video stream data.
As a kind of optional example of the embodiment of the present application, the first transcoding instruction further includes target code stream, the mesh
Coding stream is determined by the streaming media server 602 according to the network bandwidth got in the network being presently in.
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 embodiments of the present application may be provided as method, apparatus or calculating
Machine program product.Therefore, the embodiment of the present application 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 application 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 application is referring to according to the method for the embodiment of the present application, 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 preferred embodiments of the embodiments of the present application have 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 all change and modification within the scope of the embodiments of the present application.
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.
The method to a kind of video stream data transmission provided herein and a kind of corresponding video stream data pass above
Defeated device, is described in detail, and specific case used herein explains the principle and embodiment of the application
It states, the description of the example is only used to help understand the method for the present application and its core ideas;Meanwhile for this field
Those skilled in the art, according to the thought of the application, there will be changes in the specific implementation manner and application range, to sum up institute
It states, the contents of this specification should not be construed as limiting the present application.
Claims (10)
1. a kind of method of video stream data transmission, which is characterized in that the method is applied in view networking and internet, described
It include view networked server, the view networked terminals with the view networked server communication connection, the internet Zhong Bao depending on networking
Include streaming media server, transcoding server and internet terminal, the streaming media server and the transcoding server and described
Internet terminal communicates to connect respectively, and the view networked server and the streaming media server communicate to connect, comprising:
The streaming media server receives the first video stream data of the view networked server forwarding, and, it receives described mutual
The video parameter instruction that networked terminals are sent;First video stream data is generated and sent depending on networked terminals to described by described
Depending on networked server, first video stream data is the video flowing for supporting view networking protocol, and the video parameter is by described mutual
Networked terminals are generated for the resolution ratio selection operation of triggering, and the video parameter instruction includes target resolution;
First video stream data is converted into supporting the second video stream data of Internet protocol by the streaming media server,
And it is instructed for the video parameter and generates the instruction of the first transcoding;Wherein, the first transcoding instruction includes the target point
Resolution;
Second video stream data and first transcoding instruction are sent to the transcoding service by the streaming media server
Device;The transcoding server is used to instruct for first transcoding, according to the target resolution, by second video flowing
Data encoding is at third video stream data;
The streaming media server receives the third video stream data that the transcoding server returns, and the third is regarded
Frequency flow data is sent to the internet terminal.
2. the method according to claim 1, wherein the target resolution is that global image transmits video conference
The resolution ratio of CIF format.
3. method according to claim 1 or 2, which is characterized in that the streaming media server is directed to the video parameter
Instruction generates the step of the first transcoding instructs, comprising:
The streaming media server obtains network bandwidth from the network being presently in, and is directed to the network bandwidth, determines mesh
Coding stream;
The streaming media server extracts the target resolution from video parameter instruction;
The streaming media server generates the instruction of the second transcoding, and the second transcoding instruction includes the target code stream and the mesh
Mark resolution ratio.
4. according to the method described in claim 3, it is characterized in that, the streaming media server is by second video stream data
And the second transcoding instruction is sent to the transcoding server;The transcoding server is used to refer to for second transcoding
It enables, according to the target resolution and the target code stream, second video stream data is encoded into third video stream data.
5. a kind of method of video stream data transmission, which is characterized in that the method is applied in view networking and internet, described
It include view networked server, the view networked terminals with the view networked server communication connection depending on networking, the internet includes
Streaming media server, transcoding server and internet terminal with streaming media server communication connection, the view networking clothes
Business device and the streaming media server communicate to connect;Include:
The transcoding server receives the second video stream data that the streaming media server is sent and the instruction of the first transcoding;It is described
The instruction of first transcoding is instructed for the video parameter that internet terminal is sent by the streaming media server and is generated, including target point
Resolution;The first video fluxion that second video stream data is forwarded the view networked server by the streaming media server
According to generating after carrying out protocol conversion, first video stream data is acquired depending on networked terminals by described and is sent to view networking
Server;First video stream data is the video stream data for supporting view networking protocol, and second video stream data is branch
Hold the video stream data of Internet protocol;Resolution ratio of the video parameter instruction by the internet terminal for triggering selects
Operation generates, including target resolution;
The transcoding server is instructed for first transcoding, according to the target resolution, by the second video fluxion
According to being encoded into third video stream data;
The third video stream data is sent to the streaming media server, the streaming media server by the transcoding server
For the third video stream data to be sent to the internet terminal.
6. according to the method described in claim 5, it is characterized in that, the transcoding server for first transcoding instruct,
According to the target resolution, second video stream data is encoded into third video stream data:
Second video stream data is decoded into intermediate video flow data by the transcoding server;
The transcoding server is instructed for first transcoding, according to the target resolution, by the intermediate video fluxion
According to being encoded into third video stream data.
7. according to the method described in claim 5, it is characterized in that, first transcoding instruction further include target code stream, it is described
Target code stream is determined by the streaming media server according to the network bandwidth got in the network being presently in.
8. the method according to the description of claim 7 is characterized in that the transcoding server for first transcoding instruct,
According to the target resolution and the target code stream, second video stream data is encoded into third video stream data.
9. a kind of device of video stream data transmission, which is characterized in that described device is applied in view networking and internet, described
Method is applied to regard in networking and internet, and the view networking includes regarding networked server, communicating with described depending on networked server
The view networked terminals of connection include streaming media server, transcoding server and internet terminal, the stream matchmaker in the internet
Body server communicates to connect respectively with the transcoding server and the internet terminal, the view networked server and the stream
Media server communication connection, described device are located at the streaming media server, comprising:
First receiving module, the first video stream data forwarded for receiving the view networked server, and, it receives described mutual
The video parameter instruction that networked terminals are sent;First video stream data is acquired depending on networked terminals and is sent to described by described
Depending on networked server, first video stream data is the video flowing for supporting view networking protocol, and the video parameter is by described mutual
Networked terminals are generated for the resolution ratio selection operation of triggering, and the video parameter instruction includes target resolution;
First video stream data is converted into supporting the second video stream data of Internet protocol by protocol conversion module;
Transcoding directive generation module generates the instruction of the first transcoding for instructing for the video parameter;Wherein, described first
Transcoding instruction includes the target resolution;
First sending module, for second video stream data and first transcoding instruction to be sent to the transcoding service
Device;To notify the transcoding server to instruct for first transcoding, according to the target resolution, by second video
Flow data is encoded into third video stream data;
Forwarding module, the third video stream data returned for receiving the transcoding server, and by the third video
Flow data is sent to the internet terminal, and the internet terminal is used for the third video stream data after broadcast decoder.
10. a kind of transmitting device of video stream data, which is characterized in that described device is applied in view networking and internet, institute
It states method to be applied in view networking and internet, it includes view networked server that the view, which is networked, logical with the view networked server
Believe the view networked terminals of connection, includes streaming media server, transcoding server and internet terminal, the stream in the internet
Media server communicates to connect respectively with the transcoding server and the internet terminal, the view networked server with it is described
Streaming media server communication connection, described device are located on the transcoding server, comprising:
Second receiving module, for receiving the second video stream data and the instruction of the first transcoding that the streaming media server is sent;
Wherein, the first transcoding instruction, which is instructed by the streaming media server for the video parameter that internet terminal is sent, generates,
Including target resolution;Second video stream data is by the streaming media server by the of the view networked server forwarding
One video stream data generates after carrying out protocol conversion, and first video stream data is acquired and is sent to depending on networked terminals by described
The view networked server;First video stream data is the video stream data for supporting view networking protocol, second video
Flow data is the video stream data for supporting Internet protocol;The video parameter instruction is by the internet terminal for triggering
Resolution ratio selection operation generates, including target resolution;
Transcoding module, for being instructed for first transcoding, according to the target resolution, by second video stream data
It is encoded into third video stream data;
Second sending module, for the third video stream data to be sent to the streaming media server, to notify the stream
The third video stream data is sent to the internet terminal by media server, and the internet terminal is described for decoding
Third video stream data, and the third video stream data after broadcast decoder.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811555016.3A CN109788314B (en) | 2018-12-18 | 2018-12-18 | Method and device for transmitting video stream data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811555016.3A CN109788314B (en) | 2018-12-18 | 2018-12-18 | Method and device for transmitting video stream data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109788314A true CN109788314A (en) | 2019-05-21 |
CN109788314B CN109788314B (en) | 2021-05-11 |
Family
ID=66497300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811555016.3A Active CN109788314B (en) | 2018-12-18 | 2018-12-18 | Method and device for transmitting video stream data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109788314B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519009A (en) * | 2019-08-05 | 2019-11-29 | 视联动力信息技术股份有限公司 | A kind of data pack transmission method and device |
CN110662001A (en) * | 2019-09-27 | 2020-01-07 | 深圳市大拿科技有限公司 | Video projection display method, device and storage medium |
CN110740296A (en) * | 2019-09-30 | 2020-01-31 | 视联动力信息技术股份有限公司 | method and device for processing video stream monitored by video network |
CN110868610A (en) * | 2019-10-25 | 2020-03-06 | 富盛科技股份有限公司 | Streaming media transmission method and device and server |
CN111131840A (en) * | 2019-12-25 | 2020-05-08 | 视联动力信息技术股份有限公司 | Method and device for switching network of video service system |
CN111147859A (en) * | 2019-12-31 | 2020-05-12 | 视联动力信息技术股份有限公司 | Video processing method and device |
CN111641848A (en) * | 2020-04-21 | 2020-09-08 | 视联动力信息技术股份有限公司 | Video code rate adjusting method and device |
CN111770067A (en) * | 2020-06-12 | 2020-10-13 | 山东浪潮通软信息科技有限公司 | Security video acquisition method, device and system based on Internet of things |
CN112672212A (en) * | 2020-12-16 | 2021-04-16 | 深圳乐播科技有限公司 | Video transcoding screen projection method, device and system |
CN112866728A (en) * | 2020-12-23 | 2021-05-28 | 贵阳叁玖互联网医疗有限公司 | Streaming media live broadcast method and system capable of supporting multiple code rates |
WO2022007619A1 (en) * | 2020-07-10 | 2022-01-13 | 华为技术有限公司 | Video transmission method, device, system, and storage medium |
CN115243074A (en) * | 2022-07-26 | 2022-10-25 | 京东方科技集团股份有限公司 | Video stream processing method and device, storage medium and electronic equipment |
WO2024120009A1 (en) * | 2022-12-05 | 2024-06-13 | 华为云计算技术有限公司 | Multimedia processing system, multimedia processing method, and related device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090109859A1 (en) * | 2007-10-31 | 2009-04-30 | At&T Knowledge Ventures, Lp | Method and System for Detecting a Fault Condition Based on Failed IGMP Join Attempts |
CN101662677A (en) * | 2008-08-29 | 2010-03-03 | 深圳华为通信技术有限公司 | Code stream conversion system, code stream conversion method, code stream identification unit and scheme determination unit |
CN104410918A (en) * | 2014-12-09 | 2015-03-11 | 广州华多网络科技有限公司 | Method and device for adjusting parameters of live video |
CN107231564A (en) * | 2017-05-31 | 2017-10-03 | 广州华多网络科技有限公司 | A kind of net cast method, live broadcast system and direct broadcast server |
CN107948674A (en) * | 2017-12-07 | 2018-04-20 | 天津天地伟业机器人技术有限公司 | A kind of VOD method applied in NVR equipment |
CN107995451A (en) * | 2016-10-26 | 2018-05-04 | 北京视联动力国际信息技术有限公司 | A kind of inspection method and device regarding networked video stream |
CN108418778A (en) * | 2017-02-09 | 2018-08-17 | 北京视联动力国际信息技术有限公司 | A kind of internet and method, apparatus and interactive system regarding connected network communication |
CN108881932A (en) * | 2017-11-24 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of video playing |
-
2018
- 2018-12-18 CN CN201811555016.3A patent/CN109788314B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090109859A1 (en) * | 2007-10-31 | 2009-04-30 | At&T Knowledge Ventures, Lp | Method and System for Detecting a Fault Condition Based on Failed IGMP Join Attempts |
CN101662677A (en) * | 2008-08-29 | 2010-03-03 | 深圳华为通信技术有限公司 | Code stream conversion system, code stream conversion method, code stream identification unit and scheme determination unit |
CN104410918A (en) * | 2014-12-09 | 2015-03-11 | 广州华多网络科技有限公司 | Method and device for adjusting parameters of live video |
CN107995451A (en) * | 2016-10-26 | 2018-05-04 | 北京视联动力国际信息技术有限公司 | A kind of inspection method and device regarding networked video stream |
CN108418778A (en) * | 2017-02-09 | 2018-08-17 | 北京视联动力国际信息技术有限公司 | A kind of internet and method, apparatus and interactive system regarding connected network communication |
CN107231564A (en) * | 2017-05-31 | 2017-10-03 | 广州华多网络科技有限公司 | A kind of net cast method, live broadcast system and direct broadcast server |
CN108881932A (en) * | 2017-11-24 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of video playing |
CN107948674A (en) * | 2017-12-07 | 2018-04-20 | 天津天地伟业机器人技术有限公司 | A kind of VOD method applied in NVR equipment |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519009A (en) * | 2019-08-05 | 2019-11-29 | 视联动力信息技术股份有限公司 | A kind of data pack transmission method and device |
CN110662001A (en) * | 2019-09-27 | 2020-01-07 | 深圳市大拿科技有限公司 | Video projection display method, device and storage medium |
CN110662001B (en) * | 2019-09-27 | 2021-11-16 | 深圳市海雀科技有限公司 | Video projection display method, device and storage medium |
CN110740296A (en) * | 2019-09-30 | 2020-01-31 | 视联动力信息技术股份有限公司 | method and device for processing video stream monitored by video network |
CN110868610B (en) * | 2019-10-25 | 2021-11-12 | 富盛科技股份有限公司 | Streaming media transmission method, device, server and storage medium |
CN110868610A (en) * | 2019-10-25 | 2020-03-06 | 富盛科技股份有限公司 | Streaming media transmission method and device and server |
CN111131840B (en) * | 2019-12-25 | 2023-05-23 | 视联动力信息技术股份有限公司 | Method and device for switching network of video service system |
CN111131840A (en) * | 2019-12-25 | 2020-05-08 | 视联动力信息技术股份有限公司 | Method and device for switching network of video service system |
CN111147859A (en) * | 2019-12-31 | 2020-05-12 | 视联动力信息技术股份有限公司 | Video processing method and device |
CN111641848B (en) * | 2020-04-21 | 2024-09-17 | 视联动力信息技术股份有限公司 | Video code rate adjusting method and device |
CN111641848A (en) * | 2020-04-21 | 2020-09-08 | 视联动力信息技术股份有限公司 | Video code rate adjusting method and device |
CN111770067A (en) * | 2020-06-12 | 2020-10-13 | 山东浪潮通软信息科技有限公司 | Security video acquisition method, device and system based on Internet of things |
CN111770067B (en) * | 2020-06-12 | 2022-07-19 | 浪潮通用软件有限公司 | Security video acquisition method, device and system based on Internet of things |
WO2022007619A1 (en) * | 2020-07-10 | 2022-01-13 | 华为技术有限公司 | Video transmission method, device, system, and storage medium |
CN112672212A (en) * | 2020-12-16 | 2021-04-16 | 深圳乐播科技有限公司 | Video transcoding screen projection method, device and system |
CN112866728A (en) * | 2020-12-23 | 2021-05-28 | 贵阳叁玖互联网医疗有限公司 | Streaming media live broadcast method and system capable of supporting multiple code rates |
CN115243074A (en) * | 2022-07-26 | 2022-10-25 | 京东方科技集团股份有限公司 | Video stream processing method and device, storage medium and electronic equipment |
WO2024022317A1 (en) * | 2022-07-26 | 2024-02-01 | 京东方科技集团股份有限公司 | Video stream processing method and apparatus, storage medium, and electronic device |
WO2024120009A1 (en) * | 2022-12-05 | 2024-06-13 | 华为云计算技术有限公司 | Multimedia processing system, multimedia processing method, and related device |
Also Published As
Publication number | Publication date |
---|---|
CN109788314B (en) | 2021-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109788314A (en) | A kind of method and apparatus of video stream data transmission | |
CN109120946A (en) | The method and apparatus for watching live streaming | |
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 | |
CN108881815A (en) | A kind of transmission method and device of video data | |
CN109194982A (en) | A kind of method and apparatus for transmitting big file stream | |
CN109803111A (en) | A kind of method for watching after the meeting and device of video conference | |
CN109462761A (en) | A kind of video encoding/decoding method and device | |
CN110113299A (en) | Data transmission method, device, signal server and computer-readable medium | |
CN108124158B (en) | The data processing method of multimedia terminal and multimedia terminal | |
CN110166433A (en) | A kind of method and system that video data obtains | |
CN110049273A (en) | A kind of meeting method for recording and transfer server based on view networking | |
CN110460804A (en) | Conferencing data sending method, system, equipment and computer readable storage medium | |
CN110392226A (en) | A kind of live streaming implementation method and device | |
CN110049346A (en) | A kind of method and system of net cast | |
CN109151610A (en) | A kind for the treatment of method and apparatus receiving web camera picture | |
CN110177023A (en) | A kind of communication connection detection method and device based on view networking | |
CN109257615A (en) | A kind of method and apparatus that net cast is shown | |
CN108966003A (en) | A kind of method and apparatus of TV data processing | |
CN108989831A (en) | A kind of network REC method and apparatus of multi-code stream | |
CN110087147A (en) | A kind of method and apparatus of audio/video flow transmission | |
CN110087028A (en) | A kind of web video component obtains the method and system of video flowing | |
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 | |
CN110149497A (en) | A kind of view networked data transmission method, apparatus, system and readable storage medium storing program for executing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013 Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113 Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |