CN110417735B - Smart city streaming media management network and method thereof - Google Patents

Smart city streaming media management network and method thereof Download PDF

Info

Publication number
CN110417735B
CN110417735B CN201910551335.5A CN201910551335A CN110417735B CN 110417735 B CN110417735 B CN 110417735B CN 201910551335 A CN201910551335 A CN 201910551335A CN 110417735 B CN110417735 B CN 110417735B
Authority
CN
China
Prior art keywords
streaming media
storage
video camera
media data
segments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910551335.5A
Other languages
Chinese (zh)
Other versions
CN110417735A (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a smart city stream media management network and a method thereof, wherein the stream media management network comprises: the system comprises a plurality of video cameras, a streaming media transmission wide area network, a streaming media scheduling server and a streaming media storage node cluster; the video camera is used for collecting front-end video, converting the collected video into streaming media data which can be transmitted, and sending the streaming media data to the streaming media scheduling server through a streaming media transmission wide area network; the streaming media scheduling server is used for establishing a corresponding storage relationship between streaming media data sent by each video camera and storage nodes in the streaming media storage node cluster. The streaming media storage node cluster comprises a plurality of storage nodes, and each storage node stores corresponding streaming media segments according to a corresponding storage relation established for streaming media data sent by each video camera in the streaming media scheduling server. The intelligent city streaming media management network can reduce network load and response delay.

Description

Smart city streaming media management network and method thereof
Technical Field
The invention belongs to the technical field of video monitoring, and particularly relates to a smart city streaming media management network and a method thereof.
Background
The mass video cameras distributed in all places of the urban space form a basic video monitoring data acquisition network of the smart city, and the video monitoring data acquisition network can be applied to all aspects of the smart city such as security defense, traffic monitoring, people flow analysis, target tracking and the like. For the convenience of video data transmission, storage and viewing, management networks based on streaming media formats have been generally established at present. However, the existing streaming media management network is mainly constructed for a small-scale video surveillance (e.g. a community, a building or a neighborhood), so the streaming data amount, the number of video cameras and the number of streaming media access terminals are relatively limited. In the range of smart cities, no matter the number of front-end video cameras or the number of streaming media access terminals is massive, massive streaming media can be generated correspondingly, and great data transmission load is brought to a streaming media network; for the same stored streaming media data, a concurrent and large number of access requests may be generated, which may result in a large response delay. Therefore, in the application scene of the smart city, how to efficiently manage streaming media, reduce load, and realize low-delay response to an access request becomes a new problem to be solved.
Disclosure of Invention
In view of the above, the present invention provides a smart city streaming media management network and a method thereof.
The invention provides a smart city streaming media management network, which comprises: the system comprises a plurality of video cameras, a streaming media transmission wide area network, a streaming media scheduling server and a streaming media storage node cluster;
the video camera is used for collecting front-end video, converting the collected video into streaming media data which can be transmitted, and sending the streaming media data to the streaming media scheduling server through a streaming media transmission wide area network;
the streaming media scheduling server is used for establishing a corresponding storage relationship between streaming media data sent by each video camera and storage nodes in a streaming media storage node cluster; the method specifically comprises the following steps: distributing a plurality of storage nodes in the streaming media storage node cluster for streaming media data sent by the same video camera, and dividing the streaming media data sent by the video camera into a plurality of streaming media segments in different periods; and establishing a one-to-one corresponding storage relationship between the distributed storage nodes and the plurality of divided streaming media segments according to a certain circulating storage sequence.
The streaming media storage node cluster comprises a plurality of storage nodes, and each storage node stores corresponding streaming media segments according to a corresponding storage relation established for streaming media data sent by each video camera in the streaming media scheduling server.
Further, for the streaming media data sent by the same video camera, the streaming media data sent by the video camera is divided into a plurality of streaming media segments in different time periods, where the segments divided by the streaming media scheduling server for the streaming media data stream are not equal in length.
Further, the streaming media data segment division rule is as follows: for the same storage node, the length of the division of the streaming media data segment corresponding to the same storage node is increased progressively according to the sequence of the time periods.
Further, establishing a one-to-one correspondence relationship between the distributed plurality of storage nodes and the plurality of divided streaming media segments according to a certain cyclic storage sequence, specifically: for the streaming media data sent by the same video camera, setting a cyclic storage sequence for a plurality of storage nodes distributed to the streaming media data, and establishing a one-to-one cyclic storage relationship between a plurality of streaming media data segments divided by the streaming media data sent by the video camera and each storage node according to the cyclic storage sequence of the plurality of storage nodes in sequence of time periods.
Further, the smart city streaming media management network further includes: and the streaming media access terminal is used for requesting the streaming media scheduling server to access the streaming media data sent by the video camera.
Further, when a plurality of streaming media access terminals simultaneously request to access streaming media data of the same video camera, the streaming media scheduling server groups the plurality of streaming media access terminals, so that each group includes at least one streaming media access terminal, and the streaming media scheduling server schedules a plurality of storage nodes storing streaming media data segments sent by the video camera to send the streaming media data segments of the video camera to each terminal group in a group in sequence.
Further, the streaming media scheduling server schedules a plurality of storage nodes storing the streaming media data segments sent by the video camera to sequentially send the streaming media data segments of the video camera to each terminal group in a group, specifically: the streaming media scheduling server schedules a plurality of storage nodes storing the streaming media data segments sent by the video camera according to a certain sequence, and each scheduled storage node sends the streaming media data segments of the video camera to each terminal group in a group in sequence.
Further, the streaming media segments stored in each storage node are sequentially sent to each terminal group, wherein for each storage node, the storage node only sends streaming media segments to one terminal group at a time, and after the sending for the current terminal group is completed, the streaming media segments are sent to the next terminal group in a group manner, and meanwhile, the next storage node of the storage node starts to send streaming media segments for the current terminal group in a group manner, according to the above rules, until all the storage nodes send streaming media segments for all the terminal groups.
The invention also provides a smart city streaming media management method, which comprises the following steps:
the method comprises the steps of collecting front-end videos, converting the collected videos into streaming media data capable of being transmitted, and sending the streaming media data to a streaming media scheduling server through a streaming media transmission wide area network;
establishing a corresponding storage relation between streaming media data sent by each video camera and storage nodes in a streaming media storage node cluster; the method specifically comprises the following steps: distributing a plurality of storage nodes in the streaming media storage node cluster for streaming media data sent by the same video camera, and dividing the streaming media data sent by the video camera into a plurality of streaming media segments in different periods; establishing a one-to-one corresponding storage relationship between the distributed storage nodes and the divided streaming media segments according to a certain circulating storage sequence;
and each storage node in the streaming media storage node cluster stores the corresponding streaming media segment according to the corresponding storage relationship established for the streaming media data sent by each video camera in the streaming media scheduling server.
Further, for the streaming media data sent by the same video camera, the streaming media data sent by the video camera is divided into a plurality of streaming media segments in different time periods, where the segments divided by the streaming media scheduling server for the streaming media data stream are not equal in length.
Further, the streaming media data segment division rule is as follows: for the same storage node, the length of the division of the streaming media data segment corresponding to the same storage node is increased progressively according to the sequence of the time periods.
Further, establishing a one-to-one correspondence relationship between the distributed plurality of storage nodes and the plurality of divided streaming media segments according to a certain cyclic storage sequence, specifically: for the streaming media data sent by the same video camera, setting a cyclic storage sequence for a plurality of storage nodes distributed to the streaming media data, and establishing a one-to-one cyclic storage relationship between a plurality of streaming media data segments divided by the streaming media data sent by the video camera and each storage node according to the cyclic storage sequence of the plurality of storage nodes in sequence of time periods.
Further, when a plurality of streaming media access terminals simultaneously request to access streaming media data of the same video camera, the streaming media scheduling server groups the plurality of streaming media access terminals, so that each group includes at least one streaming media access terminal, and the streaming media scheduling server schedules a plurality of storage nodes storing streaming media data segments sent by the video camera to send the streaming media data segments of the video camera to each terminal group in a group in sequence.
Further, the streaming media scheduling server schedules a plurality of storage nodes storing the streaming media data segments sent by the video camera to sequentially send the streaming media data segments of the video camera to each terminal group in a group, specifically: the streaming media scheduling server schedules a plurality of storage nodes storing the streaming media data segments sent by the video camera according to a certain sequence, and each scheduled storage node sends the streaming media data segments of the video camera to each terminal group in a group in sequence.
Further, the streaming media segments stored in each storage node are sequentially sent to each terminal group, wherein for each storage node, the storage node only sends streaming media segments to one terminal group at a time, and after the sending for the current terminal group is completed, the streaming media segments are sent to the next terminal group in a group manner, and meanwhile, the next storage node of the storage node starts to send streaming media segments for the current terminal group in a group manner, according to the above rules, until all the storage nodes send streaming media segments for all the terminal groups.
Therefore, the intelligent city streaming media management network and the method thereof provided by the invention can reduce the data volume load of the whole network by dividing the streaming media data sent by each video camera into segments and storing the segments into a plurality of storage nodes; when a plurality of streaming media terminals simultaneously access the request of streaming media data sent by the same camera, the streaming media terminals are grouped, and the data in each storage node is sent to each terminal group in parallel, so that the concurrency of response to the access request is enhanced, and the delay is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a diagram of a typical streaming media management network in the prior art;
fig. 2 is a schematic diagram of a smart city streaming media management network according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another smart city streaming media management network according to an embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of a typical streaming media management network in the prior art. The streaming media management network comprises a front-end video camera, a streaming media transmission wide area network, a streaming media transfer server, a streaming media storage node cluster and a streaming media access terminal.
The video camera collects video data in real time and converts the video data into a streaming media data stream which can be transmitted, the streaming media data stream is transmitted to the streaming media transfer server through a streaming media transmission wide area network, the transfer server can forward the streaming media to a proper streaming media storage node in a streaming media storage node cluster for storage, and meanwhile, the transfer server can also forward the streaming media to a streaming media access terminal for playing; in addition, when the streaming media access terminal wants to access the streaming media stored in the streaming media storage node, the access request may be sent to the streaming media relay server, and the streaming media relay server retrieves the streaming media from the streaming media storage node storing the requested streaming media and forwards the streaming media to the streaming media access terminal.
In the prior art, whether the collected streaming media is transmitted to a streaming media storage node for storage or transmitted to a streaming media access terminal for playing, or the streaming media access terminal accesses the streaming media in the streaming media storage node, the streaming media needs to be relayed by a streaming media relay server, and this transmission mode can only be applied to small-range video monitoring, that is, the current streaming media management network can only be applied to the condition that the streaming media transmission data volume is limited. In the construction of smart cities, the number of video cameras and the number of streaming media access terminals are massive, and the amount of generated data is also massive, which brings great transmission load to a streaming media network; furthermore, for the same stored streaming media data, a large number of concurrent data access requests may be generated, which may result in a delayed response. Therefore, in the application background of smart cities, it is necessary to improve the existing network structure to improve the streaming media transmission efficiency, reduce the load, and achieve low-delay response.
The invention provides a smart city streaming media management network, as shown in fig. 2, the smart city streaming media management network comprises a plurality of front-end video cameras, a streaming media transmission wide area network, a streaming media scheduling server, and a streaming media storage node cluster.
The video camera is used for collecting front-end videos, converting the collected videos into streaming media data capable of being transmitted, and sending the streaming media data to the streaming media scheduling server through the streaming media transmission wide area network.
In a smart city, a large number of front-end video cameras exist, so that a large number of streaming media data can be generated, and the streaming media data can be transmitted to each node through a streaming media wide area network.
The streaming media scheduling server is used for establishing a corresponding storage relationship between streaming media data sent by each video camera and storage nodes in the streaming media storage node cluster.
The data stream transmitted by each video camera can be regarded as a group of data streams, and for a group of streaming media data transmitted by the same video camera, a plurality of storage nodes can be allocated to the group of streaming media data, and the group of data streams is stored by the plurality of storage nodes together.
Specifically, for streaming media data sent by the same video camera, a plurality of storage nodes in the streaming media storage node cluster are allocated to the streaming media data; meanwhile, the streaming media data sent by the video camera is divided into a plurality of streaming media segments in different periods. For example, for video camera C1, for which streaming media data M is generated and transmitted, storage node A, B, C in the streaming media storage node cluster may be assigned to streaming media data M; meanwhile, the streaming media data M sent by the video camera C1 is divided into several streaming media segments in different time periods, for example, the segments may be divided into segments such as PA1, PB1, PC1, PA2, PB2, and PC2 … ….
And establishing a one-to-one corresponding storage relationship between the distributed storage nodes and the plurality of divided streaming media segments according to a certain circulating storage sequence. Further, for streaming media data sent by the same video camera, a cyclic storage sequence may be set for a plurality of storage nodes allocated to the streaming media data. For example, for the storage node A, B, C allocated for the streaming media data M, the circular storage order is set to be a-B-C-a-B-C … …, that is, the storage node A, B, C establishes a one-to-one correspondence between the streaming media data segments PA1, PB1, PC1, PA2, PB2, and PC2 … … divided by the streaming media data M according to the order of a-B-C-a-B-C … ….
Furthermore, according to the cyclic storage sequence of the plurality of storage nodes, a one-to-one cyclic storage relationship is established between a plurality of streaming media data segments divided by the streaming media data sent by the video camera and each storage node in sequence according to the time period sequence. For example, for the streaming media data segments PA1, PB1, PC1, PA2, PB2, and PC2 … …, which correspond to time periods T1, T2, T3, T4, T5, and T6 … …, respectively, it is understood that the time periods satisfy: t1 is earlier than T2, T2 is earlier than T3, T3 is earlier than T4 … …, i.e. the chronological order of the time segments is: t1, T2, T3, T4, T5, and T6 … …, and the sequential ordering of the streaming media segments corresponding to each time segment according to the time segment is: PA1, PB1, PC1, PA2, PB2 and PC2 … …, so that a one-to-one circular storage relationship can be established according to the circular storage sequence A-B-C-A-B-C … … of the storage nodes in the sequence. It can be seen that, at this time, the specific storage relationship between the segments into which the streaming media M is divided and the storage nodes A, B, C is: PA1 is stored in storage node A, PB1 is stored in storage node B, PC1 is stored in storage node C, PA2 is stored in storage node A, PB2 is stored in storage node B, PC2 is stored in storage node C … …, and so on.
The streaming media storage node cluster comprises a plurality of storage nodes, and each storage node stores corresponding streaming media segments according to a corresponding storage relation established for streaming media data sent by each video camera in the streaming media scheduling server.
For a cluster of streaming media storage nodes, it includes a plurality of storage nodes, for example, A, B, C, D, E, F … …, each node includes a streaming media storage server and a streaming media storage disk array connected to the server.
As can be seen from the foregoing, the video scheduling server has allocated a plurality of storage nodes for the streaming media data stream sent by each video camera, and establishes a corresponding storage relationship between the streaming media data stream and the storage nodes, so that each storage node in the streaming media storage node cluster can correspondingly store the received streaming media data stream sent by the video camera according to the established corresponding storage relationship.
For example, for the streaming media M sent by the video camera C1, the allocated storage node is A, B, C, the set circular storage order is a-B-C-a-B-C … …, the streaming media M is divided into segments of PA1, PB1, PC1, PA2, PB2, PC2 … …, and the like by time division, the allocated storage nodes A, B, C are stored in a one-to-one correspondence relationship according to the circular storage order of a-B-C-a-B-C … … and the divided streaming media segments of PA1, PB1, PC1, PB 35 2, PB2, and PC2 … …, that is, PA1 is stored in storage node a, PB1 is stored in storage node B, PC1 is stored in storage node C, PA2 is stored in storage node a, PB2 is stored in storage node B, PB2 is stored in storage node C … …, and so on, until all segments of the streaming media M are stored in the storage node A, B, C in a time-sequential and cyclic manner.
The streaming media management network in the embodiment omits a transfer server of the streaming media, divides streaming media data into a plurality of segments according to time periods by using a streaming media scheduling server, and stores the segments to a plurality of streaming media storage nodes, thereby reducing the data volume load of the whole network.
As shown in fig. 3, the present invention further provides another smart city streaming media management network, where the smart city streaming media management network further includes a streaming media access terminal, configured to request a streaming media scheduling server to access streaming media data sent by the video camera. Specifically, the streaming media access terminal may send an access request to the streaming media scheduling server to obtain streaming media data of a corresponding video camera. In a smart city, the number of streaming media access terminals is huge, so a large number of concurrent requests may be generated, for example, for streaming media data of the same video camera, a situation that a plurality of terminals request access at the same time may exist, and with the current streaming media management network, the large number of concurrent access requests cannot be processed, and a system cannot provide data streams for each terminal in time, and a request delay phenomenon may occur.
In this example, when a plurality of streaming media access terminals simultaneously request to access streaming media data of the same video camera, the streaming media scheduling server groups the plurality of streaming media access terminals, so that each group includes at least one streaming media access terminal, and the streaming media scheduling server schedules a plurality of storage nodes storing streaming media data segments sent by the video camera to send the streaming media data segments of the video camera to each terminal group in a group in sequence.
When facing a large number of concurrent access requests, the streaming media scheduling server organizes a plurality of streaming media access terminals that initiate requests for streaming media data of the same video camera into N groups, and generally, each group includes a plurality of streaming media access terminals. Because each storage node in the streaming media storage node cluster stores the streaming media segment corresponding to the streaming media data sent by each video camera according to the corresponding storage relationship established by the streaming media scheduling server, when the streaming media access terminal accesses the streaming media data of a certain video camera, the plurality of storage nodes storing the streaming media data segment of the video camera can be scheduled to send the streaming media data to the streaming media access terminal, and specifically, the plurality of storage nodes storing the streaming media data segment sent by the video camera can be scheduled to send the streaming media data segment of the video camera to each terminal group in a group in sequence.
Further, the streaming media scheduling server may schedule, according to a certain sequence, a plurality of storage nodes storing the streaming media data segments sent by the video camera, and each scheduled storage node sends the streaming media data segments of the video camera to each terminal group in a group in sequence. For example, when multiple streaming media access terminals access streaming media data M of video camera C1 simultaneously, the streaming media scheduling server groups the multiple streaming media access terminals into N groups, for the streaming media data M, the storage node allocated to it before is A, B, C, the streaming media scheduling server may schedule these storage nodes according to the order of a-B-C, and the scheduled storage node A, B, C may send its stored streaming media data segments to N terminal subgroups in turn according to the order of a-B-C.
More specifically, it should be satisfied that, for each storage node, the storage node only sends streaming media segments to one terminal group at a time, and after the sending for the current terminal group is completed, the storage node sends streaming media segments to the next terminal group in a group, and meanwhile, the next storage node of the storage node starts to send streaming media segments for the current terminal group in a group, until all the storage nodes send streaming media segments for all the terminal groups according to the above rule. For example, the streaming media scheduling server schedules the storage node a to send the stored streaming media data segments PA1, PA2 … … to the 1 st terminal group in a group, and after the storage node a finishes sending to the 1 st terminal group in a group, the streaming media scheduling server schedules the storage node B to continue sending the stored streaming media data segments PB1, PB2 … … to the 1 st terminal group in a group, and at the same time, the streaming media scheduling server schedules the storage node a to continue sending the stored streaming media data segments PA1, PA2 … … to the 2 nd terminal group in a group, and so on until the storage node A, B, C finishes sending all the streaming media segments for the N terminal groups in the above manner.
For each group of streaming media access terminals, the streaming media segments can be acquired in a shorter time, and the delay is effectively reduced. For example, after the 1 st terminal group receives the streaming media data segment in the storage node a, the 2 nd terminal group can also receive the streaming media data segment in the storage node a with a short delay; and for each terminal group, after obtaining the PA1 with the earliest play time with a shorter delay, it is possible to download the PA2 in the course of playing the PA 1.
Further, when the streaming media scheduling server divides the streaming media data into segments of unequal lengths, for example, the length of the PA1 is smaller than that of the PA2 and that of the PB1 is smaller than that of the PB2 … …, each group terminal can obtain the PA1 with the earliest playing time with smaller delay, and thus, when the streaming media access terminal group receives the streaming media data segment of the storage node a, the PA1 with the earliest playing time can be obtained with shorter delay, and the PA2 is downloaded in the process of playing the PA 1. It can be understood that the same effect can be achieved for the streaming media data segments sent by other storage nodes, and the description is omitted here.
In the embodiment, the plurality of request terminals are grouped, and the data in each storage node is sent to each terminal group in parallel, so that the concurrency of response to the access request is enhanced, and the delay is reduced. Effectively solves the problem of request response delay when a system generates a large number of concurrent access requests,
the invention also provides a smart city streaming media management method, which comprises the following steps:
the method comprises the steps of collecting front-end videos, converting the collected videos into streaming media data capable of being transmitted, and sending the streaming media data to a streaming media scheduling server through a streaming media transmission wide area network;
establishing a corresponding storage relation between streaming media data sent by each video camera and storage nodes in a streaming media storage node cluster; the method specifically comprises the following steps: distributing a plurality of storage nodes in the streaming media storage node cluster for streaming media data sent by the same video camera, and dividing the streaming media data sent by the video camera into a plurality of streaming media segments in different periods; establishing a one-to-one corresponding storage relationship between the distributed storage nodes and the divided streaming media segments according to a certain circulating storage sequence;
and each storage node in the streaming media storage node cluster stores the corresponding streaming media segment according to the corresponding storage relationship established for the streaming media data sent by each video camera in the streaming media scheduling server.
Further, for the streaming media data sent by the same video camera, the streaming media data sent by the video camera is divided into a plurality of streaming media segments in different time periods, where the segments divided by the streaming media scheduling server for the streaming media data stream are not equal in length.
Further, the streaming media data segment division rule is as follows: for the same storage node, the length of the division of the streaming media data segment corresponding to the same storage node is increased progressively according to the sequence of the time periods.
Further, establishing a one-to-one correspondence relationship between the distributed plurality of storage nodes and the plurality of divided streaming media segments according to a certain cyclic storage sequence, specifically: for the streaming media data sent by the same video camera, setting a cyclic storage sequence for a plurality of storage nodes distributed to the streaming media data, and establishing a one-to-one cyclic storage relationship between a plurality of streaming media data segments divided by the streaming media data sent by the video camera and each storage node according to the cyclic storage sequence of the plurality of storage nodes in sequence of time periods.
Further, when a plurality of streaming media access terminals simultaneously request to access streaming media data of the same video camera, the streaming media scheduling server groups the plurality of streaming media access terminals, so that each group includes at least one streaming media access terminal, and the streaming media scheduling server schedules a plurality of storage nodes storing streaming media data segments sent by the video camera to send the streaming media data segments of the video camera to each terminal group in a group in sequence.
Further, the streaming media scheduling server schedules a plurality of storage nodes storing the streaming media data segments sent by the video camera to sequentially send the streaming media data segments of the video camera to each terminal group in a group, specifically: the streaming media scheduling server schedules a plurality of storage nodes storing the streaming media data segments sent by the video camera according to a certain sequence, and each scheduled storage node sends the streaming media data segments of the video camera to each terminal group in a group in sequence.
Further, the streaming media segments stored in each storage node are sequentially sent to each terminal group, wherein for each storage node, the storage node only sends streaming media segments to one terminal group at a time, and after the sending for the current terminal group is completed, the streaming media segments are sent to the next terminal group in a group manner, and meanwhile, the next storage node of the storage node starts to send streaming media segments for the current terminal group in a group manner, according to the above rules, until all the storage nodes send streaming media segments for all the terminal groups.
In the application scene of the smart city, the stream media management network and the method thereof in the smart city can efficiently manage the stream media, reduce the network load and realize low-delay response to the access request.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (4)

1. A smart city streaming media management system, comprising: the system comprises a plurality of video cameras, a streaming media transmission wide area network, a streaming media scheduling server and a streaming media storage node cluster;
the video camera is used for collecting front-end video, converting the collected video into streaming media data which can be transmitted, and sending the streaming media data to the streaming media scheduling server through a streaming media transmission wide area network;
the streaming media scheduling server is used for establishing a corresponding storage relationship between streaming media data sent by each video camera and storage nodes in a streaming media storage node cluster; the method specifically comprises the following steps: distributing a plurality of storage nodes in the streaming media storage node cluster for streaming media data sent by the same video camera, and dividing the streaming media data sent by the video camera into a plurality of streaming media segments in different periods; establishing a one-to-one corresponding storage relationship between the distributed storage nodes and the divided streaming media segments according to a certain circulating storage sequence;
the streaming media storage node cluster comprises a plurality of storage nodes, and each storage node stores corresponding streaming media segments according to a corresponding storage relation established for streaming media data sent by each video camera in the streaming media scheduling server;
establishing a one-to-one correspondence storage relationship between the distributed storage nodes and the divided streaming media segments according to a certain cyclic storage sequence, specifically: setting a cyclic storage sequence for a plurality of storage nodes distributed to streaming media data sent by the same video camera, and establishing a one-to-one cyclic storage relationship between a plurality of streaming media data segments divided by the streaming media data sent by the video camera and each storage node according to the cyclic storage sequence of the plurality of storage nodes in sequence of time periods;
the system also comprises a streaming media access terminal used for requesting a streaming media scheduling server to access streaming media data sent by the video camera;
when a plurality of streaming media access terminals simultaneously request to access streaming media data of the same video camera, the streaming media scheduling server groups the plurality of streaming media access terminals, so that each group comprises at least one streaming media access terminal, and the streaming media scheduling server schedules a plurality of storage nodes which store streaming media data fragments sent by the video camera to send the streaming media data fragments of the video camera to each terminal group in a group in sequence;
the streaming media data segment division rule is as follows: for the same storage node, the length of the division of the streaming media data segment corresponding to the same storage node is increased progressively according to the sequence of the time periods.
2. The system according to claim 1, wherein the streaming media data sent by the video camera is divided into a plurality of streaming media segments in different time periods, and the segments of the streaming media data stream divided by the streaming media scheduling server are not equal in length.
3. The system according to claim 1, wherein the streaming media scheduling server schedules a plurality of storage nodes storing the streaming media data segments sent by the video camera to send the streaming media data segments of the video camera to each terminal group in turn, specifically: the streaming media scheduling server schedules a plurality of storage nodes storing the streaming media data segments sent by the video camera according to a certain sequence, and each scheduled storage node sends the streaming media data segments of the video camera to each terminal group in a group in sequence.
4. The system according to claim 3, wherein the streaming media segments stored in each storage node are sequentially sent to the terminal groups, and wherein each storage node is satisfied that the storage node only sends streaming media segments to one terminal group at a time, and sends streaming media segments to the next terminal group after the current terminal group is sent, and the next storage node of the storage node starts sending streaming media segments to the current terminal group, according to the rule, until all storage nodes send streaming media segments to all terminal groups.
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 CN110417735A (en) 2019-11-05
CN110417735B true 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 (6)

* 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
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
CN105513400A (en) * 2015-12-03 2016-04-20 四川长虹电器股份有限公司 Method for dynamically planning travel route

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297452B (en) * 2012-02-24 2016-08-24 北京对角巷科技发展有限公司 A kind of in the Internet issue and the method and system of live broadcast stream media
CN102663577A (en) * 2012-04-13 2012-09-12 苏州盛世华安智能科技有限公司 Smart city internet of things system based on cloud platform
EP2785005A1 (en) * 2013-03-28 2014-10-01 British Telecommunications public limited company Content distribution system and method
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 (6)

* 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
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

Also Published As

Publication number Publication date
CN110417735A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
JP6937918B2 (en) Video live broadcasting method and equipment
KR101910537B1 (en) Service processing method, system and device
CN101136932A (en) Cluster type stream media networking system and its content issue and service method
CN109672857B (en) Information processing method and device for monitoring resources
CN102595207A (en) Content distribution system, method and device
EP1925162A1 (en) On demand system and method using dynamic broadcast scheduling
CN110300306B (en) Live stream load balancing method based on RTMP protocol
CN104301741A (en) Data live broadcast system and method
CN108924609A (en) Method, electronic equipment, device and the storage medium of transmission of flow media data
Hosseini et al. Enabling interactive video streaming for public safety monitoring through batch scheduling
CN109561137A (en) Establish method, apparatus, terminal device and the medium of P2P network
CN113676750A (en) Stream media server cluster management system
CN103139607B (en) A kind of real-time network monitoring system and method thereof
CN114024973B (en) Resource scheduling method, device, server and system for direct broadcast cloud transcoding
CN110602545A (en) Distributed recording execution method for network live broadcast
CN110417735B (en) Smart city streaming media management network and method thereof
US9166804B2 (en) Packet transmission control device, packet transmission control method, and program
CN109510868A (en) A kind of method, apparatus that establishing P2P network, terminal device and storage medium
CN106210751B (en) The method and system of internet video live broadcasting data hierarchy transmission
CN110839006A (en) Network scheduling method and device and electronic equipment
CN109688421B (en) Request message processing method, device and system, server and storage medium
CN101695044A (en) Stream media service node and load balancing method thereof
JP2011151535A (en) Content distribution system and method, and program
CN114679570A (en) Video transmission method and device, storage medium and electronic device
CN108600290B (en) Distributed access method for mobile video live broadcast/monitoring video source

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