CN102647337A - Network packet transmission method and system - Google Patents

Network packet transmission method and system Download PDF

Info

Publication number
CN102647337A
CN102647337A CN2011100779591A CN201110077959A CN102647337A CN 102647337 A CN102647337 A CN 102647337A CN 2011100779591 A CN2011100779591 A CN 2011100779591A CN 201110077959 A CN201110077959 A CN 201110077959A CN 102647337 A CN102647337 A CN 102647337A
Authority
CN
China
Prior art keywords
multimedia
packet
groups
packets
network
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
CN2011100779591A
Other languages
Chinese (zh)
Other versions
CN102647337B (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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Publication of CN102647337A publication Critical patent/CN102647337A/en
Application granted granted Critical
Publication of CN102647337B publication Critical patent/CN102647337B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a network packet transmission method and a system thereof. The method is suitable for transmitting network packets of different multimedia types and comprises the following steps. Dividing a first multimedia packet arranged at a first transmission position in a transmission queue into N first multimedia sub-packets at a transmission end, wherein the 1 st to N-1 st first multimedia sub-packets have the same fixed packet length, wherein N > 1. A subset of second multimedia packets, arranged at a foremost position in the transmission queue, is arranged at a second transmission position in the transmission queue immediately after said 1 st first multimedia sub-packet, wherein the transmission priority of the second multimedia type packets is higher than that of the first multimedia type packets. In addition, all network packets in the transmission queue are sequentially sent to a network according to the transmission position.

Description

Network packet conveying method and system thereof
Technical field
The present invention relates to a kind of network packet conveying method, particularly relate to the transfer approach and the system thereof of the network packet of dissimilar content of multimedia with different transmission priority.
Background technology
Present in vogue along with the internet, human had very big change for multimedia demand.Present audio-visual transmission manner little by little and widely utilizes network to realize.But for audio-visual transmission manner, the shortcoming of the existing frequency range change of network can have a strong impact on the fluency that transmits content of multimedia.Illustrate, possibly constitute by the crossfire of number of different types by the video-audio data of Network Transmission, for example: video streaming, sound crossfire and other type crossfires etc.
Fig. 1 transmits the sketch map that multi-media network divides into groups.Because Network Transmission is only opened a network port (Socket) usually, audio-visual (Video) data must be lined up and could be sent out smoothly.With reference to Fig. 1, be that example is explained with Fig. 1 please, the data flow that is transmitted is as shown in Figure 1, accordings to and transmits order of priority TP, and image grouping 101 comes before the voice packets 121, and sound (Audio) grouping 121 comes before image grouping 102 and the voice packets 122.Two characteristics yet image divides into groups to have: the first, the image block length is variable, and length is not necessarily; The second, the data volume that image divides into groups is usually all greater than the data volume of (or much larger than) voice data.Therefore; When network transfer speeds is slack-off; If run into the bigger image grouping of data volume again when (for example, image divides into groups 101), voice packets (for example; Voice packets 121) transmission meeting is blocked by the image grouping 101 in its front, so can cause the phenomenon of stagnating at the whole video-audio data of receiving terminal.Therefore, how to adjust the mode that prior art transmits multimedia packets, do not increase extra modular design again and really be present important problem.
Summary of the invention
Hold the above, example embodiment of the present invention provides a kind of network packet conveying method and system thereof.With the packet fragmentation of large-size is that the son of fixed dimension divides into groups, and arranges the network packet of less grouping dimension to have higher transmission priority, the situation that audio-visual meeting is blocked in the time of can reducing network bandwidth effectively and be jammed.
According to an example embodiment of the present invention, the present invention proposes a kind of network packet conveying method.Described method is applicable to the network packet that transmits the different multimedia type, and may further comprise the steps.To come in the transmission queue first multimedia packets of first delivering position in the transmission end and be divided into N first multimedia and divide into groups, and said the 1st to N-1 first multimedia divide into groups to have identical fixed packet length, wherein N>1.With a subclass that comes second multimedia packets of most advanced position in the transmission queue; And then come second delivering position in the transmission queue after said the 1st first multimedia divides into groups, wherein the transmission priority of second multimedia type grouping is higher than the grouping of the first multimedia type.In addition, the all-network that sends in order in the transmission queue according to delivering position divides into groups to a network.
In an example embodiment of the present invention, described method also comprises: at receiving terminal, receive at least one network packet from described network; And, judge that this son is grouped into the subclass of first multimedia packets or the subclass of second multimedia packets according to the type field of each sub-packet that is received.
In an example embodiment of the present invention, described method also comprises: according to the location field of each sub-packet that is received, judge that this son is grouped into head end position, shank or end section.
In an example embodiment of the present invention; Described method also comprises: according to sequence number field after the cutting of each sub-packet that is received; In order the data in the payload field after the cutting of each sub-packet are arranged again, with first multimedia packets or second multimedia packets of recombinating.
In an example embodiment of the present invention, above-mentioned M>1, and described method also comprises: cutting apart second multimedia packets is that M second multimedia divides into groups.
In an example embodiment of the present invention, above-mentioned M=1.
In an example embodiment of the present invention; Described method also comprises: when one first multimedia type divides into groups to come first delivering position in this transmission queue; Then cutting apart first multimedia packets is that N first multimedia divides into groups; And will come the subclass of top one second multimedia packets in this transmission queue, after dividing into groups, and then said the 1st first multimedia comes one second delivering position in this transmission queue.
In an example embodiment of the present invention, the first above-mentioned multimedia type is grouped into image divides into groups, and the second multimedia type is grouped into voice packets.
In an example embodiment of the present invention, above-mentioned each first multimedia divides into groups and each second multimedia grouping is all network packet.
According to an example embodiment of the present invention, the present invention proposes a kind of network packet transfer system.Described system is applicable to the network packet that transmits the different multimedia type, and comprises that one transmits a temporary storage location and a grouping cutting module.Transmit temporary storage location and comprise at least one transmission queue, with the network packet of temporary different multimedia type.The grouping cutting module; Be connected to the transmission temporary storage location; With when one first multimedia packets comes first delivering position of 1 in the transmission queue, cutting apart first multimedia packets is that N first multimedia divides into groups, and will come a subclass of top one second multimedia packets in the transmission queue; And then after dividing into groups, said the 1st first multimedia comes second delivering position of 1 in the transmission queue, wherein N>1.Said the 1st first multimedia divides into groups to divide into groups to have identical fixed packet length to N-1 first multimedia, and with respect to first multimedia packets, second multimedia packets has higher transmission priority.In addition, second multimedia packets comprises M son set, and M>=1.In addition, transmit temporary storage location according to said delivering position, the all-network that sends in order in the transmission queue divides into groups to network.
According to example embodiment of the present invention, the present invention proposes network packet conveying method and system thereof.By the packet fragmentation with large-size is the son grouping of fixed dimension; And the network packet of arranging less grouping dimension has higher transmission priority; Preferentially come first sub-packet delivering position afterwards of big grouping dimension, to reduce the stand-by period of the network packet that transmits less grouping dimension.Thus, in the time of can being reduced in network bandwidth effectively and being jammed, the network packet of less grouping dimension is by the situation of retardation.
For making the above-mentioned feature and advantage of the present invention can be more obviously understandable, hereinafter is special lifts embodiment, and is described with reference to the accompanying drawings as follows.
Description of drawings
Fig. 1 transmits the sketch map that multi-media network divides into groups.
Fig. 2 A is that an example embodiment according to the present invention illustrates a kind of sketch map that multi-media network divides into groups of cutting apart.
Fig. 2 B is that an example embodiment according to the present invention illustrates a kind of sketch map that multi-media network divides into groups that transmits.
Fig. 2 C is that an example embodiment according to the present invention illustrates the another kind of sketch map that multi-media network divides into groups that transmits.
Fig. 3 is that an example embodiment according to the present invention illustrates a kind of sketch map that divides into groups in the back that cuts.
Fig. 4 A is the functional block diagram that an example embodiment according to the present invention illustrates a kind of network packet conveyer.
Fig. 4 B is the functional block diagram that an example embodiment according to the present invention illustrates a kind of network packet receiving system.
Fig. 4 C is the functional block diagram that an example embodiment according to the present invention illustrates a kind of network packet R-T unit.
Fig. 5 is that an example embodiment according to the present invention illustrates a kind of flow chart that transmits the network packet method.
Fig. 6 is that an example embodiment according to the present invention illustrates the another kind of flow chart that transmits the network packet method.
The reference numeral explanation
101,102: image divides into groups 401: the grouping cutting module
121,122: voice packets 403: transmit temporary storage location
201,202,203 ..., 20N: image 404,434: memory module
Son divides into groups 405,435: processor module
221,222: sound divides into groups 406,436: operating system module
30: original packet 43: the network packet receiving system
31,32: son divides into groups 431: the packet assembling module
301,311,321: type field 433: receive temporary storage location
302: length field 45: the network packet R-T unit
312,322: location field 50,60: transmit the network packet method
313,323: cutting follow-up field S502~S514, S602~S614: step
314,324: cutting back payload field TP: transmit order of priority
40: the network packet conveyer
Embodiment
The present invention provides a kind of network packet conveying method and system thereof.This network packet conveying method (for example: in the time of video-audio data), by the method for the cutting of dividing into groups, a plurality of sons that original image divides into groups or voice packets is cut into than aliquot are divided into groups is transmitting multi-medium data.Thus, when network transfer speeds was slack-off, the data of voice packets promptly can not blocked by the image grouping.The network packet conveying method that is proposed can also let the user according to different situations from the transmission priority of ordering different crossfires (for example: video streaming, sound crossfire), and grouping cut.In view of the above, the short grouping of block length can not be grouped the long grouping of length and block, and causes the situation of audio-visual interruption.The network packet conveying method that is proposed can effectively utilize network bandwidth, and the effective utilization that promotes the existing video information coder that proposes/video decoded device.In addition, under the situation that does not increase extra modular design, can realize above-mentioned effect.Network packet conveying method and system thereof are applicable to application kenels such as video conference or instant video streams.
Fig. 2 A is that an example embodiment according to the present invention illustrates a kind of sketch map that multi-media network divides into groups of cutting apart.Network packet conveying method proposed by the invention, the method that has improved existing transmission video-audio data is shown in Fig. 2 A.Originally shown in Fig. 1, when network transfer speeds was slack-off, voice packets 121 was blocked by image grouping 101, can't be transmitted immediately.Therefore, the method that is proposed is divided into groups the image of larger data amount (simultaneously block length also longer), for example: image divide into groups 101 be divided into image than aliquot divide into groups 201,202 ..., 20N, wherein N is the positive integer more than or equal to 2.In addition, in the present invention, image divides into groups 201,202 ..., 20N etc. all has same quantity of data, for example: 500 bytes (bytes), to simplify the grouping reorganization flow process of receiving terminal.Yet the present invention is defined in above-mentionedly, and can use other data volume size, for example: 100 bytes, 200 bytes, 1,000 byte etc.
Fig. 2 B is that an example embodiment according to the present invention illustrates a kind of sketch map that multi-media network divides into groups that transmits.Hookup 2A introduces and transmits the mode that multi-media network divides into groups among Fig. 2 B.Cut apart image divide into groups 101 for image divide into groups 201,202 ..., after the 20N, the transmission end device promptly comes image with voice packets 121 at once and divides into groups 201 to wait for and being transmitted.201 length is less than divide into groups 101 length of (or much smaller than) image because image divides into groups, and voice packets 121 is come the time that the network packet of front blocks and promptly shortens many.From another viewpoint, in the present embodiment, to divide into groups to compare with image, voice packets has higher transmission priority.Yet the present invention is defined in above-mentionedly, when transmitting content of multimedia, possibly also have the crossfire of other types, and transmit the high low value of priority, can set and adjusted by the user.
Fig. 2 C is that an example embodiment according to the present invention illustrates the another kind of sketch map that multi-media network divides into groups that transmits.Hookup 2A introduces and transmits the mode that multi-media network divides into groups among Fig. 2 B.Different with Fig. 2 B is, the image of the similar Fig. 2 A of the voice packets in Fig. 2 C 201 divided modes of dividing into groups, be divided in advance a plurality of sound divide into groups 221,222 ... etc.In addition, cut apart image divide into groups 101 for image divide into groups 201,202 ..., after the 20N, the transmission end device promptly divides into groups sound 221 to come image and divide into groups 201 to wait for and being transmitted at once.From another viewpoint, in the present embodiment, divide into groups to compare with image, had higher transmission priority by the grouping of of the sound after cutting apart.Yet the present invention is defined in above-mentionedly, when transmitting content of multimedia, possibly also have the crossfire of other types, and transmit the high low value of priority, can set and adjusted by the user.
Above-mentioned Fig. 2 A to Fig. 2 C has described the transmission end device, cuts the son that is grouped into smaller length by the grouping cutting module and divides into groups, but then need the packet assembling module that the flow process that receives sub-grouping is successfully operated at receiving terminal.During especially owing to network transport packets; Multiple situation can occur, for example: the son back of dividing into groups is sent out earlier extremely, and the son situation such as glutinous mutually of dividing into groups; These all need the packet assembling module to arrange in pairs or groups with cutting module, mistake occurs to avoid recon to be grouped in the process of original packet.
Fig. 3 is that an example embodiment according to the present invention illustrates a kind of sketch map that divides into groups in the back that cuts.Son grouping after the cutting need add that the extra field reorganization flow process of assisting to divide into groups successfully carries out at the receiving end device place.Followingly introduce the field that these increase newly with reference to Fig. 3.As shown in Figure 3, original packet 30 is split into two sub-packet 31,32.In beginning place, original packet 30 comprises a type (Type) field 301, and this type field is pointed out the kind of this original packet, for example: the network packet of image grouping, voice packets or other multimedia types.Then, original packet 40 comprises a block length (Length) field 302, and this block length field is pointed out the total length of whole original packet.Moreover original packet 40 is split into two sub-packet 31,32.
In son grouping 31, comprise the field of fixed type, for example: type field 311, position (Position) field 312, cutting back sequence number (Number) field 313, and cutting back load (Partial payload) field 314.Son grouping 32 is similar to son and divides into groups 31, comprising: type field 321, location field 322, cutting back sequence number field 323, and cut back payload field 324.
Type field 311 is pointed out the kind of this original packet, for example: the network packet of image grouping, voice packets or other multimedia types.Sequence number after cutting back sequence number field 313 is pointed out to divide into groups to cut, for example: sequence number is that sequence number is 2 after the cutting of 1, the second sub-packet 32 after the cutting of first sub-packet 31, all the other according to this rule analogize.Location field 312 is pointed out the position classification that this son divides into groups, and its classification has three kinds, is respectively head end position (Head), shank (Body) and end section (Tail).
The payload data that the son of cutting back load (Partial payload) after field 314 is pointed out to cut divides into groups, each sub-block length are fixing, for example 500 bytes.In addition, short than preset regular length except divided last height grouping possibility length, son grouping 31, sub-grouping 32 that original packet 30 is divided into have fixed packet length, for example: 500 bytes.Aliquant remainder part data are just got the last place in the little grouping.For example, the grouping of total length 1,200 byte, will be cut into block length is three sub-packet such as 500 bytes, 500 bytes and 200 bytes.
When the packet assembling module of receiving end device receives this a little grouping from network after, can be earlier from the position (Position) field go to judge whether to be the head end position.If judge it is the head end position, then read type (Type) field and length field, what be that decidable receives at present like this is the grouping that belongs to which kind, and a nearly step is learnt its total how many sub-packet.For example, can learn the sum that son divides into groups divided by a preset fixed packet length by block length (Length) field.Then, the packet assembling module of receiving end device can be divided into groups the many sons that received, and according to sequence number (Number) field after type (Type) field, location field, the cutting, the grouping of combination forms complete grouping.
Fig. 4 A is the functional block diagram that an example embodiment according to the present invention illustrates a kind of network packet conveyer.This network packet conveyer 40 can have an executive utility for any; And the electronic installation of the network packet of transmission content of multimedia, for example: mobile computer, flat computer, mobile phone, intelligent mobile phone, portable electric device, multimedia player and TV etc.
Please with reference to Fig. 4 A, this network packet conveyer 40 comprises that at least one grouping cutting module 401, transmits temporary storage location 403, a memory module 404, processor module 405 and an operating system module (or being called operating system module) 406.Processor module 405 is connected to grouping cutting module 401, transmits temporary storage location 403, operating system module 406 and memory module 404; In order to the application program in the execute store module 404, and coordinated management grouping cutting module 401, transmission temporary storage location 403, operating system module 406 and memory module 404.Transmit temporary storage location 403 and comprise transmission queue (transmitting queue), and be connected to network interface, be sent to network in order with all-network grouping with transmission queue.
Memory module 404 can for, for example: dynamic ram (RAM), volatile storage, non-volatility memorizer, or flash memory (Flash memory).This network packet conveyer 40 can also comprise input module (for example: sound input module and image input module) and output module (for example: voice output module or image display module); Or video signal coder/decoder etc., but of the present inventionly focus on cutting multi-media network and divide into groups and arrange the transmission order of priority that the different multimedia type network divides into groups in the transmission queue again.Therefore, do not introduce other possibility element of this network packet conveyer 40 in the present invention in detail.
In the present embodiment, transmitting temporary storage location 403 divides into groups in order to storage network.This network packet conveyer 40 can be by the sound and the image of sound input module and image input module reception local side; Or by in the memory module 404 sound that obtained before and image being changed echo cent group and image grouping respectively; And temporarily store these in the transmission queue of voice packets and image grouping transmission temporary storage location 403, so that these network packet in the transmission queue (comprising: voice packets and image divide into groups) are sent to network in order.
Grouping cutting module 401 is connected to and transmits temporary storage location 403; In order to the image packet fragmentation that will come first delivering position in the transmission queue in the transmission end is that a plurality of image divide into groups; And the grouping of said the 1st to N-1 image has identical fixed packet length, wherein N>1.In addition; Grouping cutting module 401 also will come a subclass of second multimedia packets or second multimedia packets of most advanced position in the transmission queue; And then after said the 1st first multimedia divides into groups; Come second delivering position in the transmission queue, and the transmission priority that the second multimedia type is divided into groups is higher than the grouping of the first multimedia type.In addition, transmitting temporary storage location 403 divides into groups to network according to the all-network that delivering position sends in the transmission queue in order.
In cutting apart the process that is grouped into the son grouping, grouping cutting module 401 types according to each sub-packet of being cut apart are inserted corresponding type field.For example, when this son was grouped into the subclass of image grouping, then the parameter value of type field was 1, and when this son was grouped into the subclass of voice packets, then the parameter value of type field was 2.Moreover, being grouped in the process that son divides into groups cutting apart, grouping cutting module 401 belongs to head end position, shank or the end section of original packet according to the data of the payload field of each sub-packet of being cut apart, inserts corresponding location field parameter value.For example, the parameter value that the parameter value that originally belongs to the location field that the son at head end position divides into groups is 1, belong to the location field that the son of shank divides into groups originally is 2, and the parameter value that belongs to the location field that the son of end section divides into groups originally is 3.
In addition, be grouped in the process that son divides into groups cutting apart, grouping cutting module 401 corresponds to the succession of original packet according to each sub-packet of being cut apart, inserts the parameter value of sequence number field after the cutting of each sub-packet in regular turn, for example: 1,2,3 etc.
From another viewpoint; When one first multimedia type divides into groups to come first delivering position in this transmission queue; Then dividing into groups, to cut apart first multimedia packets be that N first multimedia divides into groups to cutting module 401; And will come the subclass of top one second multimedia packets in this transmission queue, after and then said the 1st first multimedia divides into groups, come one second delivering position in this transmission queue.Transmitting 403 all-networks that send in order in the transmission queue according to delivering position of temporary storage location divides into groups to network.
Fig. 4 B is the functional block diagram that an example embodiment according to the present invention illustrates a kind of network packet receiving system 43.This network packet receiving system can have an executive utility for any; And the electronic installation of the network packet of transmission content of multimedia, for example: mobile computer, flat computer, mobile phone, intelligent mobile phone, portable electric device, multimedia player and TV etc.
This network packet receiving system 43 comprises that at least one packet assembling module 431, receives temporary storage location 433, a memory module 434, processor module 435 and an operating system module (or being called operating system module) 436.Processor module 435 is connected to packet assembling module 431, receives temporary storage location 433, operating system module 436 and memory module 434; In order to the application program in the execute store module 434, and coordinated management packet assembling module 431, reception temporary storage location 433, operating system module 436 and memory module 434.Receive temporary storage location 433 and comprise reception formation (receiving queue), and be connected to network interface, temporary to receive network packet from network to receiving the formation.
This network packet receiving system 43 can also comprise output module (for example: voice output module and image output module), but of the present inventionly focuses on cutting multi-media network and divide into groups and arrange the transmission order of priority that the different multimedia type network divides into groups in the transmission queue again.Therefore, do not introduce other possibility element of this network packet receiving system 43 in the present invention in detail.
At receiving terminal; Receive temporary storage location 433 and receive at least one network packet by network; Packet assembling module 431 judges that according to the type field of each sub-packet that is received (being temporarily stored in the reception formation that receives temporary storage location 433) this son is grouped into the subclass of image grouping or the subclass of voice packets.Moreover packet assembling module 431 judges that also according to the location field of each sub-packet that is received this son is grouped into head end position, shank or end section.In addition, packet assembling module 431 is arranged the data in the payload field after the cutting of each sub-packet again according to sequence number field after the cutting of each sub-packet that is received in order again, divides into groups or voice packets with the reorganization image.Network packet that described image grouping, voice packets, image divide into groups or sound divides into groups to be all.
In one embodiment, network packet conveyer 40 can be formed one with network packet receiving system 43 and transmit the network packet system, for example: video meeting system, safety monitoring system or image download system.
Fig. 4 C is the functional block diagram that an example embodiment according to the present invention illustrates a kind of network packet R-T unit.This network packet R-T unit 45 can have an executive utility for any; And the electronic installation of the network packet of transmission content of multimedia, for example: mobile computer, flat computer, mobile phone, intelligent mobile phone, portable electric device, multimedia player and TV etc.This network packet R-T unit 45 comprises the main member of network packet conveyer 40 and network packet receiving system 43 simultaneously, for example: grouping cutting module 401, transmission temporary storage location 403, memory module 404, processor module 405, packet assembling module 431, reception temporary storage location 433 and operating system module 406.The detailed operation mode of network packet R-T unit 45 is similar to network packet conveyer 40 and network packet receiving system 43, does not repeat its details technology contents at this.In one embodiment, network packet R-T unit 45 can with the network packet R-T unit with identical function, form one and transmit the network packet system, for example: video meeting system, safety monitoring system or image download system.
Fig. 5 is that an example embodiment according to the present invention illustrates a kind of flow chart that transmits the network packet method.This transmits network packet method 50, is applicable to the network packet that transmits the different multimedia type, and image for example shown in Figure 1 divides into groups and audio packet.Please be simultaneously with reference to Fig. 4 A, Fig. 4 B and Fig. 5, this transmits network packet method 50 and starts from step S502.In step S502; In the transmission end; First multimedia packets that comes first delivering position in the transmission queue is divided into N first multimedia divides into groups; Wherein said the 1st first multimedia divides into groups to divide into groups to have identical fixed packet length to N-1 first multimedia, and N>1.Described fixed packet length for example is 100 bytes, 200 bytes, 500 bytes, 1,000 byte etc.In addition, described first delivering position is that similar first is transferred into the position of network in transmission queue shown in Figure 1, for example, the image among Fig. 1 divide into groups 101 or Fig. 2 B in image divide into groups 201.
In step S504,, after and then said the 1st first multimedia divides into groups, come second delivering position in the transmission queue with second multimedia packets that comes foremost delivering position in the transmission queue.Second multimedia packets of said foremost delivering position is not first delivering position, but in transmission queue, will be sent to second multimedia packets of network at present by first.After above-mentioned and then said the 1st first multimedia divides into groups; Come second delivering position in the transmission queue; Be the voice packets 121 (being positioned at second delivering position) among similar Fig. 2 B, coming and then, image divides into groups 201 (being positioned at first delivering position) afterwards.
In step S506, according to said delivering position, the all-network that sends in order in the transmission queue divides into groups to a network.Described network for example is: internet (Internet) or private firm's network (VPN).At the state of step S506, among promptly similar Fig. 2 B, transmit network packet such as image grouping 201, voice packets 121, image grouping 202, voice packets 122 and image grouping 203 in order.
In step S508,, receive one or more network packet from described network at receiving terminal.In step S510,, judge that this son is grouped into the subclass or second multimedia packets of first multimedia packets according to the type field of each sub-packet that is received.Because in this transmission network packet method 50, second multimedia packets not being divided into son divides into groups; Therefore when receiving terminal obtains second multimedia packets; Can identify this second multimedia packets significantly and not have the type field that said son divides into groups, also not need recon to divide into groups to reduce second multimedia packets.。
In step S512,, judge that this son is grouped into head end position, shank or end section according to the location field of each sub-packet that is received.In step S514, according to sequence number field after the cutting of each sub-packet that is received, in order the data in the payload field after the cutting of each sub-packet are arranged again, with first multimedia packets of recombinating.After step S514, this transmits network packet method 50 and finishes.
But; The main operation principles that transmits network packet method 50 is (or doing further comprising the steps of): when one first multimedia packets comes first delivering position in the transmission queue; Then cutting apart first multimedia packets is that N first multimedia divides into groups; And will come top one second multimedia packets in the transmission queue, after and then the 1st first multimedia divides into groups, come second delivering position in the transmission queue.
Fig. 6 is that an example embodiment according to the present invention illustrates the another kind of flow chart that transmits the network packet method.This transmits network packet method 60 and is similar to transmission network packet method 50 shown in Figure 5, but comprises second medium grouping that second multimedia packets is divided into reduced size, the stand-by period of transmitting second multimedia packets with further shortening in addition.
Please be simultaneously with reference to Fig. 4 A, Fig. 4 B and Fig. 6, this transmits network packet method 60 and originates in step S602.In step S602, be similar to step S502, in the transmission end, first multimedia packets that comes first delivering position in the transmission queue is divided into N first multimedia divides into groups.In step S604,, be divided into M second multimedia and divide into groups, wherein M>=1 second multimedia packets that comes foremost delivering position in the transmission queue.In addition, the 1st second multimedia divided into groups, after and then said the 1st first multimedia divides into groups, come second delivering position in the transmission queue.
In step S606, be similar to step S506, according to said delivering position, the all-network that sends in regular turn in the transmission queue divides into groups to a network.Described network for example is: internet or private firm's network.In step S608, be similar to step S508, at receiving terminal, receive one or more network packet from described network.
In step S610,, judge that this son is grouped into the subclass of first multimedia packets or the subclass of second multimedia packets according to the type field of each sub-packet that is received.If in step S604; M=1; This promptly the subclass of second multimedia packets comprise second multimedia packets itself, or only second multimedia packets being encapsulated as single second multimedia divides into groups, and then in step S610, only can detect the grouping of one second multimedia.
In step S612,, judge that this son is grouped into head end position, shank or end section according to the location field of each sub-packet that is received.In step S614, according to sequence number field after the cutting of each sub-packet that is received, in regular turn the data in the payload field after the cutting of each sub-packet are arranged again, with first multimedia packets or second multimedia packets of recombinating.If in step S610, detecting only has single second multimedia to divide into groups second multimedia packets of then in step S610, need not recombinating in the son grouping that is received.
This transmits network packet method 60 and behind step S614, finishes.Be similar to the network packet method 50 that transmits; This cardinal principle that transmits network packet method 60 is (or doing further comprising the steps of): when one first multimedia packets comes first delivering position in the transmission queue; Then cutting apart first multimedia packets is that N first multimedia divides into groups; And will come the subclass (or one second multimedia son divide into groups) of top one second multimedia packets in the transmission queue; And then after the 1st first multimedia divides into groups, come second delivering position in the transmission queue.
In sum, according to above-mentioned example embodiment, the present invention provides a kind of network packet conveying method and system thereof.Transmit and receive network packet by the method that is provided, the situation that audio-visual meeting is blocked in the time of reducing network bandwidth effectively and be jammed.In addition, transmit through complicated network environment, still can packet assembling be accomplished at receiving terminal even described network packet conveying method is disassembled the back with dividing into groups.
Though the present invention discloses as above with embodiment; Right its is not in order to qualification the present invention, those skilled in the art, under the premise without departing from the spirit and scope of the present invention; Can do some changes and retouching, so protection scope of the present invention is to be as the criterion with claim of the present invention.

Claims (17)

1. a network packet conveying method is applicable to the network packet that transmits the different multimedia type, and this method comprises:
In a transmission end; One first multimedia packets that comes one first delivering position in the transmission queue is divided into N first multimedia divides into groups; Wherein said the 1st first multimedia divides into groups to have identical fixed packet length, wherein N>1 to the grouping of N-1 first multimedia;
With a subclass that comes one second multimedia packets of a foremost delivering position in this transmission queue; And then after dividing into groups, said the 1st first multimedia comes one second delivering position in this transmission queue; Wherein with respect to this first multimedia packets; This second multimedia packets has a higher transmission priority, and this second multimedia packets comprises M son set, wherein M>=1; And
According to said delivering position, the all-network that sends in regular turn in this transmission queue divides into groups to a network.
2. the method for claim 1 also comprises:
At a receiving terminal, receive at least one network packet from this network; And
According to a type field of each sub-packet that is received, judge that this son is grouped into the subclass of this first multimedia packets or the subclass of this second multimedia packets.
3. method as claimed in claim 2, described method also comprises:
According to a location field of each sub-packet that is received, judge that this son is grouped into a head end position, a shank or an end section.
4. method as claimed in claim 3, described method also comprises:
According to a cutting postorder field of each sub-packet that is received, in order the data in the cutting back payload field of each sub-packet are arranged again, with this first multimedia packets or this second multimedia packets of recombinating.
5. the method for claim 1, wherein M>1, and this method also comprises:
Cutting apart this second multimedia packets is that M second multimedia divides into groups.
6. the method for claim 1, wherein M=1.
7. the method for claim 1 also comprises:
When one first multimedia packets comes this first delivering position in this transmission queue; Then cutting apart this first multimedia packets is that N first multimedia divides into groups; And will come a subclass of top one second multimedia packets in this transmission queue, after dividing into groups, and then said the 1st first multimedia comes one second delivering position in this transmission queue.
8. the method for claim 1, wherein this first multimedia type is grouped into image grouping, and this second multimedia type is grouped into a voice packets.
9. method as claimed in claim 5, wherein, each first multimedia divides into groups and each second multimedia grouping is all described network packet.
10. a network packet transfer system is applicable to the network packet that transmits the different multimedia type, and this system comprises:
One transmits temporary storage location, comprises at least one transmission queue, with the network packet of temporary different multimedia type;
One grouping cutting module is connected to this transmission temporary storage location, with when one first delivering position that comes when one first multimedia packets in this transmission queue; Cutting apart this first multimedia packets is that N first multimedia divides into groups; And will come a subclass of top one second multimedia packets in this transmission queue, after dividing into groups, and then said the 1st first multimedia comes one second delivering position in this transmission queue, wherein; Said the 1st first multimedia divides into groups to have identical fixed packet length to the grouping of N-1 first multimedia; And with respect to this first multimedia packets, this second multimedia packets has a higher transmission priority, and this second multimedia packets comprises M son set; Wherein N>1, and M>=1; And
This transmits temporary storage location according to said delivering position, and the all-network that sends in order in this transmission queue divides into groups to a network.
11. system as claimed in claim 10, described operating system module also comprises:
One receives temporary storage location, to receive at least one network packet from network; And
One packet assembling module is connected to this reception temporary storage location, with the type field according to each sub-packet that is received, judges that this son is grouped into the subclass of this first multimedia packets or the subclass of this second multimedia packets.
12. system as claimed in claim 11, wherein, this packet assembling module judges that also according to a location field of each sub-packet that is received this son is grouped into a head end position, a shank or an end section.
13. system as claimed in claim 12; Wherein, This packet assembling module is also cut the postorder field according to one of each sub-packet that is received; In order the data in the cutting back payload field of each sub-packet are arranged again, with this first multimedia packets or this second multimedia packets of recombinating.
14. system as claimed in claim 10, wherein, M>1, and this packet assembling module also to cut apart this second multimedia packets be that M second multimedia divides into groups.
15. system as claimed in claim 10, wherein, M=1.
16. system as claimed in claim 10, wherein, this first multimedia type is grouped into an image divides into groups, and this second multimedia type is grouped into a voice packets.
17. system as claimed in claim 14, wherein, each first multimedia divides into groups and each second multimedia grouping is all described network packet.
CN201110077959.1A 2011-02-17 2011-03-30 Network packet transmission method and system Active CN102647337B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW100105263A TW201236470A (en) 2011-02-17 2011-02-17 Method for transmitting internet packets and system using the same
TW100105263 2011-02-17

Publications (2)

Publication Number Publication Date
CN102647337A true CN102647337A (en) 2012-08-22
CN102647337B CN102647337B (en) 2015-02-11

Family

ID=46659921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110077959.1A Active CN102647337B (en) 2011-02-17 2011-03-30 Network packet transmission method and system

Country Status (2)

Country Link
CN (1) CN102647337B (en)
TW (1) TW201236470A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI551088B (en) * 2014-11-26 2016-09-21 財團法人工業技術研究院 Method for managing periodic packets

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030236904A1 (en) * 2002-06-19 2003-12-25 Jonathan Walpole Priority progress multicast streaming for quality-adaptive transmission of data
US6710822B1 (en) * 1999-02-15 2004-03-23 Sony Corporation Signal processing method and image-voice processing apparatus for measuring similarities between signals
CN1852429A (en) * 2005-12-05 2006-10-25 华为技术有限公司 Video-code-flow grouped transmission method and system
CN101346995A (en) * 2005-12-23 2009-01-14 皇家飞利浦电子股份有限公司 Splitting of a data stream

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6710822B1 (en) * 1999-02-15 2004-03-23 Sony Corporation Signal processing method and image-voice processing apparatus for measuring similarities between signals
US20030236904A1 (en) * 2002-06-19 2003-12-25 Jonathan Walpole Priority progress multicast streaming for quality-adaptive transmission of data
CN1852429A (en) * 2005-12-05 2006-10-25 华为技术有限公司 Video-code-flow grouped transmission method and system
CN101346995A (en) * 2005-12-23 2009-01-14 皇家飞利浦电子股份有限公司 Splitting of a data stream

Also Published As

Publication number Publication date
CN102647337B (en) 2015-02-11
TW201236470A (en) 2012-09-01

Similar Documents

Publication Publication Date Title
US7995624B2 (en) Systems and methods for multiplexing digital data
US20150244658A1 (en) System and method for efficiently mixing voip data
WO2013173141A2 (en) Limiting failure rate by serving through multiple channels
CN109076025B (en) Method and apparatus for managing data removal
WO2020248649A1 (en) Audio and video data synchronous playback method, apparatus and system, electronic device and medium
US11671678B2 (en) Method and device, equipment, and storage medium for data processing
WO2023103419A1 (en) Message queue-based method and apparatus for sending 5g messages in batches, and electronic device
CN104468509A (en) Method and system for transmitting mobile phone network game data and mobile phone user side
CN110944003A (en) File transmission method and electronic equipment
CN103338392A (en) Method for seamless switching of images in video polling
CN112637144B (en) Apparatus and method for transmitting information related to media data according to MMT protocol
EP3427461A1 (en) Multi-stream interleaving for network technologies
US20110167345A1 (en) Method and apparatus for selective media download and playback
CN102436392A (en) System for displaying animation contents with three-dimensional effect at mobile terminal
CN101651838A (en) Method, system and device for transmitting video data
WO2017039899A1 (en) Apparatus and method to increase throughput of a transmitter
CN113141520B (en) Video stream transmission method and device, electronic equipment and storage medium
CN102647337A (en) Network packet transmission method and system
KR101710011B1 (en) Image data transmission and reception method and apparatus
CN107846709B (en) Wireless communication device and wireless communication method based on LoRa
CN104079368B (en) A kind of the test data transmission method and server of application software
CN113747063B (en) Video transmission method and device, electronic equipment and readable storage medium
TWI534753B (en) A data processing apparatus for segmental processing of input data, systems using the apparatus and methods for data transmittal
CN114666776A (en) Data transmission method, device, equipment and readable storage medium
US8868674B2 (en) Streaming and bulk data transfer transformation with context switching

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