CN110049341A - Method for processing video frequency and device - Google Patents
Method for processing video frequency and device Download PDFInfo
- Publication number
- CN110049341A CN110049341A CN201910176732.9A CN201910176732A CN110049341A CN 110049341 A CN110049341 A CN 110049341A CN 201910176732 A CN201910176732 A CN 201910176732A CN 110049341 A CN110049341 A CN 110049341A
- Authority
- CN
- China
- Prior art keywords
- multichannel
- view
- networking
- depending
- packet
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- 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
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/84—Generation or processing of descriptive data, e.g. content descriptors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of method for processing video frequency and devices.Wherein method include: first depending on intranet network equipment get multichannel view networking protocol request packet after, by multichannel view networking protocol request packet via depending on network Core server be forwarded to the second view intranet network equipment;Every road is packaged with the video traffic identifier for adjusting stream request and road tune stream request binding all the way depending on networking protocol request packet;Multichannel is converted to depending on networking protocol request packet by multichannel Internet protocol request packet;First view intranet network equipment receives what the second view intranet network equipment returned, and regards networking protocol data packet via the multichannel of view networking Core server forwarding;Every road view networking protocol data envelope is equipped with the video traffic identifier for adjusting stream to request corresponding video stream data and binding all the way;Multichannel is converted to multichannel Internet protocol data packet depending on networking protocol data packet depending on intranet network equipment by first, and multichannel Internet protocol data packet is sent to internet terminal.The present invention, which can be avoided, occurs crossfire phenomenon.
Description
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of method for processing video frequency and a kind of video processing dress
It sets.
Background technique
Video monitoring is the important component of safety and protection system.Traditional monitoring system include front end surveillance device,
Transmission cable, video monitoring platform.Video monitoring is intuitive with it, accurate, timely abundant with the information content and is widely used in being permitted
More occasions.In recent years, with computer, network and image procossing, the rapid development of transmission technology, Video Supervision Technique also has
Significant progress.
In practical applications, the monitor video that user can request checking monitoring equipment to acquire on the client.But
When the monitor video of multiple monitoring devices acquisition is checked in request simultaneously, video flowing recipient can receive video stream simultaneously person
The multi-path video stream of transmission, and video flowing recipient can not separate this multi-path video stream, thus caused by video flowing recipient
There is the phenomenon that video streaming.
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
A kind of method for processing video frequency and a kind of corresponding video process apparatus to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of method for processing video frequency, the method is applied to view
In networking, includes view intranet network equipment and view networking Core server in view networking, include that internet is whole in internet
End, which comprises
First depending on intranet network equipment get multichannel view networking protocol request packet after, by the multichannel regard networking protocol
Request packet is forwarded to the second view intranet network equipment depending on networking Core server via described;Every road view networking protocol request encapsulating
Equipped with the video traffic identifier for adjusting stream request and road tune stream request binding all the way;The multichannel view networking protocol request packet is by multichannel
Internet protocol request packet is converted to, and the multichannel Internet protocol data packet is sent by the internet terminal;
Described first receives what the second view intranet network equipment returned depending on intranet network equipment, and joins via the view
The multichannel of net Core server forwarding regards networking protocol data packet;Every road view networking protocol data envelope is equipped with the tune stream all the way
Request the video traffic identifier of corresponding video stream data and binding;
The multichannel is converted to multichannel Internet protocol depending on networking protocol data packet depending on intranet network equipment by described first
Data packet, and the multichannel Internet protocol data packet is sent to the internet terminal.
Optionally, the method also includes: after the internet terminal receives the multichannel Internet protocol data packet,
The video traffic identifier of the video stream data all the way wherein encapsulated and binding is extracted from every road the Internet protocol data packet respectively;Institute
Internet terminal is stated according to the corresponding relationship of preset video traffic identifier and broadcast window, every road video stream data is respectively corresponded
Output to broadcast window corresponding with the video traffic identifier of the binding plays out.
Optionally, described first depending on intranet network equipment after getting multichannel view networking protocol request packet, will be described
Multichannel depending on networking protocol request packet via it is described depending on networking Core server be forwarded to the second view intranet network equipment the step of it
Before, further includes: third receives the multichannel Internet protocol request packet that the internet terminal is sent depending on intranet network equipment, and will
The multichannel Internet protocol request packet is converted into multichannel view networking protocol request packet;The third regards intranet network equipment for institute
It states multichannel and is forwarded to the first view intranet network equipment depending on networking Core server via described depending on networking protocol request packet.
Optionally, the step that the multichannel Internet protocol request packet is converted into multichannel view networking protocol request packet
Suddenly, comprising: the third view intranet network equipment is directed to every road Internet protocol request packet, from current internet protocol request packet
It is middle to extract the video traffic identifier for adjusting stream request and road tune stream request binding all the way wherein encapsulated;The third regards intranet network
Equipment based on view networking protocol encapsulation extract all the way adjust stream request and the road tune stream request binding video traffic identifier, obtain by
The view networking protocol request packet that current internet protocol request packet is converted into.
Optionally, the step that the multichannel is converted to multichannel Internet protocol data packet depending on networking protocol data packet
Suddenly, comprising: the first view intranet network equipment regards networking protocol data packet for every road, from when forward sight networking protocol data packet
The middle video traffic identifier for extracting the video stream data all the way wherein encapsulated and binding;The first view intranet network equipment is based on mutual
The networking protocol encapsulation video stream data all the way extracted and the video traffic identifier of binding, obtain by when forward sight networking protocol data packet
The Internet protocol data packet being converted into.
On the other hand, the embodiment of the invention also discloses a kind of video process apparatus, described device is applied in view networking,
View networking in include view intranet network equipment and view networking Core server, in internet include internet terminal, first
Include: depending on intranet network equipment
Forwarding module, for after getting multichannel view networking protocol request packet, multichannel view networking protocol to be requested
Packet is forwarded to the second view intranet network equipment depending on networking Core server via described;Every road is packaged with depending on networking protocol request packet
The video traffic identifier of stream request and road tune stream request binding is adjusted all the way;The multichannel is interconnected depending on networking protocol request packet by multichannel
FidonetFido request packet is converted to, and the multichannel Internet protocol data packet is sent by the internet terminal;
Receiving module, for receiving the second view intranet network equipment return, and via view networking core clothes
The multichannel that device forwards of being engaged in regards networking protocol data packet;Every road view networking protocol data envelope is corresponded to equipped with the tune stream request all the way
Video stream data and binding video traffic identifier;
First conversion module, for the multichannel to be converted to multichannel the Internet protocol data depending on networking protocol data packet
Packet, and the multichannel Internet protocol data packet is sent to the internet terminal.
Optionally, the internet terminal includes: extraction module, for receiving the multichannel Internet protocol data packet
Afterwards, the video for extracting the video stream data all the way wherein encapsulated and binding from every road the Internet protocol data packet respectively is failed to be sold at auction
Know;Output module distinguishes every road video stream data for the corresponding relationship according to preset video traffic identifier and broadcast window
Broadcast window corresponding with the video traffic identifier of the binding is correspondingly outputting to play out.
Optionally, third includes: the second conversion module depending on intranet network equipment, is sent for receiving the internet terminal
Multichannel Internet protocol request packet, and by the multichannel Internet protocol request packet be converted into multichannel view networking protocol request
Packet;Sending module, for by the multichannel depending on networking protocol request packet via it is described be forwarded to depending on networking Core server it is described
First view intranet network equipment.
Optionally, second conversion module includes: the second information extraction unit, for asking for every road Internet protocol
Packet is sought, the view for adjusting stream request and road tune stream request binding all the way wherein encapsulated is extracted from current internet protocol request packet
Frequency traffic identifier;Second Information encapsulation unit, the request of the stream of tune all the way and the road tune stream for being extracted based on view networking protocol encapsulation
The video traffic identifier for requesting binding, obtains the view networking protocol request packet being converted by current internet protocol request packet.
Optionally, first conversion module includes: first information extraction unit, for regarding networking protocol number for every road
According to packet, the video traffic identifier of the video stream data all the way wherein encapsulated and binding is extracted from when forward sight networking protocol data packet;
First information encapsulation unit, the video for the internet protocol-based encapsulation video stream data all the way extracted and binding are failed to be sold at auction
Know, obtains the Internet protocol data packet by being converted into when forward sight networking protocol data packet.
In the embodiment of the present invention, first depending on intranet network equipment get multichannel view networking protocol request packet after, by institute
It states multichannel and is forwarded to the second view intranet network equipment depending on networking Core server via described depending on networking protocol request packet;Every road view
Networking protocol request packet is packaged with adjusts stream request and the video traffic identifier for adjusting stream request binding all the way;The multichannel view networking
Agreement request packet is converted to by multichannel Internet protocol request packet, and the multichannel Internet protocol data packet is by the internet
Terminal is sent;First receives what the second view intranet network equipment returned depending on intranet network equipment, and networks via the view
The multichannel of Core server forwarding regards networking protocol data packet;Every road is asked depending on networking protocol data envelope equipped with the tune stream all the way
Seek the video traffic identifier of corresponding video stream data all the way and binding;The multichannel is regarded networking association by the first view intranet network equipment
View data packet is converted to multichannel Internet protocol data packet, and the multichannel Internet protocol data packet is sent to the interconnection
Network termination.It follows that being adjusted due to being bundled with video traffic identifier respectively to the request of every road tune stream returning in the embodiment of the present invention
Also the video traffic identifier of binding is returned to when stream request video stream data simultaneously, therefore internet terminal is receiving multi-path video stream
When data, it is which adjusts stream to ask that it is corresponding that every road video stream data can be accurately distinguished according to the video traffic identifier returned simultaneously
It asks, so as to avoid that crossfire phenomenon occurs.
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 of method for processing video frequency of the embodiment of the present invention one;
Fig. 6 is a kind of step flow chart of method for processing video frequency of the embodiment of the present invention two;
Fig. 7 is a kind of structural block diagram of video process apparatus of the embodiment of the present invention three.
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 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.
1, view networked devices classification
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 destination 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, if there is Bao Ze is according to the view of packet networking purpose
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 data packets, 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, the video processing schemes of the embodiment of the present invention are proposed, it then follows regard the association of networking
View when can request multi-path video stream at the same time, avoids that crossfire phenomenon occurs.
The video processing schemes of the embodiment of the present invention can be applied in view networking.It may include view networking in depending on networking
Core server (such as above-mentioned node server) and view intranet network equipment.Depending on intranet network equipment first in view networking core
Registration rear is carried out in server can access depending on carrying out related service in networking.After succeeding in registration, depending on Core server meeting of networking
View intranet network equipment to succeed in registration distributes virtual terminal number and Virtual MAC (Media Access Control, media
Access control) address, virtual terminal number and virtual mac address correspond.Pass through view networking kernel service in view networking
Device is that the virtual terminal number distributed depending on intranet network equipment and virtual mac address carry out unique identification and regard intranet network equipment.Than
It such as, is the virtual terminal number for regarding the distribution of intranet network equipment as 11130, virtual mac address B6EA6A060014;For
Another virtual terminal number for regarding the distribution of intranet network equipment is 11131, and virtual mac address is B6EA6A060015, etc..
The case where multichannel tune stream is requested is sent simultaneously depending on intranet network equipment to another depending on intranet network equipment when one
Under, since virtual terminal number and virtual mac address cannot achieve similar to UDP (the User Datagram in internet
Protocol, User Datagram Protocol) and TCP (Transmission Control Protocol, transmission control protocol) end
Slogan distinguishes the function of upper layer application, after the multi-channel video flow data for leading to receive return, due to multi-channel video flow data
It is that the same virtual terminal number and virtual mac address send over, so that multi-channel video flow data cannot be accurately distinguished,
Cause video flowing crossfire.And if by distributing multiple and different virtual terminal number and virtual depending on intranet network equipment to be same
MAC Address, each virtual terminal number and virtual mac address return to video stream data all the way, to distinguish multi-channel video fluxion
According to will cause the serious waste of virtual terminal number and virtual mac address, and work as virtual terminal number and virtual mac address
In the case where critical shortage, it can not achieve while transferring multi-path video stream.
Therefore, it is devised in the embodiment of the present invention through addition video traffic identifier come unique identification video stream data all the way
Mode, the video traffic identifier of addition can distinguish the application on upper layer, such a view connection like the port numbers in udp protocol
Web network equipment can only use a virtual terminal number and virtual mac address, can either guarantee to accurately distinguish multichannel view
Frequency flow data also can be avoided the waste to virtual terminal number and virtual mac address.
Embodiment one
Referring to Fig. 5, a kind of step flow chart of method for processing video frequency of the embodiment of the present invention one is shown.
The method for processing video frequency of the embodiment of the present invention may comprise steps of:
Step 501, first depending on intranet network equipment get multichannel view networking protocol request packet after, the multichannel is regarded
Networking protocol request packet is forwarded to the second view intranet network equipment depending on networking Core server via described.
It include internet terminal in internet, user can be transferred by internet terminal in view intranet network equipment
Video stream data is checked.Internet terminal can be PC (PC), mobile phone, tablet computer, etc..
If user wants while transferring multi-channel video flow data, multichannel tune stream can be triggered on internet terminal and is asked
It asks, internet terminal is every road tune stream request one video traffic identifier of binding, and internet terminal will adjust stream request and the road all the way
It adjusts the video traffic identifier of stream request binding to be encapsulated as Internet protocol request packet all the way, and sends the multichannel internet that encapsulation obtains
Agreement request packet.Due to adjusting the video traffic identifier of stream request and road tune stream request binding to be sent into view networking,
Multichannel Internet protocol request packet is also to be converted to regard networking protocol request packet at multichannel, and every road view networking protocol requests encapsulation
There is the video traffic identifier adjusted stream request all the way and adjust stream request binding.
First depending on intranet network equipment get multichannel view networking protocol request packet after, by the multichannel regard networking protocol
Request packet is forwarded to the second view intranet network equipment depending on networking Core server via described.
Step 502, first receive what the second view intranet network equipment returned depending on intranet network equipment, and via described
Multichannel depending on networking Core server forwarding regards networking protocol data packet.
Second can connect multiple video capture devices (such as monitoring device) depending on intranet network equipment, be managed collectively video
Acquire the video stream data of equipment acquisition.After second receives multichannel view networking protocol request packet depending on intranet network equipment, to every
Road is parsed depending on networking protocol request packet, extracts the tune stream request wherein encapsulated respectively and the video of stream request binding is adjusted to fail to be sold at auction
Know.Second view intranet network equipment, which obtains every road tune stream, requests corresponding video stream data, and will adjust stream request corresponding all the way
Video stream data and the video traffic identifier for adjusting stream request to bind are encapsulated as regarding networking protocol data packet all the way together.Second view networking
Obtained multichannel is regarded networking protocol data packet by the network equipment, is forwarded to the first view intranet network via depending on networking Core server
Equipment.
Step 503, first the multichannel is converted into multichannel internet depending on networking protocol data packet depending on intranet network equipment
Protocol data packet, and the multichannel Internet protocol data packet is sent to the internet terminal.
After first receives multichannel view networking protocol data packet depending on intranet network equipment, due to adjusting stream to request corresponding video
Flow data and the video traffic identifier for adjusting stream request to bind are to be sent into internet, therefore first will be more depending on intranet network equipment
Road is converted to multichannel Internet protocol data packet depending on networking protocol data packet, will also be converted to all the way depending on networking protocol data packet
Corresponding the Internet protocol data packet all the way, and multichannel Internet protocol data packet is sent to internet terminal.
Due to being bundled with video traffic identifier respectively to the request of every road tune stream in the embodiment of the present invention, stream request view is adjusted returning
Also the video traffic identifier of binding is returned when frequency flow data simultaneously, therefore internet terminal is when receiving multi-channel video flow data,
It is that it is corresponding that every road video stream data can be accurately distinguished according to the video traffic identifier returned simultaneously for which tune stream request, thus
It can be avoided and crossfire phenomenon occurs.
Embodiment two
First in the embodiment of the present invention to regard intranet network equipment can be shared server, shared server can with it is mutual
The communication connection of networked terminals internet protocol-based.Second to regard intranet network equipment can be streaming media server, Streaming Media clothes
Being engaged in device can be with video capture device based on view networking protocol communication connection.Third, which regards intranet network equipment, to be monitoring resource
Server, monitoring Resource Server can be communicated to connect with internet terminal internet protocol-based.Shared server, Streaming Media
Server and monitoring Resource Server can be based on view networking protocol communication connection with view networking Core server, be networked by view
The forwarding of Core server realization data.
Referring to Fig. 6, a kind of step flow chart of method for processing video frequency of the embodiment of the present invention two is shown.
The method for processing video frequency of the embodiment of the present invention may comprise steps of:
Step 601, third view intranet network equipment receives the multichannel Internet protocol request packet that internet terminal is sent, and
The multichannel Internet protocol request packet is converted into multichannel view networking protocol request packet.
If user wants the video stream data for checking multiple video capture device acquisitions by internet terminal, user
The mark that the multiple video capture devices for wanting to transfer can be inputted on internet terminal, for video capture device
It identifies corresponding video capture device triggering and adjusts stream request all the way, to trigger the request of multichannel tune stream, adjusting all the way can in stream request
To carry the mark of a video capture device.Internet terminal requests to generate a video traffic identifier respectively for every road tune stream
It requests to bind with the road tune stream.Internet terminal internet protocol-based, by the request of every road tune stream and road tune stream request binding
Video traffic identifier be encapsulated as Internet protocol request packet all the way respectively.Internet terminal passes through internet for multichannel internet protocol
View request packet is sent to third view intranet network equipment.
Third regards intranet network equipment and receives multichannel Internet protocol request packet.Due to transmission stream to be adjusted to ask in depending on networking
The video traffic identifier of stream request binding is sought and adjusts, therefore third view intranet network equipment converts multichannel Internet protocol request packet
At corresponding multichannel regard networking protocol request packet, also will every road Internet protocol request packet be converted into it is corresponding all the way view networking
Agreement request packet.
In a kind of optional embodiment, multichannel Internet protocol request packet is converted into multichannel view networking protocol request packet
The step of may include: third view intranet network equipment for every road Internet protocol request packet, asked from current internet protocol
Seek the video traffic identifier for adjusting stream request and road tune stream request binding all the way for extracting in packet and wherein encapsulating;Third regards intranet network
Equipment based on view networking protocol encapsulation extract all the way adjust stream request and it is described adjust stream request binding video traffic identifier, obtain by
The view networking protocol request packet that current internet protocol request packet is converted into.
It can have corresponding view networking packet header depending on networking protocol request packet.It is converted in third depending on intranet network equipment
Depending on networking protocol request packet it is corresponding depending on networking packet header in can carry source MAC, source terminal number, target MAC (Media Access Control) address,
The information such as purpose termination number, such as source MAC and source terminal number can regard the Virtual MAC of intranet network equipment for third
Address and virtual terminal number, target MAC (Media Access Control) address and purpose termination number can be the Virtual MAC of the first view intranet network equipment
Address and virtual terminal number.It can be carried depending on networking protocol request packet and adjust stream request and the video of stream request binding is adjusted to fail to be sold at auction
Know, for example preceding 4 bytes can carry video traffic identifier in payload (load) field of view networking protocol request packet, after
Face byte carries the related data for adjusting stream request.
Step 602, third view intranet network equipment is by multichannel view networking protocol request packet via view networking core
Central server is forwarded to the first view intranet network equipment.
Third is depending on intranet network equipment by the way that multichannel is sent to view networking core clothes depending on networking protocol request packet depending on networking
Business device, then by multichannel is forwarded to the first view intranet network equipment depending on networking protocol request packet depending on networking Core server.
It, can be according to the first view intranet network device configuration depending on networking Core server in a kind of optional embodiment
Downstream communications link, multichannel is forwarded to the first view intranet network equipment depending on networking protocol request packet.
In practical applications, networking is regarded as the network with centralized control functions, including main control server and undernet
Equipment, which includes terminal, and one of the core idea depending on networking is, by notifying to exchange by main control server
Equipment is directed to when time downstream communications link of service matches table, and the table for being then based on the configuration carries out the transmission of data packet.
That is, including: depending on the communication means in networking
Main control server configuration is when time downstream communications link of service.
Work as time data packet of service for what source terminal was sent, is sent to target terminal according to the downstream communications link.
In embodiments of the present invention, it includes: notice when the downlink of secondary service is logical that time downstream communications link of service is worked as in configuration
Believe that switching equipment involved in link matches table.
It furthermore, include: the configured table of inquiry according to downstream communications link transmission, switching equipment is received to institute
Data packet is transmitted by corresponding port.
In the concrete realization, service includes unicast communication service and Multicast Communication Service.I.e. either cast communication is still
Unicast communication can realize the communication in view networking using the above-mentioned core idea with table-table.
As previously mentioned, view networking includes access mesh portions, in access net, which is node server, under
The grade network equipment includes access switch and terminal.
For the unicast communication service in access net, the main control server configuration is when time downlink communication chain of service
The step of road, may comprise steps of:
Sub-step S11, the service request protocol package that main control server is initiated according to source terminal are obtained when time downlink of service
Communication link information, downstream communications link information include participating in when time downlink of the main control server of service and access switch
Communication port information.
Sub-step S12, downstream communication ports information of the main control server according to main control server, data packet inside it
The downlink port that setting is oriented to when time data packet of service in address table;And believe according to the downstream communication ports of access switch
Breath, to corresponding access switch sending port configuration order.
Sub-step S13, access switch according in port configuration command data packet addressed table inside it, setting when time
The downlink port that the data packet of service is oriented to.
For the Multicast Communication Service (such as video conference) in access net, main control server is obtained when under time service
The step of row communication link information may include following sub-step:
Sub-step S21, main control server obtain the service request agreement for the application Multicast Communication Service that target terminal is initiated
It wraps, includes the access net address of service type information, service content information and target terminal in service request protocol package.
It wherein, include service number in service content information.
Sub-step S22, main control server according to the service number in preset content-address mapping table, extraction source
The access net address of terminal.
Sub-step S23, main control server obtains the corresponding multicast address of source terminal, and distributes to target terminal;And according to
According to the access net address of service type information, source terminal and target terminal, the communication link information when time multicast services is obtained.
Step 603, first depending on intranet network equipment get multichannel view networking protocol request packet after, the multichannel is regarded
Networking protocol request packet is forwarded to the second view intranet network equipment depending on networking Core server via described.
First requests depending on intranet network equipment in the multichannel view networking protocol for receiving third view intranet network equipment transmission
Bao Hou, it is respectively that every road is corresponding depending on the source MAC and source terminal number that carry in networking packet header depending on networking protocol request packet
It is set as the virtual mac address and virtual terminal number of the first view intranet network equipment, target MAC (Media Access Control) address and purpose termination number
It is set as the virtual mac address and virtual terminal number of the second view intranet network equipment.First passes through view depending on intranet network equipment
Multichannel is sent to view networking Core server depending on networking protocol request packet by networking, then by regarding multichannel depending on networking Core server
Networking protocol request packet is forwarded to the second view intranet network equipment.
It, can be according to the second view intranet network device configuration depending on networking Core server in a kind of optional embodiment
Downstream communications link, multichannel is forwarded to the second view intranet network equipment depending on networking protocol request packet.
Step 604, first receive what the second view intranet network equipment returned depending on intranet network equipment, and via described
Multichannel depending on networking Core server forwarding regards networking protocol data packet.
After second receives multichannel view networking protocol request packet depending on intranet network equipment, for the view networking protocol request of every road
Packet extracts the video for adjusting stream request and road tune stream request binding all the way wherein encapsulated from when forward sight networking protocol request packet
Traffic identifier.Second view intranet network equipment is requested for every road tune stream, is obtained the road tune stream and is requested corresponding video stream data (ratio
The video fluxion that corresponding video capture device acquires is identified as obtained the video capture device carried in road tune stream request
According to), and will adjust stream that corresponding video stream data all the way and the video traffic identifier of binding is requested to encapsulate all the way based on view networking protocol
To regard networking protocol data packet all the way, multichannel view networking protocol data packet is obtained.
Second is corresponding depending on carrying in networking packet header depending on networking protocol data packet by every road respectively depending on intranet network equipment
Source MAC and source terminal number are set as the virtual mac address and virtual terminal number of the second view intranet network equipment, purpose
MAC Address and purpose termination number are set as the virtual mac address and virtual terminal number of the first view intranet network equipment.Second
Networking Core server is regarded by being sent to multichannel depending on networking protocol data packet depending on networking depending on intranet network equipment, then is joined by view
Multichannel is forwarded to the first view intranet network equipment depending on networking protocol data packet by net Core server.
It, can be according to the first view intranet network device configuration depending on networking Core server in a kind of optional embodiment
Downstream communications link, multichannel is forwarded to the first view intranet network equipment depending on networking protocol data packet.
Step 605, first the multichannel is converted into multichannel internet depending on networking protocol data packet depending on intranet network equipment
Protocol data packet, and the multichannel Internet protocol data packet is sent to the internet terminal.
First view intranet network equipment receives multichannel and regards networking protocol data packet.Stream is adjusted to ask due to transmit in internet
The video traffic identifier of corresponding video stream data and binding is sought, therefore multichannel is regarded networking protocol number by the first view intranet network equipment
Be converted into corresponding multichannel Internet protocol data packet according to packet, also will every road depending on networking protocol data packet be converted into corresponding one
Road the Internet protocol data packet.First is sent to the multichannel Internet protocol data packet being converted to mutually depending on intranet network equipment
Networked terminals.
In a kind of optional embodiment, multichannel is converted into multichannel Internet protocol data packet depending on networking protocol data packet
The step of to may include: the first view intranet network equipment regard networking protocol data packet for every road, from working as forward sight networking protocol number
According to the video traffic identifier for extracting the video stream data all the way wherein encapsulated and binding in packet;First view intranet network equipment is based on mutual
The networking protocol encapsulation video stream data all the way extracted and the video traffic identifier of binding, obtain by when forward sight networking protocol data packet
The Internet protocol data packet being converted into.
Step 606, after internet terminal receives the multichannel Internet protocol data packet, respectively from every road internet protocol
The video traffic identifier of the video stream data all the way wherein encapsulated and binding is extracted in view data packet.
After internet terminal receives multichannel Internet protocol data packet, every road the Internet protocol data packet is carried out respectively
Parsing, the video for extracting the video stream data all the way wherein encapsulated and binding from every road the Internet protocol data packet respectively are failed to be sold at auction
Know.
Step 607, internet terminal according to preset video traffic identifier and broadcast window corresponding relationship, by every road video
Flow data respectively corresponds output to broadcast window corresponding with the video traffic identifier of the binding and plays out.
Since internet terminal requests multi-channel video flow data simultaneously, multiple broadcast windows can be set, one is broadcast
Put window for play video stream data all the way.
Internet terminal goes out to preset the corresponding relationship of video traffic identifier and broadcast window, obtains multichannel in parsing
After adjusting stream to request corresponding video stream data and the video traffic identifier of binding, every road tune stream is requested into corresponding video stream data point
It is not correspondingly outputting to broadcast window corresponding with the video traffic identifier of road tune stream request binding to play out, to guarantee correct
It plays per video stream data all the way.
It is illustrated below.(video acquisition is set for the device identification 1 and device identification 2 that internet terminal obtains user's input
Standby mark);Internet terminal generates the tune stream request 1 of Portable device mark 1 and the tune stream request 2 of Portable device mark 2;Mutually
Networked terminals are to adjust 1 binding video traffic identifier 1 of stream request, to adjust 2 binding video traffic identifier 2 of stream request;Internet terminal will be adjusted
Stream request 1 and video traffic identifier 1 are encapsulated as Internet protocol request packet 1, and stream request 2 and video traffic identifier 2 will be adjusted to be encapsulated as mutually
Networking protocol request packet 2;Internet protocol request packet 1 and Internet protocol request packet 2 are sent to third view by internet terminal
Intranet network equipment;Internet protocol request packet 1 is converted into view networking protocol request packet 1 depending on intranet network equipment by third, will
Internet protocol request packet 2 is converted into view networking protocol request packet 2;Third, which regards intranet network equipment, will regard networking protocol request packet
1 is forwarded to the first view intranet network equipment via depending on networking Core server with depending on networking protocol request packet 2;First view networking net
Network equipment will be forwarded to the second view via depending on networking Core server depending on networking protocol request packet 1 and depending on networking protocol request packet 2
Intranet network equipment;Second obtains adjusting stream request 1 and video traffic identifier depending on networking protocol request packet 1 depending on the parsing of intranet network equipment
1, parsing obtains adjusting stream request 2 and video traffic identifier 2 depending on networking protocol request packet 2;Second view intranet network equipment, which obtains, adjusts stream
The video stream data 1 that the device identification 1 carried in request 1 acquires obtains what the device identification 2 carried in tune stream request 2 acquired
Video stream data 2;Video stream data 1 and video traffic identifier 1 are encapsulated as view networking protocol data depending on intranet network equipment by second
Video stream data 2 and video traffic identifier 2 are encapsulated as view networking protocol data packet 2 by packet 1;Second view intranet network equipment will regard
Networking protocol data packet 1 and view networking protocol data packet 2 are forwarded to first and set depending on intranet network via depending on Core server of networking
It is standby;First will be converted into the Internet protocol data packet 1 depending on networking protocol data packet 1 depending on intranet network equipment, will regard networking protocol
Data packet 2 is converted into the Internet protocol data packet 2;First regards intranet network equipment for the Internet protocol data packet 1 and internet
Protocol data packet 2 is sent to internet terminal;Internet terminal parsing internet protocol data packet 1 obtains 1 He of video stream data
Video traffic identifier 1, parsing internet protocol data packet 2 obtain video stream data 2 and video traffic identifier 2;Internet terminal is preset
Video traffic identifier 1 corresponds to broadcast window 1, the corresponding broadcast window 2 of video traffic identifier 2, by the output of video stream data 1 to broadcast window
1 plays, and the output of video stream data 2 to broadcast window 2 is played.
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
Referring to Fig. 7, a kind of structural block diagram of video process apparatus of the embodiment of the present invention three is shown.The embodiment of the present invention
Video process apparatus be applied to view networking in, view networking in include view intranet network equipment and view networking Core server,
It include internet terminal in internet.
The video process apparatus of the embodiment of the present invention may include each module in following equipment:
First includes: depending on intranet network equipment
Forwarding module 701, for after getting multichannel view networking protocol request packet, the multichannel to be asked depending on networking protocol
Packet is asked to be forwarded to the second view intranet network equipment depending on networking Core server via described;Every road view networking protocol requests encapsulation
There is the video traffic identifier for adjusting stream request and road tune stream request binding all the way;The multichannel view networking protocol request packet is by multipath
Networking protocol request packet is converted to, and the multichannel Internet protocol data packet is sent by the internet terminal;
Receiving module 702, for receiving the second view intranet network equipment return, and via view networking core
The multichannel of server forwarding regards networking protocol data packet;Every road view networking protocol data envelope is equipped with the tune stream request pair all the way
The video stream data answered and the video traffic identifier of binding;
First conversion module 703, for the multichannel to be converted to multichannel Internet protocol number depending on networking protocol data packet
The internet terminal is sent to according to packet, and by the multichannel Internet protocol data packet.
In a kind of optional embodiment, the internet terminal includes: extraction module, for receiving the multipath
After networking protocol data packet, the video stream data all the way wherein encapsulated is extracted from every road the Internet protocol data packet respectively and is tied up
Fixed video traffic identifier;Output module regards every road for the corresponding relationship according to preset video traffic identifier and broadcast window
Frequency flow data respectively corresponds output to broadcast window corresponding with the video traffic identifier of the binding and plays out.
In a kind of optional embodiment, third includes: the second conversion module depending on intranet network equipment, described for receiving
The multichannel Internet protocol request packet that internet terminal is sent, and the multichannel Internet protocol request packet is converted into multichannel view
Networking protocol request packet;Sending module, for the multichannel to be regarded networking protocol request packet via view networking kernel service
Device is forwarded to the first view intranet network equipment.
In a kind of optional embodiment, second conversion module includes: the second information extraction unit, for for every
Road Internet protocol request packet extracts the stream of the tune all the way request wherein encapsulated and the road tune from current internet protocol request packet
The video traffic identifier of stream request binding;Second Information encapsulation unit, the tune stream all the way for being extracted based on view networking protocol encapsulation
The video traffic identifier of request and road tune stream request binding obtains the view being converted by current internet protocol request packet networking association
Discuss request packet.
In a kind of optional embodiment, first conversion module includes: first information extraction unit, for for every
Road regards networking protocol data packet, extracts the video stream data all the way wherein encapsulated and binding from when forward sight networking protocol data packet
Video traffic identifier;First information encapsulation unit encapsulates the video stream data all the way extracted for internet protocol-based and ties up
Fixed video traffic identifier obtains the Internet protocol data packet by being converted into when forward sight networking protocol data packet.
Due to being bundled with video traffic identifier respectively to the request of every road tune stream in the embodiment of the present invention, stream request view is adjusted returning
Also the video traffic identifier of binding is returned when frequency flow data simultaneously, therefore internet terminal is when receiving multi-channel video flow data,
It is that it is corresponding that every road video stream data can be accurately distinguished according to the video traffic identifier returned simultaneously for which tune stream request, thus
It can be avoided and crossfire phenomenon occurs.
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 for processing video frequency provided by the present invention and a kind of video process apparatus, detailed Jie has been carried out
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (10)
1. a kind of method for processing video frequency, which is characterized in that the method is applied in view networking, includes view networking in view networking
The network equipment and view networking Core server, include internet terminal in internet, which comprises
First depending on intranet network equipment get multichannel view networking protocol request packet after, by the multichannel view networking protocol request
Packet is forwarded to the second view intranet network equipment depending on networking Core server via described;Every road is packaged with depending on networking protocol request packet
The video traffic identifier of stream request and road tune stream request binding is adjusted all the way;The multichannel is interconnected depending on networking protocol request packet by multichannel
FidonetFido request packet is converted to, and the multichannel Internet protocol data packet is sent by the internet terminal;
Described first receives what the second view intranet network equipment returned depending on intranet network equipment, and via view networking core
The multichannel of central server forwarding regards networking protocol data packet;Every road view networking protocol data envelope is equipped with the tune stream request all the way
Corresponding video stream data and the video traffic identifier of binding;
The multichannel is converted to multichannel the Internet protocol data depending on networking protocol data packet depending on intranet network equipment by described first
Packet, and the multichannel Internet protocol data packet is sent to the internet terminal.
2. the method according to claim 1, wherein the method also includes:
After the internet terminal receives the multichannel Internet protocol data packet, respectively from every road the Internet protocol data packet
The middle video traffic identifier for extracting the video stream data all the way wherein encapsulated and binding;
The internet terminal divides every road video stream data according to the corresponding relationship of preset video traffic identifier and broadcast window
Broadcast window corresponding with the video traffic identifier of the binding is not correspondingly outputting to play out.
3. the method according to claim 1, wherein getting multichannel depending on intranet network equipment described first
After networking protocol request packet, the multichannel is forwarded to the depending on networking Core server via described depending on networking protocol request packet
Before the step of two view intranet network equipment, further includes:
Third receives the multichannel Internet protocol request packet that the internet terminal is sent depending on intranet network equipment, and will be described more
Road Internet protocol request packet is converted into multichannel view networking protocol request packet;
The third view intranet network equipment is by multichannel view networking protocol request packet via view networking Core server
It is forwarded to the first view intranet network equipment.
4. according to the method described in claim 3, it is characterized in that, described be converted into the multichannel Internet protocol request packet
Multichannel regards the step of networking protocol request packet, comprising:
The third view intranet network equipment is directed to every road Internet protocol request packet, mentions from current internet protocol request packet
Take the video traffic identifier for adjusting stream request and road tune stream request binding all the way wherein encapsulated;
The request of the stream of tune all the way and road tune stream request that the third view intranet network equipment is extracted based on view networking protocol encapsulation
The video traffic identifier of binding obtains the view networking protocol request packet being converted by current internet protocol request packet.
5. the method according to claim 1, wherein described be converted to the multichannel depending on networking protocol data packet
The step of multichannel Internet protocol data packet, comprising:
The first view intranet network equipment regards networking protocol data packet for every road, mentions from when forward sight networking protocol data packet
Take the video traffic identifier of the video stream data all the way wherein encapsulated and binding;
The first view intranet network equipment internet protocol-based encapsulation video stream data all the way extracted and the video of binding
Traffic identifier obtains the Internet protocol data packet by being converted into when forward sight networking protocol data packet.
6. a kind of video process apparatus, which is characterized in that described device is applied in view networking, includes view networking in view networking
The network equipment and view networking Core server, include internet terminal in internet, first includes: depending on intranet network equipment
Forwarding module, for after getting multichannel view networking protocol request packet, multichannel view networking protocol request packet to be passed through
The second view intranet network equipment is forwarded to depending on networking Core server by described;Every road is packaged with all the way depending on networking protocol request packet
Adjust the video traffic identifier of stream request and road tune stream request binding;The multichannel view networking protocol request packet is by multichannel internet protocol
View request packet is converted to, and the multichannel Internet protocol data packet is sent by the internet terminal;
Receiving module, for receiving the second view intranet network equipment return, and via view networking Core server
The multichannel of forwarding regards networking protocol data packet;Every road view networking protocol data envelope requests corresponding view equipped with the tune stream all the way
Frequency flow data and the video traffic identifier of binding;
First conversion module, for the multichannel to be converted to multichannel Internet protocol data packet depending on networking protocol data packet, and
The multichannel Internet protocol data packet is sent to the internet terminal.
7. device according to claim 6, which is characterized in that the internet terminal includes:
Extraction module, after receiving the multichannel Internet protocol data packet, respectively from every road the Internet protocol data packet
The middle video traffic identifier for extracting the video stream data all the way wherein encapsulated and binding;
Output module, for the corresponding relationship according to preset video traffic identifier and broadcast window, by every road video stream data point
Broadcast window corresponding with the video traffic identifier of the binding is not correspondingly outputting to play out.
8. device according to claim 6, which is characterized in that third includes: depending on intranet network equipment
Second conversion module, the multichannel Internet protocol request packet sent for receiving the internet terminal, and will be described more
Road Internet protocol request packet is converted into multichannel view networking protocol request packet;
Sending module, for by the multichannel depending on networking protocol request packet via it is described be forwarded to depending on networking Core server it is described
First view intranet network equipment.
9. device according to claim 8, which is characterized in that second conversion module includes:
Second information extraction unit is mentioned from current internet protocol request packet for being directed to every road Internet protocol request packet
Take the video traffic identifier for adjusting stream request and road tune stream request binding all the way wherein encapsulated;
Second Information encapsulation unit, for being tied up based on the request of the stream of tune all the way and road tune stream request extracted depending on networking protocol encapsulation
Fixed video traffic identifier obtains the view networking protocol request packet being converted by current internet protocol request packet.
10. device according to claim 6, which is characterized in that first conversion module includes:
First information extraction unit is mentioned from when forward sight networking protocol data packet for regarding networking protocol data packet for every road
Take the video traffic identifier of the video stream data all the way wherein encapsulated and binding;
First information encapsulation unit, for the internet protocol-based encapsulation video stream data all the way extracted and the video flowing of binding
Mark obtains the Internet protocol data packet by being converted into when forward sight networking protocol data packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910176732.9A CN110049341B (en) | 2019-03-08 | 2019-03-08 | Video processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910176732.9A CN110049341B (en) | 2019-03-08 | 2019-03-08 | Video processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110049341A true CN110049341A (en) | 2019-07-23 |
CN110049341B CN110049341B (en) | 2022-02-18 |
Family
ID=67274551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910176732.9A Active CN110049341B (en) | 2019-03-08 | 2019-03-08 | Video processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110049341B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111385609A (en) * | 2020-02-20 | 2020-07-07 | 视联动力信息技术股份有限公司 | Video playback method and device |
CN111818010A (en) * | 2020-05-26 | 2020-10-23 | 视联动力信息技术股份有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN112995766A (en) * | 2019-12-12 | 2021-06-18 | 天翼智慧家庭科技有限公司 | Method and apparatus for identifying multiple video streams of IPTV |
CN115098726A (en) * | 2022-06-20 | 2022-09-23 | 河南省信息中心 | Video data processing method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102301730A (en) * | 2011-07-18 | 2011-12-28 | 华为技术有限公司 | Method, device and system for transmitting and processing multichannel AV |
JP2014099794A (en) * | 2012-11-15 | 2014-05-29 | Nippon Hoso Kyokai <Nhk> | Imaging device and signal processing device |
CN105262979A (en) * | 2014-06-27 | 2016-01-20 | 浙江大华技术股份有限公司 | Method and device for multi-channel video playback |
CN105872610A (en) * | 2015-12-10 | 2016-08-17 | 乐视体育文化产业发展(北京)有限公司 | Method, equipment and system for playing multiple paths of video data |
CN108206934A (en) * | 2016-12-16 | 2018-06-26 | 北京视联动力国际信息技术有限公司 | A kind of monitor video sharing method and device |
CN108810456A (en) * | 2017-07-17 | 2018-11-13 | 北京视联动力国际信息技术有限公司 | A kind of monitoring video flow transfers method and system |
-
2019
- 2019-03-08 CN CN201910176732.9A patent/CN110049341B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102301730A (en) * | 2011-07-18 | 2011-12-28 | 华为技术有限公司 | Method, device and system for transmitting and processing multichannel AV |
JP2014099794A (en) * | 2012-11-15 | 2014-05-29 | Nippon Hoso Kyokai <Nhk> | Imaging device and signal processing device |
CN105262979A (en) * | 2014-06-27 | 2016-01-20 | 浙江大华技术股份有限公司 | Method and device for multi-channel video playback |
CN105872610A (en) * | 2015-12-10 | 2016-08-17 | 乐视体育文化产业发展(北京)有限公司 | Method, equipment and system for playing multiple paths of video data |
CN108206934A (en) * | 2016-12-16 | 2018-06-26 | 北京视联动力国际信息技术有限公司 | A kind of monitor video sharing method and device |
CN108810456A (en) * | 2017-07-17 | 2018-11-13 | 北京视联动力国际信息技术有限公司 | A kind of monitoring video flow transfers method and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112995766A (en) * | 2019-12-12 | 2021-06-18 | 天翼智慧家庭科技有限公司 | Method and apparatus for identifying multiple video streams of IPTV |
CN112995766B (en) * | 2019-12-12 | 2023-10-10 | 天翼数字生活科技有限公司 | Method and device for identifying IPTV multi-channel video stream |
CN111385609A (en) * | 2020-02-20 | 2020-07-07 | 视联动力信息技术股份有限公司 | Video playback method and device |
CN111818010A (en) * | 2020-05-26 | 2020-10-23 | 视联动力信息技术股份有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN111818010B (en) * | 2020-05-26 | 2024-04-02 | 视联动力信息技术股份有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN115098726A (en) * | 2022-06-20 | 2022-09-23 | 河南省信息中心 | Video data processing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN110049341B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108810456B (en) | A kind of monitoring video flow transfers method and system | |
CN109120946A (en) | The method and apparatus for watching live streaming | |
CN110121059A (en) | Monitor video processing method, device and storage medium | |
CN109547417A (en) | Code stream transmission method and device | |
CN110049341A (en) | Method for processing video frequency and device | |
CN108322809A (en) | The method and system that control video file plays under depending on networking under a kind of internet | |
CN110087102A (en) | Method for inquiring status, device and storage medium | |
CN108243343B (en) | A kind of point distribution statistical method and its server based on view networking | |
CN109302642A (en) | Collecting method and device | |
CN110166433A (en) | A kind of method and system that video data obtains | |
CN110035005A (en) | Data processing method and device | |
CN109788369A (en) | Terminal control method and device | |
CN110049346A (en) | A kind of method and system of net cast | |
CN110035297A (en) | Method for processing video frequency and device | |
CN110266577A (en) | A kind of tunnel establishing method and view networked system | |
CN110138513A (en) | A kind of data transmission method and view networked system | |
CN110072115A (en) | Data processing method, device and storage medium | |
CN109309803A (en) | A kind of camera long-range control method and device | |
CN109842630A (en) | Method for processing video frequency and device | |
CN110392227A (en) | Data processing method, device and storage medium | |
CN109889755A (en) | Communication connecting method and device | |
CN109617766A (en) | A kind of heartbeat treating method and apparatus | |
CN109963123A (en) | A kind of control method and device of camera | |
CN109698859A (en) | A kind of date storage method and device based on view networking | |
CN108881148A (en) | A kind of data capture method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |