CN104426638A - Data submission method and device - Google Patents

Data submission method and device Download PDF

Info

Publication number
CN104426638A
CN104426638A CN201310363212.1A CN201310363212A CN104426638A CN 104426638 A CN104426638 A CN 104426638A CN 201310363212 A CN201310363212 A CN 201310363212A CN 104426638 A CN104426638 A CN 104426638A
Authority
CN
China
Prior art keywords
port
data
time
list
port numbers
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
CN201310363212.1A
Other languages
Chinese (zh)
Other versions
CN104426638B (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.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore Technology 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 Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201310363212.1A priority Critical patent/CN104426638B/en
Publication of CN104426638A publication Critical patent/CN104426638A/en
Application granted granted Critical
Publication of CN104426638B publication Critical patent/CN104426638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of communication and discloses a data submission method, device and system, which are capable of dynamically adjusting the submission method according to the number of concurrent sockets in a network so that the data transmission rate is improved. The data submission method includes the following steps: a terminal receives data sent by a network side, wherein the data includes a socket set which is a set of data-sending network socket numbers; according to the socket set and a socket list which records socket numbers carried in historic data, the number of sockets which send data currently is obtained; when the number of the sockets which send data currently is smaller than a preset threshold N1, data is submitted according to an ordered submission method; and when the number of the sockets which currently sends data is larger than the preset threshold N1, the data is submitted according to a non-ordered submission method. The data submission method is used for submission of terminal-side data.

Description

A kind of data delivery method and apparatus
Technical field
The present invention relates to the communications field, particularly a kind of data delivery method and apparatus.
Background technology
3G(3rd-Generation, G mobile communication) refer to the cellular mobile telecommunications technology can supporting high speed data transfer.In mobile Internet, descendingly refer to that mobile Internet side is to user side.In the mobile Internet based on 3G, user can enjoy the downlink business of two-forty.
Mobile interchange network operation be HSDPA (High Speed Downlink Packet Access, high-speed slender body theory) agreement.The structure of this HSDPA agreement is divided into five layers, be followed successively by accordance with the order from top to bottom: application layer TCP (Transmission Control Protocol, transmission control protocol)/IP (Internet Protocol, Internet Protocol), PDCP (Packet Data ConvergenceProtocol, PDCP) layer, RLC (Radio Link Control, wireless spread-spectrum technology) layer, MAC-hs(Medium Access Control High Speed, high-speed Medium MAC layer) and physical layer.Wherein, described rlc layer and described MAC-hs layer are the main protocol layers of transmission data; Described PDCP is used for packing to data; Described RLC is used for carrying out segmentation to data; Described MAC-hs is used for packaging to data.The TCP/IP packet that network side application layer issues is through the packing of described PDCP, and the segmentation of RLC, the group packet procedures of MAC-hs, is sent to air interface finally by physical layer.User side through contrary process, finally passes to the application layer of user after receiving the data after group bag.In the process, in order to ensure the reliability transmitted, a set of retransmission mechanism is had at the rlc layer of user.This retransmission mechanism needs the PDU(Protocol Data Unit that will lose, protocol Data Unit) message notice network side, thus impel network side rlc layer to retransmit.And the prerequisite that network carries out gravity treatment finds that network enters congestion state.Current congestion control mechanism comprises: slow turn-on, Congestion Avoidance and Fast retransmission.Described slow turn-on refers in network and sends data exponentially level increase, described Congestion Avoidance refers to when the speed sending data in network reaches Slow start threshold, the speed sending data in network linearly increases, described rapid reselection refers to the packet judging loss according to the continuous print packet received, and carries out Fast retransmission to the packet lost.
In addition, be provided with two kinds at rlc layer and submit method: submit according to the order of sequence and submit with non-sequential.Described submitting according to the order of sequence refers to that the sequence number continuous print sequential delivery data of network according to message are to the application layer of user, described non-sequential submit refer to network in any order data delivery to the application layer of user.
Submit according to the order of sequence as true(is no if network side rlc layer is arranged) time submits according to the order of sequence, so user must according to the order of sequence data delivery to upper strata.But, if network side rlc layer arrange submit according to the order of sequence as false(is no) time, user can according to the order of sequence data delivery to upper strata, also can non-sequential data delivery to upper strata.When network side is submitted with non-sequential, if the TCP socket(port of transmission data) only have 1, when the TCP layer of user side finds that there is message dropping, the TCP layer of user side often receives a discontinuous message, user side will send ACK message to network, and multiple ACK message will inevitably the congestion avoidance procedure of trigger network side, causes downstream rate to decline fast, and needs the regular hour to recover.When the TCP socket of concurrent transmission data has multiple, the PDU lost probably only comprises the data on 1 socket, namely non-sequential submits the speed that probably only can affect on 1 socket, and therefore concurrent socket is more, then global rate is influenced less.When network side is to submit according to the order of sequence, when the TCP socket of transmission data only has 1 and when there being the PDU of loss, RLC can retransmit successfully at this PDU, just can submit TCP message to upper strata according to the order of sequence, make TCP layer can receive continuous print TCP message, therefore can avoid entering congestion avoidance procedure.But when the TCPsocket of the data of concurrent transmission have multiple and there is the loss of PDU time, this PDU such as to only have retransmit successfully, the data on remaining socket, transmission could be continued, the propagation delay time on all socket can be caused like this to increase, cause server end to send the rate reduction of data.Therefore, submit according to the order of sequence as false(is no when network side rlc layer is arranged) time, user adopts and to submit according to the order of sequence or non-sequential is submitted, the high-speed transfer of data in network when all cannot ensure the quantity of different concurrent TCP socket.
Summary of the invention
The invention provides a kind of data delivery method and apparatus, terminal can submit the adjustment of mode according to the carrying out of the Number dynamics of port concurrent in network, improve the speed of transfer of data.
For solving the problems of the technologies described above, embodiments of the present invention provide a kind of data delivery method, are applied to user side, and described data delivery method comprises:
Terminal receives the data that network side sends, and described data comprise sets of ports, and described sets of ports is that this sends the set of the port numbers of the network of data;
According to described sets of ports and the port list recording the port numbers of carrying in historical data, obtain the port number of current transmission data;
When the port number of described current transmission data is less than default threshold value N 1time, according to submitting mode data delivery according to the order of sequence;
When the port number of described current transmission data is more than or equal to default threshold value N 1time, submit mode data delivery according to non-sequential.
Embodiments of the present invention additionally provide a kind of data delivery device, are applied to user side, and described data delivery device comprises:
Receiving element, receive the data of network side transmission for terminal, described data comprise sets of ports, and described sets of ports is that this sends the set of the port numbers of the network of data;
Processing unit, for according to described sets of ports and the port list recording the port numbers of carrying in historical data, obtains the port number of current transmission data;
First performance element, is less than default threshold value N for the port number when described current transmission data 1time, according to submitting mode data delivery according to the order of sequence;
Second performance element, is more than or equal to default threshold value N for the port number when described current transmission data 1time, submit mode data delivery according to non-sequential.
The present invention compared with the existing technology, add the judgement of the number to the port sending data in network, the sets of ports comprised according to the data of terminal reception network side transmission and the port list recording the port numbers of carrying in historical data, obtain the port number of current transmission data, then select to submit mode according to the port number of described current transmission data, when the port number of described current transmission data changes, described mode of submitting is adjusted dynamically, thus avoid when non-sequential is submitted present port number less and occur loss of data time, cause the process of network side Congestion Avoidance, ensure that message transmission rate, it also avoid simultaneously when submitting according to the order of sequence present port number more and occur loss of data time, the propagation delay time caused on port increases, ensure that message transmission rate.Therefore, invention increases the speed of transfer of data.
In addition, described according to described sets of ports and the port list recording the port numbers of carrying in historical data, the port number obtaining current transmission data specifically comprises: when described port exists the port numbers different from the port numbers in described port list, be added in described port list by the port information of described different port numbers; Add up the number of the port numbers comprised in described port list, obtain the port number of described current transmission data.
In addition, by being added in described port list by the port information of port numbers different from described port list for described sets of ports, thus statistics obtains the number that this network side sends the port of data.
According to described sets of ports and the port list recording the port numbers of carrying in historical data, before obtaining the step of the port number of current transmission data, also perform following steps: are compared number time occurred of all of the port in described port list and current time; When the time that described port list middle-end slogan occurs and described current time difference are greater than default time threshold T 1time, the time occur port numbers described in described port list and described current time difference are greater than default time threshold T 1port information delete; According to described sets of ports and the port list recording the port numbers of carrying in historical data, obtain in the step of the port number of current transmission data, when described port exists the port numbers different from the port numbers in described port list, the port information of described different port numbers is added in described port list; Add up the number of port numbers different in described port list, obtain the port number of described current transmission data.
By being deleted by the port information of time-out in described port list, end side is made not need to continue to send useless port information.
In addition, the number of port numbers different in the described port list of described statistics, after obtaining the port number of described current transmission data, described method also comprises: when described port exists the port numbers identical with the port numbers in described port list, in described port list, the time that the port numbers of described identical port numbers occurs is updated to current time.
By using current time to upgrade the described port port numbers identical with the port numbers in described port list, making when terminal receives next packet, the data in up-to-date port information and described next packet can be utilized to compare.
Accompanying drawing explanation
Fig. 1 is the data delivery method flow schematic diagram of first embodiment of the invention;
Fig. 2 is the data delivery method flow schematic diagram of second embodiment of the invention;
Fig. 3 is the data delivery method flow schematic diagram of third embodiment of the invention;
Fig. 4 is the data delivery apparatus structure schematic diagram of four embodiment of the invention;
Fig. 5 is the structural representation of the processing unit of four embodiment of the invention;
Fig. 6 is the data delivery apparatus structure schematic diagram of fifth embodiment of the invention;
Fig. 7 is the data delivery apparatus structure schematic diagram of sixth embodiment of the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the embodiments of the present invention are explained in detail.But, persons of ordinary skill in the art may appreciate that in each execution mode of the present invention, proposing many ins and outs to make reader understand the application better.But, even without these ins and outs with based on the many variations of following execution mode and amendment, each claim of the application technical scheme required for protection also can be realized.
First embodiment of the invention provides a kind of data delivery method, be applied to end side, when the setting of network side rlc layer is submitted according to the order of sequence as false, present embodiment is by resolving TCP/IP packet, according to the port information in the described packet parsed, then according to the number of described port, the mode submitted is adjusted dynamically.
When the number of described port is less than default threshold value, send data according to the mode submitted according to the order of sequence; When the number of described port is more than or equal to default threshold value, the mode submitted according to non-sequential sends data.So, the mode that user side can be submitted according to the adjustment of the Number dynamics of different ports, thus avoid irrational reduction of submitting the data transmission in network speed that mode causes.As shown in Figure 1, described data delivery method comprises:
S1, terminal receive the data that network side sends, and described data comprise sets of ports, and described sets of ports is that this sends the set of the port numbers of the network of data.
Terminal receive network side send TCP/IP message, described tcp data bag is by header(leader) and data content form.IP bag also comprises header and data content portion, and wherein data division comprises again TCP bag.Described TCP header part comprises source port and destination interface, described source port indication network side sends the port of data, described destination interface indicating terminal side joint receives the port of data, described IP header part comprises source IP address and object IP address, being sent out by which IP address of described source IP address designation data bag, which IP address described object IP address designation data bag mails to.
S2, described data to be resolved, obtain the sets of ports in described data.
S3, judge that whether the port numbers of described port is identical with the port numbers in port list.If described port exists the port numbers different from the port numbers in described port list, then enter step S4, if described port exists the port numbers identical with the port numbers in described port list, do not do any action, then directly enter step S5.
Specifically, need in present embodiment to set up a port list, this port list records the port information of the port numbers of carrying in historical data, and described port information comprises the time of resolving port numbers and this port numbers appearance obtained from the described TCP message packet header received.In actual applications, array port_list [n] can be utilized in this port list to be recorded in the port numbers occurred in this Preset Time, utilize array port_time [n] to record the time that target port occurs under port_list correspondence, port_cur is used for recording the port numbers of the current TCP/IP bag received.Described port_list [n] and described port_time [n] is initialized as sky, described n be greater than 0 integer.
S4, the port information of described different port numbers to be added in described port list.
Example, in the data delivery method that the embodiment of the present invention provides, first the TCP message packet header that current time receives is resolved, obtain sets of ports, described sets of ports is that this sends the set of the port numbers of the network of data, comprises the port numbers of the network of these transmission data multiple in this set.Then, port numbers in each port numbers of described port and described port list is compared, when there is the port numbers different from the port numbers in described port list in described port, the port information of described different port numbers is added in described port list, the whole of port numbers sending the network of data by this are recorded in described port list, perform step S5.
S5, add up the number of the port numbers comprised in described port list, obtain the port number of described current transmission data.
Owing to the present invention be directed to the situation of terminal downloads data, therefore, for terminal, calculate the number that this number sending the port numbers of the network of data only needs to calculate source port number.
Especially, when described port list is initialized as sky, can directly the port information of described port be recorded in described port list.
S6, judge whether the port number of described current transmission data is less than described default threshold value N 1.
S7, be less than default threshold value N when the port number of described current transmission data 1time, according to mode of submitting according to the order of sequence by data delivery to upper strata.
S8, be more than or equal to default threshold value N when the port number of described current transmission data 1time, submit mode by data delivery to upper strata according to non-sequential.
Described default threshold value N 1for what determine according to engineering experience value, example, described N 1can value 3(certain, in actual applications, also can be other numerical value), when the port number of described current transmission data is less than this project empirical value 3, effectively can ensure according to submitting mode data delivery according to the order of sequence the speed that data send.Even if this N 1certain port in individual port there occurs the loss of PDU data, the PDU data re-transmission successful subsequent supervention of this loss of port waits send below, also be unlikely to cause the propagation delay time on all of the port to increase, the situation causing server end to reduce the transmission rate of data sends.When the port number of described current transmission data is more than or equal to this threshold value N 1time, submit mode data delivery according to non-sequential and effectively can ensure the speed that data send, avoid present port number less and there is loss of data time, cause the process of network side Congestion Avoidance, ensure that message transmission rate.Therefore, as a whole, invention increases the speed of transfer of data.
The second execution mode of the present invention relates to another kind of data delivery method, as shown in Figure 2, second execution mode is roughly the same with the first execution mode, main distinction part is: according to described sets of ports and the port list recording the port numbers of carrying in historical data, before obtaining the step of the port number of current transmission data, also perform following steps: are compared number time occurred of all of the port in described port list and current time; When the time that described port list middle-end slogan occurs and described current time difference are greater than time threshold T 1time, the time occur port numbers described in described port list and described current time difference are greater than default time threshold T 1port information delete.Concrete steps are as follows:
S9, the time that all of the port in described port list number occurs is done difference with current time respectively, judge whether described difference is greater than default time threshold T 1.If the time that described port list middle-end slogan occurs and described current time difference are greater than default time threshold T 1, then step S10 is entered, if the time of described port list middle-end slogan appearance and described current time difference are less than or equal to default time threshold T 1, do not do any action, then directly enter step S3.
Because the present invention is by resolving up TCP message packet header on PDCP layer, the mode submitted is determined according to the number of the upstream port number in Preset Time, therefore, the time that each TCP message receives is different, and namely each port sends the time of data is different.
If when receiving this and sending data, described port list is not empty, namely before current time, store in the tcp data bag received in Preset Time and resolve the port information obtained in described port list, described port information comprises the time of port numbers and the appearance of described port numbers.After receiving this and sending data, number time occurred of all of the port in described port list and current time can be compared.
S10, time port numbers described in described port list occurred and described current time difference are greater than default time threshold T 1port information delete.
Concrete, by the time m that port numbers all in described port list occurs 1with current time m 0do difference; If described m 1with described m 0the absolute value of difference be more than or equal to default time threshold T 1, then judge the packet time-out that the port numbers that this port numbers time of occurrence is corresponding sends, the action of the packet indicating terminal downloading data of this time-out terminates, and therefore, can delete port information corresponding to described port numbers in described port list.If described m 1with described m 0the absolute value of difference be less than default time threshold T 1, then judge that the port numbers that this port numbers time of occurrence is corresponding is still sending packet, the download action receiving the terminal of this packet still exists, and therefore, does not do any action.After executing above-mentioned steps, perform the step S3 described in embodiment one.
Example, suppose that the port numbers in 5 port informations comprised in described port list is respectively 1,2,3,4,5, the time that described 5 port numbers occur is respectively 14:28:00,14:28:04,14:28:06,14:28:07,14:28:08, current time is 14:28:10, number time occurred of all of the port in described port list is done difference with current time respectively, the difference obtaining time that described 5 port numbers occur and current time is respectively 10 seconds, 6 seconds, 4 seconds, 3 seconds, 2 seconds, judges whether described difference is greater than default time threshold T 1, suppose time threshold T 1be 5 seconds, then obviously can obtain, the difference of the time that port numbers 1 and 2 occurs and current time is greater than time threshold.Therefore, can in port list by described port numbers be 1 and 2 port information delete.
In the application of reality, according to engineering experience, described T 1can value 5 seconds.
Compared with the data delivery method that the data delivery method that the present embodiment provides and embodiment one provide, the method calculating the number of the upstream port number in Preset Time is more accurate, therefore, determine that the method step of mode of submitting is more accurate according to described port numbers after making, as a whole, the present invention further improves the speed of transfer of data.
The third execution mode of the present invention relates to another kind of data delivery method, as shown in Figure 3,3rd execution mode is roughly the same with the second execution mode, main distinction part is: the number of port numbers different in the described port list of described statistics, after obtaining the port number of described current transmission data, described method also comprises:
S11, find out the described port port numbers identical with the port numbers in described port list.
S12, in described port list by the port numbers of described identical port numbers occur time be updated to current time.
So, the time that the port numbers that in described port list, each port numbers is corresponding occurs is the last time occurred, the port information that records in described port list can be made more accurate, the data that network side that follow-up basis is received sends and described port list compare thus the accuracy obtaining correct method of submitting further improves, as a whole, the embodiment of the present invention and embodiment two comparatively speaking, further improve the speed of transfer of data.
Especially, in described data delivery method, when port number changes, in network data receiver formula described submit according to the order of sequence mode and described non-sequential submit adjust dynamically between mode time, described data delivery method also comprises the judgement to the PDU lost.Submitting in ergodic algorithm according to the order of sequence, the PDU of disappearance is being increased and judges, if this PDU had previously received and submitted, then thought that the PDU in buffer memory is still continuous print, the group bag of PDU can be carried out, and SDU is reported upper strata.
Concrete, suppose that the port number of transmission of last time data is greater than default threshold value N 1, then the last time sends the mode of data is that non-sequential submits mode, and the port number sending data in current time is less than default threshold value N 1time, the mode sending data submits mode dynamic conditioning for submit mode according to the order of sequence by non-sequential, there occurs and is delivered to the switching of submitting according to the order of sequence from non-sequential.Suppose, when non-sequential submits mode, packet loss occurred, but it is SDU(Service DataUnit that the PDU having part can organize bag has organized bag, service data unit) be submitted to upper strata, when data receiver formula dynamic conditioning is for submitting mode according to the order of sequence, need the above-mentioned PDU part having organized bag to get rid of, then remaining PDU group bag is submitted to upper strata.
Example, when non-sequential is submitted, suppose to have received the PDU that SN is 0,3,4,6, described SN is the sequence number of PDU, wherein SN be 3 a part and SN be 4 all constitute a SDU, be submitted to upper strata, remaining SN 0,3,6 does not also submit.In data below send, if submitted according to the order of sequence because the change of port number causes RLC to proceed to, and the PDU of previously lost, all have received by retransmitting.Such as, SN=1,2, the PDU of 5 have received, and so at this moment just has 0,1,2,3,5,6 these PDU not also to be submitted to upper strata in buffer memory.Wherein the PDU of SN=4 is owing to submitting up before, so these 6 PDU can be submitted to upper strata according to the requirement of submitting according to the order of sequence.
So, in mode of submitting from non-sequential to submitting in the dynamic conditioning of mode according to the order of sequence, data delivery process is more coherent and accurate, can not cause the re-transmission of data, improve the speed of data transmission in network because of the loss of PDU data.
Four embodiment of the invention provides a kind of data delivery device, is applied to user side, and as shown in Figure 4, described data delivery device comprises:
Receiving element 401, receive the data of network side transmission for terminal, described data comprise sets of ports, and described sets of ports is that this sends the set of the port numbers of the network of data.
Processing unit 402, for according to described sets of ports and the port list recording the port numbers of carrying in historical data, obtains the port number of current transmission data.
First performance element 403, is less than default threshold value N for the port number when described current transmission data 1time, according to submitting mode data delivery according to the order of sequence.
Second performance element 404, is more than or equal to default threshold value N for the port number when described current transmission data 1time, submit mode data delivery according to non-sequential.
Further, as shown in Figure 5, described processing unit 402 specifically comprises:
Add subelement 4021, for when described port exists the port numbers different from the port numbers in described port list, the port information of described different port numbers is added in described port list.
Statistics subelement 4022, for adding up the number of the port numbers comprised in described port list, obtains the port number of described current transmission data.
The embodiment of the present invention compared with prior art, add the judgement of the number to the port sending data in network, the sets of ports that the data that processing unit receives network side transmission according to terminal comprise and the port list recording the port numbers of carrying in historical data, obtain the port number of current transmission data, then the first performance element and the second performance element are selected to submit mode according to the port number of described current transmission data, when the port number of described current transmission data changes, described mode of submitting is adjusted dynamically, thus avoid when non-sequential is submitted present port number less and occur loss of data time, cause the process of network side Congestion Avoidance, ensure that message transmission rate, it also avoid simultaneously when submitting according to the order of sequence present port number more and occur loss of data time, the propagation delay time caused on port increases, ensure that message transmission rate.Therefore, invention increases the speed of transfer of data.
Fifth embodiment of the invention relates to another kind of data delivery device, as shown in Figure 6.5th execution mode is roughly the same with the 4th execution mode, and main distinction part is: described data delivery device adds with lower unit:
Comparing unit 405, compared for time of all of the port in described port list number and described port numbers being occurred and current time.
Delete cells 406, for being greater than default time threshold T when the time that described port list middle-end slogan occurs and described current time difference 1time, the time occur port numbers described in described port list and described current time difference are greater than default time threshold T 1port information delete.
Compared with the data delivery method that the data delivery device that the present embodiment provides and embodiment one provide, comparing unit was compared with current time by time all of the port in described port list number and described port numbers occurred, time that port numbers described in described port list occurs by delete cells and described current time is poor is greater than default time threshold T 1port information delete, make the method for the number of the upstream port number calculated in Preset Time more accurate like this, therefore, determine that the method step of mode of submitting is more accurate according to described port numbers after making, as a whole, the present invention further improves the speed of transfer of data.
Sixth embodiment of the invention relates to another kind of data delivery device, as shown in Figure 7.6th execution mode is roughly the same with the 5th execution mode, and main distinction part is: described data delivery device adds with lower unit:
Updating block 407, for when described port exists the port numbers identical with the port numbers in described port list, is updated to current time by the time that the port numbers of described identical port numbers occurs in described port list.
So, the time that port numbers corresponding for each port numbers in described port list occurs is updated to the last time occurred by updating block, the port information that records in described port list can be made more accurate, the data that network side that follow-up basis is received sends and described port list compare thus the accuracy obtaining correct method of submitting further improves, as a whole, the embodiment of the present invention and embodiment two comparatively speaking, further improve the speed of transfer of data.
It is worth mentioning that, each module involved in present embodiment is logic module, and in actual applications, a logical block can be a physical location, also can be a part for a physical location, can also realize with the combination of multiple physical location.The operation principle of each physical location can describing in reference method embodiment, and the present invention does not repeat them here.In addition, in order to outstanding innovative part of the present invention, the unit not too close with solving technical problem relation proposed by the invention is not introduced in present embodiment, but this does not show the unit that there is not other in present embodiment.
Persons of ordinary skill in the art may appreciate that the respective embodiments described above realize specific embodiments of the invention, and in actual applications, various change can be done to it in the form and details, and without departing from the spirit and scope of the present invention.

Claims (10)

1. a data delivery method, is applied to user side, it is characterized in that, comprising:
Terminal receives the data that network side sends, and described data comprise sets of ports, and described sets of ports is that this sends the set of the port numbers of the network of data;
According to described sets of ports and the port list recording the port numbers of carrying in historical data, obtain the port number of current transmission data;
When the port number of described current transmission data is less than default threshold value N 1time, according to submitting mode data delivery according to the order of sequence;
When the port number of described current transmission data is more than or equal to default threshold value N 1time, submit mode data delivery according to non-sequential.
2. data delivery method according to claim 1, is characterized in that, described according to described sets of ports and the port list recording the port numbers of carrying in historical data, the port number obtaining current transmission data specifically comprises:
When described port exists the port numbers different from the port numbers in described port list, the port information of described different port numbers is added in described port list;
Add up the number of the port numbers comprised in described port list, obtain the port number of described current transmission data.
3. data delivery method according to claim 1, is characterized in that, according to described sets of ports and the port list recording the port numbers of carrying in historical data, before obtaining the step of the port number of current transmission data, also performs following steps:
Number time occurred of all of the port in described port list and current time are compared;
When the time that described port list middle-end slogan occurs and described current time difference are greater than time threshold T 1time, the time occur port numbers described in described port list and described current time difference are greater than default time threshold T 1port information delete;
According to described sets of ports and the port list recording the port numbers of carrying in historical data, obtain in the step of the port number of current transmission data,
When described port exists the port numbers different from the port numbers in described port list, the port information of described different port numbers is added in described port list;
Add up the number of port numbers different in described port list, obtain the port number of described current transmission data.
4. data delivery method according to claim 3, is characterized in that, the number of port numbers different in the described port list of described statistics, and after obtaining the port number of described current transmission data, described method also comprises:
When described port exists the port numbers identical with the port numbers in described port list, in described port list, the time that the port numbers of described identical port numbers occurs is updated to current time.
5. data delivery method according to claim 3, is characterized in that,
Described time threshold T 1it is 5 seconds.
6. a data delivery device, is applied to user side, it is characterized in that, comprising:
Receiving element, receive the data of network side transmission for terminal, described data comprise sets of ports, and described sets of ports is that this sends the set of the port numbers of the network of data;
Processing unit, for according to described sets of ports and the port list recording the port numbers of carrying in historical data, obtains the port number of current transmission data;
First performance element, is less than default threshold value N for the port number when described current transmission data 1time, according to submitting mode data delivery according to the order of sequence;
Second performance element, is more than or equal to default threshold value N for the port number when described current transmission data 1time, submit mode data delivery according to non-sequential.
7. data delivery device according to claim 6, is characterized in that, described processing unit specifically comprises:
Add subelement, for when described port exists the port numbers different from the port numbers in described port list, the port information of described different port numbers is added in described port list;
Statistics subelement, for adding up the number of the port numbers comprised in described port list, obtains the port number of described current transmission data.
8. data delivery device according to claim 6, is characterized in that, described data delivery device also comprises:
Comparing unit, compared for time of all of the port in described port list number and described port numbers being occurred and current time;
Delete cells, for being greater than default time threshold T when the time that described port list middle-end slogan occurs and described current time difference 1time, the time occur port numbers described in described port list and described current time difference are greater than default time threshold T 1port information delete.
9. data delivery device according to claim 8, is characterized in that, described data delivery device also comprises:
Updating block, for when described port exists the port numbers identical with the port numbers in described port list, is updated to current time by the time that the port numbers of described identical port numbers occurs in described port list.
10. data delivery device according to claim 8, is characterized in that,
Described time threshold T 1it is 5 seconds.
CN201310363212.1A 2013-08-20 2013-08-20 A kind of data delivery method and apparatus Active CN104426638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310363212.1A CN104426638B (en) 2013-08-20 2013-08-20 A kind of data delivery method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310363212.1A CN104426638B (en) 2013-08-20 2013-08-20 A kind of data delivery method and apparatus

Publications (2)

Publication Number Publication Date
CN104426638A true CN104426638A (en) 2015-03-18
CN104426638B CN104426638B (en) 2017-11-10

Family

ID=52974673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310363212.1A Active CN104426638B (en) 2013-08-20 2013-08-20 A kind of data delivery method and apparatus

Country Status (1)

Country Link
CN (1) CN104426638B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018227501A1 (en) * 2017-06-15 2018-12-20 Oppo广东移动通信有限公司 Data transmission method and device
WO2019047912A1 (en) * 2017-09-08 2019-03-14 华为技术有限公司 Method and device for processing data
CN109474651A (en) * 2017-09-08 2019-03-15 华为技术有限公司 The method and apparatus for handling data
CN109561468A (en) * 2017-09-26 2019-04-02 中国移动通信有限公司研究院 A kind of data delivery method, data transmission method for uplink and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060092943A1 (en) * 2004-11-04 2006-05-04 Cisco Technology, Inc. Method and apparatus for guaranteed in-order delivery for FICON over SONET/SDH transport
CN1964362A (en) * 2006-10-13 2007-05-16 华为技术有限公司 A mobile communication system and its method and device for air interface data transmission
CN101163086A (en) * 2006-10-11 2008-04-16 大唐移动通信设备有限公司 Method of implementing in-sequence submission of wireless link control service data unit
CN101227483A (en) * 2008-02-03 2008-07-23 北京天碁科技有限公司 Data processing method and apparatus of wireless link control layer
CN102239728A (en) * 2009-08-14 2011-11-09 华为技术有限公司 Data processing method and apparatus thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060092943A1 (en) * 2004-11-04 2006-05-04 Cisco Technology, Inc. Method and apparatus for guaranteed in-order delivery for FICON over SONET/SDH transport
CN101163086A (en) * 2006-10-11 2008-04-16 大唐移动通信设备有限公司 Method of implementing in-sequence submission of wireless link control service data unit
CN1964362A (en) * 2006-10-13 2007-05-16 华为技术有限公司 A mobile communication system and its method and device for air interface data transmission
CN101227483A (en) * 2008-02-03 2008-07-23 北京天碁科技有限公司 Data processing method and apparatus of wireless link control layer
CN102239728A (en) * 2009-08-14 2011-11-09 华为技术有限公司 Data processing method and apparatus thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018227501A1 (en) * 2017-06-15 2018-12-20 Oppo广东移动通信有限公司 Data transmission method and device
CN111294153A (en) * 2017-06-15 2020-06-16 Oppo广东移动通信有限公司 Method and device for transmitting data
US11050862B2 (en) 2017-06-15 2021-06-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for transmitting data
US11553067B2 (en) 2017-06-15 2023-01-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for transmitting data
WO2019047912A1 (en) * 2017-09-08 2019-03-14 华为技术有限公司 Method and device for processing data
CN109474651A (en) * 2017-09-08 2019-03-15 华为技术有限公司 The method and apparatus for handling data
CN109474651B (en) * 2017-09-08 2020-08-25 华为技术有限公司 Method and apparatus for processing data
US11025555B2 (en) 2017-09-08 2021-06-01 Huawei Technologies Co., Ltd. Method for processing data and device
CN109561468A (en) * 2017-09-26 2019-04-02 中国移动通信有限公司研究院 A kind of data delivery method, data transmission method for uplink and equipment

Also Published As

Publication number Publication date
CN104426638B (en) 2017-11-10

Similar Documents

Publication Publication Date Title
CN108881008B (en) Data transmission method, device and system
US8988994B2 (en) System and method for creating logical radio link control (RLC) and medium access control (MAC) protocol data units (PDUs) in mobile communication system
CN1613233B (en) Method and system of retransmission
US8457053B2 (en) Methods and apparatus for dynamically adjusting a data packet window size for data packet transmission in a wireless communication network
CN102007812B (en) The method and apparatus that TCP flow controls
US20060062323A1 (en) System and method for polling a protocol data unit of a transmission buffer
CN103716136B (en) A kind of data transferring method and system
CN106452692A (en) Data transmission method and system
CN102664718B (en) The method and apparatus that wireless side tcp data retransmits
KR102046792B1 (en) Method of transporting data from sending node to destination node
CN101582756B (en) Method for realizing immediate block reply mechanism of wireless local area network
CN112153696B (en) RLC SDU segmentation processing method, device and terminal
JP3377994B2 (en) Data distribution management device and data distribution management method
CN108886713B (en) Data transmission method, data receiving equipment and data sending equipment
CN113300819B (en) Robust hop-by-hop reliable data transmission method, device and system
CN104426638A (en) Data submission method and device
CN101488841A (en) Frame retransmission method and apparatus for radio link protocol
CN106209325A (en) A kind of TCP ACK message processing method and device
CN113765626A (en) Data transmission method and device of mobile communication system
CN103368865B (en) Adaptive communication method and system based on Multi net voting access interface
CN106341368A (en) Data processing method and device
CN108632302B (en) Information transmission method and device
CN114422425B (en) Method, system, device and storage medium for transmitting multilink aggregated data
CN100471197C (en) Method of efficiently transmitting/receiving data using transport layer in a mobile ad hoc network, and network device using the method
CN107959947B (en) Data transmission method, device and base station

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant