CN110225532B - Data receiving method and terminal equipment - Google Patents

Data receiving method and terminal equipment Download PDF

Info

Publication number
CN110225532B
CN110225532B CN201910341269.9A CN201910341269A CN110225532B CN 110225532 B CN110225532 B CN 110225532B CN 201910341269 A CN201910341269 A CN 201910341269A CN 110225532 B CN110225532 B CN 110225532B
Authority
CN
China
Prior art keywords
target
period
data packet
target data
packets
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
CN201910341269.9A
Other languages
Chinese (zh)
Other versions
CN110225532A (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 CN201910341269.9A priority Critical patent/CN110225532B/en
Publication of CN110225532A publication Critical patent/CN110225532A/en
Application granted granted Critical
Publication of CN110225532B publication Critical patent/CN110225532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a data receiving method and terminal equipment, relates to the technical field of communication, and aims to solve the problem of reducing power consumption of the terminal equipment on the basis of ensuring conversation quality. The method is applied to the terminal equipment and comprises the following steps: monitoring a target data packet in the process of carrying out a target call, wherein the target call is a call established based on a data service, and the target data packet is a data packet sent by a network side device to a terminal device aiming at the target call; and if the accumulated time length of the target data packet without packet loss at the first moment reaches the threshold time length, rejecting to receive at least one target data packet after the first moment based on a target strategy. The embodiment of the invention is used for data receiving.

Description

Data receiving method and terminal equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data receiving method and a terminal device.
Background
With the development of mobile communication technology, people use voice calls and video calls more and more frequently, and the voice calls and the video calls become a main mode for people to call at present.
In the prior art, data of a voice call and a video call are generally transmitted through a Real-time Transport Protocol (RTP) and/or a Packet Data Convergence Protocol (PDCP), that is, data of the voice call and the video call are encoded to generate RTP packets and/or PDCP packets for effective Data transmission, where each Data Packet includes Data backups of previous k packets in addition to its own Data. If RTP packet and/or PDCP packet are lost continuously, the conversation quality can be influenced directly; if all RTP packets and/or PDCP packets are received, the power consumption of the terminal equipment is increased, and the service life of a terminal battery is influenced. Therefore, how to reduce the power consumption of the terminal device under the condition of ensuring the call quality becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a data receiving method and terminal equipment, and aims to solve the problem of reducing power consumption of the terminal equipment on the basis of ensuring conversation quality.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a data receiving method, which is applied to a terminal device, and the method includes:
monitoring a target data packet in the process of a target call, wherein the target call is a call established based on a data service, and the target data packet is a data packet sent by a network side device to a terminal device aiming at the target call;
and if the accumulated time length of the target data packet without packet loss at the first moment reaches the threshold time length, rejecting to receive at least one target data packet after the first moment based on a target strategy.
In a second aspect, an embodiment of the present application provides a terminal device, where the terminal device includes:
the data monitoring unit is used for monitoring a target data packet in the process of carrying out target call, wherein the target call is a call established based on data service, and the target data packet is a data packet sent by network side equipment to the terminal equipment aiming at the target call;
and the data receiving unit is used for refusing to receive at least one target data packet after the first moment based on a target strategy if the accumulated time length of the target data packet without packet loss reaches a threshold time length at the first moment.
In a third aspect, an embodiment of the present application provides a terminal device, including: a processor, a memory, a display and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the data receiving method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the data receiving method according to the first aspect.
The data receiving method applied to the terminal device provided by the embodiment of the application monitors a target data packet sent by a network side device to the terminal device aiming at a target call in a target call proceeding process established based on a data service; and if the accumulated time length of the target data packet without packet loss reaches the threshold time length at the first moment, refusing to receive at least one target data packet after the first moment based on a target strategy. If the accumulated time length of the target data packet without packet loss reaches the threshold time length at the first moment, the network signal quality is better and the network signal is more stable within the threshold time length before the first moment; in addition, in the process of performing the target call established based on the data service, the target data packet sent by the network side device to the terminal device includes, in addition to its own data, a data backup of at least one previous target data packet, so that when all target data packets sent by the network side device can be received, even if the reception of at least one of the target data packets is rejected, the call quality of the target call is not affected, and therefore, in the application embodiment, the reception of at least one subsequent target data packet is rejected under the condition that the accumulated time length of the target data packet without packet loss reaches the threshold time length, so that the call quality of the target call is ensured, and the power consumption increase of the terminal device caused by the redundancy of the target data packet is avoided.
Drawings
Fig. 1 is a schematic diagram of a possible structure of a communication system according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a step of a data receiving method according to an embodiment of the present application;
fig. 3 is a second flowchart illustrating steps of a data receiving method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiment is at least one embodiment of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms "first" and "second," and the like, in the description and in the claims of the present application are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "such as" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion. Further, in the description of the embodiments of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
In the prior art, if RTP packets and/or PDCP packets are continuously lost, the conversation quality is directly influenced; if all RTP packets and/or PDCP packets are received, the power consumption of the terminal equipment is increased, and the service life of a terminal battery is further influenced. Therefore, the method and the device are used for solving the problem of reducing data redundancy on the basis of ensuring the call quality.
In order to solve the problem, the embodiment of the application provides a data receiving method and terminal equipment. The data receiving method applied to the terminal equipment monitors a target data packet sent to the terminal equipment by the network side equipment aiming at a target call in the process of carrying out the target call established based on the data service; and if the accumulated time length of the target data packet without packet loss reaches the threshold time length at the first moment, rejecting to receive at least one target data packet after the first moment based on a target strategy. If the accumulated time length of the target data packet without packet loss reaches the threshold time length at the first moment, the network signal quality is better and the network signal is more stable within the threshold time length before the first moment; in addition, in the process of performing the target call established based on the data service, the target data packet sent by the network side device to the terminal device includes, in addition to its own data, a data backup of at least one previous target data packet, so that when all target data packets sent by the network side device can be received, even if the reception of at least one of the target data packets is rejected, the call quality of the target call is not affected, and therefore, in the application embodiment, the reception of at least one subsequent target data packet is rejected under the condition that the accumulated time length of the target data packet without packet loss reaches the threshold time length, so that the call quality of the target call is ensured, and the power consumption increase of the terminal device caused by the redundancy of the target data packet is avoided.
The data receiving method provided by the embodiment of the application can be applied to terminal equipment, and the terminal equipment can be terminal equipment with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which is not limited in the embodiment of the present application.
The embodiment of the present application provides a data receiving method and a terminal device, which may also be applied to other terminal devices such as a terminal device with an operating system. In order to facilitate understanding of those skilled in the art, the following describes a data receiving method by taking an example in which the data receiving method provided in the embodiments of the present application is applied to a mobile phone.
Fig. 1 shows a schematic diagram of a possible architecture of a communication system according to an embodiment of the present application. As shown in fig. 1, the communication system may include: terminal device 11, terminal device 12, and network side device 13. The network side device 13 may receive uplink data transmitted by the terminal device 11, where the uplink data includes target call data, the network side device 13 may also forward the received uplink data transmitted by the terminal device 11, and the terminal device 12 receives downlink data sent by the network side device 13, so that the target call between the terminal device 11 and the terminal device 12 may be performed through the network side device 13.
Terminal devices 11 and 12 in the communication system shown in fig. 1 may be wireless terminal devices, which may be devices providing voice and/or other traffic data connectivity to a user, handheld devices with wireless communication functionality, computing devices or other processing devices connected to wireless modems, vehicle mounted devices, wearable devices, terminal devices in future 5G networks or terminal devices in future evolved PLMN networks, etc. Wireless Terminal devices, which may be Mobile terminals such as Mobile phones (or "cellular" phones) and computers with Mobile terminals, such as portable, pocket, hand-held, computer-included, or vehicle-mounted Mobile devices, exchange languages and/or data with the Radio Access Network, and Personal Communication Service (PCS) phones, cordless phones, session Initiation Protocol (SIP) phones, wireless Local Loop (WLL) stations, personal Digital Assistants (PDAs), etc., may also be Mobile devices, UE terminals, access terminals, wireless Communication devices, terminal units, terminal stations, mobile stations (Mobile stations), remote terminals (Remote stations), remote Terminal stations (Remote agents), subscriber stations (subscribers), etc. As an example, in the embodiment of the present application, fig. 1 illustrates that the terminal device is a mobile phone.
Further, the network-side device 13 in the communication system shown in fig. 1 may be a base station, a core network device, a Transmission and Reception Point (TRP), a relay station, an access Point, or the like. The network side device may be a Base Transceiver Station (BTS) in a Global System for Mobile communication (GSM) or Code Division Multiple Access (CDMA) network, may be an NB (NodeB) in Wideband Code Division Multiple Access (WCDMA), and may be an eNB or eNodeB in LTE (evolved NodeB). The Network side device may also be a wireless controller in a Cloud Radio Access Network (CRAN) scenario. The network side device may also be a network side device in a 5G communication system or a network side device in a future evolution network. In addition, in systems employing different radio access technologies, the names of devices with base station functionality may vary, for example, in third Generation mobile communication (3-Generation, 3G) networks, referred to as NodeB; in LTE systems, referred to as enodebs; in fifth generation mobile communication (5G) networks, it is referred to as gNB and so on.
The embodiment of the present application provides a data receiving method, which is applied to a terminal device, and as shown in fig. 2, the data receiving method includes the following steps 101 to 103.
Step 101, monitoring a target data packet in the process of carrying out target call.
The target call is a call established based on a data service, and the target data packet is a data packet sent by a network side device to the terminal device for the target call.
Specifically, the data service refers to other services besides a voice service in a Circuit Switch (CS) domain, and specifically may be a mobile data traffic, a Wireless Local Area Network (WLAN), or a Wireless-Fidelity (WIFI).
In the data receiving method provided in the embodiment of the present application, the target call may be a video call established based on a data service, or may also be a voice call established based on a data service.
Optionally, the target data packet includes: RTP packets and/or PDCP packets.
That is, the data receiving method provided in the embodiment of the present application may use different data transmission modes according to different network architectures, may use an RTP data packet for data transmission, may also use a PDCP data packet for data transmission, and may also use the RTP data packet and the PDCP data packet for data transmission together.
Specifically, in the data receiving method provided in the embodiment of the present application, the monitoring of the target data packet may be established from a target call, and the terminal device starts monitoring the receiving condition of the target data packet when the user calls, for example, the monitoring result of the terminal device may be: f (t) 1 )=R 1 ,f(t 2 )=R 2 ,……,f(t n )=R n Wherein, t i Representing the time of reception of the target data packet i, R i Represents t i The target data packet received at the moment.
And 102, judging whether the accumulated time length of the target data packet without packet loss reaches a threshold time length.
Specifically, in the data receiving method provided in the embodiment of the present application, before receiving any target data packet, the terminal device may first obtain a serial number of the target data packet, where the serial number of any target data packet is unique, and the serial numbers of adjacent target data packets are consecutive. Because the serial number is unique and the serial numbers of the adjacent target data packets are continuous, the terminal device can determine whether packet loss exists between the received adjacent target data packets by judging whether the received serial numbers of the adjacent target data packets are continuous. That is, when the sequence numbers of the adjacent target data packets received by the terminal device are continuous, it is determined that no packet loss occurs between the received adjacent target data packets; and under the condition that the sequence numbers of the adjacent target data packets received by the terminal equipment are not continuous, determining that packet loss occurs between the received adjacent target data packets.
Further, in the data receiving method provided in the embodiment of the present application, it is determined whether the cumulative time length of the target data packet without packet loss reaches the threshold time length, and the determination may be performed by a timer, that is, a timer may be set, where the timer starts to time when the first target data packet is received, and resets the timer to restart the time when the cumulative time length does not reach the threshold time length and packet loss occurs; and ending the timing when the accumulated time length reaches the threshold time length, wherein the timing when the timing of the timer is ended is the first timing. If the timer is at t j The time timer starts to count time to (t) j + T) time when the timer is finished, wherein T is the threshold time length and is at (T) j ,(t j + T)) interval, if the sequence numbers of the target data packets received by the terminal device are consecutive, determining that the accumulated time length of the target data packets without packet loss reaches the threshold time length T.
In addition, in the data receiving method provided in the embodiment of the present application, it is determined whether the accumulated time length of the target data packet without packet loss reaches the threshold time length, and may also be determined through function operation, that is, if the sequence numbers corresponding to the target data packets received by the terminal device are consecutive within a period of time, a difference between a time of the target data packet without packet loss and a time of the first data packet without packet loss at the beginning of the period of time in the period of time is compared with the threshold time length, and if the difference is not less than the threshold time length, it may be determined that the accumulated time length of the target data packet without packet loss reaches the threshold time length. Illustratively, if t is present k 、t g The reception time of two target packets satisfies: t is t k -t g Not less than T and in (T) k ,t g ) If the sequence numbers corresponding to the target data packets received by the terminal device in the interval are continuous, it can be determined that the accumulated time length of the target data packets without packet loss reaches the threshold time length T.
In the data receiving method provided in the embodiment of the present application, the threshold time length may be set according to different terminal devices, different network architectures, and different use requirements, which is not limited in the embodiment of the present application.
In step 102, if the cumulative time length of the target packet not lost at the first time reaches the threshold time length, step 103 is executed.
Step 103, refusing to receive at least one target data packet after the first time based on a target strategy.
Optionally, in the data receiving method provided in the embodiment of the present application, the rejecting, based on the target policy, to receive at least one target data packet after the first time includes: step a and step b.
Step a, after the first time, taking a preset time length as a period, and acquiring a target strategy of each period.
In the embodiment of the application, the preset time length is not specifically limited so as to meet the monitoring requirement and the use requirement. Illustratively, the predetermined time period may be 100ms,200ms,500ms, etc.
And b, refusing to receive at least one target data packet in any period based on the target strategy of the period.
In the data receiving method provided by the embodiment of the application, at least one target data packet after the first time is rejected and received based on a target policy, after the first time, a preset time length is taken as a period to obtain the target policy of each period, and then at least one target data packet in the period is rejected and received based on the target policy of any period.
Because the Quality of the network Signal changes in real time, compared with a method for Receiving the target data packet by executing the same target strategy after the first time, the data Receiving method provided by the embodiment of the application can obtain the target strategy of any period based on the Reference Signal Receiving Power (RSRP) and the Reference Signal Receiving Quality (RSRQ) of the period, and is well adapted to the real-time change of the Quality of the network Signal, so that the data Receiving method provided by the embodiment of the application can adaptively adjust the Receiving strategy of the target data packet according to the real-time change of the Quality of the network Signal, and further reduce the data redundancy of the terminal device on the basis of ensuring the call Quality.
As shown in fig. 3: the step a of obtaining the target strategy of each period comprises the following steps: step 1031 and step 1032.
And step 1031, acquiring the RSRP and the RSRQ of each period.
The RSRP of any period is an average value of RSRPs when the first n target data packets of the period are received, the RSRQ of any period is an average value of RSRQ when the first n target data packets of the period are received, and n is a positive integer;
that is, in the data receiving method provided in the embodiment of the present application, the RSRP of any cycle is an average value of RSRPs when the first n target packets of the cycle are received, and the RSRQ of any cycle is an average value of RSRQs when the first n target packets of the cycle are received, that is, an average value of RSRPs of the first n target packets of any cycle is taken as the RSRP of the cycle, and an average value of RSRQs of the first n target packets of any cycle is taken as the RSRQ of the cycle.
Illustratively, in the embodiment of the present application, if n =3, the first three target packet receiving times t at the beginning of one cycle are monitored 1 、t 2 、t 3 RSRP and RSRQ, the values of RSRP and RSRQ are: p (t) 1 )=P 1 、p(t 2 )=P 2 、p(t 3 )=P 3 ,q(t 1 )=Q 1 、q(t 2 )=Q 2 、q(t 3 )=Q 3 Then RSRP = (P) of this period 1 +P 2 +P 3 ) (iii)/3, RSRQ = (Q) of this period 1 +Q 2 +Q 3 )/3。
And step 1032, determining the target strategy of any period based on the RSRP and the RSRQ of the period.
Specifically, the determining the target strategy of any period based on the RSRP and the RSRQ of the period includes:
and under the conditions that the RSRP of any period is less than or equal to 10db and the RSRQ is more than or equal to-95 dBm, determining the target strategy of the period as refusing to receive one target data packet every time two target data packets are received.
Specifically, in the data receiving method provided by the embodiment of the application, after the RSRP and the RSRQ of any period are obtained, whether the RSRP of the period meets the RSRP of less than or equal to 10db is judged, and whether the RSRQ of the period meets the RSRQ of more than or equal to-95 dBm is judged; and under the conditions that the RSRP is less than or equal to 10db and the RSRQ is more than or equal to-95 dBm, determining the target strategy of the period as two target data packets are received every time, and refusing to receive one target data packet.
Further, before receiving any one of the target data packets, the terminal device may first obtain a sequence number of the target data packet, where the sequence number is a unique sequence number, and the sequence numbers of adjacent target data packets are consecutive. After the RSRP and the RSRQ of any period are obtained to determine the target strategy in the period, the terminal equipment judges whether the target data packet to be received is the target data packet which needs to be rejected according to the target strategy or not according to the sequence number of the target data packet, and if the target data packet to be received is the target data packet which needs to be rejected, the terminal equipment rejects to receive the target data packet and prepares to accept the next target data packet.
For example, the above embodiment is described below by taking the target policy as an example that every time two target packets are received, one target packet is rejected from being received. If the target data packets sent by the network side device in the period are sequentially: r1, R2, R3, R4, R5, R6 \8230 \ 8230;, the terminal device receives the target data packet with the serial numbers R1, R2, R4, R5, \8230;, the terminal device rejects receiving the target data packet with the serial numbers R3, R6, R9 \8230;, the target data packet 8230.
Under the conditions that 10db < RSRP < 15db and-105 dBm < RSRQ < -95dBm in any period, determining the target strategy of the period as refusing to receive one target data packet every time four target data packets are received;
specifically, in the data receiving method provided in the embodiment of the present application, after RSRP and RSRQ of any cycle are obtained, it is determined whether the RSRP of the cycle satisfies 0db < RSRP ≦ 15db, and whether the RSRQ of the cycle satisfies-105 dBm ≦ RSRQ ≦ -95dBm, and when 10db < RSRP ≦ 15db, and-105 dBm ≦ RSRQ ≦ -95dBm, a target policy of the cycle is determined to be to deny reception of one target packet for every four target packets received.
For example, the above embodiment will be described below by taking the target policy as an example that every two target packets are received and one target packet is rejected. If the target data packets sent by the network side equipment are in sequence: r1, R2, R3, R4, R5, R6 \8230: \, the target data packet with sequence numbers R1, R2, R3, R4, R6 \8230 \, 8230, which is received by the terminal device, and the target data packet with sequence numbers R5, R10 \8230, which is rejected by the terminal device.
In the case where the RSRP of any cycle is > 15db, and RSRQ is < -105dBm, the target policy for that cycle is determined to deny reception of one of the target packets for every five received target packets.
Specifically, in the data receiving method provided in the embodiment of the present application, after RSRP and RSRQ of any period are obtained, it is determined whether the RSRP of the period satisfies RSRP > 15db, and whether the RSRQ of the period satisfies RSRQ < -105dBm, and in the case that the RSRP > 15db and the RSRQ < -105dBm, a target policy of the period is determined to reject receiving one target packet for every five target packets received.
For example, the above embodiment is described below by taking the target policy as an example that every five target packets are received and one target packet is rejected. If the target data packets sent by the network side equipment are sequentially: r1, R2, R3, R4, R5, R6 \8230 \ 8230;, the target data packet received by the terminal device is the target data packet with the serial numbers R1, R2, R3, R4, R5, R7 \8230; \8230, the target data packet rejected by the terminal device is the target data packet with the serial numbers R6, R12 \8230;, the target data packet of 8230.
In the data receiving method provided by the embodiment of the application, the specific judgment standard for determining the target strategy of any period based on the RSRP and the RSRQ of the period is provided, so that the terminal device can refuse to receive at least one target data packet to be received according to the determined target strategy of the period, the number of the received target data packets is reduced under the condition of ensuring the call quality, and the power consumption increase of the terminal device caused by the redundancy of the target data packets is avoided.
Optionally, in the data receiving method provided in the embodiment of the present application, in a process of rejecting to receive at least one target data packet after the first time based on a target policy, the method further includes:
and if the situation that the first target data packet is lost is monitored at the second moment, receiving all the target data packets after the second moment.
Wherein the first target data packet is a data packet other than the target data packet which is rejected to be received.
Illustratively, with the target policy: for example, if the target data packets to be received by the terminal device are the target data packets with the sequence numbers R1, R2, R3, R4 \8230 \ 8230, R9, R10, the first target data packet is the target data packet with the sequence numbers R1, R2, R4, R5, R7, R8, R10, and the target data packet rejected by the terminal device is the target data packet with the sequence numbers R3, R6, R9. The number of the first data packets plus the number of the data packets refused to be received is equal to the number of the target data packets forwarded to the terminal equipment by the network equipment.
The terminal device receives all the target data packets after the second moment when monitoring that the first target data packet is lost, and even if the terminal device loses at least one target data packet after the second moment, the call quality of the target call cannot be influenced.
Another embodiment of the present application provides a terminal device, specifically, referring to fig. 4, the terminal device 400 includes:
a data monitoring unit 401, configured to monitor a target data packet in a target call performing process, where the target call is a call established based on a data service, and the target data packet is a data packet sent by a network side device to the terminal device for the target call;
a data receiving unit 402, configured to, if an accumulated time length of the target data packet without packet loss at a first time reaches a threshold time length, refuse to receive at least one target data packet after the first time based on a target policy.
Optionally, the data receiving unit 402 is further configured to obtain a target policy of each period by taking a preset time length as one period after the first time;
and refusing to receive at least one target data packet in any period based on the target strategy of the period.
Optionally, the data receiving unit 402 is further configured to obtain RSRP and RSRQ of each period, where the RSRP of any period is an average value of RSRPs when n previous target data packets of the period are received, the RSRQ of any period is an average value of RSRQ when n previous target data packets of the period are received, and n is a positive integer.
The data receiving unit 402 is further configured to acquire a target policy of any period based on RSRP and RSRQ of the period.
Optionally, the data receiving unit 402 is specifically configured to:
determining the target strategy of any period as that one target data packet is refused to be received every time two target data packets are received under the conditions that the RSRP of the period is not more than 10db and the RSRQ is not less than-95 dBm;
under the conditions that 10db < RSRP ≦ 15db and-105 dBm ≦ RSRQ ≦ 95dBm in any period, determining the target strategy of the period as refusing to receive one target data packet every time four target data packets are received;
in the case where the RSRP of any cycle is > 15db and RSRQ < -105dBm, the target policy for that cycle is determined to deny reception of one of the target packets every five target packets are received.
Optionally, the data receiving unit 402 is further configured to receive all the target data packets after a second time if it is monitored that a first target data packet is lost at the second time;
wherein the first target data packet is a data packet other than the target data packet which is rejected to be received.
Optionally, the target data packet includes: real-time transport protocol RTP data packets and/or packet data convergence protocol PDCP data packets.
The terminal device provided by the embodiment of the application comprises: the data monitoring unit monitors a target data packet sent by the network side equipment to the terminal equipment aiming at the target call in the process of carrying out the target call established based on the data service; at a first time, the accumulated time length of target data packets without packet loss reaches a threshold time length, and the data receiving unit refuses to receive at least one target data packet after the first time based on a target strategy. If the accumulated time length of the target data packet without packet loss reaches the threshold time length at the first moment, the network signal quality is better and the network signal is more stable within the threshold time length before the first moment; in addition, in the process of performing the target call established based on the data service, the target data packet sent by the network side device to the terminal device includes, in addition to its own data, a data backup of at least one previous target data packet, so that when all target data packets sent by the network side device can be received, even if the reception of at least one of the target data packets is rejected, the call quality of the target call is not affected, and therefore, in the application embodiment, the reception of at least one subsequent target data packet is rejected under the condition that the accumulated time length of the target data packet without packet loss reaches the threshold time length, so that the call quality of the target call is ensured, and the power consumption increase of the terminal device caused by the redundancy of the target data packet is avoided.
Fig. 5 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present application, and as shown in fig. 5, the terminal device 500 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 5 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present application, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to monitor a target data packet during a target call, where the target call is a call established based on a data service, and the target data packet is a data packet sent by a network side device to the terminal device for the target call.
A radio frequency unit 101, configured to, if an accumulated time length of no packet loss of the target data packet at a first time reaches a threshold time length, reject to receive at least one target data packet after the first time based on a target policy.
The terminal device provided by the embodiment of the application comprises: the processor 110 and the radio frequency unit 101, during a process of a target call established based on a data service, the processor 110 monitors a target data packet sent by a network side device to the terminal device for the target call; if the cumulative time length of the target data packet without packet loss at the first time reaches the threshold time length, the radio frequency unit 101 rejects to receive at least one target data packet after the first time based on the target policy. If the accumulated time length of the target data packet without packet loss reaches the threshold time length at the first moment, the network signal quality is better and the network signal is more stable within the threshold time length before the first moment; in addition, in the process of performing the target call established based on the data service, the target data packet sent by the network side device to the terminal device includes, in addition to its own data, a data backup of at least one previous target data packet, so that when all target data packets sent by the network side device can be received, even if the reception of at least one of the target data packets is rejected, the call quality of the target call is not affected, and therefore, in the application embodiment, the reception of at least one subsequent target data packet is rejected under the condition that the accumulated time length of the target data packet without packet loss reaches the threshold time length, so that the call quality of the target call is ensured, and the power consumption increase of the terminal device caused by the redundancy of the target data packet is avoided.
It should be understood that, in the embodiment of the present application, the radio frequency unit 101 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 110; in addition, uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive audio or video signals. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device 400 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the attitude of the terminal device (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), and vibration identification related functions (such as pedometer and tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include at least one of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, receives a command from the processor 110, and executes the command. In addition, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 5, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal apparatus 400 or may be used to transmit data between the terminal apparatus 400 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects each at least one of the entire terminal devices with various interfaces and lines, performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 400 may further include a power supply 111 (such as a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 400 includes some functional modules that are not shown, and are not described in detail herein.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the data receiving method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
In this embodiment, the terminal device and the computer storage medium are both configured to execute the corresponding methods provided above, so that the beneficial effects achieved by the terminal device and the computer storage medium can refer to the beneficial effects in the corresponding methods provided above, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, at least one of the technical solutions of the present application, which essentially or contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (12)

1. A data receiving method, applied to a terminal device, the method comprising:
monitoring a target data packet in the process of a target call, wherein the target call is a call established based on a data service, and the target data packet is a data packet sent by a network side device to a terminal device aiming at the target call;
if the accumulated time length of the target data packets which are not lost continuously at the first moment reaches the threshold time length, rejecting to receive at least one target data packet after the first moment based on a target strategy;
wherein the target policy is determined by a reference signal received power, RSRP, and a reference signal received quality, RSRQ;
the rejecting receiving at least one of the target packets after the first time based on a target policy comprises:
after the first time, taking a preset time length as a period, and acquiring a target strategy of each period;
and refusing to receive at least one target data packet in any period based on the target strategy of the period.
2. The method of claim 1, wherein the obtaining the target strategy for each period comprises:
acquiring RSRP and RSRQ of each period, wherein the RSRP of any period is the average value of the RSRP when the first n target data packets of the period are received, the RSRQ of any period is the average value of the RSRQ when the first n target data packets of the period are received, and n is a positive integer;
and acquiring the target strategy of any period based on the RSRP and the RSRQ of the period.
3. The method of claim 2, wherein obtaining the target strategy for any cycle based on the cycle comprises:
under the conditions that the RSRP of any period is less than or equal to 10db and the RSRQ is greater than or equal to-95 dBm, determining the target strategy of the period as refusing to receive one target data packet when receiving two target data packets;
under the conditions that 10db < RSRP ≦ 15db and-105 dBm ≦ RSRQ ≦ 95dBm in any period, determining the target strategy of the period as refusing to receive one target data packet every time four target data packets are received;
in the case where the RSRP of any cycle is > 15db, and RSRQ is < -105dBm, the target policy for that cycle is determined to deny reception of one of the target packets for every five received target packets.
4. The method of claim 1, wherein during the refusal to receive at least one of the destination packets subsequent to the first time based on a destination policy, the method further comprises:
if packet loss of a first target data packet is monitored at a second moment, receiving all the target data packets after the second moment;
wherein the first target data packet is a target data packet other than the target data packet which is rejected to be received.
5. The method of any of claims 1 to 4, wherein the destination data packet comprises: real-time transport protocol RTP data packets and/or packet data convergence protocol PDCP data packets.
6. A terminal device, characterized in that the terminal device comprises:
the data monitoring unit is used for monitoring a target data packet in the process of carrying out a target call, wherein the target call is a call established based on a data service, and the target data packet is a data packet sent by a network side device to the terminal device aiming at the target call;
a data receiving unit, configured to, if an accumulated time length of the target data packets that have not lost packets continuously at a first time reaches a threshold time length, refuse to receive at least one target data packet after the first time based on a target policy;
wherein the target policy is determined by RSRP and RSRQ;
the data receiving unit is further configured to obtain a target policy of each period with a preset time length as one period after the first time;
and refusing to receive at least one target data packet in any period based on the target strategy of the period.
7. The terminal device of claim 6,
the data receiving unit is further configured to obtain RSRP and RSRQ of each period, where the RSRP of any period is an average value of RSRPs when n previous target data packets of the period are received, the RSRQ of any period is an average value of RSRQ when n previous target data packets of the period are received, and n is a positive integer;
the data receiving unit is further configured to acquire a target policy of any period based on the RSRP and the RSRQ of the period.
8. The terminal device of claim 7,
the data receiving unit is specifically configured to:
determining the target strategy of any period as that one target data packet is refused to be received every time two target data packets are received under the conditions that the RSRP of the period is not more than 10db and the RSRQ is not less than-95 dBm;
under the conditions that 10db < RSRP ≦ 15db and-105 dBm ≦ RSRQ ≦ 95dBm in any period, determining the target strategy of the period as refusing to receive one target data packet every time four target data packets are received;
in the case where the RSRP of any cycle is > 15db, and RSRQ is < -105dBm, the target policy for that cycle is determined to deny reception of one of the target packets for every five received target packets.
9. The terminal device of claim 6,
the data receiving unit is further configured to receive all the target data packets after a second time if it is monitored that a packet loss occurs in a first target data packet at the second time;
wherein the first target data packet is a data packet other than the target data packet which is rejected to be received.
10. The terminal device according to any of claims 6 to 9,
the target data packet includes: real-time transport protocol RTP data packets and/or packet data convergence protocol PDCP data packets.
11. A terminal device, comprising: processor, memory, display and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the data receiving method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of a data receiving method as claimed in any one of the claims 1 to 5.
CN201910341269.9A 2019-04-25 2019-04-25 Data receiving method and terminal equipment Active CN110225532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910341269.9A CN110225532B (en) 2019-04-25 2019-04-25 Data receiving method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910341269.9A CN110225532B (en) 2019-04-25 2019-04-25 Data receiving method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110225532A CN110225532A (en) 2019-09-10
CN110225532B true CN110225532B (en) 2023-01-17

Family

ID=67819988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910341269.9A Active CN110225532B (en) 2019-04-25 2019-04-25 Data receiving method and terminal equipment

Country Status (1)

Country Link
CN (1) CN110225532B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011110130A2 (en) * 2011-04-25 2011-09-15 华为技术有限公司 Method for adjusting packet redundancy, device and network system thereof
CN103607255A (en) * 2013-10-21 2014-02-26 国家电网公司 Wireless channel video communication packet loss rate control method
CN106034088A (en) * 2015-03-18 2016-10-19 中兴通讯股份有限公司 Packet loss control method and apparatus thereof
US9999049B2 (en) * 2015-08-31 2018-06-12 Qualcomm Incorporated Avoiding unnecessary protocol data unit (PDU) transmissions
CN105227552A (en) * 2015-09-25 2016-01-06 重庆邮电大学 A kind of TD-LTE emergency terminal speech service quality support method
CN107104760B (en) * 2017-04-13 2020-09-08 腾讯科技(深圳)有限公司 Method for transmitting data packet, client and server

Also Published As

Publication number Publication date
CN110225532A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN110099421B (en) Signal processing method and device and terminal equipment
CN110784898B (en) Network switching method, mobile terminal and computer readable storage medium
CN108834089B (en) SIM card switching method, mobile terminal and computer readable storage medium
CN112004173B (en) Bluetooth headset switching method, mobile terminal and computer readable storage medium
CN108965306B (en) Call processing method and mobile terminal
CN111615141B (en) Measurement method, measurement configuration method, terminal and network equipment
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN110944351B (en) Measurement configuration method, equipment and system
CN111479309B (en) Service processing method, user equipment and computer readable storage medium
CN109256151B (en) Call voice regulation and control method and device, mobile terminal and readable storage medium
CN110049481B (en) Service indication method and related equipment
WO2019242465A1 (en) Resource request method and user equipment device
CN111800794B (en) Method and equipment for determining demodulation reference signal position
CN109309953B (en) Power consumption detection method, device, terminal and readable storage medium
CN112954755B (en) Optimized network switching method and device and computer readable storage medium
CN110831129B (en) Measurement indication method, device and system
CN112492340B (en) Live broadcast audio acquisition method, mobile terminal and computer readable storage medium
CN107517487B (en) Call control method and mobile terminal
CN112770279B (en) Network sharing method, mobile terminal and computer readable storage medium
CN109587260B (en) Resource acquisition method, device and system
CN109699058B (en) Cell switching method and device
CN113543313A (en) Paging response method, terminal and network equipment
CN112911666B (en) Cell reselection method and device
CN112672203B (en) File transfer control method, mobile terminal and computer readable storage medium
CN112887195B (en) Voice calling method, voice calling device and computer readable storage medium

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