Voice switching control method, device and storage medium

By starting the timer in the network device and counting the number of voice packets, and determining whether the timeout is timed based on the count value to control voice switching, the problem of untimely voice switching in the prior art is solved, and the voice communication effect is improved.

CN115604236BActive Publication Date: 2025-03-18DATANG MOBILE COMM EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110773721.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-08
Publication Date
2025-03-18
Estimated Expiration
2041-07-08

AI Technical Summary

Technical Problem

In the prior art, based on the residual BLER, the voice switching control timing is not accurate enough, resulting in a timely voice switching, which affects the user's voice communication effect.

Method used

By starting the timer, the number of protocol data unit PDU shard packets of voice packets in the wireless link control RLC layer is counted. If the timer timed out, the terminal device will be controlled to perform voice switching based on the count value.

Benefits of technology

Accurately determine the timing of voice switching control, improve the timeliness of voice switching control, and improve the effect of voice communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604236B_ABST
    Figure CN115604236B_ABST
Patent Text Reader

Abstract

The present disclosure proposes a voice switching control method, device and storage medium, the method comprising: starting a timer, the timer is used to determine whether to control a terminal device to perform voice switching, and counting the number of protocol data unit PDU fragment packets of a voice packet in a radio link control RLC layer to obtain a count value, and when the timer times out, controlling the terminal device to perform voice switching according to the count value. Through the present disclosure, the timing of triggering voice switching control can be accurately determined, the timeliness of voice switching control can be effectively improved, and the voice communication effect can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a voice switching control method, device and storage medium. Background Art

[0002] The Voice over New Radio (VoNR) service based on the new air interface is more sensitive to the delay of voice packets. In voice service applications, due to the limited uplink air interface capacity, the scheduled transmission block is very small. Therefore, the voice packet is usually divided into multiple protocol data units (PDU) of the radio link control (RLC) layer, and the multiple protocol data unit PDU fragments are allocated to multiple subframes for voice transmission. During the voice transmission process, a voice packet is generated every 20ms. If each voice packet cannot be transmitted within 20ms, the delay of subsequent voice packets will continue to accumulate, which will seriously affect the quality of voice transmission.

[0003] In the related art, after the user establishes a voice service, within the detection period, the network equipment counts the audio service quality (Quality of Service, QoS) flow established by the terminal equipment, the feedback acknowledgement (Acknowledgement, ACK) of its uplink and downlink dynamic scheduling and semi-static scheduling, and the statistical number of negative acknowledgements (Non Acknowledgement, NACK), as well as the number of residual NACKs that are still abnormal after reaching the maximum number of retransmissions, and calculates whether the residual block error rate (Block Error Rate, BLER) of the uplink or downlink is greater than the configured threshold value. If the residual BLER is greater than the threshold value, the voice switching control is triggered.

[0004] In this manner, the voice switching control method based on the residual BLER cannot accurately determine the timing of triggering the voice switching control, which results in untimely voice switching and affects the voice communication effect of the user. Summary of the invention

[0005] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0006] To this end, an object of the present disclosure is to propose a voice switching control method, device and storage medium, which can accurately determine the timing of triggering voice switching control, effectively improve the timeliness of voice switching control, and effectively improve the voice communication effect.

[0007] To achieve the above-mentioned purpose, the voice switching control method proposed in the first aspect embodiment of the present disclosure is applied to a network device, including: starting a timer, the timer is used to determine whether to control the terminal device to perform voice switching; counting the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer to obtain a count value; if the timer times out, controlling the terminal device to perform voice switching according to the count value.

[0008] In some embodiments of the present disclosure, controlling the terminal device to perform voice switching according to the count value includes:

[0009] If the count value is greater than a first count threshold, a voice switching control instruction is generated, and the voice switching control instruction is transmitted to the terminal device, wherein the voice switching control instruction is used to control the terminal device to perform voice switching;

[0010] If the count value is less than or equal to the first count threshold, the timer is restarted.

[0011] In some embodiments of the present disclosure, the method further includes:

[0012] When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is re-counted to obtain a new count value;

[0013] The count value is updated using the new count value.

[0014] In some embodiments of the present disclosure, counting the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer to obtain the count value includes:

[0015] Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value;

[0016] The number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer is counted to obtain a second count value, wherein the first count value and the second count value are used together as the count value.

[0017] In some embodiments of the present disclosure, the method further includes:

[0018] If the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, where the voice switching control instruction is used to control the terminal device to perform voice switching;

[0019] If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, restarting the timer.

[0020] In some embodiments of the present disclosure, counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value includes:

[0021] Determine a first current count value, and receive a current first PDU fragment packet, where the current first PDU fragment packet is obtained by unpacking the current uplink data packet;

[0022] If the current first PDU fragment packet belongs to the voice packet, performing accumulation processing on the first current count value, and using the count value obtained by the accumulation processing as the first count value;

[0023] If the current first PDU fragment packet does not belong to the voice packet, the first current count value is cleared.

[0024] In some embodiments of the present disclosure, counting the number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer to obtain a second count value includes:

[0025] Determine a second current count value, and determine a current second PDU fragment packet, where the current second PDU fragment packet is obtained by performing packet assembly processing on the current downlink data packet;

[0026] If the current second PDU fragment packet belongs to the voice packet, performing accumulation processing on the second current count value, and using the count value obtained by the accumulation processing as the second count value;

[0027] If the current second PDU fragment packet does not belong to the voice packet, the second current count value is cleared.

[0028] The voice switching control method proposed in the embodiment of the first aspect of the present disclosure starts a timer, the timer is used to determine whether to control the terminal device to perform voice switching, and counts the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer to obtain a count value, and if the timer times out, controls the terminal device to perform voice switching according to the count value. Since the timing of voice switching control is not determined by relying on the residual BLER, the timing of triggering voice switching control can be accurately determined, thereby effectively improving the timeliness of voice switching control and effectively improving the voice communication effect.

[0029] To achieve the above-mentioned purpose, a voice switching control device proposed in an embodiment of the second aspect of the present disclosure is applied to a network device, comprising: a starting unit, used to start a timer, the timer being used to determine whether to control the terminal device to perform voice switching; a counting unit, used to count the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer to obtain a count value; and a switching unit, used to control the terminal device to perform voice switching according to the count value when the timer times out.

[0030] In some embodiments of the present disclosure, the switching unit is specifically used to:

[0031] If the count value is greater than a first count threshold, a voice switching control instruction is generated, and the voice switching control instruction is transmitted to the terminal device, wherein the voice switching control instruction is used to control the terminal device to perform voice switching;

[0032] If the count value is less than or equal to the first count threshold, the timer is restarted.

[0033] In some embodiments of the present disclosure, the switching unit is further configured to:

[0034] When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is re-counted to obtain a new count value;

[0035] The count value is updated using the new count value.

[0036] In some embodiments of the present disclosure, the counting unit is specifically used for:

[0037] Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value;

[0038] The number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer is counted to obtain a second count value, wherein the first count value and the second count value are used together as the count value.

[0039] In some embodiments of the present disclosure, the switching unit is further configured to:

[0040] If the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, where the voice switching control instruction is used to control the terminal device to perform voice switching;

[0041] If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, restarting the timer.

[0042] In some embodiments of the present disclosure, the counting unit is further used for:

[0043] Determine a first current count value, and receive a current first PDU fragment packet, where the current first PDU fragment packet is obtained by unpacking the current uplink data packet;

[0044] If the current first PDU fragment packet belongs to the voice packet, performing accumulation processing on the first current count value, and using the count value obtained by the accumulation processing as the first count value;

[0045] If the current first PDU fragment packet does not belong to the voice packet, the first current count value is cleared.

[0046] In some embodiments of the present disclosure, the counting unit is further used for:

[0047] Determine a second current count value, and determine a current second PDU fragment packet, where the current second PDU fragment packet is obtained by performing packet assembly processing on the current downlink data packet;

[0048] If the current second PDU fragment packet belongs to the voice packet, performing accumulation processing on the second current count value, and using the count value obtained by the accumulation processing as the second count value;

[0049] If the current second PDU fragment packet does not belong to the voice packet, the second current count value is cleared.

[0050] The voice switching control device proposed in the embodiment of the second aspect of the present disclosure starts a timer, the timer is used to determine whether to control the terminal equipment to perform voice switching, and counts the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer to obtain a count value, and if the timer times out, controls the terminal equipment to perform voice switching according to the count value. Since the timing of voice switching control is not determined by relying on the residual BLER, the timing of triggering voice switching control can be accurately determined, thereby effectively improving the timeliness of voice switching control and effectively improving the voice communication effect.

[0051] The voice switching control device proposed in the embodiment of the third aspect of the present disclosure includes: a memory, a transceiver, and a processor: the memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations: start a timer, the timer is used to determine whether to control the terminal device to perform voice switching; count the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer to obtain a count value; if the timer times out, control the terminal device to perform voice switching according to the count value.

[0052] In some embodiments of the present disclosure, the processor is specifically configured to:

[0053] If the count value is greater than a first count threshold, a voice switching control instruction is generated, and the voice switching control instruction is transmitted to the terminal device, wherein the voice switching control instruction is used to control the terminal device to perform voice switching;

[0054] If the count value is less than or equal to the first count threshold, the timer is restarted.

[0055] In some embodiments of the present disclosure, the processor is specifically configured to:

[0056] When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is re-counted to obtain a new count value;

[0057] The count value is updated using the new count value.

[0058] In some embodiments of the present disclosure, the processor is specifically configured to:

[0059] Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value;

[0060] The number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer is counted to obtain a second count value, wherein the first count value and the second count value are used together as the count value.

[0061] In some embodiments of the present disclosure, the processor is specifically configured to:

[0062] If the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, where the voice switching control instruction is used to control the terminal device to perform voice switching;

[0063] If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, restarting the timer.

[0064] In some embodiments of the present disclosure, the processor is specifically configured to:

[0065] Determine a first current count value, and receive a current first PDU fragment packet, where the current first PDU fragment packet is obtained by unpacking the current uplink data packet;

[0066] If the current first PDU fragment packet belongs to the voice packet, performing accumulation processing on the first current count value, and using the count value obtained by the accumulation processing as the first count value;

[0067] If the current first PDU fragment packet does not belong to the voice packet, the first current count value is cleared.

[0068] In some embodiments of the present disclosure, the processor is specifically configured to:

[0069] Determine a second current count value, and determine a current second PDU fragment packet, where the current second PDU fragment packet is obtained by performing packet assembly processing on the current downlink data packet;

[0070] If the current second PDU fragment packet belongs to the voice packet, performing accumulation processing on the second current count value, and using the count value obtained by the accumulation processing as the second count value;

[0071] If the current second PDU fragment packet does not belong to the voice packet, the second current count value is cleared.

[0072] The processor-readable storage medium proposed in the fourth aspect embodiment of the present disclosure stores a computer program, and the computer program is used to enable the processor to execute: the voice switching control method proposed in the first aspect embodiment of the present disclosure.

[0073] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0075] Figure 1 is a flow chart of a voice switching control method proposed in an embodiment of the present disclosure;

[0076] Figure 2It is a schematic diagram of the voice switching process in the related art;

[0077] Figure 3 is a flow chart of a voice switching control method proposed in another embodiment of the present disclosure;

[0078] Figure 4 is a flow chart of a voice switching control method proposed in another embodiment of the present disclosure;

[0079] Figure 5 is a flow chart of a voice switching control method proposed in another embodiment of the present disclosure;

[0080] Figure 6 is a structural schematic diagram of a voice switching control device proposed in another embodiment of the present disclosure;

[0081] Figure 7 It is a structural schematic diagram of a voice switching control device proposed in another embodiment of the present disclosure. DETAILED DESCRIPTION

[0082] In the embodiments of the present disclosure, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0083] The term "plurality" in the embodiments of the present disclosure refers to two or more than two, and other quantifiers are similar thereto.

[0084] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0085] In actual voice service applications, when a large number of protocol data unit (PDU) fragments are delayed in transmission, there may be no residual BLER. Therefore, the voice switching control method based on the residual BLER in the related art cannot accurately determine the timing of triggering the voice switching control, resulting in untimely voice switching and affecting the user's voice communication effect.

[0086] The present disclosure is intended to solve the above-mentioned technical problems existing in the related art, and provides a voice switching control method. Since it does not rely on the residual BLER to determine the timing of voice switching control, it can effectively solve the above-mentioned technical problems existing in the related art, can accurately determine the timing of triggering voice switching control, effectively improve the timeliness of voice switching control, and effectively improve the voice communication effect.

[0087] The technical solution provided by the embodiments of the present disclosure can be applicable to a variety of systems, especially 5G systems. For example, the applicable system can be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a universal mobile telecommunication system (UMTS), a world-wide interoperability for microwave access (WiMAX) system, a 5G new radio (NR) system, etc. These various systems include terminal equipment and network equipment. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.

[0088] Figure 1 It is a flowchart of a voice switching control method proposed in an embodiment of the present disclosure.

[0089] It should be noted that the executor of the voice switching control method of this embodiment is a voice switching control device, which can be implemented by software and / or hardware, and can be configured in a network device.

[0090] The network device can be used to convert received air frames to and from Internet Protocol (IP) packets, acting as a router between the wireless terminal device and the rest of the access network, which may include an Internet Protocol (IP) communications network. The network device can also coordinate the management of attributes of the air interface.

[0091] For example, the network device involved in the embodiments of the present disclosure may be a network device (Base Transceiver Station, BTS) in the Global System for Mobile communications (Global System for Mobile communications, GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA), or a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolutionary network device (evolutional Node B, eNB or e-NodeB) in the long term evolution (long term evolution, LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), or a home evolved Node B (Home evolved Node B, HeNB), a relay node, a home base station (femto), a pico base station (pico), etc., which is not limited in the embodiments of the present disclosure. In some network structures, the network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.

[0092] Network devices and terminal devices can each use one or more antennas for multiple-input multiple-output (MIMO) transmission. MIMO transmission can be single-user MIMO (SU-MIMO) or multi-user MIMO (MU-MIMO). Depending on the form and number of antenna combinations, MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO or massive-MIMO, or it can be diversity transmission, precoded transmission or beamforming transmission, etc.

[0093] The terminal device involved in the embodiments of the present disclosure may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem, etc. In different systems, the names of the terminal devices may also be different.

[0094] For example, in a 5G system, a terminal device may be referred to as a user equipment (UE). A wireless terminal device may communicate with one or more core networks (CN) via a radio access network (RAN). The wireless terminal device may be a mobile terminal device, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal device, for example, a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, which exchanges language and / or data with a radio access network.

[0095] For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiated Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDA) and other devices. Wireless terminal devices may also be referred to as systems, subscriber units, subscriber stations, mobile stations, mobile stations, remote stations, access points, remote terminal devices, access terminal devices, user terminal devices, user agents, and user devices, which are not limited in the embodiments of the present disclosure.

[0096] like Figure 1 As shown, the voice switching control method includes:

[0097] S101: Start a timer, where the timer is used to determine whether to control the terminal device to perform voice switching.

[0098] Among them, the timer can carry a corresponding timing time, and the timing time can be specifically set by the network device side. The timer can be used to determine whether to control the terminal device to perform voice switching.

[0099] That is to say, if the timer times out (for example, the timing obtained by the timer exceeds the timing time), it can be directly determined that the terminal device needs to be controlled to perform voice switching, thereby triggering the subsequent processing logic of controlling the terminal device to perform voice switching, so as to accurately determine the timing of triggering voice switching control.

[0100] In the disclosed embodiment, a voice switching control function switch, a counting threshold of a PDU fragment packet, and a voice switching control strategy may be pre-set. During a voice call, when the voice switching control function switch in a new radio (NR) base station is turned on, a timer may be started after determining that a voice service bearer has been established in the terminal device, and based on the timer, it may be determined whether to control the terminal device to perform voice switching. If the voice switching control function switch is turned off, voice switching control may not be triggered, and there is no restriction on this.

[0101] In the embodiments of the present disclosure, the timing time of the timer can be regarded as a timing period for counting the number of protocol data unit PDU fragment packets, that is, within this timing period, the step of counting the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer can be triggered. For details, please refer to the subsequent embodiments.

[0102] S102: Count the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer to obtain a count value.

[0103] In the embodiment of the present disclosure, when the timer is started, it can trigger the counting of the number of protocol data unit PDU fragment packets of the voice packet in the wireless link control RLC layer within the timing time of the timer. The value of the number of protocol data unit PDU fragment packets obtained by counting can be called the count value, which can be used as a reference for subsequent triggering of the control terminal device to perform voice switching.

[0104] In the embodiments of the present disclosure, when counting the number of protocol data unit PDU fragment packets of voice packets in the radio link control RLC layer, the number of protocol data unit PDU fragment packets of voice packets in the uplink radio link control RLC layer and / or the downlink radio link control RLC layer can be counted separately to obtain the count value. For details, please refer to the subsequent embodiments.

[0105] For example, the number of protocol data unit PDU fragment packets of the voice packet in the uplink radio link control RLC layer can be counted to obtain the count value, or the number of protocol data unit PDU fragment packets of the voice packet in the downlink radio link control RLC layer can be counted to obtain the count value, or the number of protocol data unit PDU fragment packets of the voice packet in the uplink radio link control RLC layer and the downlink radio link control RLC layer can be combined to obtain the count value, and there is no limitation on this.

[0106] S103: If the timer times out, the terminal device is controlled to perform voice switching according to the count value.

[0107] During the timing of the timer, the number of protocol data unit PDU fragment packets of the voice packet in the wireless link control RLC layer can be continuously counted, and the timer can be monitored in real time. If the timer times out, the corresponding count value obtained when the timer times out can be captured, so as to perform voice switching control based on the count value. If the timer does not time out, the number of protocol data unit PDU fragment packets can be continuously counted.

[0108] In the embodiment of the present disclosure, the terminal device is controlled to perform voice switching according to the count value. When the count value is greater than a first count threshold (the first count threshold can be configured as a count threshold value that causes delayed transmission of the PDU fragment packet), a voice switching control instruction is generated and the voice switching control instruction is transmitted to the terminal device to control the terminal device to perform voice switching. When the count value is less than or equal to the first count threshold, the timer is restarted. Therefore, in the embodiment of the present disclosure, it supports the use of a threshold comparison method to determine the timing of voice switching control. Since the first count threshold can be configured as a count threshold value that causes delayed transmission of the PDU fragment packet, while effectively ensuring the rationality of the voice switching control, the complexity of the voice switching control is reduced, and the deployment and implementation of the hardware environment are facilitated, thereby having better practicality and applicability.

[0109] That is to say, the above-mentioned first counting threshold can be configured as a counting threshold value that causes the delayed transmission of the PDU fragment packet. The first counting threshold can be used to assist in determining the timing of voice switching. In some application scenarios, when counting the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer (the uplink radio link control RLC layer, or the downlink radio link control RLC layer), the first counting threshold can be configured to assist in comparing the count value obtained by counting with the first counting threshold to determine the timing of voice switching.

[0110] Therefore, in the embodiment of the present disclosure, the count value obtained by counting the number of protocol data unit PDU fragment packets can be compared with the first counting threshold. If the count value is greater than the first counting threshold, the control terminal device is triggered to perform voice switching. If the count value is less than or equal to the first counting threshold, the count value is cleared and the timer is restarted.

[0111] When the count value is greater than the first count threshold, a voice switching control instruction can also be sent to the high layer (HL) to notify the HL layer to trigger the switching process based on the voice switching control instruction. When the count value is less than or equal to the first count threshold, the count value is cleared and the timer is restarted.

[0112] When the HL layer is notified to trigger the switching process based on the voice switching control instruction, the HL layer can respond to the voice switching control instruction to trigger the control terminal device to perform voice switching.

[0113] The process of controlling the terminal device to perform voice switching can be as follows: Figure 2 As shown, Figure 2 It is a schematic diagram of the voice switching process in the related technology. The network device (such as the source base station) can transmit measurement control information to the terminal equipment (User Equipment, UE) based on the downlink communication link. The measurement control information, such as the connection reconfiguration (Connection Reconfiguration) information of the radio resource control (Radio Resource Control, RRC), can be referred to as RRCConnection Reconfiguration information. The measurement control information carries information such as the measurement object, the measurement reporting configuration, and the measurement event. Then, the terminal equipment UE detects the wireless channel according to the relevant configuration contained in the measurement control information. When the measurement report condition is met, it is transmitted to the source base station through the measurement report measurement Report. Then, the source base station can make a switching judgment, select a switching strategy (switching strategy such as switching or redirection) according to the local configuration of the source base station, and select the switching strategy according to the measurement report measurement report. Report selects the target cell, the source base station applies for and allocates resources to the target base station through the core network, the target base station makes an acceptance decision, and feeds back the acceptance decision result to the source base station. After receiving the switching command from the target base station, the source base station transmits the switching command to the terminal device UE based on the downlink communication link. When the terminal device UE receives the switching command, it can initiate non-competitive random access at the target base station and switch to the target cell.

[0114] In this embodiment, by starting a timer, the timer is used to determine whether to control the terminal device to perform voice switching, and count the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer to obtain a count value, and if the timer times out, the terminal device is controlled to perform voice switching according to the count value. Since the timing of voice switching control is not determined by relying on the residual BLER, the timing of triggering voice switching control can be accurately determined, thereby effectively improving the timeliness of voice switching control and effectively improving the voice communication effect.

[0115] Figure 3 It is a flowchart of a voice switching control method proposed in another embodiment of the present disclosure.

[0116] like Figure 3 As shown, the voice switching control method includes:

[0117] S301: Start a timer, where the timer is used to determine whether to control the terminal device to perform voice switching.

[0118] S302: Count the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer to obtain a count value.

[0119] S303: If the timer times out, when the count value is greater than the first count threshold, a voice switching control instruction is generated and the voice switching control instruction is transmitted to the terminal device, where the voice switching control instruction is used to control the terminal device to perform voice switching.

[0120] S304: If the timer times out, restart the timer when the count value is less than or equal to the first count threshold.

[0121] The description of S301 - S304 can be specifically referred to the above embodiment, which will not be repeated here.

[0122] In the disclosed embodiment, in order to ensure the continuity of voice switching control and the overall voice service quality, when the timer is restarted, the existing count value is cleared and the subsequent step of re-counting the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer is triggered.

[0123] S305: When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is counted again to obtain a new count value.

[0124] The count value obtained by re-counting the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer can be called a new count value, that is, the new count value is the count value obtained by counting the number of protocol data unit PDU fragment packets within the timing time after the timer is restarted.

[0125] S306: Update the count value using the new count value.

[0126] After the above counting obtains a new count value, the new count value can be used to update the count value and determine whether the timer has timed out. If the timer has timed out, the voice switching control is performed again based on the updated count value. If the timer has not timed out, the number of protocol data unit PDU fragment packets of the voice packet is continuously counted.

[0127] In this embodiment, by starting a timer, the timer is used to determine whether to control the terminal device to perform voice switching, and the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer is counted to obtain a count value, and if the timer times out, the terminal device is controlled to perform voice switching according to the count value. Since the timing of voice switching control is not determined by the residual BLER, the timing of triggering voice switching control can be accurately determined, effectively improving the timeliness of voice switching control and the voice communication effect. It supports the use of a threshold comparison method to determine the timing of voice switching control, and the first counting threshold can be configured as a counting threshold value that causes the PDU fragment packet to be delayed in transmission and transmission, thereby effectively ensuring the rationality of voice switching control while reducing the complexity of voice switching control, facilitating the deployment and implementation of the hardware environment, and thus having better practicality and applicability. When the count value is less than or equal to the first counting threshold, the timer is restarted, and the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer is counted again to obtain a new count value, and the new count value is used to update the count value to ensure the continuity of voice switching control and the overall voice service quality.

[0128] Figure 4 It is a flowchart of a voice switching control method proposed in another embodiment of the present disclosure.

[0129] like Figure 4 As shown, the voice switching control method includes:

[0130] S401: Start a timer, where the timer is used to determine whether to control the terminal device to perform voice switching.

[0131] The description of S401 can be specifically referred to the above embodiment, which will not be repeated here.

[0132] S402: Count the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value.

[0133] This embodiment can count the number of protocol data unit PDU fragment packets of voice packets in the uplink radio link control RLC layer and the downlink radio link control RLC layer respectively, wherein the count value obtained by counting the number of protocol data unit PDU fragment packets of voice packets in the uplink radio link control RLC layer can be called the first count value, and the count value obtained by counting the number of protocol data unit PDU fragment packets of voice packets in the downlink radio link control RLC layer can be called the second count value.

[0134] For example, when a protocol data unit (PDU) fragment packet is obtained by depacketization, the current count value may be accumulated to count the number of fragment packets.

[0135] Optionally, in some embodiments, a first current count value may be determined, and a current first PDU fragment packet is received, where the current first PDU fragment packet is obtained by unpacking the current uplink data packet. If the current first PDU fragment packet belongs to a voice packet, the first current count value is accumulated, and the count value obtained by the accumulation is used as the first count value. If the current first PDU fragment packet does not belong to a voice packet, the first current count value is cleared to trigger counting of the number of protocol data unit PDU fragment packets of the next voice packet when the next voice packet is detected. When the first count value of the number of PDU fragment packets belonging to the same voice packet is used to assist in voice switching control, the reference value obtained by counting can be effectively improved, so that the voice control processing logic is more reasonable, and can assist in accurately determining the timing of voice switching control.

[0136] Among them, the count value obtained by currently counting the number of protocol data unit PDU fragment packets of the voice packet in the uplink radio link control RLC layer can be called the first current count value, and then, it can be monitored in real time whether the current first PDU fragment packet is received (the PDU fragment packet currently received in the radio link control RLC layer on the uplink can be called the current first PDU fragment packet), the current first PDU fragment packet can be obtained by unpacking the uplink data packet, and then, it can be analyzed whether the first PDU fragment packet belongs to the voice packet for which the fragment counting processing is performed (for example, it can be based on the serial number (Serial Number) of the first PDU fragment packet Number, SN) is used to assist in the judgment), thereby realizing counting the number of first PDU fragment packets belonging to the same voice packet to obtain a first count value; if it is determined that the first PDU fragment packet belongs to a voice packet for which fragment counting is performed, the first count value can be directly accumulated; and if it is determined that the first PDU fragment packet does not belong to a voice packet for which fragment counting is performed, it can be determined that each PDU fragment packet in the voice packet has been transmitted to form a complete voice packet, so as to trigger the subsequent same processing and analysis logic for other voice packets.

[0137] S403: Count the number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer to obtain a second count value, wherein the first count value and the second count value are used together as the count value.

[0138] For example, when a protocol data unit (PDU) fragment packet is obtained by packet assembly, the current count value may be accumulated to count the number of fragment packets.

[0139] Optionally, a second current count value and a current second PDU fragment packet can be determined. The current second PDU fragment packet is obtained by performing packet assembly processing on the current downlink data packet. If the current second PDU fragment packet belongs to a voice packet, the second current count value is accumulated and the count value obtained by the accumulation is used as the second count value. If the current second PDU fragment packet does not belong to a voice packet, the second current count value is cleared to trigger counting of the number of protocol data unit PDU fragment packets of the next voice packet when the next voice packet is detected. When the second count value of the number of PDU fragment packets belonging to the same voice packet is used to assist in voice switching control, the reference value obtained by counting can be effectively improved, so that the voice control processing logic is more reasonable, and can assist in accurately determining the timing of voice switching control.

[0140] Among them, the count value obtained by currently counting the number of protocol data unit PDU fragment packets of the voice packet in the downlink radio link control RLC layer can be called the second current count value, and then, it can be monitored in real time whether the current second PDU fragment packet is received (the PDU fragment packet currently received in the radio link control RLC layer on the downlink can be called the current second PDU fragment packet), and the current second PDU fragment packet can be obtained by grouping the downlink data packet, and then, it can be analyzed whether the second PDU fragment packet belongs to the voice packet for which the fragment counting processing is performed (for example, it can be based on the serial number (Serial Number) of the second PDU fragment packet Number, SN) is used to assist in the judgment), thereby realizing counting the number of second PDU fragment packets belonging to the same voice packet to obtain a second count value; if it is determined that the second PDU fragment packet belongs to the voice packet on which fragment counting is performed, the second count value can be directly accumulated; and if it is determined that the second PDU fragment packet does not belong to the voice packet on which fragment counting is performed, it can be determined that each PDU fragment packet in the voice packet has been transmitted to form a complete voice packet, thereby triggering the subsequent same processing and analysis logic for other voice packets.

[0141] That is to say, in the embodiment of the present disclosure, by counting the number of protocol data unit PDU fragment packets of the voice packets in the uplink radio link control RLC layer and the downlink radio link control RLC layer respectively, the effect of voice switching control is fully guaranteed, the misjudgment of the timing of voice switching is avoided, the flexibility and timeliness of voice switching control are greatly improved, and the quality and effect of voice calls are comprehensively guaranteed.

[0142] S404: If the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, and the voice switching control instruction is used to control the terminal device to perform voice switching.

[0143] In this embodiment, after respectively counting the number of protocol data unit PDU fragment packets of the voice packets in the uplink radio link control RLC layer and the downlink radio link control RLC layer and obtaining the first count value and the second count value accordingly, in order to ensure the timeliness of the voice switching control, the first count value and the second count value and the second count threshold value can be compared respectively. If the first count value is greater than the second count threshold value, or the second count value is greater than the second count threshold value, a voice switching control instruction is generated to trigger the voice switching control.

[0144] Among them, the above-mentioned second counting threshold can also be configured as a counting threshold value that causes the PDU fragment packet to be delayed in transmission. The second counting threshold can also be used to assist in determining the timing of voice switching. In some application scenarios, when the number of protocol data unit PDU fragment packets of the voice packet in the uplink radio link control RLC layer and the downlink radio link control RLC layer is counted separately, the second counting threshold can be configured to assist in comparing the first counting value and the second counting value obtained by counting with the second counting threshold to determine the timing of voice switching.

[0145] It should be noted that the second counting threshold can be configured to be the same value as the above-mentioned first counting threshold, or it can also be configured to be a different value. It can be adaptively configured according to the actual voice switching scenario requirements, and there is no restriction on this.

[0146] S405: If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, restart the timer.

[0147] In this embodiment, the number of protocol data unit PDU fragment packets of the voice packets in the uplink radio link control RLC layer and the downlink radio link control RLC layer is counted respectively, and the first count value and the second count value are obtained accordingly. If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, the voice switching control is not triggered and the timer is restarted.

[0148] S406: When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is counted again to obtain a new count value.

[0149] S407: Update the count value using the new count value.

[0150] For the description of S406-S407, please refer to the above embodiment for details, which will not be repeated here.

[0151] In this embodiment, by starting a timer, the timer is used to determine whether to control the terminal device to perform voice switching, and the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer is counted to obtain a count value, and if the timer times out, the terminal device is controlled to perform voice switching according to the count value. Since the timing of voice switching control is not determined by the residual BLER, the timing of triggering voice switching control can be accurately determined, effectively improving the timeliness of voice switching control and the voice communication effect. By counting the number of protocol data unit PDU fragment packets of the voice packet in the uplink radio link control RLC layer and the downlink radio link control RLC layer respectively, if the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, and if the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, the timer is restarted, thereby comprehensively ensuring the effect of voice switching control, avoiding misjudgment of the voice switching timing, greatly improving the flexibility and timeliness of voice switching control, and comprehensively ensuring the quality and effect of voice calls.

[0152] The process of the voice switching control method in the embodiment of the present disclosure can be specifically illustrated as follows: Figure 5 As shown, Figure 5It is a flow chart of a voice switching control method proposed in another embodiment of the present disclosure, wherein the following flow judgment can be performed when the voice switching control function switch is turned on, otherwise it will not be performed; after the terminal device UE accesses and establishes a voice bearer, a timer for counting PDU fragment packets in the RLC layer of the voice packet is started; several counters are defined respectively: the number of PDU fragment packets in the downlink RLC layer DLRLCSegNum, the number of PDU fragment packets in the uplink RLC layer ULRLCSegNum, and the number of fragmented packets in the RLC layer RLCPKGgSegNum, and initialized to 0; a voice switching VoIPHORLCPkgSegNumThr threshold value (second counting threshold) based on the number of RLC layer fragment packets is defined, and it is configurable. During the timing time of the timer, the RLC layer counts the number of RLC layer PDU fragment packets when the voice packet is scheduled, and the uplink and downlink are counted separately. When the downlink RLC layer is packetizing the data packet and the same voice packet is fragmented, the DLRLCSegNum count is increased by 1. When the uplink RLC receives the data packet and unpacks it, it is determined that the sequence number SN of the PDU fragment packet of the RLC layer is the same, then the voice packet is determined to be a fragment packet, and the ULRLCSegNum count is increased by 1; when it is a complete voice packet, the fragment counts of the uplink and downlink RLC packets are cleared; the number of fragment packets within the timing time is counted, and the number of RLCPKGgSegNum packets is recorded; when the timer times out, it is determined whether the count value RLCPKGgSegNum of the RLC fragment packet (the first count value of the uplink or the second count value of the downlink) is greater than the VoIPHORLCPkgSegNumThr threshold value (the second count threshold value); if it is greater than the VoIPHORLCPkgSegNumThr threshold value, the high-level HL is notified to trigger the voice switching process, otherwise, the count value is cleared and the timer is restarted.

[0153] Figure 6 It is a structural schematic diagram of a voice switching control device proposed in another embodiment of the present disclosure.

[0154] like Figure 6 As shown, the voice switching control device 60 includes:

[0155] A starting unit 601 is used to start a timer, and the timer is used to determine whether to control the terminal device to perform voice switching;

[0156] The counting unit 602 is used to count the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer to obtain a count value;

[0157] The switching unit 603 is used to control the terminal device to perform voice switching according to the count value when the timer times out.

[0158] In some embodiments of the present disclosure, the switching unit 603 is specifically configured to:

[0159] If the count value is greater than the first count threshold, a voice switching control instruction is generated and the voice switching control instruction is transmitted to the terminal device, where the voice switching control instruction is used to control the terminal device to perform voice switching;

[0160] If the count value is less than or equal to the first count threshold, the timer is restarted.

[0161] In some embodiments of the present disclosure, the switching unit 603 is further configured to:

[0162] When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is counted again to obtain a new count value;

[0163] Update the count value with the new count value.

[0164] In some embodiments of the present disclosure, the counting unit 602 is specifically configured to:

[0165] Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value;

[0166] The number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer is counted to obtain a second count value, wherein the first count value and the second count value are used together as the count value.

[0167] In some embodiments of the present disclosure, the switching unit 603 is further configured to:

[0168] If the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, the voice switching control instruction being used to control the terminal device to perform voice switching;

[0169] If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, the timer is restarted.

[0170] In some embodiments of the present disclosure, the counting unit 602 is further configured to:

[0171] Determine a first current count value, and receive a current first PDU fragment packet, where the current first PDU fragment packet is obtained by depacketizing the current uplink data packet;

[0172] If the current first PDU fragment packet belongs to a voice packet, the first current count value is accumulated, and the count value obtained by the accumulation process is used as the first count value;

[0173] If the current first PDU fragment packet does not belong to a voice packet, the first current count value is cleared.

[0174] In some embodiments of the present disclosure, the counting unit 602 is further configured to:

[0175] Determine a second current count value, and determine a current second PDU fragment packet, where the current second PDU fragment packet is obtained by performing packet assembly processing on the current downlink data packet;

[0176] If the current second PDU fragment packet belongs to a voice packet, the second current count value is accumulated, and the count value obtained by the accumulation process is used as the second count value;

[0177] If the current second PDU fragment packet does not belong to a voice packet, the second current count value is cleared.

[0178] It should be noted here that the above-mentioned device provided in the embodiment of the present disclosure can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.

[0179] It should be noted that the division of units in the embodiments of the present disclosure is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0180] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium.

[0181] Based on such understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, or the whole or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0182] In this embodiment, by starting a timer, the timer is used to determine whether to control the terminal device to perform voice switching, and count the number of protocol data unit PDU fragment packets of the voice packet in the radio link control RLC layer to obtain a count value, and if the timer times out, the terminal device is controlled to perform voice switching according to the count value. Since the timing of voice switching control is not determined by relying on the residual BLER, the timing of triggering voice switching control can be accurately determined, thereby effectively improving the timeliness of voice switching control and effectively improving the voice communication effect.

[0183] Figure 7 It is a structural schematic diagram of a voice switching control device proposed in another embodiment of the present disclosure.

[0184] See also Figure 7 The voice switching control device 70 includes a memory 701, a transceiver 702, a processor 703 and a user interface 704: the memory 701 is used to store computer programs; the transceiver 702 is used to send and receive data under the control of the processor 703; the processor 703 is used to read the computer program in the memory 701 and perform the following operations:

[0185] Start a timer, which is used to determine whether to control the terminal device to perform voice switching;

[0186] Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer to obtain a count value;

[0187] If the timer times out, the terminal device is controlled to perform voice switching according to the count value.

[0188] Among them, Figure 7 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 703 and various circuits of memory represented by memory 701 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 702 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, which may include wireless channels, wired channels, optical cables, and other transmission media. For different user devices, the user interface 704 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0189] The processor 703 is responsible for managing the bus architecture and general processing, and the memory 701 can store data used by the processor 600 when performing operations.

[0190] Optionally, the processor 703 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.

[0191] The processor calls the computer program stored in the memory to execute any method provided by the embodiment of the present disclosure according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0192] In some embodiments of the present disclosure, the processor 703 is specifically configured to:

[0193] If the count value is greater than the first count threshold, a voice switching control instruction is generated and the voice switching control instruction is transmitted to the terminal device, where the voice switching control instruction is used to control the terminal device to perform voice switching;

[0194] If the count value is less than or equal to the first count threshold, the timer is restarted.

[0195] In some embodiments of the present disclosure, the processor 703 is specifically configured to:

[0196] When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is counted again to obtain a new count value;

[0197] Update the count value with the new count value.

[0198] In some embodiments of the present disclosure, the processor 703 is specifically configured to:

[0199] Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value;

[0200] The number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer is counted to obtain a second count value, wherein the first count value and the second count value are used together as the count value.

[0201] In some embodiments of the present disclosure, the processor 703 is specifically configured to:

[0202] If the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, the voice switching control instruction being used to control the terminal device to perform voice switching;

[0203] If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, the timer is restarted.

[0204] In some embodiments of the present disclosure, the processor 703 is specifically configured to:

[0205] Determine a first current count value, and receive a current first PDU fragment packet, where the current first PDU fragment packet is obtained by depacketizing the current uplink data packet;

[0206] If the current first PDU fragment packet belongs to a voice packet, the first current count value is accumulated, and the count value obtained by the accumulation process is used as the first count value;

[0207] If the current first PDU fragment packet does not belong to a voice packet, the first current count value is cleared.

[0208] In some embodiments of the present disclosure, the processor 703 is specifically configured to:

[0209] Determine a second current count value, and determine a current second PDU fragment packet, where the current second PDU fragment packet is obtained by performing packet assembly processing on the current downlink data packet;

[0210] If the current second PDU fragment packet belongs to a voice packet, the second current count value is accumulated, and the count value obtained by the accumulation process is used as the second count value;

[0211] If the current second PDU fragment packet does not belong to a voice packet, the second current count value is cleared.

[0212] In order to implement the above embodiment, the embodiment of the present disclosure proposes a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the voice switching control method.

[0213] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0214] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0215] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0216] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0217] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

[0218] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.

[0219] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.

[0220] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0221] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0222] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0223] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0224] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0225] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A voice switching control method, characterized in that: Applied to a network device, the method comprises: Starting a timer, the timer is used to determine whether to control the terminal device to perform voice switching; Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer to obtain a count value; If the timer times out, the terminal device is controlled to perform voice switching according to the count value, wherein the controlling the terminal device to perform voice switching according to the count value includes: If the count value is greater than a first count threshold, a voice switching control instruction is generated, and the voice switching control instruction is transmitted to the terminal device, wherein the voice switching control instruction is used to control the terminal device to perform voice switching, wherein the first count threshold is a count threshold value that causes a delay in the transmission of a PDU fragment packet; If the count value is less than or equal to the first count threshold, the timer is restarted.

2. The method according to claim 1, characterized in that in, When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is re-counted to obtain a new count value; The count value is updated using the new count value.

3. The method according to claim 1, characterized in that The step of counting the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer to obtain a count value includes: Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value; The number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer is counted to obtain a second count value, wherein the first count value and the second count value are used together as the count value.

4. The method according to claim 3, characterized in that The controlling the terminal device to perform voice switching according to the count value includes: If the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, where the voice switching control instruction is used to control the terminal device to perform voice switching; If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, restarting the timer.

5. The method according to claim 3, characterized in that The step of counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value includes: Determine a first current count value, and receive a current first PDU fragment packet, where the current first PDU fragment packet is obtained by unpacking the current uplink data packet; If the current first PDU fragment packet belongs to the voice packet, performing accumulation processing on the first current count value, and using the count value obtained by the accumulation processing as the first count value; If the current first PDU fragment packet does not belong to the voice packet, the first current count value is cleared.

6. The method according to claim 3, characterized in that The step of counting the number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer to obtain a second count value includes: Determine a second current count value, and determine a current second PDU fragment packet, where the current second PDU fragment packet is obtained by performing packet assembly processing on the current downlink data packet; If the current second PDU fragment packet belongs to the voice packet, performing accumulation processing on the second current count value, and using the count value obtained by the accumulation processing as the second count value; If the current second PDU fragment packet does not belong to the voice packet, the second current count value is cleared.

7. A voice switching control device, characterized in that: Applied to network equipment, the device comprises: A starting unit, used to start a timer, wherein the timer is used to determine whether to control the terminal device to perform voice switching; A counting unit, used for counting the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer to obtain a count value; A switching unit is used to control the terminal device to perform voice switching according to the count value when the timer times out, wherein if the count value is greater than a first count threshold, a voice switching control instruction is generated and the voice switching control instruction is transmitted to the terminal device, and the voice switching control instruction is used to control the terminal device to perform voice switching, wherein the first count threshold is a count threshold value that causes delayed transmission of PDU fragment packets; if the count value is less than or equal to the first count threshold, the timer is restarted.

8. The device according to claim 7, characterized in that The switching unit is further used for: When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is re-counted to obtain a new count value; The count value is updated using the new count value.

9. The device according to claim 7, characterized in that The counting unit is specifically used for: Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value; The number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer is counted to obtain a second count value, wherein the first count value and the second count value are used together as the count value.

10. The device according to claim 9, characterized in that The switching unit is further used for: If the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, where the voice switching control instruction is used to control the terminal device to perform voice switching; If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, restarting the timer.

11. The device according to claim 9, characterized in that The counting unit is further used for: Determine a first current count value, and receive a current first PDU fragment packet, where the current first PDU fragment packet is obtained by unpacking the current uplink data packet; If the current first PDU fragment packet belongs to the voice packet, performing accumulation processing on the first current count value, and using the count value obtained by the accumulation processing as the first count value; If the current first PDU fragment packet does not belong to the voice packet, the first current count value is cleared.

12. The device according to claim 9, characterized in that The counting unit is further used for: Determine a second current count value, and determine a current second PDU fragment packet, where the current second PDU fragment packet is obtained by performing packet assembly processing on the current downlink data packet; If the current second PDU fragment packet belongs to the voice packet, performing accumulation processing on the second current count value, and using the count value obtained by the accumulation processing as the second count value; If the current second PDU fragment packet does not belong to the voice packet, the second current count value is cleared.

13. A voice switching control device, characterized in that: It includes memory, transceiver and processor: memory is used to store computer programs; a transceiver, for transmitting and receiving data under the control of the processor; A processor is configured to read the computer program in the memory and perform the following operations: Starting a timer, the timer is used to determine whether to control the terminal device to perform voice switching; Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer to obtain a count value; If the timer times out, the terminal device is controlled to perform voice switching according to the count value, Wherein, the processor is specifically used for: If the count value is greater than a first count threshold, a voice switching control instruction is generated, and the voice switching control instruction is transmitted to the terminal device, wherein the voice switching control instruction is used to control the terminal device to perform voice switching, wherein the first count threshold is a count threshold value that causes a delay in the transmission of a PDU fragment packet; If the count value is less than or equal to the first count threshold, the timer is restarted.

14. The device according to claim 13, characterized in that The processor is specifically used for: When the timer is restarted, the number of protocol data unit (PDU) fragment packets of the voice packet in the radio link control (RLC) layer is re-counted to obtain a new count value; The count value is updated using the new count value.

15. The device according to claim 13, characterized in that The processor is specifically used for: Counting the number of protocol data unit (PDU) fragment packets of the voice packet in the uplink radio link control (RLC) layer to obtain a first count value; The number of protocol data unit (PDU) fragment packets of the voice packet in the downlink radio link control (RLC) layer is counted to obtain a second count value, wherein the first count value and the second count value are used together as the count value.

16. The device according to claim 15, characterized in that The processor is specifically used for: If the first count value is greater than the second count threshold, or the second count value is greater than the second count threshold, a voice switching control instruction is generated, where the voice switching control instruction is used to control the terminal device to perform voice switching; If the first count value is less than or equal to the second count threshold, and the second count value is less than or equal to the second count threshold, restarting the timer.

17. The device according to claim 15, characterized in that The processor is specifically used for: Determine a first current count value, and receive a current first PDU fragment packet, where the current first PDU fragment packet is obtained by unpacking the current uplink data packet; If the current first PDU fragment packet belongs to the voice packet, performing accumulation processing on the first current count value, and using the count value obtained by the accumulation processing as the first count value; If the current first PDU fragment packet does not belong to the voice packet, the first current count value is cleared.

18. The device according to claim 15, characterized in that The processor is specifically used for: Determine a second current count value, and determine a current second PDU fragment packet, where the current second PDU fragment packet is obtained by performing packet assembly processing on the current downlink data packet; If the current second PDU fragment packet belongs to the voice packet, performing accumulation processing on the second current count value, and using the count value obtained by the accumulation processing as the second count value; If the current second PDU fragment packet does not belong to the voice packet, the second current count value is cleared.

19. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Audio quality-based continuity switching system and method

    US20080089325A1

  • Handover processing method and network device

    WO2021068199A1