CN109450923A - A kind of Video transmission system and method - Google Patents

A kind of Video transmission system and method Download PDF

Info

Publication number
CN109450923A
CN109450923A CN201811452359.7A CN201811452359A CN109450923A CN 109450923 A CN109450923 A CN 109450923A CN 201811452359 A CN201811452359 A CN 201811452359A CN 109450923 A CN109450923 A CN 109450923A
Authority
CN
China
Prior art keywords
target
server
center
client
management 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.)
Granted
Application number
CN201811452359.7A
Other languages
Chinese (zh)
Other versions
CN109450923B (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.)
Wuhan Fiberhome Digtal Technology Co Ltd
Original Assignee
Wuhan Fiberhome Digtal 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 Wuhan Fiberhome Digtal Technology Co Ltd filed Critical Wuhan Fiberhome Digtal Technology Co Ltd
Priority to CN201811452359.7A priority Critical patent/CN109450923B/en
Publication of CN109450923A publication Critical patent/CN109450923A/en
Application granted granted Critical
Publication of CN109450923B publication Critical patent/CN109450923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • 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/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a kind of Video transmission system and method, system includes: authentication server, for carrying out legitimacy verifies to the received connection request of institute;If connection request determines target's center's management server, the address URL of target's center's management server is returned to client by legitimacy verifies, requested so that client sends video acquisition to target's center's management server according to the address URL;Target's center's management server, for receiving video acquisition request, video acquisition request includes that first camera identifies;It determines target medium the distribution server, sets the reception address of target medium the distribution server to the IP address of client;The first control signaling is sent to the first front end camera identified with first camera, so that the first front end camera sends video data stream to target medium the distribution server according to the first control signaling;Target medium the distribution server, for sending video data stream to client.Using the embodiment of the present invention, data storage efficiency is improved.

Description

A kind of Video transmission system and method
Technical field
The present invention relates to technical field of video monitoring more particularly to a kind of Video transmission system and methods.
Background technique
With the development of video production technology, the trend that magnanimity increases is presented in video data, in order to preferably mention for user For Video service, improves video transmission quality and become more and more important.
Video transmission method of the conventional deployment on single machine executes all steps in video transmitting procedure by the single machine, For example, receiving video acquisition request, is requested to obtain video data stream according to video acquisition, video data stream is obtained to video The sender of request is taken to wait and etc., single machine needs the software function module disposed more, leads to that set expandability is poor, is not easy to tie up Shield, therefore generally requires larger maintenance cost, and the resource of whole system is by the offer of the single machine, due to waiting resource point With a large amount of processing time can be expended, cause video transmission efficiency not high.
Summary of the invention
It is an object of the invention to overcome the defect of the prior art, a kind of Video transmission system and method are provided, with reality Now improve video transmission efficiency.
The present invention is implemented as follows:
In a first aspect, the present invention provides a kind of Video transmission system, the system comprises multiple front end cameras, centre management Server cluster, authentication server and media delivery server cluster, wherein
The authentication server closes the received connection request of institute for receiving the connection request of client transmission Method verification, if the connection request by legitimacy verifies, determines target's center from the center management server cluster The uniform resource position mark URL address of target's center's management server is returned to the client by management server, with The client is set to send video acquisition request to target's center's management server according to the address URL;
Target's center's management server, the video acquisition request sent for receiving the client, the video Acquisition request includes first camera mark;Target medium the distribution server is determined from the media delivery server cluster, it will The reception address of the target medium the distribution server is set as the IP address of the client;Into the multiple front end camera The first front end camera with first camera mark sends the first control signaling, so that first front end camera is according to institute It states the first control signaling and sends video data stream to the target medium the distribution server;
The target medium the distribution server sends institute according to the reception address for receiving the video data stream Video data stream is stated to the client.
Optionally, the connection request includes target account, target password and target logon rights, the authentication server Legitimacy verifies are carried out to the received connection request of institute, specifically:
The user's registration table pre-established is searched, determines in the user's registration table and is taken with the presence or absence of the connection request Corresponding relationship between the target account of band, target password and target logon rights three;The user's registration table is for storing Corresponding relationship between account, password and logon rights three;
If it exists, determine that the connection request passes through legitimacy verifies;
If it does not exist, determine that the connection request does not pass through legitimacy verifies.
Optionally, the authentication server determines target's center's management service from the center management server cluster Device, specifically:
Obtain the IP address of each center management server in the center management server cluster and the client IP address;
With the IP address of each center management server and the IP address of the client, each central tube is calculated The routed path between server and the client is managed, is determined by central tube belonging to the least routed path of routing node Reason server is target's center's management server.
Optionally, the authentication server is also used to:
If, will be by the least each routed path of routing node point by the least routed path of routing node there are a plurality of The smallest center management server of user load is determined as target's center's management server in center management server belonging to not;
Cache the routed path between the client and target's center's management server.
Optionally, target's center's management server determines target medium point from the media delivery server cluster Server is sent out, specifically:
Determine the link shape in the client and the media delivery server cluster between each media delivery server Condition determines the best media delivery server of link circuit condition as target medium the distribution server.
Optionally, target's center's management server is also used to:
Receive the video cache request that network management terminal is sent;The video cache request includes that second camera identifies;
The second front end camera into the multiple front end camera with second camera mark sends the second control letter It enables, so that second front end camera fixes duration according to the second control signaling buffered video data stream, and every default The video data stream cached is refreshed.
Optionally, the target medium the distribution server, is also used to:
During sending video data stream, network transmission parameter is calculated;
According to the network transmission parameter, Xiang Suoshu the first front end camera sends feedback information, so that first front end Camera adjusts coding frame number according to the feedback information.
Optionally, the network transmission parameter includes at least one of time delay, packet loss and handling capacity.
Second aspect, the present invention provide a kind of video transmission method, applied to any of the above-described system, the method Applied to target's center's management server, specifically include:
The video acquisition request that client is sent is received, the video acquisition request includes that first camera identifies;From media Target medium the distribution server is determined in the distribution server cluster, and the reception address of the target medium the distribution server is arranged For the IP address of the client;
The first front end camera into the multiple front end camera with first camera mark sends the first control letter It enables, so that first front end camera sends video data to target medium the distribution server according to first control signaling Stream;So that the target medium the distribution server sends the video data stream to the client according to the reception address.
The invention has the following advantages:, by accessing multiple front end cameras, may be implemented using the embodiment of the present invention The dynamic access of massive video resource, it is real by being dynamically determined target's center's management server and target medium the distribution server The dynamic allocation of Service Source are showed, so that the scalability and availability of Video transmission system greatly improve, and institute is active It can be without concentrating on a server, the maintenance cost of system is also reduced, each step in video transmitting procedure It is executed by different servers, extends resource used in entire video transmitting procedure, and the money between each server Source distribution is independent of each other, so that whole system has large-scale computing capability, so as to be rapidly performed by transmission of video, mentions High video transmission efficiency;In addition, client need not know the true address for the center management server to be accessed in advance, drop The access requirement of low client, improves user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of structural schematic diagram of Video transmission system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of video transmission method provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
To solve prior art problem, the embodiment of the invention provides a kind of Video transmission system and methods.First below A kind of Video transmission system provided by the present invention is illustrated.
Referring to Fig. 1, Fig. 1 is a kind of Video transmission system provided in an embodiment of the present invention, and the system comprises multiple front ends Camera, center management server cluster, authentication server and media delivery server cluster, wherein the authentication server is used In the connection request for receiving client transmission, a legitimacy verifies are carried out to the received connection request of institute, if the connection request is logical Legitimacy verifies are crossed, target's center's management server are determined from the center management server cluster, by the target's center The uniform resource position mark URL address of management server returns to the client, so that the client is according to the URL Location sends video acquisition request to target's center's management server;
Target's center's management server, the video acquisition request sent for receiving the client, the video Acquisition request includes first camera mark;Target medium the distribution server is determined from the media delivery server cluster, it will The reception address of the target medium the distribution server is set as the IP address of the client;Into the multiple front end camera The first front end camera with first camera mark sends the first control signaling, so that first front end camera is according to institute It states the first control signaling and sends video data stream to target medium the distribution server;
The target medium the distribution server sends the view according to the reception address for receiving video data stream Frequency data stream gives the client.
Authentication server can have one or more, and when authentication server has more, every authentication server can be managed Different center management server clusters is managed, and can receive the connection request of the transmission of the client in compass of competency, is being determined After connection request passes through legitimacy verifies, it can determine that target's center manages from the center management server cluster of self-management Server.Authentication server herein refers to the authentication server for receiving the connection request of client transmission.Connection request is used It establishes and communicates to connect in client and authentication server, authentication server can carry out legitimacy verifies to connection request.
The present invention in authentication server, center management server cluster server, in media delivery server cluster Server type without limitation, such as can be the service for being mounted with linux system or Windows system or Unix system Device.
Connection request may include target account, target password and target logon rights, and the authentication server is to being connect The connection request of receipts carries out legitimacy verifies, specifically:
The user's registration table pre-established is searched, determines in the user's registration table and is taken with the presence or absence of the connection request Corresponding relationship between the target account of band, target password and target logon rights three;The user's registration table is for storing Corresponding relationship between account, password and logon rights three;
If it exists, determine that the connection request passes through legitimacy verifies;
If it does not exist, determine that the connection request does not pass through legitimacy verifies.
User's registration table is one or more tables of data pre-established, for storing account, the password of registered users Corresponding relationship between logon rights three, user can send registration request to authentication server by client in advance, Registration request may include account, password and logon rights, thus, authentication server can be by the account of the user to succeed in registration Number, password and logon rights save to user's registration table.The terminal that client is user for login, can be mobile phone, plate, PC etc..User can establish connection by client and authentication server.
Whether legitimacy verifies can examine connection request legal, in practical applications, can also use other modes pair Connection request carries out legitimacy verifies, for example, can examine whether the format of connection request meets preset format requirement, the company of inspection It connects in request and whether carries forbidden character etc..
It include more center management servers in center management server cluster, authentication server can directly select load Minimum application server, as target's center's management server;Alternatively, can also be in the following ways from center management service Target's center's management server is determined in device cluster:
Obtain the IP address of each center management server in the center management server cluster and the client IP address;
With the IP address of each center management server and the IP address of the client, each central tube is calculated The routed path between server and the client is managed, is determined by central tube belonging to the least routed path of routing node Reason server is target's center's management server.
Routed path is that the routing node that the communication data stream arrival other side between communicating pair is passed through is formed by net Network path can use routing algorithm and calculate routed path, counts for example, by using link vector Routing Algorithm, distance vector algorithms etc. Routed path is calculated, and can determine that by center management server belonging to the least routed path of routing node be target's center Management server, alternatively, in other embodiments, can also determine that center management server belonging to shortest route path is Target's center's management server.
In addition, authentication server can also utilize global load balancing algorithm, determined from center management server cluster Target's center's management server.Global load balancing algorithm may include: based on DNS (Domain Name System, domain name system System) domain name parse in turn method, based on client scheduling access method, the dispatching method based on application layer system load, One of dispatching method based on IP (Internet Protocol, the agreement interconnected between network) address etc. or combination.
If by the least routed path of routing node there are a plurality of, authentication server can also will be by routing node most Few each routed path respectively belonging to center management server in the smallest center management server of user load be determined as mesh Mark center management server;Alternatively, target's center's management server can also be determined at random;Alternatively, each center can also be obtained The Network status of management server determines that the best center management server of Network status is determined as target's center's management service Device.Network status can be reflected by Network status parameter, can preset Network status judgment rule, for example, can recognize Bigger for handling capacity, Network status is better, thus by the maximum center management server of handling capacity in each center management server As target's center's management server, alternatively, it is also assumed that connection number is bigger, Network status is better, thus by each central tube The maximum center management server of connection number is as target's center's management server in reason server.
In order to improve treatment effeciency, authentication server can also cache the client and target's center's management service Routed path between device, thus, if the next client for being in identical network section with the client initiates the connection request, and even It connects request to pass through after legitimacy verifies, so that it may determine target's center's management server using caching is read come quick, reduce meter The complexity of calculation.
After determining target's center's management server, authentication server can be by target's center's management server Address returns to the client to URL (Uniform Resource Locator, uniform resource locator), so that the client End sends video acquisition request to target's center's management server according to the address URL.
After authentication server starting, the centre management clothes of self-management can be obtained from the network address list of database The network address informations such as the address URL of all center management servers, IP address, port numbers in business device cluster, and can monitor The state of center management server carries out the network address list in database according to the state of center management server real-time It updates.For example, when the network disconnection or center management server cluster that detect some center management server remove in some After heart management server, the network address information of the center management server recorded in network address list can will be deleted; When detecting that center management server cluster increases the network of some center management server or center management server newly and connect again After being connected into function, the network address information of the center management server can be increased newly in network address list.
In addition, the server where database is exemplary and weighs server, or independently of depositing for authentication server Store up server or distributed storage server cluster.
Authentication server may also listen for all center management servers in network address list, from monitored it is each in Heart management server obtains all routed paths of its storage, and all routed paths listened to are cached to local and/or Caching realizes the real-time management and monitoring to center management server cluster, is conducive to reasonably determine mesh into database Center management server is marked, the reliability of system is improved.
Video acquisition requests the video data stream for obtaining some or certain front end cameras, the phase in video acquisition request Machine mark is properly termed as first camera mark, and first camera mark is used for the first front end of unique identification camera.Each centre management Server can manage one or more front end cameras, and the front end camera that can be managed sends control signaling.The present invention couple The model of front end camera both can be the camera with monocular cam without limitation, or with binocular camera Camera.The present invention may include more media delivery servers, target's center's pipe to front end camera media the distribution server cluster It manages server and determines target medium the distribution server from the media delivery server cluster, be specifically as follows:
Determine the link shape in the client and the media delivery server cluster between each media delivery server Condition determines that the best media delivery server of link circuit condition is target medium the distribution server.
Link circuit condition can be determined by network parameters such as bandwidth, time delay, packet loss, for example, bandwidth is bigger, time delay is smaller And packet loss is smaller, link circuit condition is better, and the priority of each network parameter can be set, and pays the utmost attention to the high network ginseng of priority The influence of several pairs of link circuit conditions, for example, the priority of bandwidth, time delay, packet loss successively reduces, then preferentially selection bandwidth is highest Media delivery server, and the smallest media delivery server of time delay is selected from the highest media delivery server of bandwidth, into And select the smallest media delivery server of packet loss as target from the smallest media delivery server of selected time delay Media delivery server.
Alternatively, in other embodiments, target's center's management server also can use global load balancing algorithm, from Target medium the distribution server is determined in the media delivery server cluster.
Global load balancing algorithm can choose apart from the closer media delivery server of client as target medium point Server is sent out, the nearest access of client is completed, realizes the transmission of the shortest path of video data stream, reduce transmission channel and build Vertical complexity, reduces transmission delay.
Target medium can also be distributed and be serviced after determining target medium the distribution server by target's center's management server Routed path between device and client is buffered in local server.
Alternatively, target's center's management server is determining the client and the media in another implementation Link circuit condition in the distribution server cluster between each media delivery server or using global load balancing algorithm from the matchmaker Before determining target medium the distribution server in body the distribution server cluster, it can also search in caching with the presence or absence of target customer End, and if it exists, the corresponding target medium the distribution server in destination client is determined as target medium the distribution server, and no longer Execute the link circuit condition in determining the client and the media delivery server cluster between each media delivery server Or target medium the distribution server is determined from the media delivery server cluster using global load balancing algorithm;If not depositing Then executing the link in determining the client and the media delivery server cluster between each media delivery server Situation determines target medium the distribution server using global load balancing algorithm from the media delivery server cluster.Mesh Mark client are as follows: the camera identification in transmitted video acquisition request is that first camera identifies and is in same net with client Network end.
Using the embodiment of the present invention, if there is the identical front end camera of other client applications in consolidated network section before Video data stream, then directly can distribute identical target medium the distribution server for client, reduce calculation amount, improve Treatment effeciency.
For improve data transfer efficiency, guarantee that video data stream reaches the real-time and validity of client, client UDP (User Datagram Protocol, User Datagram Protocol) can be used between target medium the distribution server Mode transmits data to over RTP (Real-time Transport Protocol, real-time transport protocol), and can combine The prison of RTCP (Real-time Transport Control Protocol, i.e. RTCP Real-time Transport Control Protocol) offer service quality Depending on synchronous etc. feedback, between media.
In order to guarantee the fluency played, raising user experience, target's center's management server be can be also used for:
Receive the video cache request that network management terminal is sent;The video cache request includes that second camera identifies;
The second front end camera into the multiple front end camera with second camera mark sends the second control letter It enables, so that second front end camera fixes duration according to the second control signaling buffered video data stream, and every default The video data stream cached is refreshed.
Network management terminal is the terminal device with the network administrator logs of administration authority, and network administrator can pass through net Tube terminal sends video cache request.Video cache request is for flowing into the video data of some or the acquisition of certain front end cameras Row caching.
Video cache request may include camera identification and video channel number of front end camera etc., in video cache request Camera identification is properly termed as second camera mark, and the front end camera with second camera mark is properly termed as the second front end camera. Camera identification can be capable of the sign flag of unique identification front end camera, a front end camera for device numbering, device name etc. It is possible that there is multiple video channels.One video channel is used for transmission encoded video data stream all the way.Video channel number is for only One mark video channel.
Network management terminal can provide human-computer interaction interface, and human-computer interaction interface may include that camera identification option and video are logical Taoist monastic name option can be based on selected after detecting that some or certain camera identification options and video channel option are selected In camera identification option and video channel option generate video cache request.Video cache request can be HTTP (HyperText Transfer Protocol, hypertext transfer protocol) or HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer) etc. types request.
First control signaling, the second control signaling may each be meet SIP (Session Initiation Protocol, Session initiation protocol) format control stream, the first control signaling for control the first front end camera to target medium distribute service Device sends video data stream, and the second control signaling is used to control the second front end camera buffered video data stream, and every default solid Timing length refreshes the video data stream cached.Default fixed duration can be the ginseng carried in video cache request Number, can also be with the parameter of front end camera default setting.In addition, video cache request can also include length of the video time, such as The video data stream of 10 seconds/2 seconds/5 seconds etc. length of the video time can be cached.It can be brushed by the way of circulation covering Newly, to, after the default fixed duration in interval, the video data stream cached before can be covered with next video data stream.
, can be in the second front end camera buffered video data stream using the embodiment of the present invention, and can be fixed every default Duration refreshes the video data stream cached, thus, client withouts waiting for the second front end camera acquisition video counts According to stream, so that it may which the video data stream cached before first obtaining, in the process, the second front end camera can complete video data The acquisition of stream, in turn, client can continue to obtain the video data stream of this time acquisition, improve the fluency of broadcasting, so that User perceived less than the waiting time, improved user experience.
In order to ensure that the quality of transmission of video, target medium the distribution server are also used to:
During sending video data stream, network transmission parameter is calculated;
According to the network transmission parameter, Xiang Suoshu the first front end camera sends feedback information, so that first front end Camera adjusts coding parameter according to the feedback information.
Network transmission parameter can reflect network transmission quality, and the type of network transmission parameter can be previously set, for example, It may include at least one of time delay, packet loss and handling capacity.
Feedback information includes the first feedback information and the second feedback information, and the first feedback information is for reflecting Network status not Good, the second feedback information is for reflecting that Network status is good, and time delay is greater than default delay threshold or packet loss is greater than default packet loss Rate threshold value or handling capacity are lower than preset throughputs threshold value, can send the first feedback information to first front end camera, so that First front end camera reduces coding frame number according to the feedback information;Otherwise, it can be sent to first front end camera Second feedback information, so that first front end camera increases coding frame number by preset step-length according to second feedback information, Until coding frame number reaches pre-arranged code frame number.
Illustratively, if Network status is good, 25 frame data can be transmitted within 1 second, the first front end camera can be by 1 I frame A frame picture is encoded into 24 P frames to be transmitted.If Network status is bad, the first front end camera can be specific according to network Situation reduces the number of P frame, and in order to guarantee the minimum fluency of picture, P frame can at least retain 13-15, for example, time delay is greater than Default delay threshold, packet loss are greater than default packet loss threshold value and handling capacity is lower than in preset throughputs threshold value three at least the two When establishment, 1 I frame and 14 P frames are encoded into a frame and draw progress transmission surface, when only one is set up in the three, by 1 I Frame and 20 P frames are encoded into a frame and draw progress transmission surface.
Using dynamic coding strategy, the pressure of network load is alleviated, is conducive to ensure video transmission quality.
In addition, target medium the distribution server, can be also used for obtaining scene mode, scene mode include general mode and High definition mode, general mode are the scene mode of less demanding to Caton, high definition mode be to the demanding scene mode of Caton, It needs to reduce Caton to the greatest extent.The video acquisition request that client is sent can carry scene mode, thus target's center's management clothes Scene mode can be sent to target medium the distribution server by business device.
If scene mode is general mode, target medium the distribution server can store 2/3 in buffer queue GOP;If scene mode is high definition mode, appropriate to increase length of buffer queue, such as can fix caching 10/7/6 GOP.One GOP is exactly a complete picture, includes at least one key frame I frame and several non-key frames P frame.P frame is Information differential comparison is carried out using calculus of finite differences and I frame, to carry out the extraction of picture.It, can basis using the embodiment of the present invention Scene mode, dynamic adjust the length of buffer queue, have not only been able to satisfy to the demanding scene demand of Caton, but also can reasonable distribution system System resource, improves resource utilization.
In order to reduce packet loss, target medium the distribution server, can be to network during sending video data stream Situation is monitored, and can predict that packet loss may become by the length of the buffering queue of all connections of rear end cycle monitoring The big time receives the buffering queue instruction that rear end is sent, the length of adjustment buffering queue is instructed according to buffering queue, to avoid Packet loss becomes larger, to improve transmission quality, the integrality to the received video data stream of client is ensured, to improve playing body It tests.
The dynamic access of massive video resource may be implemented by the multiple front end cameras of access using the embodiment of the present invention, By being dynamically determined target's center's management server and target medium the distribution server, the dynamic allocation of Service Source are realized, So that the scalability and availability of Video transmission system greatly improve, and system institute is functional without concentrating on a service On device, the maintenance cost of system is also reduced, and each step in video transmitting procedure is executed by different servers, is expanded Resource used in entire video transmitting procedure is opened up, and the resource allocation between each server is independent of each other, so that whole A system has large-scale computing capability, so as to be rapidly performed by transmission of video, improves video transmission efficiency;Separately Outside, client need not know the true address for the center management server to be accessed in advance, and the access for reducing client is wanted It asks, improves user experience.
Corresponding to above-mentioned Video transmission system embodiment, the embodiment of the invention provides a kind of video transmission method, referring to Corresponding with structure shown in Fig. 1 shown in Fig. 2, this method is applied to above-mentioned Video transmission system, specifically, the method application In target's center's management server, specifically include:
S101, the video acquisition request that client is sent is received, the video acquisition request includes that first camera identifies;From Target medium the distribution server is determined in media delivery server cluster, by the reception address of the target medium the distribution server It is set as the IP address of the client;
S102, the first front end camera into the multiple front end camera with first camera mark send the first control Signaling processed, so that first front end camera sends video counts to target medium the distribution server according to first control signaling According to stream;So that the target medium the distribution server sends the video data stream to the client according to the reception address End.
As it can be seen that, by accessing multiple front end cameras, the dynamic of massive video resource may be implemented using the embodiment of the present invention Access, by being dynamically determined target's center's management server and target medium the distribution server, realizes the dynamic of Service Source Distribution, so that the scalability and availability of Video transmission system greatly improve, and system institute is functional without concentrating on one On platform server, the maintenance cost of system is also reduced, and each step in video transmitting procedure is by different servers It executes, extends resource used in entire video transmitting procedure, and the resource allocation between each server is independent of each other, So that whole system has large-scale computing capability, so as to be rapidly performed by transmission of video, transmission of video effect is improved Rate;In addition, client need not know the true address for the center management server to be accessed in advance, connecing for client is reduced Enter requirement, improves user experience.
Optionally, target medium the distribution server is determined from media delivery server cluster, comprising:
Using global load balancing algorithm, each media point in the client and the media delivery server cluster are determined The link circuit condition between server is sent out, determines that the best media delivery server of link circuit condition is distributed as target medium and services Device.
Optionally, the method also includes:
Receive the video cache request that network management terminal is sent;The video cache request includes that second camera identifies;
The second front end camera into the multiple front end camera with second camera mark sends the second control letter It enables, so that second front end camera fixes duration according to the second control signaling buffered video data stream, and every default The video data stream cached is refreshed.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (9)

1. a kind of Video transmission system, which is characterized in that the system comprises multiple front end cameras, center management server collection Group, authentication server and media delivery server cluster, wherein
The authentication server carries out legitimacy to the received connection request of institute for receiving the connection request of client transmission Verification, if the connection request by legitimacy verifies, determines target's center's management from the center management server cluster The uniform resource position mark URL address of target's center's management server is returned to the client, so that institute by server It states client and sends video acquisition request to target's center's management server according to the address URL;
Target's center's management server, the video acquisition request sent for receiving the client, the video acquisition Request includes that first camera identifies;Target medium the distribution server is determined from the media delivery server cluster, it will be described The reception address of target medium the distribution server is set as the IP address of the client;Have into the multiple front end camera First front end camera of first camera mark sends the first control signaling, so that first front end camera is according to described the One control signaling sends video data stream to the target medium the distribution server;
The target medium the distribution server sends the view according to the reception address for receiving the video data stream Frequency data stream gives the client.
2. system according to claim 1, which is characterized in that the connection request include target account, target password and Target logon rights, the authentication server carry out legitimacy verifies to the received connection request of institute, specifically:
The user's registration table pre-established is searched, is determined in the user's registration table with the presence or absence of entrained by the connection request Corresponding relationship between target account, target password and target logon rights three;The user's registration table for store account, Corresponding relationship between password and logon rights three;
If it exists, determine that the connection request passes through legitimacy verifies;
If it does not exist, determine that the connection request does not pass through legitimacy verifies.
3. system according to claim 1, which is characterized in that the authentication server is from the center management server collection Target's center's management server is determined in group, specifically:
With obtaining in the center management server cluster IP of the IP address of each center management server and the client Location;
With the IP address of each center management server and the IP address of the client, each centre management clothes are calculated The routed path being engaged between device and the client is determined by the clothes of centre management belonging to the least routed path of routing node Business device is target's center's management server.
4. system according to claim 3, which is characterized in that the authentication server is also used to:
If by the least routed path of routing node there are a plurality of institute will be distinguished by the least each routed path of routing node The smallest center management server of user load is determined as target's center's management server in the center management server of category;
Cache the routed path between the client and target's center's management server.
5. system according to claim 1 to 3, which is characterized in that target's center's management server is from the matchmaker Target medium the distribution server is determined in body the distribution server cluster, specifically:
Determine the link circuit condition in the client and the media delivery server cluster between each media delivery server, really The best media delivery server of link circuit condition is determined as target medium the distribution server.
6. system according to claim 1, which is characterized in that target's center's management server is also used to:
Receive the video cache request that network management terminal is sent;The video cache request includes that second camera identifies;
The second front end camera into the multiple front end camera with second camera mark sends the second control signaling, with Make second front end camera according to the second control signaling buffered video data stream, and every default fixed duration to having delayed The video data stream deposited is refreshed.
7. system according to claim 1, which is characterized in that the target medium the distribution server is also used to:
During sending video data stream, network transmission parameter is calculated;
According to the network transmission parameter, Xiang Suoshu the first front end camera sends feedback information, so that first front end camera Coding frame number is adjusted according to the feedback information.
8. system according to claim 7, which is characterized in that the network transmission parameter includes time delay, packet loss and gulps down At least one of the amount of spitting.
9. a kind of video transmission method, which is characterized in that be applied to system described in claim 1, the method is applied to institute Target's center's management server is stated, is specifically included:
The video acquisition request that client is sent is received, the video acquisition request includes that first camera identifies;From distribution of media Target medium the distribution server is determined in server cluster, sets institute for the reception address of the target medium the distribution server State the IP address of client;
The first front end camera into the multiple front end camera with first camera mark sends the first control signaling, with First front end camera is set to send video data stream to target medium the distribution server according to first control signaling;So that The target medium the distribution server sends the video data stream to the client according to the reception address.
CN201811452359.7A 2018-11-30 2018-11-30 Video transmission system and method Active CN109450923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811452359.7A CN109450923B (en) 2018-11-30 2018-11-30 Video transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811452359.7A CN109450923B (en) 2018-11-30 2018-11-30 Video transmission system and method

Publications (2)

Publication Number Publication Date
CN109450923A true CN109450923A (en) 2019-03-08
CN109450923B CN109450923B (en) 2021-06-15

Family

ID=65554592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811452359.7A Active CN109450923B (en) 2018-11-30 2018-11-30 Video transmission system and method

Country Status (1)

Country Link
CN (1) CN109450923B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248215A (en) * 2019-05-22 2019-09-17 福建大屏网络科技有限公司 Video playing chain method for authenticating, device, system, server and storage medium
CN111314293A (en) * 2020-01-15 2020-06-19 安徽文香信息技术有限公司 Media resource service system, method, device, storage medium and processor
CN112511811A (en) * 2021-02-03 2021-03-16 北京拓课网络科技有限公司 Multi-camera processing method and device and electronic equipment
CN112583922A (en) * 2020-12-16 2021-03-30 罗普特科技集团股份有限公司 Intelligent scheduling system for video monitoring service
CN112637258A (en) * 2020-09-28 2021-04-09 西安万像电子科技有限公司 Data processing method and system
CN112770145A (en) * 2020-12-31 2021-05-07 罗普特科技集团股份有限公司 Scheduling method and system for video monitoring platform
CN114401453A (en) * 2022-01-14 2022-04-26 京东方科技集团股份有限公司 Data processing method, device, computing equipment and medium
CN114401114A (en) * 2021-12-17 2022-04-26 上海绚显科技有限公司 Data transmission method and device, electronic equipment and storage medium
CN114584561A (en) * 2022-03-15 2022-06-03 联想(北京)有限公司 Information processing method and device and electronic equipment
CN114866854A (en) * 2022-04-20 2022-08-05 杭州博联智能科技股份有限公司 Video access mode dynamic allocation method, system, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130031210A1 (en) * 2011-07-29 2013-01-31 Redmond Stefan Paul Optimized near-simultaneous distribution of multimedia content
CN103747274A (en) * 2013-12-18 2014-04-23 北京邮电大学 Video data center with additionally-arranged cache cluster and cached resource scheduling method thereof
CN105450994A (en) * 2015-12-03 2016-03-30 河北远东通信系统工程有限公司 Video commanding and dispatching system and method based on RTSP
CN106791986A (en) * 2017-01-10 2017-05-31 环球智达科技(北京)有限公司 A kind of live index list encrypted antitheft catenary systems of HLS and method
CN108183913A (en) * 2018-01-04 2018-06-19 深圳前海安托邦网络科技有限公司 A kind of LAN video camera carries out the management system and method for network flow-medium live streaming
CN108551571A (en) * 2018-05-16 2018-09-18 武汉微创光电股份有限公司 A kind of monitor video distribution method, device, system and Distributor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130031210A1 (en) * 2011-07-29 2013-01-31 Redmond Stefan Paul Optimized near-simultaneous distribution of multimedia content
CN103747274A (en) * 2013-12-18 2014-04-23 北京邮电大学 Video data center with additionally-arranged cache cluster and cached resource scheduling method thereof
CN105450994A (en) * 2015-12-03 2016-03-30 河北远东通信系统工程有限公司 Video commanding and dispatching system and method based on RTSP
CN106791986A (en) * 2017-01-10 2017-05-31 环球智达科技(北京)有限公司 A kind of live index list encrypted antitheft catenary systems of HLS and method
CN108183913A (en) * 2018-01-04 2018-06-19 深圳前海安托邦网络科技有限公司 A kind of LAN video camera carries out the management system and method for network flow-medium live streaming
CN108551571A (en) * 2018-05-16 2018-09-18 武汉微创光电股份有限公司 A kind of monitor video distribution method, device, system and Distributor

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248215A (en) * 2019-05-22 2019-09-17 福建大屏网络科技有限公司 Video playing chain method for authenticating, device, system, server and storage medium
CN111314293A (en) * 2020-01-15 2020-06-19 安徽文香信息技术有限公司 Media resource service system, method, device, storage medium and processor
CN112637258A (en) * 2020-09-28 2021-04-09 西安万像电子科技有限公司 Data processing method and system
WO2022126837A1 (en) * 2020-12-16 2022-06-23 罗普特科技集团股份有限公司 Intelligent scheduling system for video monitoring service
CN112583922A (en) * 2020-12-16 2021-03-30 罗普特科技集团股份有限公司 Intelligent scheduling system for video monitoring service
CN112770145A (en) * 2020-12-31 2021-05-07 罗普特科技集团股份有限公司 Scheduling method and system for video monitoring platform
CN112770145B (en) * 2020-12-31 2023-07-25 罗普特科技集团股份有限公司 Scheduling method and system for video monitoring platform
CN112511811A (en) * 2021-02-03 2021-03-16 北京拓课网络科技有限公司 Multi-camera processing method and device and electronic equipment
CN114401114A (en) * 2021-12-17 2022-04-26 上海绚显科技有限公司 Data transmission method and device, electronic equipment and storage medium
CN114401114B (en) * 2021-12-17 2023-08-11 上海绚显科技有限公司 Data transmission method, device, electronic equipment and storage medium
CN114401453A (en) * 2022-01-14 2022-04-26 京东方科技集团股份有限公司 Data processing method, device, computing equipment and medium
CN114401453B (en) * 2022-01-14 2024-04-16 京东方科技集团股份有限公司 Data processing method, device, computing equipment and medium
CN114584561A (en) * 2022-03-15 2022-06-03 联想(北京)有限公司 Information processing method and device and electronic equipment
CN114866854A (en) * 2022-04-20 2022-08-05 杭州博联智能科技股份有限公司 Video access mode dynamic allocation method, system, electronic equipment and storage medium
CN114866854B (en) * 2022-04-20 2023-12-05 杭州博联智能科技股份有限公司 Video access mode dynamic allocation method, system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109450923B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN109450923A (en) A kind of Video transmission system and method
CN101534204B (en) Streaming media information distribution system and method thereof and user end
CN101282281B (en) Medium distributing system and apparatus as well as flow medium play method
CN100518105C (en) Method, system and content distribution network for monitoring network
US20150180748A1 (en) METHOD AND APPARATUS OF WebRTC MEDIA CONTROL
WO2010124550A1 (en) Content delivery method and device and content delivery network system
US20090282160A1 (en) Method for Constructing Network Topology, and Streaming Delivery System
US20110093607A1 (en) Method, device, and apparatus for providing media stream service
CN108881933B (en) A kind of live streaming treating method and apparatus of view networking
US20120236739A1 (en) Network device, and multi-wide area network interface selection module and method
CN106993014B (en) Cache content adjusting method, device and system
CN100566407C (en) The thin resource video binding strategy method of various video exchange routing mode
CN106888253A (en) The shunt method and device of a kind of broadband services
CN102420868B (en) The providing method of service, apparatus and system
WO2013185655A1 (en) Method and device for distributing mobile attendant call
WO2023005701A1 (en) Data communication method and apparatus, electronic device, and storage medium
WO2014176990A1 (en) Node allocation method, device and system
WO2011140910A1 (en) Service process unit and method, and service control gateway and load equalization method
US20230300106A1 (en) Data processing method, network element device and readable storage medium
WO2015054336A2 (en) System and method of delivering data that provides service differentiation and monetization in mobile data networks
CN110445723A (en) A kind of network data dispatching method and fringe node
KR20230113785A (en) Network information disclosure method and apparatus, electronic device, and storage medium
US7881309B2 (en) Controlling service stream
CN114615237A (en) Streaming media communication method, system, device and storage medium
CN113014855A (en) Video conference acceleration method and system and video conference acceleration platform

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