Call method and device, terminal and storage medium
By using the second link for redundant or concurrent transmission when the quality of the first link is lower than the threshold, the call quality problem caused by poor cell or WiFi signal quality during video calls is solved, improving call quality and avoiding No lags and delays.
Patent Information
- Application Number
- CN202410869665.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-06
AI Technical Summary
When the cell network signal quality at the transmitting end or receiving end is poor, especially when interfered by neighboring cells on the same frequency, video calls may suffer from blurring, mosaics, black screens, freezes, etc. Existing technologies such as cell escape or WiFi switching cannot guarantee call quality. improvement, especially when there is no other cell or WiFi coverage with better quality.
By using the second link (different from the first link) to transmit call data when the quality of the first link is lower than a certain threshold, redundant or concurrent transmission methods are implemented to reduce packet loss rate and delay and improve call quality. .
It effectively reduces the probability of call data packet loss or error, avoids lagging and delays, improves the call experience, and ensures the improvement of call quality. It can achieve communication quality even when there is no other high-quality cell or WiFi coverage. promote.
Smart Images

Figure CN118612804A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a call method, device, terminal and storage medium. Background Art
[0002] With the development of communication technology, calls can be initiated between different terminals. For example, operator video calls between different terminals can be realized through ViLTE (Video over LTE) technology or ViNR (Video over NR) technology, or WiFi-based video calls can be realized through ViWiFi (Video over WiFi) technology.
[0003] When the cell network signal quality of the transmitting or receiving end is poor and is interfered by the same frequency neighboring cell, the video call may be blurred, mosaic, black screen, freeze, etc. In the related technology, the quality of the video call is usually improved by switching the cell where the terminal resides to another cell with better quality. Summary of the invention
[0004] The embodiments of the present application provide a method, device, terminal and storage medium for making a call. The technical approach is as follows:
[0005] On the one hand, an embodiment of the present application provides a calling method, the method comprising:
[0006] transmitting call data to the second terminal via the first link;
[0007] When the first link quality of the first link is lower than a first quality threshold, the call data is transmitted to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link, and the second link is different from the first link.
[0008] On the other hand, an embodiment of the present application provides a communication device, the device comprising:
[0009] A first transmission module, used for transmitting call data to the second terminal through the first link;
[0010] A second transmission module is used to transmit the call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link when the first link quality of the first link is lower than a first quality threshold, and the second link is different from the first link.
[0011] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory, wherein the memory stores at least one computer instruction, and the at least one computer instruction is loaded and executed by the processor to implement the method described in the above aspect.
[0012] On the other hand, an embodiment of the present application provides a computer-readable storage medium, in which at least one computer instruction is stored. The computer instruction is loaded and executed by a processor to implement the method described in the above aspects.
[0013] In an embodiment of the present application, when the first link quality of the first link is lower than the first quality threshold, the data transmission quality of the call data transmitted by the first terminal to the second link through the first link is low, so the call may be delayed or stuck, and the call experience is poor; when the first terminal transmits call data to the second terminal through the first link and the second link through the first link quality and the second link quality, since the second link is different from the first link, the probability of call data packet loss or error can be reduced to a certain extent, and the first terminal can determine the call data transmitted through the first link and the call data transmitted through the second link based on the first link quality and the second link quality, and realize reasonable allocation of data transmission between the first link and the second link, thereby improving the call quality and avoiding stuck or delay in the call. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical methods 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 paying creative work.
[0015] Figure 1 is a flow chart of a calling method provided by an exemplary embodiment of the present application;
[0016] Figure 2 is a schematic diagram of a first link and a second link provided by an exemplary embodiment of the present application;
[0017] Figure 3 An exemplary embodiment of the present application provides a flowchart of a call method in which a first terminal accesses a first link through a base station corresponding to a first SIM card;
[0018] Figure 4 is a flowchart of determining a data transmission mode according to a first link quality and a second link quality provided by an exemplary embodiment of the present application;
[0019] Figure 5 is a schematic diagram of a redundant transmission mode and a concurrent transmission mode provided by an exemplary embodiment of the present application;
[0020] Figure 6 is a flowchart of a call method provided by an exemplary embodiment of the present application when a first terminal accesses a first link through a WiFi device corresponding to a WiFi network;
[0021] Figure 7 is a flow chart of a switching data transmission mode provided by an exemplary embodiment of the present application;
[0022] Figure 8 is a structural block diagram of a communication device provided by an exemplary embodiment of the present application;
[0023] Fig. 9 It is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to make the objectives, technical methods 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.
[0025] First, the terms involved in the embodiments of the present application are introduced.
[0026] 5G access network (New Radio, NR): A global 5G standard based on a new air interface design of Orthogonal Frequency Division Multiplexing (OFDM), which is also a very important foundation for the next generation of cellular mobile technology. 5G technology will achieve ultra-low latency and high reliability. The main advantage of 5G networks is that the data transmission rate is much higher than previous cellular networks, up to 10Gbit / s, faster than current wired Internet, and 100 times faster than the previous 4G LTE cellular network. Another advantage is lower network latency (faster response time), less than 1 millisecond, while 4G is 30-70 milliseconds.
[0027] Long Term Evolution (LTE): It is the long-term evolution of the UMTS (Universal Mobile Telecommunications System) technical standard developed by 3GPP (The 3rd Generation Partnership Project). The LTE system introduces key technologies such as orthogonal frequency division multiplexing and multiple-input and multiple-output (MIMO), which significantly increases spectrum efficiency and data transmission rate.
[0028] Voice over NR (VoNR): In standalone (SA), the 5G network has its own core network 5G Core (5GC), and no longer relies on 4G as a control network. This means that 5G voice services can be independently carried end-to-end through 5GNR, 5GC and IMS (IP Multimedia Subsystem). VoNR refers to the voice service carried end-to-end by 5G NR, 5G Core and IMS.
[0029] Video over NR (ViNR): A video calling service built on 5G SA that provides customers with high-resolution video quality.
[0030] Voice over LTE (VoLTE): A voice communication service that uses 4G LTE networks to route voice traffic and transmit data. VoLTE is based on the IP Multimedia Subsystem framework and is able to deliver multimedia as data streams using a generic IP interface that can use but does not rely on traditional circuit-switched voice networks.
[0031] Video over LTE (ViLTE): An extension of VoLTE, a video communication service that uses 4G LTE networks to route video traffic and transmit data.
[0032] Wireless Fidelity (WiFi): WiFi is an international wireless local area network (WLAN) standard. WiFi is a wireless communication technology used within a specific range, mainly used in smaller areas such as homes and offices. It allows users to connect to the Internet via radio waves without having to connect to a computer via an Ethernet cable.
[0033] Real-time Transport Protocol (RTP): RTP is used to provide end-to-end real-time transmission services for various multimedia data that need to be transmitted in real time, such as voice, images, fax, etc. on IP networks, but it does not guarantee the quality of service. The quality of service is provided by RTCP.
[0034] Real-time Control Protocol (RTCP): A control protocol that works with RTP. During an RTP session, RTP packets and RTCP packets can be distinguished by using different port numbers. Each session participant periodically sends RTCP control packets to all other participants. RTCP provides information about the quality of the session or the quality of the broadcast performance to the application.
[0035] Session Traversal Utilities for NAT (STUN): A network protocol that allows clients behind a NAT (Network Address Translation) or multiple NATs to find out their public network addresses, what type of NAT they are behind, and the Internet port to which the NAT is bound for a local port. The protocol is defined by RFC3489. Currently, RFC3489 has been replaced by RFC5389. In the new protocol, STUN is defined as a tool to assist in traversing NAT, and does not provide an independent traversal solution.
[0036] Traversal Using Relays around NAT: An extension of the STUN protocol, defined in RFC8656. TURN and STURN both achieve NAT penetration by modifying the private network address in the application layer, but TURN achieves penetration through a "middleman" approach between two parties.
[0037] Interactive Connectivity Establishment (ICE): This is a set of protocols based on the offer / answer model to solve NAT traversal. It uses existing STUN, TURN and other protocols to establish sessions in a more efficient way. The client side does not need to care about the location of the network and the NAT type, and can dynamically find the optimal transmission path.
[0038] In the case of blur, mosaic, black screen, freeze and other phenomena in video calls, the relevant technology can improve the quality of video calls by escaping the cell or switching WiFi. For example, the cell where the terminal resides is switched to another cell with better quality, or the WiFi with better signal is connected to improve the quality of the call.
[0039] However, cell escape or WiFi switching cannot guarantee the improvement of call quality. In one possible scenario, in the network environment where the SIM card of the terminal making the video call is located, there are no other cells with better quality. For example, the network signals of the neighboring cells are very weak, or there is serious interference in the neighboring cells. It is impossible to improve the communication quality by escaping to another cell with better quality. In another possible scenario, the terminal cannot identify the coverage of a WiFi network with a stronger signal, so it is impossible to improve the communication quality by switching to a WiFi network with a stronger signal.
[0040] Therefore, the present application proposes a calling method, which can improve the communication quality even if there are no other cells with better quality or no WiFi network coverage with stronger signals in the network environment where the SIM card is located. It should be noted that this specification uses the calling method proposed in the present application as an example to illustrate the application of the video calling scenario. In fact, the calling method proposed in the present application can also be applied to other types of calling scenarios (such as voice calling scenarios), without limitation.
[0041] See also Figure 1 , Figure 1 1 is a flowchart of a call method provided by an exemplary embodiment of the present application. In some embodiments, the method is applied to a first terminal. The method includes the following steps.
[0042] Step 101: Transmit call data to a second terminal via a first link.
[0043] The first terminal and the second terminal are different terminals for making a call. In some embodiments, the second terminal may be one or more terminals. In some embodiments, the first terminal is a transmitter of call data, and the second terminal is a receiver of call data. It should be noted that during a call, the first terminal and the second terminal may be the transmitter and the receiver of each other.
[0044] Optionally, the first terminal and the second terminal can be mobile terminals such as smart phones, tablet computers, laptop computers, vehicle-mounted terminals, or terminals such as desktop computers and projection computers. This specification uses the example that the first terminal and the second terminal are smart phones for schematic description, but does not constitute a limitation to this.
[0045] In some embodiments, the access device on the first terminal side in the first link may be a base station corresponding to the SIM card or a WiFi device corresponding to the WiFi network.
[0046] In one possible scenario, a SIM card is provided in the first terminal, and the access device on the first terminal side in the first link is the base station corresponding to the SIM card. For example, in a scenario where the first terminal uses a voice service based on NR (VoNR), a video call based on NR (ViNR), a voice service based on LTE (VoLTE), or a video call based on LTE (ViLTE) to talk to a second terminal, the first terminal accesses the first link through the base station identified by the SIM card to achieve cellular communication.
[0047] In some embodiments, the first terminal is a terminal supporting dual cards, and the first terminal is provided with a first SIM card and a second SIM card. Then, the access device on the first terminal side in the first link may be a base station corresponding to the first SIM card, or the access device on the first terminal side in the first link may be a base station corresponding to the second SIM card.
[0048] In a possible scenario, the access device on the first terminal side in the first link may be a WiFi device corresponding to the WiFi network. For example, when the first terminal recognizes that there is coverage of WiFi network A, the first terminal connects to WiFi network A, and the first terminal accesses the first link through the WiFi device (such as a router) corresponding to WiFi network A to achieve WiFi communication.
[0049] In a video call scenario, call data may include video frame data and audio frame data. Video frame data includes I-frames (intra picture, intra-coded frames, or key frames), P-frames (predictive-frame, forward reference frames), and B-frames (bi-directional interpolated prediction frames). In a voice call scenario, call data may include audio frame data.
[0050] Step 102: When the first link quality of the first link is lower than the first quality threshold, transmit call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link, where the second link is different from the first link.
[0051] In some embodiments, the first terminal may determine the first link quality by measuring a link quality parameter of the first link.
[0052] Optionally, the link quality parameters include at least one of Packet Data Convergence Protocol (PDCP) packet loss rate, block error rate (BLER), power headroom (PH), network scheduling resources, buffer status report (BSR) and link round-trip time (RTT).
[0053] Optionally, for different link quality parameters, the corresponding first quality thresholds may be different. For example only, when the uplink PDCP packet loss rate is greater than 50%, it is determined that the first link quality of the first link is lower than the first quality threshold; or, when the link round-trip delay is greater than 0.5s, it is determined that the first link quality of the first link is lower than the first quality threshold.
[0054] The second link is different from the first link.
[0055] In some embodiments, the access device on the first terminal side in the first link is different from the access device on the first terminal side in the second link.
[0056] The difference between the first link and the second link is only for example. In one possible scenario, the first terminal is only provided with one SIM card, the access device on the first terminal side in the first link is the base station corresponding to the SIM card, and the access device on the first terminal side in the second link is the WiFi device corresponding to the WiFi network. Then the second link is different from the first link.
[0057] The difference between the first link and the second link is only for example. In one possible scenario, the access device on the first terminal side in the first link is a WiFi device corresponding to the WiFi network, and the access device on the first terminal side in the second link is a base station corresponding to the SIM card. Then the second link is different from the first link.
[0058] The difference between the first link and the second link is for example only. In one possible scenario, the first terminal is provided with dual cards (a first SIM card and a second SIM card). In some embodiments, the access device on the first terminal side in the first link is a base station corresponding to the first SIM card, and the access device on the first terminal side in the second link is a WiFi device or a base station corresponding to the second SIM card, and the second link is different from the first link.
[0059] In some other embodiments, the access device on the second terminal side in the first link is different from the access device on the second terminal side in the second link.
[0060] Regarding the difference between the first link and the second link, for example only, in one possible scenario, the second terminal is provided with dual cards (a third SIM card and a fourth SIM card), the access device on the second terminal side in the first link is the base station corresponding to the third SIM card, and the access device on the second terminal side in the second link is the base station corresponding to the fourth SIM card, then the second link is different from the first link.
[0061] Regarding the timing of establishing the second link, in some embodiments, the second link has been established before the first terminal detects that the first link quality of the first link is lower than the first quality threshold. For example, when the second link is a link accessed through a WiFi device, when the first terminal recognizes that there is WiFi network coverage and the network signal of the WiFi network is greater than the signal threshold, the first terminal establishes a connection with the second terminal through the second link.
[0062] Regarding the timing of establishing the second link, in some embodiments, the first terminal establishes the second link with the second terminal when detecting that the first link quality of the first link is lower than the first quality threshold. For example, the second link is a link accessed by the first terminal through the base station corresponding to the second SIM card, and the first terminal accesses the second link through the base station corresponding to the second SIM card when detecting that the uplink PDCP packet loss rate is greater than 50%, so as to establish the second link between the first terminal and the second terminal.
[0063] In some embodiments, the first terminal may determine the first link quality by measuring a link quality parameter of the first link, and determine the second link quality by measuring a link quality parameter of the second link.
[0064] In some embodiments, the first terminal transmits call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link.
[0065] In some embodiments, the first terminal may determine a data transmission mode of the communication data according to the first link quality of the first link and the second link quality of the second link, and transmit the communication data to the second terminal based on the data transmission mode.
[0066] In one possible implementation, the first link and the second link can be used to transmit the same call data. Since the first link quality of the first link is lower than the first quality threshold, the packet loss rate of the call data transmitted by the first link may be high. In some embodiments, when the second link quality of the second link is higher than the second quality threshold, the first terminal can simultaneously transmit the same communication data to the second terminal through the second link, and the second terminal can sort, deduplicate and merge the communication data received from the first link and the second link, thereby reducing the packet loss rate and improving the quality of call data transmission. (This method can be called a redundant transmission method, because the first terminal transmits redundant communication data to the second terminal through the second link).
[0067] In another possible implementation, the first link and the second link can be used to transmit different call data. In some embodiments, the first terminal can determine the amount of communication data transmitted to the second terminal through the first link and the amount of communication data transmitted to the second terminal through the second link based on the quality of the first link and the quality of the second link. For example, when the quality of the first link is higher than the quality of the second link, the amount of communication data transmitted to the second terminal through the first link is higher than the amount of communication data transmitted to the second terminal through the second link. The second terminal can sort, deduplicate and merge the communication data received from the first link and the second link, thereby reducing the packet loss rate and improving the quality of call data transmission. (This method can be called a concurrent transmission method, because the communication data transmitted from the first terminal to the second terminal through the second link is different from the communication data transmitted from the first link to the second terminal).
[0068] For more information about redundant transmission and concurrent transmission, see below. Figure 3 , Figure 4 And the related description will not be repeated here.
[0069] To summarize, when the first link quality of the first link is lower than the first quality threshold, the data transmission quality of the call data transmitted by the first terminal to the second link through the first link is low, so the call may be delayed or stuck, and the call experience is poor; when the first terminal transmits call data to the second terminal through the first link quality and the second link quality through the first link and the second link, since the second link is different from the first link, the probability of call data packet loss or error can be reduced to a certain extent, and the first terminal can determine the call data transmitted through the first link and the call data transmitted through the second link based on the first link quality and the second link quality, so as to realize reasonable allocation of data transmission between the first link and the second link, thereby improving the call quality and avoiding stuck or delay in the call.
[0070] Regarding the difference between the first link and the second link, in some embodiments, the access device on the first terminal side in the first link is different from the access device on the first terminal side in the second link, or the access device on the second terminal side in the first link is different from the access device on the second terminal side in the second link.
[0071] In the case where the access device on the first terminal side in the first link is different from the access device on the first terminal side in the second link, exemplarily, the access device on the first terminal side in the first link and the second link may be any of the following:
[0072] (1) The access device on the first terminal side in the first link is a base station corresponding to the SIM card, and the access device on the first terminal side in the second link is a WiFi device corresponding to the WiFi network.
[0073] Exemplarily, when the first terminal is a terminal supporting a single SIM card, the first terminal accesses the first link through a base station corresponding to a unique SIM card, and accesses the second link through a WiFi device corresponding to WiFi network A.
[0074] Exemplarily, when the first terminal is a terminal supporting dual SIM cards, the first terminal can access the first link through the base station corresponding to the first SIM card, and access the second link through the WiFi device corresponding to the WiFi network A, or the first terminal can access the second link through the base station corresponding to the second SIM card, and access the second link through the WiFi device corresponding to the WiFi network A.
[0075] (2) The access device on the first terminal side in the first link is a WiFi device corresponding to the WiFi network, and the access device on the first terminal side in the second link is a base station corresponding to the SIM card.
[0076] Exemplarily, when the first terminal is a terminal supporting a single SIM card, the first terminal accesses the first link through a WiFi device corresponding to WiFi network A, and accesses the second link through a base station corresponding to a unique SIM card.
[0077] Exemplarily, when the first terminal is a terminal supporting dual SIM cards, the first terminal can access the first link through the WiFi device corresponding to the WiFi network A, and access the second link through the base station corresponding to the first SIM card, or the first terminal accesses the first link through the WiFi device corresponding to the WiFi network A, and accesses the second link through the base station corresponding to the second SIM card.
[0078] (3) The access device on the first terminal side in the first link is a WiFi device corresponding to the first WiFi network, and the access device on the first terminal side in the second link is a WiFi device corresponding to the second WiFi network.
[0079] Exemplarily, when the coverage of the first WiFi network is identified, the first terminal accesses the first link through a first WiFi device corresponding to the first WiFi network, and the first terminal accesses the second link through a second WiFi device corresponding to the second WiFi network.
[0080] Optionally, the WiFi device may be a router or a hotspot device.
[0081] (4) The access device on the first terminal side in the first link is the base station corresponding to the first SIM card, and the access device on the first terminal side in the second link is the base station corresponding to the second SIM card.
[0082] Exemplarily, the first terminal is a terminal supporting dual SIM cards, and is provided with a first SIM card and a second SIM card. The first terminal accesses the first link through the base station corresponding to the first SIM card, and the first terminal accesses the second link through the base station corresponding to the second SIM card.
[0083] In the case where the access device on the second terminal side in the first link is different from the access device on the second terminal side in the second link, exemplarily, the access device on the second terminal side in the first link and the second link may be any of the following:
[0084] (1) The access device on the second terminal side in the first link is a base station corresponding to the SIM card, and the access device on the second terminal side in the second link is a WiFi device corresponding to the WiFi network.
[0085] Exemplarily, when the second terminal is a terminal supporting a single SIM card, the second terminal accesses the first link through a base station corresponding to a unique SIM card, and accesses the second link through a WiFi device corresponding to WiFi network A.
[0086] Exemplarily, when the second terminal is a terminal supporting dual SIM cards, the second terminal can access the first link through the base station corresponding to the third SIM card, and access the second link through the WiFi device corresponding to the WiFi network A, or the second terminal can access the second link through the base station corresponding to the fourth SIM card, and access the second link through the WiFi device corresponding to the WiFi network A.
[0087] (2) The access device on the second terminal side in the first link is a WiFi device corresponding to the WiFi network, and the access device on the second terminal side in the second link is a base station corresponding to the SIM card.
[0088] Exemplarily, when the second terminal is a terminal supporting a single SIM card, the second terminal accesses the first link through a WiFi device corresponding to WiFi network A, and accesses the second link through a base station corresponding to a unique SIM card.
[0089] Exemplarily, when the second terminal is a terminal supporting dual SIM cards, the second terminal can access the first link through the WiFi device corresponding to the WiFi network A, and access the second link through the base station corresponding to the third SIM card, or the second terminal accesses the first link through the WiFi device corresponding to the WiFi network A, and accesses the second link through the base station corresponding to the fourth SIM card.
[0090] (3) The access device on the second terminal side in the first link is a WiFi device corresponding to the third WiFi network, and the access device on the second terminal side in the second link is a WiFi device corresponding to the fourth WiFi network.
[0091] Exemplarily, when the third WiFi network coverage is identified, the second terminal accesses the first link through a third WiFi device corresponding to the third WiFi network, and the second terminal accesses the second link through a second WiFi device corresponding to the second WiFi network.
[0092] Optionally, the WiFi device may be a router or a hotspot device.
[0093] (4) The access device on the second terminal side in the first link is the base station corresponding to the third SIM card, and the access device on the second terminal side in the second link is the base station corresponding to the fourth SIM card.
[0094] Exemplarily, the second terminal is a terminal supporting dual SIM cards, and the first terminal is provided with a third SIM card and a fourth SIM card. The second terminal accesses the first link through the base station corresponding to the third SIM card, and the second terminal accesses the second link through the base station corresponding to the fourth SIM card.
[0095] Regarding the difference between the first link and the second link, in other embodiments, the access device on the first terminal side in the first link is different from the access device on the first terminal side in the second link, and the access device on the second terminal side in the first link is different from the access device on the second terminal side in the second link.
[0096] Exemplarily, the access device on the second terminal side in the first link and the second link may be in any of the following situations:
[0097] (1) The access device on the first terminal side in the first link is the base station corresponding to the SIM card, and the access device on the first terminal side in the second link is the WiFi device corresponding to the WiFi network. The access device on the second terminal side in the first link is the base station corresponding to the SIM card, and the access device on the second terminal side in the second link is the WiFi device corresponding to the WiFi network.
[0098] (2) The access device on the first terminal side in the first link is the WiFi device corresponding to the WiFi network, and the access device on the first terminal side in the second link is the base station corresponding to the SIM card. The access device on the second terminal side in the first link is the WiFi device corresponding to the WiFi network, and the access device on the second terminal side in the second link is the base station corresponding to the SIM card.
[0099] (3) The access device on the first terminal side in the first link is the base station corresponding to the SIM card, and the access device on the first terminal side in the second link is the WiFi device corresponding to the WiFi network. The access device on the second terminal side in the first link is the WiFi device corresponding to the WiFi network, and the access device on the second terminal side in the second link is the base station corresponding to the SIM card.
[0100] (4) The access device on the first terminal side in the first link is the WiFi device corresponding to the WiFi network, and the access device on the first terminal side in the second link is the base station corresponding to the SIM card. The access device on the second terminal side in the first link is the base station corresponding to the SIM card, and the access device on the second terminal side in the second link is the WiFi device corresponding to the WiFi network.
[0101] See also Figure 2 , Figure 2 It is a schematic diagram of a first link and a second link provided by an exemplary embodiment of the present application.
[0102] like Figure 2 As shown, in the first link 210 , the access device on the first terminal 201 side is the base station 203 corresponding to the SIM card of the first terminal 201 , and the access device on the second terminal 202 side is the base station 204 corresponding to the SIM card of the second terminal 202 .
[0103] The second link 220 is different from the first link 210. The access device on the first terminal 201 side in the first link 210 is different from the access device on the first terminal 201 side in the second link 220. In the second link 220, the access device on the first terminal 201 side is a WiFi device (router 205) corresponding to the WiFi network where the first terminal 201 is located.
[0104] It should be noted that Figure 2 For example only, the first link and the second link may also have other possible settings. For example, when the first terminal is provided with a first SIM card and a second SIM card, and the second terminal is provided with a third SIM card and a fourth SIM card, the access device on the first terminal 201 side in the first link 210 may be a base station corresponding to the first SIM card or the second SIM card, and the access device on the second terminal 202 side may be a base station corresponding to the third SIM card or the fourth SIM card, and there is no limitation on this.
[0105] See also Figure 3 , Figure 3 An exemplary embodiment of the present application provides a flowchart of a method for making a call when a first terminal accesses a first link through a base station corresponding to a first SIM card. The method includes the following steps.
[0106] Step 310: The first terminal transmits call data to the second terminal via a first link, wherein the access device on the first terminal side in the first link is a base station corresponding to the first SIM card.
[0107] Optionally, the first terminal conducts a video call based on NR (ViNR) or a video call based on LTE (ViLTE) with the second terminal through the first link.
[0108] Step 320: determine whether the uplink quality parameter of the first link is lower than the uplink parameter threshold.
[0109] In some embodiments, when the uplink quality parameter of the first link measured by the first terminal is lower than the uplink parameter threshold, the first terminal transmits call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link.
[0110] Optionally, the uplink quality parameters include at least one of an uplink packet data convergence protocol PDCP packet loss rate, an uplink block error rate BLER, a power margin PH, a network scheduling resource amount, a buffered data report BSR, and a link round-trip delay RTT.
[0111] Optionally, for different link quality parameters, the corresponding uplink parameter thresholds may be different. For example, for uplink PDCP packet loss rate, the first parameter threshold may be 50%; for link round trip delay, the corresponding uplink parameter threshold may be 0.5s.
[0112] In response to no, the process ends; in response to yes, step 330 is executed.
[0113] Step 330, determining whether WiFi network coverage is detected and whether the network signal of the WiFi network is greater than a signal threshold.
[0114] Optionally, the network signal may be represented by an indicator such as a signal strength value (Signal Strength) or a received signal strength indicator (Received Signal Strength Indicator).
[0115] Exemplarily, the signal threshold corresponding to the received signal strength indication may be -60 dBm.
[0116] In response to yes, step 340 is executed; in response to no, step 350 is executed.
[0117] Step 340: When WiFi network coverage is detected and the network signal of the WiFi network is greater than a signal threshold, the first terminal accesses the second link through a WiFi device corresponding to the WiFi network.
[0118] Among them, the access device on the first terminal side in the second link is a WiFi device corresponding to the WiFi network.
[0119] Step 350: When the network signal of the WiFi network is less than the signal threshold, or when no WiFi network coverage is detected, it is determined whether the first terminal is provided with a second SIM card.
[0120] In response to no, the process ends; in response to yes, step 360 is executed.
[0121] Step 360: determine whether the signal strength of the second SIM card is greater than a strength threshold.
[0122] Optionally, the signal strength may be represented by an indicator such as a signal strength value (Signal Strength) or a received signal strength indicator (Received Signal Strength Indicator).
[0123] Exemplarily, the strength threshold corresponding to the signal strength value may be -70 dBm.
[0124] In response to yes, step 370 is executed; in response to no, the process ends.
[0125] Step 370: The first terminal accesses the second link through the base station corresponding to the second SIM card.
[0126] The access device on the first terminal side in the second link is the base station corresponding to the second SIM card. Step 380: Transmit call data to the second terminal via the first link and the second link according to the first link quality of the first link and the second link quality of the second link.
[0127] In some embodiments, the first terminal may determine a data transmission mode of the communication data according to the first link quality of the first link and the second link quality of the second link, and transmit the communication data to the second terminal based on the data transmission mode.
[0128] In some embodiments, the data transmission mode includes a redundant transmission mode and a concurrent transmission mode. For details about the data transmission mode, see Figure 4 , Figure 5 And the related description will not be repeated here.
[0129] In this embodiment, when the first terminal accesses the first link through the base station corresponding to the first SIM card and transmits call data to the second terminal through the first link, when the first terminal detects that the uplink quality parameter of the first link is lower than the uplink parameter threshold, it indicates that the quality of the call is poor, so the first terminal first determines whether there is WiFi network coverage with a network signal greater than the signal threshold. Since the user does not need to pay additional fees when using WiFi, the first terminal preferentially accesses the second link through the WiFi device corresponding to the WiFi network; when the network signal of the WiFi network is less than the signal threshold, or when no WiFi network coverage is detected, the first terminal determines whether there is a second SIM card with a signal strength greater than the strength threshold, so as to access the second link through the base station corresponding to the second SIM card, thereby realizing transmission of call data to the second terminal through the first link and the second link based on the first link quality and the second link quality, thereby improving the call quality.
[0130] See also Figure 4 , Figure 4 This is a flow chart of determining a data transmission mode according to a first link quality and a second link quality provided by an exemplary embodiment of the present application. The flow includes the following steps.
[0131] Step 410: Obtain the first link quality and the second link quality.
[0132] In some embodiments, the first terminal may actively measure link quality parameters of the first link and the second link to determine the first link quality and the second link quality.
[0133] Optionally, the first link quality and the second link quality may be represented by various possible forms such as link quality scores, link quality levels or link parameter values, which are not limited.
[0134] Optionally, the link quality parameters include at least one of Packet Data Convergence Protocol (PDCP) packet loss rate, block error rate (BLER), power headroom (PH), network scheduling resources, buffer status report (BSR) and link round-trip time (RTT).
[0135] In some embodiments, the first terminal may weight and score the at least one link quality parameter measured from the first link to determine the first link quality, and weight and score the at least one link quality parameter measured from the second link to determine the second link quality.
[0136] In some embodiments, the first terminal may determine the data transmission mode according to the first link quality of the first link and the second link quality of the second link.
[0137] Optionally, the data transmission mode includes a redundant transmission mode and a concurrent transmission mode. In the redundant transmission mode, the call data transmitted from the first terminal to the second terminal via the second link is the same as the call data transmitted from the first terminal to the second terminal via the first link; in the concurrent transmission mode, the call data transmitted from the first terminal to the second terminal via the second link is different from the call data transmitted from the first terminal to the second terminal via the first link.
[0138] In a possible implementation, the terminal can determine whether the data transmission mode is a redundant transmission mode or a concurrent transmission mode based on the difference between the second link quality and the first link quality. For example, when the second link quality is 80 points, the first link quality is 20 points, and the difference between the two is greater than the quality difference threshold (such as 20 points), it indicates that the second link quality is relatively good, so the redundant transmission mode can be used to transmit the same call data as the first link to the second terminal; when the second link quality is 30 points, the first link quality is 20 points, and the difference between the two is less than the quality difference threshold, it indicates that the second link quality is not good, so the concurrent transmission mode can be used to transmit call data different from the first link to the second terminal.
[0139] In another possible implementation manner, the first terminal may also directly determine, according to the first link quality, that the data transmission mode is a redundant transmission mode or a concurrent transmission mode.
[0140] For example, when the first link quality is higher than the second quality threshold, the data transmission mode is determined to be a redundant transmission mode, otherwise it is determined to be a concurrent transmission mode.
[0141] In another possible implementation manner, the first terminal may also directly determine, according to the second link quality, that the data transmission mode is a redundant transmission mode or a concurrent transmission mode.
[0142] Step 420: When the second link quality is higher than the second quality threshold, determine that the data transmission mode is a redundant transmission mode.
[0143] Optionally, for different link quality parameters, the corresponding second quality thresholds may be different. For example only, when the uplink PDCP packet loss rate is greater than 40%, it is determined that the first link quality of the first link is lower than the second quality threshold; or, when the link round-trip delay is greater than 0.4s, it is determined that the first link quality of the first link is lower than the second quality threshold.
[0144] Optionally, the second quality threshold is higher than the first quality threshold.
[0145] In some embodiments, the second link quality may be represented by a link quality level or a link quality score, and the second quality threshold may also be a quality score threshold (eg, 60 points).
[0146] For example only, when the second link quality is greater than 60 points, the data transmission mode is determined to be a redundant transmission mode.
[0147] In the redundant transmission mode, the call data transmitted from the first terminal to the second terminal through the second link is the same as the call data transmitted from the first terminal to the second terminal through the first link.
[0148] Step 430: Transmit the call data to the second terminal via the first link, and transmit the call data to the second terminal via the second link.
[0149] In some embodiments, in a redundant transmission mode, the first terminal transmits the full call data to the second terminal via the first link, and transmits the full call data to the second terminal via the second link.
[0150] See also Figure 5 , Figure 5 It is a schematic diagram of a redundant transmission mode and a concurrent transmission mode provided by an exemplary embodiment of the present application.
[0151] like Figure 5 As shown, in the redundant transmission mode 501, the call data (shown in black blocks) transmitted by the first terminal 510 to the second terminal 520 through the first link and the second link are all full call data.
[0152] Step 540: When the second link quality is lower than the second quality threshold, determine that the data transmission mode is a concurrent transmission mode.
[0153] In the concurrent transmission mode, the call data transmitted by the first terminal to the second terminal through the second link is different from the call data transmitted by the first terminal to the second terminal through the first link.
[0154] In some embodiments, when the data transmission mode is a concurrent transmission mode, the first terminal transmits first call data to the second terminal through the first link, and transmits second call data to the second terminal through the second link. The first call data and the second call data are different parts of the call data.
[0155] Optionally, the union of the first call data and the second call data is the call data. For example only, the first call data may be the first frame, the third frame, the fifth frame, ... in the video call data, and the second call data may be the second frame, the fourth frame, the sixth frame, ... in the video call data. Alternatively, the first call data is a key frame (I frame), and the second call data is a P frame (forward reference frame) and a B frame (bidirectional reference frame).
[0156] like Figure 5 As shown, in the concurrent transmission mode 502, the call data (shown as black blocks) transmitted by the first terminal 510 to the second terminal 520 through the first link and the second link are different parts of the call data.
[0157] Step 450: divide the call data into first call data and second call data according to the first link quality and the second link quality.
[0158] Regarding the division method of the first call data and the second call data, in a possible implementation method, the first terminal can determine the first division ratio and the second division ratio according to the first link quality and the second link quality, and divide the call data into the first call data and the second call data based on the first division ratio and the second division ratio.
[0159] The first division ratio is positively correlated to the first link quality, and the second division ratio is positively correlated to the second link quality.
[0160] Exemplarily, if the quality of the first link is 20 points and the quality of the second link is 80 points, then the first division ratio can be determined to be 20% and the second division ratio can be determined to be 80%. The first terminal determines 20% of the call data as the first call data, and determines the remaining 80% of the call data as the second call data.
[0161] By determining the division ratio based on link quality, the link with higher link quality can be used to transmit a portion of call data with a larger data volume, while the link with lower link quality is only used to transmit a portion of call data with a smaller data volume, thereby reducing the probability of packet loss and improving communication quality, so that the first link and the second link can reasonably allocate the data volume of the call data to be transmitted.
[0162] Regarding the division method of the first call data and the second call data, in another possible implementation method, the first terminal can divide the call data into the first call data and the second call data according to the importance of the call sub-data in the call data, the first link quality and the second link quality.
[0163] In some embodiments, the importance of the call sub-data in the call data can be determined according to the type of the call sub-data. For example, in a video call scenario, each video call sub-data in the video call data is a video frame, and the types of video frames include key frames (I frames), forward reference frames (P frames), and bidirectional reference frames (B frames), wherein the importance of key frames is higher than that of forward reference frames and bidirectional reference frames, because forward reference frames and bidirectional reference frames need to rely on key frames to be decoded.
[0164] In some other embodiments, the importance of the call sub-data in the call data may also be specified by the first terminal, which is not limited thereto.
[0165] In some embodiments, when the second link quality is higher than the first link quality, the importance of the call sub-data in the second call data is higher than the importance of the call sub-data in the first call data. When the first link quality is higher than the second link quality, the importance of the call sub-data in the first call data is higher than the importance of the call sub-data in the second call data.
[0166] For example, when the quality of the first link is 20 points and the quality of the second link is 80 points, the call sub-data with an importance greater than the importance threshold is determined as the second call data, and the call sub-data with an importance less than or equal to the importance threshold is determined as the first call data. In this way, the first terminal transmits the relatively important second call data to the second terminal through the second link with better link quality, and transmits the relatively unimportant first call data to the second terminal through the first link with poorer link quality. This can further reduce the packet loss rate of call data with higher importance, thereby improving the call quality.
[0167] In some embodiments, in a video call scenario, when the second link quality is higher than the first link quality, the call sub-data in the second call data is a key frame, and the call sub-data in the first call data is a forward reference frame and a bidirectional reference frame; when the first link quality is higher than the second link quality, the call sub-data in the first call data is a key frame, and the call sub-data in the second call data is a forward reference frame and a bidirectional reference frame.
[0168] For example, when the first link quality is 20 points and the second link quality is 80 points, the first terminal transmits forward reference frames and bidirectional reference frames to the second terminal through the first link, and transmits key frames to the second terminal through the second link.
[0169] In addition, the first call data and the second call data may also be divided in any other possible manner, which is not limited.
[0170] Step 460: Transmit the first call data to the second terminal via the first link, and transmit the second call data to the second terminal via the second link.
[0171] In this embodiment, when the quality of the second link is higher than the second quality threshold, since the quality of the second link is relatively high, the first terminal adopts a redundant transmission mode, and the call data transmitted to the second terminal through the first link is the same as the call data transmitted to the second terminal through the second link. The second terminal can perform deduplication, sorting and combination based on the call data received from the two links, thereby reducing the packet loss rate of data transmission and improving the call quality; when the quality of the second link is lower than the second quality threshold, since the quality of the second link is relatively low, if the redundant transmission mode is still adopted, it may cause the second link to have delays and jams. Therefore, in order to reduce the burden of data transmission on the first link and the second link and realize reasonable allocation of data transmission on the first link and the second link, the first terminal divides the call data into the first call data and the second call data according to the quality of the first link and the quality of the second link, and transmits the first call data through the first link and the second call data through the second link. The second terminal performs deduplication, sorting and combination based on the call data received from the two links, thereby reducing jams and delays in the call. Compared with transmitting call data using only the first link, the packet loss rate can be reduced and the call quality can be improved.
[0172] See also Figure 6 , Figure 6 The flowchart of a method for making a call when a first terminal accesses a first link through a WiFi device corresponding to a WiFi network provided by an exemplary embodiment of the present application includes the following steps.
[0173] Step 610: The first terminal transmits call data to the second terminal via a first link, wherein the access device on the first terminal side in the first link is a WiFi device corresponding to the WiFi network.
[0174] Optionally, the first terminal uses a WiFi-based video calling technology (Video over WiFi, VoWiFi) to communicate with the second terminal through the first link.
[0175] Step 620: Determine whether a link enhancement instruction sent by the second terminal is received.
[0176] In some embodiments, upon receiving the link enhancement instruction sent by the second terminal, the first terminal transmits call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link.
[0177] The link enhancement instruction is sent by the second terminal when it is measured that the uplink quality parameter of the second terminal is lower than the uplink parameter threshold.
[0178] In some embodiments, when the second terminal measures that the uplink quality parameter of the second terminal on the first link is lower than the uplink parameter threshold, the second terminal may transmit a link enhancement instruction to the first terminal through the first link or any other possible link to notify the first terminal to transmit call data to the second terminal through the first link and the second link based on the first link quality and the second link quality.
[0179] Optionally, the uplink quality parameters include at least one of an uplink packet data convergence protocol PDCP packet loss rate, an uplink block error rate BLER, a power margin PH, a network scheduling resource amount, a buffered data report BSR, and a link round-trip delay RTT.
[0180] Optionally, the second terminal may transmit a link enhancement instruction to the first terminal through the first link.
[0181] In response to no, the process ends; in response to yes, step 530 is executed.
[0182] Step 630: determine whether the signal strength of the first SIM card is greater than a strength threshold.
[0183] Optionally, the network signal may be represented by an indicator such as a signal strength value (Signal Strength) or a received signal strength indicator (Received Signal Strength Indicator).
[0184] Exemplarily, the strength threshold corresponding to the received signal strength indication may be -60 dBm.
[0185] In response to yes, step 640 is executed; in response to no, step 650 is executed.
[0186] Step 640: The first terminal accesses the second link through the base station corresponding to the first SIM card.
[0187] The access device on the first terminal side in the second link is the base station corresponding to the first SIM card. In some embodiments, to establish a second link between the first terminal and the second terminal, the first terminal may send first negotiation information to the second terminal and receive second negotiation information returned by the second terminal, so as to establish a second link with the second terminal based on the first negotiation information and the second negotiation information.
[0188] The first negotiation information includes the IP address and port information of the first terminal, and the second negotiation information includes the IP address and port information of the second terminal.
[0189] The port information of the first terminal includes the port information of the current access device of the first terminal and the port information of the available access device detected by the first terminal. The port information of the second terminal includes the port information of the current access device of the second terminal and the port information of the available access device detected by the second terminal.
[0190] Since the first negotiation information includes the port information of the first terminal and the second negotiation information includes the port information of the second terminal, the first terminal and the second terminal can establish a second link different from the first link based on the first negotiation information and the second negotiation information, thereby increasing the probability of improving call quality.
[0191] In one possible implementation, the first terminal may send first negotiation information to the second terminal based on an extended RTCP protocol, or at least one of a standard ICE protocol, a STUN protocol, or a TURN protocol. Similarly, the second terminal may return second negotiation information to the first terminal based on an extended RTCP protocol, or at least one of a standard ICE protocol, a STUN protocol, or a TURN protocol.
[0192] In a possible implementation, before the first terminal sends the first negotiation information to the second terminal, the first terminal and the second terminal may first exchange terminal capability information to determine whether the two terminals support establishing a second link different from the first link, and then exchange negotiation information if both terminals support establishing the second link.
[0193] In some embodiments, first terminal capability information of the first terminal is sent to the second terminal, so as to receive second terminal capability information of the second terminal returned by the second terminal.
[0194] Optionally, the terminal capability information includes terminal version information, such as version serial number, version identification information, etc.
[0195] In some embodiments, when the first terminal capability information and the second terminal capability information meet the terminal capability requirements, the first terminal sends the first negotiation information to the second terminal.
[0196] Optionally, the terminal capability requirement includes a requirement for terminal version information. Exemplarily, the version serial number needs to meet the version serial number condition (for example, any one of a plurality of preset version serial numbers). In a possible implementation, the first terminal and the second terminal may exchange terminal capability information based on the extended RTCP protocol, or at least one of the standard ICE protocol, STUN protocol, or TURN protocol, without limitation.
[0197] Step 650: When the signal strength of the first SIM card is less than or equal to a strength threshold, determine whether the first terminal is equipped with a second SIM card.
[0198] In response to no, the process ends; in response to yes, step 660 is executed.
[0199] Step 660: Determine whether the signal strength of the second SIM card is greater than a strength threshold.
[0200] Optionally, the signal strength may be represented by an indicator such as a signal strength value (Signal Strength) or a received signal strength indicator (Received Signal Strength Indicator).
[0201] Exemplarily, the strength threshold corresponding to the signal strength value may be -70 dBm.
[0202] In response to yes, step 670 is executed; in response to no, the process ends.
[0203] Step 670: The first terminal accesses the second link through the base station corresponding to the second SIM card.
[0204] The access device on the first terminal side in the second link is the base station corresponding to the second SIM card. Step 680: Transmit call data to the second terminal via the first link and the second link according to the first link quality of the first link and the second link quality of the second link.
[0205] In some embodiments, the first terminal may determine a data transmission mode of the communication data according to the first link quality of the first link and the second link quality of the second link, and transmit the communication data to the second terminal based on the data transmission mode.
[0206] In this embodiment, when the first terminal accesses the first link through the WiFi device corresponding to the WiFi network and transmits call data to the second terminal through the first link, when the first terminal receives the link enhancement instruction sent by the second terminal, it indicates that the quality of the call is poor. Therefore, the first terminal first determines whether there is a first SIM card with a signal strength greater than the strength threshold, so as to access the second link through the base station corresponding to the first SIM card; when the signal strength of the first SIM card is less than or equal to the strength threshold, the first terminal determines whether there is a second SIM card with a signal strength greater than the strength threshold, so as to access the second link through the base station corresponding to the second SIM card. At the same time, before establishing the second link, the first terminal and the second terminal can first exchange terminal capability information. When both the first terminal capability information and the second terminal capability information meet the terminal capability requirements, the IP address and port information are exchanged through negotiation to successfully establish a second link different from the first link. Through the method of this embodiment, it is possible to transmit call data to the second terminal through the first link and the second link based on the quality of the first link and the quality of the second link, thereby improving the call quality.
[0207] In some embodiments, when the first terminal transmits call data to the second terminal via the first link and the second link, it can first determine that the data transmission mode is a redundant transmission mode to reduce the packet loss rate. When the call data is transmitted for a certain period of time via the redundant transmission mode, if the communication quality is still poor (such as freezes or delays still occur), the data transmission mode can be switched to a concurrent transmission mode to further improve the communication quality.
[0208] See also Figure 7 , Figure 7 FIG. 1 is a flow chart of switching a data transmission mode provided by an exemplary embodiment of the present application. The flow chart includes the following steps.
[0209] Step 710: The first terminal transmits call data to the second terminal via a first link, wherein the access device on the first terminal side in the first link is a base station corresponding to the first SIM card.
[0210] Optionally, the first terminal conducts a video call based on NR (ViNR) or a video call based on LTE (ViLTE) with the second terminal through the first link.
[0211] Step 720: Determine whether the uplink quality parameter of the first link is lower than the uplink parameter threshold.
[0212] Optionally, the uplink quality parameters include at least one of an uplink packet data convergence protocol PDCP packet loss rate, an uplink block error rate BLER, a power margin PH, a network scheduling resource amount, a buffered data report BSR, and a link round-trip delay RTT.
[0213] In response to no, the process ends; in response to yes, step 730 is executed.
[0214] Step 730: When WiFi network coverage is detected and the network signal of the WiFi network is greater than a signal threshold, the first terminal accesses the second link through a WiFi device corresponding to the WiFi network.
[0215] Step 740: within a preset time period, based on a redundant transmission mode, transmit the call data to the second terminal via the first link, and transmit the call data to the second terminal via the second link.
[0216] Optionally, the preset duration may be a fixed duration pre-set by the first terminal, such as 1 minute or 3 minutes.
[0217] In some embodiments, the first terminal first adopts a redundant transmission mode to transmit the full call data to the second terminal through the first link within a preset time period, and transmits the full call data to the second terminal through the second link.
[0218] Step 750: determine whether the uplink quality parameter is lower than the uplink parameter threshold within a preset time period.
[0219] In a possible implementation, the first terminal may count the packet loss rate or block error rate of the call data transmitted to the second terminal via the first link and the second link within a preset time period to obtain the uplink quality parameter within the preset time period.
[0220] In a possible implementation, the first terminal measures the uplink quality parameters of the first link and the second link at multiple moments in a preset time period, calculates the average value of the uplink quality parameters within the preset time period, and determines whether the average value is lower than the uplink parameter threshold.
[0221] For example only, the preset duration is 1 minute, then the first terminal can measure the round-trip delay of the first link and the second link at the 10th second, the 20th second, the 30th second... and the 60th second, respectively, and determine the average value of the 6 round-trip delays of the first link and the second link respectively as the uplink quality parameter within the preset duration.
[0222] In some embodiments, when the uplink quality parameter is lower than the uplink parameter threshold within a preset time period, it indicates that the call quality between the first terminal and the second terminal is still poor under the redundant transmission mode, so step 760 can be executed to further improve the call quality.
[0223] Step 760: Based on the concurrent transmission mode, transmit the first call data to the second terminal through the first link, and transmit the second call data to the second terminal through the second link.
[0224] Wherein, in the concurrent transmission mode, the first call data and the second call data are different parts of the call data.
[0225] For more information about concurrent transmission and the first call data and the second call data, see Figure 4 , Figure 5 And the related description will not be repeated here.
[0226] In this embodiment, when the first terminal transmits call data to the second terminal through the first link, if the uplink quality parameter of the first link is lower than the uplink parameter threshold, it indicates that the call quality is low. Therefore, the first terminal adopts a redundant transmission mode within a preset time length, and transmits the call data to the second terminal through the first link and the second link to reduce the packet loss rate and improve the data transmission quality; however, if the uplink quality parameters of the first link and the second link are still lower than the uplink parameter threshold within the preset time length, it indicates that the call quality is still low, and there may be phenomena such as jamming and delay. Therefore, the first terminal switches the data transmission mode from the redundant transmission mode to the concurrent transmission mode, transmits the first call data through the first link, and transmits the second call data through the second link, thereby reducing the data transmission volume of the two links, alleviating the link burden, avoiding jamming and delay caused by excessive data transmission, and improving the call quality.
[0227] See also Figure 8 , Figure 8 This is a structural block diagram of a communication device provided by an exemplary embodiment of the present application. The device includes:
[0228] A first transmission module 801, configured to transmit call data to a second terminal via a first link;
[0229] The second transmission module 802 is used to transmit the call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link when the first link quality of the first link is lower than the first quality threshold, and the second link is different from the first link.
[0230] Optionally, the second transmission module 802 is used to:
[0231] determining a data transmission mode according to the first link quality of the first link and the second link quality of the second link;
[0232] When the data transmission mode is a redundant transmission mode, transmitting the call data to the second terminal through the first link, and transmitting the call data to the second terminal through the second link;
[0233] When the data transmission mode is a concurrent transmission mode, first call data is transmitted to the second terminal via the first link, and second call data is transmitted to the second terminal via the second link, and the first call data and the second call data are different parts of the call data.
[0234] Optionally, the second transmission module 802 is used to:
[0235] When the second link quality is higher than a second quality threshold, determining that the data transmission mode is the redundant transmission mode;
[0236] When the second link quality is lower than the second quality threshold, the data transmission mode is determined to be the concurrent transmission mode.
[0237] Optionally, when the data transmission mode is a concurrent transmission mode, before transmitting the first call data to the second terminal through the first link and transmitting the second call data to the second terminal through the second link, the second transmission module 802 is configured to:
[0238] When the data transmission mode is the concurrent transmission mode, determining a first division ratio and a second division ratio according to the first link quality and the second link quality, wherein the first division ratio is positively correlated to the first link quality, and the second division ratio is positively correlated to the second link quality;
[0239] The call data is divided into the first call data and the second call data based on the first division ratio and the second division ratio.
[0240] Optionally, when the data transmission mode is a concurrent transmission mode, before transmitting the first call data to the second terminal through the first link and transmitting the second call data to the second terminal through the second link, the second transmission module 802 is configured to:
[0241] dividing the call data into the first call data and the second call data according to the importance of the call sub-data in the call data, the first link quality, and the second link quality;
[0242] Wherein, when the second link quality is higher than the first link quality, the importance of the call sub-data in the second call data is higher than the importance of the call sub-data in the first call data;
[0243] When the first link quality is higher than the second link quality, the importance of the call sub-data in the first call data is higher than the importance of the call sub-data in the second call data.
[0244] Optionally, the second transmission module 802 is used to:
[0245] When the uplink quality parameter of the first link measured by the first terminal is lower than the uplink parameter threshold, the call data is transmitted to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link.
[0246] Optionally, the second transmission module 802 is used to:
[0247] upon receiving a link enhancement instruction sent by the second terminal, transmitting the call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link, wherein the link enhancement instruction is sent by the second terminal when the measured uplink quality parameter is lower than the uplink parameter threshold
[0248] Optionally, the second transmission module 802 is used to:
[0249] Within a preset time period, based on a redundant transmission mode, transmitting the call data to the second terminal through the first link, and transmitting the call data to the second terminal through the second link;
[0250] When the uplink quality parameter measured by the first terminal within the preset time period is lower than the uplink parameter threshold, based on the concurrent transmission method, the first call data is transmitted to the second terminal through the first link, and the second call data is transmitted to the second terminal through the second link, and the first call data and the second call data are different parts of the call data.
[0251] Optionally, an access device on the first terminal side in the first link is different from an access device on the first terminal side in the second link, or,
[0252] The access device on the second terminal side in the first link is different from the access device on the second terminal side in the second link, or,
[0253] The access device on the first terminal side in the first link is different from the access device on the first terminal side in the second link, and the access device on the second terminal side in the first link is different from the access device on the second terminal side in the second link.
[0254] Optionally, when the access device on the first terminal side in the first link is a base station corresponding to the first SIM card, the second transmission module 802 is configured to:
[0255] When WiFi network coverage is detected and the network signal of the WiFi network is greater than a signal threshold, the second link is accessed, wherein the access device on the first terminal side in the second link is a WiFi device corresponding to the WiFi network.
[0256] Optionally, the second transmission module 802 is used to:
[0257] When the network signal of the WiFi network is less than the signal threshold, or when no WiFi network coverage is detected, access the second link, wherein the access device on the first terminal side in the second link is a base station corresponding to the second SIM card.
[0258] Optionally, before transmitting the call data to the second terminal through the first link and the second link, the second transmission module 802 is configured to:
[0259] Sending first negotiation information to the second terminal, where the first negotiation information includes the IP address and port information of the first terminal;
[0260] receiving second negotiation information returned by the second terminal, where the second negotiation information includes an IP address and port information of the second terminal;
[0261] The second link is established with the second terminal based on the first negotiation information and the second negotiation information.
[0262] Optionally, the second transmission module 802 is used to:
[0263] Sending first terminal capability information of the first terminal to the second terminal, to receive second terminal capability information of the second terminal returned by the second terminal;
[0264] In a case where the first terminal capability information and the second terminal capability information meet terminal capability requirements, the first negotiation information is sent to the second terminal.
[0265] See also Fig. 9 , Fig. 9 It is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application.
[0266] The terminal can be implemented as the first terminal in the above embodiment to execute the call method in the above embodiment, or the terminal can also be implemented as the second terminal in the above embodiment. In some embodiments, the terminal can be provided with a SIM card, and in other embodiments, the terminal is provided with dual cards, namely a first SIM card 931 and a second SIM card 932. The terminal can be a terminal device that implements the dual-card dual-standby function, such as a smart phone, a smart watch, etc. The terminal may also be referred to as a user equipment, a portable terminal, or other names. The terminal may also include one or more of the following components: a processor 910 and a memory 920.
[0267] Optionally, the processor 910 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 920, and calling data stored in the memory 920. Optionally, the processor 910 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 910 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a baseband chip. 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 touch display; the NPU is used to implement artificial intelligence (AI) functions; and the baseband chip is used to process wireless communications. It is understandable that the above baseband chip may not be integrated into the processor 910, but may be implemented by a separate chip.
[0268] The memory 920 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 920 includes a non-transitory computer-readable storage medium. The memory 920 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 920 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 electronic device (such as audio data, a phone book), etc.
[0269] The first SIM card 931 and the second SIM card 932 are user identification cards of digital cellular mobile phones. Optionally, the first SIM card 931 and the second SIM card 932 are used to store data related to user communication, including telephone number, International Mobile Subscriber Identity (IMSI), Personal Identification Number (PIN), authentication key, service provider name, etc. Optionally, the first SIM card 931 and the second SIM card 932 are composed of five parts, namely, CPU (8 bits), RAM (working memory, 6 to 16 kB), ROM (program memory, 3 to 8 kB), EPROM or EEPROM (data memory, 128 to 256 kB) and serial communication unit. Optionally, the first SIM card 931 and the second SIM card 932 are embedded SIM cards or card-type SIM cards.
[0270] The terminal may also be provided with other devices. Optionally, the terminal may be provided with a baseband chip, a radio frequency integrated circuit (RFIC), a radio frequency front end circuit (RFFE), an antenna (ANT), a power supply and other devices, which may be coupled through various interconnection buses or other electrical connection methods.
[0271] In addition, those skilled in the art will appreciate that the structure of the electronic device shown in the above figures does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figures, or a combination of certain components, or a different arrangement of components.
[0272] The embodiment of the present application also provides a computer-readable storage medium, in which at least one computer instruction is stored, and at least one computer instruction is loaded and executed by a processor to implement the method described in the above embodiment. Optionally, the computer-readable storage medium may include: ROM, RAM, solid state drives (SSD, Solid State Drives) or optical disks, etc. Among them, RAM may include resistance random access memory (ReRAM, Resistance Random Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).
[0273] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations of the above aspects.
[0274] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for making a call, characterized in that: The method is applied to a first terminal, and the method includes: transmitting call data to the second terminal via the first link; When the first link quality of the first link is lower than a first quality threshold, the call data is transmitted to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link, and the second link is different from the first link.
2. The method according to claim 1, characterized in that The transmitting the call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link includes: determining a data transmission mode according to the first link quality of the first link and the second link quality of the second link; When the data transmission mode is a redundant transmission mode, transmitting the call data to the second terminal through the first link, and transmitting the call data to the second terminal through the second link; When the data transmission mode is a concurrent transmission mode, first call data is transmitted to the second terminal via the first link, and second call data is transmitted to the second terminal via the second link, and the first call data and the second call data are different parts of the call data.
3. The method according to claim 2, characterized in that The determining, according to the first link quality of the first link and the second link quality of the second link, a data transmission mode includes: When the second link quality is higher than a second quality threshold, determining that the data transmission mode is the redundant transmission mode; When the second link quality is lower than the second quality threshold, the data transmission mode is determined to be the concurrent transmission mode.
4. The method according to claim 2, characterized in that: When the data transmission mode is a concurrent transmission mode, before transmitting the first call data to the second terminal through the first link and transmitting the second call data to the second terminal through the second link, the method further includes: When the data transmission mode is the concurrent transmission mode, determining a first division ratio and a second division ratio according to the first link quality and the second link quality, wherein the first division ratio is positively correlated to the first link quality, and the second division ratio is positively correlated to the second link quality; The call data is divided into the first call data and the second call data based on the first division ratio and the second division ratio.
5. The method according to claim 2, characterized in that: When the data transmission mode is a concurrent transmission mode, before transmitting the first call data to the second terminal through the first link and transmitting the second call data to the second terminal through the second link, the method further includes: dividing the call data into the first call data and the second call data according to the importance of the call sub-data in the call data, the first link quality, and the second link quality; Wherein, when the second link quality is higher than the first link quality, the importance of the call sub-data in the second call data is higher than the importance of the call sub-data in the first call data; When the first link quality is higher than the second link quality, the importance of the call sub-data in the first call data is higher than the importance of the call sub-data in the second call data.
6. The method according to claim 1, characterized in that The transmitting the call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link when the first link quality of the first link is lower than a first quality threshold, comprises: When the uplink quality parameter of the first link measured by the first terminal is lower than the uplink parameter threshold, the call data is transmitted to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link.
7. The method according to claim 1, characterized in that The method further comprises: In case of receiving a link enhancement instruction sent by the second terminal, the call data is transmitted to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link. The link enhancement instruction is sent by the second terminal when the measured uplink quality parameter is lower than the uplink parameter threshold.
8. The method according to claim 1, characterized in that The transmitting the call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link includes: Within a preset time period, based on a redundant transmission mode, transmitting the call data to the second terminal through the first link, and transmitting the call data to the second terminal through the second link; When the uplink quality parameter measured by the first terminal within the preset time period is lower than the uplink parameter threshold, based on the concurrent transmission method, the first call data is transmitted to the second terminal through the first link, and the second call data is transmitted to the second terminal through the second link, and the first call data and the second call data are different parts of the call data.
9. The method according to claim 1, characterized in that: The access device on the first terminal side in the first link is different from the access device on the first terminal side in the second link, or, The access device on the second terminal side in the first link is different from the access device on the second terminal side in the second link, or, The access device on the first terminal side in the first link is different from the access device on the first terminal side in the second link, and the access device on the second terminal side in the first link is different from the access device on the second terminal side in the second link.
10. The method according to claim 9, characterized in that In a case where the access device on the first terminal side in the first link is a base station corresponding to the first SIM card, the method further includes: When WiFi network coverage is detected and the network signal of the WiFi network is greater than a signal threshold, the second link is accessed, wherein the access device on the first terminal side in the second link is a WiFi device corresponding to the WiFi network.
11. The method according to claim 10, characterized in that The method further comprises: When the network signal of the WiFi network is less than the signal threshold, or when no WiFi network coverage is detected, access the second link, wherein the access device on the first terminal side in the second link is a base station corresponding to the second SIM card.
12. The method according to claim 1, characterized in that Before transmitting the call data to the second terminal through the first link and the second link, the method further includes: Sending first negotiation information to the second terminal, where the first negotiation information includes the IP address and port information of the first terminal; receiving second negotiation information returned by the second terminal, where the second negotiation information includes an IP address and port information of the second terminal; The second link is established with the second terminal based on the first negotiation information and the second negotiation information.
13. The method according to claim 12, characterized in that The sending the first negotiation information to the second terminal includes: Sending first terminal capability information of the first terminal to the second terminal, to receive second terminal capability information of the second terminal returned by the second terminal; In a case where the first terminal capability information and the second terminal capability information meet terminal capability requirements, the first negotiation information is sent to the second terminal.
14. A communication device, characterized in that: The device comprises: A first transmission module, used for transmitting call data to the second terminal through the first link; A second transmission module is used to transmit the call data to the second terminal through the first link and the second link according to the first link quality of the first link and the second link quality of the second link when the first link quality of the first link is lower than a first quality threshold, and the second link is different from the first link.
15. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one computer instruction, and the at least one computer instruction is used to be executed by the processor to implement the calling method as described in any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer instruction, and the computer instruction is loaded and executed by the processor to implement the communication method as described in any one of claims 1 to 13.
