CN109769126A - A kind of method and apparatus of the view of the real-time playback in internet networking video recording - Google Patents

A kind of method and apparatus of the view of the real-time playback in internet networking video recording Download PDF

Info

Publication number
CN109769126A
CN109769126A CN201811505849.9A CN201811505849A CN109769126A CN 109769126 A CN109769126 A CN 109769126A CN 201811505849 A CN201811505849 A CN 201811505849A CN 109769126 A CN109769126 A CN 109769126A
Authority
CN
China
Prior art keywords
real
playback
video
view
time
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
Application number
CN201811505849.9A
Other languages
Chinese (zh)
Other versions
CN109769126B (en
Inventor
王军
沈军
王洪超
萧晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201811505849.9A priority Critical patent/CN109769126B/en
Publication of CN109769126A publication Critical patent/CN109769126A/en
Application granted granted Critical
Publication of CN109769126B publication Critical patent/CN109769126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present application provides a kind of method and apparatus of the view of the real-time playback in internet networking video recording, the method and device are applied in view networking, internet terminal is based on GB/T28181 agreement and accesses MServer, the first real-time playback message request for specified view networked video video file that MServer sends internet terminal, it is converted under the interface based on the video record real-time playback agreement creation depending on networking, the second real-time playback message request is generated with this, then streaming media server is according to the second real-time playback message request, multimedia streaming data corresponding with the specified view networked video video file real-time playback instruction is pushed in real time to the view networking monitoring shared server, it is directly pushed in real time to the internet terminal depending on networking monitoring shared server described more Media stream data;The embodiment of the present application solves the problems, such as that the video in networking can not be regarded by real-time playback in internet at present in the above manner.

Description

A kind of method and apparatus of the view of the real-time playback in internet networking video recording
Technical field
This application involves view networking technology fields, regard networking video recording more particularly to a kind of real-time playback in internet The device of method and a kind of view networking video recording of real-time playback in internet.
Background technique
With the fast development of the network technology, the two-way communications such as video conference, video teaching the life of user, work, Study etc. is widely available.
It is the important milestone of network Development depending on networking, is the more advanced form of internet, is a real-time network, it can It realizes the whole network HD video real-time Transmission that current internet cannot achieve, pushes numerous Internet applications to HD video, High definition is face-to-face.It will finally realize that the world without distance, realizes that the distance of person to person in global range is the distance of a screen.
It has been widely available extensive use at present depending on networking technology.In the prior art, video monitoring is carried out by monitoring device, Each association turns the monitoring device for having in multiple internets under server, and association turns the view for the monitoring device that server can obtain under it Frequently.However, in the prior art under internet environment, think real-time playback depending on networking video file be it is unworkable, joined according to view The development of net is now badly in need of solving the above problems.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present application and overcomes the above problem or at least partly in order to provide one kind The method and corresponding one kind of a kind of real-time playback in the internet view networking video recording to solve the above problems are real in internet The device of Shi Huifang view networking video recording.
To solve the above-mentioned problems, the embodiment of the present application discloses a kind of view networking video recording of the real-time playback in internet Method, the method are applied in view networking, and the view networking includes streaming media server, are based on the streaming media server The view networking monitoring shared server that is successively communicated to connect depending on networking protocol, view pipeline net platform MServer, and it is based on state Mark GB/T28181 agreement and the internet communicated to connect respectively depending on networking monitoring shared server, the MServer are whole End, which comprises
The MServer receives the first real-time playback video recording request that internet terminal is sent;Wherein, described first in real time Playback video recording request is to be generated by the internet terminal when receiving the trigger action depending on networked video playing back videos, packet Include specified view networked video video file real-time playback instruction;
The MServer records a video according to first real-time playback and requests, and generates the video recording request of the second real-time playback;Its In, the second real-time playback video recording request includes the video record real-time playback agreement based on view networking;
Second real-time playback video recording request is sent to view networking monitoring shared server by the MServer;It is described It is used to second real-time playback video recording request being pass-through to streaming media server depending on networking monitoring shared server;
The MServer receives the playback acceptance message of the view networking monitoring shared server transparent transmission;Wherein, described time Putting acceptance message is to be generated by the streaming media server when agreeing to the second real-time playback video recording request;
The playback acceptance message is fed back to the internet terminal by the MServer;
The MServer receives the plug-flow that the internet terminal is sent and starts message;Wherein, the plug-flow starts message It is to be generated after receiving the playback acceptance message by the internet terminal;
The plug-flow is started message and is sent to the view networking monitoring shared server by the MServer;The view connection Net monitoring shared server is pass-through to the streaming media server for the plug-flow to be started message;The streaming media server For starting message according to the plug-flow, pushes to the view networking monitoring shared server and network with the specified view in real time Video record file real-time playback instructs corresponding multimedia streaming data;It is described depending on networking monitoring shared server for will be described Multimedia streaming data pushes to the internet terminal in real time;The internet terminal for playing the multimedia fluxion in real time According to.
Preferably, the internet terminal includes multipath decoding IE plug-in unit;The MServer receives internet terminal and sends The first real-time playback record a video request the step of include;
The MServer receives the first real-time playback video recording request that multipath decoding IE plug-in unit is sent;Wherein, described first Real-time playback video recording request be by the multipath decoding IE plug-in unit receive view networked video playing back videos trigger action when It generates, is instructed including specified view networked video video file real-time playback.
Preferably, the step of playback acceptance message is fed back to the internet terminal by the MServer include:
The MServer generates the status message for the playback acceptance message according to the playback acceptance message;
The status message is sent to the internet terminal by the MServer;
The MServer receives the internet terminal and is directed to the replying state message that the status message returns.
Preferably, it is described depending on network further include with the streaming media server based on view networking protocol communication connection video recording Server;The streaming media server is used to start message according to the plug-flow, real to the view networking monitoring shared server When push with the step of specified instruction corresponding multimedia streaming data depending on networked video video file real-time playback include:
The streaming media server is used to start message according to the plug-flow, generates and records with the specified view networked video As file real-time playback instructs corresponding first media stream acquisition instruction;
Recording service device described in the streaming media server real-time reception is returned for the first media stream acquisition instruction The multimedia streaming data returned;
The multimedia streaming data is pushed to the view networking monitoring shared server by the streaming media server in real time.
Preferably, it is described depending on network further include with the streaming media server internet protocol-based communication connection third Fang Pingtai;The streaming media server is used to start message according to the plug-flow, real to the view networking monitoring shared server When push with the step of specified instruction corresponding multimedia streaming data depending on networked video video file real-time playback include:
The streaming media server is used to start message according to the plug-flow, generates and records with the specified view networked video As file real-time playback instructs corresponding second media stream acquisition instruction;
The streaming media server refers to for third-party platform described in real-time reception for second media stream acquisition Enable the multimedia streaming data returned;
The streaming media server is used in real time push to the multimedia streaming data the shared clothes of the view networking monitoring Business device.
To solve the above-mentioned problems, the embodiment of the present application discloses another kind real-time playback view networking video recording in internet Method, the method is applied in view networking, and view networking includes streaming media server, with the streaming media server base In the view networking monitoring shared server successively communicated to connect depending on networking protocol, pipeline net platform MServer is regarded, and is based on National standard GB/T28181 agreement and the internet communicated to connect respectively depending on networking monitoring shared server, the MServer are whole End, which comprises
It is described that the second real-time playback video recording request that the MServer is sent is received depending on networking monitoring shared server;Its In, the second real-time playback video recording request is to be recorded a video to request according to first real-time playback by the MServer, based on view The video record real-time playback agreement of networking and generate;The first real-time playback video recording request is by the internet terminal It is generated when receiving the trigger action depending on networked video playing back videos, it is real-time including specified view networked video video file Play-back command;
It is described that second real-time playback video recording request is pass-through to streaming media server depending on networking monitoring shared server;
It is described that the playback acceptance message that the streaming media server is sent is received depending on networking monitoring shared server;Wherein, The playback acceptance message is to be generated by the streaming media server when agreeing to the second real-time playback video recording request;
It is described that the playback acceptance message is sent to the MServer depending on networking monitoring shared server;It is described MServer is used to the playback acceptance message feeding back to the internet terminal;
The plug-flow for receiving the MServer transmission depending on networking monitoring shared server starts message;Wherein, described to push away Stream, which starts message, to be generated after receiving the playback acceptance message by the internet terminal;
It is described the plug-flow is started into message depending on networking monitoring shared server to be pass-through to the streaming media server;It is described Streaming media server is used to according to the plug-flow start message, to the view networking monitoring shared server push in real time with it is described Specified view networked video video file real-time playback instructs corresponding multimedia streaming data;
It is described that the multimedia streaming data is pushed into the internet terminal in real time depending on networking monitoring shared server;Institute Internet terminal is stated for playing the multimedia streaming data in real time.
To solve the above-mentioned problems, the embodiment of the present application also discloses one kind real-time playback view networking video recording in internet Device, described device is applied in view networking, and view networking includes streaming media server, with the streaming media server base In the view networking monitoring shared server successively communicated to connect depending on networking protocol, pipeline net platform MServer is regarded, and is based on National standard GB/T28181 agreement and the internet communicated to connect respectively depending on networking monitoring shared server, the MServer are whole End, the MServer are comprised the following modules:
First playback request receiving module, for receiving the first real-time playback video recording request of internet terminal transmission;Its In, the first real-time playback video recording request is by the internet terminal in the triggering for receiving view networked video playing back videos It generates when operation, is instructed including specified view networked video video file real-time playback;
Second playback request generation module is requested for being recorded a video according to first real-time playback, is generated second and is returned in real time Put video recording request;Wherein, the second real-time playback video recording request includes the video record real-time playback agreement based on view networking;
Second playback request sending module is total to for being sent to second real-time playback video recording request depending on networking monitoring Enjoy server;It is described to be used to second real-time playback video recording request being pass-through to Streaming Media clothes depending on networking monitoring shared server Business device;
The second receiving module is agreed in playback, disappears for receiving the playback agreement depending on networking monitoring shared server transparent transmission Breath;Wherein, the playback acceptance message be by the streaming media server when agreeing to second real-time playback video recording request It generates;
Acceptance message feedback module is played back, for the playback acceptance message to be fed back to the internet terminal;
Plug-flow starts the first receiving module, starts message for receiving the plug-flow that the internet terminal is sent;Wherein, institute Stating plug-flow to start message is generated after receiving the playback acceptance message by the internet terminal;
Plug-flow starts message transmission module, is sent to the shared clothes of the view networking monitoring for the plug-flow to be started message Business device;It is described to be pass-through to the streaming media server for the plug-flow to be started message depending on networking monitoring shared server;Institute Streaming media server is stated for according to the plug-flow starting message, is pushed in real time to the view networking monitoring shared server and institute It states specified view networked video video file real-time playback and instructs corresponding multimedia streaming data;The shared clothes of the view networking monitoring Business device is used to the multimedia streaming data pushing to the internet terminal in real time;The internet terminal for playing in real time The multimedia streaming data.
To solve the above-mentioned problems, the embodiment of the present application also discloses one kind real-time playback view networking video recording in internet Device, described device is applied in view networking, and view networking includes streaming media server, with the streaming media server base In the view networking monitoring shared server successively communicated to connect depending on networking protocol, pipeline net platform MServer is regarded, and is based on National standard GB/T28181 agreement and the internet communicated to connect respectively depending on networking monitoring shared server, the MServer are whole End, described to be comprised the following modules depending on networking monitoring shared server:
Second playback request receiving module, the second real-time playback video recording request sent for receiving the MServer;Its In, the second real-time playback video recording request is to be recorded a video to request according to first real-time playback by the MServer, based on view The video record real-time playback agreement of networking and generate;The first real-time playback video recording request is by the internet terminal It is generated when receiving the trigger action depending on networked video playing back videos, it is real-time including specified view networked video video file Play-back command;
Second playback request transparent transmission module, for second real-time playback video recording request to be pass-through to streaming media service Device;
The first receiving module is agreed in playback, the playback acceptance message sent for receiving the streaming media server;Wherein, The playback acceptance message is to be generated by the streaming media server when agreeing to the second real-time playback video recording request;
Acceptance message sending module is played back, for the playback acceptance message to be sent to the MServer;It is described MServer is used to the playback acceptance message feeding back to the internet terminal;
Plug-flow starts the second receiving module, starts message for receiving the plug-flow that the MServer is sent;Wherein, described Plug-flow, which starts message, to be generated after receiving the playback acceptance message by the internet terminal;
Plug-flow starts message transparent transmission module, is pass-through to the streaming media server for the plug-flow to be started message;Institute Streaming media server is stated for according to the plug-flow starting message, is pushed in real time to the view networking monitoring shared server and institute It states specified view networked video video file real-time playback and instructs corresponding multimedia streaming data;
Multimedia streaming data pushing module, for the multimedia streaming data to be pushed to the internet terminal in real time; The internet terminal for playing the multimedia streaming data in real time.
The embodiment of the present application also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that described device executes one or more methods as described in the embodiment of the present application.
The embodiment of the present application also provides one or more machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that the processor executes one or more methods as described in the embodiment of the present application.
The embodiment of the present application includes the following advantages:
The characteristic of the embodiment of the present application application view networking, passes through internet terminal, view pipeline net platform MServer, view Message signaling data communication conversion and multimedia streaming data between networking monitoring shared server and streaming media server Protocol conversion, the embodiment of the present application provide the real-time playback view networked video video file in internet terminal in a creative way Method increases the business of internet and view networking intercommunication;
The characteristic of the embodiment of the present application application view networking, by view networking monitoring shared server directly by multimedia streaming data Be pushed to internet terminal in real time so that such as message request signaling data is performed separately with multimedia streaming data, compared to by MServer repeating multimedia flow data and the mode for being pushed to internet terminal, the embodiment of the present application significantly reduce pair The occupancy of MServer running memory reduces the influence run to it, can promote MServer to signaling data or other business The processing speed of performance data;
The characteristic of the embodiment of the present application application view networking, by the internet of MServer/view networking transformation service module The lower signaling for establishing corresponding video record real-time playback business exchanges submodule, carries out signaling data by signaling exchange submodule Protocol conversion reduce the signaling recon of each business so that each management function of MServer is more accurate, succinct The problem of data conversion between module is getting lines crossed, is malfunctioning.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the application;
Fig. 2 is a kind of hardware structural diagram of node server of the application;
Fig. 3 is a kind of hardware structural diagram of access switch of the application;
Fig. 4 is that a kind of Ethernet association of the application turns the hardware structural diagram of gateway;
Fig. 5 is a kind of networking schematic diagram of the system of the view of the real-time playback in internet networking video recording of the embodiment of the present application;
Fig. 6 is a kind of step flow chart of the method for the view of the real-time playback in internet networking video recording of the embodiment of the present application;
Fig. 7 is the step process of the embodiment of the present application another kind method of real-time playback view networking video recording in internet Figure;
Fig. 8 is a kind of structural block diagram of the device of the view of the real-time playback in internet networking video recording of the embodiment of the present application;
Fig. 9 is the structural block diagram of the embodiment of the present application another kind device of real-time playback view networking video recording in internet.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the embodiment of the present application, it is introduced below to depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Multimedia flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 the embodiment of the present application can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in the embodiment of the present application:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in the embodiment of the present application: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of core idea of the embodiment of the present application is proposed, it then follows regard the association of networking View, provides the method and product of the video record file in the networking of real-time playback view in internet in a creative way, and internet is whole End group in the access of GB/T28181 agreement there is the platform MServer, MServer of view networking United Dispatching management function will interconnect The first real-time playback message request for specified view networked video video file that network termination is sent, based on view networking It is converted under the interface of video record real-time playback agreement creation, view networking monitoring shared server, Streaming Media is generated with this The identifiable second real-time playback message request of server, then streaming media server is according to the second real-time playback message request, It pushes to the view networking monitoring shared server and is instructed with the specified view networked video video file real-time playback in real time Corresponding multimedia streaming data, it is then described directly to push institute in real time to the internet terminal depending on networking monitoring shared server State multimedia streaming data;The embodiment of the present application in the above manner can the real-time playback view networked video video recording in internet terminal File increases the business of internet and view networking intercommunication.
Meanwhile multimedia streaming data is made by being directly pushed to internet terminal in real time depending on networking monitoring shared server It obtains such as message request signaling data to be performed separately with multimedia streaming data, compare by MServer repeating multimedia flow data simultaneously It is pushed to the mode of internet terminal, the embodiment of the present application significantly reduces the occupancy to MServer running memory, reduces pair Its influence run can promote MServer to the processing speed of signaling data or other business function data;In addition, the application Embodiment is by establishing corresponding video record real-time playback business in the case where the internet of MServer/view networks transformation service module Signaling exchange submodule, by the signaling exchange submodule carry out signaling data protocol conversion so that each pipe of MServer Manage that function is more accurate, succinct, reduce the data conversion between the signaling exchange submodule of each business get lines crossed, asking of malfunctioning Topic.
Embodiment 1:
As shown in figure 5, showing a kind of system of the view of the real-time playback in internet networking video recording of the embodiment of the present application Networking schematic diagram, the system can be applied in view networking, and the view networking includes streaming media server 01, with the stream matchmaker Body server 01 based on successively communicated to connect depending on networking protocol view networking monitoring shared server 02, view pipeline net platform MServer03, and based on national standard GB/T28181 agreement and the view networking monitoring shared server 02, the MServer03 The internet terminal 04 communicated to connect respectively.
Streaming media server 01 is a kind of access device.It can be communicated with multiple external equipments, such as mobile phone, flat Plate, desktop computer, notebook, network shooting head etc..By realizing such as management, control, protocol conversion, data conversion, resource allocation Etc. functions, can will various external equipment seamless access view networking in.Streaming media server 02 supports multiple external equipments simultaneously Access view is networked, and it is logical that the streaming media server 02 in the embodiment of the present application is mainly based on view networking protocol with recording service device 05 Letter, and communicated with 06 internet protocol-based of third-party platform.Streaming media server 01 in the embodiment of the present application It also include that association turns server (also referred to as monitoring access server), when third-party platform 06 is Internet camera, stream Association in media server 01, which turns server, can be changed to the circulation of the internet multimedia of acquired IP Camera view networking Media stream is simultaneously sent in the other equipment of view networking, such as regards networking monitoring shared server 02.
Media stream mentioned by the application includes media stream and audio stream.
Above-mentioned mentioned recording service device 05 is the server that video record data are stored with during view is networked, can with it is each Monitoring camera communication, by its acquired video data processing, conversion, storage.
Third-party platform 06 is the product for participating in the video monitoring manufacturer of GB/T28181 agreement, such as the big China in Zhejiang, advanced view News, wave-particle science and technology, product of Huawei Technologies etc..
Depending on networking monitoring shared server 02 also known as shared platform, it is understood that be gateway, be that one kind can be responsible for view The video code flow of the monitoring device 04 of networking is converted into the video code flow of realtime transmission protocol RTP protocol payload, can be used for regard The equipment that networked video shares to the monitor supervision platform based on Real-time Transport Protocol transmission.View networking monitoring in the embodiment of the present application is shared Server 02 can be communicated with 04 internet protocol-based of internet terminal, by recording after conversion with the specified view networked video As file real-time playback instructs corresponding multimedia streaming data to be sent to the internet terminal 04.
MServer03 belongs to a system total management in view networking, and full name is that view networking monitoring network management scheduling is flat Platform, including multiple business modules can be responsible for entirely regarding the unified management and national standard of the monitoring device of all accesses in networking (GB/T28181) the docking service of platform monitoring system.In the embodiment of the present application, MServer03 is mainly used for internet Terminal 04 is converted to the video record real-time playback agreement based on view networking based on the message request that GB/T28181 agreement is sent Message request.When specific implementation, MServer03 can establish corresponding specific business (such as in internet/view networking transformation service module Video record real-time playback) signaling exchange submodule, message signaling is converted into view networking data from internet data, or will Message signaling is converted to internet data from depending on networking data.
Internet terminal 04 refers in particular to the end product that can complete Internet service, by customized hardware and runs thereon Operating system and application software composition product, concretely mobile phone, plate, desktop computer, notebook etc., software can be hardware Applications client or page end.
Embodiment 2:
As shown in fig. 6, showing a kind of method of the view of the real-time playback in internet networking video recording of the embodiment of the present application Flow chart of steps, the method can be applied in view networking, specifically can be applied in MServer03 shown in fig. 5, described Method can specifically include following steps:
Step S601: the MServer receives the first real-time playback video recording request that internet terminal is sent;Wherein, institute Stating the video recording request of the first real-time playback is by the internet terminal in the trigger action for receiving view networked video playing back videos Shi Shengcheng's, it is instructed including specified view networked video video file real-time playback;
In the embodiment of the present application, internet terminal 04 has display interface, which can be client or webpage End.
It can be user mutual that arrives mentioned in the embodiment of the present application, which regards the trigger action of networked video video recording real-time playback, One video of the display interface selection of networked terminals 04, the real-time playback button for the video then clicked;Can also for The title or address number of some video inputted in display interface, that then clicks presses video progress real-time playback Button.
Internet terminal 04 generates the first real-time playback record of the corresponding trigger action according to received trigger action It include specified view networked video video file in first real-time playback video recording request as request (internet data) Address, and the instruction of real-time playback is carried out to the view networked video video file.
To make internet terminal be able to access that view networking, and the multimedia streaming data of real-time playback view networking, the application Embodiment is provided with a multipath decoding IE plug-in unit in internet terminal 04, and multipath decoding IE plug-in unit is a plug-in unit little Cheng Sequence is embedded in the operation backstage that video is shown, is communicated based on GB/T28181 agreement with the MServer03.
So the MServer03 of the application receives the step of the first real-time playback video recording request that internet terminal 04 is sent It can specifically include;
The MServer03 receives the first real-time playback video recording request that multipath decoding IE plug-in unit is sent;Wherein, described The video recording request of one real-time playback is by the multipath decoding IE plug-in unit in the trigger action for receiving view networked video playing back videos Shi Shengcheng's, it is instructed including specified view networked video video file real-time playback.
Step S602: the MServer records a video according to first real-time playback requests, and generates the video recording of the second real-time playback Request;Wherein, the second real-time playback video recording request includes the video record real-time playback agreement based on view networking;
MServer03 is asked based on the first real-time playback video recording that GB/T28181 agreement receives the transmission of internet terminal 04 After asking, to enable the message request to be identified and executed depending on networking monitoring shared server 02, streaming media server 01, So MServer03 has to convert the message request, specifically when conversion, first basis and view networking monitoring is needed to share clothes The view networking protocol that business device 02, streaming media server 01 communicate, adds video record real-time playback in the view networking protocol Rule, with formed based on view networking video record real-time playback agreement, while internet/depending on networking transformation service module build The signaling of vertical corresponding video record real-time playback business exchanges submodule, and signaling exchange submodule can record the first real-time playback As request is converted to the second real-time playback video recording request (depending on networking data).
Second real-time playback video recording request is sent to the shared clothes of view networking monitoring by step S603: the MServer Business device;It is described to be used to second real-time playback video recording request being pass-through to streaming media service depending on networking monitoring shared server Device;
Corresponding, the second real-time playback formed after conversion video recording request is sent to view networking prison by the MServer01 Shared server 02 is controlled, after regarding 02 transparent transmission of networking monitoring shared server, streaming media server 01 is real-time to described second Playback video recording request is replied.If the service protocol of the second real-time playback video recording request is correct or network communication is normal etc. The second real-time playback video recording request is usually agreed to Deng, streaming media server 01, and returns to agreement request (playback is agreed to disappear Breath).
Step S604: the MServer receives the playback acceptance message of the view networking monitoring shared server transparent transmission;Its In, the playback acceptance message is by streaming media server generation when agreeing to the second real-time playback video recording request 's;
The streaming media server 01 of the application after agreeing to real-time playback video recording request, will playback acceptance message (depending on Networking data) and it is sent to view networking monitoring shared server 02, the playback is agreed to depending on networking monitoring shared server 02 Message is pass-through to the MServer03.
The playback acceptance message is fed back to the internet terminal by step S605: the MServer;
In one preferred embodiment of the application, step S605 can specifically include following sub-step:
Sub-step seven: the MServer03 is generated and is returned for described according to the playback acceptance message (depending on networking data) Put the status message of acceptance message (depending on networking data);
For MServer03 according to the playback acceptance message (depending on networking data), the status message firstly generated is view networking Then the message is converted in the signaling exchange submodule for the video record real-time playback business established before and is based on by data The status message (internet data) of Internet protocol.
Sub-step eight: the status message (internet data) is sent to the internet terminal by the MServer03 04;
Above-mentioned status message can be 2000k signaling packet, indicate feedback acknowledgment.
Sub-step nine: the MServer03 receives the internet terminal 04 and is directed to the state that the status message returns Reply message (internet data).
Above-mentioned replying state message (internet data) is a kind of command to answer correctly ACK confirmation message.
Step S606: the MServer, which receives the plug-flow that the internet terminal is sent, starts message;Wherein, described to push away Stream, which starts message, to be generated after receiving the playback acceptance message by the internet terminal;
It may include the plug-flow time started that plug-flow in the embodiment of the present application, which starts message, and the recipient address of plug-flow pushes away The sender address of stream, speed of plug-flow etc. information.
The plug-flow is started message by step S607: the MServer is sent to the view networking monitoring shared server; It is described to be pass-through to the streaming media server for the plug-flow to be started message depending on networking monitoring shared server;The stream matchmaker Body server is used to start message according to the plug-flow, pushes to the view networking monitoring shared server and specifies with described in real time View networked video video file real-time playback instruct corresponding multimedia streaming data;The view networking monitoring shared server is used In the multimedia streaming data is pushed to the internet terminal in real time;The internet terminal is described more for playing in real time Media stream data.
In above-mentioned steps, the plug-flow is started message and is sent to view networking monitoring shared server 02 by MServer03, After regarding 02 transparent transmission of networking monitoring shared server, the streaming media server 01 starts message according to the plug-flow, to institute State the push in real time of view networking monitoring shared server 02 and the specified view networked video video file real-time playback instruction pair The multimedia streaming data answered (depending on networked multimedia flow data).
Multimedia streaming data in the embodiment of the present application is mainly derived from recording service device 05 and third-party platform 06.
For recording service device 05, in one preferred embodiment of the application, provide when multimedia streaming data is from record When as server 05, the streaming media server 01 is specified to the push in real time of view networking monitoring shared server 02 with described A kind of possible mode that corresponding multimedia streaming data is instructed depending on networked video video file real-time playback, the step is specific May include:
Sub-step one: the streaming media server 01 is used to start message according to the plug-flow, generates and described specified Instruct corresponding first media stream acquisition instruction depending on networked video video file real-time playback (depending on networking data);
Sub-step two: recording service device 05 described in 01 real-time reception of streaming media server is directed to first multimedia Flow the multimedia streaming data that acquisition instruction returns (depending on networked multimedia flow data);
Sub-step three: the streaming media server 01 is real-time by the multimedia streaming data (depending on networked multimedia flow data) Push to the view networking monitoring shared server 02.
For third-party platform 06, in one preferred embodiment of the application, provide when multimedia streaming data is from the When tripartite's platform 06, the streaming media server 01 is specified to the push in real time of view networking monitoring shared server 02 with described The alternatively possible mode that corresponding multimedia streaming data is instructed depending on networked video video file real-time playback, step tool Body may include following sub-step:
Sub-step four: the streaming media server 01 is used to start message according to the plug-flow, generates and described specified Corresponding second media stream acquisition instruction (internet data) is instructed depending on networked video video file real-time playback;
The second media stream acquisition instruction herein is will to be generated to network with the specified view by streaming media server 01 Video record file real-time playback instructs corresponding acquisition instruction (regarding networking data) to be based on GB/T28181 protocol conversion as second Media stream acquisition instruction (internet data).
Sub-step five: the streaming media server 01 is directed to more than described second for third-party platform 06 described in real-time reception The multimedia streaming data (internet multimedia flow data) that Media Stream acquisition instruction returns;
Herein mainly by the association in streaming media server 01 turn server send come real-time reception third-party platform 06 it is more Media stream data (internet multimedia flow data), then by the multimedia streaming data of internet protocol-based (the more matchmakers in internet Body flow data) be converted to the multimedia streaming data based on view networking protocol (depending on networked multimedia flow data).
Sub-step six: the streaming media server 01 is used for the multimedia streaming data (depending on networked multimedia flow data) The view networking monitoring shared server 02 is pushed in real time.
Then the media stream (depending on networked multimedia flow data) is based on interconnection by view networking monitoring shared server 02 FidonetFido is converted to multimedia streaming data (internet multimedia flow data) and pushes to the internet terminal in real time;Internet is whole Multipath decoding IE plug-in unit in end 04 receives the multimedia streaming data (internet multimedia flow data), and is transferred to audio-video Decoder decoding plays in real time.
By step S601~step S607, shows from MServer03 angle and be set forth in real-time playback in internet Depending on the mode of networked video video recording, the embodiment of the present application provides the interior video of real-time playback view networking in internet in a creative way The method of video file increases the business of internet and view networking intercommunication;Meanwhile multimedia streaming data is networked by view Monitoring shared server 02 is directly pushed to internet terminal 04 in real time, so that such as message request signaling data and media stream Data are performed separately, compared to by MServer03 repeating multimedia flow data and being pushed to the mode of internet terminal 04, the application Embodiment significantly reduces the occupancy to MServer03 running memory, reduces the influence run to it, can be promoted Processing speed of the MServer03 to signaling data or other business function data;In addition, the embodiment of the present application by The signaling exchange of corresponding video record real-time playback business is established under the internet of MServer03/view networking transformation service module Submodule is carried out the protocol conversion of signaling data by signaling exchange submodule, so that each management function of MServer03 is more Add accurate, succinct, reduces data conversion the problem of getting lines crossed, malfunctioning between the signaling exchange submodule of each business.
Embodiment 3:
As shown in fig. 7, showing the method for the embodiment of the present application another kind real-time playback view networking video recording in internet Step flow chart, the method can be applied to view networking in, specifically can be applied to view networking monitoring shown in fig. 5 share In server 02, the method can specifically include following steps:
Step S701: described that the second real-time playback record that the MServer is sent is received depending on networking monitoring shared server As request;Wherein, the second real-time playback video recording request is to be asked by the MServer according to first real-time playback video recording It asks, is generated based on the video record real-time playback agreement depending on networking;The first real-time playback video recording request is by described What internet terminal was generated when receiving the trigger action depending on networked video playing back videos, it is recorded including specified view networked video As file real-time playback instructs;
Step S702: described that second real-time playback video recording request is pass-through to stream matchmaker depending on networking monitoring shared server Body server;
Step S703: the playback agreement for receiving the streaming media server transmission depending on networking monitoring shared server disappears Breath;Wherein, the playback acceptance message be by the streaming media server when agreeing to second real-time playback video recording request It generates;
Step S704: described that the playback acceptance message is sent to the MServer depending on networking monitoring shared server; The MServer is used to the playback acceptance message feeding back to the internet terminal;
Step S705: the plug-flow for receiving the MServer transmission depending on networking monitoring shared server starts message;Its In, the plug-flow, which starts message, to be generated after receiving the playback acceptance message by the internet terminal;
Step S706: described depending on networking monitoring shared server the plug-flow to be started message and be pass-through to the Streaming Media to take Business device;The streaming media server is used to start message according to the plug-flow, real-time to the view networking monitoring shared server Push multimedia streaming data corresponding with the specified view networked video video file real-time playback instruction;
Step S707: described that the multimedia streaming data is pushed into the interconnection in real time depending on networking monitoring shared server Network termination;The internet terminal for playing the multimedia streaming data in real time.
The embodiment of the present application shows the angle from view networking monitoring shared server 02 by step S701~step S707 It spends to be set forth in the mode of real-time playback view networked video video recording in internet, provides returned in real time in internet in a creative way The method for putting video record file in view networking increases the business of internet and view networking intercommunication;Principle is embodied It is few herein to explain due to length referring to embodiment 2.
Meanwhile multimedia streaming data is by being directly pushed to internet terminal in real time depending on networking monitoring shared server 02 04, so that such as message request signaling data is performed separately with multimedia streaming data, compared to by MServer03 repeating multimedia stream Data and the mode for being pushed to internet terminal 04, the embodiment of the present application, which significantly reduces, accounts for MServer03 running memory With reducing the influence run to it, MServer03 can be promoted to the processing of signaling data or other business function data speed Degree;In addition, the embodiment of the present application is by establishing corresponding video in the case where the internet of MServer03/view networks transformation service module The signaling for real-time playback business of recording a video exchanges submodule, and the protocol conversion of signaling data is carried out by signaling exchange submodule, is made The each management function for obtaining MServer03 is more accurate, succinct, reduces the number between the signaling exchange submodule of each business The problem of getting lines crossed according to conversion, malfunctioning.
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, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented Necessary to example.
Embodiment 4:
As shown in figure 8, the method in corresponding embodiment 2, shows the embodiment of the present application one kind and returns in real time in internet The structural block diagram of the device of view networking video recording is put, described device can be applied in view networking, specifically can be applied to shown in Fig. 5 MServer03 in, the MServer03 can specifically include with lower module:
First playback request receiving module 801, for receiving the first real-time playback video recording request of internet terminal transmission; Wherein, the first real-time playback video recording request is by the internet terminal in the touching for receiving view networked video playing back videos It generates when hair operation, is instructed including specified view networked video video file real-time playback;
Second playback request generation module 802 is requested for being recorded a video according to first real-time playback, generates second in real time Playback video recording request;Wherein, the second real-time playback video recording request includes the video record real-time playback association based on view networking View;
Second playback request sending module 803, for second real-time playback video recording request to be sent to view networking prison Control shared server;It is described to be used to second real-time playback video recording request being pass-through to stream matchmaker depending on networking monitoring shared server Body server;
The second receiving module 804 is agreed in playback, and the playback for receiving the view networking monitoring shared server transparent transmission is same Meaning message;Wherein, the playback acceptance message is to be asked by the streaming media server in agreement the second real-time playback video recording It is generated when asking;
Acceptance message feedback module 805 is played back, for the playback acceptance message to be fed back to the internet terminal;
Plug-flow starts the first receiving module 806, starts message for receiving the plug-flow that the internet terminal is sent;Its In, the plug-flow, which starts message, to be generated after receiving the playback acceptance message by the internet terminal;
Plug-flow starts message transmission module 807, is sent to for the plug-flow to be started message and described is total to depending on networking monitoring Enjoy server;It is described to be pass-through to the streaming media service for the plug-flow to be started message depending on networking monitoring shared server Device;The streaming media server is used to start message according to the plug-flow, pushes away in real time to described depending on networking monitoring shared server Send multimedia streaming data corresponding with the specified view networked video video file real-time playback instruction;The view networking monitoring Shared server is used to the multimedia streaming data pushing to the internet terminal in real time;The internet terminal is for real When play the multimedia streaming data.
Embodiment 5:
As shown in figure 9, the method in corresponding embodiment 3, it is real-time in internet to show the embodiment of the present application another kind The structural block diagram of the device of playback view networking video recording, described device can be applied in view networking, specifically can be applied to Fig. 5 institute It is described to can specifically include depending on networking monitoring shared server 02 with lower module in the view networking monitoring shared server 02 shown:
Second playback request receiving module 901 is asked for receiving the second real-time playback video recording that the MServer is sent It asks;Wherein, the second real-time playback video recording request is to be recorded a video to request according to first real-time playback by the MServer, It is generated based on the video record real-time playback agreement depending on networking;The first real-time playback video recording request is by the interconnection What network termination was generated when receiving the trigger action depending on networked video playing back videos, it records a video including specified view networked video literary The instruction of part real-time playback;
Second playback request transparent transmission module 902, for second real-time playback video recording request to be pass-through to Streaming Media clothes Business device;
The first receiving module 903 is agreed in playback, the playback acceptance message sent for receiving the streaming media server;Its In, the playback acceptance message is by streaming media server generation when agreeing to the second real-time playback video recording request 's;
Acceptance message sending module 904 is played back, for the playback acceptance message to be sent to the MServer;It is described MServer is used to the playback acceptance message feeding back to the internet terminal;
Plug-flow starts the second receiving module 905, starts message for receiving the plug-flow that the MServer is sent;Wherein, institute Stating plug-flow to start message is generated after receiving the playback acceptance message by the internet terminal;
Plug-flow starts message transparent transmission module 906, is pass-through to the streaming media server for the plug-flow to be started message; The streaming media server is used to according to the plug-flow start message, pushed in real time to the view networking monitoring shared server and The specified view networked video video file real-time playback instructs corresponding multimedia streaming data;
Multimedia streaming data pushing module 907, it is whole for the multimedia streaming data to be pushed to the internet in real time End;The internet terminal for playing the multimedia streaming data in real time.
The embodiment of the present application also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that described device executes one or more methods as described in the embodiment of the present application.
The embodiment of the present application also provides one or more machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that the processor executes one or more methods as described in the embodiment of the present application.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to the method and one kind of a kind of real-time playback in internet view networking video recording provided herein mutual The device of real-time playback view networking video recording, is described in detail, specific case used herein is to the application's in networking Principle and embodiment is expounded, the present processes that the above embodiments are only used to help understand and its core Thought;At the same time, for those skilled in the art, according to the thought of the application, in specific embodiment and application range Upper there will be changes, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of method of the view of the real-time playback in internet networking video recording, which is characterized in that the method is applied to view networking In, view networking includes streaming media server, with the streaming media server based on successively communicating to connect depending on networking protocol Depending on networking monitoring shared server, view pipeline net platform MServer, and based on national standard GB/T28181 agreement and the view The internet terminal that networking monitoring shared server, the MServer are communicated to connect respectively, which comprises
The MServer receives the first real-time playback video recording request that internet terminal is sent;Wherein, first real-time playback Video recording request is to be generated by the internet terminal when receiving the trigger action depending on networked video playing back videos, including refer to Fixed view networked video video file real-time playback instruction;
The MServer records a video according to first real-time playback and requests, and generates the video recording request of the second real-time playback;Wherein, institute Stating the video recording request of the second real-time playback includes the video record real-time playback agreement based on view networking;
Second real-time playback video recording request is sent to view networking monitoring shared server by the MServer;The view connection Net monitoring shared server is used to second real-time playback video recording request being pass-through to streaming media server;
The MServer receives the playback acceptance message of the view networking monitoring shared server transparent transmission;Wherein, the playback is same Meaning message is to be generated by the streaming media server when agreeing to the second real-time playback video recording request;
The playback acceptance message is fed back to the internet terminal by the MServer;
The MServer receives the plug-flow that the internet terminal is sent and starts message;Wherein, the plug-flow start message be by What the internet terminal generated after receiving the playback acceptance message;
The plug-flow is started message and is sent to the view networking monitoring shared server by the MServer;The view networking prison Control shared server is pass-through to the streaming media server for the plug-flow to be started message;The streaming media server is used for Start message according to the plug-flow, is pushed in real time and the specified view networked video to the view networking monitoring shared server Video file real-time playback instructs corresponding multimedia streaming data;The view networking monitoring shared server is used for more matchmakers Body flow data pushes to the internet terminal in real time;The internet terminal for playing the multimedia streaming data in real time.
2. the method according to claim 1, wherein the internet terminal includes multipath decoding IE plug-in unit;Institute Stating the step of MServer receives the first real-time playback video recording request that internet terminal is sent includes;
The MServer receives the first real-time playback video recording request that multipath decoding IE plug-in unit is sent;Wherein, described first in real time Playback video recording request is by multipath decoding IE plug-in unit generation when receiving the trigger action of view networked video playing back videos , it is instructed including specified view networked video video file real-time playback.
3. the method according to claim 1, wherein the MServer feeds back to the playback acceptance message The step of internet terminal includes:
The MServer generates the status message for the playback acceptance message according to the playback acceptance message;
The status message is sent to the internet terminal by the MServer;
The MServer receives the internet terminal and is directed to the replying state message that the status message returns.
4. the method according to claim 1, wherein described further include and the streaming media server base depending on networking In the recording service device of view networking protocol communication connection;The streaming media server is used to start message according to the plug-flow, to The view networking monitoring shared server pushes and the specified view networked video video file real-time playback instruction pair in real time The step of multimedia streaming data answered includes:
The streaming media server is used to start message according to the plug-flow, generates and the specified view networked video video recording text Part real-time playback instructs corresponding first media stream acquisition instruction;
Recording service device described in the streaming media server real-time reception is returned for the first media stream acquisition instruction Multimedia streaming data;
The multimedia streaming data is pushed to the view networking monitoring shared server by the streaming media server in real time.
5. the method according to claim 1, wherein described further include and the streaming media server base depending on networking In the third-party platform of internet protocol communication connection;The streaming media server is used to start message according to the plug-flow, to The view networking monitoring shared server pushes and the specified view networked video video file real-time playback instruction pair in real time The step of multimedia streaming data answered includes:
The streaming media server is used to start message according to the plug-flow, generates and the specified view networked video video recording text Part real-time playback instructs corresponding second media stream acquisition instruction;
The streaming media server is returned for third-party platform described in real-time reception for the second media stream acquisition instruction The multimedia streaming data returned;
The streaming media server is used to the multimedia streaming data pushing to the view networking monitoring shared server in real time.
6. a kind of method of the view of the real-time playback in internet networking video recording, which is characterized in that the method is applied to view networking In, view networking includes streaming media server, with the streaming media server based on successively communicating to connect depending on networking protocol Depending on networking monitoring shared server, view pipeline net platform MServer, and based on national standard GB/T28181 agreement and the view The internet terminal that networking monitoring shared server, the MServer are communicated to connect respectively, which comprises
It is described that the second real-time playback video recording request that the MServer is sent is received depending on networking monitoring shared server;Wherein, institute Stating the video recording request of the second real-time playback is to be recorded a video to request according to first real-time playback by the MServer, based on view networking Video record real-time playback agreement and generate;The first real-time playback video recording request is being connect by the internet terminal It is generated when receiving the trigger action depending on networked video playing back videos, including specified view networked video video file real-time playback Instruction;
It is described that second real-time playback video recording request is pass-through to streaming media server depending on networking monitoring shared server;
It is described that the playback acceptance message that the streaming media server is sent is received depending on networking monitoring shared server;Wherein, described Playback acceptance message is to be generated by the streaming media server when agreeing to the second real-time playback video recording request;
It is described that the playback acceptance message is sent to the MServer depending on networking monitoring shared server;The MServer is used In the playback acceptance message is fed back to the internet terminal;
The plug-flow for receiving the MServer transmission depending on networking monitoring shared server starts message;Wherein, the plug-flow is opened Beginning message is generated after receiving the playback acceptance message by the internet terminal;
It is described the plug-flow is started into message depending on networking monitoring shared server to be pass-through to the streaming media server;The stream matchmaker Body server is used to start message according to the plug-flow, pushes to the view networking monitoring shared server and specifies with described in real time View networked video video file real-time playback instruct corresponding multimedia streaming data;
It is described that the multimedia streaming data is pushed into the internet terminal in real time depending on networking monitoring shared server;It is described mutual Networked terminals for playing the multimedia streaming data in real time.
7. a kind of device of the view of the real-time playback in internet networking video recording, which is characterized in that described device is applied to view networking In, view networking includes streaming media server, with the streaming media server based on successively communicating to connect depending on networking protocol Depending on networking monitoring shared server, view pipeline net platform MServer, and based on national standard GB/T28181 agreement and the view The internet terminal that networking monitoring shared server, the MServer are communicated to connect respectively, the MServer include with lower die Block:
First playback request receiving module, for receiving the first real-time playback video recording request of internet terminal transmission;Wherein, institute Stating the video recording request of the first real-time playback is by the internet terminal in the trigger action for receiving view networked video playing back videos Shi Shengcheng's, it is instructed including specified view networked video video file real-time playback;
Second playback request generation module is requested for being recorded a video according to first real-time playback, generates the record of the second real-time playback As request;Wherein, the second real-time playback video recording request includes the video record real-time playback agreement based on view networking;
Second playback request sending module, for second real-time playback video recording request to be sent to the shared clothes of view networking monitoring Business device;It is described to be used to second real-time playback video recording request being pass-through to streaming media service depending on networking monitoring shared server Device;
The second receiving module is agreed in playback, for receiving the playback acceptance message of the view networking monitoring shared server transparent transmission; Wherein, the playback acceptance message is by streaming media server generation when agreeing to the second real-time playback video recording request 's;
Acceptance message feedback module is played back, for the playback acceptance message to be fed back to the internet terminal;
Plug-flow starts the first receiving module, starts message for receiving the plug-flow that the internet terminal is sent;Wherein, described to push away Stream, which starts message, to be generated after receiving the playback acceptance message by the internet terminal;
Plug-flow starts message transmission module, is sent to the view networking monitoring shared service for the plug-flow to be started message Device;It is described to be pass-through to the streaming media server for the plug-flow to be started message depending on networking monitoring shared server;It is described Streaming media server is used to according to the plug-flow start message, to the view networking monitoring shared server push in real time with it is described Specified view networked video video file real-time playback instructs corresponding multimedia streaming data;The view networking monitoring shared service Device is used to the multimedia streaming data pushing to the internet terminal in real time;The internet terminal for playing institute in real time State multimedia streaming data.
8. a kind of device of the view of the real-time playback in internet networking video recording, which is characterized in that described device is applied to view networking In, view networking includes streaming media server, with the streaming media server based on successively communicating to connect depending on networking protocol Depending on networking monitoring shared server, view pipeline net platform MServer, and based on national standard GB/T28181 agreement and the view The internet terminal that networking monitoring shared server, the MServer are communicated to connect respectively, the view networking monitoring shared service Device comprises the following modules:
Second playback request receiving module, the second real-time playback video recording request sent for receiving the MServer;Wherein, The second real-time playback video recording request is to be recorded a video to request according to first real-time playback by the MServer, based on view connection The video record real-time playback agreement of net and generate;The first real-time playback video recording request is existed by the internet terminal It generates when receiving the trigger action depending on networked video playing back videos, is returned in real time including specified depending on networked video video file Put instruction;
Second playback request transparent transmission module, for second real-time playback video recording request to be pass-through to streaming media server;
The first receiving module is agreed in playback, the playback acceptance message sent for receiving the streaming media server;Wherein, described Playback acceptance message is to be generated by the streaming media server when agreeing to the second real-time playback video recording request;
Acceptance message sending module is played back, for the playback acceptance message to be sent to the MServer;The MServer For the playback acceptance message to be fed back to the internet terminal;
Plug-flow starts the second receiving module, starts message for receiving the plug-flow that the MServer is sent;Wherein, the plug-flow Starting message is generated after receiving the playback acceptance message by the internet terminal;
Plug-flow starts message transparent transmission module, is pass-through to the streaming media server for the plug-flow to be started message;The stream Media server is used to start message according to the plug-flow, pushes in real time and the finger to the view networking monitoring shared server Fixed view networked video video file real-time playback instructs corresponding multimedia streaming data;
Multimedia streaming data pushing module, for the multimedia streaming data to be pushed to the internet terminal in real time;It is described Internet terminal for playing the multimedia streaming data in real time.
9. a kind of device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made The methods for obtaining the one or more that described device is executed as described in claim 1-6.
10. one or more machine readable medias, which is characterized in that instruction is stored thereon with, when by one or more processors When execution, so that the processor executes one or more methods as described in claim 1-6.
CN201811505849.9A 2018-12-10 2018-12-10 Method and device for playing back video recording in real time in Internet Active CN109769126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811505849.9A CN109769126B (en) 2018-12-10 2018-12-10 Method and device for playing back video recording in real time in Internet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811505849.9A CN109769126B (en) 2018-12-10 2018-12-10 Method and device for playing back video recording in real time in Internet

Publications (2)

Publication Number Publication Date
CN109769126A true CN109769126A (en) 2019-05-17
CN109769126B CN109769126B (en) 2021-06-29

Family

ID=66451369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811505849.9A Active CN109769126B (en) 2018-12-10 2018-12-10 Method and device for playing back video recording in real time in Internet

Country Status (1)

Country Link
CN (1) CN109769126B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460883A (en) * 2019-07-30 2019-11-15 视联动力信息技术股份有限公司 A kind of method and device of monitoring management
CN114466201A (en) * 2022-02-21 2022-05-10 上海哔哩哔哩科技有限公司 Live stream processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101182069A (en) * 2007-11-13 2008-05-21 清华大学 Oxidation ditch intelligent control system based on change of water entry
US20140208317A1 (en) * 2013-01-23 2014-07-24 Fujitsu Limited Multi-tenant system and control method of multi-tenant system
CN104811986A (en) * 2014-10-11 2015-07-29 北京中创腾锐技术有限公司 Method and device for associating data of interfaces in packet domain of network
CN106231365A (en) * 2016-08-18 2016-12-14 北京斗牛科技有限公司 A kind of dispatching method and system
CN106375736A (en) * 2016-11-20 2017-02-01 广州飞歌汽车音响有限公司 Remote vehicle video monitoring method and remote vehicle video monitoring system
CN108810456A (en) * 2017-07-17 2018-11-13 北京视联动力国际信息技术有限公司 A kind of monitoring video flow transfers method and system
CN108882307A (en) * 2018-04-27 2018-11-23 中国电子科技集团公司电子科学研究院 It is a kind of to control the method and device separated with business

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101182069A (en) * 2007-11-13 2008-05-21 清华大学 Oxidation ditch intelligent control system based on change of water entry
US20140208317A1 (en) * 2013-01-23 2014-07-24 Fujitsu Limited Multi-tenant system and control method of multi-tenant system
CN104811986A (en) * 2014-10-11 2015-07-29 北京中创腾锐技术有限公司 Method and device for associating data of interfaces in packet domain of network
CN106231365A (en) * 2016-08-18 2016-12-14 北京斗牛科技有限公司 A kind of dispatching method and system
CN106375736A (en) * 2016-11-20 2017-02-01 广州飞歌汽车音响有限公司 Remote vehicle video monitoring method and remote vehicle video monitoring system
CN108810456A (en) * 2017-07-17 2018-11-13 北京视联动力国际信息技术有限公司 A kind of monitoring video flow transfers method and system
CN108882307A (en) * 2018-04-27 2018-11-23 中国电子科技集团公司电子科学研究院 It is a kind of to control the method and device separated with business

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460883A (en) * 2019-07-30 2019-11-15 视联动力信息技术股份有限公司 A kind of method and device of monitoring management
CN114466201A (en) * 2022-02-21 2022-05-10 上海哔哩哔哩科技有限公司 Live stream processing method and device
CN114466201B (en) * 2022-02-21 2024-03-19 上海哔哩哔哩科技有限公司 Live stream processing method and device

Also Published As

Publication number Publication date
CN109769126B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN108121588B (en) A kind of method and its view networking access server of access external resource
CN108810456B (en) A kind of monitoring video flow transfers method and system
CN108012106B (en) A kind of method and system regarding networking monitoring source synchronous
CN108173804A (en) It is a kind of to access the method for internet and regarding connection cat client by regarding networking
CN109525460A (en) A kind of method and apparatus of view networking number resource monitoring
CN109714527A (en) A kind of method and apparatus of the control view networking camera in internet
CN110022456A (en) The method and apparatus for inviting terminals joining the conference
CN109547817A (en) A kind of method and apparatus for broadcasting view networked video video recording again in internet
CN110022306A (en) A kind of method and device of conference call membership
CN107888544B (en) A kind of method and system depending on establishing communication between networked terminals and communication apparatus
CN109756695A (en) A kind of method and apparatus that TV news stream is shown
CN110392226A (en) A kind of live streaming implementation method and device
CN109743526A (en) A kind of communication connection method for building up and system based on view networking
CN109617961A (en) A kind of method and apparatus of the downloading view networked video video recording in internet
CN110177023A (en) A kind of communication connection detection method and device based on view networking
CN109743284A (en) A kind of method for processing video frequency and system based on view networking
CN109698818A (en) A kind of acquisition online user and the method and apparatus across streaming media communication
CN109451001A (en) A kind of means of communication and system
CN109194901A (en) A kind of method for processing video frequency and device based on view networking
CN109286775A (en) A kind of multi-person conference control method and system
CN109347844A (en) A kind of method and device of equipment access internet
CN109769126A (en) A kind of method and apparatus of the view of the real-time playback in internet networking video recording
CN110445759A (en) A kind of electronic whiteboard sharing method and device
CN110266577A (en) A kind of tunnel establishing method and view networked system
CN109922297A (en) Call method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant