Summary of the invention
To solve the above-mentioned problems, present application illustrates a kind of method for processing video frequency and system based on view networking.
In a first aspect, the method is applied to be based on present application illustrates a kind of method for processing video frequency based on view networkingDepending on the processing system for video networked, the system comprises internet terminals, view networking primary server, view networking share platform, viewNetworking association turns server and internet video recording arrangement, base between the internet terminal and view networking primary serverIt is connected in internet protocol communication, based on view networking protocol between the view networking primary server and the view networking share platformCommunication connection, it is described depending on networking share platform and it is described view networking association turn between server based on regard networking protocol communicate to connect,It is described to turn internet protocol-based communication connection, internet between server and the internet video recording arrangement depending on networking associationTerminal and it is described depending on gone back between networking share platform internet protocol-based communication connection, which comprises
The internet terminal sends the first acquisition request of internet protocol-based, institute to the view networking primary serverThe device identification that the first acquisition request carries the internet video recording arrangement is stated, first acquisition request is used for according to instituteIt states device identification and obtains the real-time video that the internet video recording arrangement is recorded;
The view networking primary server receives first acquisition request, and first acquisition request is converted to based on viewNetworking protocol for obtaining the second acquisition request of the real-time video that the internet video recording arrangement is recorded, and to describedSecond acquisition request is sent depending on networking share platform;
The view networking share platform receives second acquisition request, turns described in server transmission to described depending on networking associationSecond acquisition request;
It is described to turn server reception second acquisition request depending on networking association, second acquisition request is converted to and is based onFirst acquisition request of Internet protocol, according to the device identification to described in internet video recording arrangement transmissionFirst acquisition request;
The internet video recording arrangement receives first acquisition request, turns server transmission depending on networking association to describedThe real-time video for the internet protocol-based that the internet video recording arrangement is recorded;
It is described to turn the real-time video that server receives the internet protocol-based depending on networking association, described it will be based on internetThe real-time video transcoding of agreement is the real-time video based on view networking protocol, to described depending on being based on described in the transmission of networking share platformDepending on the real-time video of networking protocol;
The view networking share platform receives the real-time video based on view networking protocol, will be described based on view networking associationThe real-time video transcoding of view is the real-time video of the internet protocol-based, and Xiang Suoshu internet terminal sends described based on mutualThe real-time video of networking protocol;
The internet terminal receives the real-time video of the internet protocol-based, plays the internet protocol-basedReal-time video.
In an optional implementation, the method also includes:
The internet video recording arrangement is obtained according to described first and is asked after receiving first acquisition requestIt seeks survival into and is used to indicate the first acquisition response successful to first acquisition request processing, internet protocol-based, toIt is described to turn server transmission the first acquisition response depending on networking association;
It is described to turn server reception the first acquisition response depending on networking association, it obtains according to described first in response to determining that describedInternet video recording arrangement is handled successfully first acquisition request, and generation, which is used to indicate, to be had received described first and obtainTaking response, internet protocol-based second obtains response, and Xiang Suoshu internet video recording arrangement sends described second and obtainsTake response;
The internet video recording arrangement receives described second and obtains response, obtains according to described second in response to determining that instituteState depending on networking association turn server have received it is described first obtain response, then execute it is described to it is described view networking assist turn serverThe step of sending the real-time video for the internet protocol-based that the internet video recording arrangement is recorded.
In an optional implementation, the method also includes:
It is described to turn server after receiving reception described first and obtaining response depending on networking association, described first is obtained and is rungThe third being used to indicate to first acquisition request processing successfully, based on view networking protocol should be converted to and obtain response,And the third is sent to the view networking share platform and obtains response;
The view networking share platform receives the third and obtains response.
In an optional implementation, the method also includes:
After the real-time video based on view networking protocol described in receiving depending on networking share platform, join to the viewHost server sends the third and obtains response;
The view networking primary server receives the third and obtains response, and third acquisition response is converted to and is used to refer toShow to second acquisition request handle successful, the described internet protocol-based first obtain respond, and to it is described mutuallyNetworked terminals send described first and obtain response;
The internet terminal receives described first and obtains response, obtains according to described first in response to determining that the internetVideo recording device is handled successfully second acquisition request.
In an optional implementation, the method also includes:
The internet terminal obtains to respond to generate to be used to indicate according to described first and is ready for receiving based on internet protocolThe real-time video of view, internet protocol-based third obtains response, sends the described 4th to the interconnection host serverObtain response;
The view networking primary server receives the described 4th and obtains response, and third acquisition response is converted to and is used to refer toShow the 5th acquisition response that be ready for the real-time video of reception internet protocol-based, based on view networking protocol, to the viewNetworking share platform sends the described 5th and obtains response;
The view networking share platform receives the described 5th and obtains response, is obtained according to the described 5th in response to determining that described mutualNetworked terminals are ready for receiving the real-time video of internet protocol-based, then execute it is described by described based on view networking protocolThe step of real-time video transcoding is the real-time video of the internet protocol-based.
Second aspect, present application illustrates a kind of processing system for video based on view networking, and the system comprises internetsTerminal turns server and internet video recording arrangement, institute depending on networking primary server, depending on networking share platform, depending on networking associationIt states internet protocol-based between internet terminal and view networking primary server to communicate to connect, the view networking primary serverBased on view networking protocol communication connection between the view networking share platform, the view networking share platform and the view are networkedAssociation turns to be based on regarding networking protocol communication connection between server, described to turn server and internet video recording depending on networking associationInternet protocol-based communicates to connect between equipment, and internet is also based between internet terminal and the view networking share platformProtocol communication connection;
The internet terminal is used to send the first of internet protocol-based depending on networking primary server to described to obtain and askIt asks, first acquisition request carries the device identification of the internet video recording arrangement, and first acquisition request is used forThe real-time video that the internet video recording arrangement is recorded is obtained according to the device identification;
It is described to be used to receive first acquisition request depending on networking primary server, first acquisition request is converted into baseIn the second acquisition request of the real-time video for obtaining the internet video recording arrangement recording depending on networking protocol, and toThe view networking share platform sends second acquisition request;
The view networking share platform receives second acquisition request, turns described in server transmission to described depending on networking associationSecond acquisition request;
It is described to turn server for receiving second acquisition request depending on networking association, second acquisition request is converted toFirst acquisition request of internet protocol-based is sent according to the device identification to the internet video recording arrangementFirst acquisition request;
The internet video recording arrangement turns server depending on networking association for receiving first acquisition request, to describedSend the real-time video for the internet protocol-based that the internet video recording arrangement is recorded;
It is described to turn the real-time video that server is also used to receive the internet protocol-based depending on networking association, it is based on by described inThe real-time video transcoding of Internet protocol is the real-time video based on view networking protocol, sends institute to the view networking share platformState the real-time video based on view networking protocol;
It is described to be also used to receive the real-time video based on view networking protocol depending on networking share platform, it will be described based on viewThe real-time video transcoding of networking protocol be the internet protocol-based real-time video, Xiang Suoshu internet terminal send described inThe real-time video of internet protocol-based;
The internet terminal is also used to receive the real-time video of the internet protocol-based, plays described based on interconnectionThe real-time video of fidonetFido.
In an optional implementation, the internet video recording arrangement is also used to obtain receiving described firstAfter taking request, successful to first acquisition request processing, base is used to indicate according to first acquisition request generationIn the first acquisition response of Internet protocol, turn server transmission the first acquisition response depending on networking association to described;
Described depending on networking association to turn server and be also used to receive described first to obtain response, it is true to obtain response according to described firstThe fixed internet video recording arrangement handle successfully first acquisition request, is generated described in being used to indicate and having receivedFirst, which obtains response, internet protocol-based the second acquisition, responds, described in the transmission of Xiang Suoshu internet video recording arrangementSecond obtains response;
The internet video recording arrangement is also used to receive described second and obtains response, obtains and responds according to described secondDetermine it is described depending on networking association turn server have received it is described first obtain response, then execute it is described to the view networking association turnServer sends the step of real-time video for the internet protocol-based that the internet video recording arrangement is recorded.
In an optional implementation, it is described depending on networking association turn server be also used to receiving receive described firstObtain response after, by it is described first obtain response be converted to be used to indicate to first acquisition request processing successfully,Third based on view networking protocol obtains response, and sends the third to the view networking share platform and obtain response;
It is described to be also used to receive the third acquisition response depending on networking share platform.
In an optional implementation, it is described depending on networking share platform be also used to receive it is described based on view networkingAfter the real-time video of agreement, the third is sent to view networking primary server and obtains response;
It is described to be also used to receive the third acquisition response depending on networking primary server, the third is obtained into response and is converted toThe first acquisition for handling successful, the described internet protocol-based to second acquisition request is used to indicate to respond, and toThe internet terminal sends described first and obtains response;
The internet terminal is also used to receive described first and obtains response, obtains according to described first in response to determining that describedInternet video recording arrangement is handled successfully second acquisition request.
In an optional implementation, the internet terminal is also used to obtain response according to described first to generate and useThird that receive the real-time video of internet protocol-based, internet protocol-based is ready in instruction and obtains response, to instituteIt states interconnection host server and sends the 4th acquisition response;
It is described to be also used to receive the 4th acquisition response depending on networking primary server, the third is obtained into response and is converted toIt is used to indicate the 5th acquisition response that be ready for the real-time video of reception internet protocol-based, based on view networking protocol, toThe view networking share platform sends the described 5th and obtains response;
It is described depending on networking share platform be also used to receive it is described 5th obtain response, according to it is described 5th obtain in response to determining thatThe internet terminal is ready for the real-time video of reception internet protocol-based, then executes the view that is based on by described in and networksThe step of real-time video transcoding of agreement is the real-time video of the internet protocol-based.
The application includes following advantages:
In this application, the internet terminal in internet passes through view networking primary server, view networking share platformAnd turn server depending on networking association, it may be implemented to obtain the real-time view that the internet video recording arrangement being located in internet is recordedFrequently, obtain what the internet video recording arrangement being located in internet was recorded via view networking in internet so as to realizeReal-time video expands the acquiring way for obtaining real-time video.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific realApplying mode, the present application will be further described in detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required serviceClear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoringField live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publicationAll be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV orComputer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the application, it is introduced below to depending on networking:
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 networkVideo flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice networkSwitching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technologyFlexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch typeThe seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lackIt 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 basisIt 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 mutuallyThe 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 platformTransmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energyEnough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming MediaComplexity 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 andUsing state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, mediaContent 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 optimizesSector 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, butThe 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 timeThe network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented blackThe 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 netThe 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 richThe 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. classType, 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 machinesTop box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phasesEven, 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 serveDevice.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 endPoint, 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 serveDevice.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, and node server and metropolitan area clothesThe network controlled under business device 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 flatPlatform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 the application's can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including Ethernet netClose), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or countryNet, 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 etherNet 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 arrayModule 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engineModule 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 closeIt is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditionsIt is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, includingThe operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown)Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table)Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module302), 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 mouldWhether 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 mouldThe packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engineModule 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 packetNavigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in this application:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1)It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded:1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable intervalInterface 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 module402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao HuanStorage 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 examinedEthernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking destination address of measured data packetDA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meetingIdentifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze is according to the view of packet networking purposeAddress D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gatewaySA, 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 networkMouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engineModule, 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 includesNetwork 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:
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packetDiscuss 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 packages64 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 equipmentIt can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node serverConnection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipmentSystem, introduces parameter in this application: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specificationChange) 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 justThere 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 entersThe label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into0x0001.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 withThe 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.ItsIn, 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 positionSet is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of core idea of the application is proposed, it then follows the agreement for regarding networking, at thisIn application, the internet terminal in internet passes through view networking primary server, view networking share platform and view networking associationTurn server, may be implemented to obtain the real-time video that the internet video recording arrangement being located in internet is recorded, so as toIt realizes and obtains the real-time video that the internet video recording arrangement being located in internet is recorded via view networking in internet, expandThe big acquiring way for obtaining real-time video.
Referring to Fig. 5, a kind of structural block diagram of processing system for video based on view networking of the application, the system packet are shownInclude: internet terminal 01 turns server 04 and interconnection depending on networking primary server 02, depending on networking share platform 03, depending on networking associationNet video recording device 05, internet protocol-based communicates to connect between internet terminal 01 and view networking primary server 02, depending onNetwork primary server 02 and view networking share platform 03 between based on view networking protocol communication connection, regard networking share platform 03 andTurn to turn server 04 based on view networking protocol communication connection between server 04 depending on networking association and internet video is recorded depending on networking associationInternet protocol-based communicates to connect between control equipment 05, also based on mutual between internet terminal 01 and view networking share platform 03Networking protocol communication connection.
Referring to Fig. 6, a kind of step flow chart of method for processing video frequency based on view networking of the application, this method are shownIt can be applied in system shown in fig. 5, this method can specifically include following steps:
In step s101, internet terminal is asked to the first acquisition for sending internet protocol-based depending on networking primary serverIt asks, the first acquisition request carries the device identification of internet video recording arrangement, and the first acquisition request is used for according to the equipment markKnow and obtains the real-time video that internet video recording arrangement is recorded;
In step s 102, the first acquisition request is received depending on networking primary server, the first acquisition request is converted to and is based onDepending on the second acquisition request of the real-time video for obtaining the recording of internet video recording arrangement of networking protocol, and network to viewShared platform sends the second acquisition request;
In step s 103, the second acquisition request is received depending on networking share platform, association turns server transmission the to view networkingTwo acquisition requests;
In step S104, turns server depending on networking association and receive the second acquisition request, the second acquisition request is converted into baseIn the first acquisition request of Internet protocol, the first acquisition is sent to internet video recording arrangement according to the device identification and is askedIt asks;
In step s105, internet video recording arrangement receives the first acquisition request, turns server hair to depending on networking associationThe real-time video for the internet protocol-based for sending internet video recording arrangement to record;
In step s 106, turn the real-time video that server receives internet protocol-based depending on networking association, it will be based on interconnectionThe real-time video transcoding of fidonetFido is the real-time video based on view networking protocol, is sent to view networking share platform based on view networkingThe real-time video of agreement;
In step s 107, the real-time video based on view networking protocol is received depending on networking share platform, it will be based on view networkingThe real-time video transcoding of agreement is the real-time video of internet protocol-based, sends internet protocol-based to internet terminalReal-time video;
In step S108, internet terminal receives the real-time video of internet protocol-based, plays and is based on internet protocolThe real-time video of view.
In this application, the internet terminal in internet passes through view networking primary server, view networking share platformAnd turn server depending on networking association, it may be implemented to obtain the real-time view that the internet video recording arrangement being located in internet is recordedFrequently, obtain what the internet video recording arrangement being located in internet was recorded via view networking in internet so as to realizeReal-time video expands the acquiring way for obtaining real-time video.
In order to depending on networking association turn server notice internet video recording arrangement the first acquisition request is handled successfully,Internet video recording arrangement is used to indicate according to the generation of the first acquisition request to the after receiving the first acquisition requestThe processing of one acquisition request is successful, internet protocol-based first obtains response, turns server transmission first to depending on networking associationObtain response;
Turn server depending on networking association and receive the first acquisition response, is obtained according to first in response to determining that internet video recording is setIt is standby that the first acquisition request is handled successfully.Then server has been turned to assist to internet video recording arrangement notice depending on networkingReceive the first acquisition response, view networking association turn server can also generate be used to indicate have received the first acquisition respond,The second of internet protocol-based obtains response, sends second to internet video recording arrangement and obtains response;Internet videoRecording arrangement receives second and obtains response, is obtained according to second in response to determining that turning server depending on networking association has received the first acquisitionResponse, then again to the real-time of the internet protocol-based for turning server transmission internet video recording arrangement recording depending on networking associationVideo.
In order to view networking share platform notice internet video recording arrangement to the first acquisition request handle successfully, depending onNetworking association turns server receive receive first obtain response after, response can be obtained by first and be converted to and be used to indicateThird to the processing of the first acquisition request successfully, based on view networking protocol obtains response, and sends to view networking share platformThird obtains response;Third, which is received, depending on networking share platform obtains response.
In order to be handled successfully the first acquisition request to internet terminal notice internet video recording arrangement, depending on networkingShared platform sends third and obtains and ring after receiving the real-time video based on view networking protocol to view networking primary serverIt answers;
Third is received depending on networking primary server and obtains response, and third acquisition response is converted to be used to indicate and is obtained to secondIt takes request to handle successful, internet protocol-based first and obtains response, and send the first acquisition to internet terminal and respond;
Internet terminal receives first and obtains response, obtains according to first in response to determining that internet video recording arrangement is rightSecond acquisition request is handled successfully.
In order to enable internet terminal can obtain the real-time video of internet video recording arrangement recording, internet terminalAccording to first obtain response generate be used to indicate the real-time video for being ready for receiving internet protocol-based, based on internet protocolThe third of view obtains response, sends the 4th to interconnection host server and obtains response;
The 4th is received depending on networking primary server and obtains response, and third is obtained into response and is converted to be used to indicate and is ready for receivingThe real-time video of internet protocol-based, based on view networking protocol the 5th obtain response, to view networking share platform send5th obtains response;
The 5th is received depending on networking share platform and obtains response, is obtained according to the 5th in response to determining that internet terminal is ready for connecingReceive internet protocol-based real-time video, then by based on the real-time video transcoding for regarding networking protocol as internet protocol-basedReal-time video.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the methodIt closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according toAccording to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also shouldKnow, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implementedNecessary to example.
The application also shows a kind of processing system for video based on view networking, and the system comprises internet terminals, viewNetworking primary server turns server and internet video recording arrangement, the internet depending on networking share platform, depending on networking associationInternet protocol-based communicates to connect between terminal and view networking primary server, the view networking primary server and the viewService is turned based on view networking protocol communication connection, the view networking share platform and view networking association between networking share platformIt is described to turn between server and the internet video recording arrangement depending on networking association based on view networking protocol communication connection between deviceInternet protocol-based communication connection, internet terminal are communicated with described depending on going back internet protocol-based between networking share platformConnection;
The internet terminal is used to send the first of internet protocol-based depending on networking primary server to described to obtain and askIt asks, first acquisition request carries the device identification of the internet video recording arrangement, and first acquisition request is used forThe real-time video that the internet video recording arrangement is recorded is obtained according to the device identification;
It is described to be used to receive first acquisition request depending on networking primary server, first acquisition request is converted into baseIn the second acquisition request of the real-time video for obtaining the internet video recording arrangement recording depending on networking protocol, and toThe view networking share platform sends second acquisition request;
The view networking share platform receives second acquisition request, turns described in server transmission to described depending on networking associationSecond acquisition request;
It is described to turn server for receiving second acquisition request depending on networking association, second acquisition request is converted toFirst acquisition request of internet protocol-based is sent according to the device identification to the internet video recording arrangementFirst acquisition request;
The internet video recording arrangement turns server depending on networking association for receiving first acquisition request, to describedSend the real-time video for the internet protocol-based that the internet video recording arrangement is recorded;
It is described to turn the real-time video that server is also used to receive the internet protocol-based depending on networking association, it is based on by described inThe real-time video transcoding of Internet protocol is the real-time video based on view networking protocol, sends institute to the view networking share platformState the real-time video based on view networking protocol;
It is described to be also used to receive the real-time video based on view networking protocol depending on networking share platform, it will be described based on viewThe real-time video transcoding of networking protocol be the internet protocol-based real-time video, Xiang Suoshu internet terminal send described inThe real-time video of internet protocol-based;
The internet terminal is also used to receive the real-time video of the internet protocol-based, plays described based on interconnectionThe real-time video of fidonetFido.
In an optional implementation, the internet video recording arrangement is also used to obtain receiving described firstAfter taking request, successful to first acquisition request processing, base is used to indicate according to first acquisition request generationIn the first acquisition response of Internet protocol, turn server transmission the first acquisition response depending on networking association to described;
Described depending on networking association to turn server and be also used to receive described first to obtain response, it is true to obtain response according to described firstThe fixed internet video recording arrangement handle successfully first acquisition request, is generated described in being used to indicate and having receivedFirst, which obtains response, internet protocol-based the second acquisition, responds, described in the transmission of Xiang Suoshu internet video recording arrangementSecond obtains response;
The internet video recording arrangement is also used to receive described second and obtains response, obtains and responds according to described secondDetermine it is described depending on networking association turn server have received it is described first obtain response, then execute it is described to the view networking association turnServer sends the step of real-time video for the internet protocol-based that the internet video recording arrangement is recorded.
In an optional implementation, it is described depending on networking association turn server be also used to receiving receive described firstObtain response after, by it is described first obtain response be converted to be used to indicate to first acquisition request processing successfully,Third based on view networking protocol obtains response, and sends the third to the view networking share platform and obtain response;
It is described to be also used to receive the third acquisition response depending on networking share platform.
In an optional implementation, it is described depending on networking share platform be also used to receive it is described based on view networkingAfter the real-time video of agreement, the third is sent to view networking primary server and obtains response;
It is described to be also used to receive the third acquisition response depending on networking primary server, the third is obtained into response and is converted toThe first acquisition for handling successful, the described internet protocol-based to second acquisition request is used to indicate to respond, and toThe internet terminal sends described first and obtains response;
The internet terminal is also used to receive described first and obtains response, obtains according to described first in response to determining that describedInternet video recording arrangement is handled successfully second acquisition request.
In an optional implementation, the internet terminal is also used to obtain response according to described first to generate and useThird that receive the real-time video of internet protocol-based, internet protocol-based is ready in instruction and obtains response, to instituteIt states interconnection host server and sends the 4th acquisition response;
It is described to be also used to receive the 4th acquisition response depending on networking primary server, the third is obtained into response and is converted toIt is used to indicate the 5th acquisition response that be ready for the real-time video of reception internet protocol-based, based on view networking protocol, toThe view networking share platform sends the described 5th and obtains response;
It is described depending on networking share platform be also used to receive it is described 5th obtain response, according to it is described 5th obtain in response to determining thatThe internet terminal is ready for the real-time video of reception internet protocol-based, then executes the view that is based on by described in and networksThe step of real-time video transcoding of agreement is the real-time video of the internet protocol-based.
In this application, the internet terminal in internet passes through view networking primary server, view networking share platformAnd turn server depending on networking association, it may be implemented to obtain the real-time view that the internet video recording arrangement being located in internet is recordedFrequently, obtain what the internet video recording arrangement being located in internet was recorded via view networking in internet so as to realizeReal-time video expands the acquiring way for obtaining real-time video.
For system embodiments, since it is basically similar to the method embodiment, related so being described relatively simplePlace illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are withThe difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, system or calculatingMachine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software andThe form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer canWith in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program codeThe form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer programThe 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 instructionsIn each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide theseComputer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminalsStandby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devicesCapable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagramThe 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 devicesIn computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packetThe manufacture of instruction system is included, which realizes in one side of one or more flows of the flowchart and/or block diagramThe 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 thatSeries of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thusThe instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchartAnd/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows basesThis creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted asIncluding preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to byOne entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operationBetween there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaningCovering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrapThose elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, articleOr the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limitedElement, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of method for processing video frequency and system based on view networking provided herein, detailed Jie has been carried outIt continues, specific examples are used herein to illustrate the principle and implementation manner of the present application, and the explanation of above embodiments is onlyIt is to be used to help understand the method for this application and its core ideas;At the same time, for those skilled in the art, according to this ShenThought please, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manageSolution is the limitation to the application.