CN109617889A - Video transmission system and video transmission method, device and storage medium - Google Patents
Video transmission system and video transmission method, device and storage medium Download PDFInfo
- Publication number
- CN109617889A CN109617889A CN201811585963.7A CN201811585963A CN109617889A CN 109617889 A CN109617889 A CN 109617889A CN 201811585963 A CN201811585963 A CN 201811585963A CN 109617889 A CN109617889 A CN 109617889A
- Authority
- CN
- China
- Prior art keywords
- video
- supervisor
- node
- node device
- acquisition task
- 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.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 101
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000003860 storage Methods 0.000 title claims abstract description 23
- 238000004590 computer program Methods 0.000 claims description 10
- 230000008878 coupling Effects 0.000 abstract description 5
- 238000010168 coupling process Methods 0.000 abstract description 5
- 238000005859 coupling reaction Methods 0.000 abstract description 5
- 238000012544 monitoring process Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 7
- 230000008901 benefit Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000000429 assembly Methods 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention provides a kind of Video transmission systems and video transmission method, device and storage medium, are related to technical field of data transmission.Wherein, Video transmission system includes supervisor and the node device that connect with supervisor.It is provided at least one VAM Video Access Module on node device and at least one divides forwarding module, each VAM Video Access Module is corresponding to access a type of video resource.By AM access module and forwarding module is divided to be independently arranged, solve the problems, such as that existing video proxy server function module independence is poor, the degree of coupling is high, multiple VAM Video Access Modules can be set on one node device, it is corresponding to access a plurality of types of video resources, a video proxy server is correspondingly arranged without a kind of video resource, can economize on resources consumption, and standardize management.
Description
Technical field
The present invention relates to technical field of data transmission, more particularly, to a kind of Video transmission system and video transmission method,
Device and storage medium.
Background technique
Existing video resource Transmission system realizes the transmission of Media Stream by video proxy server.For example, client
The video proxy server provided to agent sends the obtaining video resource of the task, and video proxy server provides end from video
Video resource is accessed, and the media flow transmission of video resource is extremely requested to the client of video resource.
At this stage, using the coding mode for the video that the camera that different model or different manufacturers produce acquires, therefore
The type of the video resource of acquisition is different.Due to many kinds of, the access of each type of video resource of video resource
Mode is different, and each type of video requires to be transmitted using corresponding video proxy server.It can also
To say, realize that independence is poor between the functional module of different function in video proxy server, the degree of coupling is high, every kind of video proxy
Server can only transmit a type of video resource.So being needed when client will obtain a plurality of types of video resources
Towards multiple agents, and every increase a kind of video resource, it is necessary to increase an agent and a video proxy server,
Vast resources is not only consumed, and is unfavorable for managing.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of Video transmission system and video transmission method, device and depositing
Storage media is correspondingly arranged a video proxy server without a kind of video resource, and can economize on resources consumption.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, the embodiment of the invention provides a kind of Video transmission system, including supervisor and with the supervisor
The node device of connection;It is provided at least one VAM Video Access Module on the node device and at least one divides forwarding module;
The corresponding a type of video resource of access of each VAM Video Access Module at least one described VAM Video Access Module;
The supervisor receives the acquisition video request of client transmission, the view carried according to the acquisition video request
Frequency resource type generates the first video acquisition task, and the first video acquisition task is sent to node device;The node
Equipment starts corresponding VAM Video Access Module according to the video resource type and provides end acquisition video resource from video, will be described
Video resource is by dividing forwarding module to be transmitted to the client.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute
It states supervisor to connect with multiple node devices, the node device is to the supervisor sending node load information.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute
Stating node device includes node administration module, each VAM Video Access Module and it is each described divide forwarding module with the section
Point management module connection;The node administration module counts each load information for dividing forwarding module, generates the node
Load information is sent to the supervisor.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein such as
Second video acquisition task of mistake that fruit is unallocated and the first video acquisition task same video resource type, the supervisor
The first video acquisition task is distributed to and loads minimum node device.
Second aspect, the embodiment of the invention provides a kind of video transmission methods, are applied to described in any one of first aspect
Video transmission system supervisor, which comprises
The first video acquisition task is generated according to the video resource type that the acquisition video request that client is sent carries;
For the first video acquisition task allocation node equipment.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein is
The step of first video acquisition task allocation node equipment, comprising:
Determine whether to distribute and appoint with the second video acquisition of the first video acquisition task same video resource type
Business;
It is set if so, the first video acquisition task is sent to and executed the node of the second video acquisition task
It is standby;
Minimum node device is loaded if not, the first video acquisition task is distributed to;
It receives and executes the video transmission parameter that the node device of the first video acquisition task returns, the video is passed
Defeated parameter feedback is to the client;The video transmission parameter includes at least and executes first video on the node device
Acquisition task divides forwarding module corresponding port information.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein institute
State method further include:
Obtain the node load information of each node device.
The third aspect, the embodiment of the invention provides a kind of video transmission methods, are applied to described in any one of first aspect
Video transmission system node device, which comprises
Receive the first video acquisition task that the supervisor is sent;
According to the video resource type in the first video acquisition task, start corresponding VAM Video Access Module from video
End is provided and obtains video resource;
It is raw according to the port information for dividing forwarding module of the video resource for forwarding the first video acquisition task that need to obtain
At video transmission parameter;
The video transmission parameter is back to the supervisor.
Fourth aspect, the embodiment of the invention provides a kind of video frequency transmitters, are applied to described in any one of first aspect
Video transmission system supervisor, described device includes:
Task generation unit, the video resource type that acquisition video request for being sent according to client carries generate the
One video acquisition task;
Task allocation unit, for being the first video acquisition task allocation node equipment.
5th aspect, the embodiment of the invention provides a kind of video frequency transmitters, are applied to described in any one of first aspect
Video transmission system node device, described device includes:
Task receiving unit, the first video acquisition task sent for receiving the supervisor;
Module start unit, for starting corresponding according to the video resource type in the first video acquisition task
VAM Video Access Module provides end from video and obtains video resource;
Parameter return unit, for point forwarding according to the video resource for forwarding the first video acquisition task that need to obtain
The port information of module generates video transmission parameter;The video transmission parameter is back to the supervisor.
6th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Be stored with computer program on medium, the computer program executed when being run by processor any one of above-mentioned second aspect or
The step of method described in the third aspect.
Video transmission system and video transmission method provided in an embodiment of the present invention, device and storage medium, wherein video
Transmission system includes supervisor and the node device that connect with supervisor.At least one video access mould is provided on node device
Block divides forwarding module at least one, and each VAM Video Access Module is corresponding to access a type of video resource.By AM access module
With divide forwarding module to be independently arranged, solve that existing video proxy server function module independence is poor, the degree of coupling is high asks
It inscribes, multiple VAM Video Access Modules can be set on a node device, it is corresponding to access a plurality of types of video resources, without one kind
Video resource is correspondingly arranged a video proxy server, and can economize on resources consumption.Supervisor receives client transmission
Video request is obtained, the first video acquisition task is generated according to the video resource type that video request carries is obtained, by the first view
Frequency acquisition task is sent to node device.Node device starts corresponding VAM Video Access Module from video according to video resource type
End acquisition video resource is provided to have standardized by video resource by dividing forwarding module to be transmitted to client to video transmitting procedure
Management.
Other features and advantages of the present invention will illustrate in the following description, alternatively, Partial Feature and advantage can be with
Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 shows a kind of structural schematic diagram of Video transmission system provided by the embodiment of the present invention;
Fig. 2 shows a kind of interaction figures of video transmission method provided by the embodiment of the present invention;
Fig. 3 shows a kind of flow chart of video transmission method provided by the embodiment of the present invention;
Fig. 4 shows the flow chart of another kind video transmission method provided by the embodiment of the present invention;
Fig. 5 shows a kind of structural schematic diagram of video frequency transmitter provided by the embodiment of the present invention;
Fig. 6 shows the structural schematic diagram of another kind video frequency transmitter provided by the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
The meaning of word used in hereafter " exemplary " is " being used as example, embodiment or illustrative ".As " example
Any embodiment illustrated by property " should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, many details are given in specific embodiment below.This
Field is it will be appreciated by the skilled person that without certain details, the present invention equally be can be implemented.It is of the invention in order to more highlight
Purport is in some embodiments not described in detail method well known to those skilled in the art, means, element and circuit.
In existing Video transmission system, many kinds of due to video resource, different types of video resource is connect
Enter mode difference, each type of video requires to be transmitted using corresponding video proxy server.For example,
In Network Video Surveillance scene, every kind of video proxy server can only transmit a kind of video resource.If user accesses more simultaneously
It when the different types of camera in road, needs to be respectively set corresponding video proxy server, and every increases a type of camera shooting
Head, it is necessary to increase a video proxy server, not only consume vast resources, but also be unfavorable for managing.Meanwhile if certain
A video proxy server breaks down, other video proxy servers can not taking over fault video proxy server business,
It is easy to cause service disconnection.Since video proxy server has the function of to access and transmit two, when user obtains a certain view
When the Media Stream of frequency resource is more, the load of the video proxy server is very big, but other video proxy servers can not be shared
Task leads to not realize load balancing.Based on this, a kind of Video transmission system and transmission of video provided in an embodiment of the present invention
Method, apparatus and storage medium.It describes in detail below to the embodiment of the present invention.
Embodiment one:
Fig. 1 shows the structural block diagram of Video transmission system provided in an embodiment of the present invention.As shown in Figure 1, the video passes
Defeated system includes supervisor 100 and the node device connecting with supervisor 100 200.Optionally, it can be set in Video transmission system
Multiple node devices 200 are set, each node device 200 is connect with supervisor 100.Supervisor 100 comes from client for receiving
The acquisition video request at end generates the first video acquisition task according to video request is obtained, the first video acquisition task is distributed
To a node device 200 in Video transmission system.Node device 200 is used for according to the first video acquisition task from view
Frequency provides end and obtains video resource, and video resource is transmitted to client.
Wherein, supervisor (master) is the center of Video transmission system, respectively for client and node device, is realized
With the interaction of client, the acquisition video request of client transmission is received and distributed, corresponding video acquisition task is generated, issues
To node device and management node device.Supervisor 100 may include one or more first processors, one or more storages
Device and communication device.Processor, storage device and communication device are mutual by the bindiny mechanism of bus system and/or other forms
Even.First processor can be central processing unit (CPU) or with its of data-handling capacity and/or instruction execution capability
The processing unit of its form.Storage device may include one or more computer program products, the computer program product
It may include various forms of computer readable storage mediums, such as volatile memory and/or nonvolatile memory.It is described
Volatile memory for example may include random access memory (RAM) and/or cache memory (cache) etc..It is described
Nonvolatile memory for example may include read-only memory (ROM), hard disk, flash memory etc..In the computer-readable storage medium
It can store one or more computer program instructions in matter, first processor can run described program instruction, under realizing
The function and/or other desired functions (realized by supervisor) in the embodiment of the present invention described in text.In the calculating
Various application programs and various data can also be stored in machine readable storage medium storing program for executing, such as the application program is used and/or produced
Raw various data etc..Communication device between supervisor and node device or between supervisor and client for being communicated.
It is provided at least one VAM Video Access Module on each node device 200 and at least one divides forwarding module.It is described
The corresponding a type of video resource of access of each VAM Video Access Module at least one VAM Video Access Module.Video accesses mould
Block (proxy) can be understood as following the video access interface of a certain transmission of video agreement, for one seed type of corresponding access
Video resource.Forwarding module (streamer) is divided to can be understood as a point forwarding interface, point of the Media Stream for video resource
Hair and forwarding, i.e., by the forwarding media stream of video resource to client.
There are three VAM Video Access Module and a point of forwarding modules 231 for the setting of node device 200 shown in FIG. 1.Wherein, three
A VAM Video Access Module is respectively as follows: the first VAM Video Access Module 221, the second VAM Video Access Module 222 and third video access mould
Block 223.Node device 200 shown in FIG. 1 be only illustratively, in some embodiments, the video being arranged on node device 200
The quantity of AM access module can be more or less than three, divide the quantity of forwarding module can also be more than one.VAM Video Access Module
Quantity with divide the quantity of forwarding module may be the same or different, the embodiment of the present invention is not especially limited.
Supervisor 100 receives the acquisition video request of client transmission, provides according to the video that video request carries is obtained
Source Type generates the first video acquisition task, and the first video acquisition task is sent to node device 200.Node device 200
Start corresponding VAM Video Access Module according to video resource type and provide end acquisition video resource from video, by video resource by dividing
Forwarding module is transmitted to client.
Optionally, node device 200 further includes node administration module 210, each VAM Video Access Module and each point of forwarding
Module is connect with node administration module 210.Node administration module (node_manager) is responsible for each view in the node device
The switch of frequency AM access module, the switch for dividing forwarding module, load information are counted and are reported, resources occupation rate is analyzed and reported.Tool
It says to body, node administration module 210 may include second processor, and node administration module 210 is according to the first video acquisition task
In video resource type start corresponding VAM Video Access Module and provide end from video and obtain video resource, and video resource is led to
Excessive forwarding module is transmitted to client.Node administration module 210 can also count the load information of each point of forwarding module, raw
Supervisor 100 is sent at node load information.Node device 200 can be in real time to 100 sending node load information of supervisor.
Supervisor 100 monitors the loading condition of each node device 200, after generating the first video acquisition task, if unallocated mistake with
Second video acquisition task of the first video acquisition task same video resource type, then distribute to the first video acquisition task
Minimum node device is loaded, while recording the distribution condition of the first video acquisition task.It should be noted that node shown in FIG. 1
The component and structure of equipment 200 be it is illustrative, and not restrictive, as needed, the node device 200 can also have
There are other assemblies or structure.
For example, it is monitoring camera that video, which provides end, in Network Video Surveillance scene.User needs to check that certain is supervised all the way
When controlling the video of camera acquisition, it can be sent by client to supervisor 100 and obtain video request, the acquisition video is asked
The corresponding video resource type of the road monitoring camera is carried in asking.Optionally, client can pass through SDK (Software
Development Kit, Software Development Kit) interface to supervisor 100 send obtain video request.SDK interface can be managed
It solves to be that Video transmission system externally provides the interface encapsulation set of service.Client can be with transmission of video system by SDK interface
System carries out data interaction, realizes the dynamic acquisition of the Media Stream of video resource.Supervisor 100 is raw according to the video resource type
At the first video acquisition task, judge whether the second video acquisition task for distributing same video resource type, it is possible to understand that
To judge whether to connect the road Guo Gai monitoring camera.Described second was executed if so, the first video acquisition task is sent to
The node device of video acquisition task connects the road monitoring camera yet by the node device having connected.If not, root
According to the node load information of each node device, determines and load minimum node device, the first video acquisition task is distributed to
Load minimum node device 200.Node device 200 starts according to the video resource type in the first video acquisition task to be corresponded to
VAM Video Access Module from monitoring camera one end obtain video resource, by video resource by dividing forwarding module to be transmitted to client
End, user are the video it can be seen that road monitoring camera acquisition.
Video transmission system provided in an embodiment of the present invention, including supervisor and the node device being connect with supervisor.Section
It is provided at least one VAM Video Access Module on point device and at least one divides forwarding module, each VAM Video Access Module correspondence connects
Enter a type of video resource.By AM access module and forwarding module is divided to be independently arranged, solves existing video proxy service
Multiple VAM Video Access Modules can be set on one node device in the problem that device functional module independence is poor, the degree of coupling is high, can be with
Corresponding to access a plurality of types of video resources, compatible different types of video resource is correspondingly arranged one without a kind of video resource
A video proxy server, can economize on resources consumption.Supervisor receives the acquisition video request of client transmission, according to obtaining
The video resource type for taking video request to carry generates the first video acquisition task, and the first video acquisition task is sent to node
Equipment.Node device starts corresponding VAM Video Access Module according to video resource type and provides end acquisition video resource from video,
By video resource by dividing forwarding module to be transmitted to client, the management to video transmitting procedure has been standardized.When some node is set
When standby failure, other node devices can avoid service disconnection with the video acquisition task of taking over fault node device.Node
Video acquisition task can be distributed to phase according to node load information to supervisor sending node load information, supervisor by equipment
To idle node device, it is advantageously implemented load balancing, optimizes management.
Embodiment two:
Fig. 2 shows the interaction figures of video transmission method provided in an embodiment of the present invention.As shown in Fig. 2, this method includes
Following steps:
Step S202, client send to supervisor and obtain video request.
Video resource type is carried in the acquisition video request.For example, user wants to check that certain road monitoring camera is clapped
The monitor video taken the photograph can select the road monitoring camera on the interactive interface of client or input the road monitoring camera
Mark, client is to produce the acquisition video request comprising the corresponding video resource type of the road camera, and by generation
It obtains video request and is sent to supervisor.
Step S204, supervisor generate the first video acquisition times according to the video resource type that video request carries is obtained
Business.
Step S206, supervisor are the first video acquisition task allocation node equipment.
Supervisor judges whether to distribute the second video acquisition with the first video acquisition task same video resource type
Task, it can be understood as supervisor judges whether to connect the road Guo Gai monitoring camera.If so, by the first video acquisition task point
The node device that dispensing executed the second video acquisition task executes, i.e., should yet by the node device connection having connected
Road monitoring camera.If not, determine according to the node load information of each node device and load minimum node device, it will
First video acquisition task, which is distributed to, loads minimum node device.
Step S208, supervisor send the first video acquisition task to node device.
First video acquisition task is sent to the node device of distribution by supervisor.
Step S210, node device start corresponding video according to the video resource type in the first video acquisition task
AM access module provides end from video and obtains video resource.
Node device receives the first video acquisition task of supervisor transmission, extracts video resource type therein, opens
VAM Video Access Module corresponding with the video resource type is moved, video is connected by the VAM Video Access Module, end is provided, from video
End is provided and obtains video resource.
Step S212, node device divide forwarding according to the video resource for forwarding the first video acquisition task that need to obtain
The port information of module generates video transmission parameter.
Obtain video resource after, if node device only includes a point of forwarding module, this divide forwarding module for turn
The Media Stream of the video resource obtained is sent out, node device divides the port information of forwarding module to generate video transmission parameter according to this.
If node device includes multiple points of forwarding modules, node device can choose one or more and divide forwarding module for forwarding this
The Media Stream of video resource determines after dividing forwarding module, divides forwarding module according to the Media Stream for forwarding the video resource
Port information generate video transmission parameter.The port information can be understood as point mark of forwarding port or address etc..It can
Selection of land can also include the traffic identifier of the Media Stream of video resource in video transmission parameter.
Video transmission parameter is sent to supervisor by step S214, node device.
Video transmission parameter is sent to client by step S216, supervisor.
Step S218, client establish connection with corresponding point of forwarding module according to video transmission parameter, receive video money
Source.
Client establishes connection with corresponding point of forwarding module according to the port information in video transmission parameter, receives video
The Media Stream of resource.
Video transmission method provided in an embodiment of the present invention, be provided on node device independent VAM Video Access Module and point
Forwarding module by AM access module and divides forwarding module to be independently arranged, and it is only to solve existing video proxy server function module
The vertical problem that property is poor, the degree of coupling is high.Multiple VAM Video Access Modules, each VAM Video Access Module can be set on one node device
Corresponding to access a type of video resource, a node device can correspond to a plurality of types of video resources of access, be not necessarily to one
Kind video resource is correspondingly arranged a video proxy server, and can economize on resources consumption.Supervisor receives client transmission
Acquisition video request, according to obtain video request carry video resource type generate the first video acquisition task, by first
Video acquisition task is sent to node device.Node device starts corresponding VAM Video Access Module from view according to video resource type
Frequency provides end acquisition video resource and has standardized by video resource by dividing forwarding module to be transmitted to client to transmission of video mistake
The management of journey.When some node device breaks down, other node devices can be with the video acquisition of taking over fault node device
Task avoids service disconnection.For node device to supervisor sending node load information, supervisor can be according to node load information
The node device that video acquisition task is distributed to relative free, is advantageously implemented load balancing, optimizes management.
Further, the embodiment of the invention provides a kind of video transmission methods, the management applied to Video transmission system
Machine, as shown in figure 3, this method comprises the following steps:
Step S302, the video resource type that the acquisition video request sent according to client carries generate the first video and obtain
Take task.
Step S304 is the first video acquisition task allocation node equipment.
Optionally, the node load information of the available each node device of supervisor.Generate the first video acquisition task
Later, supervisor first determines whether to distribute and appoint with the second video acquisition of the first video acquisition task same video resource type
Business;If so, the first video acquisition task to be sent to the node device for executing the second video acquisition task;If
It is no, the first video acquisition task is distributed to and loads minimum node device.Supervisor receives the first video acquisition task that executes
Node device return video transmission parameter, video transmission parameter is fed back into the client.The video transmission parameter
Divide forwarding module corresponding port information including at least execute the first video acquisition task on the node device.Client root
It is connect according to port information with forwarding module is divided, receives video resource.
Correspondingly, the embodiment of the invention also provides a kind of video transmission methods, the section applied to Video transmission system
Point device, as shown in figure 4, this method comprises the following steps:
Step S402 receives the first video acquisition task that supervisor is sent.
Step S404 starts corresponding VAM Video Access Module according to the video resource type in the first video acquisition task
End, which is provided, from video obtains video resource.
Step S406, according to the end for dividing forwarding module of the video resource for forwarding the first video acquisition task that need to obtain
Message breath generates video transmission parameter.
Video transmission parameter is back to supervisor by step S408.
Optionally, this method can also include: to supervisor sending node load information.
Embodiment three:
With above method embodiment correspondingly, present embodiments provide a kind of video frequency transmitter, be applied to video pass
The supervisor of defeated system, as shown in figure 5, the device includes:
Task generation unit 51, the video resource type that the acquisition video request for being sent according to client carries generate
First video acquisition task;
Task allocation unit 52, for being the first video acquisition task allocation node equipment.
Wherein, task allocation unit 52 can be also used for: determine whether to distribute and the first video acquisition task phase
With the second video acquisition task of video resource type;Institute was executed if so, the first video acquisition task is sent to
State the node device of the second video acquisition task;Minimum section is loaded if not, the first video acquisition task is sent to
Point device;It receives and executes the video transmission parameter that the node device of the first video acquisition task returns, the video is passed
Defeated parameter feedback is to the client;The video transmission parameter includes at least and executes first video on the node device
Acquisition task divides forwarding module corresponding port information.
Optionally, above-mentioned apparatus can also include load monitoring unit, for obtaining the node load of each node device
Information.
Example IV:
With above method embodiment correspondingly, present embodiments provide a kind of video frequency transmitter, be applied to video pass
The node device of defeated system.For example, the device can be applied to the node administration module of node device.As shown in fig. 6, the device
Include:
Task receiving unit 61, the first video acquisition task sent for receiving the supervisor;
Module start unit 62, for according to the video resource type in the first video acquisition task, starting to be corresponded to
VAM Video Access Module from video provide end obtain video resource;
Parameter return unit 63, the dividing for video resource for basis for forwarding the first video acquisition task that need to obtain turn
The port information for sending out module generates video transmission parameter;The video transmission parameter is back to the supervisor.
Optionally, above-mentioned apparatus can also include information transmitting unit, be used for supervisor sending node load information.
The technical effect of device provided by the present embodiment, realization principle and generation is identical with previous embodiment, for letter
It describes, Installation practice part does not refer to place, can refer to corresponding contents in preceding method embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
Specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Further, the present embodiment additionally provides a kind of computer readable storage medium, the computer readable storage medium
On be stored with computer program, the computer program executes the biography of video provided by above-described embodiment two when being run by processor
The step of transmission method.
The computer program product of Video transmission system and video transmission method provided by the embodiment of the present invention, including deposit
The computer readable storage medium of program code is stored up, the instruction that said program code includes can be used for executing previous methods implementation
Method described in example, specific implementation can be found in embodiment of the method, and details are not described herein.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.
Claims (11)
1. a kind of Video transmission system, which is characterized in that including supervisor and the node device being connect with the supervisor;It is described
It is provided at least one VAM Video Access Module on node device and at least one divides forwarding module;At least one video access
The corresponding a type of video resource of access of each VAM Video Access Module in module;
The supervisor receives the acquisition video request of client transmission, is provided according to the video that the acquisition video request carries
Source Type generates the first video acquisition task, and the first video acquisition task is sent to node device;The node device
Start corresponding VAM Video Access Module according to the video resource type and provide end acquisition video resource from video, by the video
Resource is by dividing forwarding module to be transmitted to the client.
2. Video transmission system according to claim 1, which is characterized in that the supervisor and multiple node devices connect
It connects, the node device is to the supervisor sending node load information.
3. Video transmission system according to claim 1, which is characterized in that the node device includes node administration mould
Block, each VAM Video Access Module and each described divides forwarding module to connect with the node administration module;The node
Management module counts each load information for dividing forwarding module, generates the node load information and is sent to the management
Machine.
4. Video transmission system according to claim 1, which is characterized in that if unallocated mistake is obtained with first video
The second video acquisition task of task same video resource type is taken, the supervisor distributes the first video acquisition task
To the node device that load is minimum.
5. a kind of video transmission method, applied to the supervisor of Video transmission system according to any one of claims 1 to 4,
It is characterized in that, which comprises
The first video acquisition task is generated according to the video resource type that the acquisition video request that client is sent carries;
For the first video acquisition task allocation node equipment.
6. video transmission method according to claim 5, which is characterized in that for the first video acquisition task distribution section
The step of point device, comprising:
Determine whether to distribute the second video acquisition task with the first video acquisition task same video resource type;
If so, the first video acquisition task to be sent to the node device for executing the second video acquisition task;
Minimum node device is loaded if not, the first video acquisition task is sent to;
It receives and executes the video transmission parameter that the node device of the first video acquisition task returns, the transmission of video is joined
Number feeds back to the client;The video transmission parameter includes at least and executes first video acquisition on the node device
Task divides forwarding module corresponding port information.
7. video transmission method according to claim 5, which is characterized in that the method also includes:
Obtain the node load information of each node device.
8. a kind of video transmission method, the node applied to Video transmission system according to any one of claims 1 to 4 is set
It is standby, which is characterized in that the described method includes:
Receive the first video acquisition task that the supervisor is sent;
According to the video resource type in the first video acquisition task, starts corresponding VAM Video Access Module and provided from video
End obtains video resource;
View is generated according to the port information for dividing forwarding module of the video resource for forwarding the first video acquisition task that need to obtain
Frequency configured transmission;
The video transmission parameter is back to the supervisor.
9. a kind of video frequency transmitter, applied to the supervisor of Video transmission system according to any one of claims 1 to 4,
It is characterized in that, described device includes:
Task generation unit, the video resource type that the acquisition video request for being sent according to client carries generate the first view
Frequency obtains task;
Task allocation unit, for being the first video acquisition task allocation node equipment.
10. a kind of video frequency transmitter, the node applied to Video transmission system according to any one of claims 1 to 4 is set
It is standby, which is characterized in that described device includes:
Task receiving unit, the first video acquisition task sent for receiving the supervisor;
Module start unit, for starting corresponding video according to the video resource type in the first video acquisition task
AM access module provides end from video and obtains video resource;
Parameter return unit, for dividing forwarding module according to the video resource for forwarding the first video acquisition task that need to obtain
Port information generate video transmission parameter;The video transmission parameter is back to the supervisor.
11. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium
It is, is executed described in any one of the claims 5 to 7 or claim 8 when the computer program is run by processor
Method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811585963.7A CN109617889A (en) | 2018-12-24 | 2018-12-24 | Video transmission system and video transmission method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811585963.7A CN109617889A (en) | 2018-12-24 | 2018-12-24 | Video transmission system and video transmission method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109617889A true CN109617889A (en) | 2019-04-12 |
Family
ID=66012069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811585963.7A Pending CN109617889A (en) | 2018-12-24 | 2018-12-24 | Video transmission system and video transmission method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109617889A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795244A (en) * | 2019-10-24 | 2020-02-14 | 浙江大华技术股份有限公司 | Task allocation method, device, equipment and medium |
CN113259769A (en) * | 2021-04-07 | 2021-08-13 | 苏州华兴源创科技股份有限公司 | Video source switching method and device, electronic equipment and computer readable storage medium |
WO2023071283A1 (en) * | 2021-10-25 | 2023-05-04 | 通号通信信息集团有限公司 | Video data processing method, electronic device, and computer-readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231824A (en) * | 2011-08-04 | 2011-11-02 | 深圳市超视科技有限公司 | Video monitoring random coded format digital matrix system and implementation method thereof |
CN103647954A (en) * | 2013-12-27 | 2014-03-19 | 成都三零凯天通信实业有限公司 | Mobile video monitoring system based on 3G channel and intelligent terminal |
CN105744238A (en) * | 2016-05-09 | 2016-07-06 | 金三立视频科技(深圳)有限公司 | Streaming media load balancing method and system |
CN107124453A (en) * | 2016-11-30 | 2017-09-01 | 西安大唐电信有限公司 | Platform Interworking GateWay stacks the SiteServer LBS and video call method of deployment |
CN107396049A (en) * | 2017-07-28 | 2017-11-24 | 武汉烽火众智数字技术有限责任公司 | A kind of equipment access system and its method of compatible multi-protocols |
US20180191818A1 (en) * | 2016-12-30 | 2018-07-05 | Wal-Mart Stores, Inc. | Self-organized retail source request routing and distributed load sharing systems and methods |
CN108632525A (en) * | 2017-09-20 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of method and system of business processing |
CN207995290U (en) * | 2017-12-18 | 2018-10-19 | 江门市知了科技有限公司 | A kind of multipath network video transponder |
CN108833391A (en) * | 2018-06-06 | 2018-11-16 | 北京世纪东方通讯设备有限公司 | A kind of media flow point retransmission method and device for video monitoring system |
-
2018
- 2018-12-24 CN CN201811585963.7A patent/CN109617889A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231824A (en) * | 2011-08-04 | 2011-11-02 | 深圳市超视科技有限公司 | Video monitoring random coded format digital matrix system and implementation method thereof |
CN103647954A (en) * | 2013-12-27 | 2014-03-19 | 成都三零凯天通信实业有限公司 | Mobile video monitoring system based on 3G channel and intelligent terminal |
CN105744238A (en) * | 2016-05-09 | 2016-07-06 | 金三立视频科技(深圳)有限公司 | Streaming media load balancing method and system |
CN107124453A (en) * | 2016-11-30 | 2017-09-01 | 西安大唐电信有限公司 | Platform Interworking GateWay stacks the SiteServer LBS and video call method of deployment |
US20180191818A1 (en) * | 2016-12-30 | 2018-07-05 | Wal-Mart Stores, Inc. | Self-organized retail source request routing and distributed load sharing systems and methods |
CN107396049A (en) * | 2017-07-28 | 2017-11-24 | 武汉烽火众智数字技术有限责任公司 | A kind of equipment access system and its method of compatible multi-protocols |
CN108632525A (en) * | 2017-09-20 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of method and system of business processing |
CN207995290U (en) * | 2017-12-18 | 2018-10-19 | 江门市知了科技有限公司 | A kind of multipath network video transponder |
CN108833391A (en) * | 2018-06-06 | 2018-11-16 | 北京世纪东方通讯设备有限公司 | A kind of media flow point retransmission method and device for video monitoring system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795244A (en) * | 2019-10-24 | 2020-02-14 | 浙江大华技术股份有限公司 | Task allocation method, device, equipment and medium |
CN110795244B (en) * | 2019-10-24 | 2022-07-08 | 浙江大华技术股份有限公司 | Task allocation method, device, equipment and medium |
CN113259769A (en) * | 2021-04-07 | 2021-08-13 | 苏州华兴源创科技股份有限公司 | Video source switching method and device, electronic equipment and computer readable storage medium |
CN113259769B (en) * | 2021-04-07 | 2022-05-24 | 苏州华兴源创科技股份有限公司 | Video source switching method and device, electronic equipment and computer readable storage medium |
WO2023071283A1 (en) * | 2021-10-25 | 2023-05-04 | 通号通信信息集团有限公司 | Video data processing method, electronic device, and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11546644B2 (en) | Bandwidth control method and apparatus, and device | |
CN108370341B (en) | Resource allocation method, virtual network function manager and network element management system | |
US20150026346A1 (en) | Method and system for managing cloud centers | |
CN107395458B (en) | System monitoring method and device | |
CN108282514A (en) | A kind of distributed service method for building up and device | |
WO2019144846A1 (en) | Storage system, and method and apparatus for allocating storage resources | |
WO2016095524A1 (en) | Resource allocation method and apparatus | |
CN109617889A (en) | Video transmission system and video transmission method, device and storage medium | |
CN106648900B (en) | Supercomputing method and system based on smart television | |
CN102158736A (en) | Method of video on demand, system and resource management equipment | |
CN102244898A (en) | Group-based traffic control method, equipment and system | |
CN109391503B (en) | A network slice management method and device | |
CN103825785B (en) | Monitoring method and device of service node | |
CN103677983A (en) | Scheduling method and device of application | |
CN105049509A (en) | Cluster scheduling method, load balancer and clustering system | |
CN109873714A (en) | Cloud computing node configures update method and terminal device | |
CN108737543B (en) | Distributed Internet of things middleware and working method | |
CN111597024B (en) | Cross-domain cluster processing method and device, electronic equipment and storage medium | |
CN104283910A (en) | Resource management system in cloud computation environment | |
CN115426361A (en) | Distributed client packaging method and device, main server and storage medium | |
CN105451356A (en) | Method and device for allocating SIM card resources | |
CN108551571A (en) | A kind of monitor video distribution method, device, system and Distributor | |
CN102045203A (en) | Network management method, device and system | |
CN106897094A (en) | SaaS software deployments method and device under a kind of cloud environment | |
CN106534259A (en) | Web data collection method based on Docker, Web data collection Web server based on Docker and Web data collection system based on Docker |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190412 |
|
RJ01 | Rejection of invention patent application after publication |