CN106998269A - The collocation method and system of many network interface cards in a kind of online trans-coding system - Google Patents

The collocation method and system of many network interface cards in a kind of online trans-coding system Download PDF

Info

Publication number
CN106998269A
CN106998269A CN201710273533.0A CN201710273533A CN106998269A CN 106998269 A CN106998269 A CN 106998269A CN 201710273533 A CN201710273533 A CN 201710273533A CN 106998269 A CN106998269 A CN 106998269A
Authority
CN
China
Prior art keywords
network interface
interface card
output
task
specified
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
CN201710273533.0A
Other languages
Chinese (zh)
Other versions
CN106998269B (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.)
SHANGHAI WONDERTEK SOFTWARE CO Ltd
Original Assignee
SHANGHAI WONDERTEK SOFTWARE 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 SHANGHAI WONDERTEK SOFTWARE CO Ltd filed Critical SHANGHAI WONDERTEK SOFTWARE CO Ltd
Priority to CN201710273533.0A priority Critical patent/CN106998269B/en
Publication of CN106998269A publication Critical patent/CN106998269A/en
Application granted granted Critical
Publication of CN106998269B publication Critical patent/CN106998269B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/30Routing of multiclass traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1013Network architectures, gateways, control or user entities

Abstract

The collocation method and system of many network interface cards in a kind of online trans-coding system, wherein, method includes step:Binding is carried out to the physical network card in transcoding server using many network card binding technologies and forms multiple binding network interface cards;Multiple binding network interface cards are divided into input network interface card, output network interface card and management network interface card;Incoming task is set to transcoding task and input network interface card is specified to incoming task, the address of incoming task and the input network interface card specified are bound;Output task is set to transcoding task and output network interface card is specified to output task, the address of the task of output and the output network interface card specified are bound.Due to by the way that the physical network card on transcoding server is bound using many network card binding technologies in online transcoding process, and be the network interface card distribution role after binding, corresponding network interface card is specified when input/output task is set to transcoding task, the pressure that online transcoding server is born can be improved using many network interface cards by confiscating, and increase the stability of online transcoding server.

Description

The collocation method and system of many network interface cards in a kind of online trans-coding system
Technical field
The present invention relates to transcoding technology field, and in particular to the collocation method of many network interface cards and is in a kind of online trans-coding system System.
Background technology
Present online trans-coding system, is all to specify network interface card by system when carrying out transcoding.But the matter of present video Amount requires more and more higher, and the carrying out transcoding of the task is also more and more.Once network pressure exceed the network interface card ability to bear or Person's network interface card because of other problemses can not normal work when, trans-coding system just can not normally be run.
Want to solve the problem, the task of single server can only be reduced at present or the server of better quality is changed. Two ways can all cause the increase of cost.And regardless of mode, due to without the division for carrying out network interface card role, working as finger Determining all log in trans-coding system when network interface card goes wrong can just be adjusted, it is necessary to restart and apply.
The content of the invention
To solve the above problems, the application provides the collocation method and system of many network interface cards in a kind of online trans-coding system.
According in a first aspect, provide a kind of collocation method of many network interface cards in online trans-coding system in a kind of embodiment, including Step:
Binding is carried out to the physical network card in transcoding server using many network card binding technologies and forms multiple binding network interface cards;
Multiple binding network interface cards are divided into input network interface card, output network interface card and management network interface card;
To transcoding task set incoming task and to incoming task specify input network interface card, by the address of incoming task and specify Input network interface card bound, pass through specified input network interface card and obtain video code flow;
To transcoding task set output task and to output task specify output network interface card, by export task address and specify Output network interface card bound, pass through specified output network interface card and export video code flow.
In a kind of embodiment, the network interface card after binding is divided into input network interface card, output network interface card and management network interface card, is specially:
It is management network interface card to specify one of binding network interface card;
Remaining binding network interface card is divided into input network interface card and output network interface card;
The port numbers access rights of transcoding server are opened to input network interface card, output network interface card and management network interface card.
In a kind of embodiment, input network interface card is specified to incoming task, is specially:
When network pressure is less than the ability to bear for the input network interface card specified, multiple incoming tasks are specified into same input net Card;
Or,
When incoming task is excessive, multiple incoming tasks are grouped, and input network interface card is respectively specified that to each.
In a kind of embodiment, output network interface card is specified to output task, is specially:
When network pressure is less than the ability to bear for the output network interface card specified, multiple output tasks are specified into same output net Card;
Or,
When output task is excessive, multiple output tasks are grouped, and output network interface card is respectively specified that to each.
In a kind of embodiment, the address of incoming task and the input network interface card specified are bound, are specially:Using Route orders add routing rule and are bound the address of incoming task and the input network interface card specified.
In a kind of embodiment, the address of the task of output and the output network interface card specified are bound, are specially:Using Route orders add routing rule and are bound the address of the task of output and the output network interface card specified.
In a kind of embodiment, in addition to it is the specified management network interface card of administration page, online turn is logged in by the management network interface card Code system, the step of specifying input network interface card to incoming task again and output network interface card is specified to output task again.
According to second aspect, a kind of configuration system of many network interface cards in online trans-coding system is provided in a kind of embodiment, including:
First binding module, for carrying out binding shape to the physical network card in transcoding server using many network card binding technologies Into multiple binding network interface cards;
Division module, for multiple binding network interface cards to be divided into input network interface card, output network interface card and management network interface card;
Setup module, for transcoding task to be set into incoming task and output task;
Designated module, for specifying input network interface card to incoming task, and for specifying output network interface card to output task;
Second binding module, for the address of incoming task and the input network interface card specified to be bound, and for will be defeated The address gone out on missions and the output network interface card specified are bound.
In a kind of embodiment, the second binding module by route orders add routing rule by the address of incoming task and The input network interface card specified is bound, and the address of the task of output and the output network interface card specified are bound.
In a kind of embodiment, in addition to adjusting module, for logging in online trans-coding system by managing network interface card, again to defeated Enter task to specify input network interface card and again specify output task output network interface card.
According to the collocation method of many network interface cards of above-described embodiment, due to by being tied up in online transcoding process using many network interface cards Determine technology to be bound the physical network card on transcoding server, and be the network interface card distribution role after binding, transcoding task is set Corresponding network interface card is specified when putting input/output task, the pressure that online transcoding server is born can be improved using many network interface cards by confiscating Power, increases the stability of online transcoding server.
Brief description of the drawings
Fig. 1 is many network card configuration method flow diagrams;
Fig. 2 is many network card binding schematic diagrames.
Embodiment
The present invention is described in further detail below by embodiment combination accompanying drawing.
This example provides a kind of collocation method of many network interface cards in online trans-coding system, and its schematic diagram is as shown in figure 1, specifically include Following steps.
S1:Binding is carried out to the physical network card in transcoding server using many network card binding technologies and forms multiple bonding networks Card.
Network card binding, also referred to as network interface card are bundled, and the physical network card of two or more exactly is bound into a virtual net In card, this step, the physical network card during transcoding is serviced using existing many network card binding technologies is by way of load balancing Bound, form multiple binding network interface cards, the schematic diagram that it is bound is as shown in Fig. 2 and more by the network interface card information typing after binding In network interface card system.
S2:Multiple binding network interface cards are divided into input network interface card, output network interface card and management network interface card.
Division management is carried out to the network interface card of binding by many network interface card systems, specifically, specified one of binding network interface card is Network interface card is managed, according to actual function needs, other binding network interface cards is divided into input network interface card and output network interface card, then, passed through Iptables orders are input network interface card, export network interface card and the port numbers access rights of management network interface card opening transcoding server.
Wherein, input network interface card is divided according to the Intranet of transcoding server, and output network interface card is according to transcoding server What outer net was divided, management network interface card is also to be divided by Intranet.
S3:Incoming task is set to transcoding task and input network interface card is specified to incoming task, by the address of incoming task and The input network interface card specified is bound, and video code flow is obtained by specified input network interface card.
, it is necessary to select suitable network interface card from input network interface card when for transcoding task device incoming task, i.e. input is appointed Input network interface card is specified in business, is specifically:, can be by multiple inputs when network pressure is less than the ability to bear for the input network interface card specified Task specifies same input network interface card;When video code flow is too high or during excessive incoming task, can also be according to the actual requirements Each incoming task is grouped, be it is each respectively specify that input network interface card, after being assigned, pass through route orders add Routing rule is bound the address of incoming task and the input network interface card specified, after incoming task starts, transcoding server meeting Video code flow is obtained by specified input network interface card.
Due to by specifying different input network interface cards to different incoming tasks, to reduce the input pressure that binding network interface card is born Power, simultaneously as employing load-sharing mode, the pressure that binding network interface card is born can be distributed to bound physical network card In, so that the performance of transcoding server is improved, and even if one of physical network card goes wrong, other one piece bound with it Physical network card can work on, and improve the stability of transcoding server.
S4:To transcoding task set output task and to output task specify output network interface card, by export task address and The output network interface card specified is bound, and video code flow is exported by specified output network interface card.
When setting output task for transcoding task, it is necessary to select suitable network interface card from output network interface card, i.e. output is appointed Output network interface card is specified in business, is specifically:, can be by multiple outputs when network pressure is less than the ability to bear for the output network interface card specified Task specifies same output network interface card;When the task of output is excessive, multiple output tasks can be grouped, and to each point Group respectively specifies that output network interface card, after being assigned, and adds routing rule by the address of the task of output by route orders and refers to Fixed output network interface card is bound, after output task start, and transcoding server can export video codes by specified output network interface card Stream.
Due to by specifying different output network interface cards to different output tasks, to reduce the output pressure that binding network interface card is born Power, while reducing the interference between output task, in the case that the output pressure ratio that certain block network interface card is born wherein is larger, in addition Task on one piece of network interface card will not be impacted, in the case of individual task high code stream multi output, can refer to for different output Determine different network interface cards to reduce the pressure that monolithic network interface card is born.
S5:Management network interface card is specified for administration page, online trans-coding system is logged in by managing network interface card, again to incoming task Specify input network interface card and output network interface card is specified to output task again.
After incoming task and output task start, when because network pressure is excessive or inputs network interface card, output network interface card failure etc. When reason needs to adjust, online trans-coding system can be logged in by managing network interface card, the defeated of task is redistributed according to demand Enter network interface card and output network interface card, because route orders come into force immediately, so, it is not necessary to network can just be completed by restarting task Adjustment, it is ensured that transcoding server is normally run.
The management network interface card of this example is used for supporting access of the client to administration page, by individually specifying pipe for administration page Network interface card is managed, in the case where input and output pressure is excessive, management network interface card is unaffected, and administrative staff still can be with log in page Face, carries out the distribution and adjustment of task to ensure the normal operation of transcoding server tool.
Based on above-mentioned many network card configuration methods, this example also provides a kind of configuration system of many network interface cards in online trans-coding system System, including:
First binding module, for carrying out binding shape to the physical network card in transcoding server using many network card binding technologies Into multiple binding network interface cards;
Division module, for multiple binding network interface cards to be divided into input network interface card, output network interface card and management network interface card;
Setup module, for transcoding task to be set into incoming task and output task;
Designated module, for specifying input network interface card to incoming task, for specifying output network interface card to output task, and is used for Management network interface card is specified to administration page;
Second binding module, for the address of incoming task and the input network interface card specified to be bound, and for will be defeated The address gone out on missions and the output network interface card specified are bound, and are route specifically, the second binding module is added by route orders Rule is bound the address of incoming task and the input network interface card specified, and by the address of the task of output and the output net specified Card is bound.
Further, including adjusting module, for logging in online trans-coding system by managing network interface card, incoming task is referred to again Surely input network interface card and output network interface card is specified to output task again.
First binding module, division module, EM equipment module, designated module, the second binding module and adjusting module of this example The course of work refer to above-mentioned steps S1-S5.
Use above specific case is illustrated to the present invention, is only intended to help and is understood the present invention, not to limit The system present invention.For those skilled in the art, according to the thought of the present invention, it can also make some simple Deduce, deform or replace.

Claims (10)

1. the collocation method of many network interface cards in a kind of online trans-coding system, it is characterised in that including step:
Binding is carried out to the physical network card in transcoding server using many network card binding technologies and forms multiple binding network interface cards;
Multiple binding network interface cards are divided into input network interface card, output network interface card and management network interface card;
Incoming task is set to transcoding task and input network interface card is specified to the incoming task, by the address of the incoming task and The input network interface card specified is bound, and video code flow is obtained by the input network interface card specified;
Output task is set to transcoding task and output network interface card is specified to the output task, by the address of the output task and The output network interface card specified is bound, and video code flow is exported by the output network interface card specified.
2. collocation method as claimed in claim 1, it is characterised in that the network interface card by after binding be divided into input network interface card, Network interface card and management network interface card are exported, is specially:
It is the management network interface card to specify one of binding network interface card;
Remaining binding network interface card is divided into the input network interface card and output network interface card;
The port numbers access rights of transcoding server are opened to the input network interface card, output network interface card and management network interface card.
3. collocation method as claimed in claim 1, it is characterised in that described that input network interface card is specified to incoming task, is specially:
When network pressure is less than the ability to bear for the input network interface card specified, multiple incoming tasks are specified into same input network interface card;
Or,
When the incoming task is excessive, multiple incoming tasks are grouped, and input network interface card is respectively specified that to each.
4. collocation method as claimed in claim 1, it is characterised in that described pair of output task specifies output network interface card, is specially:
When network pressure is less than the ability to bear for the output network interface card specified, multiple output tasks are specified into same output network interface card;
Or,
When the output task is excessive, multiple output tasks are grouped, and output network interface card is respectively specified that to each.
5. collocation method as claimed in claim 1, it is characterised in that the address by incoming task and the input net specified Card is bound, and is specially:Routing rule is added using route orders to enter the address of incoming task and the input network interface card specified Row binding.
6. collocation method as claimed in claim 1, it is characterised in that described by the address of the task of output and the output net specified Card is bound, and is specially:Routing rule is added using route orders to enter the address of the task of output and the output network interface card specified Row binding.
7. collocation method as claimed in claim 1, it is characterised in that also including specifying the management network interface card for administration page, Online trans-coding system is logged in by the management network interface card, input network interface card is specified to the incoming task again and again to described defeated Go out on missions and specify the step of exporting network interface card.
8. the configuration system of many network interface cards in a kind of online trans-coding system, it is characterised in that including:
First binding module, forms many for carrying out binding to the physical network card in transcoding server using many network card binding technologies Individual binding network interface card;
Division module, for multiple binding network interface cards to be divided into input network interface card, output network interface card and management network interface card;
Setup module, for transcoding task to be set into incoming task and output task;
Designated module, for specifying input network interface card to the incoming task, and for specifying output network interface card to the output task;
Second binding module, for the address of the incoming task and the input network interface card specified to be bound, and for by institute The output network interface card stated the address of output task and specified is bound.
9. system is configured as claimed in claim 8, it is characterised in that second binding module passes through route orders and added Routing rule is bound the address of the incoming task and the input network interface card specified, and by the address of the output task with The output network interface card specified is bound.
10. system is configured as claimed in claim 8, it is characterised in that also including adjusting module, for passing through the management net Card logs in online trans-coding system, specifies input network interface card to the incoming task again and specifies output to the output task again Network interface card.
CN201710273533.0A 2017-04-24 2017-04-24 Configuration method and system of multiple network cards in online transcoding system Active CN106998269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710273533.0A CN106998269B (en) 2017-04-24 2017-04-24 Configuration method and system of multiple network cards in online transcoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710273533.0A CN106998269B (en) 2017-04-24 2017-04-24 Configuration method and system of multiple network cards in online transcoding system

Publications (2)

Publication Number Publication Date
CN106998269A true CN106998269A (en) 2017-08-01
CN106998269B CN106998269B (en) 2020-03-24

Family

ID=59434374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710273533.0A Active CN106998269B (en) 2017-04-24 2017-04-24 Configuration method and system of multiple network cards in online transcoding system

Country Status (1)

Country Link
CN (1) CN106998269B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108718398A (en) * 2018-05-25 2018-10-30 苏州科达科技股份有限公司 Code stream transmission method, device and the conference facility of video conferencing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5864535A (en) * 1996-09-18 1999-01-26 International Business Machines Corporation Network server having dynamic load balancing of messages in both inbound and outbound directions
CN1556625A (en) * 2004-01-05 2004-12-22 联想(北京)有限公司 Data transmission method of network equipment based on multinetwork card and device
CN1561062A (en) * 2004-03-09 2005-01-05 �㽭�пؼ����ɷ����޹�˾ Method of implementing multiplexing network data
US20100115174A1 (en) * 2008-11-05 2010-05-06 Aprius Inc. PCI Express Load Sharing Network Interface Controller Cluster
CN103139039A (en) * 2013-02-25 2013-06-05 汉柏科技有限公司 Virtual network capable of achieving flow isolation control and construction method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5864535A (en) * 1996-09-18 1999-01-26 International Business Machines Corporation Network server having dynamic load balancing of messages in both inbound and outbound directions
CN1556625A (en) * 2004-01-05 2004-12-22 联想(北京)有限公司 Data transmission method of network equipment based on multinetwork card and device
CN1561062A (en) * 2004-03-09 2005-01-05 �㽭�пؼ����ɷ����޹�˾ Method of implementing multiplexing network data
US20100115174A1 (en) * 2008-11-05 2010-05-06 Aprius Inc. PCI Express Load Sharing Network Interface Controller Cluster
CN103139039A (en) * 2013-02-25 2013-06-05 汉柏科技有限公司 Virtual network capable of achieving flow isolation control and construction method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108718398A (en) * 2018-05-25 2018-10-30 苏州科达科技股份有限公司 Code stream transmission method, device and the conference facility of video conferencing system

Also Published As

Publication number Publication date
CN106998269B (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN105574082A (en) Storm based stream processing method and system
CN105939240B (en) Load-balancing method and device
CN105490831A (en) Internet data center/Internet service provider (IDC/ISP) information security management system and information management method thereof
CN103618762A (en) System and method for enterprise service bus state pretreatment based on AOP
CN103957251A (en) Method and system for achieving server load balancing
CN104539558A (en) Capacity-expansible IP telephone exchange blade mechanism frame and automatic capacity expansion method
CN106936620B (en) Alarm event processing method and processing device
CN106059940A (en) Flow control method and device
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
CN106998269A (en) The collocation method and system of many network interface cards in a kind of online trans-coding system
CN103297511B (en) The dispatching method of the client/server under high dynamic environments and system
CN105245588A (en) Separation processing method of web service port
WO2003065690A3 (en) Method and system for workload balancing in a network of computer systems
CN106897807A (en) A kind of business risk control method and equipment
CN106127573B (en) A kind of lightness operation system and method
CN106921583A (en) Network equipment flow control methods and device
CN106294445B (en) The method and device of data storage based on across computer room Hadoop cluster
CN105099738B (en) Data capture method, apparatus and system
CN205812076U (en) A kind of Computer information network engineering system
CN107590393A (en) The BIOS adaptive approach and system of a kind of like products difference set meal
CN103812792B (en) The cooperative system and Synergistic method of interchanger multiport
CN106411541A (en) Method and device of establishing service cutover plan
CN111404831A (en) Method and system for improving processing performance of wind control system
CN109344117A (en) A kind of risk detecting system based on concurrent
CN102420708A (en) Load balancing processing system of service data and method thereof

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