CN110035297A - Method for processing video frequency and device - Google Patents
Method for processing video frequency and device Download PDFInfo
- Publication number
- CN110035297A CN110035297A CN201910177274.0A CN201910177274A CN110035297A CN 110035297 A CN110035297 A CN 110035297A CN 201910177274 A CN201910177274 A CN 201910177274A CN 110035297 A CN110035297 A CN 110035297A
- Authority
- CN
- China
- Prior art keywords
- packet
- view
- depending
- network equipment
- networking
- 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 53
- 238000012545 processing Methods 0.000 title claims abstract description 26
- 230000006855 networking Effects 0.000 claims abstract description 339
- 230000008569 process Effects 0.000 claims description 16
- 238000005538 encapsulation Methods 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 238000000605 extraction Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 description 30
- 238000005516 engineering process Methods 0.000 description 20
- 230000005540 biological transmission Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 12
- 238000012544 monitoring process Methods 0.000 description 10
- 238000009826 distribution Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 6
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 102000006479 Heterogeneous-Nuclear Ribonucleoproteins Human genes 0.000 description 2
- 108010019372 Heterogeneous-Nuclear Ribonucleoproteins Proteins 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000002155 anti-virotic effect Effects 0.000 description 1
- 229910002056 binary alloy Inorganic materials 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000011248 coating agent Substances 0.000 description 1
- 238000000576 coating method Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
- H04L45/306—Route determination based on the nature of the carried application
- H04L45/3065—Route determination based on the nature of the carried application for real time traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L45/507—Label distribution
-
- 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/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- 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/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- 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/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/232—Content retrieval operation locally within server, e.g. reading video streams from disk arrays
-
- 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/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- 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/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (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: after receiving the packet capturing request of the carryings packet information that the packet capturing server is sent depending on networking Core server inquire itself with the presence or absence of and the matched view networking protocol data packet of the packet information;Depending on networking Core server in the presence of, be back to the packet capturing server depending on networking protocol data packet for described;Depending on networking Core server in the absence of, obtained from the corresponding view intranet network equipment of the packet information and the matched view networking protocol data packet of the packet information, and be back to the packet capturing server depending on networking protocol data packet for described.The present invention can be improved treatment effeciency, promote user experience.
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.
The monitor video that user can request checking monitoring equipment to acquire.But the video flowing of certain monitoring device acquisitions
It is possible that problem, cause to be unable to normal play at terminal checking.For this kind of problem, usually user checks terminal
Place's discovery video notifies maintenance personnel to handle after going wrong, but this kind of mode treatment effeciency is low, user experience compared with
Difference.
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
It include view networking Core server, packet capturing server and view intranet network equipment, the method packet in view networking in networking
It includes:
The packet capturing for receiving the carrying packet information that the packet capturing server is sent depending on networking Core server is asked
After asking, inquiring itself whether there is and the matched view networking protocol data packet of the packet information;
View networking Core server in the presence of, be back to the packet capturing service depending on networking protocol data packet for described
Device;
View networking Core server in the absence of, from the corresponding view intranet network equipment of the packet information
Obtain with the matched view networking protocol data packet of the packet information, and by it is described be back to depending on networking protocol data packet described in
Packet capturing server.
Optionally, the packet information includes source MAC;It is described to network net from the corresponding view of the packet information
The step of view networking protocol data packet matched with the packet information is obtained in network equipment, comprising: the view networking core
The packet capturing request for carrying packet information is forwarded to the corresponding view intranet network equipment of the source MAC by server;
It is described to receive what the corresponding view intranet network equipment of the source MAC returned depending on networking Core server, it networks to the view
The view networking protocol data packet that the video stream data of all videos acquisition equipment acquisition of network equipment connection encapsulates.
Optionally, the packet information includes source MAC and video capture device mark;It is described from the data packet
The step of view networking protocol data packet matched with the packet information is obtained in the corresponding view intranet network equipment of information, packet
It includes: described that the packet capturing request for carrying packet information is forwarded to the source MAC correspondence depending on networking Core server
View intranet network equipment;It is described that depending on networking, the Core server reception source MAC is corresponding to be returned depending on intranet network equipment
It returns, to the view intranet network equipment connection, the video capture device identifies corresponding video capture device acquisition
The view networking protocol data packet that video stream data encapsulates.
Optionally, after described by described the step of being back to the packet capturing server depending on networking protocol data packet, also
It include: that the packet capturing server is received with after the matched view networking protocol data packet of the packet information, extraction is wherein sealed
The video stream data of dress, and the video stream data is stored as to the source code flow file of binary format.
Optionally, the view intranet network equipment includes that the first view intranet network equipment and second regard intranet network equipment,
It include internet terminal in internet;The method also includes: described first is getting view networking depending on intranet network equipment
After agreement request packet, the second view connection is forwarded to depending on networking Core server via described depending on networking protocol request packet by described
Web network equipment;It is described to be packaged with tune stream request depending on networking protocol request packet;The view networking protocol request packet is by internet protocol
View request packet is converted to, and the Internet protocol data packet is sent by the internet terminal;The first view intranet network
Equipment receives the second view intranet network equipment return, and networks and assist via the view of the view networking Core server forwarding
Discuss data packet;It is described to there is the tune stream to request corresponding video stream data depending on networking protocol packet encapsulation;The first view connection
Web network equipment is converted to the Internet protocol data packet depending on networking protocol data packet for described, and by the Internet protocol data
Packet is sent to the internet terminal.
Optionally, it is described depending on intranet network equipment further include third view intranet network equipment;In the first view networking net
Network equipment is after getting view networking protocol request packet, by the view networking protocol request packet via view networking kernel service
Device was forwarded to before the step of the second view intranet network equipment, further includes: the third view intranet network equipment receives institute
The Internet protocol request packet of internet terminal transmission is stated, and the Internet protocol request packet is converted into asking depending on networking protocol
Seek packet;The third view intranet network equipment is by the view networking protocol request packet via view networking Core server forwarding
To the first view intranet network equipment.
On the other hand, the embodiment of the invention also discloses a kind of video process apparatus, described device is applied in view networking,
It include view networking Core server, packet capturing server and view intranet network equipment, the view networking kernel service in view is networked
Device includes:
Enquiry module is looked into after the packet capturing request for receiving the carrying packet information that the packet capturing server is sent
Asking itself whether there is and the matched view networking protocol data packet of the packet information;
Return module, in the presence of, be back to the packet capturing server depending on networking protocol data packet for described;
Obtain return module, in the absence of, it is corresponding depending on being obtained in intranet network equipment from the packet information
Take with the matched view networking protocol data packet of the packet information, and be back to described grab depending on networking protocol data packet for described
Packet server.
Optionally, the packet information includes source MAC;The acquisition return module includes: request retransmission unit,
For the packet capturing request for carrying packet information to be forwarded to the corresponding view intranet network equipment of the source MAC;Number
It is set to described depending on intranet network according to receiving unit for receiving the corresponding view intranet network equipment return of the source MAC
The view networking protocol data packet that the video stream data of all videos acquisition equipment acquisition of standby connection encapsulates.
Optionally, the packet information includes source MAC and video capture device mark;The acquisition return module
It include: request retransmission unit, it is corresponding for the packet capturing request for carrying packet information to be forwarded to the source MAC
Depending on intranet network equipment;Data receipt unit, for receiving the corresponding view intranet network equipment return of the source MAC,
To the view intranet network equipment connection, the video capture device identifies the video flowing of corresponding video capture device acquisition
The view networking protocol data packet that data encapsulate.
Optionally, the packet capturing server includes: memory module, for receive it is matched with the packet information
After networking protocol data packet, the video stream data wherein encapsulated is extracted, and the video stream data is stored as binary system lattice
The source code flow file of formula.
Optionally, the view intranet network equipment includes that the first view intranet network equipment and second regard intranet network equipment,
It include internet terminal in internet;Described first depending on intranet network equipment includes: forwarding module, for getting view connection
After fidonetFido request packet, second view is forwarded to depending on networking Core server via described depending on networking protocol request packet by described
Intranet network equipment;It is described to be packaged with tune stream request depending on networking protocol request packet;The view networking protocol request packet is by internet
Agreement request packet is converted to, and the Internet protocol data packet is sent by the internet terminal;Receiving module, for receiving
What the second view intranet network equipment returned, and via the view networking protocol data of the view networking Core server forwarding
Packet;It is described to there is the tune stream to request corresponding video stream data depending on networking protocol packet encapsulation;First conversion module, being used for will
It is described to be converted to the Internet protocol data packet depending on networking protocol data packet, and the Internet protocol data packet is sent to described
Internet terminal.
Optionally, it is described depending on intranet network equipment further include third view intranet network equipment;The third regards intranet network
Equipment includes: the second conversion module, the Internet protocol request packet sent for receiving the internet terminal, and will be described mutual
Networking protocol request packet is converted into view networking protocol request packet;Sending module, for by the view networking protocol request packet via
It is described to be forwarded to the first view intranet network equipment depending on networking Core server.
In the embodiment of the present invention, the carrying packet information of packet capturing server transmission is received depending on networking Core server
After packet capturing request, inquiring itself whether there is and the matched view networking protocol data packet of the packet information;Depending on core of networking
Server in the presence of, be back to the packet capturing server depending on networking protocol data packet for described;Exist depending on networking Core server
In the absence of, it obtains from the corresponding view intranet network equipment of the packet information and joins with the matched view of the packet information
FidonetFido data packet, and the packet capturing server is back to depending on networking protocol data packet by described.It follows that the present invention is implemented
Being analyzed depending on networking protocol data packet needed for being grabbed by packet capturing server in example, therefore in view networking protocol data
Coating can be analyzed depending on networking protocol data packet before playing, to improve treatment effeciency;And in view of view networking
All passing through depending on networking protocol data packet for middle transmission is forwarded depending on networking Core server, therefore can be first from view networking clothes
Required view networking protocol data packet is inquired in business device, if there is no again from the view where required view networking protocol data packet
It is obtained in intranet network equipment, to further increase treatment effeciency, promotes user experience.
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, can more efficiently grab and be analyzed depending on networking protocol data packet.
The video processing schemes of the embodiment of the present invention are applied in view networking.It may include view networking core in depending on networking
Server (such as above-mentioned node server), packet capturing server and view intranet network equipment.Packet capturing server and view networking net
Network equipment, which first carries out registration rear in depending on networking Core server, can access depending on carrying out related service in networking.It succeeds in registration
Afterwards, regard networking Core server can be distributed as the packet capturing server that succeeds in registration and view intranet network equipment virtual terminal number and
Virtual MAC (Media Access Control, media access control) address, virtual terminal number and virtual mac address are one by one
It is corresponding.By regarding networking Core server as the virtual terminal of packet capturing server and view intranet network equipment distribution in regarding networking
Number and virtual mac address come unique identification packet capturing server and view intranet network equipment.For example, being set for one depending on intranet network
The virtual terminal number that back-up is matched is 11130, virtual mac address B6EA6A060014;Intranet network equipment is regarded for another
The virtual terminal number of distribution is 11131, and virtual mac address is B6EA6A060015, etc..
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, grabbing for the carrying packet information of the packet capturing server transmission is received depending on networking Core server
After packet request, inquiring itself whether there is and the matched view networking protocol data packet of the packet information.
The packet catcher of the embodiment of the present invention can be developed based on wincap sdk, be run on packet capturing server.Work as dimension
When shield personnel want to analyze video stream data, packet capturing request can be triggered on packet capturing server, packet capturing request can
To carry packet information.Packet information refers to the relevant information of view networking protocol data packet to be captured, such as data packet
Information may include source MAC, video capture device mark, etc..
Packet capturing request is sent to view networking Core server by packet capturing server.Packet capturing is received depending on networking Core server
After request, first inquires and itself whether there is the matched view networking protocol data packet of packet information carried with packet capturing request.
Step 502, depending on networking Core server in the presence of, be back to the packet capturing depending on networking protocol data packet for described
Server.
Itself there is the matched view networking protocol of packet information carried with packet capturing request depending on networking Core server
When data packet, it can be back to packet capturing server depending on networking protocol data packet by what is inquired, without again from view intranet network
Corresponding view networking protocol data packet is obtained in equipment.
Step 503, depending on networking Core server in the absence of, set from the packet information is corresponding depending on intranet network
Standby middle acquisition and the matched view networking protocol data packet of the packet information, and be back to described depending on networking protocol data packet
The packet capturing server.
Depending on networking Core server, at itself, there is no the matched view networkings of the packet information carried with packet capturing request to assist
When discussing data packet, it can obtain from the corresponding view intranet network equipment of packet information and network with the matched view of packet information
Protocol data packet, and packet capturing server will be back to depending on networking protocol data packet.Maintenance personnel can be right on packet capturing server
It requests the packet information carried is matched to be analyzed depending on networking protocol data packet with packet capturing, judges video stream data whether just
Often.
Being analyzed depending on networking protocol data packet needed for being grabbed by packet capturing server in the embodiment of the present invention, because
This can be analyzed depending on networking protocol data packet before being played depending on networking protocol data packet, to improve processing effect
Rate;And in view of view networking in transmit depending on networking protocol data packet all can by depending on network Core server be forwarded,
Therefore required view networking protocol data packet can be first inquired from depending on networked server, if there is no again from required view connection
Where fidonetFido data packet depending on being obtained in intranet network equipment, to further increase treatment effeciency, promote user experience.
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 Internet protocol request packet that internet terminal is sent, and by institute
It states Internet protocol request packet and is converted into view networking protocol request packet.
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 to check the video stream data that video capture device acquires by internet terminal, user can be with
The mark for the video capture device transferred is wanted in input on internet terminal, for the corresponding view of mark of video capture device
Stream request is adjusted in frequency acquisition equipment triggering all the way, adjusts the mark that video capture device can be carried in stream request.Internet terminal base
Stream request will be adjusted to be encapsulated as Internet protocol request packet in Internet protocol, is sent Internet protocol request packet by internet
Intranet network equipment is regarded to third.
Third regards intranet network equipment received internet protocol request packet.Due to transmission to adjust stream request in view networking,
Therefore Internet protocol request packet is converted into corresponding view networking protocol request packet depending on intranet network equipment by third.
In a kind of optional embodiment, Internet protocol request packet is converted into can depending on the step of networking protocol request packet
To include: that third extracts the tune stream wherein encapsulated request depending on intranet network equipment from Internet protocol request packet;Third view connection
The tune stream request that web network equipment is extracted based on view networking protocol encapsulation, obtains the view being converted by Internet protocol request packet connection
FidonetFido request packet.
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.Tune stream request can be carried depending on networking protocol request packet, video can be carried in stream request by, which adjusting, adopts
Collect the mark of equipment.
Step 602, third view intranet network equipment is by the view networking protocol request packet via view networking core clothes
Business device is forwarded to the first view intranet network equipment.
Third regards networking Core server by that will be sent to depending on networking protocol request packet depending on networking depending on intranet network equipment,
Again by depending on networking Core server the first view intranet network equipment will be forwarded to depending on networking protocol request packet.
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, the first view intranet network equipment will be forwarded to 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 view networking protocol request packet after, by the view networking protocol
Request packet is forwarded to the second view intranet network equipment depending on networking Core server via described.
First depending on intranet network equipment receive third view intranet network equipment send view networking protocol request packet after,
The first view connection is set by the source MAC and source terminal number depending on carrying in networking packet header corresponding depending on networking protocol request packet
The virtual mac address and virtual terminal number of web network equipment, target MAC (Media Access Control) address and purpose termination number are set as the second view connection
The virtual mac address and virtual terminal number of web network equipment.First view intranet network equipment will regard networking association by view networking
View request packet is sent to view networking Core server, then will be forwarded to the depending on networking protocol request packet by view Core server of networking
Two 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, the second view intranet network equipment will be forwarded to 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
Depending on the view networking protocol data packet of networking Core server forwarding.
After second receives view networking protocol request packet depending on intranet network equipment, it is extracted from depending on networking protocol request packet
The tune stream of middle encapsulation is requested.Second, which obtains the road tune stream depending on intranet network equipment, requests corresponding video stream data (for example to obtain
The video capture device carried in road tune stream request identifies the video stream data of corresponding video capture device acquisition), and base
In will adjust stream that corresponding video stream data is requested to be encapsulated as view networking protocol data packet depending on networking protocol, can also join certainly in view
Video capture device mark is encapsulated in fidonetFido data packet.
Second will be corresponding depending on the source MAC that carries in networking packet header depending on networking protocol data packet depending on intranet network equipment
Be set as the virtual mac address and virtual terminal number of the second view intranet network equipment with source terminal number, target MAC (Media Access Control) address and
Purpose termination number is set as the virtual mac address and virtual terminal number of the first view intranet network equipment.Second view networking net
Network equipment regards networking Core server by that will be sent to depending on networking protocol data packet depending on networking, then by view networking Core server
The first view intranet network equipment will be forwarded to depending on networking protocol data packet.
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, the first view intranet network equipment will be forwarded to depending on networking protocol data packet.
Step 605, first the Internet protocol data is converted to depending on networking protocol data packet by described depending on intranet network equipment
Packet, and the Internet protocol data packet is sent to the internet terminal.
First view intranet network equipment receives view networking protocol data packet.Stream request pair is adjusted due to transmit in internet
The video stream data answered, therefore first will be converted into corresponding Internet protocol depending on networking protocol data packet depending on intranet network equipment
Data packet.
It, can by the step of being converted to the Internet protocol data packet depending on networking protocol data packet in a kind of optional embodiment
To include: first to extract the video stream data wherein encapsulated from depending on networking protocol data packet depending on intranet network equipment;First view
The video stream data that the encapsulation of intranet network equipment internet protocol-based is extracted, obtains by being converted into depending on networking protocol data packet
The Internet protocol data packet.
The Internet protocol data packet being converted to is sent to internet terminal depending on intranet network equipment by first.Internet
After terminal receives the Internet protocol data packet, the Internet protocol data packet is parsed, from the Internet protocol data packet
The video stream data wherein encapsulated is extracted, and video stream data is exported to broadcast window and is played out.
Step 606, grabbing for the carrying packet information of the packet capturing server transmission is received depending on networking Core server
After packet request, inquiring itself whether there is and the matched view networking protocol data packet of the packet information.
User can trigger packet capturing request on packet capturing server, and packet capturing request is sent to view networking core by packet capturing server
Central server.Due to can be used for forwarding the view networking protocol data packet transmitted in depending on networking depending on networking Core server, because
This can first inquire itself depending on networking Core server and request corresponding view networking protocol data packet with the presence or absence of packet capturing.
In a kind of optional embodiment, the packet information carried in packet capturing request may include source MAC.Depending on connection
Net Core server extracts the source in corresponding view networking packet header to being parsed existing for itself depending on networking protocol data packet
MAC Address compares the source MAC for including in the source MAC of extraction and packet information, if the same view connection
Net Core server can determine itself presence and the matched view networking protocol data packet of packet information, otherwise determine itself not
In the presence of with the matched view networking protocol data packet of packet information.
In a kind of optional embodiment, the packet information carried in packet capturing request may include source MAC and view
Frequency acquisition device identification.Depending on networking Core server to being parsed existing for itself depending on networking protocol data packet, correspondence is extracted
Depending on networking packet header in source MAC and video capture device depending on encapsulated in networking protocol data packet mark, respectively general
The source MAC and video capture device of extraction identify, with the source MAC video capture device mark for including in packet information
Knowledge compares, and if the same determines that itself exists and the matched view networking protocol of packet information depending on networking Core server
Otherwise data packet determines that itself is not present and the matched view networking protocol data packet of packet information.
Step 607, depending on networking Core server in the presence of, be back to the packet capturing depending on networking protocol data packet for described
Server.Step 609 is executed later.
It, will depending on networking Core server when determining that itself has view networking protocol data packet matched with packet information
With packet information is matched is back to packet capturing server depending on networking protocol data packet.
608, depending on networking Core server in the absence of, from the corresponding view intranet network equipment of the packet information
Obtain with the matched view networking protocol data packet of the packet information, and by it is described be back to depending on networking protocol data packet described in
Packet capturing server.Step 609 is executed later.
Depending on networking Core server when determining that view networking protocol data packet matched with packet information is not present in itself,
It is obtained and the matched view networking protocol data packet of packet information from the corresponding view intranet network equipment of packet information.
In a kind of optional embodiment, the packet information carried in packet capturing request may include source MAC.From number
According to the step obtained in the corresponding view intranet network equipment of package informatin with the matched view networking protocol data packet of the packet information
It suddenly may include: that described depending on networking Core server the packet capturing for carrying packet information request to be forwarded to source MAC corresponding
View intranet network equipment;Receive what the corresponding view intranet network equipment of source MAC returned depending on networking Core server, to institute
State the view networking protocol number that the video stream data of all videos acquisition equipment acquisition depending on the connection of intranet network equipment encapsulates
According to packet.
In a kind of optional embodiment, the packet information carried in packet capturing request may include source MAC and view
Frequency acquisition device identification.It obtains from the corresponding view intranet network equipment of packet information and networks with the matched view of packet information
The step of protocol data packet may include: to be forwarded to the packet capturing request for carrying packet information depending on networking Core server
The corresponding view intranet network equipment of the source MAC;The corresponding view connection of the source MAC is received depending on networking Core server
What web network equipment returned, to the view intranet network equipment connection, the video capture device identifies corresponding video and adopts
The view networking protocol data packet that the video stream data of collection equipment acquisition encapsulates.
Step 609, packet capturing server is received with after the matched view networking protocol data packet of the packet information, is extracted
The video stream data wherein encapsulated, and the video stream data is stored as to the source code flow file of binary format.
Packet capturing server is received with after the matched view networking protocol data packet of the packet information, and extraction wherein encapsulates
Video stream data, and video stream data is stored as to the source code flow file of binary format.For example, can store for
H.264, the source code flow file of the formats such as PS.
Engineer analyzes the content of this document, carrys out orientation problem and solve the problems, such as, be somebody's turn to do by playing the source code flow file
Tool greatly improves the working efficiency that video stream data is extracted from depending on networking protocol data packet of field maintenance person,
It facilitates field engineer and checks problem.
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 networking Core server, packet capturing server and view connection
Web network equipment.
The video process apparatus of the embodiment of the present invention may include each module in following equipment:
It is described to include: depending on networking Core server
Enquiry module 701, after the packet capturing request for receiving the carrying packet information that the packet capturing server is sent,
Inquiring itself whether there is and the matched view networking protocol data packet of the packet information;
Return module 702, in the presence of, be back to the packet capturing server depending on networking protocol data packet for described;
Obtain return module 703, in the absence of, from the corresponding view intranet network equipment of the packet information
Obtain with the matched view networking protocol data packet of the packet information, and by it is described be back to depending on networking protocol data packet described in
Packet capturing server.
In a kind of optional embodiment, the packet information includes source MAC;The acquisition return module packet
It includes: request retransmission unit, for the packet capturing request for carrying packet information to be forwarded to the corresponding view of the source MAC
Intranet network equipment;Data receipt unit, it is right for receiving the corresponding view intranet network equipment return of the source MAC
The view networking protocol that the video stream data of all videos acquisition equipment acquisition depending on the connection of intranet network equipment encapsulates
Data packet.
In a kind of optional embodiment, the packet information includes source MAC and video capture device mark;Institute
Stating and obtaining return module includes: request retransmission unit, described for the packet capturing request for carrying packet information to be forwarded to
The corresponding view intranet network equipment of source MAC;Data receipt unit, for receiving the corresponding view networking of the source MAC
What the network equipment returned, to the view intranet network equipment connection, the video capture device identifies corresponding video acquisition
The view networking protocol data packet that the video stream data of equipment acquisition encapsulates.
In a kind of optional embodiment, the packet capturing server includes: memory module, for receiving and the number
After the matched view networking protocol data packet of package informatin, the video stream data that wherein encapsulates is extracted, and by the video stream data
It is stored as the source code flow file of binary format.
In a kind of optional embodiment, the view intranet network equipment includes the first view intranet network equipment and the second view
Intranet network equipment includes internet terminal in internet;Described first depending on intranet network equipment includes: forwarding module, is used
In after getting view networking protocol request packet, the view networking protocol request packet is turned via view networking Core server
It is sent to the second view intranet network equipment;It is described to be packaged with tune stream request depending on networking protocol request packet;The view networking protocol
Request packet is converted to by Internet protocol request packet, and the Internet protocol data packet is sent by the internet terminal;It connects
Module is received, for receiving the second view intranet network equipment return, and via the view networking Core server forwarding
Depending on networking protocol data packet;It is described to there is the tune stream to request corresponding video stream data depending on networking protocol packet encapsulation;First
Conversion module, for being converted to the Internet protocol data packet depending on networking protocol data packet for described, and by the Internet protocol
Data packet is sent to the internet terminal.
In a kind of optional embodiment, it is described depending on intranet network equipment further include third view intranet network equipment;It is described
Third includes: the second conversion module depending on intranet network equipment, is asked for receiving the Internet protocol that the internet terminal is sent
Packet is sought, and the Internet protocol request packet is converted into view networking protocol request packet;Sending module, for the view to be networked
Agreement request packet is forwarded to the first view intranet network equipment depending on networking Core server via described.
Being analyzed depending on networking protocol data packet needed for being grabbed by packet capturing server in the embodiment of the present invention, because
This can be analyzed depending on networking protocol data packet before being played depending on networking protocol data packet, to improve processing effect
Rate;And in view of view networking in transmit depending on networking protocol data packet all can by depending on network Core server be forwarded,
Therefore required view networking protocol data packet can be first inquired from depending on networked server, if there is no again from required view connection
Where fidonetFido data packet depending on being obtained in intranet network equipment, to further increase treatment effeciency, promote user experience.
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 (12)
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
Core server, packet capturing server and view intranet network equipment, which comprises
After the packet capturing request for receiving the carrying packet information that the packet capturing server is sent depending on networking Core server,
Inquiring itself whether there is and the matched view networking protocol data packet of the packet information;
View networking Core server in the presence of, be back to the packet capturing server depending on networking protocol data packet for described;
View networking Core server in the absence of, it is corresponding depending on being obtained in intranet network equipment from the packet information
With the matched view networking protocol data packet of the packet information, and the packet capturing is back to depending on networking protocol data packet by described
Server.
2. the method according to claim 1, wherein the packet information includes source MAC;It is described from institute
It states in the corresponding view intranet network equipment of packet information and obtains and the matched view networking protocol data packet of the packet information
The step of, comprising:
It is described that the packet capturing request for carrying packet information is forwarded to the source MAC correspondence depending on networking Core server
View intranet network equipment;
It is described to receive what the corresponding view intranet network equipment of the source MAC returned depending on networking Core server, to the view
The view networking protocol data packet that the video stream data of all videos acquisition equipment acquisition of intranet network equipment connection encapsulates.
3. the method according to claim 1, wherein the packet information includes that source MAC and video are adopted
Collect device identification;Described obtain from the corresponding view intranet network equipment of the packet information matches with the packet information
View networking protocol data packet the step of, comprising:
It is described that the packet capturing request for carrying packet information is forwarded to the source MAC correspondence depending on networking Core server
View intranet network equipment;
It is described to receive what the corresponding view intranet network equipment of the source MAC returned depending on networking Core server, to the view
The connection of intranet network equipment, the video capture device identifies the video stream data encapsulation of corresponding video capture device acquisition
Obtained view networking protocol data packet.
4. the method according to claim 1, wherein being back to institute depending on networking protocol data packet for described described
After the step of stating packet capturing server, further includes:
The packet capturing server is received with after the matched view networking protocol data packet of the packet information, and extraction wherein encapsulates
Video stream data, and the video stream data is stored as to the source code flow file of binary format.
5. the method according to claim 1, wherein the view intranet network equipment includes the first view intranet network
Equipment and the second view intranet network equipment, include internet terminal in internet;The method also includes:
Described first depending on intranet network equipment get view networking protocol request packet after, by the view networking protocol request packet warp
The second view intranet network equipment is forwarded to depending on networking Core server by described;It is described to be packaged with depending on networking protocol request packet
Adjust stream request;It is described to be converted to depending on networking protocol request packet by Internet protocol request packet, the Internet protocol data packet
It 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 view networking protocol data packet of central server forwarding;It is described to there is the tune stream to request corresponding view depending on networking protocol packet encapsulation
Frequency flow data;
Described first is converted to the Internet protocol data packet depending on networking protocol data packet for described depending on intranet network equipment, and by institute
It states the Internet protocol data packet and is sent to the internet terminal.
6. according to the method described in claim 5, it is characterized in that, it is described depending on intranet network equipment further include third view networking net
Network equipment;Described first depending on intranet network equipment get view networking protocol request packet after, asked described depending on networking protocol
It asks and wraps via before described the step of being forwarded to the second view intranet network equipment depending on networking Core server, further includes:
The third receives the Internet protocol request packet that the internet terminal is sent depending on intranet network equipment, and will be described mutual
Networking protocol request packet is converted into view networking protocol request packet;
The third view intranet network equipment is by the view networking protocol request packet via view networking Core server forwarding
To the first view intranet network equipment.
7. a kind of video process apparatus, which is characterized in that described device is applied in view networking, includes view networking in view networking
Core server, packet capturing server and view intranet network equipment, it is described to include: depending on networking Core server
Enquiry module, after the packet capturing request for receiving the carrying packet information that the packet capturing server is sent, inquiry is certainly
Body whether there is and the matched view networking protocol data packet of the packet information;
Return module, in the presence of, be back to the packet capturing server depending on networking protocol data packet for described;
Obtain return module, in the absence of, from the corresponding view intranet network equipment of the packet information obtain and
The matched view networking protocol data packet of packet information, and the packet capturing clothes are back to depending on networking protocol data packet by described
Business device.
8. device according to claim 7, which is characterized in that the packet information includes source MAC;The acquisition
Return module includes:
Retransmission unit is requested, it is corresponding for the packet capturing request for carrying packet information to be forwarded to the source MAC
Depending on intranet network equipment;
Data receipt unit networks to the view for receiving the corresponding view intranet network equipment return of the source MAC
The view networking protocol data packet that the video stream data of all videos acquisition equipment acquisition of network equipment connection encapsulates.
9. device according to claim 7, which is characterized in that the packet information includes that source MAC and video are adopted
Collect device identification;The acquisition return module includes:
Retransmission unit is requested, it is corresponding for the packet capturing request for carrying packet information to be forwarded to the source MAC
Depending on intranet network equipment;
Data receipt unit networks to the view for receiving the corresponding view intranet network equipment return of the source MAC
Network equipment connection, the video stream data that the video capture device identifies corresponding video capture device acquisition encapsulates to obtain
View networking protocol data packet.
10. device according to claim 7, which is characterized in that the packet capturing server includes:
Memory module, for receiving with after the matched view networking protocol data packet of the packet information, extraction is wherein sealed
The video stream data of dress, and the video stream data is stored as to the source code flow file of binary format.
11. device according to claim 7, which is characterized in that the view intranet network equipment includes the first view networking net
Network equipment and the second view intranet network equipment, include internet terminal in internet;The first view intranet network equipment packet
It includes:
Forwarding module, for get view networking protocol request packet after, by the view networking protocol request packet via the view
Networking Core server is forwarded to the second view intranet network equipment;Described be packaged with depending on networking protocol request packet adjusts stream to ask
It asks;Described to be converted to depending on networking protocol request packet by Internet protocol request packet, the Internet protocol data packet is by described
Internet terminal is sent;
Receiving module, for receiving the second view intranet network equipment return, and via view networking Core server
The view networking protocol data packet of forwarding;It is described to there is the tune stream to request corresponding video fluxion depending on networking protocol packet encapsulation
According to;
First conversion module, for being converted to the Internet protocol data packet depending on networking protocol data packet for described, and will be described mutual
Networking protocol data packet is sent to the internet terminal.
12. device according to claim 11, which is characterized in that it is described depending on intranet network equipment further include third view networking
The network equipment;The third includes: depending on intranet network equipment
Second conversion module, the Internet protocol request packet sent for receiving the internet terminal, and by the internet
Agreement request packet is converted into view networking protocol request packet;
Sending module, for being forwarded to described first depending on networking Core server via described depending on networking protocol request packet for described
Depending on intranet network equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910177274.0A CN110035297B (en) | 2019-03-08 | 2019-03-08 | Video processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910177274.0A CN110035297B (en) | 2019-03-08 | 2019-03-08 | Video processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110035297A true CN110035297A (en) | 2019-07-19 |
CN110035297B CN110035297B (en) | 2021-05-14 |
Family
ID=67235878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910177274.0A Active CN110035297B (en) | 2019-03-08 | 2019-03-08 | Video processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110035297B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111200597A (en) * | 2019-12-26 | 2020-05-26 | 视联动力信息技术股份有限公司 | Packet capturing method and device in video network |
CN112383835A (en) * | 2020-11-02 | 2021-02-19 | 四川天邑康和通信股份有限公司 | Network switching and network packet capturing method based on intelligent set top box |
CN116155862A (en) * | 2023-02-21 | 2023-05-23 | 北京奇艺世纪科技有限公司 | Data packet capturing method, device, server and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075369A (en) * | 2011-02-28 | 2011-05-25 | 杭州华三通信技术有限公司 | Method and equipment for managing monitoring equipment |
CN103067226A (en) * | 2013-01-09 | 2013-04-24 | 上海斐讯数据通信技术有限公司 | Ethernet passive optional network (EPON) test system |
US20140280912A1 (en) * | 2013-03-13 | 2014-09-18 | Joyent, Inc. | System and method for determination and visualization of cloud processes and network relationships |
CN105049485A (en) * | 2015-06-09 | 2015-11-11 | 中国石油大学(华东) | Real-time video processing oriented load-aware cloud calculation system |
CN105490869A (en) * | 2015-11-19 | 2016-04-13 | 浪潮(北京)电子信息产业有限公司 | Monitoring data acquisition method, device and system |
CN106550282A (en) * | 2015-09-17 | 2017-03-29 | 北京视联动力国际信息技术有限公司 | A kind of player method and system of video data |
CN108173832A (en) * | 2017-12-25 | 2018-06-15 | 四川长虹电器股份有限公司 | Family's Internet of Things application system penetration testing method based on end cloud translocation |
CN108234816A (en) * | 2016-12-15 | 2018-06-29 | 北京视联动力国际信息技术有限公司 | The method and device of resource information real-time synchronization is monitored between a kind of monitoring device |
CN108574609A (en) * | 2017-12-29 | 2018-09-25 | 北京视联动力国际信息技术有限公司 | A kind of transmitting, monitoring method and apparatus |
CN108632679A (en) * | 2017-09-07 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of method of multi-medium data transmission and a kind of regarding networked terminals |
US20180307908A1 (en) * | 2017-04-21 | 2018-10-25 | Walmart Apollo, Llc | Virtual reality appliance management user interface |
-
2019
- 2019-03-08 CN CN201910177274.0A patent/CN110035297B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075369A (en) * | 2011-02-28 | 2011-05-25 | 杭州华三通信技术有限公司 | Method and equipment for managing monitoring equipment |
CN103067226A (en) * | 2013-01-09 | 2013-04-24 | 上海斐讯数据通信技术有限公司 | Ethernet passive optional network (EPON) test system |
US20140280912A1 (en) * | 2013-03-13 | 2014-09-18 | Joyent, Inc. | System and method for determination and visualization of cloud processes and network relationships |
CN105049485A (en) * | 2015-06-09 | 2015-11-11 | 中国石油大学(华东) | Real-time video processing oriented load-aware cloud calculation system |
CN106550282A (en) * | 2015-09-17 | 2017-03-29 | 北京视联动力国际信息技术有限公司 | A kind of player method and system of video data |
CN105490869A (en) * | 2015-11-19 | 2016-04-13 | 浪潮(北京)电子信息产业有限公司 | Monitoring data acquisition method, device and system |
CN108234816A (en) * | 2016-12-15 | 2018-06-29 | 北京视联动力国际信息技术有限公司 | The method and device of resource information real-time synchronization is monitored between a kind of monitoring device |
US20180307908A1 (en) * | 2017-04-21 | 2018-10-25 | Walmart Apollo, Llc | Virtual reality appliance management user interface |
CN108632679A (en) * | 2017-09-07 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of method of multi-medium data transmission and a kind of regarding networked terminals |
CN108173832A (en) * | 2017-12-25 | 2018-06-15 | 四川长虹电器股份有限公司 | Family's Internet of Things application system penetration testing method based on end cloud translocation |
CN108574609A (en) * | 2017-12-29 | 2018-09-25 | 北京视联动力国际信息技术有限公司 | A kind of transmitting, monitoring method and apparatus |
Non-Patent Citations (1)
Title |
---|
李殿坤: "基于视联网的高清视频互动科普平台信息发布系统开发与研究", 《有线电视技术》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111200597A (en) * | 2019-12-26 | 2020-05-26 | 视联动力信息技术股份有限公司 | Packet capturing method and device in video network |
CN111200597B (en) * | 2019-12-26 | 2024-01-09 | 视联动力信息技术股份有限公司 | Packet capturing method, device, computing equipment and computer readable storage medium in video networking |
CN112383835A (en) * | 2020-11-02 | 2021-02-19 | 四川天邑康和通信股份有限公司 | Network switching and network packet capturing method based on intelligent set top box |
CN112383835B (en) * | 2020-11-02 | 2022-04-26 | 四川天邑康和通信股份有限公司 | Network switching and network packet capturing method based on intelligent set top box |
CN116155862A (en) * | 2023-02-21 | 2023-05-23 | 北京奇艺世纪科技有限公司 | Data packet capturing method, device, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110035297B (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108810456B (en) | A kind of monitoring video flow transfers method and system | |
CN108012106B (en) | A kind of method and system regarding networking monitoring source synchronous | |
CN108632525A (en) | A kind of method and system of business processing | |
CN108462727A (en) | A kind of data transmission method and device | |
CN108737768A (en) | A kind of monitoring method and monitoring device based on monitoring system | |
CN108965040A (en) | A kind of business monitoring method and device of view networking | |
CN107888401B (en) | A kind of method and system of real time monitoring view networked terminals cpu busy percentage | |
CN109302472A (en) | A kind of view networked resources method for releasing and view networking share Platform Server | |
CN110048954A (en) | A kind of data transmission method and device | |
CN109150905A (en) | A kind of view networked resources method for releasing and view networking share Platform Server | |
CN108989078A (en) | A kind of view networking interior joint equipment fault detection method and device | |
CN110049341A (en) | Method for processing video frequency and device | |
CN109302642A (en) | Collecting method and device | |
CN109889779A (en) | A kind for the treatment of method and apparatus of packet out-ordering | |
CN109379254A (en) | A kind of detection method and system of the network connection based on video conference | |
CN110035005A (en) | Data processing method and device | |
CN110166727A (en) | A kind of networking of view and internet switching method, apparatus and system | |
CN108243343A (en) | A kind of point bit distribution statistical method and its server based on regarding networking | |
CN110035297A (en) | Method for processing video frequency and device | |
CN109729184A (en) | A kind of method and apparatus of view networking service processing | |
CN109743284A (en) | A kind of method for processing video frequency and system based on view networking | |
CN109491783A (en) | A kind of acquisition methods and system of memory usage | |
CN110505107A (en) | A kind of monitoring method and view networking management system | |
CN108989850A (en) | A kind of video playing control method and control system | |
CN109842630A (en) | Method for processing video frequency 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 |