CN109698790A - A kind of storage method and system regarding networking data - Google Patents
A kind of storage method and system regarding networking data Download PDFInfo
- Publication number
- CN109698790A CN109698790A CN201811526870.7A CN201811526870A CN109698790A CN 109698790 A CN109698790 A CN 109698790A CN 201811526870 A CN201811526870 A CN 201811526870A CN 109698790 A CN109698790 A CN 109698790A
- Authority
- CN
- China
- Prior art keywords
- live video
- video stream
- storage device
- view
- storage
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Abstract
This application provides a kind of storage methods and system for regarding networking data.Pass through the application, when needing to store the live video stream being located in view networking, it can will be located in the interconnection net storage device being stored in internet depending on the live video stream in networking by turning server depending on networked server and association, interconnection net storage device is the already existing storage equipment in internet, without a storage equipment is specially arranged in depending on networking, and then save hardware cost.
Description
Technical field
This application involves view networking technology fields, more particularly to a kind of storage method and system for regarding networking data.
Background technique
With the rapid development of technology, more and more users are using the video on mobile phone viewing network, when user is to certain
A little video interested, user may also will continue to watch these videos later, in order to enable user can be able to conveniently find later
These videos are simultaneously watched, and user can store these videos, in general, video can be stored in mobile phone by user, so
And the memory space of mobile phone is limited, and can not store more video, therefore, more and more users' selection at this stage exists
Interested video is stored in common memory equipment on network.
Summary of the invention
To solve the above-mentioned problems, present application illustrates a kind of storage methods and system for regarding networking data.
In a first aspect, the method is applied to view networking number present application illustrates a kind of storage method for regarding networking data
According to storage system in, the system comprises depending on networked terminals, depending on networked server, association turns server and internet storage is set
It is standby, based on view networking protocol communication connection, the view the Internet services between the view networked terminals and the view networked server
Device and the association turn based on view networking protocol communication connection between server, and the association turns server and sets with the internet storage
Internet protocol-based communication connection between standby;The described method includes:
The view networked terminals send the live video stream based on view networking protocol to the view networked server;
The view networked server receives the live video stream based on view networking protocol, turns server hair to the association
Send the live video stream based on view networking protocol;
The association turns server and receives the live video stream based on view networking protocol, will be described based on view networking protocol
Live video stream be converted to the live video stream of internet protocol-based, to the interconnection net storage device send described in be based on
The live video stream of Internet protocol;
The interconnection net storage device receives the live video stream of the internet protocol-based, and deposits in the internet
The live video stream of the internet protocol-based is stored in storage equipment.
Wherein, the method also includes:
It is described view networked terminals to it is described view networked server send for request storage live video stream, based on view join
The storage of fidonetFido is requested;
The view networked server receives the storage request based on view networking protocol, turns server to the association and sends
The storage request based on view networking protocol;
The association turns server and receives the storage request based on view networking protocol, by described based on view networking protocol
It indicates that information converts the storage request of the internet protocol-based, is sent to the interconnection net storage device described based on interconnection
The storage of fidonetFido is requested;
The interconnection net storage device receives the storage request of the internet protocol-based, is based on internet according to described
The storage request of agreement generates the memory response for being used to indicate internet protocol-based that is agreeing to storage live video stream, to institute
It states association and turns the memory response that server sends the internet protocol-based;
The association turns the memory response that server receives the internet protocol-based, by the internet protocol-based
Memory response is converted to the memory response based on view networking protocol, sends to the view networked server described based on view networking association
The memory response of view;
The view networked server receives the memory response based on view networking protocol, sends to the view networked terminals
The memory response based on view networking protocol;
The view networked terminals receive the memory response based on view networking protocol, then execute described to view connection
Network server sends the step of live video stream based on view networking protocol.
Wherein, after the storage that the interconnection net storage device receives the internet protocol-based is requested, further includes:
The interconnection net storage device determines whether the idle storage space in the interconnection net storage device is greater than or waits
In default memory space;
If the idle storage space in the interconnection net storage device is greater than or equal to the default memory space, hold
The row storage request according to the internet protocol-based generate be used to indicate agree to storage live video stream, based on mutual
The step of memory response of networking protocol.
Wherein, the method also includes:
If the idle storage space in the interconnection net storage device is less than the default memory space, the interconnection
Net storage device deletes stored live video stream in the interconnection net storage device, so that internet storage is set
Idle storage space in standby is greater than or equal to the default memory space, then execute it is described according to based on internet protocol
The storage request of view, which generates, is used to indicate the step of agreeing to storage live video stream, internet protocol-based memory response.
Wherein, the interconnection net storage device deletes stored live video stream in the interconnection net storage device, packet
It includes:
The interconnection net storage device determines that the default memory space is deposited with the free time in the interconnection net storage device
Store up the difference memory space between space;
The interconnection net storage device determines quilt in the interconnection net storage device in stored live video stream
At least one minimum live video stream of access times determines that shared spatial summation is big at least one described live video stream
In or equal to a live video stream of difference memory space or the combination of multiple live video streams;
The interconnection net storage device deleted from the interconnection net storage device live video stream determined or
The combination of multiple live video streams.
Second aspect, present application illustrates it is a kind of regard networking data storage system, the system comprises view networked terminals,
Turn server and interconnection net storage device depending on networked server, association, the view networked terminals and the view networked server it
Between based on view networking protocol communication connection, it is described depending on networked server and it is described association turn between server based on view networking protocol lead to
Letter connection, the association turn internet protocol-based between server and the interconnection net storage device and communicate to connect;
The view networked terminals are used to send the live video stream based on view networking protocol to the view networked server;
It is described to be used to receive the live video stream based on view networking protocol depending on networked server, turn service to the association
Device sends the live video stream based on view networking protocol;
The association turns server for receiving the live video stream based on view networking protocol, by described based on view networking
The live video stream of agreement is converted to the live video stream of internet protocol-based, to described in interconnection net storage device transmission
The live video stream of internet protocol-based;
The interconnection net storage device is used to receive the live video stream of the internet protocol-based, and in the interconnection
The live video stream of the internet protocol-based is stored in net storage device.
Wherein, the system also includes:
It is described to be also used to send to the view networked server for requesting storage live video stream, base depending on networked terminals
In the storage request of view networking protocol;
It is described to be also used to receive the storage request based on view networking protocol depending on networked server, turn service to the association
Device sends the storage request based on view networking protocol;
The association turns server and is also used to receive the storage request based on view networking protocol, will be described based on view networking
The instruction information of agreement converts the storage request of the internet protocol-based, sends the base to the interconnection net storage device
It is requested in the storage of Internet protocol;
The interconnection net storage device is also used to receive the storage request of the internet protocol-based, is based on according to described
The storage request of Internet protocol, which generates to be used to indicate, agrees to that storage live video stream, internet protocol-based storage is rung
It answers, turns the memory response that server sends the internet protocol-based to the association;
The association turns the memory response that server is also used to receive the internet protocol-based, described will be based on internet
The memory response of agreement is converted to the memory response based on view networking protocol, sends to the view networked server described based on view
The memory response of networking protocol;
It is described to be also used to receive the memory response based on view networking protocol depending on networked server, it networks eventually to the view
End sends the memory response based on view networking protocol;
It is described to be also used to receive the memory response based on view networking protocol depending on networked terminals, it then executes described to institute
State the step of view networked server sends the live video stream based on view networking protocol.
Wherein, the interconnection net storage device is also used to determine that the idle storage space in the interconnection net storage device is
It is no to be greater than or equal to default memory space;If the idle storage space in the interconnection net storage device is greater than or equal to described
Default memory space then generates according to the storage of internet protocol-based request and is used to indicate agreement storage live video stream
, the memory response of internet protocol-based.
Wherein, the system also includes:
If the idle storage space in the interconnection net storage device is less than the default memory space, the interconnection
Net storage device is also used to delete stored live video stream in the interconnection net storage device, so that the internet
The idle storage space stored in equipment is greater than or equal to the default memory space, then according to the internet protocol-based
Storage request generate to be used to indicate and agree to storage live video stream, the memory response of internet protocol-based.
Wherein, the interconnection net storage device is also used to determine the default memory space and the interconnection net storage device
In idle storage space between difference memory space;
The interconnection net storage device is also used in the interconnection net storage device in stored live video stream
Determine at least one minimum live video stream of accessed number, determination is taken up space at least one described live video stream
Summation is greater than or equal to the combination of a live video stream or multiple live video streams for difference memory space;
The interconnection net storage device is also used to delete the live streaming view determined from the interconnection net storage device
The combination of frequency stream or multiple live video streams.
The application includes following advantages:
By the application, when needing to store the live video stream being located in view networking, by view networked server and
Association, which turns server, will be located in the interconnection net storage device being stored in internet depending on the live video stream in networking,
Interconnection net storage device is the already existing storage equipment in internet, is deposited without being specially arranged one in depending on networking
Equipment is stored up, and then saves hardware cost.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the application;
Fig. 2 is a kind of hardware structural diagram of node server of the application;
Fig. 3 is a kind of hardware structural diagram of access switch of the application;
Fig. 4 is that a kind of Ethernet association of the application turns the hardware structural diagram of gateway;
Fig. 5 is a kind of structural block diagram of the storage system of view networking data of the application;
Fig. 6 is a kind of step flow chart of the storage method of view networking data of the application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,
Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the application, it is introduced below to depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network
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, and node server and metropolitan area clothes
The network controlled under business device can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 the application's can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including Ethernet net
Close), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or country
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 this application:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1)
It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable 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 destination 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, if there is Bao Ze is according to the view of packet networking purpose
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 this application: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of core idea of the application is proposed, it then follows the agreement for regarding networking passes through
The application can by turning server depending on networked server and association when needing to store the live video stream being located in view networking
Will be located in the interconnection net storage device being stored in internet depending on the live video stream in networking, internet storage is set
Standby is the already existing storage equipment in internet, without a storage equipment is specially arranged in depending on networking, in turn
Save hardware cost.
With the addition of view networking, occurs the live video stream much based on view networking protocol in depending on networking, sometimes
Time is also required to store based on the live video stream depending on networking protocol, provides easy-to-look-up later and watches, therefore, it is necessary to
The setting storage equipment in view networking, later can be in live streaming view of the storage equipment storage in view networking based on view networking protocol
Frequency flows, however, setting storage equipment will increase hardware cost in depending on networking.In order to reduce hardware cost, the application is proposed.
Referring to Fig. 5, a kind of structural block diagram of the storage system of view networking data of the application is shown, which includes:
Turn server 03 and interconnection net storage device 04 depending on networked terminals 01, depending on networked server 02, association, depending on networked terminals 01 and view
Based on view networking protocol communication connection between networked server 02, turn between server 03 depending on networked server 02 and association based on view
Networking protocol communication connection, association turn internet protocol-based between server 03 and interconnection net storage device 04 and communicate to connect.
Referring to Fig. 6, a kind of step flow chart of the storage method of view networking data of the application, this method application are shown
In system shown in fig. 5, this method can specifically include following steps:
In step s101, the live video stream based on view networking protocol is sent to view networked server depending on networked terminals;
In step s 102, the live video stream based on view networking protocol, Xiang Xiezhuan server are received depending on networked server
Send the live video stream based on view networking protocol;
In step s 103, association turns live video stream of the server reception based on view networking protocol, will be assisted based on view networking
The live video stream of view is converted to the live video stream of internet protocol-based, sends to interconnection net storage device and is based on internet
The live video stream of agreement;
In step S104, interconnection net storage device receives the live video stream of internet protocol-based, and in internet
Store the live video stream that internet protocol-based is stored in equipment.
By the application, when needing to store the live video stream being located in view networking, by view networked server and
Association, which turns server, will be located in the interconnection net storage device being stored in internet depending on the live video stream in networking,
Interconnection net storage device is the already existing storage equipment in internet, is deposited without being specially arranged one in depending on networking
Equipment is stored up, and then saves hardware cost.
In another embodiment of the application, depending on networked terminals need interconnection net storage device in storage live video stream it
Before, it is necessary first to after obtaining interconnection net storage device agreement, live video stream could be stored in interconnection net storage device.Cause
This can send to view networked server for requesting storage live video stream, base before step S101 depending on networked terminals
In the storage request of view networking protocol;
The storage request based on view networking protocol is received depending on networked server, Xiang Xiezhuan server is sent based on view networking association
The storage of view is requested;
Association turns server and receives the storage request based on view networking protocol, and the instruction information based on view networking protocol is converted
The storage of internet protocol-based is requested, and the storage request of internet protocol-based is sent to interconnection net storage device;
The storage request that net storage device receives internet protocol-based is interconnected, is asked according to the storage of internet protocol-based
The memory response for being used to indicate internet protocol-based that is agreeing to storage live video stream is sought survival into, Xiang Xiezhuan server is sent
The memory response of internet protocol-based;
Association turns the memory response that server receives internet protocol-based, and the memory response of internet protocol-based is converted
For the memory response based on view networking protocol, the memory response based on view networking protocol is sent to view networked server;
The memory response based on view networking protocol is received depending on networked server, is sent to view networked terminals based on view networking association
The memory response of view;
The memory response based on view networking protocol is received depending on networked terminals, then executes step S101 again: to view networking clothes
Device transmission be engaged in based on the live video stream for regarding networking protocol.
In this application, many terminals can be in interconnection net storage device storing data, therefore, when view networked terminals need
When storing live video stream in interconnecting net storage device, net storage device may be interconnected and stored many data, led
Interconnection net storage device is caused to store live video stream without enough idle storage spaces.Therefore,
Net storage device is interconnected after receiving the storage request of internet protocol-based, it is thus necessary to determine that internet storage is set
Whether the idle storage space in standby is greater than or equal to default memory space;
If the idle storage space in interconnection net storage device is greater than or equal to default memory space, further according to being based on
The storage request of Internet protocol, which generates to be used to indicate, agrees to that storage live video stream, internet protocol-based storage is rung
It answers.
If interconnecting the idle storage space in net storage device is less than default memory space, interconnects net storage device and delete
Except interconnection net storage device in stored live video stream so that interconnection net storage device in idle storage space be greater than or
Equal to default memory space, is then generated further according to the storage request of internet protocol-based and be used to indicate agreement storage live streaming view
Frequency stream, internet protocol-based memory response.
Wherein, in deleting interconnection net storage device when stored live video stream, interconnection net storage device can be true
Surely the difference memory space between idle storage space in default memory space and interconnection net storage device;Internet storage is set
At least one minimum live streaming view of accessed number is determined in standby live video stream stored in having interconnected net storage device
Frequency flows, and determines that a live streaming of the shared spatial summation more than or equal to difference memory space regards at least one live video stream
The combination of frequency stream or multiple live video streams;It is straight that interconnection net storage device deletes one determined from interconnection net storage device
Broadcast the combination of video flowing or multiple live video streams.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to
According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented
Necessary to example.
The application also shows a kind of storage system for regarding networking data, and the system comprises view networked terminals, view networking
Server, association turn server and interconnection net storage device, described depending on networked terminals and described depending on being based between networked server
It is communicated to connect depending on networking protocol, it is described to turn between server with the association based on view networking protocol communication link depending on networked server
It connects, the association turns internet protocol-based between server and the interconnection net storage device and communicates to connect;
The view networked terminals are used to send the live video stream based on view networking protocol to the view networked server;
It is described to be used to receive the live video stream based on view networking protocol depending on networked server, turn service to the association
Device sends the live video stream based on view networking protocol;
The association turns server for receiving the live video stream based on view networking protocol, by described based on view networking
The live video stream of agreement is converted to the live video stream of internet protocol-based, to described in interconnection net storage device transmission
The live video stream of internet protocol-based;
The interconnection net storage device is used to receive the live video stream of the internet protocol-based, and in the interconnection
The live video stream of the internet protocol-based is stored in net storage device.
Wherein, the system also includes:
It is described to be also used to send to the view networked server for requesting storage live video stream, base depending on networked terminals
In the storage request of view networking protocol;
It is described to be also used to receive the storage request based on view networking protocol depending on networked server, turn service to the association
Device sends the storage request based on view networking protocol;
The association turns server and is also used to receive the storage request based on view networking protocol, will be described based on view networking
The instruction information of agreement converts the storage request of the internet protocol-based, sends the base to the interconnection net storage device
It is requested in the storage of Internet protocol;
The interconnection net storage device is also used to receive the storage request of the internet protocol-based, is based on according to described
The storage request of Internet protocol, which generates to be used to indicate, agrees to that storage live video stream, internet protocol-based storage is rung
It answers, turns the memory response that server sends the internet protocol-based to the association;
The association turns the memory response that server is also used to receive the internet protocol-based, described will be based on internet
The memory response of agreement is converted to the memory response based on view networking protocol, sends to the view networked server described based on view
The memory response of networking protocol;
It is described to be also used to receive the memory response based on view networking protocol depending on networked server, it networks eventually to the view
End sends the memory response based on view networking protocol;
It is described to be also used to receive the memory response based on view networking protocol depending on networked terminals, it then executes described to institute
State the step of view networked server sends the live video stream based on view networking protocol.
Wherein, the interconnection net storage device is also used to determine that the idle storage space in the interconnection net storage device is
It is no to be greater than or equal to default memory space;If the idle storage space in the interconnection net storage device is greater than or equal to described
Default memory space then generates according to the storage of internet protocol-based request and is used to indicate agreement storage live video stream
, the memory response of internet protocol-based.
Wherein, the system also includes:
If the idle storage space in the interconnection net storage device is less than the default memory space, the interconnection
Net storage device is also used to delete stored live video stream in the interconnection net storage device, so that the internet
The idle storage space stored in equipment is greater than or equal to the default memory space, then according to the internet protocol-based
Storage request generate to be used to indicate and agree to storage live video stream, the memory response of internet protocol-based.
Wherein, the interconnection net storage device is also used to determine the default memory space and the interconnection net storage device
In idle storage space between difference memory space;
The interconnection net storage device is also used in the interconnection net storage device in stored live video stream
Determine at least one minimum live video stream of accessed number, determination is taken up space at least one described live video stream
Summation is greater than or equal to the combination of a live video stream or multiple live video streams for difference memory space;
The interconnection net storage device is also used to delete the live streaming view determined from the interconnection net storage device
The combination of frequency stream or multiple live video streams.
By the application, when needing to store the live video stream being located in view networking, by view networked server and
Association, which turns server, will be located in the interconnection net storage device being stored in internet depending on the live video stream in networking,
Interconnection net storage device is the already existing storage equipment in internet, is deposited without being specially arranged one in depending on networking
Equipment is stored up, and then saves hardware cost.
For system embodiments, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, system or calculating
Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The system of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of instruction system is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to the storage method and system of a kind of view networking data provided herein, it is described in detail, this
Specific case is applied in text, and the principle and implementation of this application are described, the explanation of above example is only intended to
Help understands the present processes and its core concept;At the same time, for those skilled in the art, the think of according to the application
Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair
The limitation of the application.
Claims (10)
1. a kind of storage method for regarding networking data, which is characterized in that the method is applied to the storage system of view networking data
In, the system comprises turn server and interconnection net storage device, the view connection depending on networked terminals, depending on networked server, association
Turned between network termination and the view networked server based on view networking protocol communication connection, the view networked server and the association
Based on view networking protocol communication connection between server, the association turns between server and the interconnection net storage device based on mutual
Networking protocol communication connection;The described method includes:
The view networked terminals send the live video stream based on view networking protocol to the view networked server;
The view networked server receives the live video stream based on view networking protocol, turns server to the association and sends institute
State the live video stream based on view networking protocol;
The association turns server and receives the live video stream based on view networking protocol, by described based on the straight of view networking protocol
The live video stream that video flowing is converted to internet protocol-based is broadcast, is sent to the interconnection net storage device described based on interconnection
The live video stream of fidonetFido;
The interconnection net storage device receives the live video stream of the internet protocol-based, and sets in the internet storage
The live video stream of the standby middle storage internet protocol-based.
2. the method according to claim 1, wherein the method also includes:
It is described view networked terminals to it is described view networked server send for request storage live video stream, based on view networking assist
The storage of view is requested;
The view networked server reception storage request based on view networking protocol, turns described in server transmission to the association
Storage request based on view networking protocol;
The association turns server and receives the storage request based on view networking protocol, by the instruction based on view networking protocol
Information converts the storage request of the internet protocol-based, sends to the interconnection net storage device described based on internet protocol
The storage of view is requested;
The interconnection net storage device receives the storage request of the internet protocol-based, according to the internet protocol-based
Storage request generate to be used to indicate and agree to storage live video stream, the memory response of internet protocol-based, to the association
Turn the memory response that server sends the internet protocol-based;
The association turns the memory response that server receives the internet protocol-based, by the storage of the internet protocol-based
Response is converted to the memory response based on view networking protocol, regards described in networked server transmission to described based on view networking protocol
Memory response;
The view networked server receives the memory response based on view networking protocol, to described in view networked terminals transmission
Memory response based on view networking protocol;
The view networked terminals receive the memory response based on view networking protocol, then execute described network to the view and take
The step of device transmission be engaged in based on the live video stream for regarding networking protocol.
3. according to the method described in claim 2, it is characterized in that, interconnection net storage device reception is described to be based on internet
After the storage request of agreement, further includes:
It is pre- that the interconnection net storage device determines whether the idle storage space in the interconnection net storage device is greater than or equal to
If memory space;
If the idle storage space in the interconnection net storage device is greater than or equal to the default memory space, institute is executed
State generated according to the storage request of the internet protocol-based be used to indicate agree to storage live video stream, based on internet
The step of memory response of agreement.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
If the idle storage space in the interconnection net storage device is less than the default memory space, the internet is deposited
It stores up equipment and deletes stored live video stream in the interconnection net storage device, so that in the interconnection net storage device
Idle storage space be greater than or equal to the default memory space, then execute described according to the internet protocol-based
Storage request, which generates, is used to indicate the step of agreeing to storage live video stream, internet protocol-based memory response.
5. according to the method described in claim 4, it is characterized in that, the interconnection net storage device deletes the internet storage
Stored live video stream in equipment, comprising:
The interconnection net storage device determines that the idle storage in the default memory space and the interconnection net storage device is empty
Between between difference memory space;
The interconnection net storage device determines accessed in the interconnection net storage device in stored live video stream
At least one minimum live video stream of number, determined at least one described live video stream shared spatial summation be greater than or
Equal to a live video stream of difference memory space or the combination of multiple live video streams;
The interconnection net storage device deletes the live video stream determined or multiple from the interconnection net storage device
The combination of live video stream.
6. a kind of storage system for regarding networking data, which is characterized in that the system comprises view networked terminals, view the Internet services
Device, association turn server and interconnection net storage device, based on view connection between the view networked terminals and the view networked server
FidonetFido communication connection, it is described to turn between server with the association based on view networking protocol communication connection, institute depending on networked server
It states association and turns internet protocol-based communication connection between server and the interconnection net storage device;
The view networked terminals are used to send the live video stream based on view networking protocol to the view networked server;
It is described to be used to receive the live video stream based on view networking protocol depending on networked server, turn server hair to the association
Send the live video stream based on view networking protocol;
The association turns server for receiving the live video stream based on view networking protocol, by described based on view networking protocol
Live video stream be converted to the live video stream of internet protocol-based, to the interconnection net storage device send described in be based on
The live video stream of Internet protocol;
The interconnection net storage device is used to receive the live video stream of the internet protocol-based, and deposits in the internet
The live video stream of the internet protocol-based is stored in storage equipment.
7. system according to claim 6, which is characterized in that the system also includes:
It is described depending on networked terminals be also used to it is described view networked server send for request storage live video stream, based on regard
The storage of networking protocol is requested;
It is described to be also used to receive the storage request based on view networking protocol depending on networked server, turn server hair to the association
Send the storage request based on view networking protocol;
The association turns server and is also used to receive the storage request based on view networking protocol, will be described based on view networking protocol
Instruction information convert the storage request of the internet protocol-based, sent to the interconnection net storage device described based on mutually
The storage of networking protocol is requested;
The interconnection net storage device is also used to receive the storage request of the internet protocol-based, according to described based on interconnection
The storage request of fidonetFido generates the memory response for being used to indicate internet protocol-based that is agreeing to storage live video stream, to
The association turns the memory response that server sends the internet protocol-based;
The association turns the memory response that server is also used to receive the internet protocol-based, by the internet protocol-based
Memory response be converted to the memory response based on view networking protocol, send and described networked based on view to the view networked server
The memory response of agreement;
It is described to be also used to receive the memory response based on view networking protocol depending on networked server, it is sent out to the view networked terminals
Send the memory response based on view networking protocol;
It is described to be also used to receive the memory response based on view networking protocol depending on networked terminals, it then executes described to the view
Networked server sends the step of live video stream based on view networking protocol.
8. system according to claim 7, which is characterized in that the interconnection net storage device is also used to determine the interconnection
Whether the idle storage space in net storage device is greater than or equal to default memory space;If in the interconnection net storage device
Idle storage space be greater than or equal to the default memory space, then please be seek survival according to the storage of the internet protocol-based
At the memory response for being used to indicate internet protocol-based that is agreeing to storage live video stream.
9. system according to claim 8, which is characterized in that the system also includes:
If the idle storage space in the interconnection net storage device is less than the default memory space, the internet is deposited
Storage equipment is also used to delete stored live video stream in the interconnection net storage device, so that the internet stores
Idle storage space in equipment is greater than or equal to the default memory space, then depositing according to the internet protocol-based
Storage request generates the memory response for being used to indicate internet protocol-based that is agreeing to storage live video stream.
10. system according to claim 9, which is characterized in that the interconnection net storage device is also used to determine described pre-
If the difference memory space between idle storage space in memory space and the interconnection net storage device;
The interconnection net storage device is also used in the interconnection net storage device determine in stored live video stream
At least one minimum live video stream of accessed number, determines shared spatial summation at least one described live video stream
More than or equal to a live video stream of difference memory space or the combination of multiple live video streams;
The interconnection net storage device is also used to delete the live video stream determined from the interconnection net storage device
Or the combination of multiple live video streams.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811526870.7A CN109698790A (en) | 2018-12-13 | 2018-12-13 | A kind of storage method and system regarding networking data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811526870.7A CN109698790A (en) | 2018-12-13 | 2018-12-13 | A kind of storage method and system regarding networking data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109698790A true CN109698790A (en) | 2019-04-30 |
Family
ID=66231646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811526870.7A Pending CN109698790A (en) | 2018-12-13 | 2018-12-13 | A kind of storage method and system regarding networking data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109698790A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110139074A (en) * | 2019-05-10 | 2019-08-16 | 视联动力信息技术股份有限公司 | A kind of apparatus control method and system based on view networking |
CN110266638A (en) * | 2019-05-08 | 2019-09-20 | 视联动力信息技术股份有限公司 | Information processing method, device and storage medium |
-
2018
- 2018-12-13 CN CN201811526870.7A patent/CN109698790A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266638A (en) * | 2019-05-08 | 2019-09-20 | 视联动力信息技术股份有限公司 | Information processing method, device and storage medium |
CN110139074A (en) * | 2019-05-10 | 2019-08-16 | 视联动力信息技术股份有限公司 | A kind of apparatus control method and system based on view networking |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108810456A (en) | A kind of monitoring video flow transfers method and system | |
CN108965040A (en) | A kind of business monitoring method and device of view networking | |
CN109617956A (en) | A kind of data processing method and device | |
CN109889779A (en) | A kind for the treatment of method and apparatus of packet out-ordering | |
CN109743526A (en) | A kind of communication connection method for building up and system based on view networking | |
CN110049346A (en) | A kind of method and system of net cast | |
CN110049273A (en) | A kind of meeting method for recording and transfer server based on view networking | |
CN109743555A (en) | A kind of information processing method and system based on view networking | |
CN109698930A (en) | It is a kind of to attend a meeting method and system depending on networking | |
CN109873864A (en) | A kind of communication connection method for building up and system based on view networking | |
CN109743284A (en) | A kind of method for processing video frequency and system based on view networking | |
CN109729184A (en) | A kind of method and apparatus of view networking service processing | |
CN109491783A (en) | A kind of acquisition methods and system of memory usage | |
CN109194901A (en) | A kind of method for processing video frequency and device based on view networking | |
CN109698790A (en) | A kind of storage method and system regarding networking data | |
CN110278244A (en) | A kind of method of network entry and view networked terminals based on view networking | |
CN109889759A (en) | A kind of exchange method and system regarding networked video meeting | |
CN109922297A (en) | Call method and device | |
CN109525635A (en) | A kind of acquisition methods and system of memory usage | |
CN109743360A (en) | A kind of information processing method and device | |
CN110049069A (en) | A kind of data capture method and device | |
CN110113555A (en) | A kind of video conference processing method and system based on view networking | |
CN109714558A (en) | A kind of communication connection detection method and system based on view networking | |
CN109617965A (en) | A kind of communication connection method for building up and view networked system | |
CN110519082A (en) | A kind of management method and device regarding networked devices |
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: 20190430 |