CN104426638B - A kind of data delivery method and apparatus - Google Patents

A kind of data delivery method and apparatus Download PDF

Info

Publication number
CN104426638B
CN104426638B CN201310363212.1A CN201310363212A CN104426638B CN 104426638 B CN104426638 B CN 104426638B CN 201310363212 A CN201310363212 A CN 201310363212A CN 104426638 B CN104426638 B CN 104426638B
Authority
CN
China
Prior art keywords
port
data
list
numbers
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.)
Active
Application number
CN201310363212.1A
Other languages
Chinese (zh)
Other versions
CN104426638A (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 present invention relates to the communications field, discloses a kind of data delivery methods, devices and systems, according to the adjustment for submit mode of the Number dynamics of port concurrent in network, can improve the speed of data transfer.The data delivery method includes:Terminal receives the data that network side is sent, and the data include port collection, and the port collection is the set of the port numbers of the network of this transmission data;There is the port list of the port numbers carried in historical data according to the port collection and record, obtain the port number of currently transmitted data;When the port number of the currently transmitted data is less than default threshold value N1When, according to sequentially submitting mode data delivery;When the port number of the currently transmitted data is more than or equal to default threshold value N1When, submit mode data delivery according to non-sequential.The data delivery method is used for submitting for terminal side data.

Description

A kind of data delivery method and apparatus
Technical field
The present invention relates to the communications field, more particularly to a kind of data delivery method and apparatus.
Background technology
3G(3rd-Generation, 3rd generation mobile communication technology)It is to refer to support the honeycomb of high speed data transfer to move Dynamic mechanics of communication.It is descending to refer to mobile interchange net side to user side in mobile Internet.In the mobile interchange based on 3G In net, user can enjoy the downlink business of high-speed.
Mobile interchange network operation is HSDPA (High Speed Downlink Packet Access, high-speed downstream point Group access) agreement.The structure of the HSDPA agreements is divided into five layers, is 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 View), PDCP (Packet Data Convergence Protocol, PDCP) layer, RLC (Radio Link Control, wireless spread-spectrum technology) layer, MAC-hs(Medium Access Control High Speed, high-speed Medium access Key-course)And physical layer.Wherein, the rlc layer and the MAC-hs layers are the main protocol layers for transmitting data;The PDCP For being packed to data;The RLC is used to be segmented data;The MAC-hs is used to package to data.Net The TCP/IP packets that network side application layer issues pass through the PDCP packing, RLC segmentation, MAC-hs group packet procedures, most Air interface is sent to by physical layer afterwards.After user side receives group the data after bag, by opposite process, it is ultimately transferred to The application layer of user.In the process, in order to ensure the reliability of transmission, there is a set of retransmission mechanism in the rlc layer of user.This is heavy Biography mechanism is needed the PDU of loss(Protocol Data Unit, protocol Data Unit)Information notice network side, so as to promote Retransmitted network side rlc layer.And the premise that network carries out gravity treatment is to find that network enters congestion state.Current congestion Controlling mechanism includes:Slow turn-on, Congestion Avoidance and Fast retransmission.The slow turn-on refers to that data are sent in network exponentially to be increased Add, the Congestion Avoidance refers to the speed for sending data in network when the speed that data are sent in network reaches Slow start threshold Degree linearly increases, and the rapid reselection refers to judge the packet lost according to the continuous packet received, and right The packet of loss carries out Fast retransmission.
In addition, in rlc layer, there is provided two kinds to submit method:Sequentially submit and submitted with non-sequential.Described sequentially submit refers to For network according to the continuous sequential delivery data of sequence number of message to the application layer of user, the non-sequential, which is submitted, refers to network to appoint Application layer of the sequential delivery data of meaning to user.
If network side rlc layer sets and sequentially submitted as true(It is no)When sequentially submit, then user must sequentially submit Data are to upper strata.But sequentially submitted as false if network side rlc layer is set(It is no)When, user can sequentially data delivery To upper strata, can also non-sequential data delivery to upper strata.When network side is submitted with non-sequential, if the TCP of transmission data socket(Port)Only 1, when the TCP layer of user terminal finds that the TCP layer of user terminal often receives one not when having message dropping Continuous message, user terminal will send ACK messages to network, and the congestion that multiple ACK messages will necessarily trigger network side is kept away Exempt from process, cause downstream rate rapid decrease, and need the regular hour to recover.As the TCP of concurrent transmission data When socket has multiple, the PDU of loss is likely to only comprising the data on 1 socket, i.e., non-sequential, which is submitted, is likely to only meeting The speed on 1 socket is influenceed, therefore concurrent socket is more, then global rate is impacted smaller.When network side with by When sequence is submitted, when the TCP socket of transmission data only have 1 and when there is the PDU of loss, RLC can be retransmitted successfully in the PDU Afterwards, just TCP message sequentially can be submitted to upper strata so that TCP layer can receive continuous TCP message, therefore can avoid enter into Congestion avoidance procedure.But when the TCPsocket of the data of concurrent transmission has loss that is multiple and PDU being present, only wait the PDU After retransmitting successfully, the data on remaining socket could continue to transmit, and can so cause the propagation delay time on all socket Increase, server end is caused to send the rate reduction of data.Therefore, sequentially submitted as false when network side rlc layer is set(It is no) When, user's use is sequentially submitted or non-sequential is submitted, and can not ensure to count in network during different concurrent TCP socket quantity According to high-speed transfer.
The content of the invention
The present invention provides a kind of data delivery method and apparatus, and terminal can be moved according to the quantity of port concurrent in network The adjustment for submit mode of state, improve the speed of data transfer.
In order to solve the above technical problems, embodiments of the present invention provide a kind of data delivery method, applied to user Side, the data delivery method include:
Terminal receives the data that network side is sent, and the data include port collection, and the port collection is this transmission data Network port numbers set;
There is the port list of the port numbers carried in historical data according to the port collection and record, obtain currently transmitted number According to port number;
When the port number of the currently transmitted data is less than default threshold value N1When, submitted according to mode is sequentially submitted Data;
When the port number of the currently transmitted data is more than or equal to default threshold value N1When, according to the non-sequential side of submitting Formula data delivery.
Embodiments of the present invention additionally provide a kind of data delivery device, applied to user side, the data delivery dress Put including:
Receiving unit, the data of network side transmission are received for terminal, the data include port collection, and the port collection is This sends the set of the port numbers of the network of data;
Processing unit, for there is the port list of the port numbers carried in historical data according to the port collection and record, Obtain the port number of currently transmitted data;
First execution unit, it is less than default threshold value N for the port number when the currently transmitted data1When, press According to sequentially submitting mode data delivery;
Second execution unit, it is more than or equal to default threshold value N for the port number when the currently transmitted data1 When, submit mode data delivery according to non-sequential.
The present invention compared with the existing technology, adds the judgement to the number of the port of transmission data in network, according to end Port collection and record that the data that end receives network side transmission include have the port list of the port numbers carried in historical data, The port number of currently transmitted data is obtained, then selects to submit mode according to the port number of the currently transmitted data, When the port number of the currently transmitted data changes, submit mode to described and dynamically adjusted, so as to avoid Non-sequential is less in present port number when submitting and when loss of data occurs, triggers the process of network side Congestion Avoidance, protects When having demonstrate,proved message transmission rate, while it also avoid sequentially submitting during and generation loss of data more in present port number, draw The propagation delay time increase started on mouth, ensure that message transmission rate.Therefore, the present invention improves the speed of data transfer.
In addition, the port list for having the port numbers carried in historical data according to the port collection and record, is obtained The port number of currently transmitted data specifically includes:When the port is in the presence of different from the port numbers in the port list Port numbers when, by the port information of the different port numbers be added to the port list in;Count the port list In the number of port numbers that includes, obtain the port number of the currently transmitted data.
It is in addition, described by the way that the port information of the port collection port numbers different from the port list is added to In port list, so as to count to obtain the number for the port that this network side sends data.
In the port list for there are the port numbers carried in historical data according to the port collection and record, obtain currently transmitted Before the step of port number of data, following steps are also performed:The time that all of the port number in the port list is occurred Compared with current time;When the time that the port list middle-end slogan occurs with the current time difference more than default Time threshold T1When, when with the current time difference are more than into default the time that port numbers described in the port list occur Between threshold value T1Port information delete;Arranged in the port for there are the port numbers carried in historical data according to the port collection and record Table, in the step of obtaining the port number of currently transmitted data, when the port is present and the end in the port list During the different port numbers of slogan, the port information of the different port numbers is added in the port list;Described in statistics The number of different port numbers in port list, obtain the port number of the currently transmitted data.
By the way that overtime port information in the port list is deleted so that end side needs not continue to send useless Port information.
In addition, the number of port numbers different in the statistics port list, obtains the currently transmitted data Port number after, methods described also includes:When the port is in the presence of identical with the port numbers in the port list Port numbers when, when in the port list being updated into current the time that the port numbers of the identical port numbers occur Between.
The port and the port numbers identical port numbers in the port list are updated by using current time, So that when terminal receives next packet, newest port information and the number in next packet can be utilized According to being compared.
Brief description of the drawings
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
To make the object, technical solutions and advantages of the present invention clearer, each reality below in conjunction with accompanying drawing to the present invention The mode of applying is explained in detail.However, it will be understood by those skilled in the art that in each embodiment of the present invention, In order that reader more fully understands the application and proposes many ins and outs.But even if without these ins and outs and base Many variations and modification in following embodiment, each claim of the application technical side claimed can also be realized Case.
First embodiment of the invention provides a kind of data delivery method, applied to end side, when network side rlc layer is set Sequentially submit for false when, present embodiment is by parsing TCP/IP packets, according to the end in the packet parsed Message ceases, and then according to the number of the port, dynamically adjusts the mode submitted.
When the number of the port is less than default threshold value, data are sent in the way of sequentially submitting;When described When the number of port is more than or equal to default threshold value, data are sent in the way of non-sequential is submitted.So, user side The mode that can be submitted according to the adjustment of the Number dynamics of different ports, so as to avoid it is irrational submit mode caused by The reduction of data transmission in network speed.As shown in figure 1, the data delivery method includes:
S1, terminal receive the data that network side is sent, and the data include port collection, and the port collection is this transmission number According to network port numbers set.
The TCP/IP messages that the network side that terminal receives is sent, the TCP data bag is by header(Leader)In data Hold and form.IP bags also include header and data content portion, and wherein data division includes TCP bags again.The TCP header Part includes source port and destination interface, and the source port instruction network side sends the port of data, the destination interface instruction End side receives the port of data, and the IP header parts include source IP address and purpose IP address, and the source IP address refers to Show being sent out by which IP address for packet, which IP address the purpose IP address instruction packet is destined for 's.
S2, the data are parsed, obtain the port collection in the data.
S3, judge whether the port numbers in the port numbers and port list of the port are identical.If the port Concentrate and the port numbers different from the port numbers in the port list be present, then into step S4, if the port is deposited With the port numbers identical port numbers in the port list, do not do any action, be then directly entered step S5.
Specifically, need to establish a port list in present embodiment, port list record, which has in historical data, to be taken The port information of the port numbers of band, the port information include parsing obtained end from the TCP message packet header received The time that slogan and the port numbers occur.In actual applications, array port_list [n] can be utilized in the port list The port numbers occurred in the preset time are recorded in, target is correspondingly descended using array port_time [n] records port_list The time that port occurs, port_cur are used for recording the port numbers for the TCP/IP bags being currently received.The port_list [n] and The port_time [n] is initialized as sky, and the n is the integer more than 0.
S4, by the port information of the different port numbers be added to the port list in.
Example, in data delivery method provided in an embodiment of the present invention, the TCP message that is received first to current time Packet header is parsed, and obtains port collection, the port collection is the set of the port numbers of the network of this transmission data, in the set The port numbers of network comprising this multiple transmission data.Then, by each port numbers of the port and the port Port numbers in list are compared, when the port has the port numbers different from the port numbers in the port list When, the port information of the different port numbers is added in the port list, i.e., by the network of this transmission data The whole of port numbers is recorded in the port list, performs step S5.
The number of the port numbers included in S5, the statistics port list, obtains the port of the currently transmitted data Number.
Due to the present invention be directed to the situation of terminal downloads data, therefore, for terminal, calculating this and sending data The number of port numbers of network only need to calculate the number of source port number.
Particularly, when the port list is initialized as space-time, directly the port information of the port can be remembered Record is in the port list.
S6, judge whether the port number of the currently transmitted data is less than the default threshold value N1
S7, it is less than default threshold value N when the port number of the currently transmitted data1When, according to sequentially submitting mode By data delivery to upper strata.
S8, it is more than or equal to default threshold value N when the port number of the currently transmitted data1When, passed according to non-sequential Friendship mode is by data delivery to upper strata.
The default threshold value N1For what is determined according to engineering experience value, example, the N1Can be with value 3(Certainly, In actual applications, or other numerical value), when the port number of the currently transmitted data is less than the engineering experience value 3 When, according to sequentially submit mode data delivery can effectively ensure that data send speed.Even if the N1Certain in individual port There occurs the loss of PDU data on individual port, behind port wait the PDU data of the loss to retransmit successful subsequent supervention giving, It is unlikely to cause the propagation delay time on all of the port to increase, causes server end to reduce the situation of the transmission rate of data and send. When the port number of the currently transmitted data is more than or equal to threshold value N1When, submit mode data delivery energy according to non-sequential The enough effective speed for ensureing data and sending, when avoiding and generation loss of data less in present port number, triggers network The process of side Congestion Avoidance, ensure that message transmission rate.Therefore, as a whole, the present invention improves the speed of data transfer Rate.
Second of embodiment of the invention is related to another data delivery method, as shown in Fig. 2 second embodiment and the One embodiment is roughly the same, is in place of the main distinction:Carried in having historical data according to the port collection and record The port list of port numbers, before the step of obtaining the port number of currently transmitted data, also perform following steps:By the end The time that all of the port number occurs in mouth list is compared with current time;When the port list middle-end slogan occurs Between with the current time difference be more than time threshold T1When, by port numbers described in the port list occur time with it is described Current time difference is more than default time threshold T1Port information delete.Comprise the following steps that:
S9, by the port list all of the port number occur time made the difference respectively with current time, judge the difference Whether value is more than default time threshold T1.If the time that the port list middle-end slogan occurs and the current time difference More than default time threshold T1, then into step S10, if the time that the port list middle-end slogan occurs works as with described The preceding time difference is less than or equal to default time threshold T1, any action is not done, then is directly entered step S3.
Because the present invention is by being parsed to up TCP message packet header on PDCP layers, according in preset time The number of upstream port number determines the mode submitted, therefore, time that each TCP message receives be it is different, i.e., it is each The time that port sends data is different.
If when receiving this transmission data, the port list is not sky, i.e., before current time, the end The port information for parsing to obtain in the TCP data bag received in preset time, the port information are stored with mouth list The time occurred including port numbers and the port numbers., can be by the port list after receiving this and sending data The time that middle all of the port number occurs is compared with current time.
When S10, the time that port numbers described in the port list are occurred and the current time difference are more than default Between threshold value T1Port information delete.
Specifically, the time m that port numbers all in the port list are occurred1With current time m0Make the difference;It is if described m1With the m0Poor absolute value be more than or equal to default time threshold T1, then judge to hold corresponding to the port numbers time of occurrence The packet time-out that slogan is sent, the action of the overtime packet instruction terminal downloading data are over, therefore, Ke Yi Port information corresponding to the port numbers is deleted in the port list.If the m1With the m0Poor absolute value be less than it is pre- If time threshold T1, then judge that port numbers corresponding to the port numbers time of occurrence are still sending packet, receive the data The download action of the terminal of bag is still present, and therefore, does not do any action.After above-mentioned steps have been performed, embodiment is performed Step S3 described in one.
Example, it is assumed that the port numbers in 5 port informations included in the port list are respectively 1,2,3,4,5, The time that 5 port numbers occur is respectively 14:28:00、14:28:04、14:28:06、14:28:07、14:28:08, when The preceding time is 14:28:10, the time that all of the port number in the port list occurs is made the difference with current time respectively, obtained The time and the difference of current time that 5 port numbers occur are respectively 10 seconds, 6 seconds, 4 seconds, 3 seconds, 2 seconds, judge the difference Whether value is more than default time threshold T1, it is assumed that time threshold T1For 5 seconds, then it can substantially obtain, the time that port numbers 1 and 2 occur It is more than time threshold with the difference of current time.Therefore, the port that the port numbers are 1 and 2 can be believed in port list Breath is deleted.
In the application of reality, according to engineering experience, the T1Can be 5 seconds with value.
The data delivery method that the present embodiment provides calculates default compared with the data delivery method that embodiment one provides The method of the number of upstream port number in time is more accurate, therefore so that determines to pass according to the port numbers below The method and step of friendship mode is more accurate, as a whole, the further speed for improving data transfer of the present invention.
The third of the invention embodiment is related to another data delivery method, as shown in figure 3, the 3rd embodiment and the Two embodiments are roughly the same, are in place of the main distinction:Of different port numbers in the statistics port list Number, after obtaining the port number of the currently transmitted data, methods described also includes:
S11, find out the port and the port numbers identical port numbers in the port list.
S12, when in the port list being updated into current the time that the port numbers of the identical port numbers occur Between.
So, the time that port numbers corresponding to each port numbers occur in the port list occurs to be the last Time, can make it that the port information that is recorded in the port list is more accurate so that follow-up according to the net received The data that network side is sent further carry compared with the port list so as to correctly be submitted the accuracy of method Height, as a whole, the embodiment of the present invention is with embodiment two-phase comparatively, the further speed for improving data transfer Rate.
Particularly, in the data delivery method, when port number changes, data sender's formula is in institute in network State and sequentially submit mode and the non-sequential is submitted when dynamically being adjusted between mode, the data delivery method also includes pair The PDU of loss judgement.In sequentially ergodic algorithm is submitted, judgement is increased to the PDU of missing, if the PDU is previously to have received To and submitted, then it is assumed that the PDU in caching is still continuous, can carry out PDU group bag, and SDU is reported Layer.
Specifically, assume that the port number of previous time transmission data is more than default threshold value N1, then previous time hair The mode of data is sent to submit mode for non-sequential, the port number that data are sent in current time is less than default threshold value N1 When, send the modes of data mode dynamic is submitted by non-sequential and be adjusted to sequentially to submit mode, there occurs be delivered to from non-sequential The switching sequentially submitted.Assuming that packet loss occurred when non-sequential submits mode, but there is part to organize the PDU of bag and organized bag For SDU(Service Data Unit, service data unit)Upper strata is submitted to, when data sender's formula dynamic is adjusted to sequentially , it is necessary to which the above-mentioned PDU parts for having organized bag are excluded when submitting mode, remaining PDU groups bag is then submitted to upper strata.
Example, when non-sequential is submitted, it is assumed that the PDU that SN is 0,3,4,6 is have received, the SN is PDU sequence number, its The whole that the part and SN that middle SN is 3 are 4 constitutes a SDU, has been submitted to upper strata, and remaining SN does not have also for 0,3,6 Submit.In data below are sent, the change if as port number causes RLC to be transferred to sequentially to submit, and previously loses The PDU of mistake, all it have received by retransmitting.For example, SN=1,2,5 PDU have received, then just have 0 at this moment caching, 1,2,3, 5th, 6 these PDU are not submitted to upper strata also.The wherein PDU of SN=4 due to submitting up before, so this 6 PDU are Upper strata can be submitted to according to the requirement sequentially submitted.
So, mode is being submitted in sequentially submitting the dynamic adjustment of mode from non-sequential, data delivery process is more What is added is coherent and accurate, will not trigger the re-transmission of data because of the loss of PDU data, improve the speed of data transmission in network Rate.
Four embodiment of the invention provides a kind of data delivery device, applied to user side, as shown in figure 4, the number Include according to device is submitted:
Receiving unit 401, the data of network side transmission are received for terminal, and the data include port collection, the port Collect the set of the port numbers of the network for this transmission data.
Processing unit 402, the port for having the port numbers carried in historical data according to the port collection and record arrange Table, obtain the port number of currently transmitted data.
First execution unit 403, it is less than default threshold value N for the port number when the currently transmitted data1When, According to sequentially submitting mode data delivery.
Second execution unit 404, it is more than or equal to default threshold value for the port number when the currently transmitted data N1When, submit mode data delivery according to non-sequential.
Further, as shown in figure 5, the processing unit 402 specifically includes:
Subelement 4021 is added, for the end different from the port numbers in the port list be present when the port During slogan, the port information of the different port numbers is added in the port list.
Subelement 4022 is counted, for counting the number of the port numbers included in the port list, is obtained described current Send the port number of data.
The embodiment of the present invention compared with prior art, sentence by the number for adding the port to sending data in network Disconnected, the port collection and record that the data that processing unit is sent according to terminal reception network side include have what is carried in historical data The port list of port numbers, the port number of currently transmitted data is obtained, then the first execution unit and the second execution unit root Select to submit mode according to the port number of the currently transmitted data, when the port number of the currently transmitted data becomes During change, submit mode to described and dynamically adjusted, so as to avoid it is less in present port number when non-sequential is submitted and During generation loss of data, trigger the process of network side Congestion Avoidance, ensure that message transmission rate, while it also avoid sequentially passing During friendship during and generation loss of data more in present port number, trigger the propagation delay time increase on port, ensure that data pass Defeated speed.Therefore, the present invention improves the speed of data transfer.
Fifth embodiment of the invention is related to another data delivery device, as shown in Figure 6.5th embodiment and the 4th Embodiment is roughly the same, is in place of the main distinction:The data delivery device is added with lower unit:
Comparing unit 405, for the time for all of the port number in the port list and the port numbers occur and work as The preceding time is compared.
Unit 406 is deleted, the time for occurring when the port list middle-end slogan is more than with the current time difference Default time threshold T1When, the time that port numbers described in the port list occur and the current time difference are more than in advance If time threshold T1Port information delete.
The data delivery device that the present embodiment provides is compared with the data delivery method that embodiment one provides, comparing unit Time by the way that all of the port number in the port list and the port numbers are occurred compared with current time, deletes single The time that port numbers described in the port list occur and the current time difference are more than default time threshold T by member1's Port information is deleted, so that the method for calculating the number of the upstream port number in preset time is more accurate, therefore, makes Determine that the method and step for submitting mode is more accurate according to the port numbers behind obtaining, as a whole, the present invention more enters The speed for improving data transfer of one step.
Sixth embodiment of the invention is related to another data delivery device, as shown in Figure 7.6th embodiment and the 5th Embodiment is roughly the same, is in place of the main distinction:The data delivery device is added with lower unit:
Updating block 407, for existing and the port numbers identical port in the port list when the port Number when, the time that the port numbers of the identical port numbers occur is updated to current time in the port list.
So, the time that port numbers corresponding to each port numbers in the port list occurs in updating block updates The time occurred for the last time, it can make it that the port information that is recorded in the port list is more accurate so that follow-up The data sent according to the network side that receives are compared with the port list so as to correctly being submitted the standard of method True property further improves, and as a whole, the embodiment of the present invention is with embodiment two-phase comparatively, further improving The speed of data transfer.
It is noted that each module involved in present embodiment is logic module, and in actual applications, one Individual logic unit can be a part for a physical location or a physical location, can also be with multiple physics lists The combination of member is realized.The operation principle of each physical location may be referred to the narration in embodiment of the method, and the present invention is herein no longer Repeat.In addition, in order to protrude the innovative part of the present invention, do not have with solving skill proposed by the invention in present embodiment The less close unit of art issue concerns introduces, but this is not intended that in present embodiment and other units are not present.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention, And in actual applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (8)

  1. A kind of 1. data delivery method, applied to user side, it is characterised in that including:
    Terminal receives the data that network side is sent, and the data include port collection, and the port collection sends the net of data for this The set of the port numbers of network;
    There is the port list of the port numbers carried in historical data according to the port collection and record, obtain currently transmitted data Port number;
    When the port number of the currently transmitted data is less than default threshold value N1When, according to sequentially submitting mode data delivery;
    When the port number of the currently transmitted data is more than or equal to default threshold value N1When, submit mode according to non-sequential and pass Intersection number evidence;
    Wherein, the port list for having the port numbers carried in historical data according to the port collection and record, is obtained current The port number for sending data specifically includes:
    When the port has the port numbers different from the port numbers in the port list, by the different port Number port information be added to the port list in;
    Count the number of the port numbers included in the port list or count of port numbers different in the port list Number, obtains the port number of the currently transmitted data.
  2. 2. data delivery method according to claim 1, it is characterised in that history is being had according to the port collection and record The port list of the port numbers carried in data, before the step of obtaining the port number of currently transmitted data, also perform following Step:
    By the time of all of the port number appearance in the port list compared with current time;
    It is more than time threshold T with the current time difference when the time that the port list middle-end slogan occurs1When, by the end The time that port numbers occur described in mouth list is more than default time threshold T with the current time difference1Port information delete Remove.
  3. 3. data delivery method according to claim 2, it is characterised in that different in the statistics port list Port numbers number, after obtaining the port number of the currently transmitted data, methods described also includes:
    When the port is present with port numbers identical port numbers in the port list, in the port list The time that the port numbers of the identical port numbers occur is updated to current time.
  4. 4. data delivery method according to claim 2, it is characterised in that
    The time threshold T1For 5 seconds.
  5. A kind of 5. data delivery device, applied to user side, it is characterised in that including:
    Receiving unit, the data of network side transmission are received for terminal, the data include port collection, and the port collection is this Send the set of the port numbers of the network of data;
    Processing unit, for there is the port list of the port numbers carried in historical data according to the port collection and record, obtain The port number of currently transmitted data;
    First execution unit, it is less than default threshold value N for the port number when the currently transmitted data1When, according to sequentially Submit mode data delivery;
    Second execution unit, it is more than or equal to default threshold value N for the port number when the currently transmitted data1When, according to Non-sequential submits mode data delivery;
    Wherein, the processing unit specifically includes:
    Subelement is added, for when the port numbers different from the port numbers in the port list be present in the port, The port information of the different port numbers is added in the port list;
    Subelement is counted, for counting the number of the port numbers included in the port list or counting in the port list not The number of same port numbers, obtains the port number of the currently transmitted data.
  6. 6. data delivery device according to claim 5, it is characterised in that the data delivery device also includes:
    Comparing unit, for the time of all of the port number in the port list and port numbers appearance to be entered with current time Row compares;
    Unit is deleted, when the time for occurring when the port list middle-end slogan is more than default with the current time difference Between threshold value T1When, when with the current time difference are more than into default the time that port numbers described in the port list occur Between threshold value T1Port information delete.
  7. 7. data delivery device according to claim 6, it is characterised in that the data delivery device also includes:
    Updating block, for when the port is present with port numbers identical port numbers in the port list, The time that the port numbers of the identical port numbers occur is updated to current time in the port list.
  8. 8. data delivery device according to claim 6, it is characterised in that
    The time threshold T1For 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 CN104426638A (en) 2015-03-18
CN104426638B true 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)

Families Citing this family (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
CN109474651B (en) 2017-09-08 2020-08-25 华为技术有限公司 Method and apparatus for processing data
WO2019047912A1 (en) * 2017-09-08 2019-03-14 华为技术有限公司 Method and device for processing data
CN109561468A (en) * 2017-09-26 2019-04-02 中国移动通信有限公司研究院 A kind of data delivery method, data transmission method for uplink and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653066B2 (en) * 2004-11-04 2010-01-26 Cisco Technology Inc. Method and apparatus for guaranteed in-order delivery for FICON over SONET/SDH transport

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104426638A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN102006283B (en) Data transmission method and device
JP4318733B2 (en) Control protocol data unit transmission / reception method including processing time information
US9532378B2 (en) Apparatus and method for moving a receive window in a radio access network
CN100574174C (en) The control method that radio link control layer buffer area overflows
CN102148662B (en) Adjusting method and device for data transmitting speed
EP1002408B1 (en) Communication method and system
CN108881008A (en) A kind of methods, devices and systems of data transmission
KR102046792B1 (en) Method of transporting data from sending node to destination node
WO2013053304A1 (en) Method and device for implementing tcp transmission
CN101094448A (en) Method and apparatus for handling downlink data upon handover in a wireless communications system
CN104426638B (en) A kind of data delivery method and apparatus
WO2020147453A1 (en) Data transmission method and related apparatus
CN101369877A (en) Wireless transmission control protocol processing method and equipment
CN102769520A (en) Wireless network congestion control method based on stream control transmission protocol (SCTP)
EP1770893B1 (en) Method and apparatus for initiating a storage window in a wireless communications system
CN104753629B (en) A kind of data delivery method and apparatus
CN106341368A (en) Data processing method and device
CN104580171B (en) The transmission method of Transmission Control Protocol, device and system
CN111092907A (en) UDP (user Datagram protocol) -based data stream fast transmission method, system and medium
WO2016061987A1 (en) Packet processing method and device
CN107959554B (en) A kind of repeating method and device of data
JP4447028B2 (en) Communication control method, transmission apparatus, and computer program
Bestak et al. RLC buffer occupancy when using a TCP connection over UMTS
US8171363B2 (en) Method and device for counting transmission times of data unit, transmission device, and computer program
CN107959947A (en) A kind of 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