CN109743285A - A kind of method and system obtaining PCTV resource - Google Patents

A kind of method and system obtaining PCTV resource Download PDF

Info

Publication number
CN109743285A
CN109743285A CN201811436583.7A CN201811436583A CN109743285A CN 109743285 A CN109743285 A CN 109743285A CN 201811436583 A CN201811436583 A CN 201811436583A CN 109743285 A CN109743285 A CN 109743285A
Authority
CN
China
Prior art keywords
resource
pctv
streaming media
media server
monitoring management
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.)
Pending
Application number
CN201811436583.7A
Other languages
Chinese (zh)
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 CN201811436583.7A priority Critical patent/CN109743285A/en
Publication of CN109743285A publication Critical patent/CN109743285A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a kind of method and systems for obtaining PCTV resource, the described method includes: monitoring management platform exchanges both sides' MAC Address with streaming media server first, then according to monitoring management platform to the demand signalling of the first PCTV resource, the streaming media server is according to the first view networking protocol, the data packet of the first PCTV resource is sent to the first MAC Address of the monitoring management platform, finally, the monitoring management platform receives and stores the first PCTV resource.The embodiment of the present invention can be broken through the limitation of view networking 8F85 protocol data packet size, so that more PCTV resource datas once can be transmitted, and then monitoring management platform be enable to get complete user information data using the first view networking protocol;And because the first data volume carried depending on networking protocol data packet becomes larger, to improve network utilization and transmission rate.

Description

A kind of method and system obtaining PCTV resource
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of method and apparatus for obtaining PCTV resource.
Background technique
In view networking, view networking 8F85 agreement transmission data are widely used.Depending on networking 8F85 agreement to transmitting every time Data length has stringent limitation, i.e., can only at most transmit 52 bytes every time.Currently, monitoring management platform is obtaining PCTV resource When, if PCTV resource data amount is excessive, a large amount of small data packets can be generated using depending on networking 8F85 agreement, network is caused to utilize Rate is lower, and the time used is longer, can not meet the rate requirement of client;And because each biography is limited depending on networking 8F85 agreement Defeated data length will result in the PCTV resource that monitoring management platform is got in this way and lack some information, so that can not be Webpage front-end shows correct catalogue.
In order to solve above-mentioned these problems, monitoring management platform needs to go to obtain using a kind of more efficient flexible method PCTV resource, to guarantee that the PCTV resource got is all authentic and valid.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of method and system of the acquisition PCTV resource to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of method for obtaining PCTV resource, the method is answered For regarding in networking, the view networking includes monitoring management platform, streaming media server, and the streaming media server is stored with PCTV resource, which comprises
The monitoring management platform sends view networking address request to the streaming media server, takes in the Address requests The first MAC Address with the monitoring management platform;
The streaming media server sends address response to the monitoring management platform, in the address response described in carrying Second MAC Address of streaming media server;
The monitoring management platform sends the demand signalling for obtaining the first PCTV resource to the streaming media server, In, the data volume of the first PCTV resource is greater than given threshold;
The streaming media server is according to the first view networking protocol, the first MAC Address hair of Xiang Suoshu monitoring management platform Send the data packet of the first PCTV resource;
The monitoring management platform receives and stores the first PCTV resource.
Preferably, the streaming media server is according to the first view networking protocol, the first MAC of Xiang Suoshu monitoring management platform Address sends the data packet of the first PCTV resource, comprising:
The first PCTV resource is divided into the data packet of multiple compressions by the streaming media server, and is each data packet Add packet header;Wherein, in the packet header, mark transmits the data packet, and the Bao Toubao using the first view networking protocol Include the serial number of first MAC Address, second MAC Address and the data packet;
The streaming media server is according to the first view networking protocol, the first MAC Address hair of Xiang Suoshu monitoring management platform Send several data packets of the first PCTV resource.
Preferably, the streaming media server according to first view networking protocol, the first of Xiang Suoshu monitoring management platform MAC Address is sent after the data packet of the first PCTV resource, further includes:
When the monitoring management platform receives the data packet, Xiang Suoshu streaming media server sends response signaling;
For the streaming media server after receiving the response signaling, Xiang Suoshu monitoring management platform sends next sequence Number data packet.
Preferably, the method also includes:
The monitoring management platform sends the demand signalling for obtaining the 2nd PCTV resource to the streaming media server;Its In, the first view networked terminals number of the monitoring management platform, the number of the 2nd PCTV resource are carried in the demand signalling It is less than given threshold according to amount;
The streaming media server regards networked terminals number and sends described second according to the second view networking protocol, Xiang Suoshu first The data packet of PCTV resource;
The monitoring management platform receives and stores the 2nd PCTV resource.
Preferably, the streaming media server regards networked terminals number according to the second view networking protocol, Xiang Suoshu first Send the data packet of the 2nd PCTV resource, comprising:
The streaming media server wraps the 2nd PCTV Resource Encapsulation at data packet, and for data packet addition Head;In the packet header, mark transmits the data packet using the second view networking protocol, and the packet header includes first view Second view networked terminals number of networked terminals number, the streaming media server;
According to the second view networking protocol, the streaming media server depending on networked terminals number to connecting with described first The data packet of the 2nd PCTV resource is sent depending on networking switches;
It is described to inquire the corresponding MAC Address of the first view networked terminals number in the packet header depending on networking switches, And first in the packet header is replaced with depending on networked terminals number by the corresponding MAC Address according to query result;Wherein, described Corresponding MAC Address is the first MAC Address of the monitoring management platform;
It is described that the data packet of the 2nd PCTV resource is sent to the of the monitoring management platform depending on networking switches One MAC Address.
A kind of system for obtaining PCTV resource is also disclosed in the embodiment of the present invention, and the system is applied in view networking, described System includes monitoring management platform, streaming media server, and the streaming media server is stored with PCTV resource, wherein the system System includes:
Address requests module sends view networking address request, institute to the streaming media server for monitoring management platform State the first MAC Address that the monitoring management platform is carried in Address requests;
Address response module sends address response, the address to the monitoring management platform for streaming media server The second MAC Address of the streaming media server is carried in response;
First resource request module sends to the streaming media server for monitoring management platform and obtains the first PCTV money The demand signalling in source, wherein the data volume of the first PCTV resource is greater than given threshold;
First resource respond module, for streaming media server according to the first view networking protocol, Xiang Suoshu monitoring pipe is patted First MAC Address of platform sends the data packet of the first PCTV resource;
First resource receiving module receives and stores the first PCTV resource for the monitoring management platform.
Preferably, the first resource respond module includes:
The first PCTV resource is divided into multiple pressures for the streaming media server by the first packet encapsulation submodule The data packet of contracting, and packet header is added for each data packet;Wherein, in the packet header, mark is passed using the first view networking protocol The defeated data packet, and the packet header includes the serial number of first MAC Address, second MAC Address and the data packet;
First resource responds submodule, for the streaming media server according to the first view networking protocol, to the monitoring First MAC Address of management platform sends several data packets of the first PCTV resource.
Preferably, the system also includes:
Respond module is received, for when the monitoring management platform receives the data packet, Xiang Suoshu Streaming Media to be taken Business device sends response signaling;
Packet sending module, for the streaming media server after receiving the response signaling, to the monitoring Manage the data packet that platform sends Next Sequence.
Preferably, the system also includes:
Secondary resource request module sends to the streaming media server for the monitoring management platform and obtains second The demand signalling of PCTV resource;Wherein, the first view networked terminals number of the monitoring management platform are carried in the demand signalling, The data volume of the 2nd PCTV resource is less than given threshold;
Secondary resource respond module, for the streaming media server according to the second view networking protocol, Xiang Suoshu first is regarded Networked terminals number send the data packet of the 2nd PCTV resource;
Secondary resource receiving module receives and stores the 2nd PCTV resource for the monitoring management platform.
Preferably, the Secondary resource respond module includes:
Second packet encapsulation submodule, for the streaming media server by the 2nd PCTV Resource Encapsulation at data Packet, and packet header is added for the data packet;In the packet header, mark transmits the data packet using the second view networking protocol, And the packet header includes the second view networked terminals number of the first view networked terminals number, the streaming media server;
First sending submodule, for according to the second view networking protocol, the streaming media server is to described the One data packet that the 2nd PCTV resource is sent depending on networking switches connected depending on networked terminals number;
MAC Address replaces submodule, joins for described depending on the first view that networking switches are inquired in the packet header The corresponding MAC Address of network termination number, and according to query result replaced with first in the packet header depending on networked terminals number described Corresponding MAC Address;Wherein, the corresponding MAC Address is the first MAC Address of the monitoring management platform;
The data packet of the 2nd PCTV resource is sent to institute depending on networking switches for described by the second sending submodule State the first MAC Address of monitoring management platform.
The embodiment of the present invention includes following advantages:
The characteristic of application view networking of the embodiment of the present invention, monitoring management platform exchange both sides with streaming media server first MAC Address, then according to monitoring management platform to the demand signalling of the first PCTV resource, the streaming media server is according to first Depending on networking protocol, the first MAC Address of Xiang Suoshu monitoring management platform sends the data packet of the first PCTV resource, finally, The monitoring management platform receives and stores the first PCTV resource.The embodiment of the present invention uses the first view networking protocol, energy Enough limitations for breaking through view networking 8F85 protocol data packet size, so that more PCTV resource datas once can be transmitted, and then make Monitoring management platform can get complete user information data;And because of the number that the first view networking protocol data packet carries Become larger according to amount, to improve network utilization and transmission rate.
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 the method for acquisition PCTV resource of the invention;
Fig. 6 is the step flow chart of another method for obtaining PCTV resource of the invention;
Fig. 7 is a kind of data flow diagram of the method for acquisition PCTV resource of the invention;
Fig. 8 is a kind of structural block diagram of the system of acquisition PCTV resource 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 All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking 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 frametype, 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, it then follows regard the association of networking View sends view networking address request from monitoring management platform to streaming media server, and the streaming media server sends address and rings It answers, both sides obtain communication channel by exchange address, finally allow streaming media server by the MAC of monitoring management platform Location sends PCTV resource to monitoring management platform.
Referring to Fig. 5, a kind of step flow chart of the embodiment of the method for acquisition PCTV resource of the invention, this method are shown It can be applied in view networking, the view networking includes monitoring management platform, streaming media server, and the streaming media server is deposited Contain PCTV resource.
In embodiments of the present invention, the monitoring management platform also known as MServer are responsible for all accesses in entire view networking Monitoring device unified management and other third party's monitoring systems docking service.
Streaming media server is to be acquired, cache, dispatch and transmit the service played depending on streaming media content in networking Device is the Key Platform for providing a user Video service.
PCTV is exactly telecomputer, the playing function of its existing TV, and has some functions possessed by computer, such as Communication receives the functions such as various information, word processing, management from network.The PCTV resource can be understood as PCTV user Information, as the organization of account, title, contact method, the business description being responsible for, presence etc. and PCTV believe Breath, such as organization's coding, organization's title.
Monitoring management platform needs periodically or non-periodically to manage the registration information and online behavior etc. of PCTV user Ground obtains the information of PCTV user, i.e. PCTV resource from streaming media server.The information content that PCTV resource generally comprises compares Greatly, using the 8F85 agreement transmission PCTV resource depending on networking traditional, there are many disadvantages.Firstly, because 8F85 agreement itself positions In quick, high-speed transfer, so needing to limit the data length transmitted every time, i.e., 52 bytes, Cai Nengbao can only be at most transmitted Demonstrate,prove transmission speed.When such agreement is used for transmission data volume big PCTV resource, in order to which the data packet for meeting 8F85 agreement is big Small limitation, PCTV resource can be split into a large amount of small data packets, and it is very low to will lead to network utilization in this way, transmit complete A PCTV resource, the time of required cost also can be long, reduce working efficiency;Secondly because 8F85 agreement regulation is each 52 bytes can only be transmitted, and the size of a complete user information has been over 52 bytes, so that monitoring pipe In the user information that the small data packets for the PCTV resource that platform is got every time include, lack the important informations such as organization, It is not a complete user information, so as to cause correct user information catalogue can not be shown in webpage front-end.
In view of this, a kind of method that the embodiment of the present invention proposes completely new acquisition PCTV resource, to solve above-mentioned use Depending on defect existing for networking 8F85 agreement transmission PCTV resource.As shown in figure 5, the method can specifically include following steps:
Step 501, the monitoring management platform sends view networking address request, the address to the streaming media server The first MAC Address of the monitoring management platform is carried in request;
It in embodiments of the present invention, is to transmit information by the view networked terminals number of communicating pair depending on networking 8F85 agreement , but as previously described, because PCTV resource data amount is larger, be not suitable for using 8F85 agreement, so acquisition can be passed through at this time The MAC Address of both sides transmits PCTV resource by end-to-end MAC Address.
Specifically, since monitoring management platform needs to obtain PCTV resource from streaming media server, therefore monitoring pipe pats Platform sends Address requests to streaming media server, and the first MAC Address of itself is carried in the Address requests.Because describedly Location demand signalling is short signaling, so the transport protocol used at this time is 8F85 agreement.
Step 502, the streaming media server sends address response to the monitoring management platform, in the address response Carry the second MAC Address of the streaming media server.
In embodiments of the present invention, in response to the Address requests, streaming media server is sent out to the monitoring management platform The second MAC Address of itself is given, in this way, communicating pair just has exchanged the MAC Address of itself, and is established by MAC Address logical Believe link.Because streaming media server has been known for the first MAC Address of monitoring management platform, the address sent at this time The signaling of response can be sent to monitoring management platform by the first MAC Address, can also pass through the terminal of monitoring management platform Number send.
In above-mentioned steps 501 and step 502, monitoring management platform and view networking streaming media server exchange both sides MAC Address, can be networked 8F85 agreement by view.
Step 503, the monitoring management platform sends the request for obtaining the first PCTV resource to the streaming media server Signaling, wherein the data volume of the first PCTV resource is greater than given threshold.
In embodiments of the present invention, after having exchanged the MAC Address of both sides, so that it may transmitting for PCTV resource is carried out, At this point, monitoring management platform is firstly the need of the demand signalling for sending acquisition PCTV resource.According to one data packet packet of 8F85 agreement The byte number 52 contained can classify PCTV resource.It is given threshold with 52, if comprising whole user information The data volume of PCTV resource is greater than 52 bytes, then is referred to as the first PCTV resource, will be comprising whole user information Less than 52 bytes of the data volume of PCTV resource, then be referred to as the 2nd PCTV resource.
Specifically, at this point, in the demand signalling that monitoring management platform is sent to streaming media server, it is desirable that the PCTV of acquisition Resource type is the first PCTV resource.
Step 504, the streaming media server according to first view networking protocol, the first of Xiang Suoshu monitoring management platform MAC Address sends the data packet of the first PCTV resource.
In embodiments of the present invention, because monitoring management platform request is the first PCTV resource, root is needed at this time It goes to transmit the first PCTV resource depending on networking protocol according to depending on networking first.Wherein, the first view networking protocol is to regard connection 8F95 agreement is netted, the core of the agreement is to carry out information transmission using MAC Address, and a data packet of the agreement can transmit 1480 A byte number, in this manner it is possible to solve problem when the first PCTV resource is transmitted by 8F85 agreement.
Preferably, the streaming media server is according to the first view networking protocol, the first MAC of Xiang Suoshu monitoring management platform Address sends the data packet of the first PCTV resource, comprising:
The first PCTV resource is divided into multiple data packets by the streaming media server, and is each data packet addition packet Head;Wherein, in the packet header, mark transmits the data packet using the first view networking protocol, and the packet header includes described The serial number of first MAC Address, second MAC Address and the data packet;
The streaming media server is according to the first view networking protocol, the first MAC Address hair of Xiang Suoshu monitoring management platform Send several data packets of the first PCTV resource.
It in embodiments of the present invention, specifically, can be by the first PCTV Resource Encapsulation depending on networking streaming media server At the data packet of 8F95 agreement, the data packet include 8F95 agreement packet header and compressed data.The 8F95 agreement Specification can be as shown in the table:
As can be seen that including source device view networking MAC (i.e. the second MAC Address) and purpose equipment view in 8F95 protocol specification It networks MAC (i.e. the first MAC Address), also, the also mark service sign in the packet header of data packet, that is, indicates the secondary transmission Needing agreement to be used is 8F95 agreement.In this way, depending on that can pass through between networking streaming media server and monitoring management platform End-to-end MAC Address transmits the first PCTV resource.
It further include packet serial number and total packet number in addition, in the specification of 8F95 agreement, this just facilitates receiving end to receiving PCTV resource data packet recombinated and spliced so that PCTV resource is presented with original sequence, ensure the complete of data transmission Whole property.
Further, since PCTV resource data amount is larger, in order to save network bandwidth, shorten transmission time, depending on networking Streaming media server needs compress the PCTV resource data of transmission.It is embodied in the packet header of 8F95 protocol specification, that is, marks Data effective length after compressing preceding data effective length, compression is infused.For the ease of parsing, while also easy to operate, monitoring management Current widely used JSON formatted data is used between platform and view networking streaming media server.
Preferably, the streaming media server according to first view networking protocol, the first of Xiang Suoshu monitoring management platform MAC Address is sent after the data packet of the first PCTV resource, further includes:
When the monitoring management platform receives the data packet, Xiang Suoshu streaming media server sends response signaling;
For the streaming media server after receiving the response signaling, Xiang Suoshu monitoring management platform sends next sequence Number data packet.
In embodiments of the present invention, in order to ensure each data packet of view networking streaming media server transmission is accurate Monitoring management platform is reached, we need to realize a kind of protection mechanism.The each data packet sent depending on networking streaming media server The current packet serial number of compressed package is all carried, when the data packet that view networking streaming media server is sent reaches monitoring management platform, Monitoring management platform needs to send a response signaling according to former serial number and gives view networking streaming media server, depending on networking Streaming Media clothes The subsequent supervention of response signaling that business device receives monitoring management platform send next data packet.If do not had depending on networking streaming media server There is the response for receiving monitoring management platform, will continue to retransmit this data packet until time-out is (when overtime depending on networking streaming media server Between can preset, such as 30 seconds), time-out after can wait for a period of time (waiting time can also preset, generally several points Clock) subsequent supervention send.
Step 505, the monitoring management platform receives and stores the first PCTV resource.
In embodiments of the present invention, monitoring management platform is decompressed after receiving complete first PCTV resource data packet, And by the data unziped to storage to corresponding database table, the first PCTV resource is then sent to WEB front-end, into And acquired PCTV resource information is shown in WEB front-end.
In conclusion in embodiments of the present invention, monitoring management platform with streaming media server with exchanging both sides MAC first Location, then according to monitoring management platform to the demand signalling of the first PCTV resource, the streaming media server joins according to the first view FidonetFido, the first MAC Address of Xiang Suoshu monitoring management platform sends the data packet of the first PCTV resource, finally, described Monitoring management platform receives and stores the first PCTV resource.The embodiment of the present invention can be dashed forward using the first view networking protocol The limitation of broken view networking 8F85 protocol data packet size, so that more PCTV resource datas once can be transmitted, and then makes to monitor Management platform can get complete user information data;And because of the data volume that the first view networking protocol data packet carries Become larger, to improve network utilization and transmission rate.
In addition, monitoring management platform sends to streaming media server and responds after receiving data packet in transmission process Signaling, signaling determines subsequent behavior of giving out a contract for a project to streaming media server according to response.In this way, ensuring that the reliable biography of data packet It is defeated, it is therefore prevented that packet loss.The embodiment of the present invention also compresses the first PCTV resource data, has been effectively saved Netowrk tape Width reduces network pressure, shortens transmission time.
Referring to Fig. 6, the step flow chart of another embodiment of the method for obtaining PCTV resource of the invention, the party are shown Method can be applied in view networking, and the view networking includes monitoring management platform, streaming media server, the streaming media server It is stored with PCTV resource.
Step 601, the monitoring management platform sends the request for obtaining the 2nd PCTV resource to the streaming media server Signaling;Wherein, the first view networked terminals number of the monitoring management platform, the 2nd PCTV money are carried in the demand signalling The data volume in source is less than given threshold.
In embodiments of the present invention, it because monitoring management platform needs to obtain the 2nd PCTV resource, and is provided in the 2nd PCTV In source, the data volume of the PCTV resource comprising a whole user information is less than given threshold, i.e. 52 bytes, at this point it is possible to The 2nd PCTV resource is transmitted using view networking 8F85 agreement.Specification depending on 8F85 agreement of networking can be as shown in the table:
It only needs to know can communicating depending on networked terminals number for both sides using 8F85 agreement, so, it can be with from above-mentioned specification Find out, does not include MAC Address in the agreement, only contain equipment number, that is, the terminal number of equipment.So monitoring management Platform can only carry the first view networked terminals number of itself, and the request letter for obtaining PCTV resource is sent to streaming media server It enables.
Step 602, the streaming media server regards networked terminals number and sends according to the second view networking protocol, Xiang Suoshu first The data packet of the 2nd PCTV resource.
In embodiments of the present invention, the second view networking protocol is to regard networking 8F85 agreement.The monitoring pipe pats The corresponding first view networked terminals number of platform, the corresponding second view networked terminals number of the streaming media server, the streaming media server The data packet of the 2nd PCTV resource is sent to the first view networked terminals number where the monitoring management platform.
Preferably, the streaming media server regards networked terminals number and sends according to the second view networking protocol, Xiang Suoshu first The data packet of the 2nd PCTV resource, comprising:
The streaming media server wraps the 2nd PCTV Resource Encapsulation at data packet, and for data packet addition Head;In the packet header, mark transmits the data packet using the second view networking protocol, and the packet header includes first view Second view networked terminals number of networked terminals number, the streaming media server;
According to the second view networking protocol, the streaming media server depending on networked terminals number to connecting with described first The data packet of the 2nd PCTV resource is sent depending on networking switches;
It is described to inquire the corresponding MAC Address of the first view networked terminals number in the packet header depending on networking switches, And first in the packet header is replaced with depending on networked terminals number by the corresponding MAC Address according to query result;Wherein, described Corresponding MAC Address is the first MAC Address of the monitoring management platform;
It is described that the data packet of the 2nd PCTV resource is sent to the of the monitoring management platform depending on networking switches One MAC Address.
In embodiments of the present invention, because the 2nd PCTV resource is transmitted using view networking 8F85 agreement, in data packet In packet header, to mark using the second view networking protocol (depending on 8F85 agreement of networking) transmission data packet, and networked according to view The requirement of 8F85 protocol specification only needs in the packet header to include the first view networked terminals number, the streaming media server Second view networked terminals number.
Using 8F85 protocol communication, need to forward data by view networking switches in data transmission procedure.In forwarding, The corresponding MAC Address of the first view networked terminals number in the packet header is inquired depending on networking switches, and is tied according to inquiry First in the packet header is replaced with the corresponding MAC Address depending on networked terminals number by fruit, finally, depending on networking switches by institute The data packet for stating the 2nd PCTV resource is sent to the first MAC Address of the monitoring management platform.
Above-mentioned is the process that data are transmitted by 8F85 agreement, which does not need to obtain the MAC Address of communicating pair, Only it need to know that the terminal number of both sides can communicate.It is suitable for the lesser PCTV resource of transmitted data amount, connection speed is very fast, simply It is convenient.
Step 603, the monitoring management platform receives and stores the 2nd PCTV resource.
In embodiments of the present invention, after monitoring management platform receives complete 2nd PCTV resource data packet, the number is parsed According to wrapping and being stored in corresponding database table, the 2nd PCTV resource is then sent to WEB front-end, Jin Er WEB front-end shows acquired PCTV resource information.
In conclusion in embodiments of the present invention, monitoring management platform with streaming media server with exchanging both sides MAC first Location, then according to monitoring management platform to the demand signalling of the first PCTV resource, the streaming media server joins according to the first view FidonetFido, the first MAC Address of Xiang Suoshu monitoring management platform sends the data packet of the first PCTV resource, finally, described Monitoring management platform receives and stores the first PCTV resource.The embodiment of the present invention can be dashed forward using the first view networking protocol The limitation of broken view networking 8F85 protocol data packet size, so that more PCTV resource datas once can be transmitted, and then makes to monitor Management platform can get complete user information data;And because of the data volume that the first view networking protocol data packet carries Become larger, to improve network utilization and transmission rate.
In addition, PCTV resource lesser for data volume, can choose using the second view networking protocol transmission data, connection Fast speed, it is simple and convenient.According to the data volume of the PCTV resource of acquisition needed for monitoring management platform, flexible choice uses first Depending on networking protocol or the second view networking protocol, it can effectively improve efficiency of transmission, guarantee the integrality of transmission data.
Referring to Fig. 7, the data flow diagram that one of present invention obtains the embodiment of the method for PCTV resource is shown.In Fig. 7 In, the main body for generating data flow includes: streaming media server, monitoring management platform and WEB front-end.Wherein, the WEB front-end is Webpage front-end, for showing the PCTV resource to administrative staff.The data flow that PCTV resource is obtained in Fig. 7 is described in detail below The process turned:
S1, WEB front-end addition streaming media server simultaneously notify monitoring management platform;
S2, monitoring management platform send opposite end view networking address request, carry monitoring management platform in the demand signalling The first MAC Address;
S3, streaming media server send address response after receiving Address requests, carry Streaming Media in the address response Second MAC Address of server;
S4, monitoring management platform send the demand signalling for obtaining the first PCTV resource;
S5, streaming media server send the response signaling for obtaining the first PCTV resource;
Compressed first PCTV resource is divided into 1480 bytes using depending on networking 8F95 agreement by S6, streaming media server Multiple data packets, be successively sent to monitoring management platform;
S7 after monitoring management platform receives the first PCTV resource of streaming media server transmission, sends confirmation signaling;
S8 repeats step S6, step S7 depending on streaming media server and monitoring management platform, until the institute of the first PCTV resource There are data to be sent completely;
S9, monitoring management platform will be saved in database after the data decompression received.
S10, monitoring management platform notify WEB front-end to obtain PCTV resource.
S11, WEB front-end show PCTV the Resources list.
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. 8, a kind of structural block diagram of the system embodiment of acquisition PCTV resource of the invention, the system are shown 800 can be applied in view networking, and the system 800 includes monitoring management platform, streaming media server, the streaming media service Device is stored with PCTV resource, wherein the system 800 includes:
Address requests module 801 sends view networking address request to the streaming media server for monitoring management platform, The first MAC Address of the monitoring management platform is carried in the Address requests;
Address response module 802 sends address response to the monitoring management platform for streaming media server, describedly The second MAC Address of the streaming media server is carried in the response of location;
First resource request module 803 sends to the streaming media server for monitoring management platform and obtains first The demand signalling of PCTV resource, wherein the data volume of the first PCTV resource is greater than given threshold;
First resource respond module 804, for streaming media server according to the first view networking protocol, Xiang Suoshu monitoring management First MAC Address of platform sends the data packet of the first PCTV resource;
First resource receiving module 805 receives and stores the first PCTV resource for the monitoring management platform.
In conclusion in embodiments of the present invention, monitoring management platform with streaming media server with exchanging both sides MAC first Location, then according to monitoring management platform to the demand signalling of the first PCTV resource, the streaming media server joins according to the first view FidonetFido, the first MAC Address of Xiang Suoshu monitoring management platform sends the data packet of the first PCTV resource, finally, described Monitoring management platform receives and stores the first PCTV resource.The embodiment of the present invention can be dashed forward using the first view networking protocol The limitation of broken view networking 8F85 protocol data packet size, so that more PCTV resource datas once can be transmitted, and then makes to monitor Management platform can get complete user information data;And because of the data volume that the first view networking protocol data packet carries Become larger, to improve network utilization and transmission rate.
In one preferred embodiment of the invention, the first resource respond module 804 includes:
The first PCTV resource is divided into multiple pressures for the streaming media server by the first packet encapsulation submodule The data packet of contracting, and packet header is added for each data packet;Wherein, in the packet header, mark is passed using the first view networking protocol The defeated data packet, and the packet header includes the serial number of first MAC Address, second MAC Address and the data packet;
First resource responds submodule, for the streaming media server according to the first view networking protocol, to the monitoring First MAC Address of management platform sends several data packets of the first PCTV resource.
In one preferred embodiment of the invention, the system also includes:
Respond module is received, for when the monitoring management platform receives the data packet, Xiang Suoshu Streaming Media to be taken Business device sends response signaling;
Packet sending module, for the streaming media server after receiving the response signaling, to the monitoring Manage the data packet that platform sends Next Sequence.
In one preferred embodiment of the invention, the system also includes:
Secondary resource request module sends to the streaming media server for the monitoring management platform and obtains second The demand signalling of PCTV resource;Wherein, the first view networked terminals number of the monitoring management platform are carried in the demand signalling, The data volume of the 2nd PCTV resource is less than given threshold;
Secondary resource respond module, for the streaming media server according to the second view networking protocol, Xiang Suoshu first is regarded Networked terminals number send the data packet of the 2nd PCTV resource;
Secondary resource receiving module receives and stores the 2nd PCTV resource for the monitoring management platform.
In one preferred embodiment of the invention, the Secondary resource respond module includes:
Second packet encapsulation submodule, for the streaming media server by the 2nd PCTV Resource Encapsulation at data Packet, and packet header is added for the data packet;In the packet header, mark transmits the data packet using the second view networking protocol, And the packet header includes the second view networked terminals number of the first view networked terminals number, the streaming media server;
First sending submodule, for according to the second view networking protocol, the streaming media server is to described the One data packet that the 2nd PCTV resource is sent depending on networking switches connected depending on networked terminals number;
MAC Address replaces submodule, joins for described depending on the first view that networking switches are inquired in the packet header The corresponding MAC Address of network termination number, and according to query result replaced with first in the packet header depending on networked terminals number described Corresponding MAC Address;Wherein, the corresponding MAC Address is the first MAC Address of the monitoring management platform;
The data packet of the 2nd PCTV resource is sent to institute depending on networking switches for described by the second sending submodule State the first MAC Address of monitoring management platform.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to it is provided by the present invention it is a kind of obtain PCTV resource method and it is a kind of obtain PCTV resource device, into It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as limiting the invention.

Claims (10)

1. a kind of method for obtaining PCTV resource, which is characterized in that the method is applied in view networking, described to include depending on networking Monitoring management platform, streaming media server, the streaming media server are stored with PCTV resource, which comprises
The monitoring management platform sends view networking address request to the streaming media server, carries institute in the Address requests State the first MAC Address of monitoring management platform;
The streaming media server sends address response to the monitoring management platform, carries the stream matchmaker in the address response Second MAC Address of body server;
The monitoring management platform sends the demand signalling for obtaining the first PCTV resource to the streaming media server, wherein institute The data volume for stating the first PCTV resource is greater than given threshold;
The streaming media server sends institute according to the first view networking protocol, the first MAC Address of Xiang Suoshu monitoring management platform State the data packet of the first PCTV resource;
The monitoring management platform receives and stores the first PCTV resource.
2. the method according to claim 1, wherein the streaming media server according to first view networking protocol, The data packet of the first PCTV resource is sent to the first MAC Address of the monitoring management platform, comprising:
The first PCTV resource is divided into the data packet of multiple compressions by the streaming media server, and is added for each data packet Packet header;Wherein, in the packet header, mark transmits the data packet using the first view networking protocol, and the packet header includes institute State the serial number of the first MAC Address, second MAC Address and the data packet;
The streaming media server sends institute according to the first view networking protocol, the first MAC Address of Xiang Suoshu monitoring management platform State several data packets of the first PCTV resource.
3. according to right want 2 described in method, which is characterized in that the streaming media server according to first view networking protocol, After the data packet for sending the first PCTV resource to the first MAC Address of the monitoring management platform, further includes:
When the monitoring management platform receives the data packet, Xiang Suoshu streaming media server sends response signaling;
For the streaming media server after receiving the response signaling, Xiang Suoshu monitoring management platform sends Next Sequence Data packet.
4. the method according to claim 1, wherein the method also includes:
The monitoring management platform sends the demand signalling for obtaining the 2nd PCTV resource to the streaming media server;Wherein, institute The first view networked terminals number that the monitoring management platform is carried in demand signalling are stated, the data volume of the 2nd PCTV resource is small In given threshold;
The streaming media server regards networked terminals number and sends the 2nd PCTV according to the second view networking protocol, Xiang Suoshu first The data packet of resource;
The monitoring management platform receives and stores the 2nd PCTV resource.
5. according to the method described in claim 4, it is characterized in that, the streaming media server is according to the second view networking association View, Xiang Suoshu first regard the data packet that networked terminals number send the 2nd PCTV resource, comprising:
The 2nd PCTV Resource Encapsulation is added packet header at data packet, and for the data packet by the streaming media server;? In the packet header, mark transmits the data packet using the second view networking protocol, and the packet header includes the first view networking Second view networked terminals number of terminal number, the streaming media server;
According to the second view networking protocol, the streaming media server joins to described first depending on the view that networked terminals number are connect Network switch sends the data packet of the 2nd PCTV resource;
It is described to inquire the corresponding MAC Address of the first view networked terminals number in the packet header, and root depending on networking switches First in the packet header is replaced with into the corresponding MAC Address depending on networked terminals number according to query result;Wherein, the correspondence MAC Address be the monitoring management platform the first MAC Address;
The first MAC that the data packet of the 2nd PCTV resource is sent to the monitoring management platform depending on networking switches Address.
6. a kind of system for obtaining PCTV resource, which is characterized in that the system is applied in view networking, and the system comprises prisons Keyholed back plate platform, streaming media server, the streaming media server are stored with PCTV resource, wherein the system comprises:
Address requests module sends view networking address request to the streaming media server for monitoring management platform, describedly The first MAC Address of the monitoring management platform is carried in the request of location;
Address response module sends address response, the address response to the monitoring management platform for streaming media server Middle the second MAC Address for carrying the streaming media server;
First resource request module sends to the streaming media server for monitoring management platform and obtains the first PCTV resource Demand signalling, wherein the data volume of the first PCTV resource is greater than given threshold;
First resource respond module regards networking protocol according to first for streaming media server, Xiang Suoshu monitoring management platform First MAC Address sends the data packet of the first PCTV resource;
First resource receiving module receives and stores the first PCTV resource for the monitoring management platform.
7. system according to claim 6, which is characterized in that the first resource respond module includes:
The first PCTV resource is divided into multiple compressions for the streaming media server by the first packet encapsulation submodule Data packet, and packet header is added for each data packet;Wherein, in the packet header, mark transmits institute using the first view networking protocol Data packet is stated, and the packet header includes the serial number of first MAC Address, second MAC Address and the data packet;
First resource responds submodule, for the streaming media server according to the first view networking protocol, Xiang Suoshu monitoring management First MAC Address of platform sends several data packets of the first PCTV resource.
8. system according to claim 7, which is characterized in that the system also includes:
Receive respond module, for when the monitoring management platform receives the data packet, Xiang Suoshu streaming media server Send response signaling;
Packet sending module, for the streaming media server after receiving the response signaling, Xiang Suoshu monitoring management The data packet of platform transmission Next Sequence.
9. system according to claim 6, which is characterized in that the system also includes:
Secondary resource request module sends to the streaming media server for the monitoring management platform and obtains the 2nd PCTV money The demand signalling in source;Wherein, the first view networked terminals number of the monitoring management platform are carried in the demand signalling, described the The data volume of two PCTV resources is less than given threshold;
Secondary resource respond module, for the streaming media server according to the second view networking protocol, the view networking of Xiang Suoshu first Terminal number sends the data packet of the 2nd PCTV resource;
Secondary resource receiving module receives and stores the 2nd PCTV resource for the monitoring management platform.
10. system according to claim 6, which is characterized in that the Secondary resource respond module includes:
Second packet encapsulation submodule, for the streaming media server by the 2nd PCTV Resource Encapsulation at data packet, And packet header is added for the data packet;In the packet header, mark transmits the data packet, and institute using the second view networking protocol State the second view networked terminals number that packet header includes the first view networked terminals number, the streaming media server;
First sending submodule, for according to the second view networking protocol, the streaming media server to be regarded to described first The data packet that the 2nd PCTV resource is sent depending on networking switches of networked terminals number connection;
MAC Address replaces submodule, inquires the first view networking in the packet header eventually depending on networking switches for described Number corresponding MAC Address is held, and first in the packet header is replaced with depending on networked terminals number by the correspondence according to query result MAC Address;Wherein, the corresponding MAC Address is the first MAC Address of the monitoring management platform;
The data packet of the 2nd PCTV resource is sent to the prison depending on networking switches for described by the second sending submodule First MAC Address of keyholed back plate platform.
CN201811436583.7A 2018-11-28 2018-11-28 A kind of method and system obtaining PCTV resource Pending CN109743285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811436583.7A CN109743285A (en) 2018-11-28 2018-11-28 A kind of method and system obtaining PCTV resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811436583.7A CN109743285A (en) 2018-11-28 2018-11-28 A kind of method and system obtaining PCTV resource

Publications (1)

Publication Number Publication Date
CN109743285A true CN109743285A (en) 2019-05-10

Family

ID=66359044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811436583.7A Pending CN109743285A (en) 2018-11-28 2018-11-28 A kind of method and system obtaining PCTV resource

Country Status (1)

Country Link
CN (1) CN109743285A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381119A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of acquisition methods of log information, system and device and storage medium
CN110545405A (en) * 2019-08-28 2019-12-06 视联动力信息技术股份有限公司 video transmission method and system based on video network
CN110650179A (en) * 2019-08-20 2020-01-03 视联动力信息技术股份有限公司 Process monitoring method and system
CN111669364A (en) * 2020-04-26 2020-09-15 视联动力信息技术股份有限公司 Data transmission method, device, electronic equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110261735A1 (en) * 2010-04-26 2011-10-27 Carlos Cordeiro Method, apparatus and system for switching traffic streams among multiple bands
CN106161335A (en) * 2015-03-25 2016-11-23 北京视联动力国际信息技术有限公司 A kind for the treatment of method and apparatus of network packet
CN107040607A (en) * 2017-05-19 2017-08-11 郑州云海信息技术有限公司 A kind of server data distribution system
CN107708216A (en) * 2017-09-29 2018-02-16 努比亚技术有限公司 Data link distribution method, mobile terminal and computer-readable recording medium
CN108206958A (en) * 2016-12-19 2018-06-26 北京视联动力国际信息技术有限公司 A kind of method for obtaining video recording resource and association turn server
US20180191872A1 (en) * 2017-01-04 2018-07-05 Futurewei Technologies, Inc. Network bridge between different network communication protocols
CN108881357A (en) * 2017-08-31 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus that data are synchronous
CN108881817A (en) * 2017-10-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of methods, devices and systems that data are synchronous

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110261735A1 (en) * 2010-04-26 2011-10-27 Carlos Cordeiro Method, apparatus and system for switching traffic streams among multiple bands
CN106161335A (en) * 2015-03-25 2016-11-23 北京视联动力国际信息技术有限公司 A kind for the treatment of method and apparatus of network packet
CN108206958A (en) * 2016-12-19 2018-06-26 北京视联动力国际信息技术有限公司 A kind of method for obtaining video recording resource and association turn server
US20180191872A1 (en) * 2017-01-04 2018-07-05 Futurewei Technologies, Inc. Network bridge between different network communication protocols
CN107040607A (en) * 2017-05-19 2017-08-11 郑州云海信息技术有限公司 A kind of server data distribution system
CN108881357A (en) * 2017-08-31 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus that data are synchronous
CN107708216A (en) * 2017-09-29 2018-02-16 努比亚技术有限公司 Data link distribution method, mobile terminal and computer-readable recording medium
CN108881817A (en) * 2017-10-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of methods, devices and systems that data are synchronous

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381119A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of acquisition methods of log information, system and device and storage medium
CN110650179A (en) * 2019-08-20 2020-01-03 视联动力信息技术股份有限公司 Process monitoring method and system
CN110545405A (en) * 2019-08-28 2019-12-06 视联动力信息技术股份有限公司 video transmission method and system based on video network
CN111669364A (en) * 2020-04-26 2020-09-15 视联动力信息技术股份有限公司 Data transmission method, device, electronic equipment and medium
CN111669364B (en) * 2020-04-26 2023-09-12 视联动力信息技术股份有限公司 Data transmission method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN108881133B (en) A kind of communication means and device of media data
CN108810456A (en) A kind of monitoring video flow transfers method and system
CN108063745B (en) A kind of video call method and its system based on Android device
CN109996086A (en) A kind of view networking service method for inquiring status and device
CN109167960A (en) A kind of processing method and system of video stream data
CN109743285A (en) A kind of method and system obtaining PCTV resource
CN108243343B (en) A kind of point distribution statistical method and its server based on view networking
CN110475090A (en) A kind of method and system of Conference control
CN109547163A (en) A kind of control method and device of message transmission rate
CN110049346A (en) A kind of method and system of net cast
CN109743526A (en) A kind of communication connection method for building up and system based on view networking
CN109788369A (en) Terminal control method and device
CN109491783A (en) A kind of acquisition methods and system of memory usage
CN110177023A (en) A kind of communication connection detection method and device based on view networking
CN110138513A (en) A kind of data transmission method and view networked system
CN109640027A (en) Call method and device
CN109347844A (en) A kind of method and device of equipment access internet
CN109873864A (en) A kind of communication connection method for building up and system based on view networking
CN108989831A (en) A kind of network REC method and apparatus of multi-code stream
CN110430168A (en) A kind of method and apparatus of data compression
CN110266577A (en) A kind of tunnel establishing method and view networked system
CN110087147A (en) A kind of method and apparatus of audio/video flow transmission
CN109842630A (en) Method for processing video frequency and device
CN109698790A (en) A kind of storage method and system regarding networking data
CN110149497A (en) A kind of view networked data transmission method, apparatus, system and readable storage medium storing program for executing

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510