CN108966018B - Video broadcasting method, device, electronic equipment and storage medium based on view networking - Google Patents

Video broadcasting method, device, electronic equipment and storage medium based on view networking Download PDF

Info

Publication number
CN108966018B
CN108966018B CN201711485382.1A CN201711485382A CN108966018B CN 108966018 B CN108966018 B CN 108966018B CN 201711485382 A CN201711485382 A CN 201711485382A CN 108966018 B CN108966018 B CN 108966018B
Authority
CN
China
Prior art keywords
video
unit
view networking
control
com component
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.)
Active
Application number
CN201711485382.1A
Other languages
Chinese (zh)
Other versions
CN108966018A (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.)
Hainan Shilian Communication 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 CN201711485382.1A priority Critical patent/CN108966018B/en
Publication of CN108966018A publication Critical patent/CN108966018A/en
Application granted granted Critical
Publication of CN108966018B publication Critical patent/CN108966018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/631Multimode Transmission, e.g. transmitting basic layers and enhancement layers of the content over different transmission paths or transmitting with different error corrections, different keys or with different transmission protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides video broadcasting method device, electronic equipment and storage mediums based on view networking.The video data encoder of view networking monitoring video is obtained using silverlight plug-in unit, and video data encoder is decoded using com component to obtain the video data of view networking monitoring video, and the video data of view networking monitoring video is played using silverlight plug-in unit, so that viewing view networking monitoring video in any browser that user can include in any operating system, and user is made only to need to wait the short period just it can be seen that the view networking monitoring video played after input is played depending on the playing request of networking monitoring video, to improve user experience.

Description

Video broadcasting method, device, electronic equipment and storage medium based on view networking
Technical field
The present invention relates to view networking technology fields, more particularly to video broadcasting method, device, electronics based on view networking Equipment and storage medium.
Background technique
With the rapid development of technology, more and more users log in the video-see page on a web browser, and in video Video is watched on the viewing page.
Wherein, browser from the video data obtained in video server be coding after video data encoder, it is therefore, clear Device of looking at could play after needing the video data for decoding to obtain monitor video to video data encoder.However, usual browser is not Have coding and decoding function, and does not have playing function.
In order to enable user can watch video on a web browser, generally require to load ActiveX plug-in unit in a browser, ActiveX plug-in unit has coding and decoding function, and has playing function.
Browser can be used ActiveX plug-in unit and decode to the video data encoder that video server is sent, and be monitored The video data of video, and then use the video data of ActiveX plug-in unit broadcasting monitor video.
However, it is found by the inventors that ActiveX plug-in unit can only operate in the IE browser for including in Windows operating system In, so cause when user needs to watch video, user can only use IE browser viewing view in Windows operating system Frequently, if the operating system of equipment used by a user is pacified in Windows operating system or equipment used by a user The browser of dress is not IE browser, then user can not just watch video, causes user experience lower.
Summary of the invention
In order to improve user experience, the embodiment of the present invention show a kind of video broadcasting method based on view networking, device, Electronic equipment and storage medium.
In a first aspect, the embodiment of the present invention shows a kind of video broadcasting method based on view networking, which comprises
When receiving the playing request for being used to play view networking monitoring video inputted on a web browser, obtain Silverlight plug-in unit includes at least Transport Controls, coding control, decoding control and broadcasting in the silverlight plug-in unit Control;
The play control for including in the silverlight plug-in unit and the Transport Controls are locally being loaded, simultaneously Local pre-stored com component is obtained, and, locally loading the com component;
The view of the view networking monitoring video is obtained using the Transport Controls for including in the silverlight plug-in unit Frequency coded data;
The video data encoder is decoded using the com component to obtain the video counts of the view networking monitoring video According to;
The view of the view networking monitoring video is played using the play control for including in the silverlight plug-in unit Frequency evidence.
In an optional implementation, the com component includes at least coding control and decoding control;
It is described locally to load the com component, comprising:
Locally loading the decoding control for including in the com component.
It is described that the video data encoder is decoded to obtain using the com component in an optional implementation The video data of the view networking monitoring video, comprising:
The video data encoder is decoded using the decoding control for including in the com component to obtain the view connection The video data of net monitor video.
In an optional implementation, the acquisition silverlight plug-in unit, comprising:
Obtain the local pre-stored silverlight plug-in unit;
Alternatively,
The silverlight plug-in unit is downloaded from cloud.
Second aspect, the embodiment of the present invention show a kind of video play device based on view networking, and described device includes:
First obtains module, for working as the broadcasting for being used to play view networking monitoring video for receiving and inputting on a web browser When request, silverlight plug-in unit is obtained, Transport Controls, coding control, solution are included at least in the silverlight plug-in unit Code control and play control;
First loading module, for locally load the play control for including in the silverlight plug-in unit and The Transport Controls;
Second obtains module, for locally load the play control for including in the silverlight plug-in unit and Local pre-stored com component is obtained while the Transport Controls;
Second loading module, for locally loading the com component;
Third obtains module, described in being obtained using the Transport Controls for including in the silverlight plug-in unit Depending on the video data encoder of networking monitoring video;
Decoder module obtains the view networking monitoring for decoding using the com component to the video data encoder The video data of video;
Playing module joins for playing the view using the play control for including in the silverlight plug-in unit The video data of net monitor video.
In an optional implementation, the com component includes at least coding control and decoding control;
Second loading module is specifically used for: locally loading the decoding control for including in the com component.
In an optional implementation, the decoder module is specifically used for: using the institute for including in the com component Decoding control is stated the video data encoder is decoded to obtain the video data of the view networking monitoring video.
In an optional implementation, the first acquisition module includes:
Acquiring unit, for obtaining the local pre-stored silverlight plug-in unit;
Alternatively,
Download unit, for downloading the silverlight plug-in unit from cloud.
The third aspect, the embodiment of the present invention show a kind of electronic equipment, including memory, processor and are stored in storage On device and the computer program that can run on a processor, the processor are realized as described in relation to the first aspect when executing described program Based on view networking video broadcasting method the step of.
Fourth aspect, the embodiment of the present invention show a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, when the computer program is executed by processor realize as described in relation to the first aspect based on view The step of video broadcasting method of networking.
The embodiment of the present invention includes following advantages:
The video data encoder of view networking monitoring video is obtained using silverlight plug-in unit, and using com component to view Frequency coded data decodes to obtain the video data of view networking monitoring video, and plays view networking using silverlight plug-in unit The video data of monitor video, so that viewing view networking prison in any browser that user can include in any operating system Video is controlled, and user is made only to need to wait the short period just after input is played depending on the playing request of networking monitoring video It can be seen that the view networking monitoring video played, to improve user experience.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of video broadcasting method embodiment based on view networking of the invention;
Fig. 6 is a kind of structural block diagram of video play device embodiment based on view networking of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication It is all incorporated into an operating system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, passes through electricity Depending on or computer realize high-definition quality video play.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information for including in server instruction is mapped to specific hard disk control, 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 is optimal The sector distribution of change greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the internet ad eundem IP 20%, but the concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment for including in networking, interchanger (including Ethernet gateway), terminal (including various set-top boxes, encoding board, memory etc.).Metropolitan Area Network (MAN) can be divided on the whole depending on networking (or national net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of the core concepts of the embodiments of the present invention is proposed, silverlight is used Plug-in unit obtains the video data encoder of view networking monitoring video, and decodes to obtain view connection to video data encoder using com component The video data of net monitor video, and the video data for regarding networking monitoring video is played using silverlight plug-in unit, so that Viewing view networking monitoring video in any browser that user can include in any operating system, and make user defeated Enter broadcasting depending on only needing to wait the short period just it can be seen that the view networking played is supervised after the playing request of networking monitoring video Video is controlled, to improve user experience.
Referring to Fig. 5, a kind of step flow chart of video broadcasting method embodiment based on view networking of the invention is shown, This method is applied to view networked terminals etc., and this method can specifically include following steps:
In step s101, when receive input on a web browser for plays regard networking monitoring video playing request When, obtain silverlight plug-in unit, include at least in silverlight plug-in unit Transport Controls, coding control, decoding control and Play control;
In embodiments of the present invention, user may sometimes need during using browser on regarding networked terminals Viewing view networking monitoring video on a web browser, if user needs to watch view networking monitoring video, user on a web browser Input is for playing the playing request of view networking monitoring video on it may browse through device;When receiving user clear depending on networked terminals When the playing request of device of looking at input, can determine locally whether be previously stored with silverlight plug-in unit first, if local It is previously stored with silverlight plug-in unit, then directly executes step S102, if local be not previously stored with silverlight Plug-in unit then can download silverlight plug-in unit from cloud, then execute step S102.
In step s 102, the play control and Transport Controls for including in locally load silverlight plug-in unit, simultaneously It obtains local pre-stored com component and is locally loading com component;
In step s 103, view networking monitoring video is obtained using the Transport Controls for including in silverlight plug-in unit Video data encoder;
In embodiments of the present invention, the Transport Controls in silverlight plug-in unit can be used depending on networked terminals to join to view Network server sends video acquisition request, and video acquisition request carries the video identifier of view networking monitoring video, takes depending on networking Business device receives video acquisition request, the video identifier from extracting in video acquisition request, and is obtained according to the video identifier The video data of view networking monitoring video is taken, in order to save view networked server and regard the Internet resources between networked terminals, depending on Networked server often to the video data encoding of view networking monitoring video, obtains the Video coding number of view networking monitoring video According to then to the video data encoder of view networked terminals transmission view networking monitoring video.Correspondingly, it is being received depending on networked terminals After video data encoder depending on networking monitoring video, needs to decode the video data encoder depending on networking monitoring video and regarded The video data of networking monitoring video, then plays the video data of view networking monitoring video, so realizes and plays view networking prison Control video.
In step S104, video data encoder is decoded using com component to obtain the video counts of view networking monitoring video According to;
It wherein, include that the decoding control in com component can be used to view in this step in decoding control in com component Frequency coded data decodes to obtain the video data of view networking monitoring video.
In step s105, view networking monitoring video is played using the play control for including in silverlight plug-in unit Video data.
In embodiments of the present invention, when receive input on a web browser for plays regard networking monitoring video broadcasting When request, silverlight plug-in unit is obtained, Transport Controls, coding control, decoding control are included at least in silverlight plug-in unit Part and play control;The play control and Transport Controls for including in locally load silverlight plug-in unit, while obtaining local Pre-stored com component and com component is locally being loaded, coding control and decoding control are included at least in com component;Make The video data encoder of view networking monitoring video is obtained with the Transport Controls for including in silverlight plug-in unit;Use com component Video data encoder is decoded to obtain the video data of view networking monitoring video;It is broadcast using include in silverlight plug-in unit Put the video data that control plays view networking monitoring video.
Wherein, silverlight plug-in unit can be also used in other browsers in addition to can be applied in IE browser, It especially can be applied to not using IE kernel as in the browser of kernel, so that silverlight plug-in unit is in addition to that can use In in Windows operating system, it can also be applied in other operating systems, such as android operating system, IOS operation System and linux operating system etc..
Therefore, method through the embodiment of the present invention, any browser that user can include in any operating system Middle viewing regards networking monitoring video, and the operating system avoided the occurrence of in equipment used by a user is not Windows operating system Or the browser installed in equipment used by a user can not watch view networking monitoring video not user when being IE browser The case where, to improve user experience.
Wherein, when the control for including in loading silverlight plug-in unit, silverlight plug-in unit can only successively be loaded In include each control, still, it is every load silverlight plug-in unit in a control require expend a period of time, When the control for including in silverlight plug-in unit is more, each control for including in silverlight plug-in unit is successively loaded It needs to consume a longer time.For example, successively loading the Transport Controls for including in silverlight plug-in unit, coding control, decoding control The controls such as part and play control needs consume a longer time, due to being finished load operation to silverlight plug-in unit Afterwards, the control loaded in silverlight plug-in unit could be used, therefore will lead to and got depending on networked terminals After silverlight plug-in unit, need that the long period is waited the Transport Controls for including in silverlight plug-in unit could to be used to obtain The video data encoder of view networking monitoring video is taken, and video is compiled using the decoding control for including in silverlight plug-in unit Code data decode to obtain the video data of view networking monitoring video, and use the broadcasting control for including in silverlight plug-in unit Part plays the video data of view networking monitoring video.It can so make user when needing to wait longer after inputting playing request Between can just see the view networking monitoring video of broadcasting, cause user experience lower.
Therefore, in order to improve user experience, in embodiments of the present invention, in step s 102, in local load When silverlight plug-in unit, the play control for including in silverlight plug-in unit and transmission control can be only loaded depending on networked terminals Part, and other controls in addition to play control and Transport Controls for including in silverlight plug-in unit are not loaded with, for example, not The controls such as the coding control and decoding control that include in load silverlight plug-in unit.
Secondly, while locally loading the play control for including in silverlight plug-in unit and Transport Controls, depending on networking Terminal can also obtain local pre-stored com component, and locally load com component, include at least coding in com component Control and decoding control.
In embodiments of the present invention, when the play control and Transport Controls for including in loaded silverlight plug-in unit When, it has just been finished to silverlight plug-in unit and has loaded operation, silverlight plug-in unit can be used depending on networked terminals In include Transport Controls obtain view networking monitoring video video data encoder.
When loaded com component, com component can be used to the view networking monitoring video of acquisition depending on networked terminals Video data encoder decode to obtain the video data of view networking monitoring video, then using including in silverlight plug-in unit Play control play view networking monitoring video video data.
In embodiments of the present invention, it when loading silverlight plug-in unit, can only load in silverlight plug-in unit Including play control and Transport Controls, and load mounted com component simultaneously, coding control included at least in com component With decoding control.
Therefore, the embodiment of the present invention is will to load the Transport Controls for including and play control in silverlight plug-in unit Process and the process for loading com component carry out simultaneously, are equivalent to loaded in parallel, therefore, load and wrap in silverlight plug-in unit The time expended needed for time needed for the Transport Controls and play control that include and load com component is shorter.
And if by the play control for including in silverlight plug-in unit, Transport Controls, coding control and decoding control It successively loads sequentially in time, is equivalent to serial load, load the play control for including in silverlight plug-in unit, transmission Control, coding control and decoding control needs consume a longer time.
So include in the embodiment of the present invention depending on networked terminals after getting silverlight plug-in unit, it is only necessary to Wait the short period that can get the video data encoder of view networking monitoring video, and to the video of view networking monitoring video Coded data decodes to obtain the video data of networking monitoring video and using the play control for including in silverlight plug-in unit Play the video data of networking monitoring video.So that user only needs to wait the short period just after inputting playing request It can be seen that the video data of the view networking monitoring video played, to improve user experience.
In the aforementioned embodiment, in com component include at least coding control and decoding control, using com component to view When frequency coded data decodes, it is often made with the decoding control for including in com component and video data encoder is decoded, and usually not It will use other controls for including in com component, for example, not will use the coding control for including in com component.
However, in the aforementioned embodiment, when locally loading com component, often successively loading COM group depending on networked terminals Each control for including in part, and each control for including in loaded com component and then use com component In include decoding control to video data encoder decode.
However, successively loading in COM includes that the controls needs such as coding control and decoding control consume a longer time, cause to regard Networked terminals need to wait the long period that com component could be used to decode to obtain view networking monitoring after getting com component The video data encoder of video.So that user needs to wait the long period that can just see broadcasting after inputting playing request View networking monitoring video, cause user experience lower.
Therefore, in order to further improve user experience, in an alternative embodiment of the invention, com component is locally being loaded When, the decoding control for including in com component can be only loaded depending on networked terminals, and be not loaded with include in com component except decoding Other controls other than control, for example, being not loaded with the controls such as the coding control for including in com component.
When the decoding control for including in loaded com component, depending on networked terminals can use com component in include Decoding control to view networking monitoring video video data encoder decode, obtain view networking monitoring video video data, so The video data of view networking monitoring video is played using the play control for including in silverlight plug-in unit afterwards.
Compared to previous embodiment, the embodiment of the present invention can save locally load com component in include except decoding The time of other controls other than control, so that user only needs to wait the shorter time just after inputting playing request It can be seen that the view networking monitoring video played, so as to further improve user experience.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 6, a kind of structural block diagram of video play device embodiment based on view networking of the invention is shown, it should Device includes:
First obtains module 11, for when receive input on a web browser for playing broadcasting depending on networking monitoring video When putting request, obtain silverlight plug-in unit, include at least in the silverlight plug-in unit Transport Controls, coding control, Decode control and play control;
First loading module 12, for locally loading the play control for including in the silverlight plug-in unit With the Transport Controls;
Second obtains module 13, for locally loading the play control for including in the silverlight plug-in unit With the local pre-stored com component of acquisition while the Transport Controls;
Second loading module 14, for locally loading the com component;
Third obtains module 15, for obtaining institute using the Transport Controls for including in the silverlight plug-in unit State the video data encoder of view networking monitoring video;
Decoder module 16 obtains the view networking prison for decoding using the com component to the video data encoder Control the video data of video;
Playing module 17, for playing the view using the play control for including in the silverlight plug-in unit The video data of networking monitoring video.
In an optional implementation, the com component includes at least coding control and decoding control;
Second loading module 14 is specifically used for: locally loading the decoding control for including in the com component.
In an optional implementation, the decoder module 16 is specifically used for: using including in the com component The decoding control decodes the video data encoder to obtain the video data of the view networking monitoring video.
In an optional implementation, the first acquisition module 11 includes:
Acquiring unit, for obtaining the local pre-stored silverlight plug-in unit;
Alternatively,
Download unit, for downloading the silverlight plug-in unit from cloud.
In embodiments of the present invention, the video data encoder of view networking monitoring video is obtained using silverlight plug-in unit, And video data encoder is decoded using com component to obtain the video data of view networking monitoring video, and use Silverlight plug-in unit plays the video data of view networking monitoring video, so that user can include in any operating system Any browser in viewing view networking monitoring video, and user is played in input and is asked depending on the broadcasting of networking monitoring video Only need after asking to wait the short period just it can be seen that the view networking monitoring video played, to improve user experience.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
It include that various embodiments are described in a progressive manner in this specification, each embodiment stresses It is the difference from other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (operating system) and computer The flowchart and/or the block diagram of program product describes.It should be understood that flow chart and/or side can be realized by computer program instructions The knot of the process and/or box that include in each flow and/or block and flowchart and/or the block diagram for including in block diagram It closes.These computer program instructions be can provide to general purpose computer, special purpose computer, Embedded Processor or other programmable numbers According to the processor of processing terminal equipment to generate a machine, so that being set by computer or other programmable data processing terminals The instruction that standby processor executes generates for realizing in one box of one or more flows of the flowchart and/or block diagram Or the device for the function of being specified in multiple boxes.
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 be stored in the computer readable memory including instruction produce Raw includes the manufacture of command device, which realizes in one or more flows of the flowchart and/or block diagram one The function of being specified in a box or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of video broadcasting method, device, electronic equipment and storage based on view networking provided by the present invention Medium is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, with The explanation of upper embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general of this field Technical staff, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion The contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of video broadcasting method based on view networking, which is characterized in that the described method includes:
When receiving the playing request for being used to play view networking monitoring video inputted on a web browser, obtain Silverlight plug-in unit includes at least Transport Controls, coding control, decoding control and broadcasting in the silverlight plug-in unit Control;
The play control for including in the silverlight plug-in unit and the Transport Controls are locally being loaded, are being obtained simultaneously Local pre-stored com component, and, locally loading the com component;
It is compiled using the video that the Transport Controls for including in the silverlight plug-in unit obtain the view networking monitoring video Code data;
The video data encoder is decoded using the com component to obtain the video data of the view networking monitoring video;
The video counts of the view networking monitoring video are played using the play control for including in the silverlight plug-in unit According to.
2. the method according to claim 1, wherein the com component includes at least coding control and decoding control Part;
It is described locally to load the com component, comprising:
Locally loading the decoding control for including in the com component.
3. according to the method described in claim 2, it is characterized in that, described use the com component to the Video coding number The video data of the view networking monitoring video is obtained according to decoding, comprising:
The video data encoder is decoded using the decoding control for including in the com component to obtain the view networking prison Control the video data of video.
4. the method according to claim 1, wherein the acquisition silverlight plug-in unit, comprising:
Obtain the local pre-stored silverlight plug-in unit;
Alternatively,
The silverlight plug-in unit is downloaded from cloud.
5. a kind of video play device based on view networking, which is characterized in that described device includes:
First obtains module, for working as the playing request for being used to play view networking monitoring video for receiving and inputting on a web browser When, silverlight plug-in unit is obtained, Transport Controls, coding control, decoding control are included at least in the silverlight plug-in unit Part and play control;
First loading module, for locally loading the play control for including in the silverlight plug-in unit and described Transport Controls;
Second obtains module, for locally loading the play control for including in the silverlight plug-in unit and described Local pre-stored com component is obtained while Transport Controls;
Second loading module, for locally loading the com component;
Third obtains module, joins for obtaining the view using the Transport Controls for including in the silverlight plug-in unit The video data encoder of net monitor video;
Decoder module obtains the view networking monitoring video for decoding using the com component to the video data encoder Video data;
Playing module, for playing the view networking prison using the play control for including in the silverlight plug-in unit Control the video data of video.
6. device according to claim 5, which is characterized in that the com component includes at least coding control and decoding control Part;
Second loading module is specifically used for: locally loading the decoding control for including in the com component.
7. device according to claim 6, which is characterized in that the decoder module is specifically used for: using the com component In include the decoding control decode to obtain the video data of the view networking monitoring video to the video data encoder.
8. device according to claim 5, which is characterized in that described first, which obtains module, includes:
Acquiring unit, for obtaining the local pre-stored silverlight plug-in unit;
Alternatively,
Download unit, for downloading the silverlight plug-in unit from cloud.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor realizes base according to any one of claims 1 to 4 when executing described program In the step of regarding the video broadcasting method of networking.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program is realized according to any one of claims 1 to 4 when the computer program is executed by processor based on view networking The step of video broadcasting method.
CN201711485382.1A 2017-12-29 2017-12-29 Video broadcasting method, device, electronic equipment and storage medium based on view networking Active CN108966018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711485382.1A CN108966018B (en) 2017-12-29 2017-12-29 Video broadcasting method, device, electronic equipment and storage medium based on view networking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711485382.1A CN108966018B (en) 2017-12-29 2017-12-29 Video broadcasting method, device, electronic equipment and storage medium based on view networking

Publications (2)

Publication Number Publication Date
CN108966018A CN108966018A (en) 2018-12-07
CN108966018B true CN108966018B (en) 2019-11-12

Family

ID=64495398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711485382.1A Active CN108966018B (en) 2017-12-29 2017-12-29 Video broadcasting method, device, electronic equipment and storage medium based on view networking

Country Status (1)

Country Link
CN (1) CN108966018B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110062195A (en) * 2019-04-19 2019-07-26 视联动力信息技术股份有限公司 A kind of video conference cut-in method and system
CN111552524B (en) * 2020-05-06 2023-10-13 Oppo(重庆)智能科技有限公司 Plug-in loading method and device and computer readable storage medium
CN114501149A (en) * 2022-02-10 2022-05-13 天脉拓道(北京)科技有限公司 Method, device and equipment for decoding audio/video file and readable medium
CN114598920B (en) * 2022-03-04 2023-05-23 北京百度网讯科技有限公司 Video playing control method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101740082A (en) * 2009-11-30 2010-06-16 孟智平 Method and system for clipping video based on browser
US8745484B2 (en) * 2011-04-14 2014-06-03 Limelight Networks, Inc. Advanced embed code
CN105451101A (en) * 2014-08-13 2016-03-30 北京金山安全软件有限公司 Video playing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101740082A (en) * 2009-11-30 2010-06-16 孟智平 Method and system for clipping video based on browser
US8745484B2 (en) * 2011-04-14 2014-06-03 Limelight Networks, Inc. Advanced embed code
CN105451101A (en) * 2014-08-13 2016-03-30 北京金山安全软件有限公司 Video playing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Sivlerlight的RIA媒体播放和下载引擎的设计与实现;李志杰;《中国优秀硕士学位论文全文数据库》;20120715;全文 *

Also Published As

Publication number Publication date
CN108966018A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108243173B (en) A kind of RTMP video pushing method and device based on view networking
CN108173803B (en) A kind of networked by view accesses the method and view connection cat server-side of internet
CN110233984A (en) A kind of monitoring system and method based on view networking
CN108966018B (en) Video broadcasting method, device, electronic equipment and storage medium based on view networking
CN108063745B (en) A kind of video call method and its system based on Android device
CN108880926A (en) A kind of method and apparatus of server monitoring
CN108965040A (en) A kind of business monitoring method and device of view networking
CN108880851A (en) A kind of method and interactive system that configuration updates
CN108307212B (en) A kind of file order method and device
CN108243343B (en) A kind of point distribution statistical method and its server based on view networking
CN110190973A (en) A kind of presence detection method and device
CN108965226A (en) A kind of data capture method and device based on view networking
CN110417877A (en) A kind of processing method and processing device of audio-video business
CN109743536A (en) A kind of method and apparatus of video data access
CN110049346A (en) A kind of method and system of net cast
CN110062195A (en) A kind of video conference cut-in method and system
CN109191808A (en) A kind of alarm method and system based on view networking
CN110166833A (en) A kind of video stream transcoding method and device
CN110048903A (en) A kind of association turns gateway status monitoring method and device
CN109729184A (en) A kind of method and apparatus of view networking service processing
CN110536178A (en) A kind of live-broadcast control method and system
CN108966003A (en) A kind of method and apparatus of TV data processing
CN110445761A (en) A kind of video drawing stream method and device
CN110149497A (en) A kind of view networked data transmission method, apparatus, system and readable storage medium storing program for executing
CN107920098B (en) A kind of method and system that web player icon is shown

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
CB02 Change of applicant information

Address after: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Applicant after: Video Link Power Information Technology Co., Ltd.

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Applicant before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201230

Address after: 571924 building C07, Zone C, Hainan Ecological Software Park, hi tech Industrial Demonstration Zone, old town, Haikou City, Hainan Province

Patentee after: Hainan Shilian Communication Technology Co.,Ltd.

Address before: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right