CN103368966B - Server system and the transmission method of data stream - Google Patents
Server system and the transmission method of data stream Download PDFInfo
- Publication number
- CN103368966B CN103368966B CN201310303641.XA CN201310303641A CN103368966B CN 103368966 B CN103368966 B CN 103368966B CN 201310303641 A CN201310303641 A CN 201310303641A CN 103368966 B CN103368966 B CN 103368966B
- Authority
- CN
- China
- Prior art keywords
- data stream
- packaging information
- described data
- logic
- source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of server system and the transmission method of data stream.Wherein, server system includes data-flow-control control server and has the data flow replication server of logic of propositions circuit, and wherein, data-flow-control control server is used for generating replication strategy, and replication strategy is sent to logic of propositions circuit;Logic of propositions circuit is for according to replication strategy duplicate data streams, and the data stream distribution after replicating is to multiple users.By the present invention, solve the problem that in prior art, Data replication and distribution power consumption is bigger, and then reached to reduce the effect of system power dissipation.
Description
Technical field
The present invention relates to data processing field, in particular to a kind of server system and the transmission method of data stream.
Background technology
In safety monitoring, the field such as net cast, relay, need that the media data of the types such as video is carried out multichannel multiple
System transmission, relates to the process to procotol among these and carries out data protocol messages such as videos replicating distribution, group
Broadcast or clean culture.Existing scheme typically uses processor system (hereinafter referred to as CPU) or router to realize phase
The function answered.CPU can process procotol by operating in software thereon and data message carries out duplication turn
Sending out, router can carry out clean culture or multicast forwarding to network message.
It is not typically custom-designed for network data due to CPU, and is limited within cpu system
Data bandwidth, in order to realize big converting flow, equipment is it is generally required to be equipped with and use more powerful CPU or needs
Multiple devices cooperation.This scheme needs bigger platform to put into, and system power dissipation is the biggest.Router one
As then can be limited by application scenarios, use underaction.
For the problem that Data replication and distribution power consumption in correlation technique is bigger, effective solution is the most not yet proposed.
Summary of the invention
Present invention is primarily targeted at a kind of server system of offer and the transmission method of data stream, to solve existing skill
The problem that in art, Data replication and distribution power consumption is bigger.
To achieve these goals, according to an aspect of the invention, it is provided a kind of server system, including data
Flow-control server and the data flow replication server with logic of propositions circuit, wherein, data-flow-control control server is used
In generating replication strategy, and replication strategy is sent to logic of propositions circuit;And logic of propositions circuit is for according to multiple
System strategy replicates the data stream that receives, and the data stream distribution after replicating is to multiple users.
Further, data-flow-control control server includes: receive unit, for receiving the encapsulation letter representing multiple users
Breath;And transmitting element, for would indicate that the packaging information of each user is sent to logic of propositions electricity as replication strategy
Road.
Further, logic of propositions circuit includes: receptor, for receiving the packaging information representing each user, shape
Become copy table;Memorizer, for storage replication table and data cached stream;Processing unit, is used for resolving data stream,
To the incoming message of data stream, the packaging information of search request data stream from copy table, and please often finding one
In the case of seeking the packaging information of data stream, according to the packaging information found, the incoming message of data stream is carried out once
Reseal;And Dispatching Unit, for the data flow point after Reseal being sent to multiple users of request data stream.
Further, packaging information includes source and the target source of data stream of data stream, wherein, processing unit according to
The target source in packaging information is searched in the source of data stream, and is often finding the feelings of a target source corresponding with source
Under condition, according to the target source found, the incoming message of data stream is carried out a Reseal.
Further, logic of propositions circuit also includes: retransmission unit, is used for forwarding multiple user and data flow-control
Mutual message between business device, this mutual message is primarily referred to as the mutual message for functions such as control and feedbacks, i.e. turns
Bill unit is for forwarding from the message of data-flow-control control server to multiple users, and forwards the report from multiple users
Literary composition is to data-flow-control control server.
Further, logic of propositions circuit includes: application-specific IC ASIC;And/or PLD
PLD。
Further, server system also includes data stream generation module, and this data stream generation module is used for producing or connecing
Receive data stream, and by data stream to logic of propositions circuit.
To achieve these goals, according to a further aspect in the invention, it is provided that the transmission method of a kind of data stream, logical
Crossing any one server system transmitting data stream that foregoing of the present invention is provided, wherein, server system includes number
According to flow-control server and the data flow replication server with logic of propositions circuit, transmission method includes: logic of propositions
Circuit receives data stream and replication strategy, and wherein, replication strategy is the replication strategy that data-flow-control control server generates;
And logic of propositions circuit is according to replication strategy duplicate data streams, and the data stream distribution after replicating is to multiple users.
Further, data-flow-control control server generates replication strategy in such a way: receives and represents multiple users'
Packaging information;And would indicate that the packaging information of each user is as replication strategy.
Further, logic of propositions circuit is according to replication strategy duplicate data streams, and the data flow point after replicating is sent to
Multiple users include: receive the packaging information representing each user, form copy table;Storage replication table and data cached
Stream;Resolve data stream, obtain the incoming message of data stream;The packaging information of search request data stream from copy table,
And in the case of the packaging information often finding a request data stream, according to the packaging information found to data stream
Incoming message carry out a Reseal;And the data flow point after Reseal is sent to the multiple of request data stream
User.
Further, packaging information includes source and the target source of data stream of data stream, wherein, looks into from copy table
The packaging information looking for request data stream includes: searches the target source in packaging information according to the source of data stream, is often looking into
In the case of finding the packaging information of a request data stream, according to the packaging information the found input report to data stream
Literary composition carries out a Reseal and includes: in the case of often finding a target source corresponding with source, according to lookup
To target source the incoming message of data stream is carried out a Reseal.
Further, transmission method also includes: logic of propositions circuit forward multiple users and data flow-control server it
Between mutual message.
Further, data stream packets includes multiple packet, and wherein, data cached stream includes: the most data cached stream
Multiple packets, resolve data stream, and the incoming message obtaining data stream includes: resolve current data packet, obtain current
The incoming message of packet, wherein, current data packet is the most buffered packet received, and searches from copy table
The packaging information of request data stream, and in the case of the packaging information often finding a request data stream, according to looking into
The packaging information found carries out a Reseal to the incoming message of data stream and includes: search request number from copy table
According to the packaging information of stream, and in the case of the packaging information often finding a request data stream, according to find
Packaging information carries out a Reseal to the incoming message of current data packet, is sent to by the data flow point after Reseal
Multiple users of request data stream include: the current data packet after Reseal is distributed to multiple use of request data stream
Family, the transmission method of data stream also includes: delete current data packet.
Further, packaging information includes at least one of: the source medium access control MAC Address of data stream,
The source address of data stream, the source port of data stream, the destination-mac address of reception data stream, the mesh of reception data stream
Mark address and the target port of reception data stream.
The present invention uses the server system of following structure: data-flow-control control server and have the number of logic of propositions circuit
According to stream replication server, data-flow-control control server is used for generating replication strategy, and replication strategy is sent to default patrolling
Collect circuit;Logic of propositions circuit is for according to replication strategy duplicate data streams, and the data stream distribution after replicating is at most
Individual user.By arranging logic of propositions circuit in data flow replication server, realized by then passing through logic circuit
Video dubbing distribution function, compared to existing technology in utilize instruction to carry out Data replication and distribution by CPU for,
Logic circuit can provide the highest data bandwidth, and data message can be supported to replicate repeatedly, and logic circuit
Hardware resource utilization is higher, and therefore its power consumption is smaller, solves Data replication and distribution power consumption in prior art
Bigger problem, and then reached to reduce the effect of system power dissipation.
Accompanying drawing explanation
The accompanying drawing of the part constituting the application is used for providing a further understanding of the present invention, and the present invention's is schematic real
Execute example and illustrate for explaining the present invention, being not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of server system according to embodiments of the present invention;
Fig. 2 is the flow chart of the transmission method of data stream according to embodiments of the present invention;
Fig. 3 be data stream according to embodiments of the present invention transmission method in data-flow-control control server and data flow replication
The interaction figure of server;And
Fig. 4 be data stream according to embodiments of the present invention transmission method in carry out the schematic diagram of data flow replication distribution.
Detailed description of the invention
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases
Combination mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Embodiments provide a kind of server system, the server system below embodiment of the present invention provided
It is specifically introduced:
Fig. 1 is the schematic diagram of server system according to embodiments of the present invention, and this server system main users is to data
Stream carries out replicating distribution, and wherein, data stream packets includes but is not limited to video flowing, audio stream, voice flow etc., in the present invention
In the herein below of embodiment as a example by carrying out video flowing replicating distribution, illustrate the server of the embodiment of the present invention
System, as it is shown in figure 1, the server system of this embodiment includes data-flow-control control server 20 and data flow replication clothes
Business device 30.
Wherein, data flow replication server 30 has default logic circuit, and this logic of propositions circuit can be specific use
Integrated circuit (Application Specific Integrated Circuit is called for short ASIC) on the way, it is also possible to be able to programme patrolling
Collect device (Programmable Logic Device is called for short PLD), i.e. data flow replication server 30 uses specially
With chip system, so-called special chip refers to application-specific IC ASIC or Programmable logic design chip
Deng, PLD chip such as FPGA(field programmable gate array Field Programmable Gate
Array, is called for short FPGA) or CPLD(Complex Programmable Logic Device, it is called for short CPLD)
Deng.Special chip can be individually or together with external memorizer (such as DDR3SDRAM etc.), the most again
Assembly (such as power supply etc.) plus other necessity forms a system, in the input to video flowing of this internal system
Message carries out replicating and other operations (other operations potentially include amendment, forwarding etc.).
Data flow con-trol service 20 mainly completes user authentication, and rtcp protocol processes and video flowing replication strategy controls,
And the logic of propositions circuit that video flowing replication strategy is issued in data flow replication server 30.Wherein, RTCP association
View refers to that RTP Control Protocol, RTP refer to RTP (Real-time Transport Protocol is called for short RTP),
Specifically, data-flow-control control server 20 includes receiving unit and transmitting element, receives unit reception and is write by manager etc.
The packaging information of each user entered, transmitting element would indicate that the packaging information of each user is sent to as replication strategy
Logic of propositions circuit.
Wherein, the mutual message between user and data flow-control server can be by the forwarding in logic of propositions circuit
Unit forwards, and mutual message is primarily referred to as the mutual message for functions such as control and feedbacks, i.e. retransmission unit and uses
In forwarding the message from data-flow-control control server to multiple users, and forward the message from multiple users to data
Flow-control server, such as: the rtcp protocol message that targeted customer produces retransmission unit in logic of propositions circuit
Being forwarded to data-flow-control control server, the retransmission unit in logic of propositions circuit is additionally operable to forward and subdues from data-flow-control
The rtcp protocol message of business device 20 is to multiple users.
Logic of propositions circuit is for according to replication strategy replicating video stream, and the video flowing after replicating is distributed to multiple use
Family, wherein, video flowing is the video flowing that logic of propositions circuit receives, this video flowing can be logic of propositions circuit from
The video flowing that the external input sources of server system gets, it is also possible to the raw mould of data miscarriage is set in server system
Block, this data stream generation module produces or receives video flowing, and by video stream to logic of propositions circuit, data stream
Generation module can direct or through network by video stream to logic of propositions circuit, regarding of data stream generation module
Frequently flow data can be from including but not limited to that the sources such as IP Camera, hard disk, network hard disc produce or obtain.
Wherein, logic of propositions circuit includes receptor, memorizer, processing unit and Dispatching Unit, specifically:
Receptor for receiving the packaging information representing each user, formation copy table, packaging information include following at least
One of: the source MAC(medium access control Media Access Control of video flowing, it is called for short MAC) address, regard
Frequency stream source address (that is, source IP address), the source port of video flowing, receive video flowing destination-mac address,
Receive the destination address (that is, target ip address) of video flowing and receive the target port of video flowing, i.e. copy table can
Can comprise RTP head, UDP head, the first-class packaging information of mac frame and/or other guide, each item of copy table comprises
Process information to certain video source, table 1 below shows the content of copy table:
Table 1
Targeted customer | Source IP | Source port | Purpose IP | Destination interface |
User1 | IP-1 | Sport1 | DIP-1 | Dport1 |
User2 | IP-2 | Sport2 | DIP-2 | Dport2 |
User3 | IP-3 | Sport3 | DIP-3 | Dport3 |
…… | …… | …… | …… | …… |
Memorizer is for storage replication table and caching video flowing.
Processing unit is used for resolving video flowing, obtains the incoming message of video flowing, search request video flowing from copy table
Packaging information, and often find one request video flowing packaging information in the case of, according to the encapsulation found
Information carries out a Reseal to the incoming message of video flowing.For input video stream-1, can be replicated by lookup
Table, obtains the corresponding user's packaging information of video flowing-1.Packaging information includes the source of video flowing and the mesh of video flowing
Mark source, wherein, processing unit searches the target source in packaging information according to the source of video flowing, and is often finding one
In the case of the individual target source corresponding with source, according to the target source found, the incoming message of video flowing is carried out once
Reseal.Include during encapsulation, according to the user's packaging information found, the packet replication of input video stream-1 being laid equal stress on
New encapsulation RTP head, UDP head (such as can use the source port in copy table and destination interface), IP head (such as can
Use the source IP in copy table and purpose IP), mac frame head, formed RTP bag.Due to the existence of copy table, can
With to purpose user, header content etc. controls flexibly.
Dispatching Unit, for being distributed to multiple user by the video flowing after Reseal.As shown in fig. 1, video flowing
The copy table of-1 correspondence includes 3 users, and the data message of video flowing-1 is replicated 3 parts accordingly, and according to table
The particular content of item is respectively modified heading, is then sent respectively to 3 users.
Logic of propositions circuit 30 in above-mentioned video flowing replication server 30 is responsible for user simultaneously and video flowing controls service
The forwarding of RTCP message between device 20, will user side come RTCP bag be transmitted to video flow-control server 20,
The RTCP bag that video flow-control server 20 end comes is transmitted to user.
The server system of the embodiment of the present invention, by arranging logic of propositions circuit in data stream stream replication server,
By then pass through logic circuit to realize video data replicate distribution function, compared to existing technology in utilized by CPU
For instruction carries out Data replication and distribution, logic circuit can provide the highest data bandwidth, can support data
Message replicates repeatedly, and the hardware resource utilization of logic circuit is higher, and therefore its power consumption is smaller, solves
The problem that in prior art, Data replication and distribution power consumption is bigger, and then reached to reduce the effect of system power dissipation.
The embodiment of the present invention additionally provides the transmission method of a kind of data stream, and this transmission method is based primarily upon the present invention to be implemented
The server system that example foregoing is provided, this server system includes data-flow-control control server and has default patrolling
Collecting the data flow replication server of circuit, equally, the transmission method of this data stream includes but not limited to video flowing, sound
Frequency stream, voice flow etc. carry out replicating distribution, divide to carry out video flowing replicating in the herein below of the embodiment of the present invention
As a example by Faing, illustrating the transmission method of the embodiment of the present invention, Fig. 2 is the biography of data stream according to embodiments of the present invention
The flow chart of transmission method, as in figure 2 it is shown, the transmission method that video flowing carries out replicating the data stream of distribution includes as follows
Step S201 and S203:
S201: logic of propositions circuit receives video flowing and replication strategy, and wherein, replication strategy is that video flowing controls service
The replication strategy that device generates, video flowing is the video flowing that logic of propositions circuit receives, and this video flowing can be to preset to patrol
Collect the video flowing that circuit gets from the external input sources of server system, it is also possible to data are set in server system
Stream generation module, is produced by data stream generation module or receives video flowing, and by video stream to logic of propositions circuit,
Data stream generation module can direct or through network by video stream to logic of propositions circuit, the raw mould of data miscarriage
The video stream data of block can be from including but not limited to that the sources such as IP Camera, hard disk, network hard disc produce or obtain.
S203: logic of propositions circuit is according to replication strategy replicating video stream, and the video flowing after replicating is distributed to multiple
User.
The transmission method of the video flowing of the embodiment of the present invention, the video flowing by utilization with logic of propositions circuit replicates clothes
Business device carry out video dubbing distribution, by then pass through logic circuit to realize video dubbing distribution function, compare existing
For utilizing instruction to carry out Data replication and distribution by CPU in technology, logic circuit can provide the highest data band
Width, can support data message to replicate repeatedly, and the hardware resource utilization of logic circuit is higher, therefore it
Power consumption smaller, solve the problem that in prior art, Data replication and distribution power consumption is bigger, and then reached to reduce system
The effect of system power consumption.
Specifically, during Fig. 3 is transmission method according to embodiments of the present invention, data-flow-control control server and data stream replicate
Interaction figure between server, generates as it is shown on figure 3, embodiments provide a kind of data-flow-control control server
The concrete mode of replication strategy: first, data-flow-control control server receives the envelope of each user write by manager etc.
Dress information, packaging information includes at least one of: the source MAC of video flowing, the source address of video flowing, regard
The source port of frequency stream, the destination-mac address of reception video flowing, the destination address receiving video flowing and reception video flowing
Target port;Then, would indicate that the packaging information of each user is as replication strategy.
Wherein, the mutual message between user and data flow-control server can be by the forwarding in logic of propositions circuit
Unit forwards, and mutual message is primarily referred to as the mutual message for functions such as control and feedbacks, i.e. retransmission unit and uses
In forwarding the message from data-flow-control control server to multiple users, and forward the message from multiple users to data
Flow-control server, such as: the rtcp protocol message that targeted customer produces retransmission unit in logic of propositions circuit
Being forwarded to data-flow-control control server, the retransmission unit in logic of propositions circuit is additionally operable to forward and subdues from data-flow-control
The rtcp protocol message of business device 20 is to multiple users.
Embodiments provide a kind of logic of propositions circuit according to replication strategy replicating video stream, and after replicating
Video flowing is distributed to the concrete mode of multiple user:
Video flowing passes through network transmission (or transmitting by other means or directly) in data flow replication server
Logic of propositions circuit after, each input video stream packets has some feature (such as source IP or source MAC
Deng, illustrate as a example by the IP of source below), the bag come from different video source has different source IP, comes from same video source
Bag there is identical source IP.
Receiving the packaging information representing each user, form copy table, copy table leaves the storage inside of special chip in
On device.Additionally having a source IP concordance list, this table there is also on the internal storage of special chip, this table every
One list item comprises the address of the copy table corresponding with this video flowing for source IP of two parts, i.e. video flowing, and this table is real
Having showed video flowing and the corresponding relation of copy table list item, this table is also to issue video flowing again in data-flow-control control server
Formed during system strategy.
Storage replication table and caching video flowing, after the video streaming data packet of input arrives video flowing replication server, first warp
After crossing the process of a series of necessity (such as procotol inspection and process), first it is buffered in the storage inside of special chip
In device, this part caches hereinafter referred to as input-buffer, input-buffer can using in the way of pointer chained list (or other
Mode) store multiple video source multiple input bag.Control whether logical check input-buffer has packet, if
Have, from input-buffer, read a packet (hereinafter referred to as packet A), and be buffered in inside another one
In memorizer (this memorizer hereinafter referred to as processes caching), the data form simultaneously controlling logical analysis bag obtains this
The source IP of packet.Then, search the packaging information of each user corresponding with source IP, specifically can be to this source
It is permissible that IP looks into source IP concordance list by two way classification (or other method such as HASH searches or directly searches)
Find the address of copy table corresponding for this source IP, be that copy table is read in base address with the address found, thus obtain
Must be to the process information of this video flowing, and in the case of the packaging information often finding a user, according to lookup
To packaging information the incoming message of video flowing is carried out a Reseal, then by the video flow point after Reseal
Send to multiple user.
By foregoing description it can be seen that in the embodiment of the present invention when video flowing is transmitted, with the number of video flowing
It is transmitted for unit according to bag, i.e. perform transmission method according to following steps: cache video flowing current received
Packet, resolves current data packet, the packaging information of search request video flowing from copy table, and is often finding one
In the case of the packaging information of individual request video flowing, according to the packaging information the found incoming message to current data packet
Carry out a Reseal, the current data packet after Reseal is distributed to multiple user, next packet is held
Row above-mentioned steps, these steps may carry out improving system processing speed parallel.Such as, may parallel processing simultaneously
Each step of multiple bags or different bag is carried out by the way of streamline parallel.
Further, for discharging spatial cache in time, after the distribution having performed a packet, the embodiment of the present invention
Transmission method also include deleting the most processed packet, to reach the effect of timely spatial cache.
Further, with the processing method of the packet to video flowing-1 shown in Fig. 4, this is illustrated
The transmission method of the data stream of bright embodiment, as shown in Figure 4:
Process to the packet of video flowing-1, logic of propositions circuit (that is, controlling logic) first can read MAC
Frame head encapsulation masterplate and RTP head encapsulation masterplate and other control information ratios are if any 3 targeted customers, and controlling logic will
It is temporarily stored in internal register;Then control logic and read the relevant information of first aim user, such as source IP,
Source port, purpose IP and destination interface etc., control logic and be temporarily stored in internal register;Control logic to read also
Packet in dissection process caching, obtains MAC, source IP, source port, purpose IP, destination interface, check value
The position that position in a stream and RTP head should insert, according to these positional informationes by the MAC in data stream
Frame head, source IP, source port, purpose IP, destination interface replaces with related data in internal register, and by RTP
Head encapsulation masterplate is also added thereto, and the loading section of packet is not revised, and controls logic and calculates new check value simultaneously
And replace original check value;Control logic by amended data write another one internal storage, (this is deposited
Reservoir hereinafter referred to as sends caching) etc. to be sent, system separately has a sending module be responsible for from send caching read
Data Concurrent delivers to network, sends caching and can store multiple bag in the way of using data link table.
Control logic and then read copy table, obtain the relevant information of second target user, such as source IP, source port,
Purpose IP and destination interface etc., control logic and be temporarily stored in internal register;Control logic to read and dissection process
Packet in caching, obtains MAC, source IP, source port, purpose IP, destination interface, and check value is at data stream
In position and the position that should insert of RTP head, according to these positional informationes by the mac frame head in data stream,
Source IP, source port, purpose IP, destination interface replaces with related data in internal register, and by RTP head Encapsulation Moulds
Version is also added thereto, and the loading section of packet is not revised, and controls logic and calculates new check value simultaneously and replace former
Some check values;Control logic and the write of amended data is sent in caching, wait that sending module sends.
Control logic and then read copy table, obtain the relevant information of the 3rd targeted customer, such as source IP, source port,
Purpose IP and destination interface etc., control logic and be temporarily stored in internal register;Control logic to read and dissection process
Packet in caching, obtains MAC, source IP, source port, purpose IP, destination interface, and check value is at data stream
In position and the position that should insert of RTP head, according to these positional informationes by the mac frame head in data stream,
Source IP, source port, purpose IP, destination interface replaces with related data in internal register, and by RTP head Encapsulation Moulds
Version is also added thereto, and the loading section of packet is not revised, and controls logic and calculates new check value simultaneously and replace former
Some check values;Control logic and the write of amended data is sent in caching, wait that sending module sends.So far,
Control logic and be complete the duplication towards 3 targeted customers.Control logic notice input-buffer and can delete packet
A, the storage space shared by data collection bag A.Control whether logical check input buffering has packet, as
Fruit has, and reads next packet B and start to process from input-buffer.
For certain video source, its targeted customer may be the most, namely it needs to be replicated many times, and such as 1024
Secondary, the process retardation ratio being so likely to result in other packets behind is bigger.One possible way is, permissible
First by less for its reproduction ratio number of times, such as 128 times, the most first it is copied to targeted customer 1 to targeted customer 128, it
After not by its input buffering in delete;Then its input bag below is processed;Reprocess this bag afterwards, by it
Read from input-buffer, replicates 128 times to targeted customer 129 to targeted customer 256, the most not by it defeated
Enter in buffering and delete;Then other bags are processed.So circulation, until 1024 duplications are finished, just by this packet
Input-buffer is deleted.
During superincumbent, packet A is by from processing reading 3 times in caching, and after modifying, 3 writes are sent out
Send caching, thus realize the duplication to packet A.The way of another possibility is, only from processing reading caching
1 time, after being respectively directed to 3 targeted customer's amendments, 3 writes send caching, can also realize equally packet A
Duplication.
During superincumbent, control logic and can use finite state machine (Finite State Machine is called for short FSM)
Form with the logic circuit of other necessity (or other logic circuit mode realize can also).Above-mentioned control process is complete
To be realized Row control by circuit logic (such as depositor and combinational logic circuit etc.) entirely, to the read-write of memorizer with
And the operation rather than carry out control flow and to memorizer sum by instruction stream as CPU such as data are modified
According to operating.
As can be seen from the above description, the present invention use logic of propositions circuit to do the duplication of video flowing, permissible
The performance of good control system and power consumption, meanwhile, because using copy table, system also has considerable flexibility.
It should be noted that can be at such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing
Computer system performs, and, although show logical order in flow charts, but in some cases, can
With to be different from the step shown or described by order execution herein.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general
Calculating device realize, they can concentrate on single calculating device, or is distributed in multiple calculating device institute
On the network of composition, alternatively, they can realize with calculating the executable program code of device, it is thus possible to
It is stored in storing in device and is performed by calculating device, or they are fabricated to respectively each integrated circuit die
Block, or the multiple modules in them or step are fabricated to single integrated circuit module realize.So, the present invention
It is not restricted to any specific hardware and software combine.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made
Any modification, equivalent substitution and improvement etc., should be included within the scope of the present invention.
Claims (11)
1. a server system, it is characterised in that include data-flow-control control server and there is the number of logic of propositions circuit
According to stream replication server, wherein,
Described data-flow-control control server is used for generating replication strategy, and is sent to by described replication strategy described pre-
If logic circuit;
Described logic of propositions circuit is used for replicating, according to described replication strategy, the data stream received, and by after duplication
Described data stream distribution to multiple users;
Wherein, described data-flow-control control server includes:
Receive unit, for receiving the packaging information representing the plurality of user;And
Transmitting element, for would indicate that the described packaging information of each described user is as described replication strategy transmission
To described logic of propositions circuit.
Server system the most according to claim 1, it is characterised in that described logic of propositions circuit includes:
Receptor, for receiving the described packaging information representing each described user, forms copy table;
Memorizer, is used for storing described copy table and caching described data stream;
Processing unit, is used for resolving described data stream, obtains the incoming message of described data stream, from described duplication
The described packaging information of data stream described in search request in table, and ask described data stream often finding one
In the case of described packaging information, according to the described packaging information found, the incoming message of described data stream is entered
Reseal of row;And
Dispatching Unit, for sending to ask the described many of described data stream by the described data flow point after Reseal
Individual user.
Server system the most according to claim 2, it is characterised in that described packaging information includes described data stream
Source and the target source of described data stream, wherein, described processing unit is searched according to the source of described data stream
Target source in described packaging information, and in the case of often finding a target source corresponding with described source,
According to the described target source found, the incoming message of described data stream is carried out a Reseal.
Server system the most according to claim 2, it is characterised in that described logic of propositions circuit also includes:
Retransmission unit, for forwarding the mutual message between the plurality of user and described data-flow-control control server.
Server system the most according to claim 1, it is characterised in that described logic of propositions circuit includes:
Application-specific IC ASIC;And/or
Programmable logic design.
6. the transmission method of a data stream, it is characterised in that by the service according to any one of claim 1 to 5
Data stream described in device system transfers, wherein, described server system includes data-flow-control control server and has pre-
If the data flow replication server of logic circuit, described transmission method includes:
Described logic of propositions circuit receives data stream and replication strategy, and wherein, described replication strategy is described data
The replication strategy that flow-control server generates;
Described logic of propositions circuit according to described replication strategy replicate described data stream, and will replicate after described number
According to stream distribution to multiple users;
Wherein, described data-flow-control control server generates described replication strategy in such a way:
Receive the packaging information representing the plurality of user;And
Would indicate that the described packaging information of each described user is as described replication strategy.
Transmission method the most according to claim 6, it is characterised in that described logic of propositions circuit is according to described duplication
Strategy replicates described data stream, and the described data stream distribution after replicating includes to multiple users:
Receive the described packaging information representing each described user, form copy table;
Store described copy table and cache described data stream;
Resolve described data stream, obtain the incoming message of described data stream;
The described packaging information of data stream described in search request from described copy table, and please often finding one
In the case of seeking the described packaging information of described data stream, according to the described packaging information found to described data
The incoming message of stream carries out a Reseal;And
Described data flow point after Reseal is sent to ask the plurality of user of described data stream.
Transmission method the most according to claim 7, it is characterised in that described packaging information includes described data stream
Source and the target source of described data stream, wherein,
From described copy table, the described packaging information of data stream described in search request includes: according to described data stream
Source search the target source in described packaging information,
In the case of often finding a described packaging information asking described data stream, according to the institute found
State packaging information the incoming message of described data stream is carried out a Reseal to include: often find one with
In the case of the target source that described source is corresponding, according to the described target source the found input to described data stream
Message carries out a Reseal.
Transmission method the most according to claim 7, it is characterised in that described transmission method also includes:
Described logic of propositions circuit forwards the mutual report between the plurality of user and described data-flow-control control server
Literary composition.
Transmission method the most according to claim 7, it is characterised in that described data stream packets includes multiple packet, its
In,
Cache described data stream packets to include: cache multiple packets of described data stream successively,
Resolving described data stream, the incoming message obtaining described data stream includes: resolves current data packet, obtains
The incoming message of described current data packet, wherein, described current data packet is the most buffered packet received,
The described packaging information of data stream described in search request from described copy table, and please often finding one
In the case of seeking the described packaging information of described data stream, according to the described packaging information found to described data
The incoming message of stream carries out a Reseal and includes: the institute of data stream described in search request from described copy table
State packaging information, and in the case of often finding a described packaging information asking described data stream, according to
The described packaging information found carries out a Reseal to the incoming message of described current data packet,
Send to ask the plurality of user of described data stream to include by the described data flow point after Reseal: will
Described current data packet after Reseal is distributed to ask the plurality of user of described data stream,
The transmission method of described data stream also includes:
Delete described current data packet.
11. according to the transmission method according to any one of claim 6 to 10, it is characterised in that described packaging information includes
At least one of:
The source medium access control MAC Address of described data stream, the source address of described data stream, described data
Stream source port, receive described data stream destination-mac address, receive described data stream destination address and
Receive the target port of described data stream.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310303641.XA CN103368966B (en) | 2013-07-18 | 2013-07-18 | Server system and the transmission method of data stream |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310303641.XA CN103368966B (en) | 2013-07-18 | 2013-07-18 | Server system and the transmission method of data stream |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103368966A CN103368966A (en) | 2013-10-23 |
CN103368966B true CN103368966B (en) | 2016-08-17 |
Family
ID=49369503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310303641.XA Expired - Fee Related CN103368966B (en) | 2013-07-18 | 2013-07-18 | Server system and the transmission method of data stream |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103368966B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791917A (en) * | 2016-11-29 | 2017-05-31 | 深圳前海弘稼科技有限公司 | The acquisition methods of video flowing, acquisition device and server |
CN108241648A (en) * | 2016-12-23 | 2018-07-03 | 中兴通讯股份有限公司 | A kind of data processing method and device |
CN110968257B (en) * | 2018-09-30 | 2023-07-11 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for storage management |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101720036A (en) * | 2009-12-15 | 2010-06-02 | 青岛海信宽带多媒体技术有限公司 | System for distributing DVB data to multiple users |
CN102214482A (en) * | 2010-04-07 | 2011-10-12 | 中国科学院电子学研究所 | High-speed high-capacity solid electronic recorder |
CN102833331A (en) * | 2012-08-21 | 2012-12-19 | 北京邦诺存储科技有限公司 | Cloud storage system and metadata writing-in method and metadata reading method thereof |
CN103109297A (en) * | 2010-09-22 | 2013-05-15 | 国际商业机器公司 | Data distribution device, data distribution system, client device, data distribution method, data reception method, program and recording medium |
-
2013
- 2013-07-18 CN CN201310303641.XA patent/CN103368966B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101720036A (en) * | 2009-12-15 | 2010-06-02 | 青岛海信宽带多媒体技术有限公司 | System for distributing DVB data to multiple users |
CN102214482A (en) * | 2010-04-07 | 2011-10-12 | 中国科学院电子学研究所 | High-speed high-capacity solid electronic recorder |
CN103109297A (en) * | 2010-09-22 | 2013-05-15 | 国际商业机器公司 | Data distribution device, data distribution system, client device, data distribution method, data reception method, program and recording medium |
CN102833331A (en) * | 2012-08-21 | 2012-12-19 | 北京邦诺存储科技有限公司 | Cloud storage system and metadata writing-in method and metadata reading method thereof |
Non-Patent Citations (2)
Title |
---|
《IP网络视频会议系统中MCU的设计与实现》;黄韵等;《计算机工程》;20040731;第30卷(第14期) * |
《视频会议中多点控制的研究与实现》;赵娜;《万方数据》;20070723 * |
Also Published As
Publication number | Publication date |
---|---|
CN103368966A (en) | 2013-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11316946B2 (en) | Processing and caching in an information-centric network | |
US9037710B2 (en) | Method and apparatus for correlating end to end measurements through control plane monitoring of wireless traffic | |
CN108055211A (en) | A kind of method of multicast replication, equipment and storage medium | |
CN105684382A (en) | Packet control method, switch and controller | |
JP7050177B2 (en) | How to carry multicast packets, devices, and systems | |
CN101257457A (en) | Method for network processor to copy packet and network processor | |
EP3559833B1 (en) | Best-efforts database functions | |
US9674728B2 (en) | Method and apparatus for managing a degree of parallelism of streams | |
US10146682B2 (en) | Method and apparatus for improving non-uniform memory access | |
EP3560148B1 (en) | Database functions-defined network switch | |
CN103368966B (en) | Server system and the transmission method of data stream | |
CN112134846B (en) | Method, system, device and medium for analyzing signaling data of communication network | |
CN106603440A (en) | Switch unit and method for realizing multi-destination message mirroring | |
US20140258518A1 (en) | Method and apparatus for applying uniform hashing to wireless traffic | |
CN105900446A (en) | Communication apparatus, communication data generation method, and communication data processing method | |
CN105282057B (en) | Flow table updating method, controller and flow table analysis device | |
CN105635000A (en) | Message storing and forwarding method, circuit and device | |
US8611343B2 (en) | Method and apparatus for providing a two-layer architecture for processing wireless traffic | |
US20160344689A1 (en) | Network Management of Devices Residing Behind a Network Device | |
CN114598825B (en) | Video and audio signal scheduling method and device, computer equipment and readable storage medium | |
Baltas et al. | Ultra low delay switching for networked music performance | |
Mariño et al. | Loopback strategy for in-vehicle network processing in automotive gateway network on chip | |
CN110660205B (en) | Alarm information processing method and device, electronic equipment and readable storage medium | |
WO2017088489A1 (en) | Data message transmission method and system, and communication system | |
CN110113261A (en) | The processing method and processing device of cross-system data exchange classification grouping routing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160817 Termination date: 20190718 |