Voice communication method and device, terminal and storage medium
By improving the priority of the voice call packet when the quality of the wireless network is lower than the threshold, the problem of poor call quality when the VoWifi voice calls are poor when bandwidth tense tension, and the timely transmission and call quality of the data packets are realized.
Patent Information
- Application Number
- CN202310938848.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-27
- Publication Date
- 2025-01-28
AI Technical Summary
In the case of tight bandwidth resources, the data packets of voice calls established through Vowifi cannot be transmitted in time, resulting in poor call quality.
When the network quality of the wireless network is lower than the quality threshold, the data packet priority of the voice call is improved, from the first priority to the second priority, and transmits the data packet through the second priority through the wireless network.
By improving the priority of voice call packets, it is ensured that it can be transmitted in time and improves the quality of call calls.
Smart Images

Figure CN119383574A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a voice call method, device, terminal and storage medium. Background Art
[0002] With the development of communication technology, many operators gradually support Vowifi (Voice over wifi, voice based on wireless fidelity). Through Vowifi, the terminal can initiate a voice call through the connected wireless network. Compared with VoNR (Voice over New Radio) and VoLTE (Voice over Long Term Evolution), which can only initiate voice calls through cellular networks, Vowifi reduces the terminal's dependence on cellular networks. Among them, VoNR and VoLTE will establish a dedicated bearer for voice calls. In the case of tight bandwidth resources, the data packets of voice calls can be stably transmitted through dedicated bearers, ensuring the quality of voice calls. However, Vowifi does not establish a dedicated bearer for voice calls. In the case of tight bandwidth resources, the data packets of voice calls compete with other data packets for bandwidth, and the data packets of voice calls cannot be transmitted in time, resulting in poor quality of voice calls. Therefore, how to improve the quality of voice calls established through Vowifi is a technical problem that needs to be solved urgently. Summary of the invention
[0003] The embodiments of the present application provide a voice call method, device, terminal and storage medium, which can improve the priority of data packets of voice calls and improve the call quality of voice calls established through Vowifi when the quality of the wireless network is poor. The technical solution is as follows:
[0004] According to one aspect of an embodiment of the present application, a voice call method is provided, the method comprising:
[0005] During a target voice call, determining a network quality of a wireless network, wherein the target voice call is a voice call established through Vowifi based on wireless fidelity, and the wireless network is used to transmit a data packet of the target voice call, wherein the data packet encapsulates voice data of the target voice call;
[0006] When the network quality of the wireless network is lower than the quality threshold, raising the priority of the data packet of the target voice call from the first priority to the second priority;
[0007] The data packets of the target voice call are transmitted through the wireless network according to the second priority.
[0008] According to another aspect of an embodiment of the present application, a voice communication device is provided, the device comprising:
[0009] A determination module, used to determine the network quality of a wireless network during a target voice call, wherein the target voice call is a voice call established through Vowifi based on wireless fidelity, and the wireless network is used to transmit a data packet of the target voice call, wherein the data packet encapsulates voice data of the target voice call;
[0010] A priority adjustment module, configured to increase the priority of the data packet of the target voice call from the first priority to the second priority when the network quality of the wireless network is lower than the quality threshold;
[0011] A data packet transmission module is used to transmit the data packet of the target voice call according to the second priority through the wireless network.
[0012] In some embodiments, the determining module includes:
[0013] a detection unit, configured to detect network parameters of the wireless network during the target voice call to obtain a detection result of the wireless network, wherein the network parameters include at least one of signal strength, a retransmission rate of data packets transmitted through the wireless network, a packet loss rate of data packets transmitted through the wireless network, and an average delay of connecting to a domain name server through the wireless network;
[0014] A determination unit is used to determine the network quality of the wireless network based on the detection result, wherein the network quality is positively correlated with the signal strength, the network quality is negatively correlated with the retransmission rate, the network quality is negatively correlated with the packet loss rate, and the network quality is negatively correlated with the average delay.
[0015] In some embodiments, the determination unit is used to determine the detection score of each network parameter in the detection result based on the detection result, the detection score of the signal strength is positively correlated with the signal strength, the detection score of the retransmission rate is negatively correlated with the retransmission rate, the detection score of the packet loss rate is negatively correlated with the packet loss rate, and the detection score of the average delay is negatively correlated with the average delay; based on the weight of each network parameter, the detection score of each network parameter is weighted and summed to obtain the quality score of the wireless network, the quality score is used to reflect the network quality of the wireless network, and the quality score is positively correlated with the network quality of the wireless network.
[0016] In some embodiments, when the network quality of the wireless network is represented by the quality score, the quality threshold is a quality score threshold;
[0017] The priority adjustment module is configured to increase the priority of the data packet of the target voice call from the first priority to the second priority when the quality score of the wireless network is lower than a quality score threshold.
[0018] In some embodiments, the priority adjustment module is used to determine the target priority based on the priority information when the network quality of the wireless network is lower than the quality threshold, the priority information being used to indicate the priority of multiple types of data packets transmitted by the wireless network, and the target priority being the highest priority in the priority information; when the target priority is higher than the first priority, determining the target priority as the second priority; and increasing the priority of the data packet of the target voice call from the first priority to the second priority.
[0019] In some embodiments, the priority adjustment module is further used to determine the second priority when the target priority is equal to the first priority, and the second priority is higher than the first priority by at least one priority level.
[0020] In some embodiments, the priority adjustment module is used to determine the highest priority defined in the transmission protocol of the wireless network as the second priority when the network quality of the wireless network is lower than the quality threshold; and to increase the priority of the data packet of the target voice call from the first priority to the second priority.
[0021] In some embodiments, the priority adjustment module is further configured to adjust the priority of any other data packet to the third priority when the priority of the other data packet is higher than the third priority, the other data packet being a data packet other than the data packet of the target voice call, and the third priority being lower than the first priority;
[0022] The data packet transmission module is further used to transmit the other data packets according to the third priority through the wireless network.
[0023] According to another aspect of an embodiment of the present application, a terminal is provided, comprising a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the voice call method as described in the above aspect.
[0024] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the voice call method as described in the above aspects.
[0025] According to another aspect of an embodiment of the present application, a computer program product is provided. The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the voice call method described in the above aspect.
[0026] The embodiment of the present application provides a voice call solution. When the terminal is connected to a wireless network and a voice call is established through Vowifi, the terminal can transmit data packets for the voice call through the wireless network. Since the terminal also transmits data packets for other services through the wireless network, when the network quality of the wireless network is poor, the data packets for other services will compete with the data packets for the voice call for the transmission bandwidth. Therefore, in order to ensure that the terminal can transmit the data packets for the voice call in a timely manner, the terminal increases the priority of the data packets for the voice call, and then the terminal can preferentially transmit the data packets for the voice call through the wireless network. The above method ensures that the data packets for the voice call can be sent out preferentially, thereby ensuring the call quality of the voice call. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0029] Figure 2 is a flow chart of a voice call method provided by an embodiment of the present application;
[0030] Figure 3 is a flow chart of another voice call method provided in an embodiment of the present application;
[0031] Figure 4 is a schematic diagram of a Vowifi architecture provided in an embodiment of the present application;
[0032] Figure 5 is a schematic diagram of a network quality scoring system provided in an embodiment of the present application;
[0033] Figure 6 It is a structural schematic diagram of a voice communication device provided in an embodiment of the present application;
[0034] Figure 7 is a structural schematic diagram of another voice communication device provided in an embodiment of the present application;
[0035] Figure 8It is a structural block diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0037] In this article, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0038] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the priority information and data packets transmitted by the wireless network involved in this application are all obtained with full authorization.
[0039] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 The implementation environment includes a terminal 101 and a network device 102. The terminal 101 can communicate with the network device 102 directly or indirectly.
[0040] In some embodiments, the terminal 101 may be a mobile phone, a desktop computer, a laptop computer, a tablet computer, a smart watch, etc. Through the Vowifi (Voice over wifi, based on wireless fidelity) technology provided by the operator, the terminal 101 can access the operator's core network through the wireless network after connecting to the wireless network, thereby realizing service functions such as initiating voice calls and sending text messages through the core network.
[0041] In some embodiments, after the terminal 101 establishes a voice call through the Vowifi technology, the terminal 101 sends a data packet of the voice call to the network device 102 through the wireless network, or receives a data packet of the voice call sent by the network device 102 through the wireless network. Since the terminal 101 can also transmit data packets of other services through the wireless network. Therefore, in order to ensure the quality of the voice call, the terminal 101 increases the priority of the data packet of the voice call, ensures that the data packet of the voice call can be preferentially transmitted through the wireless network, thereby improving the call quality of the voice call.
[0042] In some embodiments, the network device 102 is a base station corresponding to at least one of the Long Term Evolution (LTE) system, the Wideband Code Division Multiple Access (WCDMA) system, or the Global System for Mobile Communications (GSM). In the embodiments of the present application, this is not specifically limited. In some embodiments, the network device 102 is any network device 102 with wireless transceiver functions. For example, the network device 102 is an evolved Node B (eNB), a next generation Node B (gNB), a wireless relay node, a wireless backhaul node, a transmission point (TP), or a transmission and reception point (TRP).
[0043] Figure 2 is a flow chart of a voice call method provided in an embodiment of the present application. The method is executed by a terminal, see Figure 2 , the method comprising:
[0044] 201. During a target voice call, the terminal determines the network quality of the wireless network. The target voice call is a voice call established through Vowifi based on wireless fidelity. The wireless network is used to transmit data packets of the target voice call. The data packets encapsulate voice data of the target voice call.
[0045] In the embodiment of the present application, the wireless network may be a wireless access point (AP) or a wireless hotspot. The wireless network is used to provide network connection services to devices such as terminals. After the terminal successfully connects to the wireless network, the terminal can transmit data with other terminals or servers through the wireless network.
[0046] For terminals that support Vowifi (Voice over wifi, voice based on wireless fidelity) technology, the terminal can also establish voice calls with other terminals through the wireless network, or send text messages to other terminals through the wireless network. For ease of description, the voice call established by the terminal through the Vowifi technology is referred to as the target voice call below. When the terminal successfully establishes the target voice call, the terminal transmits the data packet of the target voice call through the wireless network. For example, the terminal encapsulates the collected voice data into a data packet, and sends the data packet to the network device through the wireless network, and the network device forwards the data packet to the other end of the target voice call. Alternatively, the terminal receives a data packet sent by the network device through the wireless network, and the data packet encapsulates the voice data collected by the other end of the target voice call.
[0047] Since the terminal transmits the data packets of the target voice call through the wireless network, the network quality of the wireless network directly affects the call quality of the target voice call. In order to ensure the call quality of the target voice call, the terminal can determine the network quality of the wireless network by detecting the network status of the wireless network during the target voice call.
[0048] For example, the terminal can determine the network quality of the wireless network by detecting the signal strength, transmission rate and transmission bandwidth of the wireless network; the terminal can also determine the quality of the wireless network by detecting the retransmission rate and packet loss rate of the wireless network transmission data packet. The embodiment of the present application does not limit the specific method for the terminal to determine the network quality of the wireless network.
[0049] 202. When the network quality of the wireless network is lower than the quality threshold, the terminal increases the priority of the data packet of the target voice call from the first priority to the second priority.
[0050] In an embodiment of the present application, when the network quality of the wireless network is lower than the quality threshold, the network quality of the wireless network is poor, and the bandwidth resources of the wireless network are relatively tight. Since the terminal not only transmits the data packets of the target voice call through the wireless network, the terminal also transmits the data packets of other services through the wireless network. Therefore, when the network quality of the wireless network is poor, the data packets of other services and the data packets of the target voice call occupy the bandwidth resources, resulting in that the data packets of the target voice call cannot be transmitted in time, thereby reducing the call quality of the target voice call. Therefore, the terminal increases the priority of the data packets of the target voice call from the first priority to the second priority, so that the terminal can preferentially transmit the data packets of the target voice call through the wireless network. Among them, the quality threshold can be a value determined based on experience, such as 60, 70 or 80, which is not limited in the embodiment of the present application.
[0051] 203. The terminal transmits the data packet of the target voice call according to the second priority through the wireless network.
[0052] In an embodiment of the present application, after the terminal increases the priority of the data packet of the target voice call to the second priority, the terminal transmits the data packet of the target voice call with the higher second priority through the wireless network, thereby ensuring that the data packet of the target voice call can be transmitted in time. For other data packets with lower priorities, the terminal can maintain multiple data packets with lower priorities through a waiting queue. After the data packet of the target voice call with the current higher priority is transmitted, the terminal transmits the first data packet in the waiting queue through the wireless network, thereby avoiding the data packets of other services and the data packets of the target voice call from occupying bandwidth resources, and can ensure the call quality of the target voice call.
[0053] The embodiment of the present application provides a voice call method, in which when a terminal is connected to a wireless network and a voice call is established through Vowifi, the terminal can transmit data packets for the voice call through the wireless network. Since the terminal also transmits data packets for other services through the wireless network, when the network quality of the wireless network is poor, the data packets for other services will compete with the data packets for the voice call for the transmission bandwidth. Therefore, in order to ensure that the terminal can transmit the data packets for the voice call in a timely manner, the terminal increases the priority of the data packets for the voice call, and then the terminal can preferentially transmit the data packets for the voice call through the wireless network. The above method ensures that the data packets for the voice call can be sent out preferentially, thereby ensuring the call quality of the voice call.
[0054] Figure 3 is a flowchart of another voice call method provided in an embodiment of the present application. The method is executed by the terminal, see Figure 3 , the method comprising:
[0055] 301. During a target voice call, the terminal determines the network quality of the wireless network. The target voice call is a voice call established through Vowifi based on wireless fidelity. The wireless network is used to transmit data packets of the target voice call. The data packets encapsulate voice data of the target voice call.
[0056] In an embodiment of the present application, the wireless network may be a wireless access point (AP) or a wireless hotspot. The wireless network is used to provide network connection services to devices such as terminals. After the terminal successfully connects to the wireless network, the terminal can transmit data with other terminals or servers by using the network connection service provided by the wireless network. For terminals that support Vowifi (Voice over wifi, voice based on wireless fidelity) technology, the terminal can also access the operator's core network through the wireless network to implement service functions such as initiating voice calls and sending text messages. Among them, the core network that the terminal accesses through the wireless network may be a 4G core network provided by the operator, or a 5G core network provided by the operator, and this embodiment of the present application does not limit this. However, due to the different network element devices and network architectures of the 4G core network and the 5G core network. Therefore, the Vowifi architecture built by the operator based on the 4G core network or the 5G core network is also different. Among them, the Vowifi architecture is used to implement the Vowifi technology.
[0057] For example, Figure 4 A schematic diagram of a Vowifi architecture is shown in FIG. Figure 4 As shown, the Vowifi architecture is a Vowifi architecture built on the 4G core network. Through the Vowifi architecture, the terminal 401 can access the operator's 4G core network through the evolved packet data gateway (ePDG, evolevd Packet Data Gateway) and the PDN gateway (PGW, PDN Gateway) after connecting to the wireless network 402, thereby realizing functions such as initiating voice calls and sending text messages through the 4G core network.
[0058] For ease of description, the voice call established by the terminal through the Vowifi technology is referred to as the target voice call below. When the terminal successfully establishes the target voice call, the terminal transmits the data packet of the target voice call through the wireless network. For example, the terminal encapsulates the collected voice data into a data packet, and sends the data packet to the network device through the wireless network, and the network device forwards the data packet to the other end of the target voice call. Alternatively, the terminal receives a data packet sent by the network device through the wireless network, and the data packet encapsulates the voice data collected by the other end of the target voice call.
[0059] Since the terminal transmits the data packets of the target voice call through the wireless network, the network quality of the wireless network directly affects the call quality of the target voice call. In order to ensure the call quality of the target voice call, the terminal can determine the network quality of the wireless network by detecting the network status of the wireless network during the target voice call.
[0060] In some embodiments, the terminal can determine the network quality of the wireless network by detecting the network parameters of the wireless network. During the process of the terminal making a target voice call, the terminal detects the network parameters of the wireless network and obtains the detection result of the wireless network. The network parameters include at least one of signal strength, retransmission rate of data packets transmitted through the wireless network, packet loss rate of data packets transmitted through the wireless network, and average delay of connecting to a domain name server through the wireless network. Then, the terminal determines the network quality of the wireless network based on the detection result of the wireless network. The network quality is positively correlated with the signal strength, negatively correlated with the retransmission rate, negatively correlated with the packet loss rate, and negatively correlated with the average delay.
[0061] In some embodiments, the terminal may determine the signal strength of the wireless network by detecting the RSSI (Received Signal Strength Indication) of the wireless network. RSSI is used to indicate the signal strength of the wireless network received by the terminal. The higher the signal strength indicated by RSSI, the higher the signal strength of the wireless network; the lower the signal strength indicated by RSSI, the lower the signal strength of the wireless network.
[0062] In some embodiments, during the process of detecting the retransmission rate, the terminal may select any one of a plurality of transmission protocols of the wireless network, such as TCP (Transmission Control Protocol), RTP (Real-time Transport Protocol) or RTMP (Real-Time Messaging Protocol). Then, the terminal detects the retransmission rate of data packets transmitted through the wireless network using the transmission protocol. The retransmission rate refers to the ratio of the number of retransmitted data packets per unit time to the total number of sent data packets.
[0063] In some embodiments, when detecting the packet loss rate, the terminal may also select any one of a plurality of transmission protocols of the wireless network, and detect the packet loss rate of the terminal transmitting data packets through the wireless network using the transmission protocol. The packet loss rate refers to the ratio of the number of data packets lost per unit time to the total number of data packets sent.
[0064] In some embodiments, during the process of detecting the average delay, the terminal may connect to at least one domain name server through the wireless network, and determine the time consumed to connect to each domain name server. Then, the terminal determines the average value of the time consumed to connect to each domain name server as the average delay for the terminal to connect to the domain name server through the wireless network.
[0065] In some embodiments, the terminal can score the network quality of the wireless network based on the detection results of the wireless network. Based on the detection results, the terminal determines the detection score of each network parameter in the detection results. Among them, the detection score of signal strength is positively correlated with the signal strength, the detection score of retransmission rate is negatively correlated with the retransmission rate, the detection score of packet loss rate is negatively correlated with the packet loss rate, and the detection score of average delay is negatively correlated with the average delay. Then, based on the weight of each network parameter, the terminal performs weighted summation on the detection score of each network parameter to obtain the quality score of the wireless network. Among them, the quality score is used to reflect the network quality of the wireless network, and the quality score is positively correlated with the network quality of the wireless network.
[0066] In some embodiments, the terminal can quantize the network parameters according to the detected network parameters to obtain a detection score of the network parameters. Table 1 below shows a quantization rule. The terminal can determine the detection score of the network parameter according to the quantization rule. It should be noted that the terminal can also determine the detection score of the network parameter according to other quantization rules or in other ways, and the embodiments of the present application are not limited to this.
[0067] Table 1
[0068]
[0069] As shown in Table 1, when the signal strength is not less than -60dbm (decibel milliwatt), the terminal determines that the detection score of the signal strength is 90; when the signal strength is less than -60dbm and not less than -70dbm, the first terminal determines that the detection score of the signal strength is 80; when the signal strength is less than -70dbm and not less than -80dbm, the first terminal determines that the detection score of the signal strength is 70; when the signal strength is less than -80dbm, the first terminal determines that the detection score of the signal strength is 60.
[0070] For example, after the terminal detects the four network parameters of the wireless network, namely, signal strength, retransmission rate, packet loss rate and average delay, it is found that the signal strength of the wireless network is -70dbm, the retransmission rate is 3%, the packet loss rate is 4%, and the average delay is 15ms. Then, the terminal determines that the detection scores of the above four network parameters are all 80 according to the quantization rules shown in Table 1 above. Then, the terminal performs weighted summation of the detection scores of each network parameter according to the weight of each network parameter to obtain the quality score of the wireless network. When the weight of each network parameter is 0.25, the terminal determines that the quality score of the wireless network is 0.25*80+0.25*80+0.25*80+0.25*80=80.
[0071] In some embodiments, the terminal can process the detection result of the wireless network through a network quality scoring system to obtain a quality score of the wireless network. Figure 5 A schematic diagram of a network quality scoring system is shown in Figure 2. Figure 5 As shown, the network quality scoring system is used to determine the detection score of each network parameter in the detection result according to the quantification rule, and to perform weighted summation on the detection score of each network parameter according to the weight of the network parameter to obtain the quality score of the wireless network. Among them, the quantification rule and the weight of the network parameter can be set by the terminal in the network quality scoring system, or can be input into the network quality scoring system by the user, and the embodiment of the present application does not limit this.
[0072] 302. When the network quality of the wireless network is lower than the quality threshold, the terminal increases the priority of the data packet of the target voice call from the first priority to the second priority.
[0073] In the embodiment of the present application, after the terminal determines the network quality of the wireless network, it can determine whether the network quality of the wireless network is good by comparing the network quality and the quality threshold. When the network quality of the wireless network is lower than the quality threshold, it indicates that the network quality of the wireless network is poor and the bandwidth resources of the wireless network are relatively tight; when the network quality of the wireless network is not lower than the quality threshold, it indicates that the network quality of the wireless network is good and the bandwidth resources of the wireless network are sufficient. Since the terminal not only transmits the data packets of the target voice call through the wireless network, the terminal also transmits the data packets of other services through the wireless network. Therefore, when the network quality of the wireless network is poor, the data packets of other services and the data packets of the target voice call occupy the bandwidth resources, resulting in that the data packets of the target voice call cannot be transmitted in time, thereby reducing the call quality of the target voice call. Therefore, the terminal increases the priority of the data packets of the target voice call from the first priority to the second priority, so that the terminal can preferentially transmit the data packets of the target voice call through the wireless network. Among them, the quality threshold can be a value determined based on experience, such as 70, 80 or 90, which is not limited in the embodiment of the present application.
[0074] In some embodiments, when the terminal indicates the network quality of the wireless network by a quality score, the quality threshold is the quality score threshold. When the quality score of the wireless network is lower than the quality score threshold, the terminal increases the priority of the data packet of the target voice call from the first priority to the second priority. For example, when the quality score threshold is 90 and the quality score of the wireless network is 80, the terminal increases the priority of the data packet of the target voice call to the second priority.
[0075] In order to more clearly illustrate the process of the terminal increasing the priority of the data packet of the target voice call, the above process is described in the following three ways respectively.
[0076] Method 1: When the network quality of the wireless network is lower than the quality threshold, the terminal obtains priority information. The priority information is used to indicate the priority of multiple types of data packets transmitted by the wireless network. The terminal determines the target priority based on the priority information. The target priority is the highest priority in the priority information. The terminal determines the current priority of the data packet of the target voice call, that is, the size relationship between the first priority and the target priority. When the target priority is higher than the first priority, it indicates that there is currently a data packet with a priority higher than the first priority, and the wireless network gives priority to transmitting the above data packet. Therefore, the terminal determines the target priority as the second priority. The terminal increases the priority of the data packet of the target voice call from the first priority to the second priority, so that the data packet of the target voice call can be transmitted with the same priority as the above data packet.
[0077] For example, when the priority information includes 3, 4, and 5, and 3 is the highest priority in the priority information and 5 is the lowest priority in the priority information, the terminal determines the target priority to be 3. When the first priority is 4, the terminal determines the second priority to be 3, and increases the priority of the data packet of the target voice call from 4 to 3.
[0078] Mode 2: When the target priority is equal to the first priority, it indicates that the priority of the data packet of the target voice call is already the highest priority in the priority information. The terminal determines a priority that is at least one priority higher than the first priority as the second priority. The terminal increases the priority of the data packet of the target voice call from the first priority to the second priority.
[0079] For example, when the target priority is 3 and the first priority is also 3, the terminal determines the second priority to be 2, and the terminal increases the priority of the data packet of the target voice call from 3 to 2. Alternatively, the terminal determines the second priority to be 1, and the terminal increases the priority of the data packet of the target voice call from 3 to 1.
[0080] Method 3: When the network quality of the wireless network is lower than the quality threshold, the terminal determines the highest priority defined in the transmission protocol of the wireless network as the second priority. The terminal increases the priority of the data packet of the target voice call from the first priority to the second priority, so as to transmit the data packet of the target voice call with the highest priority through the wireless network.
[0081] For example, the transmission protocol of the wireless network defines 9 priorities from 1 to 9, where 1 is the highest priority and 9 is the lowest priority. When the network quality of the wireless network is lower than the quality threshold, the terminal increases the priority of the data packet of the target voice call to 1.
[0082] It should be noted that the terminal can not only adjust the priority of the data packets of the voice call during the target voice call, but also adjust the priority of the data packets transmitted by different bearers when establishing a voice call through VoNR (Voice over New Radio) or VoLTE (Voice over Long Term Evolution). Among them, when the terminal establishes a voice call through VoNR or VoLTE, the terminal will allocate a dedicated bearer for the voice call to transmit the data packets of the voice call through the dedicated bearer. Therefore, the terminal can determine the priority of the data packets transmitted by different bearers by adjusting the value of the QCI (QoS Class Identifier, a parameter used to identify the priority) of different bearers. Table 2 below shows the values of the QCI of different bearers.
[0083] Table 2
[0084]
[0085]
[0086] Among them, the bearer types in Table 2 include dedicated bearers and default bearers. Dedicated bearers are bearers specially established to transmit specific types of data packets in order to meet the transmission requirements of data packets. Dedicated bearers can guarantee the minimum transmission bandwidth of data packets. When bandwidth resources are tight, dedicated bearers can also transmit data packets according to the minimum transmission bandwidth. Therefore, the bearer allocated by the terminal for voice calls is a dedicated bearer. The default bearer is a bearer established by default when the terminal accesses the core network. The default bearer is used to transmit some signaling and user data. The default bearer does not guarantee the minimum transmission bandwidth.
[0087] As can be seen from Table 2 above, the terminal can establish a dedicated bearer with a QCI of 1 for a voice call, and transmit the data packets of the voice call through the wireless network with a priority of 2. The terminal can also adjust the priority of the data packets transmitted by the dedicated bearer by adjusting the value of the dedicated bearer QCI.
[0088] 303. For any other data packet, if the priority of the other data packet is higher than the third priority, the terminal adjusts the priority of the other data packet to the third priority, the other data packet is a data packet other than the data packet of the target voice call, and the third priority is lower than the first priority.
[0089] In an embodiment of the present application, during a target voice call, in order to further improve the quality of the target voice call, the terminal determines the priority of other data packets other than the data packets of the target voice call. Then, the terminal determines that the highest priority of the above-mentioned other data packets is the third priority, and the third priority is lower than the first priority. In the case where the priority of any other data packet is higher than the third priority, the terminal adjusts the priority of the other data packet to the third priority. By further reducing the priority of other data packets, the tension of the bandwidth resources of the wireless network can be alleviated, so that the data packets of the target voice call can be transmitted through the wireless network using a larger transmission bandwidth, thereby improving the quality of the target voice call.
[0090] 304. The terminal transmits the data packets of the target voice call according to the second priority through the wireless network, and transmits the other data packets according to the third priority.
[0091] In an embodiment of the present application, after the terminal adjusts the priority of each data packet, the terminal transmits the data packet of the target voice call with a higher second priority through the wireless network, and transmits the above-mentioned other data packets with a lower third priority. For the data packet whose original priority is lower than the third priority, the terminal transmits the data packet through the wireless network according to its original priority. Through the above method, it can be ensured that the data packet of the target voice call can be preferentially transmitted by the wireless network. For other data packets with lower priorities, the terminal can maintain multiple data packets with lower priorities through a waiting queue. After the data packet transmission of the target voice call with a higher priority is completed, the terminal transmits the first data packet in the waiting queue through the wireless network. In the case of poor network quality of the wireless network, the above method avoids the data packets of other services and the data packets of the target voice call from occupying bandwidth resources, ensures the call quality of the target voice call, and improves the user's call experience.
[0092] The embodiment of the present application provides a voice call method, in which when a terminal is connected to a wireless network and a voice call is established through Vowifi, the terminal can transmit data packets for the voice call through the wireless network. Since the terminal also transmits data packets for other services through the wireless network, when the network quality of the wireless network is poor, the data packets for other services will compete with the data packets for the voice call for the transmission bandwidth. Therefore, in order to ensure that the terminal can transmit the data packets for the voice call in a timely manner, the terminal increases the priority of the data packets for the voice call, and then the terminal can preferentially transmit the data packets for the voice call through the wireless network. The above method ensures that the data packets for the voice call can be sent out preferentially, thereby ensuring the call quality of the voice call.
[0093] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0094] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0095] Figure 6 is a structural diagram of a voice communication device provided in an embodiment of the present application. Figure 6 The device includes: a determination module 601, a priority adjustment module 602 and a data packet transmission module 603.
[0096] A determination module 601 is used to determine the network quality of the wireless network during a target voice call, where the target voice call is a voice call established through Vowifi based on wireless fidelity, and the wireless network is used to transmit a data packet of the target voice call, where the data packet encapsulates voice data of the target voice call;
[0097] The priority adjustment module 602 is used to increase the priority of the data packet of the target voice call from the first priority to the second priority when the network quality of the wireless network is lower than the quality threshold;
[0098] The data packet transmission module 603 is used to transmit the data packet of the target voice call according to the second priority through the wireless network.
[0099] In some embodiments, Figure 7 is a structural diagram of another voice communication device provided in an embodiment of the present application, see Figure 7 , determining module 601, including:
[0100] The detection unit 6011 is used to detect network parameters of the wireless network during the target voice call and obtain the detection result of the wireless network, wherein the network parameters include at least one of signal strength, a retransmission rate of data packets transmitted through the wireless network, a packet loss rate of data packets transmitted through the wireless network, and an average delay of connecting to a domain name server through the wireless network;
[0101] The determination unit 6012 is used to determine the network quality of the wireless network based on the detection result, the network quality is positively correlated with the signal strength, the network quality is negatively correlated with the retransmission rate, the network quality is negatively correlated with the packet loss rate, and the network quality is negatively correlated with the average delay.
[0102] In some embodiments, the determination unit 6012 is used to determine the detection score of each network parameter in the detection result based on the detection result, the detection score of signal strength is positively correlated with the signal strength, the detection score of retransmission rate is negatively correlated with the retransmission rate, the detection score of packet loss rate is negatively correlated with the packet loss rate, and the detection score of average delay is negatively correlated with the average delay; based on the weight of each network parameter, the detection score of each network parameter is weighted and summed to obtain the quality score of the wireless network, the quality score is used to reflect the network quality of the wireless network, and the quality score is positively correlated with the network quality of the wireless network.
[0103] In some embodiments, when the network quality of the wireless network is represented by a quality score, the quality threshold is a quality score threshold;
[0104] The priority adjustment module 602 is configured to increase the priority of the data packet of the target voice call from the first priority to the second priority when the quality score of the wireless network is lower than the quality score threshold.
[0105] In some embodiments, the priority adjustment module 602 is used to determine the target priority based on the priority information when the network quality of the wireless network is lower than the quality threshold, the priority information is used to indicate the priority of multiple types of data packets transmitted by the wireless network, and the target priority is the highest priority in the priority information; when the target priority is higher than the first priority, the target priority is determined as the second priority; and the priority of the data packet of the target voice call is increased from the first priority to the second priority.
[0106] In some embodiments, the priority adjustment module 602 is further configured to determine a second priority when the target priority is equal to the first priority, and the second priority is higher than the first priority by at least one priority level.
[0107] In some embodiments, the priority adjustment module 602 is used to determine the highest priority defined in the transmission protocol of the wireless network as the second priority when the network quality of the wireless network is lower than the quality threshold; and to increase the priority of the data packet of the target voice call from the first priority to the second priority.
[0108] In some embodiments, the priority adjustment module 602 is further configured to adjust the priority of any other data packet to the third priority when the priority of the other data packet is higher than the third priority, the other data packet being a data packet other than the data packet of the target voice call, and the third priority being lower than the first priority;
[0109] The data packet transmission module 603 is further configured to transmit other data packets according to the third priority through the wireless network.
[0110] The embodiment of the present application provides a voice call device. When a terminal is connected to a wireless network and a voice call is established through Vowifi, the terminal can transmit data packets for the voice call through the wireless network. Since the terminal also transmits data packets for other services through the wireless network, when the network quality of the wireless network is poor, the data packets for other services will compete with the data packets for the voice call for the transmission bandwidth. Therefore, in order to ensure that the terminal can transmit the data packets for the voice call in a timely manner, the terminal increases the priority of the data packets for the voice call, and then the terminal can preferentially transmit the data packets for the voice call through the wireless network. The above method ensures that the data packets for the voice call can be sent out preferentially, thereby ensuring the call quality of the voice call.
[0111] It should be noted that the voice call device provided in the above embodiment, when implementing its functions, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the voice call device provided in the above embodiment and the voice call method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0112] An embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the voice call method provided by the above-mentioned various method embodiments.
[0113] Figure 8 800 is a block diagram of a terminal provided in an embodiment of the present application. In some embodiments, the terminal 800 is a terminal such as a smart phone, a tablet computer, a wearable device, etc. that can access a wireless local area network as a wireless station. The terminal 800 in the present application includes at least one or more of the following components: a processor 810, a memory 820, and at least two wireless links 830.
[0114] In some embodiments, the processor 810 includes one or more processing cores. The processor 810 uses various interfaces and lines to connect various parts of the entire terminal 800, and executes various functions and processes data of the terminal 800 by running or executing program codes stored in the memory 820, and calling data stored in the memory 820. In some embodiments, the processor 810 is implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 810 can integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content that needs to be displayed on the display screen; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 810, but may be implemented by a separate chip.
[0115] In some embodiments, the processor 810 is used to control the working conditions of at least two wireless links 830. Accordingly, the processor 810 is a processor integrated with a wireless fidelity (Wireless Fidelity, Wi-Fi) chip. The Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual concurrent (Dual Band Dual Concurrent, DBDC) chip, or a dual-band synchronous (Dual Band Simultaneous, DBS) chip, etc.
[0116] In some embodiments, the memory 820 includes a random access memory (RAM), and in some embodiments, the memory 820 includes a read-only memory (ROM). In some embodiments, the memory 820 includes a non-transitory computer-readable storage medium. The memory 820 can be used to store program codes. The memory 820 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the terminal 800 (such as audio data, a phone book), etc.
[0117] In some embodiments, the memory 820 stores reception schemes for receiving beacon frames of different wireless links 830, as well as identifiers of access nodes connected to different wireless links 830, identifiers of wireless links 830, and the like.
[0118] The at least two wireless links 830 are used to connect different access points (APs) to receive downlink data sent by the APs, wherein the different access points are access points in the same router or access points in different routers.
[0119] In some embodiments, the terminal 800 also includes a display screen. The display screen is a display component for displaying a user interface. In some embodiments, the display screen is a display screen with a touch function, through which the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen. In some embodiments, the display screen is usually arranged on the front panel of the terminal 800. In some embodiments, the display screen is designed to be a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. In some embodiments, the display screen is also designed to be a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.
[0120] In addition, those skilled in the art will appreciate that the structure of the terminal 800 shown in the above drawings does not limit the terminal 800, and the terminal 800 includes more or fewer components than shown in the drawings, or combines certain components, or arranges components differently. For example, the terminal 800 also includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, and a Bluetooth module, which will not be described in detail here.
[0121] The present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the voice call method shown in the above embodiments.
[0122] The present application also provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the voice call method shown in the above embodiments.
[0123] The present application also provides a computer program product, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the voice call method shown in the above embodiments.
[0124] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0125] Those skilled in the art will appreciate that all or part of the steps in the voice call method of the above embodiment can be completed by hardware, or by a program to instruct the relevant hardware to complete the steps. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a disk or an optical disk, etc. The above is only an optional embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A voice call method, characterized in that: The method comprises: During a target voice call, determining a network quality of a wireless network, wherein the target voice call is a voice call established through Vowifi based on wireless fidelity, and the wireless network is used to transmit a data packet of the target voice call, wherein the data packet encapsulates voice data of the target voice call; When the network quality of the wireless network is lower than the quality threshold, raising the priority of the data packet of the target voice call from the first priority to the second priority; The data packets of the target voice call are transmitted through the wireless network according to the second priority.
2. The method according to claim 1, characterized in that Determining the network quality of the wireless network during the target voice call includes: During the target voice call, detecting network parameters of the wireless network to obtain a detection result of the wireless network, wherein the network parameters include at least one of signal strength, a retransmission rate of data packets transmitted through the wireless network, a packet loss rate of data packets transmitted through the wireless network, and an average delay of connecting to a domain name server through the wireless network; Based on the detection result, the network quality of the wireless network is determined, wherein the network quality is positively correlated with the signal strength, negatively correlated with the retransmission rate, negatively correlated with the packet loss rate, and negatively correlated with the average delay.
3. The method according to claim 2, characterized in that The determining the network quality of the wireless network based on the detection result includes: Based on the detection result, determine the detection score of each network parameter in the detection result, the detection score of the signal strength is positively correlated with the signal strength, the detection score of the retransmission rate is negatively correlated with the retransmission rate, the detection score of the packet loss rate is negatively correlated with the packet loss rate, and the detection score of the average delay is negatively correlated with the average delay; Based on the weight of each network parameter, the detection score of each network parameter is weighted and summed to obtain the quality score of the wireless network, where the quality score is used to reflect the network quality of the wireless network, and the quality score is positively correlated with the network quality of the wireless network.
4. The method according to claim 3, characterized in that In the case where the network quality of the wireless network is represented by the quality score, the quality threshold is a quality score threshold; When the network quality of the wireless network is lower than the quality threshold, raising the priority of the data packet of the target voice call from the first priority to the second priority, comprises: When the quality score of the wireless network is lower than a quality score threshold, the priority of the data packet of the target voice call is increased from the first priority to the second priority.
5. The method according to claim 1, characterized in that When the network quality of the wireless network is lower than the quality threshold, raising the priority of the data packet of the target voice call from the first priority to the second priority, comprises: In a case where the network quality of the wireless network is lower than the quality threshold, determining a target priority based on priority information, wherein the priority information is used to indicate priorities of multiple types of data packets transmitted by the wireless network, and the target priority is a highest priority in the priority information; When the target priority is higher than the first priority, determining the target priority as the second priority; The priority of the data packet of the target voice call is increased from the first priority to the second priority.
6. The method according to claim 5, characterized in that The method further comprises: In a case where the target priority is equal to the first priority, the second priority is determined, and the second priority is higher than the first priority by at least one priority level.
7. The method according to claim 1, characterized in that When the network quality of the wireless network is lower than the quality threshold, raising the priority of the data packet of the target voice call from the first priority to the second priority, comprises: When the network quality of the wireless network is lower than a quality threshold, determining the highest priority defined in the transmission protocol of the wireless network as the second priority; The priority of the data packet of the target voice call is increased from the first priority to the second priority.
8. The method according to claim 5 or 7, characterized in that: The method further comprises: For any other data packet, if the priority of the other data packet is higher than the third priority, adjusting the priority of the other data packet to the third priority, the other data packet is a data packet other than the data packet of the target voice call, and the third priority is lower than the first priority; The other data packets are transmitted through the wireless network according to the third priority.
9. A voice communication device, characterized in that: The device comprises: A determination module, used to determine the network quality of a wireless network during a target voice call, wherein the target voice call is a voice call established through Vowifi based on wireless fidelity, and the wireless network is used to transmit a data packet of the target voice call, wherein the data packet encapsulates voice data of the target voice call; A priority adjustment module, configured to increase the priority of the data packet of the target voice call from the first priority to the second priority when the network quality of the wireless network is lower than the quality threshold; A data packet transmission module is used to transmit the data packet of the target voice call according to the second priority through the wireless network.
10. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the voice call method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the voice call method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the voice call method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Wireless WIFI network quality analysis evaluation method
CN104301925A
Data service processing method and device, and mobile terminal
CN107682167A
Data transmission priority adjustment method and related device
CN108055348A
Communication service quality optimization method and mobile terminal
CN108391288A
Voice communication method and device and electronic equipment
CN111726835A
Cited By
Intelligent gateway method and system based on wireless network voice service quality guarantee
CN120499664A
Information processing methods, information processing apparatus and communication device
WO2026200746A1