CN110062259A - Video acquiring method, system, equipment and computer readable storage medium - Google Patents
Video acquiring method, system, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110062259A CN110062259A CN201910319045.8A CN201910319045A CN110062259A CN 110062259 A CN110062259 A CN 110062259A CN 201910319045 A CN201910319045 A CN 201910319045A CN 110062259 A CN110062259 A CN 110062259A
- Authority
- CN
- China
- Prior art keywords
- server
- video
- association
- resource pool
- turns
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- 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/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
-
- 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/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
- H04N21/25816—Management of client data involving client authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of video acquiring method, system, equipment and computer readable storage medium.Resource pool proxy server Xiang Xiezhuan server, which is sent, adjusts stream instruction;The tune stream instruction, comprising: video acquisition terminal iidentification;The association turns server and obtains target video from the corresponding target video acquisition terminal of video acquisition terminal iidentification, and identity is arranged for the target video;The identity, comprising: the video acquisition terminal iidentification;The association turns server and the target video for being provided with the identity is sent to the resource pool proxy server by existing transmission of video channel;In the case where video channel is not present, the association turns server and the target video for being provided with the identity is sent to the resource pool proxy server by the transmission of video channel generated.The application accurately distinguishes the corresponding each target video of different video acquisition terminal that same association turns server by above-mentioned identity.
Description
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of video acquiring method, system, equipment and computer
Readable storage medium storing program for executing.
Background technique
Association, which turns server, usually can bind multiple video acquisition terminals, turn the available multiple videos of server by association
The view networked video of acquisition terminal acquisition, and then required view networked video is provided for user.Each association turns server and usually divides
Equipped with multiple virtual terminal numbers, each virtual terminal number corresponds to the video acquisition terminal that the association turns server binding,
By each virtual terminal number to distinguish the corresponding view networked video of each video acquisition terminal.
Currently, in order to reduce the occupancy of virtual terminal number, only turning since virtual terminal number resource is limited for each association
Server distributes a virtual terminal number, turns the identity information of server for identifying the association.
Inventor has found that above-mentioned prior art has the following disadvantages: in the prior art in the course of the research, each association
Turn server and is only assigned a virtual terminal number, and each association turns service and usually binds multiple video acquisition terminals, so that
The corresponding view networked video of each video acquisition terminal cannot be distinguished.
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 video acquiring method, system, equipment and the computer readable storage medium to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of video acquiring method, the method is applied to view
Networking, it includes: that resource pool proxy server, at least one association turn server that the view, which is networked,;At least one video acquisition terminal;
Each association turns server and binds at least one video acquisition terminal;The described method includes:
The resource pool proxy server turns server to the association and sends tune stream instruction;The tune stream instruction, comprising: view
Frequency acquisition terminal mark;
The association turns server and obtains target view from the corresponding target video acquisition terminal of the video acquisition terminal iidentification
Frequently, and for the target video identity is set;The identity, comprising: described to assist for the turn server first virtual end
Hold number and the video acquisition terminal iidentification;
The association turns server and judges it between the resource pool proxy server with the presence or absence of transmission of video channel;
There are video channel, the association turns server and leads to the target video for being provided with the identity
It crosses the existing transmission of video channel and is sent to the resource pool proxy server;
Be not present video channel in the case where, it is described association turn server generate itself and the resource pool proxy server it
Between transmission of video channel, and the target video of the identity will be provided with and sent out by the transmission of video channel generated
It send to the resource pool proxy server.
Optionally, the association turns server from the corresponding target video acquisition terminal acquisition of the video acquisition terminal iidentification
Target video, and identity is set for the target video, comprising:
The association turns server and obtains target view from the corresponding target video acquisition terminal of the video acquisition terminal iidentification
Frequently;
The association turns server in the first predeterminated position of the target video, is inserted into first void assisted and turn server
Quasi- termination number;
The association turns server in the second predeterminated position of the target video, is inserted into the video acquisition terminal iidentification.
Optionally, described in the case where video channel is not present, the association turns server and generates itself and the resource pool
After transmission of video channel between proxy server, further includes:
It is the transmission of video channel generated that the association, which turns server, and gap marker is arranged;The gap marker, packet
It includes: described to assist the second virtual terminal number for turning the first virtual terminal number and the resource pool proxy server of server;
The association turns server and saves the gap marker.
Optionally, the association turns server and judges it between the resource pool proxy server with the presence or absence of transmission of video
Before channel, further includes:
The association turns the gap marker that server saves transmission of video channel;The gap marker, comprising: the association turns clothes
First virtual terminal number of business device and the second virtual terminal number of the resource pool proxy server;
The association turns server and judges it between the resource pool proxy server with the presence or absence of transmission of video channel, packet
It includes:
The association turns the second virtual terminal number that server obtains the resource pool proxy server;
The association turns server in the gap marker of preservation, searches whether exist and the second virtual terminal number
The gap marker matched;
There are matched gap marker, the association turns server and determines itself and the resource pool agency service
There are transmission of video channels between device;
In the case where matched gap marker is not present, the association turns server and determines that it acts on behalf of clothes with the resource pool
It is engaged in that transmission of video channel is not present between device.
Optionally, the resource pool proxy server turns server transmission tune stream instruction to the association, comprising:
The resource pool proxy server turns server transmission to the association and adjusts stream instruction by view networking;
The association turns server and obtains target view from the corresponding target video acquisition terminal of the video acquisition terminal iidentification
Frequently, comprising:
The association turns server by view networking, from the corresponding target video acquisition terminal of the video acquisition terminal iidentification
Obtain target video.
A kind of video acquisition is also provided according to the second aspect of the invention, and the system is applied to view networking, described
System is applied to view networking, and it includes: that resource pool proxy server, at least one association turn server that the view, which is networked,;At least one
Video acquisition terminal;Each association turns server and binds at least one video acquisition terminal;The system comprises:
Stream instruction sending module is adjusted, turns server transmission to the association for the resource pool proxy server and stream is adjusted to refer to
It enables;The tune stream instruction, comprising: video acquisition terminal iidentification;
Target video obtains module, turns server from the corresponding target view of the video acquisition terminal iidentification for the association
Frequency acquisition terminal obtains target video, and identity is arranged for the target video;The identity, comprising: the association
Turn the first virtual terminal number and the video acquisition terminal iidentification of server;
Transmission of video channel judgment module, for it is described association turn server judge itself and the resource pool proxy server it
Between whether there is transmission of video channel;
The first sending module of target video, for there are video channel, the association, which to turn server, to be arranged
There is the target video of the identity to be sent to the resource pool proxy server by the existing transmission of video channel;
The second sending module of target video, in the case where video channel is not present, the association to turn server generation
Its transmission of video channel between the resource pool proxy server, and the target video for being provided with the identity is led to
It crosses the transmission of video channel generated and is sent to the resource pool proxy server.
Optionally, the target video obtains module, comprising:
Target video first acquisition unit turns server from the corresponding mesh of the video acquisition terminal iidentification for the association
It marks video acquisition terminal and obtains target video;
First identifier is inserted into unit, turns server in the first predeterminated position of the target video, insertion for the association
It is described to assist the first virtual terminal number for turning server;
Second identifier is inserted into unit, turns server in the second predeterminated position of the target video, insertion for the association
The video acquisition terminal iidentification.
Optionally, the system, further includes:
Gap marker setup module, turning server for the association is the transmission of video channel generated, and channel is arranged
Mark;The gap marker, comprising: described to assist the first virtual terminal number and the resource pool proxy server for turning server
The second virtual terminal number;
The first preserving module of gap marker turns server for the association and saves the gap marker.
Optionally, the system, further includes:
The second preserving module of gap marker turns the gap marker that server saves transmission of video channel for the association;Institute
State gap marker, comprising: described to assist the second of the first virtual terminal number and the resource pool proxy server that turn server
Virtual terminal number;
Transmission of video channel judgment module, comprising:
Second virtual terminal number acquiring unit turns server for the association and obtains the resource pool proxy server
Second virtual terminal number;
Gap marker searching unit, for it is described association turn server in the gap marker of preservation, search whether exist with
The gap marker of the second virtual terminal numbers match;
There are determination units in transmission of video channel, for there are matched gap marker, the association to turn clothes
Business device determines it, and there are transmission of video channels between the resource pool proxy server;
Determination unit is not present in transmission of video channel, is used in the case where matched gap marker is not present, the association
Turn server and determines that transmission of video channel is not present in it between the resource pool proxy server.
Optionally, the tune flows instruction sending module, comprising:
Stream instruction sending unit is adjusted, for the resource pool proxy server by view networking, turns server to the association
It sends and adjusts stream instruction;
The target video obtains module, comprising:
Target video second acquisition unit turns server by view networking, from the video acquisition terminal for the association
It identifies corresponding target video acquisition terminal and obtains target video.
A kind of equipment is also provided according to the third aspect of the invention we, comprising:
One or more processors;With
One or more computer readable storage mediums of instruction are stored thereon with, when by one or more of processors
When execution, so that the equipment executes foregoing one or more video acquiring methods.
One or more computer readable storage mediums are also provided according to the fourth aspect of the invention, are stored thereon with finger
It enables, when executed by one or more processors, so that the processor executes foregoing one or more video acquisitions
Method.
The embodiment of the present invention includes following advantages: the method be applied to view networking, it is described view network include: resource pool generation
Reason server, at least one association turn server;At least one video acquisition terminal;Each association turns server binding at least one
A video acquisition terminal;The described method includes: the resource pool proxy server, which turns server to the association, sends tune stream instruction;
The tune stream instruction, comprising: video acquisition terminal iidentification;It is corresponding from the video acquisition terminal iidentification that the association turns server
Target video acquisition terminal obtains target video, and identity is arranged for the target video;The identity, comprising:
It is described to assist the first virtual terminal number and the video acquisition terminal iidentification for turning server;It is described association turn server judge its with
It whether there is transmission of video channel between the resource pool proxy server;There are video channel, the association turns
The target video for being provided with the identity is sent to the resource by the existing transmission of video channel by server
Pond proxy server;In the case where video channel is not present, the association turns server and generates itself and resource pool agency's clothes
Transmission of video channel between business device, and the target video for being provided with the identity is passed through into the transmission of video of generation
Channel is sent to the resource pool proxy server.In the application, it is that each target video is provided with identity mark that association, which turns server,
Know, which includes the first virtual terminal number and video acquisition terminal iidentification that association turns server, then will setting
There is the target video of identity to be sent to resource pool generation by the transmission of video channel in existing transmission of video channel or generation
Server is managed, and then resource pool proxy server can turn the first virtual terminal of server according to the association in above-mentioned identity
Number and video acquisition terminal iidentification can accurately distinguish each target video, and then need to only assist turn server first virtual
Termination number can accurately distinguish the same corresponding each target video of different video acquisition terminal assisted and turn server.
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 structural schematic diagram of view networking of the embodiment of the present invention;
Fig. 6 is a kind of step flow chart of video acquiring method of the invention;
Fig. 7 is the step flow chart of another video acquiring method of the invention;
Fig. 8 is a kind of structural block diagram of video acquisition of the embodiment of the present invention;
Fig. 9 is the structural block diagram of another video acquisition of the embodiment of the present invention.
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
First video flow.It is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
(Circuit Switching) meets Streaming demand using Packet Switching depending on networking technology.Depending on skill of networking
Art has flexible, the simple and low price of packet switch, is provided simultaneously with the quality and safety assurance of circuit switching, realizes the whole network friendship
Change the seamless connection of formula virtual circuit 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.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether
Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).Metropolitan Area Network (MAN) can be divided on the whole depending on networking
(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 association turns 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 module, are forwarded: 1) end if meeting the following conditions
It is less than that mouth sends caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, packet
Include the operation such as initialization, read-write to hard disk;CPU module 203 be mainly responsible for access switch, terminal (not shown) it
Between 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 304 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, may include two kinds of situations:
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 308 is configured by CPU module 304, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410
(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server.
Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes
Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA | SA | Reserved | Payload | CRC |
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages
64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment
It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server
Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
It is a kind of structural schematic diagram of view networking of the embodiment of the present invention, this may include resource pool depending on networking referring to Fig. 5
Proxy server 501, at least one association turn server 502, at least one video acquisition terminal 503.Resource pool proxy server
501 quantity, association turns the quantity of server 502, the quantity of video acquisition terminal 503 does not in embodiments of the present invention make this
It is specific to limit.
In embodiments of the present invention, as shown in figure 5, each association turns server 502 and can bind at least one video acquisition
Terminal 503, in Fig. 5, association, which turns server 1, can bind n video acquisition terminal, and n can be whole more than or equal to 1
Number, video acquisition terminal 503 is for acquiring view networked video.
In embodiments of the present invention, resource pool proxy server 501 can be used as each agency for assisting and turning server 502,
It is communicated with other depending on networked server or depending on networked terminals etc..In embodiments of the present invention, this is not especially limited.
In embodiments of the present invention, resource pool proxy server 501, association turn server 502, video acquisition terminal 503 it
Between can be by being communicated depending on networking protocol or Internet protocol.In embodiments of the present invention, this is not especially limited.
It is a kind of step flow chart of video acquiring method of the invention, referring to figure 5 and figure 6, this method can referring to Fig. 6
Be applied to view networking in, this depending on networking may include: resource pool proxy server 501, at least one association turn server 502,
At least one video acquisition terminal 503, each association turn server 502 and bind at least one video acquisition terminal 503.This method tool
Body may include step 601-605:
Step 601: the resource pool proxy server turns server to the association and sends tune stream instruction;The tune stream refers to
It enables, comprising: video acquisition terminal iidentification.
In embodiments of the present invention, resource pool proxy server 501 turns the agency of server 502 as each assist, can be with
Receive each view networked server or the video subscribing instruction for regarding networked terminals etc..In embodiments of the present invention, this is not made to have
Body limits.
In embodiments of the present invention, resource pool proxy server 501 can turn server 502 for each association and a generation is arranged
Manage virtual terminal number.The Agent virtual termination number can be used for unique identification one in resource pool proxy server 501
Association turns server.The Agent virtual termination number can be MAC Address etc..In embodiments of the present invention, this is not limited specifically
It is fixed.
In embodiments of the present invention, each association turns server 502 and all has a first virtual terminal number, this is first empty
Quasi- termination number is the practical virtual terminal number that association turns server 502.The first virtual terminal number can be used for uniquely marking
Know the association and turns server.The first virtual terminal number can be the MAC Address etc. of the assist server.In the embodiment of the present invention
In, this is not especially limited.
Resource pool proxy server 501 turns the agent of server 502, resource as each association in embodiments of the present invention
Pond proxy server 501 can store each Agent virtual termination number and virtual terminal No. the first assisted and turn server 502
The corresponding relationship of code, and then corresponding first virtual terminal accurately can easily be found by above-mentioned Agent virtual termination number
The corresponding association of number turns server.In embodiments of the present invention, this is not especially limited.
For example, referring to shown in Fig. 5, if resource pool proxy server 501 is the Agent virtual terminal that association turns the setting of server 1
Number are as follows: 11, if association turns the first virtual terminal number that server 1 has are as follows: and 21, then, resource pool proxy server 501 can be with
It is stored with association and turns the Agent virtual termination number 11 of server 1 and the corresponding relationship of the first virtual terminal number 21, and then pass through
The corresponding relationship can quickly and accurately determine that the practical corresponding association of Agent virtual termination number 11 turns server 1.In this hair
In bright embodiment, this is not especially limited.
In embodiments of the present invention, resource pool proxy server 501 can will adjust stream instruction be sent to association and turn server
502, for example, resource pool proxy server 501 can will adjust stream instruction to be sent to internet protocol-based, or view networking protocol
Association turns server 502.
In embodiments of the present invention, tune stream instruction can be sent to money depending on networked server or depending on networked terminals to be other
Tune stream instruction of source pond proxy server 501 etc., in embodiments of the present invention, is not especially limited this.
In embodiments of the present invention, tune stream instruction may include video acquisition terminal iidentification, the video acquisition terminal mark
Knowing can be the identification information etc. that can characterize the identity of video acquisition terminal, for example, video acquisition terminal iidentification can be view
The MAC Address etc. of frequency acquisition terminal is in embodiments of the present invention not especially limited this.
In embodiments of the present invention, if tune stream instruction is sent to money by others depending on networked server or depending on networked terminals
Source pond proxy server 501, optionally, tune stream instruction can also include: Agent virtual termination number, and then by resource pool generation
Server 501 is managed according to the Agent virtual termination number of storage and the corresponding relationship of the first virtual terminal number, according to the agency
Virtual terminal number quickly determines that the corresponding association of the first virtual terminal number turns server.In embodiments of the present invention, not to this
Make specific limit.
Step 602: the association turns server and obtains from the corresponding target video acquisition terminal of the video acquisition terminal iidentification
Target video is taken, and identity is set for the target video;The identity, comprising: described assist turns the of server
One virtual terminal number and the video acquisition terminal iidentification.
In embodiments of the present invention, association turns after server 502 receives the instruction of above-mentioned tune stream, which turns server 502 can
To obtain target video from the corresponding target video acquisition terminal of above-mentioned video acquisition terminal iidentification, and set for above-mentioned target video
Set identity;Above-mentioned identity may include: that above-mentioned association turns the first virtual terminal number of server and above-mentioned video is adopted
Collect terminal iidentification.
Specifically, the source etc. in order to accurately show the target video by the target video, then, association turns server
502 can after obtaining target video, for the target video setting include the association turn server the first virtual terminal number and
The identity of above-mentioned video acquisition terminal iidentification.Such as, the configuration file of available target video, in the setting of configuration file
The first virtual terminal number and above-mentioned video acquisition terminal iidentification etc. that above-mentioned association turns server are inserted into, of the invention real in position
It applies in example, this is not especially limited.
For example, referring to Fig. 5, if association turns server 1 and receives the tune stream instruction that resource association turns the transmission of server 501, if should
The video acquisition terminal iidentification for adjusting stream instruction to include are as follows: A, if the corresponding video acquisition terminal iidentification of video acquisition terminal 1 is A.
Then, the corresponding target video acquisition terminal of video acquisition terminal iidentification A is video acquisition terminal 1, and association turns server 1 from video
Acquisition terminal 1 obtains target video, and it is that identity is arranged in above-mentioned target video that association, which turns server 1, which can wrap
Include: association turns the first virtual terminal number 21 and the corresponding mark A of video acquisition terminal 1 of server 1.
In embodiments of the present invention, association, which turns server 502, can be regarded based on view networking protocol or Internet protocol from target
Frequency acquisition terminal or target video.In embodiments of the present invention, this is not especially limited.
In embodiments of the present invention, optionally, the association turns server from the corresponding mesh of the video acquisition terminal iidentification
Video acquisition terminal acquisition target video is marked, may include: that the association turns server by view networking, from the video acquisition end
End identifies corresponding target video acquisition terminal and obtains target video.
Specifically, association turns server 502 can be networked by view, from the corresponding target view of above-mentioned video acquisition terminal iidentification
Frequency acquisition terminal 503 obtains target video, is networked the advantage etc. of big bandwidth by means of view, so assist turn server 502 can be fast
Speed gets above-mentioned target video.
Step 603: the association turns server and judges that it is passed between the resource pool proxy server with the presence or absence of video
Defeated channel;
In embodiments of the present invention, transmission of video channel can be between view networked devices dedicated for the logical of transmission video
Road, alternatively, transmission of video channel can be between view networked devices dedicated for the channel of transmission view networked video.
In embodiments of the present invention, association turn server 502 may determine that its between resource pool proxy server 501 whether
There are transmission of video channels.
Specifically, association, which turns server 502, can store the gap marker in existing transmission of video channel, the gap marker
It may include that association turns the first virtual terminal number of server and the second virtual terminal number of resource pool proxy server.Association turns
Server 502, according to the second virtual terminal number of resource pool proxy server 501, can be looked into the gap marker of storage
Look for it between resource pool proxy server 501 with the presence or absence of transmission of video channel.In embodiments of the present invention, this is not made to have
Body limits.
Such as, referring to Fig. 5, for above-mentioned example, association turns the channel mark that existing transmission of video channel is stored in server 1
Know, which may include that association turns the first virtual terminal number 21 of server and the second void of resource pool proxy server
Quasi- termination number.Association turns server 502 can be in the gap marker of storage, according to the second of resource pool proxy server 501
Virtual terminal number searches it between resource pool proxy server 501 with the presence or absence of transmission of video channel.
Step 604: there are video channel, the association turns the mesh that server will be provided with the identity
It marks video and the resource pool proxy server is sent to by the existing transmission of video channel.
In embodiments of the present invention, there are video channel, association, which turns server 502, will be provided with above-mentioned identity
The target video of mark is sent to above-mentioned resource pool proxy server by existing above-mentioned transmission of video channel.
For example, above-mentioned example is directed to, if association turns server 1 and judges that it exists between resource pool proxy server 501
Transmission of video channel, then, association turn server 1 and send out the target video for being provided with identity by existing transmission of video channel
It send to resource pool proxy server 501.The identity may include: 21 He of the first virtual terminal number that association turns server 1
The corresponding mark A of video acquisition terminal 1.Then, it is not necessary that virtual terminal number is arranged for each video acquisition terminal, pass through above-mentioned body
Part mark can quickly and accurately judge that the target video turns that corresponding video acquisition terminal of server by which association and adopts
Collection obtains, and saves the expense to limited virtual terminal number.
In embodiments of the present invention, optionally, if having transmission of video task in above-mentioned existing transmission of video channel,
Then, association, which turns server 501, above-mentioned target video can be added in above-mentioned transmission of video queue, using the mode of first in first out,
Or according to certain priority etc., and above-mentioned transmission of video queue is managed, above-mentioned target video is sent to resource pool
Proxy server 501.In embodiments of the present invention, this is not especially limited.
Step 605: in the case where video channel is not present, the association turns server and generates it to act on behalf of with the resource pool
Transmission of video channel between server, and the target video for being provided with the identity is passed by the video generated
Defeated channel is sent to the resource pool proxy server.
In embodiments of the present invention, be not present video channel in the case where, the association turn server 502 generate its with it is above-mentioned
Transmission of video channel between resource pool proxy server 501, and the target video for being provided with identity is passed through into generation
Transmission of video channel is sent to resource pool proxy server 501.
Specifically, the association turns server 502 and resource pool proxy server 501 in the case where video channel is not present
Between can not transmit video or view networked video, then, which, which turns server 502, can be generated itself and above-mentioned resource pool agency service
Transmission of video channel between device 501, and the target video for being provided with identity is sent out by the transmission of video channel generated
It send to resource pool proxy server 501.
For example, above-mentioned example is directed to, if association turns server 1 and judges that it is not deposited between resource pool proxy server 501
In transmission of video channel, then, association turns server 1, and that its transmission of video between resource pool proxy server 501 can be generated is logical
The target video for being provided with identity is sent to resource pool proxy server 501 by the transmission of video channel generated by road.
The identity may include: the first virtual terminal number 21 and the corresponding mark A of video acquisition terminal 1 that association turns server 1.
Then, it is not necessary that virtual terminal number is arranged for each video acquisition terminal, can quickly and accurately be judged by above-mentioned identity
The target video is turned that corresponding video acquisition terminal of server and is collected by which association out, is saved to limited virtual
The expense of termination number.In embodiments of the present invention, above-mentioned steps 604 and step 605 select an execution.
The embodiment of the present invention includes following advantages: the method be applied to view networking, it is described view network include: resource pool generation
Reason server, at least one association turn server;At least one video acquisition terminal;Each association turns server binding at least one
A video acquisition terminal;The described method includes: the resource pool proxy server, which turns server to the association, sends tune stream instruction;
The tune stream instruction, comprising: video acquisition terminal iidentification;It is corresponding from the video acquisition terminal iidentification that the association turns server
Target video acquisition terminal obtains target video, and identity is arranged for the target video;The identity, comprising:
It is described to assist the first virtual terminal number and the video acquisition terminal iidentification for turning server;It is described association turn server judge its with
It whether there is transmission of video channel between the resource pool proxy server;There are video channel, the association turns
The target video for being provided with the identity is sent to the resource by the existing transmission of video channel by server
Pond proxy server;In the case where video channel is not present, the association turns server and generates itself and resource pool agency's clothes
Transmission of video channel between business device, and the target video for being provided with the identity is passed through into the transmission of video of generation
Channel is sent to the resource pool proxy server.In the application, it is that each target video is provided with identity mark that association, which turns server,
Know, which includes the first virtual terminal number and video acquisition terminal iidentification that association turns server, then will setting
There is the target video of identity to be sent to resource pool generation by the transmission of video channel in existing transmission of video channel or generation
Server is managed, and then resource pool proxy server can turn the first virtual terminal of server according to the association in above-mentioned identity
Number and video acquisition terminal iidentification can accurately distinguish each target video, and then need to only assist turn server first virtual
Termination number can accurately distinguish the same corresponding each target video of different video acquisition terminal assisted and turn server.
It is the step flow chart of another video acquiring method of the invention, this method can be applied to above-mentioned referring to Fig. 7
Depending on about the associated description of view networking, being referred to above-mentioned related record and Fig. 5 etc. in networking, in order to avoid repeating, this
Place repeats no more.It can specifically include step 701-711:
Step 701: the resource pool proxy server turns server transmission to the association and adjusts stream instruction by view networking;
The tune stream instruction, comprising: video acquisition terminal iidentification.
In embodiments of the present invention, above-mentioned steps 701 are referred to above-mentioned steps 601, it should be noted that resource pool generation
Server 501 is managed by view networking, Xiang Xiezhuan server 502, which is sent, adjusts stream instruction, since view networking has the advantage of big bandwidth,
And then tune stream instruction rapidly can be sent to association and turn server 502 by resource pool proxy server 501.
Step 702: the association turns server and obtains from the corresponding target video acquisition terminal of the video acquisition terminal iidentification
Take target video.
In embodiments of the present invention, which is referred to the related record of above-mentioned steps 602, in order to avoid repeating,
Details are not described herein again.
Step 703: the association turns server in the first predeterminated position of the target video, is inserted into the association and turns server
The first virtual terminal number.
In embodiments of the present invention, association turn server 502 can be on the first predeterminated position of above-mentioned target video, insertion
State the first virtual terminal number that association turns server.
Specifically, association turn server 502 can be pre- in the first predeterminated position of the head of above-mentioned target video or tail portion first
If position, it is inserted into the first virtual terminal number that above-mentioned association turns server 502.Alternatively, association turns the available target of server 502
The configuration file of video, the first predeterminated position of the first predeterminated position or tail portion on above-mentioned configuration file head, is inserted into above-mentioned association
The the first virtual terminal number for turning server 502 is in embodiments of the present invention not especially limited this.
For example, being directed to above-mentioned example, association turns server 1 can be by preceding 8 settings on the configuration file head of target video
For identity position, above-mentioned first predeterminated position can be determined as by first 4 of configuration file head, on configuration file head
Preceding 4 insertions association turns the first virtual terminal number 21 of server 1.
Step 704: the association turns server in the second predeterminated position of the target video, and it is whole to be inserted into the video acquisition
End mark.
In embodiments of the present invention, above-mentioned association turns server 502 can insert in the second predeterminated position of above-mentioned target video
Enter above-mentioned video acquisition terminal iidentification.
Specifically, association turn server 502 can be pre- in the second predeterminated position of the head of above-mentioned target video or tail portion second
If position, it is inserted into the mark of above-mentioned video acquisition terminal 503.Alternatively, association turns the configuration of the available target video of server 502
File, the first predeterminated position of the first predeterminated position or tail portion on above-mentioned configuration file head, is inserted into above-mentioned video acquisition terminal
503 mark is in embodiments of the present invention not especially limited this.
For example, being directed to above-mentioned example, association turns server 1 can be by preceding 8 settings on the configuration file head of target video
For identity position, above-mentioned second predeterminated position can be determined as by the 5th to 8 of configuration file head, in configuration file head
The mark A of 5th to the 8 above-mentioned video acquisition terminal 1 of insertion in portion.
In embodiments of the present invention, in the first predeterminated position of target video, it is inserted into the first void that above-mentioned association turns server
Quasi- termination number is inserted into above-mentioned video acquisition terminal iidentification in the second predeterminated position of target video, and then can be quick, quasi-
The first predeterminated position and the second predeterminated position of true slave target video parse to obtain the first virtual end that above-mentioned association turns server
Hold number and above-mentioned video acquisition terminal iidentification.
Step 705: the association turns the gap marker that server saves transmission of video channel;The gap marker, comprising: institute
It states association and turns the first virtual terminal number of server and the second virtual terminal number of the resource pool proxy server.
In embodiments of the present invention, transmission of video channel if it exists, then, association, which turns server 502, can save transmission of video
The gap marker in channel, the gap marker, may include: above-mentioned association turn server the first virtual terminal number and above-mentioned resource
Second virtual terminal number of pond proxy server.
In embodiments of the present invention, the second virtual terminal number of above-mentioned resource pool proxy server 501 is for identifying money
Source pond proxy server 501, the second virtual terminal number of the resource pool proxy server 501 can be resource pool agency service
The MAC Address etc. of device 501 is in embodiments of the present invention not especially limited this.
Step 706: the association turns the second virtual terminal number that server obtains the resource pool proxy server.
In embodiments of the present invention, association turns the second void of the available above-mentioned resource pool proxy server 501 of server 502
Quasi- termination number.
Specifically, its second virtual terminal number can be sent to association by resource pool proxy server 501 turns server
501 etc..In embodiments of the present invention, this is not especially limited.
Step 707: the association turns server in the gap marker of preservation, searches whether exist and the described second virtual end
Hold the gap marker of numbers match.
In embodiments of the present invention, association turn server 502 can in the gap marker of preservation, search whether exist with it is upper
State the gap marker of the second virtual terminal numbers match.
For example, it is directed to above-mentioned example, if the corresponding second virtual terminal number of resource pool proxy server 501 is 01,
Association turns server 1 can search whether to exist matched with above-mentioned second virtual terminal number 01 in the gap marker of preservation
Gap marker.
Step 708: there are matched gap marker, the association turns server and determines itself and the resource pool
There are transmission of video channels between proxy server.
In embodiments of the present invention, there are matched gap marker, association turn server 502 determine its with it is upper
State between resource pool proxy server that there are transmission of video channels.
For example, it is directed to above-mentioned example, if the corresponding second virtual terminal number of resource pool proxy server 501 is 01, if,
Association turn server 1 in the gap marker of preservation, find with the matched gap marker of above-mentioned second virtual terminal number 01, then
Association turn server 1 determine its there are transmission of video channels between above-mentioned resource pool proxy server.
Step 709: in the case where matched gap marker is not present, the association turns server and determines itself and the resource
Transmission of video channel is not present between the proxy server of pond.
In embodiments of the present invention, be not present matched gap marker in the case where, association turn server 502 determine its with
Transmission of video channel is not present between resource pool proxy server 501.
For example, it is directed to above-mentioned example, if the corresponding second virtual terminal number of resource pool proxy server 501 is 01, if,
Association turns server 1 in the gap marker of preservation, does not find and marks with the matched channel of above-mentioned second virtual terminal number 01
Know, then association turns server 1 and determines it between above-mentioned resource pool proxy server there is no transmission of video channel.
In embodiments of the present invention, by the way that gap marker is arranged to existing transmission of video channel, and then can be by upper
Gap marker is stated, transmission of video channel is quickly judged whether there is.
In embodiments of the present invention, optionally, described in the case where video channel is not present, it is raw that the association turns server
After transmission of video channel between resource pool proxy server described in Cheng Qiyu, this method can also include: that the association turns clothes
Business device is the transmission of video channel generated, and gap marker is arranged;The gap marker, comprising: the association turns server
Second virtual terminal number of the first virtual terminal number and the resource pool proxy server;The association turns server and saves institute
State gap marker.
Specifically, association turns server 502 and generates itself and resource pool proxy server in the case where video channel is not present
After transmission of video channel between 501, association, which turns server 502, to be the transmission of video channel generated, and gap marker is arranged,
The gap marker equally may include: the first virtual terminal number and resource pool proxy server 501 that association turns server 502
The second virtual terminal number, association turns server 502 and can save above-mentioned gap marker, be equivalent to and turn in server 502 in association
The gap marker in existing transmission of video channel is had updated, and then in subsequent application, the transmission of video channel of the generation can be with
As already present transmission of video channel, convenient for searching and determining.
Step 710: there are video channel, the association turns the mesh that server will be provided with the identity
It marks video and the resource pool proxy server is sent to by the existing transmission of video channel.
Step 711: in the case where video channel is not present, the association turns server and generates it to act on behalf of with the resource pool
Transmission of video channel between server, and the target video for being provided with the identity is passed by the video generated
Defeated channel is sent to the resource pool proxy server.
In embodiments of the present invention, above-mentioned steps 710 and step 711 can respectively refer to above-mentioned steps 604 and step 605
It is related record, in order to avoid repeating, details are not described herein again.
The embodiment of the present invention includes following advantages: the method be applied to view networking, it is described view network include: resource pool generation
Reason server, at least one association turn server;At least one video acquisition terminal;Each association turns server binding at least one
A video acquisition terminal;The described method includes: the resource pool proxy server, which turns server to the association, sends tune stream instruction;
The tune stream instruction, comprising: video acquisition terminal iidentification;It is corresponding from the video acquisition terminal iidentification that the association turns server
Target video acquisition terminal obtains target video, and identity is arranged for the target video;The identity, comprising:
It is described to assist the first virtual terminal number and the video acquisition terminal iidentification for turning server;It is described association turn server judge its with
It whether there is transmission of video channel between the resource pool proxy server;There are video channel, the association turns
The target video for being provided with the identity is sent to the resource by the existing transmission of video channel by server
Pond proxy server;In the case where video channel is not present, the association turns server and generates itself and resource pool agency's clothes
Transmission of video channel between business device, and the target video for being provided with the identity is passed through into the transmission of video of generation
Channel is sent to the resource pool proxy server.In the application, it is that each target video is provided with identity mark that association, which turns server,
Know, which includes the first virtual terminal number and video acquisition terminal iidentification that association turns server, then will setting
There is the target video of identity to be sent to resource pool generation by the transmission of video channel in existing transmission of video channel or generation
Server is managed, and then resource pool proxy server can turn the first virtual terminal of server according to the association in above-mentioned identity
Number and video acquisition terminal iidentification can accurately distinguish each target video, and then need to only assist turn server first virtual
Termination number can accurately distinguish the same corresponding each target video of different video acquisition terminal assisted and turn server.
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, certain steps can use other sequences or carry out 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, while can be cross-referenced between each embodiment.
It is a kind of structural block diagram of video acquisition of the embodiment of the present invention, the system 800 is applied to referring to Fig. 8
Depending on networking, it includes: that resource pool proxy server, at least one association turn server that the view, which is networked,;At least one video acquisition is whole
End;Each association turns server and binds at least one video acquisition terminal;Above-described embodiment is referred to about depending on networking
Correlation is recorded, and in order to avoid repeating, details are not described herein again.The system may include:
Stream instruction sending module 801 is adjusted, turns server to the association for the resource pool proxy server and sends tune stream
Instruction;The tune stream instruction, comprising: video acquisition terminal iidentification;
Target video obtains module 802, turns server from the corresponding mesh of the video acquisition terminal iidentification for the association
It marks video acquisition terminal and obtains target video, and identity is set for the target video;The identity, comprising: institute
State the first virtual terminal number and the video acquisition terminal iidentification that association turns server;
Transmission of video channel judgment module 804 turns server for the association and judges itself and the resource pool agency service
It whether there is transmission of video channel between device;
The first sending module of target video 806, for there are video channel, the association, which to turn server, to be set
The target video for being equipped with the identity is sent to the resource pool agency service by the existing transmission of video channel
Device;
The second sending module of target video 805, in the case where video channel is not present, it is raw that the association turns server
Transmission of video channel between resource pool proxy server described in Cheng Qiyu, and the target video that the identity will be provided with
The resource pool proxy server is sent to by the transmission of video channel of generation.
Optionally, on the basis of above-mentioned Fig. 8, referring to shown in Fig. 9, the target video obtains module 802, can wrap
It includes:
It is corresponding from the video acquisition terminal iidentification to turn server for the association for target video first acquisition unit 8021
Target video acquisition terminal obtain target video;
First identifier is inserted into unit 8022, turns server in the first predeterminated position of the target video for the association,
It is inserted into the first virtual terminal number assisted and turn server;
Second identifier is inserted into unit 8023, turns server in the second predeterminated position of the target video for the association,
It is inserted into the video acquisition terminal iidentification.
Optionally, the system can also include:
Gap marker setup module, turning server for the association is the transmission of video channel generated, and channel is arranged
Mark;The gap marker, comprising: described to assist the first virtual terminal number and the resource pool proxy server for turning server
The second virtual terminal number;
The first preserving module of gap marker turns server for the association and saves the gap marker.
Optionally, the system can also include:
The second preserving module of gap marker 803 turns the gap marker that server saves transmission of video channel for the association;
The gap marker, comprising: described to assist the of the first virtual terminal number and the resource pool proxy server that turn server
Two virtual terminal numbers;
Transmission of video channel judgment module 804 may include:
Second virtual terminal number acquiring unit 8041 turns server for the association and obtains the resource pool agency service
Second virtual terminal number of device;
Gap marker searching unit 8042 turns server in the gap marker of preservation for the association, searches whether to deposit
In the gap marker with the second virtual terminal numbers match;
Transmission of video channel is there are determination unit 8043, for there are matched gap marker, the association
Turn server to determine it there are transmission of video channels between the resource pool proxy server;
Determination unit 8044 is not present in transmission of video channel, is used in the case where matched gap marker is not present, institute
It states association and turns server and determine it between the resource pool proxy server there is no transmission of video channel.
Optionally, the tune flows instruction sending module 801, may include:
Stream instruction sending unit 8011 is adjusted, for the resource pool proxy server by view networking, turns clothes to the association
Business device, which is sent, adjusts stream instruction;
The target video obtains module 802, may include:
Target video second acquisition unit turns server by view networking, from the video acquisition terminal for the association
It identifies corresponding target video acquisition terminal and obtains target video.
For system embodiments, 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.
The system is applied to view networking, and the resource pool proxy server turns server transmission to the association and stream is adjusted to refer to
It enables;The tune stream instruction, comprising: video acquisition terminal iidentification;The association turns server from the video acquisition terminal iidentification pair
The target video acquisition terminal answered obtains target video, and identity is arranged for the target video;The identity, packet
It includes: described to assist the first virtual terminal number and the video acquisition terminal iidentification for turning server;The association turns server judgement
It whether there is transmission of video channel between the resource pool proxy server;It is described there are video channel
Association turns described in the target video for being provided with the identity is sent to by the existing transmission of video channel by server
Resource pool proxy server;In the case where video channel is not present, the association turns server and generates itself and the resource pool generation
The transmission of video channel between server is managed, and the target video for being provided with the identity is passed through into the video of generation
Transmission channel is sent to the resource pool proxy server.In the application, it is that each target video is provided with body that association, which turns server,
Part mark, the identity include the first virtual terminal number and video acquisition terminal iidentification that association turns server, then will
The target video for being provided with identity is sent to resource by the transmission of video channel in existing transmission of video channel or generation
Pond proxy server, and then resource pool proxy server can turn the first virtual of server according to the association in above-mentioned identity
Termination number and video acquisition terminal iidentification can accurately distinguish each target video, and then need to only assist and turn the first of server
Virtual terminal number can accurately distinguish the same corresponding each target video of different video acquisition terminal assisted and turn server.
The embodiment of the present application also provides a kind of equipment, comprising:
One or more processors;With
One or more computer readable storage mediums of instruction are stored thereon with, when by one or more of processors
When execution, so that the equipment executes one or more video acquiring methods described in the embodiment of the present application.
The embodiment of the present application also provides one or more computer readable storage mediums, are stored thereon with instruction, when by
When one or more processors execute, so that the processor executes one or more video acquisitions described in the embodiment of the present application
Method.
For system, equipment, computer readable storage medium embodiment, due to itself and the basic phase of embodiment of the method
Seemingly, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of 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, system 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 system 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 instruction system 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, but also other elements including being not explicitly listed are included, or further include 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 video acquiring method provided by the present invention, system, equipment and computer readable storage medium, into
It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation
The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field
Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as limiting the invention.
Claims (10)
1. a kind of video acquiring method, which is characterized in that the method be applied to view networking, it is described view network include: resource pool
Proxy server, at least one association turn server;At least one video acquisition terminal;Each association turns server binding at least
One video acquisition terminal;The described method includes:
The resource pool proxy server turns server to the association and sends tune stream instruction;The tune stream instruction, comprising: video is adopted
Collect terminal iidentification;
The association turns server and obtains target video from the corresponding target video acquisition terminal of the video acquisition terminal iidentification, and
For the target video, identity is set;The identity, comprising: described to assist the first virtual terminal number for turning server
With the video acquisition terminal iidentification;
The association turns server and judges it between the resource pool proxy server with the presence or absence of transmission of video channel;
There are video channel, the association, which turns server, will be provided with the target video of the identity by
The transmission of video channel having is sent to the resource pool proxy server;
In the case where video channel is not present, the association turns server and generates it between the resource pool proxy server
Transmission of video channel, and the target video for being provided with the identity is sent to by the transmission of video channel generated
The resource pool proxy server.
2. the method according to claim 1, wherein the association turns server from the video acquisition terminal iidentification
Corresponding target video acquisition terminal obtains target video, and identity is arranged for the target video, comprising:
The association turns server and obtains target video from the corresponding target video acquisition terminal of the video acquisition terminal iidentification;
The association turns server in the first predeterminated position of the target video, be inserted into it is described assist turn server first it is virtual eventually
Hold number;
The association turns server in the second predeterminated position of the target video, is inserted into the video acquisition terminal iidentification.
3. the method according to claim 1, wherein described in the case where video channel is not present, the association
Turn after server generates its transmission of video channel between the resource pool proxy server, further includes:
It is the transmission of video channel generated that the association, which turns server, and gap marker is arranged;The gap marker, comprising: institute
It states association and turns the first virtual terminal number of server and the second virtual terminal number of the resource pool proxy server;
The association turns server and saves the gap marker.
4. the method according to claim 1, wherein the association turns server and judges that it is acted on behalf of with the resource pool
With the presence or absence of before transmission of video channel between server, further includes:
The association turns the gap marker that server saves transmission of video channel;The gap marker, comprising: the association turns server
The first virtual terminal number and the resource pool proxy server the second virtual terminal number;
The association turns server and judges it between the resource pool proxy server with the presence or absence of transmission of video channel, comprising:
The association turns the second virtual terminal number that server obtains the resource pool proxy server;
The association turns server in the gap marker of preservation, searches whether exist and the second virtual terminal numbers match
Gap marker;
There are matched gap marker, it is described association turn server determine itself and the resource pool proxy server it
Between there are transmission of video channels;
In the case where matched gap marker is not present, the association turns server and determines itself and the resource pool proxy server
Between be not present transmission of video channel.
5. the method according to claim 1, wherein the resource pool proxy server turns server to the association
It sends and adjusts stream instruction, comprising:
The resource pool proxy server turns server transmission to the association and adjusts stream instruction by view networking;
The association turns server and obtains target video, packet from the corresponding target video acquisition terminal of the video acquisition terminal iidentification
It includes:
The association turns server by view networking, obtains from the corresponding target video acquisition terminal of the video acquisition terminal iidentification
Target video.
6. a kind of video acquisition, which is characterized in that the system is applied to view networking, and the system is applied to view networking,
Described depending on networking includes: that resource pool proxy server, at least one association turn server;At least one video acquisition terminal;Each
The association turns server and binds at least one video acquisition terminal;The system comprises:
Stream instruction sending module is adjusted, turns server to the association for the resource pool proxy server and sends tune stream instruction;Institute
State tune stream instruction, comprising: video acquisition terminal iidentification;
Target video obtains module, turns server for the association and adopts from the corresponding target video of the video acquisition terminal iidentification
Collect terminal and obtain target video, and identity is set for the target video;The identity, comprising: the association turns clothes
The the first virtual terminal number and the video acquisition terminal iidentification of business device;
Transmission of video channel judgment module turns server for the association and judges that it is between the resource pool proxy server
It is no that there are transmission of video channels;
The first sending module of target video, for there are video channel, the association, which turns server, will to be arranged
The target video for stating identity is sent to the resource pool proxy server by the existing transmission of video channel;
The second sending module of target video, for be not present video channel in the case where, it is described association turn server generate its with
Transmission of video channel between the resource pool proxy server, and the target video for being provided with the identity is passed through into life
At the transmission of video channel be sent to the resource pool proxy server.
7. system according to claim 6, which is characterized in that the target video obtains module, comprising:
Target video first acquisition unit turns server from the corresponding target view of the video acquisition terminal iidentification for the association
Frequency acquisition terminal obtains target video;
First identifier is inserted into unit, turns server in the first predeterminated position of the target video, described in insertion for the association
Association turns the first virtual terminal number of server;
Second identifier is inserted into unit, turns server in the second predeterminated position of the target video, described in insertion for the association
Video acquisition terminal iidentification.
8. system according to claim 6, which is characterized in that the system, further includes:
Gap marker setup module, turning server for the association is the transmission of video channel generated, and gap marker is arranged;
The gap marker, comprising: described to assist the of the first virtual terminal number and the resource pool proxy server that turn server
Two virtual terminal numbers;
The first preserving module of gap marker turns server for the association and saves the gap marker.
9. a kind of equipment characterized by comprising
One or more processors;With
One or more computer readable storage mediums of instruction are stored thereon with, are executed when by one or more of processors
When, so that the equipment executes one or more video acquiring methods as claimed in claims 1-5.
10. one or more computer readable storage mediums, which is characterized in that instruction is stored thereon with, when by one or more
When processor executes, so that the processor executes one or more video acquiring methods as claimed in claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910319045.8A CN110062259B (en) | 2019-04-19 | 2019-04-19 | Video acquisition method, system, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910319045.8A CN110062259B (en) | 2019-04-19 | 2019-04-19 | Video acquisition method, system, device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110062259A true CN110062259A (en) | 2019-07-26 |
CN110062259B CN110062259B (en) | 2021-09-28 |
Family
ID=67319822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910319045.8A Active CN110062259B (en) | 2019-04-19 | 2019-04-19 | Video acquisition method, system, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110062259B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111031090A (en) * | 2019-10-21 | 2020-04-17 | 视联动力信息技术股份有限公司 | Data processing method and device, electronic equipment and readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130254268A1 (en) * | 2011-03-23 | 2013-09-26 | Huawei Technologies Co., Ltd. | Method for streaming media and media controller |
CN103686432A (en) * | 2013-11-15 | 2014-03-26 | 北京视联动力国际信息技术有限公司 | Screen sharing method and system based on video network |
CN103686072A (en) * | 2013-11-15 | 2014-03-26 | 北京视联动力国际信息技术有限公司 | Video internet video monitoring method and system, protocol conversion server, and video internet server |
US20160007070A1 (en) * | 2013-02-26 | 2016-01-07 | Zte Corporation | Remote Control Processing Method, Device and System |
CN105307024A (en) * | 2014-06-13 | 2016-02-03 | 北京视联动力国际信息技术有限公司 | Graphic and text information interface control method and device based on internet of videos |
US20170188085A1 (en) * | 2015-12-29 | 2017-06-29 | Le Holdings (Beijing) Co., Ltd. | Method and electronic device for multi-screen switching |
CN108632398A (en) * | 2017-07-27 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of conference access method and system, association turn server and conference management terminal |
CN108881798A (en) * | 2017-12-29 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | It is a kind of to be carried out using bridge service device across view networking conference method and system |
CN109120946A (en) * | 2018-08-27 | 2019-01-01 | 视联动力信息技术股份有限公司 | The method and apparatus for watching live streaming |
-
2019
- 2019-04-19 CN CN201910319045.8A patent/CN110062259B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130254268A1 (en) * | 2011-03-23 | 2013-09-26 | Huawei Technologies Co., Ltd. | Method for streaming media and media controller |
US20160007070A1 (en) * | 2013-02-26 | 2016-01-07 | Zte Corporation | Remote Control Processing Method, Device and System |
CN103686432A (en) * | 2013-11-15 | 2014-03-26 | 北京视联动力国际信息技术有限公司 | Screen sharing method and system based on video network |
CN103686072A (en) * | 2013-11-15 | 2014-03-26 | 北京视联动力国际信息技术有限公司 | Video internet video monitoring method and system, protocol conversion server, and video internet server |
CN105307024A (en) * | 2014-06-13 | 2016-02-03 | 北京视联动力国际信息技术有限公司 | Graphic and text information interface control method and device based on internet of videos |
US20170188085A1 (en) * | 2015-12-29 | 2017-06-29 | Le Holdings (Beijing) Co., Ltd. | Method and electronic device for multi-screen switching |
CN108632398A (en) * | 2017-07-27 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of conference access method and system, association turn server and conference management terminal |
CN108881798A (en) * | 2017-12-29 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | It is a kind of to be carried out using bridge service device across view networking conference method and system |
CN109120946A (en) * | 2018-08-27 | 2019-01-01 | 视联动力信息技术股份有限公司 | The method and apparatus for watching live streaming |
Non-Patent Citations (1)
Title |
---|
杨小娇: "轻量级高并发Web服务器的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111031090A (en) * | 2019-10-21 | 2020-04-17 | 视联动力信息技术股份有限公司 | Data processing method and device, electronic equipment and readable storage medium |
CN111031090B (en) * | 2019-10-21 | 2023-02-28 | 视联动力信息技术股份有限公司 | Data processing method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110062259B (en) | 2021-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108881361B (en) | A kind of data push method and device based on view networking | |
CN108173804A (en) | It is a kind of to access the method for internet and regarding connection cat client by regarding networking | |
CN110233984A (en) | A kind of monitoring system and method based on view networking | |
CN108965224A (en) | A kind of method and apparatus of video on demand | |
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 | |
CN109617956A (en) | A kind of data processing method and device | |
CN110198345A (en) | A kind of data request method, system and device and storage medium | |
CN109167960A (en) | A kind of processing method and system of video stream data | |
CN109547728A (en) | A kind of method and system of recorded broadcast source membership and recorded broadcast of session | |
CN109151058A (en) | A kind of data transmission method and device | |
CN108307212B (en) | A kind of file order method and device | |
CN109889779A (en) | A kind for the treatment of method and apparatus of packet out-ordering | |
CN108881948A (en) | A kind of method and system of view networking taking turn monitor video | |
CN110049346A (en) | A kind of method and system of net cast | |
CN109462594A (en) | A kind of data processing method and system based on view networking | |
CN109284265A (en) | A kind of date storage method and system | |
CN109299612A (en) | A kind of control method and device of hot-plug equipment | |
CN109491783A (en) | A kind of acquisition methods and system of memory usage | |
CN109743555A (en) | A kind of information processing method and system based on view networking | |
CN110505107A (en) | A kind of monitoring method and view networking management system | |
CN110446058A (en) | Video acquiring method, system, equipment and computer readable storage medium | |
CN110022500A (en) | A kind of loss treating method and device | |
CN109698859A (en) | A kind of date storage method and device based on view networking | |
CN110187846A (en) | Print system, method and apparatus |
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 |