CN102695049A - Transmission method and apparatus of code stream - Google Patents

Transmission method and apparatus of code stream Download PDF

Info

Publication number
CN102695049A
CN102695049A CN2012101420542A CN201210142054A CN102695049A CN 102695049 A CN102695049 A CN 102695049A CN 2012101420542 A CN2012101420542 A CN 2012101420542A CN 201210142054 A CN201210142054 A CN 201210142054A CN 102695049 A CN102695049 A CN 102695049A
Authority
CN
China
Prior art keywords
stream
destination
instruction
attitude
socket
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
CN2012101420542A
Other languages
Chinese (zh)
Other versions
CN102695049B (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.)
Xi'an Yu vision Mdt InfoTech Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201210142054.2A priority Critical patent/CN102695049B/en
Publication of CN102695049A publication Critical patent/CN102695049A/en
Application granted granted Critical
Publication of CN102695049B publication Critical patent/CN102695049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a transmission method and apparatus of code stream. A driving device is added to the kernel mode of a server in the method. The driving device is used for performing the following operation: receiving a creating stream instruction transmitted by the user mode of the server, establishing a Socket according to the IP address of destination and the identification of destination port in the creating stream instruction, setting a stream identification ID associated with the Socket and returning to the user mode, setting the Socket to be ineffective to indicate that the data is not transmitted to the destination temporarily, receiving a starting stream instruction transmitted by the user mode, finding a Socket associated with a stream ID based on the stream ID in the starting stream instruction, updating the Socket to be effective to indicate that data transmission to the destination is permitted at present, packing the code stream to-be-transmitted as a data package based on the packing format in the starting stream instruction and transmitting the data package to the destination.

Description

Code stream sending method and device
Technical field
The present invention relates to video technique, particularly code stream sending method and device.
Background technology
The fast development of broadband network communication makes multimedia application also more and more widely, like video conference, video monitoring, IPTV, global eyes etc.At present, the code stream of these multimedia application is also referred to as multimedia code stream, before being sent to destination, need under user's attitude of service end, carry out code stream encapsulation, packing and data copy operation, and the transmission in the face of code stream specifically describes down:
Referring to Fig. 1, Fig. 1 sends sketch map for existing code stream.In Fig. 1, as destination, and an end that sends stream is an example as service end with an end of request stream.As shown in Figure 1, service end user's attitude earlier according to practical application in the encapsulation format that is allowed to of code stream code stream waiting for transmission is encapsulated.Afterwards, the code stream packing of service end after user's attitude will encapsulate forms a packet.At present, the code stream that UDP or TCP come bearing multimedia to use such as multimedia audio, video becomes video monitoring industry preferred option, and based on this, service end can be packaged into UDP or tcp data bag in user's attitude with the code stream after the encapsulation.After accomplishing the packet packing, the sending module on the service end invoke user attitude is copied to kernel state with said packet from user's attitude, so that send said packet to destination through the sending module of kernel state.
Can find out from code stream process of transmitting shown in Figure 1; In the code stream process of transmitting; Need service end that packet is copied to kernel state from user's attitude,, can cause the generation aggravation of Installed System Memory fragment though this data copy operation can guarantee that code stream is sent to destination.
Summary of the invention
The invention provides code stream sending method and device, avoid the data copy of user's attitude to kernel state in the code stream process of transmitting.
Technical scheme provided by the invention comprises:
A kind of code stream sending method, in this method, at driving arrangement of kernel state increase of service end, operation below this driving arrangement is carried out:
Receive the establishment stream instruction of user's attitude transmission of said service end; Create socket Socket according to destination IP address in the instruction of said establishment stream and destination interface sign; It is invalid that said Socket is set; Wouldn't send data to said destination to indicate at present, and the traffic identifier ID that is associated with this Socket is set, return to user's attitude and safeguard;
Receive the startup stream instruction that said user's attitude is sent; Flow the Socket that the stream ID in the instruction finds this stream ID to be associated according to said startup; Upgrade this Socket for effective; Indicating present permission to send data, and carry out the packet packing and be sent to destination to sent code stream according to the packing form in the instruction of said startup stream to destination.
A kind of driving arrangement that is applied in the code stream sending method, driving arrangement is set at the kernel state of service end, and this driving arrangement comprises:
Create stream processing unit; Be used to receive the establishment stream instruction that user's attitude of said service end is sent; Create socket Socket based on destination IP address in the instruction of said establishment stream and destination interface sign, it is invalid that said Socket is set, and wouldn't send data to said destination to indicate at present; And the traffic identifier ID that is associated with this Socket is set, return to user's attitude and safeguard;
Send stream processing unit; Be used to receive the startup stream instruction that said user's attitude is sent; Flow the Socket that the stream ID in the instruction finds this stream ID to be associated according to said startup; Upgrade this Socket for effectively, send data to destination, and carry out the packet packing and be sent to destination to sent code stream according to the packing form in the instruction of said startup stream to indicate present permission.
Can find out by above technical scheme; Among the present invention; Kernel state in service end increases a driving arrangement, and the packet packing form of being informed according to user's attitude by this driving arrangement carries out the packet packing and the transmission of code stream, need not to carry out the data copy of user's attitude to kernel state; This has reduced on the one hand because the overhead that the data copy of user's attitude to kernel state causes has been avoided causing memory fragmentation to produce the defective of aggravation owing to the data copy of user's attitude to kernel state on the other hand.
Description of drawings
Fig. 1 sends sketch map for existing code stream;
The basic skills flow chart that Fig. 2 provides for the embodiment of the invention;
The method sketch map that Fig. 3 provides for the embodiment of the invention;
The detailed method flow chart that Fig. 4 provides for the embodiment of the invention;
The buffer location sketch map that Fig. 5 provides for the embodiment of the invention;
The structure drawing of device that Fig. 6 provides for the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, describe the present invention below in conjunction with accompanying drawing and specific embodiment.
The data copy of method provided by the invention user's attitude to kernel state in the code stream process of transmitting need be provided with a driving arrangement at kernel state.Wherein, the operation of this driving arrangement execution comprises step shown in Figure 2:
Step 201; Receive the establishment stream instruction of user's attitude transmission of said service end, destination IP address in instructing according to said establishment stream and destination interface identify creates socket (Socket), and the traffic identifier (ID) that is associated with this Socket is set; And return to user's attitude; And it is invalid that said Socket is set, and wouldn't send data to said destination to indicate at present.
Wherein, said user's attitude is sent and created the stream instruction is after the establishment stream request that receives destination, to be sent to said kernel state, is specially:
User's attitude receives establishment stream (Setup Stream) request that destination sends;
Resolve destination IP address and destination interface sign that said Setup Stream request is carried, and be sent to kernel state through creating the stream instruction.So, the driving arrangement of kernel state just receives the instruction of said establishment stream.
In addition; This step 201 returns to user's attitude stream ID; Purpose is to be convenient to user's attitude to safeguard the corresponding relation between this stream ID and above-mentioned destination IP address and the destination interface sign; So that user's attitude is follow-up receive startup stream (Start Stream) request from destination after, confirm corresponding stream ID according to the destination IP address and the destination interface of this Start Stream request, and the stream ID that will confirm is carried at startup and flows and send to kernel state in instructing; Driving by kernel state is provided with the transmit operation of execution data, specifically sees step 202.
Step 202; Receive the startup stream instruction that said user's attitude is sent; Socket according to the stream ID in the instruction of said startup stream finds this stream ID to be associated upgrades this Socket for effectively, sends data to indicate present permission to destination; And carry out packet according to the packing form in the instruction of said startup stream to sent code stream and pack, the packet after the transmission packing is to destination.
Wherein, the instruction of user's attitude transmission startup stream is after the Start Stream that is receiving the destination transmission asks, to carry out.Preferably, among the present invention, this startup stream instruction can be the instruction that is used for the request code flow transmission among the ioctr.
Also have, start stream ID in the stream instruction and be and come definite according to destination IP address in the above-mentioned corresponding relation of its maintenance and the request of said startup stream with the destination interface sign by said user's attitude.
In addition, among the present invention, when needs stop to send data to destination; Among the present invention; Can send to said driving arrangement by user's attitude and stop the stream instruction, and when driving arrangement receive that said user's attitude sends stop stream and instruct the time, the Socket that finds this stream ID to be associated according to the stream ID that stops to flow in the instruction; The state that this Socket is set is invalid, to realize stopping to send data manipulation.
Can find out that from above among the present invention, than prior art, user's attitude and kernel state have all been done following improvement:
The two kinds of operations shown in Figure 3 below only carrying out of user's attitude: (1), want transmitted stream for kernel state the packing form is set; (2), the driving arrangement in kernel state sends and starts the stream instruction, is sent to destination to guarantee code stream, and to the instruction of driving arrangement transmission stopping stream, sends code stream to destination with cancellation.
And kernel state is through increasing a driving arrangement, two kinds of operations shown in Figure 3 below only carrying out: (1), and the packing form of informing according to user's attitude is realized the packing of code stream, comprises being packaged into ES stream, TS stream, UDP stream, TCP stream etc.; (2), send the packet of accomplishing packing to destination.Wherein, this transmission can be sent the realization of data thread through setting up, and hereinafter specifically describes.In addition, before the packing code stream, also need carry out the encapsulation of code stream usually, preferably, the present invention also can further carry out the code stream encapsulation operation by the driving arrangement of kernel state, and is specifically as shown in Figure 3.
Operation through user's attitude shown in Figure 3 and kernel state execution; Can find out; Among the present invention, in the code stream process of transmitting, need not to carry out the data copy of user's attitude to kernel state; This has reduced on the one hand because the overhead that the data copy of user's attitude to kernel state causes has been avoided causing memory fragmentation to produce the defective of aggravation owing to the data copy of user's attitude to kernel state on the other hand.
The method that provides in the face of the embodiment of the invention is down described:
Referring to Fig. 4, the method flow diagram that Fig. 4 provides for the embodiment of the invention.In this flow process, with an end of request code stream as destination A, and with the end that sends code stream as service end A.As shown in Figure 4, this flow process can may further comprise the steps:
Step 401, service end A opens the driving arrangement that increases at kernel state after startup, so that said driving arrangement is in upstate.
Preferably, can use for guaranteeing driving arrangement, this step 401 also need be carried out the operations such as registration of driving arrangement before driving arrangement is opened in execution, because of little with relation of the present invention, specifically do not detail here.
Step 402; Service end A receives the Setup Stream request that destination sends; Resolve destination IP address and destination interface sign among the said Setup Stream, destination IP address that is resolved to and destination interface sign are sent to kernel state through creating the stream instruction from user's attitude.
After step 403, the driving arrangement of kernel state receive the instruction of said establishment stream, confirm the code stream of its maintenance sends whether the information table resource is current exists enough available resources to come recording needle that the code stream of destination A is sent information table; If; Execution in step 404, otherwise, current flow process finished.
Among the present invention, send information table to the code stream of destination A and mainly comprise: source sign and be used for sending the information of code stream to destination A.Wherein, whether the sign expression of said source is current exists effective code stream to send the source, its value be first value such as 1 o'clock, expression is effective, value be second value such as 0 o'clock, it is invalid to represent.As for its description of giving an example hereinafter of information that is used for sending code stream to destination A.
Among the present invention, send information table to the code stream of destination A and illustrate through following structure:
Figure BDA00001618882000051
Figure BDA00001618882000061
To be used for sending the information employing IP+PORT organization definition of code stream to said destination; And comprise at least: source IP address, source port sign, destination IP address, destination interface sign, stream ID and Socket information are example, then are used for can illustrating through following structure to the information of destination A transmission code stream:
In addition, the available resources in this step 403 can be idling-resource, also can be following code stream transmission table resource: the resource that has write down the information of sending to the code stream out of date of other destinations.
Step 404; The driving arrangement of kernel state receives the establishment stream instruction that user's attitude is sent; Create Socket according to destination IP address in the instruction of said establishment stream and destination interface sign; And the Socket information of creating is recorded to the sock field that code stream shown in the step 403 sends the information table structure, so that use during follow-up transmission data.
Step 405; The stream ID that said driving arrangement setting is associated with this Socket; Preserve the traffic identifier field of this stream ID, should flow ID and return to user's attitude to the transmission of code stream shown in the step 403 information table structure, and; The source identification field that the transmission of code stream shown in the step 403 information table structure is set is for effective, and it is invalid that Socket is set.
In this step 405, it is invalid that Socket is set, and can send that identification field is invalid to be embodied through code stream that code stream shown in the step 403 sends the information table structure is set, and is used for indication and wouldn't sends data to said destination at present.
Step 406, user's attitude receive the stream ID that kernel state returns to destination A, and safeguard that this stream ID and destination A are sending the destination IP address of carrying when above-mentioned Setup Stream asks and the destination interface corresponding relation between identifying.
Step 407, destination A sends Start Stream and asks to service end.
Step 408; After service end A receives Start Stream request; Come from corresponding relation shown in the step 406 of its maintenance, to determine corresponding stream ID through resolving the destination IP address that this Start Stream request carries with destination interface, the stream ID that confirms and the packing form that is provided with to this destination A in advance are carried at start stream and send to kernel state from user's attitude in instructing.
Step 409; After the driving arrangement of kernel state receives and starts the stream instruction; Flow the Socket that the stream ID in the instruction finds this stream ID to be associated according to starting; Upgrade this Socket for effective, and write down the packing format fields of packing form to code stream shown in the step 403 transmission information table structure in the instruction of said startup stream, so that carry out the packet packing and be sent to destination to sent code stream.
In this step 409, it is effective to upgrade this Socket, can send identification field through the code stream of the transmission of code stream shown in the step 403 information table structure and be set to effectively embody, and sends data to indicate present permission to destination.
In this step 409, carry out the packet packing and be sent to destination comprising to sent code stream:
Set up the data transmission line journey;
Start said data transmission line journey, trigger the code stream that said data transmission line journey deposits each preset buffer unit according to said packing form and carry out the packet packing;
Packet after the packing is sent to destination.
Need explanation the time; Among the present invention, for ease of the packet packing, can be in actual applications; According to this service end A and destination A between carry out the packet packing formatting buffer location that code stream when transmission often use; So that reserved in the buffer location Data Position and with packing form corresponding data head position, wherein, Data Position is used to deposit code stream.Show such as Fig. 5 and to have reserved Data Position and TS head, ES head buffer location as data head.
Based on buffer location proposed by the invention, then above-mentionedly according to the packing form code stream is carried out packet packing and is specially:
Detect successively on the Data Position of each preset buffer location but whether transmitted stream is arranged, but said transmitted stream is the code stream that action type is identified as read operation;
If,
On the data head position of this buffer unit, fill in the corresponding data head information of said packing form, but with the data head after filling in and said transmitted stream together as the packet after packing.
So far; Accomplished the operation that kernel state directly sends data to destination through above-described step 401 to step 409; Need not to carry out the data copy of user's attitude to kernel state; This has reduced because the overhead that the data copy of user's attitude to kernel state causes has also been avoided causing memory fragmentation to produce the defective of aggravation owing to the data copy of user's attitude to kernel state.
More than method that the embodiment of the invention is provided be described, the device that provides in the face of the embodiment of the invention is down described.
Referring to Fig. 6, the structure drawing of device that Fig. 6 provides for the embodiment of the invention.Here, device provided by the invention is above-described driving arrangement, and as stated, this driving arrangement is set at the kernel state of service end, and is as shown in Figure 6, and this driving arrangement comprises:
Create stream processing unit; Be used to receive the establishment stream instruction that user's attitude of said service end is sent; Create socket Socket based on destination IP address in the instruction of said establishment stream and destination interface sign, it is invalid that said Socket is set, and wouldn't send data to said destination to indicate at present; And the traffic identifier ID that is associated with this Socket is set, return to user's attitude and safeguard;
Send stream processing unit; Be used to receive the startup stream instruction that said user's attitude is sent; Flow the Socket that the stream ID in the instruction finds this stream ID to be associated according to said startup; Upgrade this Socket for effectively, send data to destination, and carry out the packet packing and be sent to destination to sent code stream according to the packing form in the instruction of said startup stream to indicate present permission.
Preferably, the instruction of said establishment stream is that said user's attitude is after the establishment stream request that receives destination, to be sent to said kernel state;
And the instruction of said startup stream is after said user's attitude receives the startup stream request of destination, to be sent to said kernel state; Stream ID in the instruction of said startup stream be by said user's attitude according to the corresponding relation between the stream ID of its maintenance and destination IP address and the destination interface sign, and destination IP address and destination interface sign are next definite in the request of said startup stream; Wherein, said corresponding relation is after said user's attitude receives the stream ID that said driving arrangement returns, to safeguard.
As shown in Figure 6, said driving arrangement further comprises:
Stop stream processing unit, be used to receive that said user's attitude sends stops the stream instruction, find the Socket that is associated with this stream ID based on the stream ID that stops to flow in the instruction, the state that this Socket is set is invalid, stops to send data manipulation with realization.
Among the present invention, said transmission stream processing unit is realized carrying out the packet packing and being sent to destination to sent code stream based on the packing form that starts in the stream instruction through following steps:
Set up the data transmission line journey;
Start said data transmission line journey, trigger the code stream that said data transmission line journey deposits each preset buffer unit according to said packing form and carry out the packet packing;
Packet after the packing is sent to destination.
Preferably, reserved in the said buffer location Data Position and with packing form corresponding data head position, wherein, said Data Position is deposited code stream.Then based on this, but saidly according to the packing form transmitted stream is carried out the packet packing and is specially:
Detect successively on the Data Position of each preset buffer location but whether transmitted stream is arranged, but said transmitted stream is the code stream that action type is identified as read operation;
If,
On the data head position of this buffer unit, fill in the corresponding data head information of said packing form, but with the data head after filling in and said transmitted stream together as the packet after packing.
So far, accomplish unit describe provided by the invention.
Can find out by above technical scheme; Among the present invention; Kernel state in service end increases a driving arrangement, and the packet packing form of being informed according to user's attitude by this driving arrangement carries out the packet packing and the transmission of code stream, need not to carry out the data copy of user's attitude to kernel state; This has reduced on the one hand because the overhead that the data copy of user's attitude to kernel state causes has been avoided causing memory fragmentation to produce the defective of aggravation owing to the data copy of user's attitude to kernel state on the other hand.The application inventor has done following test: if start the code stream of 3 road 1080P, 30 frame 8M according to prior art; Then can cause the cpu utilization rate near 100%; And execution the present invention still starts the code stream of above-mentioned three road 1080P, 30 frame 8M, then since the packet packing form that the driving arrangement of kernel state is directly informed based on user's attitude carry out the packet packing of code stream and send; Need not to carry out the data copy of user's attitude to kernel state; Then can cause the utilization rate of CPU to also have the residue about 30%, this utilization rate that has obviously proved CPU is high, reduces overhead;
Also have, among the present invention,, can reduce the packing data time, and then reduce the systematic function expense through the above-mentioned buffering area of reserving data head.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (10)

1. a code stream sending method is characterized in that, in this method, and at driving arrangement of kernel state increase of service end, operation below this driving arrangement is carried out:
Receive the establishment stream instruction of user's attitude transmission of said service end; Create socket Socket according to destination IP address in the instruction of said establishment stream and destination interface sign; It is invalid that said Socket is set; Wouldn't send data to said destination to indicate at present, and the traffic identifier ID that is associated with this Socket is set, return to user's attitude and safeguard;
Receive the startup stream instruction that said user's attitude is sent; Flow the Socket that the stream ID in the instruction finds this stream ID to be associated according to said startup; Upgrade this Socket for effective; Indicating present permission to send data, and carry out the packet packing and be sent to destination to sent code stream according to the packing form in the instruction of said startup stream to destination.
2. method according to claim 1 is characterized in that, the instruction of said establishment stream is that said user's attitude is sent to said kernel state after the establishment stream request that receives destination;
Said user's attitude safeguards that said stream ID comprises: set up and safeguard the corresponding relation between said stream ID and said destination IP address and the destination interface sign three;
The instruction of said startup stream is that said user's attitude is sent to said kernel state after the startup stream request that receives destination, and the stream ID in the instruction of said startup stream comes definite according to destination IP address in the said corresponding relation of its maintenance and the request of said startup stream with the destination interface sign by said user's attitude.
3. method according to claim 1 is characterized in that, operation below said driving arrangement is further carried out:
The stream that stops that receiving said user's attitude transmission instructs, and finds the Socket that is associated with this stream ID based on the stream ID that stops to flow in the instruction, and the state that this Socket is set is invalid, to realize stopping to send data manipulation.
4. method according to claim 1 is characterized in that, the said packing form that flows in the instruction according to startup carries out the packet packing and be sent to destination comprising to sent code stream:
Set up the data transmission line journey;
Start said data transmission line journey, trigger the code stream that said data transmission line journey deposits each preset buffer unit according to said packing form and carry out the packet packing;
Packet after the packing is sent to destination.
5. method according to claim 4 is characterized in that, reserved in the said buffer location Data Position and with packing form corresponding data head position, said Data Position is deposited code stream;
The said code stream of preset buffer unit being deposited according to the packing form carries out the packet packing and is specially:
Detect successively on the Data Position of each preset buffer location but whether transmitted stream is arranged, but said transmitted stream is the code stream that action type is identified as read operation;
If,
On the data head position of this buffer unit, fill in the corresponding data head information of said packing form, but with the data head after filling in and said transmitted stream together as the packet after packing.
6. a driving arrangement that is applied in the code stream sending method is characterized in that, driving arrangement is set at the kernel state of service end, and this driving arrangement comprises:
Create stream processing unit; Be used to receive the establishment stream instruction that user's attitude of said service end is sent; Create socket Socket based on destination IP address in the instruction of said establishment stream and destination interface sign, it is invalid that said Socket is set, and wouldn't send data to said destination to indicate at present; And the traffic identifier ID that is associated with this Socket is set, return to user's attitude and safeguard;
Send stream processing unit; Be used to receive the startup stream instruction that said user's attitude is sent; Flow the Socket that the stream ID in the instruction finds this stream ID to be associated according to said startup; Upgrade this Socket for effectively, send data to destination, and carry out the packet packing and be sent to destination to sent code stream according to the packing form in the instruction of said startup stream to indicate present permission.
7. driving arrangement according to claim 6 is characterized in that, the instruction of said establishment stream is that said user's attitude is sent to said kernel state after the establishment stream request that receives destination;
The instruction of said startup stream is that said user's attitude is sent to said kernel state after the startup stream request that receives destination; Stream ID in the instruction of said startup stream be by said user's attitude according to the corresponding relation between the stream ID of its maintenance and destination IP address and the destination interface sign, and destination IP address and destination interface sign are next definite in the request of said startup stream; Wherein, said corresponding relation is after said user's attitude receives the stream ID that said driving arrangement returns, to safeguard.
8. driving arrangement according to claim 6 is characterized in that, said driving arrangement further comprises:
Stop stream processing unit, be used to receive that said user's attitude sends stops the stream instruction, find the Socket that is associated with this stream ID based on the stream ID that stops to flow in the instruction, the state that this Socket is set is invalid, stops to send data manipulation with realization.
9. based on the described driving arrangement of claim 6, it is characterized in that said transmission stream processing unit is realized carrying out the packet packing and being sent to destination to sent code stream based on the packing form that starts in the stream instruction through following steps:
Set up the data transmission line journey;
Start said data transmission line journey, trigger the code stream that said data transmission line journey deposits each preset buffer unit according to said packing form and carry out the packet packing;
Packet after the packing is sent to destination.
10. driving arrangement according to claim 9 is characterized in that, reserved in the said buffer location Data Position and with packing form corresponding data head position, said Data Position is deposited code stream;
Saidly according to the packing form but transmitted stream is carried out packet packing and is specially:
Detect successively on the Data Position of each preset buffer location but whether transmitted stream is arranged, but said transmitted stream is the code stream that action type is identified as read operation;
If,
On the data head position of this buffer unit, fill in the corresponding data head information of said packing form, but with the data head after filling in and said transmitted stream together as the packet after packing.
CN201210142054.2A 2012-05-09 2012-05-09 Transmission method and apparatus of code stream Active CN102695049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210142054.2A CN102695049B (en) 2012-05-09 2012-05-09 Transmission method and apparatus of code stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210142054.2A CN102695049B (en) 2012-05-09 2012-05-09 Transmission method and apparatus of code stream

Publications (2)

Publication Number Publication Date
CN102695049A true CN102695049A (en) 2012-09-26
CN102695049B CN102695049B (en) 2015-06-10

Family

ID=46860312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210142054.2A Active CN102695049B (en) 2012-05-09 2012-05-09 Transmission method and apparatus of code stream

Country Status (1)

Country Link
CN (1) CN102695049B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544324A (en) * 2013-11-11 2014-01-29 北京搜狐新媒体信息技术有限公司 Kernel-mode data access method, device and system
CN111628845A (en) * 2017-09-01 2020-09-04 惠州市德赛西威汽车电子股份有限公司 Method for improving data transmission efficiency
CN112153338A (en) * 2020-09-23 2020-12-29 平安国际智慧城市科技股份有限公司 Video distribution method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075119A1 (en) * 2004-09-10 2006-04-06 Hussain Muhammad R TCP host
CN101068229A (en) * 2007-06-08 2007-11-07 北京工业大学 Content filtering gateway realizing method based on network filter
CN101217464A (en) * 2007-12-28 2008-07-09 北京大学 UDP data package transmission method
US20080183908A1 (en) * 2007-01-30 2008-07-31 Hewlett-Packard Development Company, L.P. Control of Data Transfer
CN101340574A (en) * 2008-08-04 2009-01-07 中兴通讯股份有限公司 Method and system realizing zero-copy transmission of stream media data
US20090296685A1 (en) * 2008-05-29 2009-12-03 Microsoft Corporation User-Mode Prototypes in Kernel-Mode Protocol Stacks
US20090300102A1 (en) * 2008-05-30 2009-12-03 International Business Machines Corporation Server for dynamically generating web contents
US20100325288A1 (en) * 2009-06-22 2010-12-23 Ashwin Jagadish Systems and methods of state migration in a multi-core system
US20120066459A1 (en) * 2010-09-15 2012-03-15 Oracle International Corporation System and method for zero buffer copying in a middleware environment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075119A1 (en) * 2004-09-10 2006-04-06 Hussain Muhammad R TCP host
US20080183908A1 (en) * 2007-01-30 2008-07-31 Hewlett-Packard Development Company, L.P. Control of Data Transfer
CN101068229A (en) * 2007-06-08 2007-11-07 北京工业大学 Content filtering gateway realizing method based on network filter
CN101217464A (en) * 2007-12-28 2008-07-09 北京大学 UDP data package transmission method
US20090296685A1 (en) * 2008-05-29 2009-12-03 Microsoft Corporation User-Mode Prototypes in Kernel-Mode Protocol Stacks
US20090300102A1 (en) * 2008-05-30 2009-12-03 International Business Machines Corporation Server for dynamically generating web contents
CN101340574A (en) * 2008-08-04 2009-01-07 中兴通讯股份有限公司 Method and system realizing zero-copy transmission of stream media data
US20100325288A1 (en) * 2009-06-22 2010-12-23 Ashwin Jagadish Systems and methods of state migration in a multi-core system
US20120066459A1 (en) * 2010-09-15 2012-03-15 Oracle International Corporation System and method for zero buffer copying in a middleware environment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544324A (en) * 2013-11-11 2014-01-29 北京搜狐新媒体信息技术有限公司 Kernel-mode data access method, device and system
CN103544324B (en) * 2013-11-11 2017-09-08 北京搜狐新媒体信息技术有限公司 A kind of data access method of kernel state, apparatus and system
CN111628845A (en) * 2017-09-01 2020-09-04 惠州市德赛西威汽车电子股份有限公司 Method for improving data transmission efficiency
CN111628845B (en) * 2017-09-01 2022-12-06 惠州市德赛西威汽车电子股份有限公司 Method for improving data transmission efficiency
CN112153338A (en) * 2020-09-23 2020-12-29 平安国际智慧城市科技股份有限公司 Video distribution method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102695049B (en) 2015-06-10

Similar Documents

Publication Publication Date Title
US10700979B2 (en) Load balancing for a virtual networking system
CN111147564B (en) Data file transmission method, system and communication terminal
US9602307B2 (en) Tagging virtual overlay packets in a virtual networking system
US9544389B2 (en) Method and device for processing service in software-defined networking system
WO2013136522A1 (en) Computer system and method for communicating data between computers
CN110177082A (en) A kind of data processing method, equipment, medium and device
KR100793349B1 (en) Multicast forwarding apparatus and control method in system for using PPP multi-link
KR20130111531A (en) Methods and systems for communicating between a vehicle and a remote application server
US20160191296A1 (en) Methods and systems for an end-to-end solution to deliver content in a network
CN113285931A (en) Streaming media transmission method, streaming media server and streaming media system
CN102333210B (en) Video data storage method and equipment
CN102695049A (en) Transmission method and apparatus of code stream
AU2019375864B2 (en) Implementation of core cellular networking stack on cloud infrastructure
CN102045233A (en) Method and device for controlling message forwarding in network communication
CN115103036A (en) Efficient TCP/IP datagram processing method and system
CN104509083A (en) Communication system, method, and program
CN102546112B (en) Data packaging method and device
CN111221764B (en) Cross-link data transmission method and system
CN111225423B (en) Method and device for forwarding data
CN114338496A (en) Resource forwarding method, device, terminal and computer storage medium
WO2023125096A1 (en) Parameter configuration method, communication device, and storage medium
CN115378993B (en) Method and system for supporting namespace-aware service registration and discovery
CN114710805B (en) Interaction method and device for slice service data, electronic equipment and readable medium
EP3890258B1 (en) Network apparatus, and conversion device
US20170123847A1 (en) Control node, node creation system and node creation method

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
TR01 Transfer of patent right

Effective date of registration: 20170517

Address after: 710100, Xi'an City, Shaanxi province national civil aviation industry base, 385 middle route, 15 square

Patentee after: Xi'an Yu vision Mdt InfoTech Ltd

Address before: Hangzhou City, Zhejiang province 310053 Binjiang District Dongxin Road No. 66 East communication city C district two or three floor A

Patentee before: Zhejiang Uniview Technology Co., Ltd.

TR01 Transfer of patent right