CN103957468B - Multilevel streaming media packet forwarding method - Google Patents

Multilevel streaming media packet forwarding method Download PDF

Info

Publication number
CN103957468B
CN103957468B CN201410183890.4A CN201410183890A CN103957468B CN 103957468 B CN103957468 B CN 103957468B CN 201410183890 A CN201410183890 A CN 201410183890A CN 103957468 B CN103957468 B CN 103957468B
Authority
CN
China
Prior art keywords
server
streaming media
forwarding
user
forwarding server
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.)
Expired - Fee Related
Application number
CN201410183890.4A
Other languages
Chinese (zh)
Other versions
CN103957468A (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.)
MONITORING SYSTEM ENGINEERING RESEARCH INSTITUTE OF AIR FORCE EARLY WARNING ACADEMY OF PLA
Original Assignee
MONITORING SYSTEM ENGINEERING RESEARCH INSTITUTE OF AIR FORCE EARLY WARNING ACADEMY OF PLA
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 MONITORING SYSTEM ENGINEERING RESEARCH INSTITUTE OF AIR FORCE EARLY WARNING ACADEMY OF PLA filed Critical MONITORING SYSTEM ENGINEERING RESEARCH INSTITUTE OF AIR FORCE EARLY WARNING ACADEMY OF PLA
Priority to CN201410183890.4A priority Critical patent/CN103957468B/en
Publication of CN103957468A publication Critical patent/CN103957468A/en
Application granted granted Critical
Publication of CN103957468B publication Critical patent/CN103957468B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention belongs to the technical field of video monitoring, and provides a multilevel streaming media packet forwarding method. The method is applied to a low-altitude low-speed small-target security video monitoring subsystem. A multilevel cascade system structure is adopted in the system. The method includes the steps that streaming media load upper limit vectors are set; video retrieval request commands are received, and users are distinguished; a data source server set and a server set to be selected are labeled; streaming media forwarding is conducted for different users and by the combination of the current load condition of the data source server set and the current load condition of the server set to be selected, and load balance adjustment needs to be conducted in necessary. The multilevel cascade system structure is adopted, the utilization rate of resources of a backbone network is increased, and intelligent unified access of the users is achieved by packet dividing of role tasks of servers; meanwhile, a streaming media packet scheduling forwarding algorithm is put forward, resources of each server are fully utilized, and high real-time performance and concurrency of the system are achieved.

Description

A kind of multilevel flow media packet retransmission method
Technical field
The invention belongs to technical field of video monitoring, particularly relate to a kind of multilevel flow media packet retransmission method.
Background technology
In low-altitude low-velocity small targets security system, real-time video monitoring requires that system has high concurrency, real-time, and platform is access property easily.Existing low-altitude low-velocity small targets security video monitoring system generally adopts single-stage tree, use in a control command centre is adjustable per family reads same video station information, if there be m user to have access to simultaneously, so need to take m part backbone bandwidth, resource occupying amount is large, and server has needed allly to have access to the functions such as forwarding in command centre, under this kind of environment, system concurrency, real-time, platform access property Shortcomings, so need to improve framework algorithm in low-altitude low-velocity small targets security video monitoring subsystem.
Summary of the invention
In view of the above problems, the object of the present invention is to provide a kind of multilevel flow media packet retransmission method, be intended to solve the technical problem of the concurrency of existing low-altitude low-velocity small targets security video monitoring subsystem, real-time, platform access property Shortcomings.
Described multilevel flow media packet retransmission method is applied to low-altitude low-velocity small targets security video monitoring subsystem, described low-altitude low-velocity small targets security video monitoring subsystem comprises the multistage command centre of video station and cascade, command centre at different levels is equipped with Video Communication Server and Streaming Media forwarding server, between Video Communication Server and Streaming Media forwarding server, and the user in command centre is all connected by TCP interface with between Video Communication Server, described Streaming Media forwarding server is divided into source forwarding server, common forwarding server and cascade transmit server, described method comprises:
Streaming Media upper loading limit vector S_L is set, and marks the priority of various flows media;
Receiver, video has access to request command, and the user initiating to have access to is divided into user at the corresponding levels and higher level user by the source of having access to request command according to described video;
The Streaming Media forwarding server meeting S_L*S_NO_S – S_M*S_NO_S<0 or S_L*S_NC_S – S_M*S_NC_S < 0 condition is labeled as Data Source server group, the Streaming Media forwarding server meeting S_L*S_NC_S – S_M*S_NC_S >0 or S_L*S_NS_S – S_M*S_NS_S < 0 condition is labeled as and treats election server group;
Have access to request for user at the corresponding levels, when described Data Source server group is not empty, the Streaming Media forwarding server choosing wherein loading index minimum carries out Streaming Media forwarding;
Request is had access to for higher level user, when comprising the first source, path forwarding server in described Data Source server group, then this source forwarding server be labeled as cascade transmit server and select this source forwarding server to carry out Streaming Media forwarding as the streaming media server of this program request, otherwise this source forwarding server pressure is chosen for the streaming media server of this program request and carries out load balancing adjustment;
Request is had access to for user at the corresponding levels, if described Data Source server group and when election server group is sky, sends inadequate resource alarm, and suspend this program request;
Request is had access to for user at the corresponding levels, if described Data Source server group is for empty but treat election server group for empty, then chooses and treat that Streaming Media forwarding server that in election server group, loading index is minimum is as load balancing server, and carry out load balancing adjustment;
Wherein, S_M is loading index vector, and S_NO_S, S_NC_S, S_NS_S are respectively the observing matrix of source forwarding server, common forwarding server and cascade transmit server.
The invention has the beneficial effects as follows: the embodiment of the present invention adopts multi-stage cascade architectural framework, improve the resource utilization of backbone network, and by dividing role server grouped task, realize the unified access of intelligence of user, Streaming Media packet scheduling forwarding algorithm is proposed simultaneously, make full use of every station server resource, realize the high real-time of system, concurrency.
Accompanying drawing explanation
Fig. 1 is the structure chart of embodiment of the present invention low-to-medium altitude Small object security video monitoring subsystem at a slow speed;
Fig. 2 is the relation structure diagram of server zone in the embodiment of the present invention;
Fig. 3 is the schematic diagram of forwarding server of originating in the embodiment of the present invention;
Fig. 4 is the schematic diagram of common forwarding server in the embodiment of the present invention;
Fig. 5 is the schematic diagram of embodiment of the present invention cascade streaming media server;
Fig. 6 is the flow chart of the multilevel flow media packet retransmission method that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Embodiment of the present invention method is applied to low-altitude low-velocity small targets security video monitoring subsystem, in the present embodiment, described system adopts multi-stage cascade architecture, as shown in Figure 1, be divided into multistage command centre, in diagram, comprise national command centre, comprehensive command centre and venue command centre, command centre at different levels is all deployed with server zone, realize command centre inside by server zone to forward the Streaming Media of same video station information, information sharing is carried out by server zone between command centre at different levels, realize for same video station information, transmission of one line information is only needed between command centre at different levels, can accomplish that the use at each center is adjustable per family and read this video information.Therefore such as when the user of the m in comprehensive command centre has access to same video station information respectively, so backbone bandwidth also only takies 1 part, and therefore multi-stage cascade access node structure can provide the resource utilization of backbone network like this.
According to the function of each server in server zone, server is divided into Video Communication Server and Streaming Media forwarding server two type, the relational structure of server zone as shown in Figure 2, user in command centre is connected by TCP interface with between Video Communication Server, be connected by TCP interface between Video Communication Server with Streaming Media forwarding server, the Video Communication Server at the user Zhi Xuyuzhe center in this command centre connects, video can be carried out have access to, avoid to adopt in single-stage tree and reduce Streaming Media forwarding server, or when increasing/reduce video station, operation is configured to the client application of user.In the present embodiment, described Video Communication Server has access to information for receiving user video, forward subscriber equipment control information, by packet scheduling algorithm, Streaming Media is forwarded task issues streaming media server or next stage Video Communication Server, also can be used in addition collecting Streaming Media forwarding server running state information, storage system configuration information.Described Streaming Media forwarding server carries out Streaming Media forwarding for the video information gathering video station, the task of issuing according to Video Communication Server, reports self work state information.
In the present embodiment, draw according to streaming media server the video information content convection media server connect to classify, the video information of video station is represented with T, as shown in Figure 3, meet T by drawing and be designated as source forwarding server to the Streaming Media forwarding server of user's forwarding stream media information, represent with S_NO, and the i in S_NO_i representing forward-path number, such as S_NO_1 is the first source, path forwarding server, and S_NO_2 is second source, path forwarding server etc.As shown in Figure 4, the streaming media server of independent forwarding stream media information is designated as common forwarding server, represents with S_NC.As shown in Figure 5, the Streaming Media forwarding server to upper level Streaming Media forwarding server forwarding stream media information is designated as cascade streaming media server, represents with S_NS.
Based on said system, below by specific embodiment, multilevel flow media packet retransmission method is described.
Fig. 6 shows the flow process of the multilevel flow media packet retransmission method that the embodiment of the present invention provides, and illustrate only the part relevant to the embodiment of the present invention for convenience of explanation.
Step S601, Streaming Media upper loading limit vector S_L is set, and marks the priority of various flows media.
The Streaming Media upper loading limit of the Streaming Media upper loading limit of S_NO to be the Streaming Media upper loading limit of S_NO_L, S_NC be S_NC_L, S_NS is S_NS_L, upper loading limit vector S_L=[S_NO_L, S_NC_L, S_NS_L].Each streaming media server mark priority is S_NS> S_NO > S_NC, and namely after S_NC increases the function of S_NO newly, this role server changes to S_NO.
Step S602, receiver, video have access to request command, and the user initiating to have access to is divided into user at the corresponding levels and higher level user by the source of having access to request command according to described video;
Video Communication Server receives after video has access to request command, carries out Partition of role according to request source to a broadcasting user.When Video Communication Server receives after video that command centre user at the corresponding levels sends has access to request, be set to local user, represented with C_N; When the video that the frequency communication server receives higher level's Video Communication Server has access to request, the some broadcasting user of higher level command centre is set to higher level user, represents with C_S.That is the user of the inner program request of command centre is user at the corresponding levels, the user that higher level commands mid point to sow level is higher level user.
Step S603, the Streaming Media forwarding server meeting S_L*S_NO_S – S_M*S_NO_S < 0 or S_L*S_NC_S – S_M*S_NC_S < 0 condition is labeled as Data Source server group, the Streaming Media forwarding server meeting S_L*S_NC_S – S_M*S_NC_S > 0 or S_L*S_NS_S – S_M*S_NS_S < 0 condition is labeled as and treats election server group.
Loading index vector S_M=[S_M_M, S_M_M, S_M_M], wherein S_M_M is loading index; S_M_M=S_S*S_R, S_S are server status vector, and S_S=[S_CPU, S_BW], S_CPU are the cpu busy percentage of Streaming Media forwarding server, and S_BW is the network resource utilization of Streaming Media forwarding server.S_R is weight vector, S_R=[S_CUPR, S_BWR], wherein S_CUPR+S_BWR=1,0<S_CUPR <1,0< S_BWR <1, the server performance used according to low-altitude low-velocity small targets security video monitoring subsystem chooses S_CUPR=0.3, S_BWR=0.7.
S_NO_S, S_NC_S, S_NS_S are respectively the observing matrix of source forwarding server, common forwarding server and cascade transmit server.S_NO_S = [1,0,0];S_NC_S= [0,1,0];S_NS_S = [0,0,1]。
In this step, Streaming Media forwarding server is divided into groups according to condition, the Streaming Media forwarding server meeting S_L*S_NO_S – S_M*S_NO_S < 0 or S_L*S_NC_S – S_M*S_NC_S < 0 condition is labeled as Data Source server group, represents with G_NO; The Streaming Media forwarding server meeting S_L*S_NC_S – S_M*S_NC_S > 0 or S_L*S_NS_S – S_M*S_NS_S < 0 condition is labeled as and treats election server group, represent with G_WT.
Step S604, have access to request for user at the corresponding levels, when described Data Source server group is not empty, the Streaming Media forwarding server choosing wherein loading index minimum carries out Streaming Media forwarding;
When video have access to request for local user have access to request time, if G_NO unequal to is NULL, the Streaming Media forwarding server choosing loading index in G_NO minimum carries out Streaming Media forwarding, namely choose MIN(S_M_M) Streaming Media forwarding server as the streaming media server providing this program request, carry out Streaming Media forwarding.
Step S605, request is had access to for higher level user, when comprising the first source, path forwarding server in described Data Source server group, then this source forwarding server be labeled as cascade transmit server and select this source forwarding server to carry out Streaming Media forwarding as the streaming media server of this program request;
Step S606 otherwise forced by this source forwarding server is chosen for the streaming media server of this program request and carries out load balancing adjustment.
When video have access to request for higher level user have access to request time, if S_NO_1 is arranged in G_NO, choose S_NO_1 for providing the streaming media server of this program request, change this server-tag is S_NS simultaneously, then carry out Streaming Media forwarding, otherwise force to choose S_NO_1 for providing the streaming media server of this program request and carrying out load balancing adjustment.
Step S607, request is had access to for user at the corresponding levels, if described Data Source server group and when election server group is sky, send inadequate resource alarm, and suspend this program request;
If G_NO==NULL, G_WT==NULL, then send inadequate resource alarm, and suspend this program request.
Step S608, request is had access to for user at the corresponding levels, if described Data Source server group is empty but treats election server group for empty, then choose and treat that Streaming Media forwarding server that in election server group, loading index is minimum is as load balancing server, and carry out load balancing adjustment.
If G_NO==NULL, but G_WT unequal to NULL, choose MIN(S_M_M) as load balancing server, represent with G_WT_A.
For the load balancing adjustment in above-mentioned steps S606 and step S608, concrete operation step is as follows:
S_NO_1 Zhong Ci road IP Information On Demand is forwarded a road to G_WT_A, after Streaming Media is stable, C_N in S_NO_1 is adjusted to G_WT_A, if the rear G_WT_A of adjustment exceedes loading index with load, send warning message, stop this order program service, otherwise constantly adjustment is until S_NO_1 meets S_L*S_NO_S – S_M*S_NO_S < 0, stop adjustment.
To sum up, the embodiment of the present invention adopts multi-stage cascade architectural framework, improve the resource utilization of backbone network, and by dividing role server grouped task, realize the unified access of intelligence of user, propose Streaming Media packet scheduling forwarding algorithm simultaneously, make full use of every station server resource, realize the high real-time of system, concurrency.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. a multilevel flow media packet retransmission method, it is characterized in that, described method is applied to low-altitude low-velocity small targets security video monitoring subsystem, described low-altitude low-velocity small targets security video monitoring subsystem comprises the multistage command centre of video station and cascade, command centre at different levels is equipped with Video Communication Server and Streaming Media forwarding server, between Video Communication Server and Streaming Media forwarding server, and the user in command centre is all connected by TCP interface with between Video Communication Server, described Streaming Media forwarding server is divided into source forwarding server, common forwarding server and cascade transmit server, described method comprises:
Streaming Media upper loading limit vector S_L is set, and marks the priority of various flows media;
Receiver, video has access to request command, and the user initiating to have access to is divided into user at the corresponding levels and higher level user by the source of having access to request command according to described video;
The Streaming Media forwarding server meeting S_L*S_NO_S – S_M*S_NO_S < 0 or S_L*S_NC_S – S_M*S_NC_S < 0 condition is labeled as Data Source server group, the Streaming Media forwarding server meeting S_L*S_NC_S – S_M*S_NC_S > 0 or S_L*S_NS_S – S_M*S_NS_S < 0 condition is labeled as and treats election server group;
Have access to request for user at the corresponding levels, when described Data Source server group is not empty, the Streaming Media forwarding server choosing wherein loading index minimum carries out Streaming Media forwarding;
Request is had access to for higher level user, when comprising the first source, path forwarding server in described Data Source server group, then this source forwarding server be labeled as cascade transmit server and select this source forwarding server to carry out Streaming Media forwarding as the streaming media server of this program request, otherwise this source forwarding server pressure is chosen for the streaming media server of this program request and carries out load balancing adjustment;
Request is had access to for user at the corresponding levels, if described Data Source server group and when election server group is sky, sends inadequate resource alarm, and suspend this program request;
Request is had access to for user at the corresponding levels, if described Data Source server group is for empty but treat election server group for empty, then chooses and treat that Streaming Media forwarding server that in election server group, loading index is minimum is as load balancing server, and carry out load balancing adjustment;
Wherein, S_M is loading index vector, and S_M=[S_M_M, S_M_M, S_M_M], S_M_M are loading index, and S_NO_S, S_NC_S, S_NS_S are respectively the observing matrix of source forwarding server, common forwarding server and cascade transmit server.
2. method as claimed in claim 1, is characterized in that, described load balancing adjustment comprises the steps:
The IP Information On Demand of forwarding server of originating in the first path is forwarded a road to load balancing server, after Streaming Media is stable, user at the corresponding levels in first source, path forwarding server is adjusted to load balancing server, if what adjust back loading balance server exceedes loading index with load, send warning message, stop this order program service, otherwise constantly adjustment is until the first source, path forwarding server meets S_L*S_NO_S – S_M*S_NO_S < 0, stops adjustment.
3. method as claimed in claim 2, is characterized in that:
S_M_M=S_S*S_R, S_S are server status vector, and S_R is weight vector;
S_S=[S_CPU, S_BW], S_CPU are the cpu busy percentage of Streaming Media forwarding server, and S_BW is the network resource utilization of Streaming Media forwarding server;
S_R=[S_CUPR, S_BWR], wherein S_CUPR+S_BWR=1,0<S_CUPR <1,0< S_BWR <1.
4. method as claimed in claim 3, is characterized in that:
S_NO_S = [1,0,0];
S_NC_S= [0,1,0];
S_NS_S = [0,0,1]。
CN201410183890.4A 2014-04-30 2014-04-30 Multilevel streaming media packet forwarding method Expired - Fee Related CN103957468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410183890.4A CN103957468B (en) 2014-04-30 2014-04-30 Multilevel streaming media packet forwarding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410183890.4A CN103957468B (en) 2014-04-30 2014-04-30 Multilevel streaming media packet forwarding method

Publications (2)

Publication Number Publication Date
CN103957468A CN103957468A (en) 2014-07-30
CN103957468B true CN103957468B (en) 2015-03-04

Family

ID=51334674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410183890.4A Expired - Fee Related CN103957468B (en) 2014-04-30 2014-04-30 Multilevel streaming media packet forwarding method

Country Status (1)

Country Link
CN (1) CN103957468B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581219B (en) * 2014-12-22 2018-01-23 浙江工业大学 A kind of control method of Streaming Media forwarding server
TWI586156B (en) * 2015-12-04 2017-06-01 鴻海精密工業股份有限公司 Streaming media transmission system, method and data distribution server
CN114040166B (en) * 2021-11-11 2023-07-04 浩云科技股份有限公司 Distributed stream media grouping management system, method, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841526A (en) * 2010-03-04 2010-09-22 清华大学 Cluster streaming media server system applied to large-scale user demand
CN102857439A (en) * 2012-09-03 2013-01-02 国网电力科学研究院 Media data access and scheduling system architecture design method based on multi-node cooperation
CN103517034A (en) * 2012-06-18 2014-01-15 中国航天科工集团第二研究院七0六所 System and method for multi-platform network video monitoring based on SIP protocol
CN103747060A (en) * 2013-12-26 2014-04-23 惠州华阳通用电子有限公司 Distributed monitor system and method based on streaming media service cluster

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841526A (en) * 2010-03-04 2010-09-22 清华大学 Cluster streaming media server system applied to large-scale user demand
CN103517034A (en) * 2012-06-18 2014-01-15 中国航天科工集团第二研究院七0六所 System and method for multi-platform network video monitoring based on SIP protocol
CN102857439A (en) * 2012-09-03 2013-01-02 国网电力科学研究院 Media data access and scheduling system architecture design method based on multi-node cooperation
CN103747060A (en) * 2013-12-26 2014-04-23 惠州华阳通用电子有限公司 Distributed monitor system and method based on streaming media service cluster

Also Published As

Publication number Publication date
CN103957468A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN106162219B (en) Video cloud storage method and system
CN104581219B (en) A kind of control method of Streaming Media forwarding server
CN105208624B (en) The multi-access network based on business selects system and method in a kind of heterogeneous wireless network
CN110061927A (en) Congestion aware and labeling method towards micro- burst flow in a kind of more queuing data center environments
CN105227481A (en) The SDN congestion control method for routing of cost minimization is dispatched based on path cost and stream
CN104243337A (en) Method and device for cross-cluster load balancing
US8942094B2 (en) Credit-based network congestion management
CN103346969A (en) Method for achieving dynamic multicast spanning tree path adjustment based on OpenFlow
CN102326161A (en) The buffer memory cooperation that topology is responsive
CN105306900A (en) Intelligent scheduling high definition integrated networking video monitoring system based on cloud computing
CN106936705B (en) Software defined network routing method
CN107040605B (en) Cloud platform resource scheduling and management system based on SDN and application method thereof
CN103957468B (en) Multilevel streaming media packet forwarding method
US11659472B2 (en) Network admission control
US20170141995A1 (en) Data delivery method based on software defined networking and software defined networking controller using the method
CN102075437A (en) Communication method, gateway and network
CN110061929A (en) For data center&#39;s load-balancing method of asymmetrical network
CN105376246A (en) Adaptive generation management system and method of security strategy based on SDN
CN104301246A (en) Large-flow load balanced forwarding method and device based on SDN
CN103957267A (en) Multi-network multi-task multi-node data distribution method
CN104469851B (en) Balanced handling capacity and the resource allocation methods of delay in a kind of LTE downlinks
CN101478486B (en) Method, equipment and system for switch network data scheduling
CN104125081A (en) Multi-terminal cooperation system and method based on strategy
CN108366015A (en) Routing algorithm for software defined network
CN110769023B (en) Point-to-point content distribution network system based on intelligent home gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150304

Termination date: 20190430

CF01 Termination of patent right due to non-payment of annual fee