CN110290559A - A kind of data transmission method and terminal - Google Patents

A kind of data transmission method and terminal Download PDF

Info

Publication number
CN110290559A
CN110290559A CN201910619471.3A CN201910619471A CN110290559A CN 110290559 A CN110290559 A CN 110290559A CN 201910619471 A CN201910619471 A CN 201910619471A CN 110290559 A CN110290559 A CN 110290559A
Authority
CN
China
Prior art keywords
data
uplink
caching
application
terminal
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
CN201910619471.3A
Other languages
Chinese (zh)
Other versions
CN110290559B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910619471.3A priority Critical patent/CN110290559B/en
Publication of CN110290559A publication Critical patent/CN110290559A/en
Application granted granted Critical
Publication of CN110290559B publication Critical patent/CN110290559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/1874Buffer management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
    • H04W72/1268Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows of uplink data flows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/543Allocation or scheduling criteria for wireless resources based on quality criteria based on requested quality, e.g. QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • 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]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Landscapes

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

Abstract

The present invention provides a kind of data transmission method and terminal, this method comprises: determining the uplink parameter of the terminal;If the uplink parameter meets preset condition, the part upstream data of target object in the uplink caching is abandoned, so that the uplink parameter is unsatisfactory for the preset condition.The above method provided by the invention, by the part upstream data for abandoning the target object in uplink caching, the data volume that terminal sends the upstream data accumulated in uplink caching can be reduced, to reduce the time that terminal sends the data accumulated in uplink caching, to reduce the data transmission delay of target object.

Description

A kind of data transmission method and terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of data transmission method and terminals.
Background technique
When network is in weaker environment (such as Reference Signal Received Power below -110dbm when), since uplink is awarded Weigh low, data link layer uplink caching (buffer) data accumulation.It is tired before needing to empty when network recovery is to preferable situation Long-pending caching could send new data.Such as: the caching of accumulation reaches 300000 bytes, and uplink is awarded when network fluctuation improves Weighing (UL grants) is 300 bytes/millisecond, needs 1s or so that can just empty the cache, then carries out subsequent transmission again.In this way, leading Cause data transmission delay long.
Summary of the invention
The embodiment of the present invention provides a kind of data transmission method and terminal, to solve the feelings unstable in network signal intensity Under condition, the long problem of data transmission delay.
In order to solve the above technical problems, the present invention is implemented as follows:
In a first aspect, being applied to terminal the embodiment of the invention provides a kind of data transmission method, comprising:
Determine the uplink parameter of the terminal;
If the uplink parameter meets preset condition, line number on the part of target object is abandoned in uplink caching According to so that the uplink parameter is unsatisfactory for the preset condition.
Second aspect, the embodiment of the present invention also provide a kind of terminal, comprising:
First determining module, for determining the uplink parameter of the terminal;
Processing module abandons target object in the uplink caching if meeting preset condition for the uplink parameter Part upstream data so that the uplink parameter is unsatisfactory for the preset condition.
The third aspect, the embodiment of the present invention also provide a kind of terminal, including processor, memory and are stored in the storage On device and the computer program that can run on the processor, realized when the computer program is executed by the processor The step of stating data transmission method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, the computer program realizes the step of above-mentioned data transmission method when being executed by processor Suddenly.
In embodiments of the present invention, the uplink parameter of the terminal is determined;If the uplink parameter meets preset condition, The part upstream data for abandoning target object in the uplink caching, so that the uplink parameter is unsatisfactory for the default item Part.In this way, can reduce terminal by the part upstream data for abandoning the target object in uplink caching and send in uplink caching and tire out The data volume of long-pending upstream data, to reduce the time that terminal sends the data accumulated in uplink caching, to reduce target pair The data transmission delay of elephant.
Detailed description of the invention
Fig. 1 is one of the flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 2 is the two of the flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 3 is the three of the flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 4 is the four of the flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 5 is the five of the flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 6 is one of the structure chart of terminal provided in an embodiment of the present invention;
Fig. 7 is the two of the structure chart of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It is one of the flow chart of data transmission method provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, as shown in Figure 1, this Embodiment provides a kind of data transmission method, is applied to terminal, comprising the following steps:
Step 101, the uplink parameter for determining the terminal.
Uplink parameter can be the total amount of data in terminal uplink caching, the upstream data of target object in uplink caching One or more of data volume or the time delay of target object.Target object can be regarded as the application of terminal, for example, game Using, Video Applications, live streaming application etc. to the demanding application of time delay.
If step 102, the uplink parameter meet preset condition, the part of target object in the uplink caching is abandoned Upstream data, so that the uplink parameter is unsatisfactory for the preset condition.
If uplink parameter includes the data volume of the upstream data of target object in uplink caching, on preset condition may include The data volume of the upstream data of target object is greater than the first data-quantity threshold in row caching;If uplink parameter includes that terminal uplink is slow Total amount of data in depositing, then preset condition may include that the total amount of data in terminal uplink caching is greater than the second data-quantity threshold;If Uplink parameter includes the time delay of target object, then preset condition may include that the time delay of target object is greater than time threshold.Default item Part is regarded as influencing the condition of the data transmission delay of target object.
In abandoning uplink caching when the part upstream data of target object, it can preferentially abandon and be stored in uplink caching at first In data.For example, the time sequencing in uplink caching is stored according to the upstream data of target object, from oldest stored upper Data in row caching start successively to abandon, until uplink parameter is unsatisfactory for preset condition.
In the present embodiment, the part upstream data of target object, it can be understood as, the institute of target object in uplink caching There is a part of upstream data in upstream data, it is understood that be all upstream datas of target object in uplink caching.
When network is in weaker environment, uplink caching will appear data accumulation, when network improves, although uplink authorization It gets higher, but the data accumulated in still needing to cache uplink are first sent, and are then transmitted again to new data.Number When according to accumulating more, it is more to send the time that the data accumulated in uplink caching need.In the present embodiment, by abandoning uplink The part upstream data of target object in caching can reduce the data that terminal sends the upstream data accumulated in uplink caching Amount, to reduce the time that terminal sends the data accumulated in uplink caching, to reduce the data transmission delay of target object.? That is uplink caching is easy to appear the case where accumulating more data volume in the case where network signal intensity is unstable, pass through The part upstream data for abandoning target object in uplink caching, can reduce the data transmission delay of target object.
In the embodiment of the present invention, above-mentioned terminal can for mobile phone, tablet computer (Tablet Personal Computer), Laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), Mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
The data transmission method of the embodiment of the present invention determines the uplink parameter of the terminal;If the uplink parameter meets Preset condition then abandons the part upstream data of target object in the uplink caching, so that the uplink parameter is unsatisfactory for The preset condition, in this way, can reduce terminal by the part upstream data for abandoning the target object in uplink caching and send The data volume for the upstream data accumulated in row caching, to reduce the time that terminal sends the data accumulated in uplink caching, thus Reduce the data transmission delay of target object.
When the uplink parameter difference of use, corresponding preset condition is different, is exemplified below several implementations to above-mentioned Step 102 is illustrated.
The first implementation: including the first application of the terminal in the target object, and the uplink parameter includes In the case where the data volume of the upstream data of first application described in the uplink caching and the total amount of data of uplink caching, Above-mentioned steps 102, comprising:
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute The total amount of data for stating uplink caching is greater than the second data-quantity threshold, then abandons the part of the first application described in the uplink caching Upstream data, so that the data volume of the remaining upstream data of the first application described in uplink caching is no more than first number According to amount threshold value, and/or, so that the total amount of data of uplink caching is not more than the second data-quantity threshold;
Alternatively,
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute The total amount of data for stating uplink caching is greater than the second data-quantity threshold, and triggering uplink maximum retransmits, to empty the uplink caching.
Specifically, the data volume that preset condition is the upstream data of the first application described in uplink caching is greater than first Data-quantity threshold, and the total amount of data of uplink caching is greater than the second data-quantity threshold.Second data-quantity threshold can be according to reality Border situation is configured, it is not limited here.Second data-quantity threshold is greater than the first data-quantity threshold.Second data-quantity threshold can It is considered that uplink caches acceptable maximum data cumulant, it is acceptable most that the first data-quantity threshold is regarded as the first application Small data quantity.The data volume of the upstream data of first application described in caching when uplink is greater than the first data-quantity threshold, and described When the total amount of data of uplink caching is greater than the second data-quantity threshold, the upstream data in uplink caching is handled.
When upstream data in caching to uplink is handled, including two kinds of processing modes.The first processing mode are as follows: The part upstream data of the first application described in the uplink caching is abandoned, so that the first application described in uplink caching The data volume of remaining upstream data is not more than first data-quantity threshold, and/or, so that the total amount of data of uplink caching No more than the second data-quantity threshold.By abandoning the part upstream data of the first application in uplink caching, terminal hair can be reduced The data volume for the upstream data accumulated in row caching is served, to reduce the time that terminal sends the data accumulated in uplink caching, To reduce the data transmission delay of the first application.For application higher for delay requirement, it can be subtracted using present treatment mode Few time delay, improves user experience.
The part upstream data of first application, it can be understood as, in uplink caching in all upstream datas of the first application A part of upstream data, it is understood that be, uplink caching in first application all upstream datas.
Second of processing mode are as follows: triggering uplink maximum retransmits, to empty the uplink caching.Trigger uplink maximum weight It passes, may make terminal from Radio Link Failure (Radio Link Failure, abbreviation RLF) is determined, rebuild into Radio Link. Terminal is rebuild by Radio Link, can complete emptying for uplink caching.After emptying, the residue of the first application in uplink caching The data volume of upstream data is 0, and the total amount of data of uplink caching is 0, still meets the surplus of the first application described in uplink caching The total amount of data that the data volume of remaining upstream data is cached no more than first data-quantity threshold or the uplink is no more than the Two data-quantity thresholds.
It in second of processing mode, is retransmitted from triggering uplink maximum, so that terminal is from judgement Radio Link Failure to complete It is rebuild at Radio Link, needs tens to several hundred milliseconds, there are certain risks, are preferably applied to network and fluctuation in short-term occur Afterwards, the case where data in needing to cache uplink are restored rapidly.By emptying uplink caching, it is slow that terminal transmission uplink can be reduced The data volume of the upstream data of middle accumulation is deposited, to reduce the time that terminal sends the data accumulated in uplink caching, to reduce The data transmission delay of first application.
Second of implementation: including the first application of the terminal in the target object, and the uplink parameter includes In the case where the data volume of the upstream data of first application described in the uplink caching and the time delay of first application, Above-mentioned steps 102, comprising:
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute Time delay is stated greater than time threshold, then the part upstream data of the first application described in the uplink caching is abandoned, so that described The data volume of the remaining upstream data of first application described in uplink caching is not more than first data-quantity threshold, and/or, make It obtains the time delay and is not more than the time threshold;
Alternatively,
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute Time delay is stated greater than time threshold, triggering uplink maximum retransmits, to empty the uplink caching.
Specifically, the time delay of the first application can be from transmission control protocol (the Transmission Control of terminal Protocol, abbreviation TCP) or Internet protocol (Internet Protocol, abbreviation IP) (can be regarded as TCP/IP layer) layer in It obtains.In the second implementation, uplink parameter not only includes the data volume of the upstream data of the first application in uplink caching, It further include the time delay of the first application.The data volume of the upstream data of the first application described in uplink caching is greater than the first number According to amount threshold value, and the time delay is handled the upstream data in uplink caching greater than in the case where time threshold.
When upstream data in caching to uplink is handled, including two kinds of processing modes.The first processing mode are as follows: The part upstream data of the first application described in the uplink caching is abandoned, so that the first application described in uplink caching The data volume of remaining upstream data is not more than first data-quantity threshold, and/or, so that the time delay is not more than the time Threshold value.
In abandoning uplink caching when the part upstream data of the first application, it can preferentially abandon and be stored in uplink caching at first In data.For example, the time sequencing in uplink caching is stored according to the upstream data of the first application, from oldest stored upper Row caching in data start successively to abandon, until uplink caching described in first application remaining upstream data data volume not Greater than first data-quantity threshold, and/or, so that the time delay is not more than the time threshold.
By abandoning the part upstream data of the first application in uplink caching, terminal can be reduced and sent in uplink caching and tired out The data volume of the upstream data of the first long-pending application, to reduce the time that terminal sends the data accumulated in uplink caching, thus Reduce the data transmission delay of the first application.For application higher for delay requirement, when can be reduced using present treatment mode Prolong, improves user experience.
The part upstream data of first application, it can be understood as, in uplink caching in all upstream datas of the first application A part of upstream data, it is understood that be, uplink caching in first application all upstream datas.
Second of processing mode are as follows: triggering uplink maximum retransmits, to empty the uplink caching.Trigger uplink maximum weight It passes, may make terminal from Radio Link Failure (Radio Link Failure, abbreviation RLF) is determined, rebuild into Radio Link. Terminal is rebuild by Radio Link, can complete emptying for uplink caching.After emptying, the residue of the first application in uplink caching The data volume of upstream data is 0, and the data volume for still meeting the remaining upstream data of the first application described in uplink caching is little In the condition of first data-quantity threshold.
It in second of processing mode, is retransmitted from triggering uplink maximum, so that terminal is from judgement Radio Link Failure to complete It is rebuild at Radio Link, needs tens to several hundred milliseconds, there are certain risks, are preferably applied to network and fluctuation in short-term occur Afterwards, the case where data in needing to cache uplink are restored rapidly.By emptying uplink caching, it is slow that terminal transmission uplink can be reduced The data volume of the upstream data of middle accumulation is deposited, to reduce the time that terminal sends the data accumulated in uplink caching, to reduce The data transmission delay of first application.
It retransmits from triggering uplink maximum, so that terminal is rebuild Zi judgement Radio Link Failure to Radio Link is completed, needs Tens arrive several hundred milliseconds, there are certain risk, be preferably applied to after fluctuation in short-term occurs in network, need to cache uplink Data the case where restoring rapidly.By emptying uplink caching, terminal can be reduced and send the upstream data accumulated in uplink caching Data volume, the time of data accumulated in uplink caching is sent to reduce terminal, to reduce the data transmission of target object Time delay.
In caching to uplink, whether there can be the mark of target object to judge whether the data are target by data The data of object.The mode of realization are as follows: in step 101, determine the uplink parameter of the terminal before, further includes:
Mark is arranged in upstream data for first application;
The upstream data of the first application described in the uplink caching is determined according to the mark.
Specifically, terminal is marked in upstream data of the TCP/IP layer to target object, it is unique for upstream data setting Mark, terminal can distinguish other upstream datas of the upstream data of target object and terminal according to mark.
In Packet Data Convergence Protocol (Packet Data Convergence Protocol, abbreviation PDCP), radio chains Circuit control layer agreement (Radio Link Control, abbreviation RLC), FDDI sublayer protocol (Media Access Control, abbreviation MAC) subpackage processing in, to high level arrive packet, such as find target object mark, then in equivalent layer In subpackage, the mark of target object is also added.For needing to remove current layer during transmitting toward the packet of low layer transmitting Transmitted again after the mark of the target object of addition (i.e. data in transmission process, be according to not marker data format into Row transmitting, when data are in each layer of L2, data be to have existing for the data format of marker, L2 layer including PDCP layers, Rlc layer and MAC layer).The mark of target object can only be stored in the head (header) of the data of each layer, for example, can be Head increases marker, this marker may map to target object (i.e. the numerical value with target object of marker are corresponding).Data In transmission process, terminal can determine whether according to this marker be target object data, determine whether to need to abandon.
Terminal when the upstream data of target object, can determine that the uplink is slow according to the mark in determining uplink caching The upstream data of first application described in depositing, so that it is determined that the data volume of the upstream data of the first application.Uplink caching is located at MAC Layer.
Terminal can be determined in the uplink caching by the way that mark is arranged for the upstream data of target object according to the mark The data volume of the upstream data of first application, further to be determined according to the data volume of the upstream data of the target object Whether need to abandon data, and when abandoning data, according to the upstream data for determining target object is identified, thus to target object Upstream data abandoned.
The present invention also provides another kind determine whether be target object data mode.Further, in the determining institute Before the uplink parameter for stating terminal, further includes:
If the upstream data of first application includes preset service quality rating mark QCI, true according to the QCI Determine the logic channel for carrying out uplink;
Data in the logic channel are determined as to the upstream data of first application.
Specifically, the upstream data of target object may have distinctive service quality rating mark (QoS Class Identifier, abbreviation QCI), wherein QoS is service quality (Quality of Service, abbreviation QoS), for example, some Game data.In the case where the upstream data of target object includes preset QCI, determined according to the QCI for carrying out The logic channel of row transmission, which is used for transmission the upstream data of target object, at this point, the data in the logic channel It can be identified as the upstream data of target object, and the data volume in the logic channel be determined as the upper of first application The data volume of row data.When carrying out data discarding, the data in logical channel buffer are abandoned.That is, passing through Logic channel can determine the upstream data of target object.Logical channel buffer can be regarded as a part of uplink caching.
When being abandoned to the data in logical channel buffer, it can preferentially abandon and be stored in logical channel buffer at first Data.For example, data are stored in the time sequencing in logical channel buffer, successively abandoned since the data of oldest stored, Until uplink parameter is unsatisfactory for preset condition.Alternatively, it is also possible to carry out emptying processing to logic channel, i.e., by logical channel buffer In data all remove.
In the present embodiment, by abandoning the data in logical channel buffer, line number on the part to abandon target object According to, the data volume that terminal sends the upstream data accumulated in uplink caching can be reduced, it is tired in terminal transmission uplink caching to reduce The time of long-pending data, to reduce the data transmission delay of target object.
Terminal also can be by configuring the movement of PDCP packet loss timer (discard timer) Lai Jinhang packet loss, and terminal can needle To specific application (such as first application) using customized thresholding (i.e. the first data-quantity threshold, and/the second data-quantity threshold) into Row packet loss, compared to packet loss timer is used, packet loss mode is more flexible.When packet loss timer is configured to infinitely great (infinity) When, the packet loss behavior of terminal is directly realized according to the packet loss mode in above-mentioned implementation;When packet loss timer is not set When being set to infinitely great (infinity) (such as 300ms), if in uplink parameter, the time delay of target object is less than the value (300ms), The effect for improving time delay can be also played using data transmission method of the invention.
As shown in Fig. 2, Fig. 2 is the two of the flow diagram of data transmission method provided in an embodiment of the present invention, such as Fig. 2 institute Show, Fig. 2 is illustrated by taking low time delay class game as an example.
Step 111, into game, i.e., running game application in terminal.
The upstream data of game application is marked in step 122.Terminal according to the mark of game application (alternatively referred to as Data Identification), it is marked in data of the TCP/IP layer to game application.During uplink is sent, when these data reach modem When, it can also be distinguished in modem (can be regarded as L2 layers) with other data.In the subpackage processing of PDCP, RLC, MAC, To the packet that high level arrives, such as " game data mark " is found, then in the subpackage of equivalent layer, " game data mark is also added.It is right It is transmitted again after needing to remove " the game data mark " of current layer in the version of transmitting in the packet toward low layer transmitting.Data mark Knowledge can only be stored in each layer header, need to increase marker in header, this marker may map to some or certain Class low time delay application.In data transmission procedure, modem can position the data for needing to abandon according to this marker.
Data volume A1 > X and A2 > Y are accumulated in step 133, uplink caching.Pass through the threshold X (of customized setting Two data-quantity thresholds) and threshold Y (the first data-quantity threshold), wherein X is acceptable maximum data cumulant, and Y is The acceptable minimum data amount of game application (Y < X).Accumulation data volume is denoted as A1, the data volume of game application accumulation in buffer It is denoted as A2.In game application operation, if working as A1 > X and A2 > Y because uplink is limited to cause L2 uplink caching (buffer) accumulation When, go to step 44 execution.
Step 144 identifies and abandons the partial game data in uplink caching.It identifies and abandons beyond threshold The correspondence game data amount of X.For example, abandoning the game data of oldest accumulated, until A1≤X or A2≤Y, circulation is exited simultaneously Monitoring buffer is kept to accumulate data volume.
Threshold X and Threshold Y may be provided in terminal projects mode or developer's mode and is adjusted.
Step 155 subsequent is given out a contract for a project again since serial number n.If the data packet of MAC layer is without abandoning, in respective counts Before being sent according to packet, retransmited after mark (i.e. terminal is identification target object, for the mark of target object addition) need to be removed;If right The data packet of MAC layer is abandoned, then abandon when, need also accordingly to abandon rlc layer and PDCP layer of packet, and rlc layer with PDCP packet number keeps continuous, that is, while abandoning corresponding packet, need to record the serial number n of discarding accordingly wrapped, it is subsequent to give out a contract for a project When need again since serial number n, avoid out-of-order repeating transmission.
As shown in figure 3, Fig. 3 is the three of the flow diagram of data transmission method provided in an embodiment of the present invention, such as Fig. 3 institute Show, Fig. 3 is illustrated by taking low time delay class game as an example.
The step of difference of Fig. 3 and Fig. 2 is, eliminates label game application data.Game data has distinctive QCI is carried by corresponding logic channel.When carrying out data discarding, it is only necessary to be directed to the distinctive logic channel of game data It is abandoned.
Step 211, into game, i.e., running game application in terminal.
Data volume A1 > X and A2 > Y are accumulated in step 222, uplink caching.Pass through the threshold X (of customized setting Two data-quantity thresholds) and threshold Y (the first data-quantity threshold), wherein X is acceptable maximum data cumulant, and Y is The acceptable minimum data amount of game application (Y < X).Accumulation data volume is denoted as A1, the data volume of game application accumulation in buffer It is denoted as A2.In game application operation, if working as A1 > X and A2 > Y because uplink is limited to cause L2 uplink caching (buffer) accumulation When, go to step 233 execution.
Step 233 recognizes counterlogic channel by corresponding QCI, and loses to the partial data in logic channel It abandons.
It identifies and abandons the correspondence game data amount beyond threshold X.For example, abandoning the game number of oldest accumulated According to exiting circulation and keep monitoring buffer accumulation data volume until A1≤X or A2≤Y.
Threshold X and Threshold Y may be provided in terminal projects mode or developer's mode and is adjusted.
Step 244 subsequent is given out a contract for a project again since serial number n.If the data packet of MAC layer is without abandoning, in respective counts Before being sent according to packet, retransmited after mark (i.e. terminal is identification target object, for the mark of target object addition) need to be removed;If right The data packet of MAC layer is abandoned, then abandon when, need also accordingly to abandon rlc layer and PDCP layer of packet, and rlc layer with PDCP packet number keeps continuous, that is, while abandoning corresponding packet, need to record the serial number n of discarding accordingly wrapped, it is subsequent to give out a contract for a project When need again since serial number n, avoid out-of-order repeating transmission.
Mode shown in the ratio of mode shown in Fig. 3 Fig. 2 is more concise direct, but is limited by some factors: such as opening for double Game can not identify different game datas, alternatively, not support that particular game corresponds to specific for certain place core net strategies QCI etc..
As shown in figure 4, Fig. 4 is the four of the flow diagram of data transmission method provided in an embodiment of the present invention, such as Fig. 4 institute Show, Fig. 4 is illustrated by taking low time delay class game as an example.The difference of Fig. 4 and Fig. 2 is, while considering game data in uplink The time delay of data volume and game application in caching.
Step 311, into game, i.e., running game application in terminal.
The upstream data of game application is marked in step 322.Terminal according to the mark of game application (alternatively referred to as Data Identification), it is marked in data of the TCP/IP layer to game application.During uplink is sent, when these data reach modem When, it can also be distinguished in modem (can be regarded as L2 layers) with other data.In the subpackage processing of PDCP, RLC, MAC, To the packet that high level arrives, such as " game data mark " is found, then in the subpackage of equivalent layer, " game data mark is also added.It is right It is transmitted again after needing to remove " the game data mark " of current layer in the version of transmitting in the packet toward low layer transmitting.Data mark Knowledge can only be stored in each layer header, need to increase marker in header, this marker may map to some or certain Class low time delay application.In data transmission procedure, modem can position the data for needing to abandon according to this marker.
Step 333, game application time delay T1 > T and A2 > Y.Game time delay T1 can be obtained from TCP/IP.By customized The threshold T (time threshold) and threshold Y (the first data-quantity threshold) of setting.Buffer game application accumulation Data volume is denoted as A2.In game application operation, if working as T1 > T because uplink is limited to cause L2 uplink caching (buffer) accumulation And when A2 > Y, 344 execution are gone to step.
Step 344 identifies and abandons the partial game data in uplink caching, that is, identifies and abandon the game of oldest accumulated Data exit circulation and keep monitoring buffer accumulation data volume until A1≤X or A2≤Y.
Threshold T and Threshold Y may be provided in terminal projects mode or developer's mode and is adjusted.
Step 355 subsequent is given out a contract for a project again since serial number n.If the data packet of MAC layer is without abandoning, in respective counts Before being sent according to packet, retransmited after mark (i.e. terminal is identification target object, for the mark of target object addition) need to be removed;If right The data packet of MAC layer is abandoned, then abandon when, need also accordingly to abandon rlc layer and PDCP layer of packet, and rlc layer with PDCP packet number keeps continuous, that is, while abandoning corresponding packet, need to record the serial number n of discarding accordingly wrapped, it is subsequent to give out a contract for a project When need again since serial number n, avoid out-of-order repeating transmission.
As shown in figure 5, Fig. 5 is the five of the flow diagram of data transmission method provided in an embodiment of the present invention, such as Fig. 5 institute Show, Fig. 5 is illustrated by taking low time delay class game as an example.
Step 411, into game, i.e., running game application in terminal.
Step 422, preferential transmitting have the UDP message of game data mark.It is excellent when TCP/IP layer transmits data to L2 First transmitting has the UDP message of mark (mark is used to identify game data), then, then transmits other TCP or user data Datagram protocol (User Datagram Protocol, abbreviation UDP).
Step 433, judge game application time delay T1 > T and A2 > Y or A1 > X and A2 > Y it is whether true, A1 when discovery trip Time delay T1 > the T applied play alternatively, when L2buffer accumulates A1 > X and A2 > Y, goes to step 444 execution.
Step 444, triggering uplink maximum retransmit, and empty uplink caching.That is triggering uplink maximum retransmits, so that terminal is sentenced certainly Determine RLF (Radio Link Failure), rebuild into Radio Link, rebuild by Radio Link, completes emptying for modem data.It is complete After rebuilding at Radio Link, the data packet of no confirmation transmitting is re-issued L2 by TCP/IP layer.
Step 455 subsequent is given out a contract for a project again since serial number n.If the data packet of MAC layer is without abandoning, in respective counts Before being sent according to packet, retransmited after mark (i.e. terminal is identification target object, for the mark of target object addition) need to be removed;If right The data packet of MAC layer is abandoned, then abandon when, need also accordingly to abandon rlc layer and PDCP layer of packet, and rlc layer with PDCP packet number keeps continuous, that is, while abandoning corresponding packet, need to record the serial number n of discarding accordingly wrapped, it is subsequent to give out a contract for a project When need again since serial number n, avoid out-of-order repeating transmission.
Embodiment illustrated in fig. 5, for triggering RLF to completing to rebuild needs tens to several hundred milliseconds, there are certain risks, are only applicable in After fluctuation in short-term occurs in network, the case where restoring the data in buffer rapidly is needed.
In Fig. 1-embodiment illustrated in fig. 5, under the game Caton scene caused by uplink caching accumulation, by abandoning a part Game data can be relieved Caton situation.It abandons main according to two ways when game data;If at IP layers by identifying to game Data are marked, then when abandoning, it can be according to the data for determining game application be identified, to be abandoned;If game number According to QCI, then counterlogic channel can be mapped to by QCI, the game data on the channel is abandoned.
In the stronger business of real-time, user is very low to the tolerance of time delay, and traditional approach is fluctuated in network environment In the case of, uplink caches before may needing up to 1s that can just empty every time, be easy to cause multiple Caton, influences user experience. The present invention can customize the first data-quantity threshold, the second data-quantity threshold and time threshold, pass through what is receded into the background before abandoning Business datum transmits new data in time, can effectively reduce network from Caton to smooth recovery time, in ambient signal strength In the case where unstable, delay can be significantly reduced, promotes user experience.Present invention is preferably applicable to the real-times of UDP transmission Higher scene.
It is one of the structure chart of terminal provided in an embodiment of the present invention referring to Fig. 6, Fig. 6, as shown in fig. 6, terminal 600 is wrapped It includes:
First determining module 601, for determining the uplink parameter of the terminal;
Processing module 602 abandons target pair in the uplink caching if meeting preset condition for the uplink parameter The part upstream data of elephant, so that the uplink parameter is unsatisfactory for the preset condition.
Further, the target object includes the first application of the terminal, and the uplink parameter includes the uplink The total amount of data of the data volume of the upstream data of first application and uplink caching described in caching;
The processing module 602, is used for:
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute The total amount of data for stating uplink caching is greater than the second data-quantity threshold, then abandons the part of the first application described in the uplink caching Upstream data, so that the data volume of the remaining upstream data of the first application described in uplink caching is no more than first number Total amount of data according to amount threshold value and/or uplink caching is not more than the second data-quantity threshold;
Alternatively,
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute The total amount of data for stating uplink caching is greater than the second data-quantity threshold, and triggering uplink maximum retransmits, to empty the uplink caching.
Further, the target object includes the first application of the terminal, and the uplink parameter includes the uplink The time delay of the data volume of the upstream data of first application described in caching and first application;
The processing module 602, is used for:
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute Time delay is stated greater than time threshold, then the part upstream data of the first application described in the uplink caching is abandoned, so that described The data volume of the remaining upstream data of first application described in uplink caching is not more than first data-quantity threshold, and/or, make It obtains the time delay and is not more than the time threshold;
Alternatively,
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute Time delay is stated greater than time threshold, triggering uplink maximum retransmits, to empty the uplink caching.
Further, terminal 600 further include:
Setup module, for mark to be arranged for the upstream data of first application;
Second determining module, for determining the upstream data of the first application described in the uplink caching according to the mark Data volume.
Further, terminal 600 further include:
Third determining module, if the upstream data for first application includes preset service quality rating mark QCI then determines the logic channel for carrying out uplink according to the QCI;
4th determining module, for the data volume in the logic channel to be determined as to the upstream data of first application Data volume.
Terminal 600 can be realized each process that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 5, to avoid repeating, this In repeat no more.
The terminal 600 of the embodiment of the present invention determines the uplink parameter of the terminal;If the uplink parameter meets default item Part then abandons the part upstream data of target object in uplink caching so that the uplink parameter be unsatisfactory for it is described pre- If condition, in this way, can reduce terminal by the part upstream data for abandoning the target object in uplink caching and send uplink caching The data volume of the upstream data of middle accumulation, to reduce the time that terminal sends the data accumulated in uplink caching, to reduce mesh Mark the data transmission delay of object.
The hardware structural diagram of Fig. 7 a kind of terminal of each embodiment to realize the present invention, as shown in fig. 7, the terminal 700 include but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710 and power supply 711 etc. Component.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 7, terminal can be with Including perhaps combining certain components or different component layouts than illustrating more or fewer components.In the embodiment of the present invention In, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and Pedometer etc..
Wherein, processor 710, for determining the uplink parameter of the terminal;
If the uplink parameter meets preset condition, line number on the part of target object is abandoned in uplink caching According to so that the uplink parameter is unsatisfactory for the preset condition.
Further, the target object includes the first application of the terminal, and the uplink parameter includes the uplink The total amount of data of the data volume of the upstream data of first application and uplink caching described in caching;
Processor 710, if the data volume for the upstream data of the first application described in uplink caching is greater than first Data-quantity threshold, and the total amount of data of uplink caching is greater than the second data-quantity threshold, then abandons institute in the uplink caching The part upstream data of the first application is stated, so that the data volume of the remaining upstream data of the first application described in uplink caching The total amount of data cached no more than first data-quantity threshold and/or the uplink is not more than the second data-quantity threshold;
Alternatively,
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute The total amount of data for stating uplink caching is greater than the second data-quantity threshold, and triggering uplink maximum retransmits, to empty the uplink caching.
Further, the target object includes the first application of the terminal, and the uplink parameter includes the uplink The time delay of the data volume of the upstream data of first application described in caching and first application;
Processor 710, if the data volume for the upstream data of the first application described in uplink caching is greater than first Data-quantity threshold, and the time delay is greater than time threshold, then abandons the part uplink of the first application described in the uplink caching Data, so that the data volume of the remaining upstream data of the first application described in uplink caching is not more than first data Threshold value is measured, and/or, so that the time delay is not more than the time threshold;
Alternatively,
If the data volume of the upstream data of the first application described in the uplink caching is greater than the first data-quantity threshold, and institute Time delay is stated greater than time threshold, triggering uplink maximum retransmits, to empty the uplink caching.
Further, processor 710 are also used to the upstream data setting mark for first application;
The upstream data of the first application described in the uplink caching is determined according to the mark.
Further, processor 710, if the upstream data for being also used to first application includes preset service quality etc. Grade mark QCI, then determine the logic channel for carrying out uplink according to the QCI;
Data in the logic channel are determined as to the upstream data of first application.
Terminal 700 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating It states.
The terminal 700 of the embodiment of the present invention determines the uplink parameter of the terminal;If the uplink parameter meets default item Part then abandons the part upstream data of target object in uplink caching so that the uplink parameter be unsatisfactory for it is described pre- If condition.In this way, can reduce terminal by the part upstream data for abandoning the target object in uplink caching and send uplink caching The data volume of the upstream data of middle accumulation, to reduce the time that terminal sends the data accumulated in uplink caching, to reduce mesh Mark the data transmission delay of object.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 701 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by wireless communication system and network and other set Standby communication.
Terminal provides wireless broadband internet by network module 702 for user and accesses, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 703 can be received by radio frequency unit 701 or network module 702 or in memory 709 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 703 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 700 executes.Sound Frequency output unit 703 includes loudspeaker, buzzer and receiver etc..
Input unit 704 is for receiving audio or video signal.Input unit 704 may include graphics processor (Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike Wind 7042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 701 is converted in the case where telephone calling model.
Terminal 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 7061, and proximity sensor can close display panel when terminal 700 is moved in one's ear 7061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 705 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 707 include touch panel 7071 and other Input equipment 7072.Touch panel 7071, also referred to as touch screen, collect user on it or nearby touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 7071 or near touch panel 7071 Operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receives processor 710 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments 7072. Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touching The type for touching event provides corresponding visual output on display panel 7061.Although in Fig. 7, touch panel 7071 and display Panel 7061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of terminal is realized so that touch panel 7071 and display panel 7061 is integrated, is not limited herein specifically It is fixed.
Interface unit 708 is the interface that external device (ED) is connect with terminal 700.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 700 or can be used for terminal 700 and external device (ED) it Between transmit data.
Memory 709 can be used for storing software program and various data.Memory 709 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 709, and call and be stored in memory 709 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 710 may include one Or multiple processing units;Preferably, processor 710 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 710.
Terminal 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711 can be with It is logically contiguous by power-supply management system and processor 710, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 700 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 710, and memory 709 is stored in storage It is real when which is executed by processor 710 on device 709 and the computer program that can be run on the processor 710 Each process of existing above-mentioned data transmission method embodiment, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned data transmission method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of data transmission method is applied to terminal characterized by comprising
Determine the uplink parameter of the terminal;
If the uplink parameter meets preset condition, the part upstream data of target object in uplink caching is abandoned, so that The uplink parameter is unsatisfactory for the preset condition.
2. the method according to claim 1, wherein the target object include the terminal first application, The uplink parameter includes that the data volume of the upstream data of the first application described in the uplink caching and the uplink cache Total amount of data;
If the uplink parameter meets preset condition, the part upstream data of target object in uplink caching is abandoned, with So that the uplink parameter is unsatisfactory for the preset condition, comprising:
If the data volume of the upstream data of the first application described in uplink caching is greater than the first data-quantity threshold, and it is described on The total amount of data of row caching is greater than the second data-quantity threshold, then abandons the part uplink of the first application described in the uplink caching Data, so that the data volume of the remaining upstream data of the first application described in uplink caching is not more than first data volume Threshold value, and/or, so that the total amount of data of uplink caching is not more than the second data-quantity threshold;
Alternatively,
If the data volume of the upstream data of the first application described in uplink caching is greater than the first data-quantity threshold, and it is described on The total amount of data of row caching is greater than the second data-quantity threshold, and triggering uplink maximum retransmits, to empty the uplink caching.
3. the method according to claim 1, wherein the target object include the terminal first application, The uplink parameter includes the data volume and first application of the upstream data of the first application described in the uplink caching Time delay;
If the uplink parameter meets preset condition, line number on the part of target object is abandoned in uplink caching According to so that the uplink parameter is unsatisfactory for the preset condition, comprising:
If the data volume of the upstream data of the first application described in uplink caching is greater than the first data-quantity threshold, and it is described when Prolong and be greater than time threshold, then the part upstream data of the first application described in the uplink caching is abandoned, so that the uplink The data volume of the remaining upstream data of first application described in caching is not more than first data-quantity threshold, and/or, so that institute Time delay is stated no more than the time threshold;
Alternatively,
If the data volume of the upstream data of the first application described in uplink caching is greater than the first data-quantity threshold, and it is described when Prolong and be greater than time threshold, triggering uplink maximum retransmits, to empty the uplink caching.
4. according to the method in claim 2 or 3, which is characterized in that before the uplink parameter of the determination terminal, Further include:
Mark is arranged in upstream data for first application;
The first upstream data applied described in uplink caching is determined according to described identify.
5. according to the method in claim 2 or 3, which is characterized in that before the uplink parameter of the determination terminal, Further include:
If the upstream data of first application includes preset service quality rating mark QCI, is determined and used according to the QCI In the logic channel for carrying out uplink;
Data in the logic channel are determined as to the upstream data of first application.
6. a kind of terminal characterized by comprising
First determining module, for determining the uplink parameter of the terminal;
Processing module abandons in uplink caching on the part of target object if meeting preset condition for the uplink parameter Row data, so that the uplink parameter is unsatisfactory for the preset condition.
7. terminal according to claim 6, which is characterized in that the target object includes the first application of the terminal, The uplink parameter includes that the data volume of the upstream data of the first application described in the uplink caching and the uplink cache Total amount of data;
The processing module, is used for:
If the data volume of the upstream data of the first application described in uplink caching is greater than the first data-quantity threshold, and it is described on The total amount of data of row caching is greater than the second data-quantity threshold, then abandons the part uplink of the first application described in the uplink caching Data, so that the data volume of the remaining upstream data of the first application described in uplink caching is not more than first data volume Threshold value, and/or, so that the total amount of data of uplink caching is not more than the second data-quantity threshold;
Alternatively,
If the data volume of the upstream data of the first application described in uplink caching is greater than the first data-quantity threshold, and it is described on The total amount of data of row caching is greater than the second data-quantity threshold, and triggering uplink maximum retransmits, to empty the uplink caching.
8. terminal according to claim 6, which is characterized in that the target object includes the first application of the terminal, The uplink parameter includes the data volume and first application of the upstream data of the first application described in the uplink caching Time delay;
The processing module, is used for:
If the data volume of the upstream data of the first application described in uplink caching is greater than the first data-quantity threshold, and it is described when Prolong and be greater than time threshold, then the part upstream data of the first application described in the uplink caching is abandoned, so that the uplink The data volume of the remaining upstream data of first application described in caching is not more than first data-quantity threshold, and/or, so that institute Time delay is stated no more than the time threshold;
Alternatively,
If the data volume of the upstream data of the first application described in uplink caching is greater than the first data-quantity threshold, and it is described when Prolong and be greater than time threshold, triggering uplink maximum retransmits, to empty the uplink caching.
9. terminal according to claim 7 or 8, which is characterized in that further include:
Setup module, for mark to be arranged for the upstream data of first application;
Second determining module, for determining the first upstream data applied described in uplink caching according to described identify.
10. terminal according to claim 7 or 8, which is characterized in that further include:
Third determining module, if the upstream data for first application includes preset service quality rating mark QCI, The logic channel for carrying out uplink is determined according to the QCI;
4th determining module, for the data in the logic channel to be determined as to the upstream data of first application.
11. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 5 The step of data transmission method described in one.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the data transmission method as described in any one of claims 1 to 5 when the computer program is executed by processor The step of.
CN201910619471.3A 2019-07-10 2019-07-10 Data transmission method and terminal Active CN110290559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910619471.3A CN110290559B (en) 2019-07-10 2019-07-10 Data transmission method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910619471.3A CN110290559B (en) 2019-07-10 2019-07-10 Data transmission method and terminal

Publications (2)

Publication Number Publication Date
CN110290559A true CN110290559A (en) 2019-09-27
CN110290559B CN110290559B (en) 2021-01-26

Family

ID=68021032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910619471.3A Active CN110290559B (en) 2019-07-10 2019-07-10 Data transmission method and terminal

Country Status (1)

Country Link
CN (1) CN110290559B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131210A (en) * 2019-12-16 2020-05-08 维沃移动通信有限公司 Data processing method and electronic equipment
CN113301375A (en) * 2021-05-24 2021-08-24 上海绚显科技有限公司 Data sending method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101491136A (en) * 2007-06-20 2009-07-22 华为技术有限公司 Uplink maximum bit rate control
CN101904197A (en) * 2007-12-20 2010-12-01 株式会社Ntt都科摩 Mobile station, base station device, communication control method, and mobile communication system
CN104731712A (en) * 2015-02-06 2015-06-24 深圳市中兴移动通信有限公司 Method for automatically cleaning up caching data and mobile terminal
US20170142034A1 (en) * 2015-11-17 2017-05-18 Telefonaktiebolaget L M Ericsson (Publ) Service based intelligent packet-in buffering mechanism for openflow switches by having variable buffer timeouts
CN107743096A (en) * 2017-10-13 2018-02-27 北京小米移动软件有限公司 Network optimized approach, device, terminal and storage medium
CN109362103A (en) * 2018-10-30 2019-02-19 维沃移动通信有限公司 A kind of data cache method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101491136A (en) * 2007-06-20 2009-07-22 华为技术有限公司 Uplink maximum bit rate control
CN101904197A (en) * 2007-12-20 2010-12-01 株式会社Ntt都科摩 Mobile station, base station device, communication control method, and mobile communication system
CN104731712A (en) * 2015-02-06 2015-06-24 深圳市中兴移动通信有限公司 Method for automatically cleaning up caching data and mobile terminal
US20170142034A1 (en) * 2015-11-17 2017-05-18 Telefonaktiebolaget L M Ericsson (Publ) Service based intelligent packet-in buffering mechanism for openflow switches by having variable buffer timeouts
CN107743096A (en) * 2017-10-13 2018-02-27 北京小米移动软件有限公司 Network optimized approach, device, terminal and storage medium
CN109362103A (en) * 2018-10-30 2019-02-19 维沃移动通信有限公司 A kind of data cache method and terminal device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131210A (en) * 2019-12-16 2020-05-08 维沃移动通信有限公司 Data processing method and electronic equipment
WO2021121119A1 (en) * 2019-12-16 2021-06-24 维沃移动通信有限公司 Data processing method and electronic device
CN111131210B (en) * 2019-12-16 2021-09-17 维沃移动通信有限公司 Data processing method and electronic equipment
US11843652B2 (en) 2019-12-16 2023-12-12 Vivo Mobile Communication Co., Ltd. Data processing method and electronic device
CN113301375A (en) * 2021-05-24 2021-08-24 上海绚显科技有限公司 Data sending method and device

Also Published As

Publication number Publication date
CN110290559B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN110198545A (en) A kind of secondary cell group adding method, terminal device and host node
CN108322608B (en) A kind of screen light on and off control method, mobile terminal
CN110505076A (en) Measurement method, acquisition methods, terminal and the network equipment of bursts dropping ratio
CN109768810A (en) A kind of signal processing circuit, terminal device and signal processing method
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN108322599A (en) A kind of Network Access Method and mobile terminal
CN110198553A (en) A kind of secondary cell group delet method, terminal device and network node
CN109831359A (en) A kind of detection method and its terminal device of data network connection state
CN109743737A (en) A kind of method, terminal and base station reducing multiple network mutual interference
CN109362103A (en) A kind of data cache method and terminal device
CN109474784A (en) A kind of preview image processing method and terminal device
CN110311751A (en) A kind of sending method and terminal of data
CN109739300A (en) A kind of method of controlling antenna and terminal
CN110290559A (en) A kind of data transmission method and terminal
CN110324784A (en) The processing method and terminal of possible location
CN110505279A (en) The method and apparatus of delay is set
CN109802945A (en) A kind of data transmission method and terminal device
CN110290277A (en) Method of controlling antenna and terminal
CN110022235A (en) Information processing method, terminal and server
CN110324851A (en) A kind of method of reseptance and communication equipment
CN107864497A (en) Method for switching network and mobile communication terminal and network side equipment
CN107728774A (en) Parameter regulation means and mobile terminal
CN110312274A (en) A kind of method for building up and electronic equipment of wireless access point
CN109885375A (en) A kind of list sliding display methods and mobile terminal
CN108955641A (en) A kind of depth camera method, depth camera equipment and mobile terminal

Legal Events

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