CN110417735A - A kind of smart city Streaming Media management network and its method - Google Patents

A kind of smart city Streaming Media management network and its method Download PDF

Info

Publication number
CN110417735A
CN110417735A CN201910551335.5A CN201910551335A CN110417735A CN 110417735 A CN110417735 A CN 110417735A CN 201910551335 A CN201910551335 A CN 201910551335A CN 110417735 A CN110417735 A CN 110417735A
Authority
CN
China
Prior art keywords
streaming media
stream
medium data
media
video camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910551335.5A
Other languages
Chinese (zh)
Other versions
CN110417735B (en
Inventor
寇京珅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Terminus Beijing Technology Co Ltd
Original Assignee
Terminus Beijing 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 Terminus Beijing Technology Co Ltd filed Critical Terminus Beijing Technology Co Ltd
Priority to CN201910551335.5A priority Critical patent/CN110417735B/en
Publication of CN110417735A publication Critical patent/CN110417735A/en
Application granted granted Critical
Publication of CN110417735B publication Critical patent/CN110417735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1013Network architectures, gateways, control or user entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention discloses a kind of smart city Streaming Media management network and its method, the Streaming Media management network includes: multiple video cameras, streaming media wide area network, stream media scheduling server, Streaming Media memory node cluster;The video camera is the stream medium data that can be transmitted for being acquired to head end video, and by the Video Quality Metric of acquisition, the stream medium data is sent to stream media scheduling server by streaming media wide area network;The stream media scheduling server, the stream medium data storage relationship corresponding with the memory node foundation in Streaming Media memory node cluster for being sent for each video camera.The Streaming Media memory node cluster, including multiple memory nodes, each memory node store corresponding Streaming Media segment according to the correspondence storage relationship in the stream media scheduling server being the stream medium data foundation that each video camera is sent.Smart city Streaming Media of the invention manages network, can reduce network load and answering delay.

Description

A kind of smart city Streaming Media management network and its method
Technical field
The invention belongs to technical field of video monitoring, and in particular to a kind of smart city Streaming Media management network and its side Method.
Background technique
It is distributed in the massive video camera in each place in city space, constitutes the basic video monitor in smart city Data acquisition network can be applied to each side of the smart cities such as security defence, Traffic monitoring, stream of people's analysis, target tracking Face scene.For video data transmission, the convenience that stores and check, generally establish based on stream media format at present Manage network.But existing Streaming Media management network is all mainly in face of small range video monitor (such as community, one A building or a block) and construct, therefore its flow data amount, video camera quantity and Streaming Media access number of terminals Amount is all relatively limited.And in the range of smart city, whether the quantity of head end video camera or Streaming Media are visited The quantity for asking terminal is all magnanimity, correspondingly, can also generate the Streaming Media of magnanimity, this brings great number to stream media network According to transmission load;For the same stream medium data of storage, concurrent, a large amount of access request may be generated, it may Lead to biggish answering delay.Therefore, under the application scenarios of smart city, Streaming Media how is efficiently managed, reduces load, reality New problem to be solved now is become to the low latency response of access request.
Summary of the invention
In view of this, the present invention provides a kind of smart city Streaming Media management network and its methods.
The present invention provides a kind of smart city Streaming Media management network, comprising: multiple video cameras, streaming media are wide Domain net, stream media scheduling server, Streaming Media memory node cluster;
The video camera can be transmitted for being acquired to head end video, and by the Video Quality Metric of acquisition The stream medium data is sent to stream media scheduling server by streaming media wide area network by stream medium data;
The stream media scheduling server, the stream medium data for sending for each video camera are deposited with Streaming Media It stores up the memory node in node cluster and establishes corresponding storage relationship;Specifically: the stream matchmaker sent for the same video camera Volume data distributes multiple memory nodes in the Streaming Media memory node cluster for it, meanwhile, which is sent Stream medium data be divided into several Streaming Media segments at times;By multiple memory nodes of the distribution according to certain circulation Storage order and several Streaming Media segments of the division, which are established, corresponds storage relationship.
The Streaming Media memory node cluster, including multiple memory nodes, each memory node is according to the Streaming Media tune The correspondence storage relationship established in server for the stream medium data that each video camera is sent is spent, by corresponding Streaming Media Segment is stored.
Further, the stream medium data sent for the same video camera, which is sent Stream medium data be divided into several Streaming Media segments at times, wherein the stream media scheduling server streaming media data The segment that stream divides is not isometric.
Further, the stream medium data segment division rule are as follows: for the same memory node, corresponding stream The length that media data segment divides is incremented by with the sequencing of period.
Further, if by multiple memory nodes of the distribution according to certain circulation storage order and the division Mainstream media fragment establish correspond storage relationship, specifically: for the same video camera send stream medium data, By multiple memory nodes setting circulation storage order for its distribution, according to the circulation storage order of multiple memory nodes, by this Sequencing is successively and often according to the time period for several stream medium data segments for being divided of stream medium data that video camera is sent A memory node establishes one-to-one circulation storage relationship.
Further, the smart city Streaming Media manages network further include: Streaming Media accesses terminal, is used for stream matchmaker Body dispatch server requests access to the stream medium data that the video camera is sent.
Further, when multiple Streaming Medias access terminal requests access to the stream medium data of the same video camera simultaneously When, the multiple Streaming Media access terminal is grouped by the stream media scheduling server, so that each group includes at least One Streaming Media accesses terminal, and the stream media scheduling server scheduling is stored with the stream medium data of video camera transmission Multiple memory nodes of segment successively mass-send the stream medium data segment of the video camera to each terminal group.
Further, the stream media scheduling server scheduling is stored with the stream medium data piece of video camera transmission Multiple memory nodes of section successively mass-send the stream medium data segment of the video camera to each terminal group, specifically: institute State the stream medium data segment that stream media scheduling server is stored with video camera transmission according to certain sequential scheduling Multiple memory nodes, each scheduled memory node successively mass-send the Streaming Media of the video camera to each terminal group Data slot.
Further, the Streaming Media segment group that will successively store in each memory node issues each terminal group, Wherein, each memory node should be met, the memory node is primary only to mass-send Streaming Media segment to a terminal group, is After present terminal group is sent completely, just to next terminal group mass-send Streaming Media segment, meanwhile, the memory node it is next Memory node starts to mass-send Streaming Media segment for present terminal group, according to above-mentioned rule, until all memory nodes are all Terminal group has sent Streaming Media segment.
The present invention also provides a kind of smart city Streaming Media management methods, comprising:
Head end video is acquired, and is the stream medium data that can be transmitted by the Video Quality Metric of acquisition, by the stream Media data is sent to stream media scheduling server by streaming media wide area network;
The stream medium data sent for each video camera is built with the memory node in Streaming Media memory node cluster Vertical corresponding storage relationship;Specifically: for the stream medium data that the same video camera is sent, the Streaming Media is distributed for it Multiple memory nodes in memory node cluster, meanwhile, the stream medium data which sends is divided at times Several Streaming Media segments;By multiple memory nodes of the distribution according to the several of certain circulation storage order and the division Streaming Media segment, which is established, corresponds storage relationship;
Each memory node in Streaming Media memory node cluster is according to being each in the stream media scheduling server The correspondence storage relationship that the stream medium data that video camera is sent is established, corresponding Streaming Media segment is stored.
Further, the stream medium data sent for the same video camera, which is sent Stream medium data be divided into several Streaming Media segments at times, wherein the stream media scheduling server streaming media data The segment that stream divides is not isometric.
Further, the stream medium data segment division rule are as follows: for the same memory node, corresponding stream The length that media data segment divides is incremented by with the sequencing of period.
Further, if by multiple memory nodes of the distribution according to certain circulation storage order and the division Mainstream media fragment establish correspond storage relationship, specifically: for the same video camera send stream medium data, By multiple memory nodes setting circulation storage order for its distribution, according to the circulation storage order of multiple memory nodes, by this Sequencing is successively and often according to the time period for several stream medium data segments for being divided of stream medium data that video camera is sent A memory node establishes one-to-one circulation storage relationship.
Further, when multiple Streaming Medias access terminal requests access to the stream medium data of the same video camera simultaneously When, the multiple Streaming Media access terminal is grouped by the stream media scheduling server, so that each group includes at least One Streaming Media accesses terminal, and the stream media scheduling server scheduling is stored with the stream medium data of video camera transmission Multiple memory nodes of segment successively mass-send the stream medium data segment of the video camera to each terminal group.
Further, the stream media scheduling server scheduling is stored with the stream medium data piece of video camera transmission Multiple memory nodes of section successively mass-send the stream medium data segment of the video camera to each terminal group, specifically: institute State the stream medium data segment that stream media scheduling server is stored with video camera transmission according to certain sequential scheduling Multiple memory nodes, each scheduled memory node successively mass-send the Streaming Media of the video camera to each terminal group Data slot.
Further, the Streaming Media segment group that will successively store in each memory node issues each terminal group, Wherein, each memory node should be met, the memory node is primary only to mass-send Streaming Media segment to a terminal group, is After present terminal group is sent completely, just to next terminal group mass-send Streaming Media segment, meanwhile, the memory node it is next Memory node starts to mass-send Streaming Media segment for present terminal group, according to above-mentioned rule, until all memory nodes are all Terminal group has sent Streaming Media segment.
It can be seen that a kind of smart city Streaming Media management network provided by the invention and its method, by by each The stream medium data that video camera is sent divides segment, and stores to multiple memory nodes, it is possible to reduce the number of whole network According to amount load;It, will be more when the requesting access to of stream medium data that multiple stream media terminals simultaneously send the same camera A stream media terminal grouping, and the data parallel in each memory node is handed down to each terminal group, it enhances to visit The concurrency for asking request-reply reduces delay.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is that typical Streaming Media manages network diagram in the prior art;
Fig. 2 is that a kind of smart city Streaming Media provided in an embodiment of the present invention manages network diagram;
Fig. 3 is that another smart city Streaming Media provided in an embodiment of the present invention manages network diagram;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, being that typical Streaming Media manages network diagram in the prior art.Include in Streaming Media management network Video camera, streaming media wide area network, Streaming Media transfer server, the Streaming Media memory node cluster, Streaming Media of front end Access terminal.
Video camera acquires video data in real time and is converted into the streaming media data stream that can be transmitted, by Streaming Media By streaming media wide area network transmission to Streaming Media transfer server, Streaming Media can be transmitted to data flow by transfer server Streaming Media memory node appropriate is stored in Streaming Media memory node cluster, meanwhile, transfer server can also will flow matchmaker Body is transmitted to Streaming Media access terminal and plays out;In addition, when Streaming Media access terminal desires access in Streaming Media memory node When the Streaming Media of storage, access request can be sent to Streaming Media transfer server, Streaming Media transfer server is from storing The Streaming Media is transferred in the Streaming Media memory node of requested Streaming Media, and forwards it to Streaming Media access terminal.
In the prior art, either the streaming media of acquisition to Streaming Media memory node store or transmitted It is played out to Streaming Media access terminal or Streaming Media accesses the Streaming Media in terminal streaming media memory node and visited It asks, is required to carry out transfer by Streaming Media transfer server, this transmission mode only can be suitably used for small-scale video prison Control, that is to say, that current Streaming Media management network is only capable of being applicable in the limited situation of streaming media data volume.And in wisdom city In city's construction, video camera quantity, Streaming Media access terminal quantity are all magnanimity, and the data volume generated is also magnanimity , this can bring greatly transmission load to stream media network;In addition, for the same stream medium data of storage, it may A large amount of concurrent data access requests are generated, this may result in answering delay.Therefore it under the application background of smart city, needs Improve existing network structure, to improve streaming media efficiency, reduces load, realize low latency response.
The present invention provides a kind of smart city Streaming Medias to manage network, as shown in Fig. 2, smart city Streaming Media manages net It include multiple head end video cameras, streaming media wide area network, stream media scheduling server, Streaming Media memory node collection in network Group.
The video camera can be transmitted for being acquired to head end video, and by the Video Quality Metric of acquisition The stream medium data is sent to stream media scheduling server by streaming media wide area network by stream medium data.
In smart city, there can be a large amount of head end video camera, thus can also generate a large amount of stream medium data, These stream medium datas can be by Streaming Media wide area network transmission to each node, however since the data volume of generation is excessively huge Greatly, huge transmission pressure often is brought to network transmission, the stream that can be acquired these video cameras in the present invention Media data is sent to stream media scheduling server by streaming media wide area network, by stream media scheduling server come pair Stream medium data is scheduled transmission.
The stream media scheduling server, the stream medium data for sending for each video camera are deposited with Streaming Media It stores up the memory node in node cluster and establishes corresponding storage relationship.
Data flow transmitted by each video camera can be regarded as a group data stream, and the same video is taken the photograph It as one group of stream medium data that hair is sent, can be that it distributes multiple memory nodes, be stored jointly by this multiple memory node This group data stream.
Specifically, distributing the Streaming Media storage section for the stream medium data that the same video camera is sent for it Multiple memory nodes in point cluster;Meanwhile the stream medium data that the video camera is sent is divided into several streams at times Media fragment.For example, stream medium data M is generated and sent for it for video camera C1, Streaming Media can be stored and be saved Memory node A, B, C in point cluster distribute to stream medium data M;Meanwhile the stream medium data M for sending video camera C1 It is divided into several Streaming Media segments at times, such as the segments such as PA1, PB1, PC1, PA2, PB2, PC2 ... can be divided into.
By multiple memory nodes of the distribution according to several Streaming Medias of certain circulation storage order and the division Segment, which is established, corresponds storage relationship.Further, the stream medium data sent for the same video camera, Ke Yiwei Its multiple memory nodes distributed setting circulation storage order.For example, for distributed for stream medium data M memory node A, B, C, setting circulation storage order is A-B-C-A-B-C ..., the i.e. sequence that memory node A, B, C is according to A-B-C-A-B-C ... Stream medium data segment PA1, PB1, PC1, PA2, PB2, the PC2 ... divided with Streaming Media M, which is established, corresponds storage pass System.
Further, according to the circulation storage order of multiple memory nodes, the Streaming Media number which is sent According to several stream medium data segments divided, sequencing is successively established correspondingly with each memory node according to the time period Recycle storage relationship.For example, for stream medium data segment PA1, PB1, PC1, PA2, PB2, PC2 ..., the corresponding time Section is respectively T1, T2, T3, T4, T5, T6 ..., it is to be understood that each period meets: T1 is earlier than T2, and T2 is earlier than T3, T3 Earlier than T4 ..., i.e. the sequencing of period are as follows: T1, T2, T3, T4, T5, T6 ..., and stream matchmaker corresponding with each period The sequencing of body segment according to the time period, which sorts, is are as follows: PA1, PB1, PC1, PA2, PB2, PC2 ..., thus can be according in this way Sequence, and one-to-one circulation storage is established according to the circulation storage order A-B-C-A-B-C ... of multiple memory nodes Relationship.As it can be seen that at this point, the divided multiple segments of Streaming Media M and multiple memory node A, B, C specifically store relationship are as follows: PA1 pairs It should be stored in memory node A, PB1 is corresponding to be stored in memory node B, and PC1 is corresponding to be stored in memory node C, and PA2 correspondence is stored in Memory node A, PB2 are corresponding to be stored in memory node B, and PC2 correspondence is stored in memory node C ..., and so on.
The Streaming Media memory node cluster, including multiple memory nodes, each memory node is according to the Streaming Media tune The correspondence storage relationship established in server for the stream medium data that each video camera is sent is spent, by corresponding Streaming Media Segment is stored.
For Streaming Media memory node cluster, it includes multiple memory nodes, for example, may include A, B, C, D, E, F ... waits multiple memory nodes, and each node includes a Streaming Media storage server and the Streaming Media for connecting the server Storage disk array.
According to described previously it is found that video dispatching server has been the stream medium data that each video camera is sent Stream is assigned with multiple memory nodes, and streaming media data stream is established corresponding storage relationship with these memory nodes, then flowing Each memory node in media storage node cluster can be according to the correspondence storage relationship having built up, come to receiving The streaming media data stream that video camera is sent carries out corresponding storage.
For example, the memory node of distribution is A, B, C, the circulation of setting for the Streaming Media M that video camera C1 is sent Storage order is A-B-C-A-B-C ..., and Streaming Media M is divided at times for PA1, PB1, PC1, PA2, PB2, PC2 ... Etc. segments, if by multiple memory node A, B, C of distribution according to circulation storage order A-B-C-A-B-C ... and the division Mainstream media fragment PA1, PB1, PC1, PA2, PB2, PC2 ... are stored according to storage relationship is corresponded, i.e., deposit PA1 It stores up to memory node A, PB1 is stored in memory node B, PC1 is stored in memory node C, PA2 is stored in memory node A, PB2 is stored in memory node B, PC2 is stored in memory node C ..., and so on, until by all of Streaming Media M All sequencing is circuited sequentially and is stored into memory node A, B, C section according to the time period.
The transfer server of Streaming Media is omitted in Streaming Media management network in the present embodiment, utilizes stream media scheduling service Stream medium data is divided into several segments by the period by device, and these segments are stored to multiple Streaming Media memory nodes, is subtracted The data volume load of whole network is lacked.
As shown in figure 3, the present invention also provides another smart city Streaming Medias to manage network, matchmaker is flowed in the smart city It further include Streaming Media access terminal in body management network, for requesting access to the video camera to stream media scheduling server The stream medium data of transmission.Specifically, Streaming Media access terminal can send access request to stream media scheduling server, to obtain Take the stream medium data of corresponding video camera.Since in smart city, Streaming Media accesses the substantial amounts of terminal, thus can It can generate a large amount of concurrent request, such as the stream medium data for the same video camera, it is understood that there may be multiple terminals The case where requesting access to simultaneously, and current Streaming Media is used to manage network, this large amount of concurrent access request can not be handled, System timely can not provide data flow for each terminal, just will appear request delay phenomenon.
In this example, when multiple Streaming Medias access terminal requests access to the Streaming Media number of the same video camera simultaneously According to when, the stream media scheduling server by the multiple Streaming Media access terminal be grouped so that each group include extremely A few Streaming Media accesses terminal, and the stream media scheduling server scheduling is stored with the Streaming Media number of video camera transmission The stream medium data segment of the video camera is successively mass-sended to each terminal group according to multiple memory nodes of segment.
When in face of a large amount of concurrent access request, stream media scheduling server will be to the same video camera Multiple Streaming Medias access terminal that stream medium data initiates request weaves into N group, and in general, each group includes multiple stream matchmakers Body accesses terminal.Because each memory node in Streaming Media memory node cluster is established according to stream media scheduling server Correspondence storage relationship, the corresponding Streaming Media segment of stream medium data that each video camera is sent is stored, Thus when Streaming Media access terminal accesses to the stream medium data of a certain video camera, it can dispatch and be stored with the view Multiple memory nodes of frequency camera stream medium data segment are that Streaming Media accesses terminal transmission stream medium data, specifically, can To dispatch the multiple memory nodes for the stream medium data segment for being stored with video camera transmission successively to each terminal group Mass-send the stream medium data segment of the video camera.
Further, the stream media scheduling server can be stored with the video camera according to certain sequential scheduling Multiple memory nodes of the stream medium data segment of transmission, each scheduled memory node is successively to the small group of each terminal Send out the stream medium data segment of the video camera.For example, when multiple Streaming Medias access terminal accesses video camera C1 simultaneously Stream medium data M when, the stream media scheduling server by multiple Streaming Medias access terminal weave into N group, for Streaming Media number For M, the memory node for its distribution is A, B, C before, and stream media scheduling server can be adjusted according to the sequence of A-B-C These memory nodes are spent, scheduled memory node A, B, C can successively be mass-sended to N number of terminal group according to the sequence of A-B-C Its stream medium data segment stored.
More specifically, each memory node should be met, the memory node is primary only to a small group of terminal Streaming Media segment is sent out, after being sent completely for present terminal group, just mass-sends Streaming Media segment to next terminal group, meanwhile, Next memory node of the memory node starts to mass-send Streaming Media segment for present terminal group, according to above-mentioned rule, until institute Having memory node is that all terminal groups have sent Streaming Media segment.For example, stream media scheduling server scheduling memory node A to 1st terminal group mass-sends stream medium data segment PA1, PA2 ... of its storage, when memory node A is to the 1st terminal group After the completion of mass-sending, stream media scheduling server scheduling memory node B continues the Streaming Media that its storage is mass-sended to the 1st terminal group Data slot PB1, PB2 ..., at the same time, stream media scheduling server scheduling memory node A continue to the 2nd terminal group Mass-send its storage stream medium data segment PA1, PA2 ..., and so on, until memory node A, B, C in the manner described above All Streaming Media segments have been sent for N number of terminal group.
For each group Streaming Media access terminal, Streaming Media segment can be got with the shorter time, effectively dropped Low delay.For example, after the 1st terminal group receives the stream medium data segment in memory node A, the 2nd terminal group The stream medium data segment in memory node A can be also received with shorter delay;And each terminal group is come It says, after obtaining the earliest PA1 of play time with shorter delay, PA2 can be downloaded during playing PA1.
Further, when the segment Length discrepancy that stream media scheduling server streaming media data divide, for example, PA1 Length of the length less than PA2, PB1 is less than PB2 ..., what each group's terminal can be earliest with smaller delay acquisition play time PA1, thus, when Streaming Media access terminal group receives the stream medium data segment of memory node A, can be prolonged with shorter The earliest PA1 of play time is obtained late, and downloads PA2 during playing PA1.It is understood that for other storages The stream medium data segment that node is sent can also reach identical effect, and details are not described herein again.
In above-described embodiment, by the way that multiple requesting terminals are grouped, and by the data parallel in each memory node Be handed down to each terminal group, enhance the concurrency to access request response, reduce delay.It efficiently solves and works as system When generating a large amount of concurrent access request, the problem of request-reply postpones,
The present invention also provides a kind of smart city Streaming Media management methods, comprising:
Head end video is acquired, and is the stream medium data that can be transmitted by the Video Quality Metric of acquisition, by the stream Media data is sent to stream media scheduling server by streaming media wide area network;
The stream medium data sent for each video camera is built with the memory node in Streaming Media memory node cluster Vertical corresponding storage relationship;Specifically: for the stream medium data that the same video camera is sent, the Streaming Media is distributed for it Multiple memory nodes in memory node cluster, meanwhile, the stream medium data which sends is divided at times Several Streaming Media segments;By multiple memory nodes of the distribution according to the several of certain circulation storage order and the division Streaming Media segment, which is established, corresponds storage relationship;
Each memory node in Streaming Media memory node cluster is according to being each in the stream media scheduling server The correspondence storage relationship that the stream medium data that video camera is sent is established, corresponding Streaming Media segment is stored.
Further, the stream medium data sent for the same video camera, which is sent Stream medium data be divided into several Streaming Media segments at times, wherein the stream media scheduling server streaming media data The segment that stream divides is not isometric.
Further, the stream medium data segment division rule are as follows: for the same memory node, corresponding stream The length that media data segment divides is incremented by with the sequencing of period.
Further, if by multiple memory nodes of the distribution according to certain circulation storage order and the division Mainstream media fragment establish correspond storage relationship, specifically: for the same video camera send stream medium data, By multiple memory nodes setting circulation storage order for its distribution, according to the circulation storage order of multiple memory nodes, by this Sequencing is successively and often according to the time period for several stream medium data segments for being divided of stream medium data that video camera is sent A memory node establishes one-to-one circulation storage relationship.
Further, when multiple Streaming Medias access terminal requests access to the stream medium data of the same video camera simultaneously When, the multiple Streaming Media access terminal is grouped by the stream media scheduling server, so that each group includes at least One Streaming Media accesses terminal, and the stream media scheduling server scheduling is stored with the stream medium data of video camera transmission Multiple memory nodes of segment successively mass-send the stream medium data segment of the video camera to each terminal group.
Further, the stream media scheduling server scheduling is stored with the stream medium data piece of video camera transmission Multiple memory nodes of section successively mass-send the stream medium data segment of the video camera to each terminal group, specifically: institute State the stream medium data segment that stream media scheduling server is stored with video camera transmission according to certain sequential scheduling Multiple memory nodes, each scheduled memory node successively mass-send the Streaming Media of the video camera to each terminal group Data slot.
Further, the Streaming Media segment group that will successively store in each memory node issues each terminal group, Wherein, each memory node should be met, the memory node is primary only to mass-send Streaming Media segment to a terminal group, is After present terminal group is sent completely, just to next terminal group mass-send Streaming Media segment, meanwhile, the memory node it is next Memory node starts to mass-send Streaming Media segment for present terminal group, according to above-mentioned rule, until all memory nodes are all Terminal group has sent Streaming Media segment.
Under the application scenarios of smart city, Streaming Media management network in smart city of the invention and its method, energy are utilized Enough efficiently management Streaming Medias reduce network load, realize the low latency response to access request.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and this field skill Art personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, it does not answer Any reference symbol between parentheses is configured to limitations on claims.Word "comprising", which does not exclude the presence of, not to be listed in Element or step in claim.Word "a" or "an" located in front of the element does not exclude the presence of multiple such members Part.The present invention can be realized by means of including the hardware of several different elements and by means of properly programmed computer. In the unit claims listing several devices, several in these devices, which can be through the same hardware branch, has Body embodies.The use of word first, second, and third does not indicate any sequence.These words can be construed to title.

Claims (9)

1. a kind of smart city Streaming Media manages network characterized by comprising multiple video cameras, streaming media are wide Domain net, stream media scheduling server, Streaming Media memory node cluster;
The video camera is the stream matchmaker that can be transmitted for being acquired to head end video, and by the Video Quality Metric of acquisition The stream medium data is sent to stream media scheduling server by streaming media wide area network by volume data;
The stream media scheduling server, stream medium data and Streaming Media storage for sending for each video camera save Memory node in point cluster establishes corresponding storage relationship;Specifically: the Streaming Media number sent for the same video camera According to, multiple memory nodes in the Streaming Media memory node cluster are distributed for it, meanwhile, the stream which is sent Media data is divided into several Streaming Media segments at times;Multiple memory nodes of the distribution are stored according to certain circulation Sequence and several Streaming Media segments of the division are established and correspond storage relationship;
The Streaming Media memory node cluster, including multiple memory nodes, each memory node take according to the stream media scheduling The correspondence storage relationship established in business device for the stream medium data that each video camera is sent, by corresponding Streaming Media segment It is stored.
2. smart city Streaming Media as described in claim 1 manages network, which is characterized in that described that the same video is taken the photograph As the stream medium data that hair is sent, the stream medium data which sends is divided into several Streaming Media pieces at times Section, wherein the segment that the stream media scheduling server streaming media data flow divides is not isometric.
3. smart city Streaming Media as claimed in claim 2 manages network, which is characterized in that the stream medium data segment is drawn Divider is then are as follows: for the same memory node, length that corresponding stream medium data segment divides is successive with the period Sequentially.
4. smart city Streaming Media as described in claim 1 manages network, which is characterized in that by multiple storages of the distribution Node is established according to certain circulation storage order and several Streaming Media segments of the division and corresponds storage relationship, specifically Are as follows: for the stream medium data that the same video camera is sent, by multiple memory nodes setting circulation storage for its distribution Sequentially, according to the circulation storage order of multiple memory nodes, if the stream medium data that the video camera is sent is divided Sequencing successively establishes one-to-one circulation storage relationship to mainstream media data segment with each memory node according to the time period.
5. the smart city Streaming Media as described in claim 1-4 is any manages network, which is characterized in that further include that Streaming Media is visited Terminal is asked, for requesting access to the stream medium data that the video camera is sent to stream media scheduling server.
6. smart city Streaming Media as claimed in claim 5 manages network, which is characterized in that when multiple Streaming Medias access terminal Simultaneously when requesting access to the stream medium data of the same video camera, the stream media scheduling server is by the multiple stream matchmaker Body access terminal is grouped, so that each group includes that at least one Streaming Media accesses terminal, the stream media scheduling service Device scheduling is stored with multiple memory nodes of the stream medium data segment of video camera transmission successively to each terminal group Mass-send the stream medium data segment of the video camera.
7. smart city Streaming Media as claimed in claim 6 manages network, which is characterized in that the stream media scheduling server Scheduling is stored with multiple memory nodes of the stream medium data segment of video camera transmission successively to the small group of each terminal The stream medium data segment of the video camera is sent out, specifically: the stream media scheduling server is according to certain sequential scheduling Be stored with the video camera transmission stream medium data segment multiple memory nodes, each scheduled memory node according to The secondary stream medium data segment that the video camera is mass-sended to each terminal group.
8. smart city Streaming Media as claimed in claim 7 manages network, which is characterized in that described successively to store each The Streaming Media segment group stored in node issues each terminal group, wherein each memory node should be met, the storage section Point is primary only to mass-send Streaming Media segment to a terminal group, after being sent completely for present terminal group, just to next terminal Group mass-sends Streaming Media segment, meanwhile, next memory node of the memory node starts to mass-send Streaming Media for present terminal group Segment, according to above-mentioned rule, until all memory nodes are that all terminal groups have sent Streaming Media segment.
9. a kind of smart city Streaming Media management method, it is characterised in that:
Head end video is acquired, and is the stream medium data that can be transmitted by the Video Quality Metric of acquisition, by the Streaming Media Data are sent to stream media scheduling server by streaming media wide area network;
Memory node foundation pair in the stream medium data and Streaming Media memory node cluster sent for each video camera Relationship should be stored;Specifically: for the stream medium data that the same video camera is sent, the Streaming Media storage is distributed for it Multiple memory nodes in node cluster, meanwhile, the stream medium data which sends is divided at times several Streaming Media segment;By multiple memory nodes of the distribution according to several stream matchmakers of certain circulation storage order and the division Body segment, which is established, corresponds storage relationship;
Each memory node in Streaming Media memory node cluster is according to being each video in the stream media scheduling server The correspondence storage relationship that the stream medium data that camera is sent is established, corresponding Streaming Media segment is stored.
CN201910551335.5A 2019-06-24 2019-06-24 Smart city streaming media management network and method thereof Active CN110417735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910551335.5A CN110417735B (en) 2019-06-24 2019-06-24 Smart city streaming media management network and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910551335.5A CN110417735B (en) 2019-06-24 2019-06-24 Smart city streaming media management network and method thereof

Publications (2)

Publication Number Publication Date
CN110417735A true CN110417735A (en) 2019-11-05
CN110417735B CN110417735B (en) 2020-09-11

Family

ID=68359611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910551335.5A Active CN110417735B (en) 2019-06-24 2019-06-24 Smart city streaming media management network and method thereof

Country Status (1)

Country Link
CN (1) CN110417735B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026634A (en) * 2007-01-24 2007-08-29 中兴通讯股份有限公司 Message push system and method
CN101137051A (en) * 2006-09-29 2008-03-05 中兴通讯股份有限公司 Dynamic program distribution and service method in cluster type stream media system
CN101917388A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Streaming media data storage method and device
CN102663577A (en) * 2012-04-13 2012-09-12 苏州盛世华安智能科技有限公司 Smart city internet of things system based on cloud platform
CN103297452A (en) * 2012-02-24 2013-09-11 北京对角巷科技发展有限公司 Method and system for publishing and broadcasting streaming media on Internet in live mode
CN104038771A (en) * 2014-06-19 2014-09-10 常州大学 High-effect streaming media file distributed storage system and method based on Hadoop2
CN104580067A (en) * 2013-10-11 2015-04-29 北京大学 Multiserver-based stream media transmitting device and stream media transmitting method
CN105103518A (en) * 2013-03-28 2015-11-25 英国电讯有限公司 Content distribution system and method
CN105513400A (en) * 2015-12-03 2016-04-20 四川长虹电器股份有限公司 Method for dynamically planning travel route
CN106375721A (en) * 2016-09-14 2017-02-01 重庆邮电大学 Smart video monitoring system based on cloud platform
CN107172391A (en) * 2017-05-19 2017-09-15 常州普适信息科技有限公司 Distributed video memory management method and system based on Hadoop framework
CN107734308A (en) * 2017-11-11 2018-02-23 成都优力德新能源有限公司 A kind of smart city monitoring system
CN109922315A (en) * 2019-03-01 2019-06-21 西安电子科技大学 A kind of real-time video behavior analysis method based on Spark and OpenCV

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101137051A (en) * 2006-09-29 2008-03-05 中兴通讯股份有限公司 Dynamic program distribution and service method in cluster type stream media system
CN101026634A (en) * 2007-01-24 2007-08-29 中兴通讯股份有限公司 Message push system and method
CN101917388A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Streaming media data storage method and device
CN103297452A (en) * 2012-02-24 2013-09-11 北京对角巷科技发展有限公司 Method and system for publishing and broadcasting streaming media on Internet in live mode
CN102663577A (en) * 2012-04-13 2012-09-12 苏州盛世华安智能科技有限公司 Smart city internet of things system based on cloud platform
CN105103518A (en) * 2013-03-28 2015-11-25 英国电讯有限公司 Content distribution system and method
CN104580067A (en) * 2013-10-11 2015-04-29 北京大学 Multiserver-based stream media transmitting device and stream media transmitting method
CN104038771A (en) * 2014-06-19 2014-09-10 常州大学 High-effect streaming media file distributed storage system and method based on Hadoop2
CN105513400A (en) * 2015-12-03 2016-04-20 四川长虹电器股份有限公司 Method for dynamically planning travel route
CN106375721A (en) * 2016-09-14 2017-02-01 重庆邮电大学 Smart video monitoring system based on cloud platform
CN107172391A (en) * 2017-05-19 2017-09-15 常州普适信息科技有限公司 Distributed video memory management method and system based on Hadoop framework
CN107734308A (en) * 2017-11-11 2018-02-23 成都优力德新能源有限公司 A kind of smart city monitoring system
CN109922315A (en) * 2019-03-01 2019-06-21 西安电子科技大学 A kind of real-time video behavior analysis method based on Spark and OpenCV

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙欢欢: ""无线传感器网络分布式数据存储研究"", 《中国优秀硕士学位论文全文数据库,信息科技辑》 *

Also Published As

Publication number Publication date
CN110417735B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN101136932B (en) Cluster type stream media networking system and its content issue and service method
CN110012300B (en) Video live broadcasting method and device
CN109062658A (en) Realize dispatching method, device, medium, equipment and the system of computing resource serviceization
CN101582917B (en) Method for dispatching MCU resource, business server and system
CN109194584A (en) A kind of flux monitoring method, device, computer equipment and storage medium
EP0798925A2 (en) Method and apparatus for providing enhanced pay per view in a video server
CN107104992A (en) The storage resource distribution method and device of a kind of video cloud storage
CN101160942A (en) Method and system for mobile terminal downloading data and data sharing between mobile terminals
US8281349B2 (en) Data providing system
CN101588287B (en) Method, device and system for scheduling and downloading peer-to-peer network data
KR20110119229A (en) P2p live streaming system for high-definition media broadcasting and the method therefor
CN104469391A (en) Cloud-platform-based digital television content distribution system and method
CN104346283B (en) The inquiry amount distribution method and device of network media information amount of storage
Gotoh et al. A broadcasting scheme for selective contents considering available bandwidth
CN110278254A (en) Dispatching method and dispatching terminal for FogCDN scene
CN101247206B (en) Layered transmission method and control system of peer-to-peer network
CN102118315A (en) Method for fluidizing, recording and reading data and system adopting same
CN110602545A (en) Distributed recording execution method for network live broadcast
CN110231915A (en) Data managing method, system, device, computer equipment and storage medium
CN110417735A (en) A kind of smart city Streaming Media management network and its method
CN108833294A (en) The traffic scheduling method of the low bandwidth overhead of data-oriented center wide area network
Gao et al. Minimizing resource cost for camera stream scheduling in video data center
CN102546230A (en) Overlay-network topological optimization method in P2P (Peer-To-Peer) streaming media system
CN106210751A (en) The method and system of internet video live broadcasting data hierarchy transmission
Carlsson et al. Using torrent inflation to efficiently serve the long tail in peer-assisted content delivery systems

Legal Events

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