CN104333767A - Multi-channel priority control method and system for vehicle video monitoring system - Google Patents
Multi-channel priority control method and system for vehicle video monitoring system Download PDFInfo
- Publication number
- CN104333767A CN104333767A CN201410530225.8A CN201410530225A CN104333767A CN 104333767 A CN104333767 A CN 104333767A CN 201410530225 A CN201410530225 A CN 201410530225A CN 104333767 A CN104333767 A CN 104333767A
- Authority
- CN
- China
- Prior art keywords
- passage
- priority
- packet loss
- code check
- level
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 28
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000005540 biological transmission Effects 0.000 claims abstract description 46
- 238000003032 molecular docking Methods 0.000 claims description 6
- 230000000737 periodic effect Effects 0.000 claims description 6
- 238000012546 transfer Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- CVOFKRWYWCSDMA-UHFFFAOYSA-N 2-chloro-n-(2,6-diethylphenyl)-n-(methoxymethyl)acetamide;2,6-dinitro-n,n-dipropyl-4-(trifluoromethyl)aniline Chemical compound CCC1=CC=CC(CC)=C1N(COC)C(=O)CCl.CCCN(CCC)C1=C([N+]([O-])=O)C=C(C(F)(F)F)C=C1[N+]([O-])=O CVOFKRWYWCSDMA-UHFFFAOYSA-N 0.000 description 1
- 206010033799 Paralysis Diseases 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2385—Channel allocation; Bandwidth allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
- H04N21/26216—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/6437—Real-time Transport Protocol [RTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a multi-channel priority control method for a vehicle video monitoring system. Data transmission and control is realized by use of an RTP session link group. The method comprises the following steps: step 1, an independent RTP session link group is established for each channel and a video server; step 2, the channels are numbered, and priority is assigned for each channel according to the number of the channel; step 3, the code rate is layered, the flow of each channel is controlled, and the code rate level of each channel is constantly adjusted; and step 4, a flow control algorithm based on the channel priority is established, the packet loss rates of the channels with higher priority among the channels are controlled by the flow control algorithm so as to ensure the quality of data transmission. The invention further provides a multi-channel priority control system for a vehicle video monitoring system, comprising a data transmission module, a priority assignment module, a code rate adjustment module, and a flow control module. The quality of data transmission of the channels with higher priority is ensured.
Description
Technical field
The present invention relates to a kind of Vehicular video monitoring system, particularly relate to a kind of Vehicular video monitoring system multichannel priority control method and system.
Background technology
In the application of vehicle-mounted real-time video monitoring system, often need the audio, video data of multiple passage to be uploaded to video server simultaneously.When network link bandwidth abundance, the data of each passage can non-interferingly be transmitted, but when vehicle is in the more weak region of 3G signal (edge as base station coverage), when bandwidth declines, just there will be the phenomenon of multichannel bandwidth-hogging resource, this will cause multi-channel video picture to be in Ka Dun or dead state simultaneously, and Consumer's Experience is very poor.If but when bandwidth declines, by the flow control based on passage, reduce the data of even closing relatively unessential passage, thus ensure that relatively important passage can present smooth picture, then effectively can promote Consumer's Experience.
In real-time video monitoring field, people use RTP/RTCP protocol groups to realize transfer of data and Network service quality control usually.RTP and RTP, it is only responsible for transmission data normally based on udp protocol, does not ensure network service quality; RTCP and RTCP Real-time Transport Control Protocol, it is timing transmission between data sending terminal and receiving terminal, and by carrying the information such as timestamp and packet loss, realize the detection to network condition, and then network condition is fed back to RTP session, RTP makes real-time response.The offered load adjustment that RTP transmitting terminal is carried out in the packet loss change utilizing RTCP to carry is the effective ways being used for carrying out flow control in this field current.
Summary of the invention
One of the technical problem to be solved in the present invention, be to provide a kind of Vehicular video monitoring system multichannel priority control method, the method is respectively for each Path Setup RTP session link group, this session link group is only responsible for the video data transmission of this passage, and presets the priority of each passage.Design a multichannel two priority classes mechanism, carry out the bandwidth usage of each passage of cooperation control according to the priority of each passage and the packet loss of RTP packet, ensure the data transmission quality of the passage that priority is higher successively.
One of problem of the present invention, is achieved in that
A kind of Vehicular video monitoring system multichannel priority control method, by the transmission and the control that use RTP session link group to realize data, comprises the steps:
Step 1, each passage is set up independently RTP session link group respectively with video server;
Step 2, passage to be numbered, then to be numbered each channel allocation priority according to passage;
Step 3, code check is carried out layering, realize the flow control of each passage, the moment adjusts the code check level residing for each passage;
Step 4, foundation realize the flow control algorithm based on channel priorities, the code check level of each passage is adjusted according to each passage packet loss size and priority size cases, when the network bandwidth declines, the data traffic of this passage is reduced by the code check reducing low-priority channel, thus relatively will increase the data transfer bandwidth of high priority, control with this packet loss to the higher passage of priority, thus ensure its data transmission quality.
Further, the RTP session link group of described step 1 arranges RTP link and RTCP link, RTP link real-time Transmission is sent to the video data of video server by car-mounted terminal, add up at the packet loss of video server end to RTP packet, and be responsible for periodic feedback to car-mounted terminal by RTCP link.
Further, in the priority of described step 2, reserved priority adjustment interface, for docking video server, is then issued to car-mounted terminal by the result that arranges of user by TCP, car-mounted terminal arranges instruction according to what receive, realizes the priority of each passage of remote reset.
Further, Video Coding code check is divided into L by the code check hierarchical mode of described step 3
1, L
2and L
3three Estate, L
1code check be 0, L
2range of code rates be greater than 0 and be not more than 70kb/s, L
3range of code rates be greater than 70kb/s.
Further, the flow control algorithm in described step 4 is undertaken calculating and controlling by the priority of each passage, the packet loss of RTP packet and code check level convection current amount, and its concrete steps have:
Step 41, judge whether the packet loss of each passage is all less than the minimum threshold values P of packet loss
min, if so, then do not carry out flow control, each passage all rises to L
3code check level, if not, then turn to step 42;
Step 42, by priority order from high to low, judge whether the packet loss of a certain passage is all greater than the maximum threshold values P of packet loss
max, if so, then reduce all passages of priority lower than this passage at once to L
1code check level, if the packet loss of this passage subsequent time period is still greater than max-thresholds P
max, then this passage code check level is from L
3be down to L
2; When the packet loss of the passage only having priority minimum is greater than maximum threshold values P
max, then directly arrange this passage in code check level be L
1; If the packet loss of each passage is not all greater than the maximum threshold values P of packet loss
max, then step 43 is turned to;
Step 43, by priority order from high to low, judge whether the packet loss of a certain passage is less than packet loss minimum threshold P
min, if so, when the passage of the low one-level of priority is in L
1or L
2during level, then the code check level of the passage of low for this priority one-level is promoted one-level, when the passage of the low one-level of priority is in L
3during level, then by constant for the code check level of the passage of low for this priority one-level; If the packet loss of each passage is not all less than packet loss minimum threshold P
min, then step 44 is turned to;
Step 44, be all in packet loss minimum threshold P when the packet loss of each passage
minwith packet loss max-thresholds P
maxbetween time, the code check level of each passage can be adjusted according to the size cases of each passage packet loss, reduce the data traffic of low-priority channel by reducing code check thus discharge bandwidth, ensure that the packet loss of the higher leveled passage of priority is not more than the packet loss of the passage of this priority with this, the code check level that namely code check level meets the higher leveled passage of priority is not less than the code check level of the passage of this priority.
Further, the minimum threshold values P of described packet loss
minbe 3%, maximum threshold values P
maxbe 10%.
The technical problem to be solved in the present invention two, is to provide a kind of Vehicular video monitoring system multichannel priority control system, ensure that the data transmission quality of the passage that priority is higher.
Problem two of the present invention, is achieved in that
A kind of Vehicular video monitoring system multichannel priority control system, by the transmission and the control that use RTP session link group to realize data, comprising:
Data transmission module, for setting up independently RTP session link group respectively by each passage with video server;
Priority assign module, for being numbered by passage, then is numbered each channel allocation priority according to passage;
Rate adjust module, for code check is carried out layering, realizes the flow control of each passage, and the moment adjusts the code check level residing for each passage;
Flow-control module, for setting up the flow control algorithm realized based on channel priorities, the code check level of each passage is adjusted according to each passage packet loss size and priority size cases, when the network bandwidth declines, the data traffic of this passage is reduced by the code check reducing low-priority channel, thus relatively will increase the data transfer bandwidth of high priority, control with this packet loss to the higher passage of priority, thus ensure its data transmission quality.
Further, described transmission control module arranges RTP link and RTCP link, RTP link real-time Transmission is sent to the video data of video server by car-mounted terminal, video server carries out packet loss statistics and the feedback of RTP packet, and is responsible for periodic transmission to car-mounted terminal by RTCP link.
Further, being reserved with priority adjustment interface in described priority assign module, for docking video server, then the result that arranges of user being issued to car-mounted terminal by TCP, car-mounted terminal arranges instruction according to what receive, realizes the priority of each passage of remote reset.
Further, Video Coding code check is divided into L by described rate adjust module
1, L
2and L
3three Estate, L
1code check be 0, L
2range of code rates be greater than 0 and be not more than 70kb/s, L
3range of code rates be greater than 70kb/s.
Further, the flow control algorithm of described flow-control module to be calculated flow by priority assign module, transmission control module and rate adjust module and controls, and it specifically has:
Judge whether the packet loss of each passage is all less than the minimum threshold values P of packet loss
min, if so, then do not carry out flow control, each passage all rises to L
3code check level, if not, then turn to next program;
By priority order from high to low, judge whether the packet loss of a certain passage is all greater than the maximum threshold values P of packet loss
max, if so, then reduce all passages of priority lower than this passage at once to L
1code check level, if the packet loss of this passage subsequent time period is still greater than max-thresholds P
max, then this passage code check level is from L
3be down to L
2; When the packet loss of the passage only having priority minimum is greater than maximum threshold values P
max, then directly arrange this passage in code check level be L
1; If the packet loss of each passage is not all greater than the maximum threshold values P of packet loss
max, then next program is turned to;
By priority order from high to low, judge whether the packet loss of a certain passage is less than packet loss minimum threshold P
min, if so, when the passage of the low one-level of priority is in L
1or L
2during level, then the code check level of the passage of low for this priority one-level is promoted one-level, when the passage of the low one-level of priority is in L
3during level, then by constant for the code check level of the passage of low for this priority one-level; If the packet loss of each passage is not all less than packet loss minimum threshold P
min, then next program is turned to;
When the packet loss of each passage is all in packet loss minimum threshold P
minwith packet loss max-thresholds P
maxbetween time, the code check level of each passage can be adjusted according to the size cases of each passage packet loss, reduce the data traffic of low-priority channel by reducing code check thus discharge bandwidth, ensure that the packet loss of the higher leveled passage of priority is not more than the packet loss of the passage of this priority with this, the code check level that namely code check level meets the higher leveled passage of priority is not less than the code check level of the passage of this priority.
Further, the minimum threshold values P of described packet loss
minbe 3%, maximum threshold values P
maxbe 10%.
Tool of the present invention has the following advantages: flow control is refine to single passage by the present invention, and carry out allocated bandwidth between channels according to priority, can accomplish when network transmission quality declines " house is gently taken care of yourself ", multichannel real-time video monitoring business is avoided directly to paralyse because of bandwidth contention condition, meet the application background of vehicle-mounted real-time video monitoring system, design a multichannel two priority classes mechanism, the bandwidth usage of each passage of cooperation control is carried out according to the priority of each passage and the packet loss of RTP packet, ensure the data transmission quality of the passage that priority is higher successively.
Accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the flowchart of the passage 1 in the inventive method.
Embodiment
The core content of the present invention and original technology is all add up the expansion of this network service testing mechanism around the packet loss of Real-time Transport Protocol, and also has " transmission control module " and " rate adjust module ".Difference is, the present invention introduces " priority assign module ", and RTP link establishment, packet loss statistics and channel priorities control algolithm are all based on single passage, realize the reallocation of the network bandwidth according to the inner each channel priorities of Vehicular video terminal system, and original technology is normally based on the flow control of whole transmission network.Core concept of the present invention is the video data of different passage, carries out independent transmission and packet loss statistics, then implement flow control policy by two priority classes program according to the priority of each passage and packet loss situation by different Real-time Transport Protocol links.
As described in Figure 1, a kind of Vehicular video monitoring system multichannel priority control method, by the transmission and the control that use RTP session link group to realize data, comprises the steps:
Step 1, between passage 1 and video server, set up RTP session link group, RTP session link group arranges RTP link and RTCP link, the usual way of this process is, program needs the interface Create calling class RTPSession in bottom JRTPLIB dynamic base to create RTP session, and calling interface AddDestination comes bound targets address, now just packet can be sent by calling interface SendPacket; Passage 1 produces video data via car-mounted terminal, RTP link real-time Transmission is sent to the video data of video server by car-mounted terminal, video server carries out packet loss statistics and the feedback of RTP packet, and be responsible for the flow-control module of periodic transmission to car-mounted terminal by the RTCP link in RTP session link group, flow-control module will according to respective algorithms, the final video code rate level directly adjusting passage 1, realizes each passage code check and adjusts packet loss according to packet loss situation; Each passage is set up independently RTP session link group respectively with video server, the flow process that the transmission of the RTP session link group of each passage controls is all consistent with passage 1;
Step 2, passage to be numbered, then to be numbered each channel allocation priority according to passage; Wherein, passage is more important, and channel number is less, and priority is higher; Reserved priority adjustment interface in described priority, docking video server, video server provides priority to arrange software interface, then the result that arranges of user is issued to car-mounted terminal by TCP, car-mounted terminal arranges instruction according to what receive, realizes the priority of each passage of remote reset;
Step 3, code check is carried out layering, realize the flow control of each passage, the moment adjusts the code check level residing for each passage; Video Coding code check is divided into L by described code check hierarchical mode
1, L
2and L
3three Estate, L
1code check be 0, L
2range of code rates be greater than 0 and be not more than 70kb/s, L
3range of code rates be greater than 70kb/s; L
1represent and close this passage, L
2there is provided basic smooth video pictures, L
3then can ensure video more clearly;
Step 4, foundation realize the flow control algorithm based on channel priorities, the code check level of each passage is adjusted according to each passage packet loss size and priority size cases, when the network bandwidth declines, the data traffic of this passage is reduced by the code check reducing low-priority channel, thus relatively will increase the data transfer bandwidth of high priority, control with this packet loss to the higher passage of priority, thus ensure its data transmission quality.Being calculated flow by the priority of each passage, the packet loss of RTP packet and code check grade and control, concrete steps have:
Step 42, by priority order from high to low, judge whether the packet loss of a certain passage is greater than the maximum threshold values P of packet loss
max, if so, then reduce all passages of priority lower than this passage at once to L
1code check level, if the packet loss of this passage subsequent time period is still greater than max-thresholds P
max, then this passage code check level is from L
3be down to L
2; When the packet loss of the passage only having priority minimum is greater than maximum threshold values P
max, then directly arrange this passage in code check level be L
1; If the packet loss of each passage is not all greater than the maximum threshold values P of packet loss
max, then step 43 is turned to;
Step 43, by priority order from high to low, judge whether the packet loss of a certain passage is less than packet loss minimum threshold P
min, if so, when the passage of the low one-level of priority is in L
1or L
2during level, then the code check level of the passage of low for this priority one-level is promoted one-level, when the passage of the low one-level of priority is in L
3during level, then by constant for the code check level of the passage of low for this priority one-level; If the packet loss of each passage is not all less than packet loss minimum threshold P
min, then step 44 is turned to;
Step 44, be all in packet loss minimum threshold P when the packet loss of each passage
minwith packet loss max-thresholds P
maxbetween time, the code check level of each passage can be adjusted according to the size cases of each passage packet loss, reduce the data traffic of low-priority channel by reducing code check thus discharge bandwidth, ensure that the packet loss of the higher leveled passage of priority is not more than the packet loss of the passage of this priority with this, the code check level that namely code check level meets the higher leveled passage of priority is not less than the code check level of the passage of this priority.Wherein, the minimum threshold values P of described packet loss
minbe 3%, maximum threshold values P
maxbe 10%.
A kind of Vehicular video monitoring system multichannel priority control system, by the transmission and the control that use RTP session link group to realize data, comprising:
Transmission control module, for setting up independently RTP session link group respectively by each passage with video server; Described transmission control module arranges RTP link and RTCP link, RTP link carries out the video data that real-time Transmission car-mounted terminal sends to video server, video server carries out packet loss statistics and the feedback of RTP packet, and is responsible for periodic transmission to car-mounted terminal by RTCP link.Wherein, described car-mounted terminal comprises camera, codec chip, wireless network communication module, and car-mounted terminal hardware device is for realizing the collection of video, encoding and decoding and Internet Transmission; Described video server, for receive car-mounted terminal send come up video data, present video pictures and packet loss statistics and the work such as feedback;
Priority assign module, for being numbered by passage, then is numbered each channel allocation priority according to passage; Priority adjustment interface is reserved with in described priority assign module, for docking video server, video server provides priority to arrange software interface, then the result that arranges of user is issued to car-mounted terminal by TCP, car-mounted terminal arranges instruction according to what receive, realizes the priority of each passage of remote reset;
Rate adjust module, for code check is carried out layering, realizes the flow control of each passage, and the moment adjusts the code check level residing for each passage; Video Coding code check is divided into L by described rate adjust module
1, L
2and L
3three Estate, L
1code check be 0, L
2range of code rates be greater than 0 and be not more than 70kb/s, L
3range of code rates be greater than 70kb/s.
Flow-control module, for setting up the flow control algorithm realized based on channel priorities, the code check level of each passage is adjusted according to the size cases of each passage packet loss, reduce data traffic by reducing code check thus increase packet loss, control with this packet loss to the higher passage of multichannel priority, thus ensure data transmission quality.The flow control algorithm of described flow-control module to be calculated flow by priority assign module, transmission control module and rate adjust module and controls, each passage is followed in flow control algorithm free between different code check level, the flow control algorithm of described flow-control module is for four passages, and suppose priorities is respectively Y
1, Y
2, Y
3, Y
4, and Y
1>Y
2>Y
3>Y
4; Packet loss is P
1, P
2, P
3, P
4, specific as follows:
Judge P
1, P
2, P
3, P
4packet loss whether be all less than the minimum threshold values P of packet loss
minif then do not carry out flow control, four passages all rise to L
3code check level; If not then turn to next program;
By priority order from high to low, judge whether the packet loss of a certain passage is greater than the maximum threshold values P of packet loss
maxif then reduce all passages of priority lower than this passage at once to L
1code check level (namely works as P
1>P
max, L is set
passage 2, L
passage 3, L
passage 4for L
1; Work as P
2>P
max, put L
passage 3, L
passage 4for L
1; Work as P
3or P
4>P
max, put L
passage 4for L
1), if the packet loss of this passage subsequent time period is still greater than max-thresholds P
max, then this passage code check level is from L
3be down to L
2; When the packet loss of the passage only having priority minimum is greater than maximum threshold values P
max, then directly arrange this passage in code check level be L
1; If the packet loss of each passage is all not more than the maximum threshold values P of packet loss
max, then next program is turned to;
By priority order from high to low, judge whether the packet loss of a certain passage is less than packet loss minimum threshold P
minif the packet loss just adjusting the higher all passages of its priority is all less than packet loss minimum threshold P
minand code check is also all in L
3, when the passage of the low one-level of priority is in L
1or L
2during level, then the code check level of the passage of low for this priority one-level is promoted one-level, when the passage of the low one-level of priority is in L
3during level, then by constant for the code check level of the passage of low for this priority one-level, as: work as P
1<P
minif, L
passage 1=L
3time, L
passage 2promote one-level, otherwise do not process; Work as P
2<P
minif, P
1<P
min, L
passage 1=L
3, and L
passage 2=L
3time, L
passage 3promote one-level, otherwise do not process; The like, and comparative sequence is high to Low according to priority.If the packet loss of each passage is all not less than packet loss minimum threshold P
min, then next program is turned to;
Work as P
min<P
1, P
2, P
3, P
4<P
maxtime, the code check level of each passage can be adjusted according to the size cases of each passage packet loss, reduce data traffic by reducing code check thus increase packet loss, ensureing P with this
1≤ P
2≤ P
3≤ P
4and code check level meets L
passage 1>=L
passage 2>=L
passage 3>=L
passage 4.As: as: work as P
1>P
2, and L
passage 1=L
passage 2, then one-level L is reduced
passage 2increase P
2, thus modulate P
1≤ P
2; Work as P
2>P
3, and L
passage 2=L
passage 3, then one-level L is reduced
passage 3increase P
3, thus modulate P
2≤ P
3; The like, and comparative sequence is high to Low according to priority.Wherein, the minimum threshold values P of described packet loss
minbe 3%, maximum threshold values P
maxbe 10%.
Although the foregoing describe the specific embodiment of the present invention; but be familiar with those skilled in the art to be to be understood that; specific embodiment described by us is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art, in the modification of the equivalence done according to spirit of the present invention and change, should be encompassed in scope that claim of the present invention protects.
Claims (12)
1. a Vehicular video monitoring system multichannel priority control method, by the transmission and the control that use RTP session link group to realize data, is characterized in that: comprise the steps:
Step 1, each passage is set up independently RTP session link group respectively with video server;
Step 2, passage to be numbered, then to be numbered each channel allocation priority according to passage;
Step 3, code check is carried out layering, realize the flow control of each passage, the moment adjusts the code check level residing for each passage;
Step 4, foundation realize the flow control algorithm based on channel priorities, the code check level of each passage is adjusted according to each passage packet loss size and priority size cases, when the network bandwidth declines, the data traffic of this passage is reduced by the code check reducing low-priority channel, thus relatively will increase the data transfer bandwidth of high-priority channel, control with this packet loss to the higher passage of priority, thus ensure its data transmission quality.
2. a kind of Vehicular video monitoring system multichannel priority control method method as claimed in claim 1, it is characterized in that: the RTP session link group of described step 1 arranges RTP link and RTCP link, RTP link real-time Transmission is sent to the video data of video server by car-mounted terminal, add up at the packet loss of video server end to RTP packet, and be responsible for periodic feedback to car-mounted terminal by RTCP link.
3. a kind of Vehicular video monitoring system multichannel priority control method method as claimed in claim 1, it is characterized in that: reserved priority adjustment interface in the priority of described step 2, for docking video server, then the result that arranges of user is issued to car-mounted terminal by TCP, car-mounted terminal arranges instruction according to what receive, realizes the priority of each passage of remote reset.
4. a kind of Vehicular video monitoring system multichannel priority control method method as claimed in claim 1, is characterized in that: Video Coding code check is divided into L by the code check hierarchical mode of described step 3
1, L
2and L
3three Estate, L
1code check be 0, L
2range of code rates be greater than 0 and be not more than 70kb/s, L
3range of code rates be greater than 70kb/s.
5. a kind of Vehicular video monitoring system multichannel priority control method method as claimed in claim 4, it is characterized in that: the flow control algorithm in described step 4 is undertaken calculating and controlling by the priority of each passage, the packet loss of RTP packet and code check level convection current amount, and its concrete steps have:
Step 41, judge whether the packet loss of each passage is all less than the minimum threshold values P of packet loss
min, if so, then do not carry out flow control, each passage all rises to L
3code check level, if not, then turn to step 42;
Step 42, by priority order from high to low, judge whether the packet loss of a certain passage is greater than the maximum threshold values P of packet loss
max, if so, then reduce all passages of priority lower than this passage at once to L
1code check level, if the packet loss of this passage subsequent time period is still greater than max-thresholds P
max, then this passage code check level is from L
3be down to L
2; When the packet loss of the passage only having priority minimum is greater than maximum threshold values P
max, then directly arrange this passage in code check level be L
1; If the packet loss of each passage is not all greater than the maximum threshold values P of packet loss
max, then step 43 is turned to;
Step 43, by priority order from high to low, judge whether the packet loss of a certain passage is less than packet loss minimum threshold P
min, if so, when the passage of the low one-level of priority is in L
1or L
2during level, then the code check level of the passage of low for this priority one-level is promoted one-level, when the passage of the low one-level of priority is in L
3during level, then by constant for the code check level of the passage of low for this priority one-level; If the packet loss of each passage is not all less than packet loss minimum threshold P
min, then step 44 is turned to;
Step 44, be all in packet loss minimum threshold P when the packet loss of each passage
minwith packet loss max-thresholds P
maxbetween time, the code check level of each passage can be adjusted according to the size cases of each passage packet loss, reduce the data traffic of low-priority channel by reducing code check thus discharge bandwidth, ensure that the packet loss of the higher leveled passage of priority is not more than the packet loss of the passage of this priority with this, the code check level that namely code check level meets the higher leveled passage of priority is not less than the code check level of the passage of this priority.
6. a kind of Vehicular video monitoring system multichannel priority control method as claimed in claim 5, is characterized in that: the minimum threshold values P of described packet loss
minbe 3%, maximum threshold values P
maxbe 10%.
7. a Vehicular video monitoring system multichannel priority control system, by the transmission and the control that use RTP session link group to realize data, is characterized in that: comprising:
Data transmission module, for setting up independently RTP session link group respectively by each passage with video server;
Priority assign module, for being numbered by passage, then is numbered each channel allocation priority according to passage;
Rate adjust module, for code check is carried out layering, realizes the flow control of each passage, and the moment adjusts the code check level residing for each passage;
Flow-control module, for setting up the flow control algorithm realized based on channel priorities, the code check level of each passage is adjusted according to each passage packet loss size and priority size cases, when the network bandwidth declines, the data traffic of this passage is reduced by the code check reducing low-priority channel, thus relatively will increase the data transfer bandwidth of high priority, control with this packet loss to the higher passage of priority, thus ensure its data transmission quality.
8. a kind of Vehicular video monitoring system multichannel priority control system as claimed in claim 7, it is characterized in that: described transmission control module arranges RTP link and RTCP link, RTP link real-time Transmission is sent to the video data of video server by car-mounted terminal, add up at the packet loss of video server end to RTP packet, and be responsible for periodic feedback to car-mounted terminal by RTCP link.
9. a kind of Vehicular video monitoring system multichannel priority control system as claimed in claim 7, it is characterized in that: in described priority assign module, be reserved with priority adjustment interface, for docking video server, then the result that arranges of user is issued to car-mounted terminal by TCP, car-mounted terminal arranges instruction according to what receive, realizes the priority of each passage of remote reset.
10. a kind of Vehicular video monitoring system multichannel priority control system as claimed in claim 7, is characterized in that: Video Coding code check is divided into L by described rate adjust module
1, L
2and L
3three Estate, L
1code check be 0, L
2range of code rates be greater than 0 and be not more than 70kb/s, L
3range of code rates be greater than 70kb/s.
11. a kind of Vehicular video monitoring system multichannel priority control system as claimed in claim 10, it is characterized in that: the flow control algorithm of described flow-control module to be calculated flow by priority assign module, data transmission module and rate adjust module and controls, and it specifically has:
Judge whether the packet loss of each passage is all less than the minimum threshold values P of packet loss
min, if so, then do not carry out flow control, each passage all rises to L
3code check level, if not, then turn to next program;
By priority order from high to low, judge whether the packet loss of a certain passage is all greater than the maximum threshold values P of packet loss
max, if so, then reduce all passages of priority lower than this passage at once to L
1code check level, if the packet loss of this passage subsequent time period is still greater than max-thresholds P
max, then this passage code check level is from L
3be down to L
2; When the packet loss of the passage only having priority minimum is greater than maximum threshold values P
max, then directly arrange this passage in code check level be L
1; If the packet loss of each passage is not all greater than the maximum threshold values P of packet loss
max, then next program is turned to;
By priority order from high to low, judge whether the packet loss of a certain passage is less than packet loss minimum threshold P
min, if so, when the passage of the low one-level of priority is in L
1or L
2during level, then the code check level of the passage of low for this priority one-level is promoted one-level, when the passage of the low one-level of priority is in L
3during level, then by constant for the code check level of the passage of low for this priority one-level; If the packet loss of each passage is not all less than packet loss minimum threshold P
min, then next program is turned to;
When the packet loss of each passage is all in packet loss minimum threshold P
minwith packet loss max-thresholds P
maxbetween time, the code check level of each passage can be adjusted according to the size cases of each passage packet loss, reduce the data traffic of low-priority channel by reducing code check thus discharge bandwidth, ensure that the packet loss of the higher leveled passage of priority is not more than the packet loss of the passage of this priority with this, the code check level that namely code check level meets the higher leveled passage of priority is not less than the code check level of the passage of this priority.
12. a kind of Vehicular video monitoring system multichannel priority control system as claimed in claim 7, is characterized in that: the minimum threshold values P of described packet loss
minbe 3%, maximum threshold values P
maxbe 10%.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410530225.8A CN104333767B (en) | 2014-10-10 | 2014-10-10 | A kind of Vehicular video monitoring system multichannel priority control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410530225.8A CN104333767B (en) | 2014-10-10 | 2014-10-10 | A kind of Vehicular video monitoring system multichannel priority control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104333767A true CN104333767A (en) | 2015-02-04 |
CN104333767B CN104333767B (en) | 2019-07-02 |
Family
ID=52408405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410530225.8A Active CN104333767B (en) | 2014-10-10 | 2014-10-10 | A kind of Vehicular video monitoring system multichannel priority control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104333767B (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104853219A (en) * | 2015-05-29 | 2015-08-19 | 福州瑞芯微电子有限公司 | Video preprocessed data scheduling method and device |
CN105245321A (en) * | 2015-10-10 | 2016-01-13 | 安徽清新互联信息科技有限公司 | Multichannel real-time data transmission method of self-adaptive bandwidth |
CN105827633A (en) * | 2016-05-06 | 2016-08-03 | 浙江大华技术股份有限公司 | Video transmission method and device |
CN106302458A (en) * | 2016-08-16 | 2017-01-04 | 广东中星电子有限公司 | Video information transmission method and video information transmission system |
CN106331717A (en) * | 2015-06-30 | 2017-01-11 | 成都鼎桥通信技术有限公司 | Video code rate adaptive adjustment method and transmission-end device |
CN106658058A (en) * | 2016-10-13 | 2017-05-10 | 厦门蓝斯通信股份有限公司 | Multiple-client-terminal-based video transmission rate synchronization management method and the management system |
CN106850433A (en) * | 2017-01-11 | 2017-06-13 | 浙江大华技术股份有限公司 | The video trunk management method and device of a kind of video monitoring system |
WO2017181893A1 (en) * | 2016-04-22 | 2017-10-26 | 华为技术有限公司 | Code stream transport method and device, and web camera |
CN107360383A (en) * | 2017-07-26 | 2017-11-17 | 北京百思科技有限公司 | A kind of method and system for automatically generating video |
CN107786468A (en) * | 2016-08-24 | 2018-03-09 | 南京中兴新软件有限责任公司 | MPLS network bandwidth allocation methods and device based on HQoS |
CN108093294A (en) * | 2016-11-21 | 2018-05-29 | ***通信有限公司研究院 | A kind of terminal screen live broadcasting method and terminal |
CN109874031A (en) * | 2017-12-04 | 2019-06-11 | 华平信息技术股份有限公司 | Multipriority dynamic code rate method of adjustment and system based on network bandwidth prediction |
CN110086566A (en) * | 2019-03-18 | 2019-08-02 | 深圳市元征科技股份有限公司 | A kind of transmission method and mobile unit of vehicle-mounted data |
CN110138688A (en) * | 2019-04-15 | 2019-08-16 | 深圳壹账通智能科技有限公司 | Dynamic adjusts method, apparatus, equipment and the readable storage medium storing program for executing of business interface |
CN111510735A (en) * | 2020-04-21 | 2020-08-07 | 新石器慧通(北京)科技有限公司 | Encoding transmission method and device for multi-channel video in weak network environment and unmanned vehicle |
CN111586350A (en) * | 2020-04-19 | 2020-08-25 | 国网辽宁省电力有限公司电力科学研究院 | Method for adjusting code rate based on parameters such as bandwidth, priority and no-operation time |
CN112203043A (en) * | 2020-09-14 | 2021-01-08 | 中标慧安信息技术股份有限公司 | Video transmission method and system |
CN112383383A (en) * | 2020-11-11 | 2021-02-19 | 苏州华兴源创科技股份有限公司 | Adaptive adjustment method for multichannel data transmission and data processing system |
CN113347113A (en) * | 2021-06-29 | 2021-09-03 | 深信服科技股份有限公司 | Flow control method, device, equipment and computer storage medium |
CN115174567A (en) * | 2022-06-22 | 2022-10-11 | 浙江大华技术股份有限公司 | Code sending method, device, equipment and storage medium |
CN115174965A (en) * | 2022-06-30 | 2022-10-11 | 杭州海康威视数字技术股份有限公司 | Video preview method and device, electronic equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070127488A1 (en) * | 2001-11-08 | 2007-06-07 | Sony Corporation | Transmission format, communication control apparatus and method, recording medium, and program |
CN101252687A (en) * | 2008-03-20 | 2008-08-27 | 上海交通大学 | Method for implementing multichannel combined interested area video coding and transmission |
CN102946570A (en) * | 2012-09-21 | 2013-02-27 | 上海交通大学 | Transmission system and method for multi-stream streaming media of self-adaption network bandwidth |
CN103428531A (en) * | 2012-05-25 | 2013-12-04 | 中兴通讯股份有限公司 | Method and system for ARQ controlling of multi-media data |
CN103634299A (en) * | 2013-11-14 | 2014-03-12 | 北京邮电大学 | Real-time stream media transmission terminal and method based on multi-connection |
CN103888848A (en) * | 2014-03-27 | 2014-06-25 | 西安电子科技大学 | Video transmission routing method based on receiving nodes in vehicular ad hoc network |
-
2014
- 2014-10-10 CN CN201410530225.8A patent/CN104333767B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070127488A1 (en) * | 2001-11-08 | 2007-06-07 | Sony Corporation | Transmission format, communication control apparatus and method, recording medium, and program |
CN101252687A (en) * | 2008-03-20 | 2008-08-27 | 上海交通大学 | Method for implementing multichannel combined interested area video coding and transmission |
CN103428531A (en) * | 2012-05-25 | 2013-12-04 | 中兴通讯股份有限公司 | Method and system for ARQ controlling of multi-media data |
CN102946570A (en) * | 2012-09-21 | 2013-02-27 | 上海交通大学 | Transmission system and method for multi-stream streaming media of self-adaption network bandwidth |
CN103634299A (en) * | 2013-11-14 | 2014-03-12 | 北京邮电大学 | Real-time stream media transmission terminal and method based on multi-connection |
CN103888848A (en) * | 2014-03-27 | 2014-06-25 | 西安电子科技大学 | Video transmission routing method based on receiving nodes in vehicular ad hoc network |
Cited By (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104853219B (en) * | 2015-05-29 | 2017-10-03 | 福州瑞芯微电子股份有限公司 | The data dispatching method and device of a kind of video pre-filtering |
CN104853219A (en) * | 2015-05-29 | 2015-08-19 | 福州瑞芯微电子有限公司 | Video preprocessed data scheduling method and device |
CN106331717B (en) * | 2015-06-30 | 2019-05-07 | 成都鼎桥通信技术有限公司 | Video code rate self-adapting regulation method and sending ending equipment |
CN106331717A (en) * | 2015-06-30 | 2017-01-11 | 成都鼎桥通信技术有限公司 | Video code rate adaptive adjustment method and transmission-end device |
CN105245321A (en) * | 2015-10-10 | 2016-01-13 | 安徽清新互联信息科技有限公司 | Multichannel real-time data transmission method of self-adaptive bandwidth |
CN112218172A (en) * | 2016-04-22 | 2021-01-12 | 华为技术有限公司 | Code stream transmission method and device and network camera |
WO2017181893A1 (en) * | 2016-04-22 | 2017-10-26 | 华为技术有限公司 | Code stream transport method and device, and web camera |
CN107306361A (en) * | 2016-04-22 | 2017-10-31 | 华为技术有限公司 | Code stream transmission method, device and IP Camera |
CN107306361B (en) * | 2016-04-22 | 2020-09-18 | 华为技术有限公司 | Code stream transmission method and device and network camera |
CN112218172B (en) * | 2016-04-22 | 2022-06-10 | 华为技术有限公司 | Code stream transmission method and device and network camera |
CN105827633A (en) * | 2016-05-06 | 2016-08-03 | 浙江大华技术股份有限公司 | Video transmission method and device |
CN106302458A (en) * | 2016-08-16 | 2017-01-04 | 广东中星电子有限公司 | Video information transmission method and video information transmission system |
CN107786468A (en) * | 2016-08-24 | 2018-03-09 | 南京中兴新软件有限责任公司 | MPLS network bandwidth allocation methods and device based on HQoS |
CN106658058B (en) * | 2016-10-13 | 2019-12-13 | 厦门蓝斯通信股份有限公司 | video sending rate synchronization management method and management system based on multiple clients |
CN106658058A (en) * | 2016-10-13 | 2017-05-10 | 厦门蓝斯通信股份有限公司 | Multiple-client-terminal-based video transmission rate synchronization management method and the management system |
CN108093294A (en) * | 2016-11-21 | 2018-05-29 | ***通信有限公司研究院 | A kind of terminal screen live broadcasting method and terminal |
CN106850433A (en) * | 2017-01-11 | 2017-06-13 | 浙江大华技术股份有限公司 | The video trunk management method and device of a kind of video monitoring system |
CN106850433B (en) * | 2017-01-11 | 2020-02-14 | 浙江大华技术股份有限公司 | Video trunk line management method and device of video monitoring system |
CN107360383A (en) * | 2017-07-26 | 2017-11-17 | 北京百思科技有限公司 | A kind of method and system for automatically generating video |
CN107360383B (en) * | 2017-07-26 | 2019-07-30 | 北京百思科技有限公司 | A kind of method and system automatically generating video |
CN109874031A (en) * | 2017-12-04 | 2019-06-11 | 华平信息技术股份有限公司 | Multipriority dynamic code rate method of adjustment and system based on network bandwidth prediction |
CN110086566B (en) * | 2019-03-18 | 2022-09-06 | 深圳市元征科技股份有限公司 | Vehicle-mounted data transmission method and vehicle-mounted equipment |
CN110086566A (en) * | 2019-03-18 | 2019-08-02 | 深圳市元征科技股份有限公司 | A kind of transmission method and mobile unit of vehicle-mounted data |
CN110138688A (en) * | 2019-04-15 | 2019-08-16 | 深圳壹账通智能科技有限公司 | Dynamic adjusts method, apparatus, equipment and the readable storage medium storing program for executing of business interface |
CN111586350B (en) * | 2020-04-19 | 2021-11-09 | 国网辽宁省电力有限公司电力科学研究院 | Method for adjusting code rate based on bandwidth, priority and no-operation time |
CN111586350A (en) * | 2020-04-19 | 2020-08-25 | 国网辽宁省电力有限公司电力科学研究院 | Method for adjusting code rate based on parameters such as bandwidth, priority and no-operation time |
CN111510735A (en) * | 2020-04-21 | 2020-08-07 | 新石器慧通(北京)科技有限公司 | Encoding transmission method and device for multi-channel video in weak network environment and unmanned vehicle |
CN112203043A (en) * | 2020-09-14 | 2021-01-08 | 中标慧安信息技术股份有限公司 | Video transmission method and system |
CN112383383A (en) * | 2020-11-11 | 2021-02-19 | 苏州华兴源创科技股份有限公司 | Adaptive adjustment method for multichannel data transmission and data processing system |
CN113347113A (en) * | 2021-06-29 | 2021-09-03 | 深信服科技股份有限公司 | Flow control method, device, equipment and computer storage medium |
CN113347113B (en) * | 2021-06-29 | 2023-02-03 | 深信服科技股份有限公司 | Flow control method, device, equipment and computer storage medium |
CN115174567A (en) * | 2022-06-22 | 2022-10-11 | 浙江大华技术股份有限公司 | Code sending method, device, equipment and storage medium |
CN115174965A (en) * | 2022-06-30 | 2022-10-11 | 杭州海康威视数字技术股份有限公司 | Video preview method and device, electronic equipment and computer readable storage medium |
CN115174965B (en) * | 2022-06-30 | 2024-01-02 | 杭州海康威视数字技术股份有限公司 | Video preview method, device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104333767B (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104333767A (en) | Multi-channel priority control method and system for vehicle video monitoring system | |
CA2632126C (en) | Method and devices for specifying the quality of service in a transmission of data packets | |
CN109155762B (en) | Data transmission method and device | |
EP2742724B1 (en) | Method and apparatus for controlling wireless uplink sessions | |
EP3171629B1 (en) | Access network congestion control method and base station device | |
CN101436990B (en) | Method for automatically adjusting encoding rate, receiving device and communication system | |
JP2007104705A (en) | System for uplink scheduling packet based on data traffic in wireless system | |
EP1815651A2 (en) | Method and apparatus for adaptive buffering | |
CN103916913A (en) | Resource scheduling method and device | |
KR102275579B1 (en) | Method and apparatus for providing differentiated transmitting services | |
CN102892145A (en) | Method, network equipment and user equipment for controlling data transmission | |
CN103797841A (en) | Admission control method and device | |
CN105471763A (en) | Control message transmission method and device | |
CN105704828A (en) | Resource scheduling method and resource scheduling device | |
US20040057461A1 (en) | Dynamic bandwidth allocation for variable bit rate streaming data | |
RU2406273C2 (en) | Method and devices for specification of service quality in process of data burst transfer | |
CN112236986B (en) | Network controlled upstream media delivery for collaborative media production in network capacity limited scenarios | |
CN106941729B (en) | Method and device for uploading and receiving buffer area state | |
CN109756936B (en) | Stream mapping method, stream receiving method, network device and terminal | |
CN103281258A (en) | Method and device for transmitting data | |
EP3900451A1 (en) | Communications device, infrastructure equipment and methods | |
US20170135107A1 (en) | Data communication apparatus, computer readable medium, and satellite communication system | |
US11871069B2 (en) | Multimedia service providing device and multimedia service providing method | |
CN101026407B (en) | Method for the support of high bit rate services in a mobile communication system | |
EP2826208B1 (en) | A bandwidth management device, central management device and method of bandwidth management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 361009 Xiamen Torch High tech Zone Software Park Innovation Building C Area 303-E, Fujian Province Patentee after: Xiamen Yaxun Zhilian Technology Co.,Ltd. Country or region after: China Address before: 361009 No.46, guanri Road, phase II, software park industrial base, Xiamen City, Fujian Province Patentee before: XIAMEN YAXON NETWORK Co.,Ltd. Country or region before: China |