Communication method, communication device, communication system and computer readable medium

By sending a request message without a capability tag when the communication quality is poor, the resource consumption problem caused by the color ring back tone/color vibration service is solved, the call success rate and voice call stability are improved, and the user experience is improved.

CN118677984BActive Publication Date: 2025-09-12HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410948958.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2025-09-12
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

When the communication signal of the user equipment is weak, the use of the color ring back tone or color ring back tone service increases the message signaling and media resource overhead during the call establishment process, which can easily lead to call failure and screen distortion when the video color ring back tone/color ring back tone is played, affecting the user experience.

Method used

When the terminal device detects that the communication quality does not meet the threshold, it sends a request message without a capability tag to avoid transmitting messages or signaling used to establish video ringback tone/color ringback tone, reduce resource consumption, and give priority to establishing a voice call channel.

Benefits of technology

It improves the call establishment success rate and voice call stability, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677984B_ABST
    Figure CN118677984B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of communication technology, and in particular to a communication method, communication equipment, communication system, and computer-readable medium. The method detects whether the current signal meets the communication quality requirements for playing video ringback tone before the voice call establishment process or in the initial stage of the voice call establishment process, and promptly sends a request message to the network device to indicate that it does not support playing video ringback tone or video ringback tone when the communication quality requirements are not met, so as to cancel the use of the ringback tone service or ringback tone service during the call establishment process. In this way, it is possible to avoid the transmission of more messages or signaling for establishing QCI2 between the user device and the network device, and reducing the transmission of related message signaling or media resources can reduce the message or signaling overhead, thereby improving the call establishment success rate, improving the stability of the user device in making voice calls, and improving the user's call experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a communication method, communication equipment, a communication system and a computer-readable medium. Background Art

[0002] With the development of Voice Over Long Term Evolution (VoLTE) and Voice over New Radio (VoNR), as well as upgrades to user equipment (UE) and core network capabilities, calls between UEs can now offer high-definition video ringback tone (CRBT) services. When a calling UE (hereinafter referred to as the calling device) calls a UE with CRBT service (hereinafter referred to as the called UE), the calling device can play a personalized video CRBT during the ringing phase. Furthermore, the called device can also play a customized ringing signal (CRS) during the ringing phase. This service activated by the called device is called the CRBT service.

[0003] However, using CRBT or CRMT services increases the message signaling and media resource overhead during call establishment. Especially when the communication signal on either the calling or called device is weak, it can be difficult for the user device to send message signaling and media resources uplink or receive message signaling and media resources downlinked by the network device, which can easily lead to call establishment failures. Furthermore, some devices may experience screen artifacts when playing video CRBT or CRMT video on the calling device or video CRMT on the called device. Summary of the Invention

[0004] The present application provides a communication method, communication equipment, communication system and computer-readable medium, which can avoid the transmission of more messages or signaling for establishing QCI2 between the user equipment and the network equipment when the communication quality of the terminal equipment is poor. Reducing the transmission of related message signaling or media resources can reduce message or signaling overhead, which is beneficial to improving the call establishment success rate, improving the stability of the user equipment in voice calls, and also beneficial to improving the user's call experience.

[0005] In the first aspect, the present application provides a communication method, applied to a terminal device, the method comprising: receiving a first user operation; initiating a call request in response to the first user operation; determining whether a current signal meets a communication quality threshold; if the current signal meets the communication quality threshold, sending a first request message carrying a first capability mark to a network device; if the current signal does not meet the communication quality threshold, sending a second request message not carrying the first capability mark to the network device.

[0006] For example, the terminal device may be a calling device, and the first user operation may be a dialing operation in which the user enters the other party's number on the calling device and clicks a control related to making a call. Upon detecting the dialing operation, the calling device may first determine whether the current signal meets a communication quality threshold, i.e., whether the current signal meets the communication quality requirement. If so, the calling device may send a first request message carrying a first capability flag to the network device. If not, the calling device may send a second request message not carrying the first capability flag to the network device.

[0007] In a possible implementation of the first aspect, the communication quality threshold includes a first quality parameter threshold for supporting the playing of video ringback tone, and the first capability flag is used to indicate that the terminal device has the capability of supporting the playing of video ringback tone.

[0008] For example, the first quality parameter threshold may be a threshold corresponding to a parameter that can measure whether the current signal is strong or whether the current network is congested.

[0009] In a possible implementation of the first aspect above, the above-mentioned communication quality threshold includes at least one of the following: a power threshold corresponding to the reference signal reception power; a quality threshold corresponding to the reference signal reception quality; a ratio threshold corresponding to the signal-to-interference-and-noise ratio; a strength threshold corresponding to the signal reception strength indication; a time threshold corresponding to the signal loopback time, wherein the signal loopback time is used to indicate the time interval between the moment when the terminal device sends the first type of message and the moment when the second type of message is received, the first type of message includes a third request message, and the second type of message includes a response message returned corresponding to the third request message, or a fourth request message returned corresponding to the third request message.

[0010] In a possible implementation of the first aspect, determining whether the current signal meets the communication quality threshold includes one or more of the following:

[0011] Determining that the current signal does not meet a communication quality threshold based on that a first reference signal received power of the current signal is lower than a first power threshold;

[0012] determining, based on a first reference signal reception quality of the current signal being lower than a first quality threshold, that the current signal does not meet a communication quality threshold;

[0013] Determining, based on a first signal-to-interference-and-noise ratio of the current signal being lower than a first ratio threshold, that the current signal does not meet a communication quality threshold;

[0014] determining, based on a first signal reception strength indicator of the current signal being lower than a first strength threshold, that the current signal does not meet a communication quality threshold;

[0015] Based on the first signal loopback time of the current signal being greater than the first time threshold, it is determined that the current signal does not meet the communication quality threshold.

[0016] For example, the calling device may preset one or more of the above-mentioned first power threshold, first quality threshold, first ratio threshold, first strength threshold, and first time threshold, and then perform one or more of the above-mentioned judgment processes based on the preset one or more thresholds to determine whether the current signal meets the communication quality threshold.

[0017] In a possible implementation of the first aspect, the method includes: in response to sending a second request message that does not carry the first capability flag to the network device, the terminal device does not play the video ringback tone.

[0018] In a possible implementation of the first aspect, the method includes: in response to sending a second request message that does not carry the first capability flag to the network device, the terminal device does not play the video ringback tone.

[0019] In a possible implementation of the first aspect, the method includes: in response to sending a first request message carrying a first capability flag to the network device, the terminal device plays a video ringback tone.

[0020] It is understood that after the terminal device sends the second request message that does not carry the first capability flag to the network device, the video ringback tone may not be played in the subsequent call interface. After the terminal device sends the first request message that carries the first capability flag to the network device, the video ringback tone may continue to be played in the subsequent call interface.

[0021] In a possible implementation of the first aspect above, when the current signal does not meet the communication quality threshold, a second request message that does not carry the first capability tag is sent to the network device, including: when the current signal does not meet the communication quality threshold, deleting the first capability tag in the first request message to obtain the second request message; and, sending the second request message to the network device.

[0022] For example, after the calling device initiates a call request in response to the first user operation, it may generate a first request message carrying a first capability flag. Subsequently, if the terminal device determines that the current signal does not meet the communication quality threshold, it removes the first capability flag from the first request message, generates a second request message, and then sends the second request message without the first capability flag to the network device.

[0023] In other embodiments, the calling device may also directly generate a second request message that does not carry the first capability tag and send it to the network device when determining that the current signal does not meet the communication quality threshold.

[0024] In a possible implementation of the first aspect above, the first request message and the second request message include a Contact field, the first capability tag includes a video feature tag, and, when the current signal does not meet the communication quality threshold, sending a second request message that does not carry the first capability tag to the network device, including: when the current signal does not meet the communication quality threshold, deleting the video feature tag in the Contact field of the first request message to obtain the second request message, and sending the second request message to the network device, wherein the Contact field of the second request message does not carry the video feature tag.

[0025] In a possible implementation of the first aspect above, the first request message and the second request message include a call request, and when the current signal does not meet the communication quality threshold, a second request message that does not carry the first capability tag is sent to the network device, including: when the current signal does not meet the communication quality threshold, deleting the video feature tag carried in the Contact field of the first call request to obtain the second call request, and sending the second call request to the network device.

[0026] For example, after the calling device initiates a call request in response to the first user operation, it may generate an INVITE message with a video feature tag in the Contact field. Furthermore, if the calling device determines that the current signal quality does not meet the communication quality threshold, it may delete the video feature tag from the Contact field of the INVITE message and send the INVITE message without the video feature tag.

[0027] In a possible implementation of the first aspect above, before determining whether the current signal meets the communication quality threshold, the method also includes: receiving a second user operation; in response to the second user operation, turning off the video ringback tone function and sending a third request message that does not carry the first capability mark to the network device.

[0028] In a possible implementation of the first aspect above, before determining whether the current signal meets the communication quality threshold, the method also includes: receiving a third user operation; in response to the third user operation, turning on the video ringback tone function and sending a fourth request message carrying the first capability mark to the network device.

[0029] For example, the calling device may provide a switch for turning off the video ringback tone. The switch may be set, for example, on the dialing interface displayed on the calling device, or in a setting interface such as developer options in a setting application, without limitation. In this case, the calling device initiates a call request in response to the above-mentioned first user operation. Before determining whether the current signal meets the communication quality threshold, the calling device may first detect whether the user has turned off the video ringback tone switch. If it is detected that the user has turned off the video ringback tone switch, that is, the above-mentioned second user operation is detected, the video ringback tone function may be turned off and a third request message without the first capability tag is sent to the network device. If it is detected that the user has not turned off the video ringback tone switch or has turned on the video ringback tone switch, the video ringback tone function may be turned on and a fourth request message carrying the first capability tag is sent to the network device.

[0030] It can be understood that in different communication scenarios, the third request message may be different from the second request message that does not carry the first capability flag, and the fourth request message may be different from the first request message that carries the first capability flag.

[0031] In a possible implementation of the first aspect, the first request message and the second request message are temporary confirmation requests, and the fourth request message is a call request; and the first capability tag includes a video feature tag.

[0032] In a possible implementation of the first aspect above, a method for calculating the first signal loopback time of the current signal includes: obtaining a first timestamp corresponding to the moment of sending the fourth request message; obtaining a second timestamp corresponding to the moment of receiving the first response message returned by the network device, wherein the first response message includes a request response message; and calculating the first signal loopback time based on the difference between the second timestamp and the first timestamp.

[0033] For example, the calling device can calculate the signal loopback time of the current signal, that is, the first signal loopback time mentioned above, based on the timestamp (that is, the first timestamp) corresponding to the time when the call request (INVITE) message carrying the video capability flag is sent and the timestamp (that is, the second timestamp) corresponding to the time when the request response message (100 trying) is received.

[0034] In a possible implementation of the first aspect above, the method for calculating the first signal loopback time of the current signal includes: obtaining a first timestamp corresponding to the moment of sending the fourth request message; obtaining a third timestamp corresponding to the moment of receiving the fifth request message sent by the network device, wherein the fifth request message includes a session establishment request; and calculating the first signal loopback time based on the difference between the third timestamp and the first timestamp.

[0035] If the calling device does not receive a 100 trying signal, the signal loopback time of the current signal, i.e., the first signal loopback time, can be calculated based on the timestamp corresponding to the time of receiving the session establishment request (183 (SessionProgress)) and the timestamp corresponding to sending the INVITE message carrying the video capability flag.

[0036] In a possible implementation of the first aspect above, the method further includes: receiving a second response message corresponding to the temporary confirmation request sent by the network device, wherein the second response message includes a temporary confirmation response, and establishing a voice call channel with the network device.

[0037] In a possible implementation of the first aspect above, when the current signal does not meet the communication quality threshold, the above method also includes: receiving a first update message carrying a video port sent by the network device; setting the video port in the first update message to be closed to obtain a second update message; and, based on the second update message, returning a third response message to the network device, wherein the third response message includes a temporary confirmation response, and the third response message indicates that the video port is not used.

[0038] In a possible implementation of the first aspect above, after establishing a voice call channel with the network device, the method further includes: receiving a first ringing message sent by the network device; and displaying a call interface without playing a video ringback tone in response to the first ringing message.

[0039] In a possible implementation of the first aspect above, before determining whether the current signal meets the communication quality threshold, the above method also includes: detecting that the call request initiated corresponding to the first user operation is a video call request; and sending a sixth request message carrying the first capability mark to the network device.

[0040] In a possible implementation of the first aspect above, before determining whether the current signal meets the communication quality threshold, the above method also includes: detecting that the call request initiated corresponding to the first user operation is a voice call request; and receiving a second user operation; in response to the second user operation, turning off the video ringback tone function and sending a seventh request message that does not carry the first capability mark to the network device.

[0041] For example, in response to the first user operation, the calling device may first determine whether the call request is a video call request. If this determination is negative, i.e., it is not a video call request, the calling device may then determine whether the user has turned off the video ringback tone. If this determination is negative, i.e., the user has not turned off the video ringback tone, the calling device may then determine whether the current signal meets a communication quality threshold. The specific implementation process is described in the detailed implementation below and is not detailed here.

[0042] In the second aspect, the present application provides a communication method, applied to a network device, the method comprising: receiving an eighth request message sent by a terminal device; judging whether to play a video ringback tone to the terminal device based on whether the eighth request message carries a first capability mark, wherein the first capability mark is used to indicate that the terminal device has the ability to play a video ringback tone; in a case where the eighth request message carries the first capability mark, playing the video ringback tone to the terminal device; in a case where the eighth request message does not carry the first capability mark, not playing the video ringback tone to the terminal device.

[0043] In a possible implementation of the second aspect above, when the eighth request message carries the first capability mark, playing the video ringback tone to the terminal device includes: when the eighth request message carries the first capability mark, sending the first update message carrying the video port to the terminal device.

[0044] In a possible implementation of the second aspect above, when the eighth request message does not carry the first capability mark, the video ringback tone is not played to the terminal device, including: when the eighth request message does not carry the first capability mark, the first update message carrying the video port is not sent to the terminal device.

[0045] In a possible implementation of the second aspect, the first capability flag includes a video feature tag in a Contact field.

[0046] In a possible implementation of the second aspect, the eighth request message includes a call request or a temporary confirmation request.

[0047] For example, the network device may be a ring back tone platform that interacts with a calling device to establish a voice call channel.

[0048] In the third aspect, the present application provides a communication method, applied to a terminal device, the method comprising: receiving a third call request sent by a network device; determining whether the current signal meets the communication quality threshold; if the current signal meets the communication quality threshold, sending a ninth request message carrying a second capability mark to the network device; if the current signal does not meet the communication quality threshold, sending a tenth request message not carrying the second capability mark to the network device.

[0049] In a possible implementation of the third aspect, the communication quality threshold includes a second quality parameter threshold for supporting video playback with color ringing, and the second capability flag is used to declare that the terminal device has the capability of supporting video playback with color ringing.

[0050] In a possible implementation of the third aspect above, the communication quality threshold includes at least one of the following: a power threshold corresponding to a reference signal received power; a quality threshold corresponding to a reference signal received quality; a ratio threshold corresponding to a signal to interference and noise ratio; and a strength threshold corresponding to a signal received strength indication.

[0051] In a possible implementation of the third aspect, determining whether the current signal meets the communication quality threshold includes:

[0052] determining, based on a second reference signal received power of the current signal being lower than a second power threshold, that the current signal does not meet a communication quality threshold;

[0053] determining that the current signal does not meet the communication quality threshold based on that the second reference signal reception quality of the current signal is lower than the second quality threshold;

[0054] Determining, based on a second signal-to-interference-and-noise ratio of the current signal being lower than a second ratio threshold, that the current signal does not meet a communication quality threshold;

[0055] Based on the second signal reception strength indicator of the current signal being lower than the second strength threshold, it is determined that the current signal does not meet the communication quality threshold.

[0056] In a possible implementation of the third aspect, the method includes: in response to sending a tenth request message that does not carry the second capability flag to the network device, the terminal device does not play the video color vibration.

[0057] In a possible implementation of the third aspect, the method includes: in response to sending a ninth request message carrying the second capability flag to the network device, the terminal device plays a video color vibration.

[0058] For example, the terminal device described above may be a called device. Upon receiving a call request from a network device, the called device may first determine whether the current signal meets a communication quality threshold. If so, it may send a ninth request message carrying the second capability flag to the network device, causing the video ringing sound to play in the incoming call interface. If not, it may send a tenth request message without the second capability flag to the network device, causing the video ringing sound to not play in the incoming call interface.

[0059] In a possible implementation of the third aspect, the ninth request message and the tenth request message include a session establishment request, and the second capability flag includes a capability information field in the session establishment request for declaring support for the color ring capability.

[0060] For example, the capability information field for declaring support for the color ringing capability in the above session establishment request may be +g.3gpp.crs="rs".

[0061] In a possible implementation of the third aspect above, before determining whether the current signal meets the communication quality threshold, the method also includes: receiving a fifth user operation; in response to the fifth user operation, turning on the video color vibration function and sending an eleventh request message that does not carry the second capability mark to the network device.

[0062] In a fourth aspect, the present application provides a communication method, applied to a network device, the method comprising: receiving a twelfth request message sent by a terminal device; judging whether to play a video color ring to the terminal device based on whether the twelfth request message carries a second capability flag, wherein the second capability flag is used to declare that the terminal device has the ability to support playing video color ring; if the twelfth request message carries the second capability flag, playing the video color ring to the terminal device; if the twelfth request message does not carry the second capability flag, not playing the video color ring to the terminal device.

[0063] In a possible implementation of the fourth aspect, when the twelfth request message carries the second capability flag, playing the video color vibration to the terminal device includes: when the twelfth request message carries the second capability flag, sending a second update message carrying the video port to the terminal device.

[0064] In a possible implementation of the fourth aspect above, if the twelfth request message does not carry the second capability flag, the video color vibration is not played to the terminal device, including: if the twelfth request message does not carry the second capability flag, the second update message carrying the video port is not sent to the terminal device.

[0065] In a possible implementation of the fourth aspect, the twelfth request message includes a session establishment request, and the second capability tag includes a capability information field of the session establishment request.

[0066] For example, the capability information field for declaring support for the color ringing capability in the above session establishment request may be +g.3gpp.crs="rs".

[0067] For example, the network device may be a color ringing platform that interacts with the called device to establish a voice call channel (QCI1).

[0068] In a fifth aspect, the present application provides a communication device, comprising: one or more processors; one or more memories; one or more memories storing one or more programs, wherein when one or more programs are executed by one or more processors, the communication device executes the communication method provided by the above-mentioned first aspect and various possible implementations of the first aspect, or the communication method provided by the above-mentioned second aspect and various possible implementations of the second aspect, or the communication method provided by the above-mentioned third aspect and various possible implementations of the third aspect, or the communication method provided by the above-mentioned fourth aspect and various possible implementations of the fourth aspect.

[0069] In a sixth aspect, the present application provides a communication system comprising a terminal device and a network device, wherein the terminal device is used to execute the communication method provided by the above-mentioned first aspect and various possible implementations of the first aspect; the network device is used to execute the communication method provided by the above-mentioned second aspect and various possible implementations of the second aspect.

[0070] In the seventh aspect, the present application provides a communication system, including a terminal device and a network device, wherein the terminal device is used to execute the communication method provided by the above-mentioned third aspect and various possible implementations of the third aspect; the network device is used to execute the communication method provided by the above-mentioned fourth aspect and various possible implementations of the fourth aspect.

[0071] In an eighth aspect, the present application provides a computer-readable medium having instructions stored thereon, which, when executed on a computer, causes the computer to execute the communication method provided by the first aspect and its various possible implementations, or the communication method provided by the second aspect and its various possible implementations, or the communication method provided by the third aspect and its various possible implementations, or the communication method provided by the fourth aspect and its various possible implementations of the fourth aspect.

[0072] In a ninth aspect, the present application provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the communication method provided by the first aspect and its various possible implementations, or the communication method provided by the second aspect and its various possible implementations, or the communication method provided by the third aspect and its various possible implementations, or the communication method provided by the fourth aspect and its various possible implementations.

[0073] The beneficial effects of the second to ninth aspects mentioned above can be referred to the relevant descriptions in the first aspect and various possible implementations of the first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1a Shown is a schematic diagram of a communication system.

[0075] Figure 1b The figure shows a communication scenario applicable to the color ring back tone service.

[0076] Figure 2a The figure shows a flow chart of communication establishment for a user equipment to normally use the color ring back tone service.

[0077] Figure 2b The figure shows a flow chart of establishing communication when a user equipment uses an abnormal color ring back tone service.

[0078] Figure 3a The figure shows a schematic diagram of the implementation process of a communication method provided in Example 1 of the present application.

[0079] Figure 3b Shown Figure 3a Step S315 is a schematic diagram of a normal communication establishment process using the color ring service.

[0080] Figure 4a Shown is a schematic diagram of a dialing interface provided in Example 1 of the present application.

[0081] Figure 4b The figure shows a schematic diagram of a call interface without playing a ringback tone provided in Example 1 of the present application.

[0082] Figure 4c The figure shows a schematic diagram of a call interface for playing a ringback tone provided in Example 1 of the present application.

[0083] Figure 5a Shown is a schematic diagram of a "System and Update" setting interface provided in Example 1 of the present application.

[0084] Figure 5b Shown is a schematic diagram of a "Developer Options" setting interface provided in Example 1 of the present application.

[0085] Figure 6 The figure shows a schematic diagram of the implementation process of a communication method provided in Example 2 of the present application.

[0086] Figure 7a The figure shows a communication scenario diagram applicable to the color ring service provided in Example 3 of the present application.

[0087] Figure 7b The figure shows a schematic diagram of the implementation process of a communication method provided in Example 3 of the present application.

[0088] Figure 7c Shown Figure 7b Step S713 is a schematic diagram of a normal communication establishment process using the color ring service.

[0089] Figure 8aShown is a schematic diagram of an incoming call interface without playing color vibration provided by an embodiment of the present application.

[0090] Figure 8b Shown is a schematic diagram of an incoming call interface for playing color vibration provided by an embodiment of the present application.

[0091] Figure 9 Shown is a structural diagram of a user equipment provided in an embodiment of the present application.

[0092] Figure 10 The figure shows a schematic diagram of a communication system architecture applied to a user equipment provided in an embodiment of the present application. DETAILED DESCRIPTION

[0093] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings and specific implementation methods.

[0094] In order to facilitate those skilled in the art to understand the solutions in the embodiments of the present application, some concepts and terms involved in the embodiments of the present application are explained below.

[0095] (1) Session Initiation Protocol (SIP) messages: used to create, modify, or release a session between one or more endpoints. SIP messages can be of two types.

[0096] The first type of SIP message: request message. Common request messages include:

[0097] 1) INVITE: This message is used to initiate a session invitation request (also known as a call request). The session description is contained in the message body. For both parties, the calling device indicates the media information it accepts (such as media types and their parameters) in the session description. The called device can indicate the media information it accepts and the media information it intends to send in the message body of a successful response message (such as 100 trying). The INVITE consists of a header and a data area. The header contains information such as the address of the calling and called devices, the call subject, and the call priority. The data area contains information about the session media, which is implemented using the Session Description Protocol (SDP). The SDP can include the media type (such as video, audio, or text), the transport protocol (such as the User Datagram Protocol), the media format (such as audio formats like Moving Picture Experts Group Audio Layer III (MP3) or video formats like Moving Picture Experts Group (MPEG), and the multicast or unicast address and port.

[0098] 2) ACK: ACKnowledgement, a response message used to confirm that the final response to the INVITE message has been received. This message can correspond to the INVITE message, such as the 200 (OK) message.

[0099] 3) PRACK: Provisional Response ACKnowledgement, a temporary confirmation request or temporary response message, similar to ACK function.

[0100] 4) UPDATE: This message updates media session information without changing the conversation state. Accordingly, the response message returned by the calling or called device after a successful session information modification can be a 200 (OK) message.

[0101] The second type of SIP message: response message. Common response messages include:

[0102] 1) A temporary response (1XX) indicates that the request message is being processed. For example, 180 (Ringing) indicates that the called party is ringing. The called device agent has obtained the called party's location and is alerting the called device. This response can also initiate a local ringback. Another example is 183 (Session Progress), which indicates a session progress response and provides information about the progress of the conversation.

[0103] 2) The final response is 2XX, 3XX, 4XX, 5XX, or 6XX. 2XX indicates that the request has been successfully received, fully understood, and processed.

[0104] Figure 1a A schematic diagram of a communication scenario provided in this application is exemplified.

[0105] like Figure 1a As shown, the communication scenario may include a user device 10 and a network device 20 .

[0106] The calling device and the called device are both user devices 10 with wireless communication capabilities, including but not limited to mobile phones, smart TVs, wearable devices, tablet computers, computers with wireless transceiver capabilities, virtual reality (VR) user devices, augmented reality (AR) user devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc. In the embodiments of the present application, the user devices of the calling device or the called device may also be referred to as terminals, terminal devices, mobile stations (MS), mobile terminals (MT), etc., without limitation herein.

[0107] The network device 20, also known as a radio access network (RAN) device, is a device that connects a terminal to a wireless network. It may include network devices in various communication formats, such as but not limited to: core network, base station, node B (NodeB, NB), evolved node B (evolved Node B, eNB), transmission node or transceiver point (Transmission Reception Point, TRP), radio network controller (Radio Network Controller, RNC), network equipment controller (Base Station Controller, BSC), network equipment transceiver station (Base Transceiver Station, BTS), home network equipment (such as Home evolved Node B, HeNB or HomenodeB, HNB), baseband unit (Baseband Unit, BBU), communication equipment or base station in 5G network (such as gNB), or base station in future evolved network, etc.

[0108] Exemplarily, user equipment 10 can access the core network through a base station in network device 20. It is understood that the Internet Protocol (IP) Multimedia Subsystem (IMS) domain networks on the calling and called sides may include an IMS domain core network. The IMS domain core network may include a session function control network element and at least one application server (AS). The session function control network element may include an interrogating call session control function (I-CSCF) network element, a serving-call session control function (S-CSCF) network element, a proxy call session control function (P-CSCF) network element, and the like. The at least one application server may include a telecom application server (TAS), a customized alerting tone application server (CAT AS), and a customized ringing signal application server (CRS AS).

[0109] The CRBT application server is used to provide multimedia CRBT service logic and play multimedia CRBTs, including video CRBTs. The CRBT application server is primarily used to provide multimedia CRBT service logic and play multimedia CRBTs, including video CRBTs. For example, it can interact with the S-CSCF to implement service call control and execute CRBT service logic. In some embodiments, the CRBT platform can be deployed on the aforementioned CRBT application server, and the CRBT platform can be deployed on the aforementioned CRBT application server. This is not detailed here.

[0110] Figure 1b For ease of description and distinction, the calling device is numbered as the calling device 10a and the called device is numbered as the called device 10b.

[0111] like Figure 1b As shown, when the calling device 10a detects a user dialing, it can send a call request to the called device 10b through the CRBT platform. If the called device 10b has activated the CRBT service, the calling device 10a can parse the video CRBT issued by the CRBT platform and play it, thereby displaying the call interface showing the video CRBT being played.

[0112] As mentioned above, the use of color ringback tone or color vibration services will increase the signaling and media resource overhead during the call establishment process. When the communication signal of the calling device or the called device is weak, it is difficult for the user device to send signaling and media resources uplink or receive signaling and media resources sent downlink by the network device, which can easily lead to call establishment failure and some problems such as screen distortion when playing video color ringback tone.

[0113] In addition, taking the CRBT service as an example, by analyzing the communication establishment process of the user equipment using the CRBT service normally (refer to the following Figure 2a ) It can be known whether the calling device supports playing video ringback ringtones and whether the called device supports color ringback ringing capabilities. For example, this can be determined by carrying capability tags in some SIP message fields during the initial stage of the communication establishment process. For example, the Contact field of the INVITE message transmitted upstream by the calling device can carry a video feature tag to indicate that the calling device supports playing video ringback ringtones. For another example, the Contact field of the 183 (SessionProgress) message transmitted upstream by the called device to the network device can carry the communication type identifier "+g.3gpp.crs" to declare that the called device supports color ringback ringing capabilities.

[0114] Taking the user equipment 10 as the calling device 10a as an example, the communication establishment process of the user equipment 10 using the normal ring back tone service is as follows: Figure 2a As shown, the following steps S1 to S10 may be included.

[0115] S1: User device 10 detects a user dialing and sends a call request (INVITE) to network device 20. Some fields (e.g., Contact) in this uplink INVITE message can carry a video feature tag to indicate that calling device 10a supports playing video ringback ringtones. This means that if the called device has activated the ringback ringtone service, calling device 10a can play the personalized video provided by the service as a ringback ringtone.

[0116] S2: The network device 20 sends a request response message (100 trying) to the user equipment 10.

[0117] S3: Network device 20 sends a session establishment request (183 (Session Progress)) to user device 10. This 183 message can be a request message generated by network device 20 and sent to calling device 10a based on the 183 message received from called device 10b. In the color ring service scenario, the capability information field of the 183 message sent by called device 10b to network device 20 can carry capability information declaring that called device 10b supports the color ring capability, such as +g.3gpp.crs="rs" or other information.

[0118] S4: The user equipment 10 sends a provisional acknowledgement request (PRACK) to the network device 20 .

[0119] S5: The network device 20 sends a provisional confirmation response (200 (OK)) to the user equipment 10.

[0120] At this point, user device 10 and network device 20 have established a voice call channel (QCI1). This means that QCI1 has been established between the calling device (user device) and network device 20. Similarly, QCI1 must also be established between called device 10b and network device 20 to facilitate a voice call between calling device 10a and called device 10b. This QCI1 is primarily used for transmitting audio data, such as voice call data.

[0121] S6: The user equipment 10 sends a media session update request (UPDATE Request) to the network device 20 .

[0122] S7: The network device 20 sends a media session update response (200 (OK) Request) to the user equipment 10.

[0123] S8: The network device 20 sends an update (UPDATE) carrying the video port to the user device 10.

[0124] At this point, user device 10 and network device 20 have established a video call channel (QCI2). Specifically, calling device 10a and network device 20 have established QCI2. Similarly, called device 10b and network device 20 must also establish QCI2 to facilitate a video call between them. This QCI2 is primarily used for transmitting video data, including video ringback tone.

[0125] It is understood that calling device 10a and called device 10b can conduct a video call over the video call channel (QCI2). Calling device 10a can also receive, parse, and play a video ringback tone from network device 20 via QCI2. The process of establishing QCI2 from S6 to S8 can be triggered based on the capability flag carried in the INVITE message indicating that user device 10 supports playing video ringback tone.

[0126] S9: The user equipment 10 sends an update message (200 (OK)) to the network equipment 20 indicating that the video resource reservation is successful.

[0127] S10 : The network device 20 sends a ringing response message ( 180 (Ringing)) to the user equipment 10 .

[0128] Similarly, the called device 10b can declare whether it supports the video color ringing capability in a part of the fields of the INVITE message or 183 message transmitted upstream to the network device 20. For example, if the INVITE message received by the called device 10b carries "Alert-Info: <urn:alert:service:crs>" indicates that the call request forwarded by the network device 20 is from a phone that supports color ringing capability. Correspondingly, the called device 10b can also set "+g.3gpp.crs="rs"" in the capability information field of the 183 (Session Progress) message to declare that it supports the video color ringing capability.

[0129] However, when the communication signal of the calling device or the called device is weak, it is difficult for the user device to send message signaling and media resources uplink or receive message signaling and media resources sent downlink by the network device. Figure 2b User device 10 may fail to send the UPDATE Request message when executing step S6. Therefore, user device 10 may proceed to step S6a, retransmitting the media session update request (UPDATE Request). After a successful retransmission, network device 20 receives the UPDATE Request and prepares to respond with a 200 (OK) Request. It is understood that user device 10 may retransmit the UPDATE Request multiple times before successfully retransmitting the UPDATE Request in step S6a. In other words, in some implementation scenarios, multiple retransmissions may be required before the UPDATE Request message reaches network device 20. After successfully receiving the UPDATE Request message sent or retransmitted by user device 10, network device 20 prepares a 200 (OK) Request.

[0130] At this point, the network device 20 may continue to execute step S7 to send an update response 200 (OK) Request to the user equipment 10. However, the update response 200 (OK) Request may not be delivered to the user equipment 10 due to a poor signal.

[0131] Continue to refer Figure 2b If the user device 10 does not receive a 200 (OK) response, it will continue to retransmit the UPDATE Request and send a failure response message. For example, the user device 10 may execute step S7a, i.e., retransmit the media session update request (UPDATE Request) to the network device 20, but this request may also fail to be sent.

[0132] At this point, upon receiving the 180 (Ringing) message from called device 10b, network device 20 determines that calling device 10a needs to play the ringback tone video. It then sends an UPDATE message with the video port to calling device 10a, proceeding to step S8. Correspondingly, after receiving the UPDATE message with the video port, user device 10 executes step S8a because it has not received a 200 (OK) Request, sending a failure response message (491) to network device 20.

[0133] Similarly, in the case of poor signal quality, the user device 10 may not receive the update message, and the user device 10 may execute step S8a, i.e., send a failure response message (491) to the network device 20. In this way, the network device 20 insists on retransmitting the UPDATE message (carrying the video port) for establishing the video call channel, and the user device 10 insists on retransmitting the UPDATE message that successfully reserved the audio resource, and replies with a failure response 491 to the UPDATE message carrying the video port sent by the network device 20, and the call is finally abnormal. In addition, the above Figure 2a The process of establishing QCI2 performed in steps S6 to S8 shown cannot be completed either.

[0134] As mentioned above, the current communication method easily leads to call establishment failure, and some calling devices are prone to screen distortion when playing video ringback ring or called devices are playing video ringback ring, resulting in a poor user call experience.

[0135] Therefore, to address the above-mentioned issues, the present application provides a communication method, applied to a user device. This method detects whether the current signal meets the communication quality requirements for playing a video ringback tone (RBT) before or during the initial stages of a voice call establishment process. If the communication quality requirements are not met, the method promptly sends a request message to the network device indicating that the RBT or RBT service is not supported, thereby canceling the use of the RBT or RBT service during the call establishment process. The request message indicating that the RBT or RBT service is not supported may, for example, include an INVITE message or a 183 message with the capability flag in the relevant field deleted. This avoids the transmission of additional messages or signaling for establishing QCI2 between the user device and the network device, thereby reducing the transmission of related message signaling or media resources. This reduces message or signaling overhead, allowing limited channel resources to be used more for the voice call channel establishment process, thereby improving the call establishment success rate, the stability of the user device's voice calls, and the user's call experience.

[0136] Furthermore, based on the communication method provided in this application, the user device may also provide a switch control or setting option that supports the user to turn off the video ringback ring or ringback ring function. In this way, the user can also avoid the additional signaling overhead of establishing the QCI2 process due to the ringback ring or ringback ring service when making a voice call by turning off the corresponding switch. This helps to ensure the stability of the user device's voice call and can provide a relatively smooth voice call service even when the signal is weak, thereby improving the user's calling experience.

[0137] It is understood that the above-mentioned user equipment can be a calling device or a called device. For example, when the calling device detects that the user is dialing, it can execute the communication method provided in this application to first detect whether the current signal meets the call quality requirements for playing video ringback tone. If it is determined that it does not meet the requirements, it sends a call request with the video feature tag deleted to the network device to declare to the network device that it does not support playing video ringback tone, thereby reducing the signaling overhead caused by establishing QCI2, improving the success rate of establishing QCI1, and helping to ensure the stability of the user device's voice call.

[0138] For another example, when the called device detects a request message for establishing a call (such as a session establishment request, etc.) sent by the network side, it can execute the communication method provided in this application, first detecting whether the current signal meets the call quality requirements for playing video color ringing, and if it is determined that it does not meet the requirements, sending a response message (such as a session establishment response, etc.) with the video feature tag deleted to the network device, so as to declare to the network device that the color ringing capability is not supported, thereby reducing the signaling overhead caused by establishing QCI2, improving the success rate of establishing QCI1, and ensuring the stability of the user device in making voice calls.

[0139] The following describes in detail the specific implementation process of the communication method provided by the present application applied to the calling device and the called device in combination with different embodiments.

[0140] The following first introduces a specific implementation process of the communication method provided by the present application applied to a calling device in conjunction with Example 1.

[0141] Example 1 of the present application takes the calling device 10a as an example to introduce a specific implementation process of the communication method provided by the present application.

[0142] In the embodiments of this application, refer to the above Figure 1b The illustrated communication scenario mainly involves the interaction between the calling device 10a and the network device 20, wherein the network device 20 may include communication devices such as a core network, a base station, and a color ring back tone application server as mentioned above, which will not be described in detail here.

[0143] Figure 3a According to an embodiment of the present application, a schematic diagram of an implementation flow of a communication method is shown.

[0144] Specifically, if Figure 3a As shown, the implementation process may include the following steps:

[0145] S301: The calling device 10a detects that a user dials a number.

[0146] For example, the calling device 10a, such as a mobile phone, can detect the user dialing when it detects that the user enters the other party's number on the dialing interface of the phone application and clicks the relevant control for making a call, that is, when it detects the dialing operation.

[0147] As an example, Figure 4a A schematic diagram of a dialing interface is shown.

[0148] like Figure 4a As shown, upon detecting a user's dialing operation, the calling device 10a may display a dialing interface 410 of the phone application. This dialing interface 410 may display a dialing prompt text, such as "Dialing..." 411. At this point, the calling device 10a may respond to the user's dialing operation and continue executing the judgment process of step S302, etc.

[0149] S302: The calling device 10a determines whether the user dials a number for a video call.

[0150] If the judgment result is yes, that is, the user dials for a video call request and QCI2 needs to be established to support the video call, the calling device 10a can execute the following step S315 to perform a normal communication establishment process using the color ring back tone service.

[0151] If the judgment result is no, the calling device 10a continues to perform the judgment process of step S303 below.

[0152] For example, in response to a detected user dialing operation, or in other words, in response to the user's dialing operation, the calling device 10a may first determine whether the user's dialing request is a video call. This determination process may be implemented, for example, via the Transmission Control Protocol / Internet Protocol Stack (TCP / IP). During the dialing process, the phone application may call a function such as TelecomManager#placeCall(), which is provided by the TCP / IP stack for call management. If the call is a video call, the function parameter will carry a video state flag. This video state is passed to the telephony architecture and further included in the phone's response parameters. During the dialing process, the call tracker converts the video state into a call type in the IMS call profile. The IMS service then retrieves the call type from the IMS call profile when initiating the call to determine whether the user's call is a video call.

[0153] S303: The calling device 10a detects whether the user turns off the video ringback tone switch.

[0154] If the detection result is yes, that is, it is detected that the user has turned off the video ringback tone switch, the calling device 10a can execute the following step S305, delete the video capability flag indicating support for playing video ringback tone in the request message sent to the network device 20, and then send a request message without the capability flag to the network device 20.

[0155] If the detection result is no, that is, it is not detected that the user has turned off the video ringback tone switch, the calling device 10a can continue to perform the judgment process of the following step S304.

[0156] For example, the calling device 10a can detect whether the user has turned off the video ringback ring tone switch by detecting whether the user has turned off the corresponding switch for the video ringback ring tone or the video ringback ring tone function on the relevant setting interface. Alternatively, the calling device 10a can also detect whether the user has turned off the video ringback ring tone switch by detecting whether the user has turned off the ringback ring tone switch on the dialing interface of the phone application.

[0157] As an example, the above Figure 4a The dialing interface 410 shown may display a switch control 412. When the video ringback tone is not turned off, the switch control 412 may display "ringback tone" or other prompt text. If the user clicks the switch control 412 to indicate turning off the video ringback tone, the icon displayed by the switch control 412 may display Figure 4a If the user clicks the switch control 412 to indicate turning on the video ringback ring function, or to indicate continuing to use the video ringback ring function, the icon corresponding to the switch control 412 may be displayed as follows: Figure 4b The opening styles shown are not described in detail here.

[0158] It is understood that when the video ringback tone is turned off, the calling device 10a can display the Figure 4b The call interface 420 shown in the figure does not play the video ringback tone. The call interface 420 can also display a prompt text, such as "the other party is ringing". When the video ringback tone function is turned on, the calling device 10a can display the prompt text after dialing successfully. Figure 4c The call interface 430 shown. Figure 4c As shown, the call interface 430 can play a video ringback tone including the picture 431. The process of the calling device 10a dialing successfully may correspond to the process of executing the following steps S306 to S314. The specific execution process will be described in detail in the relevant steps below and will not be repeated here.

[0159] As another example, Figures 5a to 5b A schematic diagram of the related setting interface that supports turning off video ringback tone or ringback vibration is shown.

[0160] like Figure 5a As shown, on the "System and Update" setting interface 510 displayed by the calling device 10a, the user can click "Developer Options" 511. Correspondingly, the calling device 10a can display Figure 5b The “Developer Options” settings interface 520 is shown.

[0161] like Figure 5b As shown, on the "Developer Options" settings interface 520 displayed on the calling device 10a, the user can click the switch 521 corresponding to "Video Ringback Tone or Color Ring" to turn it off, thereby turning off the video ringback tone / color ring. Accordingly, the calling device 10a can disable the function of supporting the playback of video ringback tone in response to this operation.

[0162] It is understood that the user can also turn on the switch 521 by operating the setting interface 520. Correspondingly, the calling device 10a can continue to provide the function of playing the video ringback tone.

[0163] It is understandable that in other embodiments, the calling device 10a may not perform the judgment process of step S303, but directly continue to perform the judgment process of step S304 when the judgment result of step S302 is negative. This is not limited here.

[0164] S304: The calling device 10a determines whether the current signal meets the communication quality requirement for playing the video ringback tone.

[0165] If the judgment result is yes, that is, it is determined that the current signal meets the communication quality requirement, the calling device 10a can execute the following step S315 to perform a normal communication establishment process using the color ring back tone service.

[0166] If the judgment result is no, that is, it is determined that the current signal does not meet the communication quality requirements, the calling device 10a can execute the following step S305, delete the video capability flag indicating support for playing video ringback tone in the request message sent to the network device 20, and then send a request message without the capability flag to the network device 20.

[0167] For example, the calling device 10a can measure the signal quality of the current signal based on signal quality parameters such as Reference Signal Received Power (RSRP), Reference Signal Received Quality (RSRQ), and Signal to Interference plus Noise Ratio (SINR), and then determine whether the current signal meets the communication quality requirements for playing video ringback tone based on the signal quality.

[0168] RSRP is a measure of the strength of the reference signal received by a receiver from a base station, measured in dBm (decibel milliwatts). A larger RSRP value indicates a stronger signal. The calling device 10a can determine the current signal strength by determining whether the RSRP value is above a corresponding power threshold. This power threshold may correspond to the communication quality requirement for playing a ringback tone. If the RSRP value of the current signal is large, exceeding the corresponding power threshold, it indicates that the current signal is strong, i.e., the current signal quality is high, and the communication quality requirement for playing a video ringback tone can be determined to be met. Conversely, if the RSRP value of the current signal is small, below the corresponding power threshold, it indicates that the current signal is weak, i.e., the current signal quality is low, and the communication quality requirement for playing a video ringback tone can be determined to be not met.

[0169] RSRQ is an indicator to measure the signal quality and the degree of interference. RSRQ mainly calculates the proportional relationship between RSRP and the interference and noise received. In dB, the larger the RSRQ value, the higher the signal quality. At the same time, a higher RSRQ value indicates a higher signal strength and less interference and noise received. The calling device 10a can judge the quality of the current signal by judging whether the RSRQ value is higher than the corresponding set quality threshold. The quality threshold can correspond to the communication quality requirements for playing ringback tone. If the RSRQ value of the current signal is high and higher than the corresponding set quality threshold, it indicates that the current signal quality is high, that is, the signal strength is high and the interference and noise received are small, then it can be judged that the communication quality requirements for playing video ringback tone are met. Conversely, if the RSRQ value of the current signal is lower than the corresponding set quality threshold, it indicates that the current signal quality is low, that is, the signal strength is high and the interference and noise received are large, then it can be judged that the communication quality requirements for playing video ringback tone are met.

[0170] SINR is an important indicator for measuring signal quality, representing the ratio of the strength of the received useful signal to the strength of the received interfering signal (including noise and interference). Measured in dB, higher values ​​indicate better signal quality. A higher SINR value indicates better signal quality, and the user experiences a lower bit error rate during communication. The calling device 10a can determine the current signal quality by determining whether the SINR value is above a set ratio threshold. This ratio threshold may correspond to the communication quality requirement for playing a ringback tone. If the current signal SINR value is high, exceeding the set ratio threshold, it indicates that the current signal quality is high and meets the communication quality requirement for playing a video ringback tone. Conversely, if the current signal SINR value is low, below the set ratio threshold, it indicates that the current signal quality is low and does not meet the communication quality requirement for playing a video ringback tone.

[0171] In other embodiments, the calling device 10a may also determine whether the current signal meets the communication quality requirement for playing the CRBT by detecting other signal parameters related to the current signal, which is not limited here.

[0172] S305: The calling device 10a deletes the video capability flag indicating support for playing video ringback tone in the request message INVITE.

[0173] For example, the call request message sent by calling device 10a to network device 20 in response to a user call may be an INVITE message. During normal use of the color ring back tone service, the Contact field of the INVITE message may carry a video feature tag. Therefore, the video capability tag may be, for example, the video feature tag in the Contact field of the INVITE message. After the video capability tag is removed, the Contact field of the INVITE message no longer carries the "video feature tag."

[0174] It can be understood that if the calling device 10a executes the judgment result of the above step S302 as no, and the detection result of the above step S303 as yes, or the calling device 10a executes the judgment or detection results of the above steps S302 to S304 as no, then the calling device 10a can execute this step S305, delete the video capability mark indicating support for playing video ringback tone carried in the request message, and then the calling device 10a can continue to execute the following step S306, and send a request message without the video capability mark to the network device 20.

[0175] If the calling device 10a determines that step S302 above yields a yes answer, or if the calling device 10a determines that step S302 above yields a no answer, step S303 yields a no answer, and step S304 yields a yes answer, i.e., the calling device 10 currently has a good signal, the calling device 10a may skip step S305 and directly execute step S315 to establish a normal communication using the CRBT service, sending the request message carrying the capability flag indicating support for playing video CRBT to the network device 20.

[0176] In other embodiments, the calling device 10a may also directly generate an INVITE message without the "videofeature tag" when executing step S305, and then send the message to the network device 20 when executing step S306, which is not limited here.

[0177] S306 : The calling device 10 a sends a call request (INVITE) without a video capability flag to the network device 20 .

[0178] For example, after the calling device 10a executes step S305 to delete the video capability flag in the INVITE message, the request message (INVITE) sent to the network device 20 will not carry the video capability flag indicating support for playing video ringback tone.

[0179] It is understandable that when the calling device 10a executes the normal communication establishment process for using the CRBT service corresponding to step S315 below, the request message (INVITE) sent to the network device 20 will normally carry the video capability tag "videofeature tag".

[0180] S307: The network device 20 sends a request response message (100 trying) to the calling device 10a.

[0181] For example, the response message may be a reply message of the network device 20 to the received INVITE message that does not carry the video capability flag, such as 100 trying, where 100 trying is a temporary response message indicating that the request has been received but not all processing has been completed.

[0182] S308: The network device 20 sends a session establishment request to the calling device 10a (183 (Session Progress)).

[0183] For example, based on the received call request (INVITE) without the video capability flag, network device 20 can, after interacting with the called device to process the call request, send a session establishment request, such as 183 (Session Progress), to calling device 10a. 183 (Session Progress) is used to prompt or initiate a session establishment.

[0184] S309 : The calling device 10 a sends a Provisional Response ACKnowledgement (PRACK) to the network device 20 .

[0185] For example, after receiving the message 183 (Session Progress) sent by the network device 20 , the calling device 10 a may reply a provisional acknowledgement request (PRACK) to the network device 20 .

[0186] S310: The network device 20 sends a provisional confirmation response (200 (OK)) to the calling device 10a.

[0187] For example, after receiving the provisional confirmation request (PRACK) sent by the calling device 10a, the network device 20 may reply a provisional confirmation response, such as 200 (OK), to the calling device 10a, indicating that the confirmation has been received.

[0188] At this point, a voice call channel (QCI1) can be established between the calling device 10a and the network device 20.

[0189] S311: The calling device 10a detects that the audio resource reservation is successful.

[0190] For example, after QCI1 is established between the calling device 10a and the network device 20, the calling device 10a can reserve audio resources for the voice call, such as cache space for storing voice data input by the user, cache or memory space for storing voice data received from the called device user, and other resources.

[0191] S312 : The calling device 10 a sends a media session update request (UPDATE Request) to the network device 20 .

[0192] Exemplarily, the calling device 10a may send the result of successful audio resource reservation to the network device 20 via a media session update request (UPDATE Request).

[0193] S313: The network device 20 sends a media session update response (200 (OK) Request) to the calling device 10a.

[0194] For example, after receiving the UPDATE Request message sent by the calling device 10 a , the network device 20 may reply a response message to the calling device 10 a , such as a 200 (OK) Request, indicating that the update has been received.

[0195] It can be understood that after the calling device 10a and the network device 20 successfully transmit the INVITE message, 183 (Session Progress), and the UPDATE message indicating successful audio resource reservation, the audio data channel (QCI1) used for the corresponding voice call is established and ready.

[0196] At the same time, if it is determined that the user requests not to make a video call and the current signal does not meet the communication quality requirements for playing a video ringback tone, based on the INVITE message not carrying the above-mentioned video capability flag, there is no need to establish QCI2 between the calling device 10a and the network device 10. After determining that the audio resources on the calling device 10a have been successfully reserved, the network device 20 can execute the following step S314 to send a ringing response message (180 (Ringing)).

[0197] It is understandable that the CRBT application server or CRBT platform detects that the Contact field in the INVITE message does not carry the video capability flag, i.e., the video capability, and therefore does not initiate the QCI2 establishment process required for playing the video CRBT. This can reduce the signaling overhead of the communication between the calling device 10a and the network device 20.

[0198] S314: The network device 20 sends a ringing response message (180 (Ringing)) to the calling device 10a.

[0199] For example, after interacting with the called device, the network device 20 confirms that the user call has been delivered to the called device and the called device has completed the corresponding processing. Then, the network device 20 can send a ringing response message, such as (180 (Ringing), to the calling device 10a. The ringing response message (180 (Ringing)) can indicate that the called device is ringing and can instruct the calling device 10a to play the ringing sound.

[0200] It can be understood that based on the above-mentioned INVITE message without the video capability flag, the ringing response message (180 (Ringing) sent by the network device 20 to the calling device 10a may also not carry the video ringback tone. Correspondingly, the call interface for the calling device 10a to play the ringing tone can refer to the above-mentioned Figure 4b Call interface 420 is shown.

[0201] S315: The calling device 10a and the network device 20 execute a normal communication establishment process for using the color ring back tone service.

[0202] For example, the normal communication establishment process for using the CRBT service may include completing the process of establishing QCI1 and completing the process of establishing QCI2 and playing the video CRBT.

[0203] Specifically, Figure 3b A schematic diagram of a normal communication establishment process using the color ring back tone service is shown.

[0204] like Figure 3b As shown, the process may include the following steps S316 to S327:

[0205] S316 : The calling device 10 a sends a call request (INVITE) carrying a video capability flag to the network device 20 .

[0206] For example, after executing the judgment of the above steps S302 to S304, if the calling device 10a determines that QCI2 needs to be established with the network device 20 to use the ringback tone service, the calling device 10a can send a call request to the network device 20 without deleting the corresponding video capability tag, that is, send a call request (INVITE) carrying the video capability tag.

[0207] S317: The network device 20 sends a request response message (100 trying) to the calling device 10a.

[0208] Exemplarily, the response message may be a temporary response message 100 trying sent by the network device 20 to the received INVITE message carrying the video capability flag.

[0209] S318: The network device 20 sends a session establishment request to the calling device 10a (183 (Session Progress)).

[0210] For example, based on the received call request (INVITE) carrying the video capability flag, network device 20 can, after interacting with the called device to process the call request, send a session establishment request, such as 183 (Session Progress), to calling device 10a. 183 (Session Progress) is used to prompt or initiate a session establishment.

[0211] S319 : The calling device 10 a sends a provisional acknowledgement request (PRACK) to the network device 20 .

[0212] For example, after receiving the message 183 (Session Progress) sent by the network device 20 , the calling device 10 a may reply a provisional acknowledgement request (PRACK) to the network device 20 .

[0213] S320: The network device 20 sends a provisional confirmation response (200 (OK)) to the calling device 10a.

[0214] For example, after receiving the provisional confirmation request (PRACK) sent by the calling device 10a, the network device 20 may reply a provisional confirmation response, such as 200 (OK), to the calling device 10a, indicating that the confirmation has been received.

[0215] At this point, a voice call channel (QCI1) can be established between the calling device 10a and the network device 20.

[0216] The execution content of each step in the above steps S316 to S320 is the same as the execution content of each step in the above steps S306 to S310. Therefore, the execution process of establishing QCI1 described in the above steps S316 to S320 can refer to the relevant description of each step in the above steps S306 to S310, and will not be repeated here.

[0217] S321: The network device 20 sends an update (UPDATE) carrying a video port to the calling device 10a.

[0218] For example, the network device 20 confirms initiating the process of establishing QCI2, and may continue to send the video port update (UPDATE) to the calling device 10a, so as to provide the calling device 10a with a video port for transmitting the video ringback tone.

[0219] S322: The calling device 10a sends a response (200 (OK)) to the network device 20 indicating successful reception of the video port update.

[0220] For example, upon detecting that the video resource reservation is successful, the calling device 10a may send a 200 (OK) response to the network device 20 indicating that the video port has been successfully received. This 200 (OK) response indicates that the calling device 10a has successfully received the UPDATE message sent by the network device 20 and obtained the video port.

[0221] At this point, a video call channel QCI2 can be established between the calling device 10a and the network device 20.

[0222] S323: The calling device 10a detects that the video resource reservation is successful.

[0223] For example, after receiving the video port sent by the network device 20 via the UPDATE message, the calling device 10a can reserve corresponding video resources for the video call or playing the video ringback tone, including storage resources and video data processing resources, etc., which are not limited here.

[0224] S324 : The calling device 10 a sends a media session update request (UPDATE Request) to the network device 20 .

[0225] For example, after successfully completing the video resource reservation, the calling device 10a may notify the network device 20 through an UPDATE Request message, that is, send a media session update request (UPDATE Request) to the network device 20 .

[0226] S325: The network device 20 sends a media session update response (200 (OK) Request) to the calling device 10a.

[0227] For example, in response to the received UPDATE Request message, the network device 20 may reply an update response (200 (OK) Request) to the calling device 10 a .

[0228] S326: The network device 20 sends a ringing response message (180 (Ringing)) to the calling device 10a.

[0229] For example, network device 20 can send a ringing response message (180 (Ringing)) to calling device 10a based on the established QCI2. Network device 20 can then send a Real-time Transport Protocol (RTP) / Real-time Transport Control Protocol (RTCP) packet (RTP / RTCP packet for short) to user device 10 via the QCI2. The RTP / RTCP packet can carry a video ringback tone. After receiving the RTP / RTCP packet, user device 10 can parse and play the video ringback tone.

[0230] S327: The calling device 10a plays the video ringback tone.

[0231] It is understood that based on the above-mentioned INVITE message carrying the video capability flag, the ringing response message (180 (Ringing) sent by the network device 20 to the calling device 10a in step S326 may also carry a video ringback tone. Correspondingly, the call interface for the calling device 10a to play the video ringback tone can refer to the above-mentioned Figure 4c Call interface 430 is shown.

[0232] It is understood that when network device 20 executes step S321 above, the CRBT application server in network device 20 may initiate the process of establishing QCI2 video CRBT transmission based on whether the received INVITE message carries the video capability flag. If the INVITE message does not carry the video capability flag, the CRBT application server will not initiate the process of establishing QCI2 video CRBT transmission. However, due to network delays or signaling errors, the CRBT application server may still initiate the process even if it recognizes that the INVITE message does not carry the video capability flag. In this case, after receiving the UPDATE message sent by calling device 10a, network device 20 may reset the video port number carried in the UPDATE message to zero, for example, "m=video0 RTP / AVPF 114," to indicate that video CRBT transmission is not supported, and then respond with a 200 (OK) response to calling device 10a. This ensures the stability of the communication method provided by this application.

[0233] Based on the above Figure 3a The communication method implemented by the interactive process shown allows the calling device 10a to promptly disable the video ringback tone function when the called device activates the ringback tone service and detects that the current signal does not meet the communication quality requirements for playing the video ringback tone. This reduces the signaling overhead incurred during the QCI2 establishment process with the network device, thereby improving the stability of the voice call between the calling device and the called device through the network device, thereby enhancing the user's call experience. Furthermore, the calling device 10a can provide the user with a switch to disable the video ringback tone function, making it easier for the user to disable the video ringback tone function, thereby reducing mobile communication network data consumption, and thus improving the user's call experience.

[0234] In conjunction with Example 2, another specific implementation process of the communication method provided by the present application applied to a calling device is described below.

[0235] Example 2 of the present application takes the calling device 10a as an example to introduce another specific implementation process of the communication method provided by the present application. Compared with the specific implementation process of the communication method provided in the above embodiment 1, the communication method provided in the embodiment of the present application has a different way in which the calling device 10a determines whether the current signal meets the communication quality requirements. Figure 1b In the communication scenario shown, the specific implementation process of the communication method provided in the embodiment of the present application still mainly involves the interaction between the calling device 10a and the network device 20, where the network device 20 may include communication equipment such as the core network, base station, and ringback tone application server as mentioned above, which will not be repeated here.

[0236] Figure 6 According to an embodiment of the present application, a schematic diagram of an implementation flow of a communication method is shown.

[0237] Specifically, if Figure 6 As shown, the implementation process may include the following steps:

[0238] S601: The calling device 10a detects that a user dials a number.

[0239] The specific execution process of step S601 can refer to the relevant description of step S301 in the above embodiment 1, and will not be repeated here.

[0240] S602: The calling device 10a determines whether the user dials a number for a video call.

[0241] If the result of the determination is yes, that is, the user dials for a video call request and QCI2 needs to be established to support the video call, the calling device 10a proceeds to step S617 to perform a normal communication establishment process using the color ring back tone service.

[0242] If the judgment result is no, the calling device 10a continues to perform the judgment process of step S603 below.

[0243] The specific execution process of step S602 can refer to the relevant description of step S302 in the above embodiment 1, and will not be repeated here.

[0244] S603: The calling device 10a detects whether the user turns off the video ringback tone switch.

[0245] If the detection result is yes, that is, it is detected that the user has turned off the video ringback tone switch, the calling device 10a can execute the first interception process described in the following steps S604 to S607 and S611, delete the video capability flag indicating support for playing video ringback tone in the request message INVITE sent to the network device 20, and then send a request message INVITE without the capability flag to the network device 20.

[0246] If the detection result is negative, that is, if the user has not turned off the video ringback tone, the calling device 10a can continue to perform the second interception process described in steps S605' to S607', S608 to S610, and S611'. This process includes calculating the signal loopback time in step S608 based on the sending or receiving time corresponding to the message transmitted in steps S605' to S607', determining the signal loopback time in step S609 based on the signal loopback time and signal strength, deleting the video capability flag in the PRACK message in step S610, and sending the PRACK message without the video capability flag to the network device 20 in step S611'.

[0247] The specific execution process of step S603 can refer to the relevant description of step S303 in the above embodiment 1, and will not be repeated here.

[0248] For ease of understanding, the following Figure 6 The process shown first introduces the first interception process corresponding to steps S604 to S607 and S611.

[0249] S604: The calling device 10a deletes the video capability flag indicating support for playing video ringback tone in the request message INVITE.

[0250] For example, the calling device 10a may delete the video feature tag "video feature tag" in the Contact field of the INVITE message. The specific execution process of step S604 may refer to the description of step S305 in the above embodiment 1, which will not be repeated here.

[0251] S605: The calling device 10a sends a call request (INVITE) without a video capability flag to the network device 20.

[0252] The specific execution process of step S604 can refer to the relevant description of step S306 in the above embodiment 1, and will not be repeated here.

[0253] S606: The network device 20 sends a request response message (100 trying) to the calling device 10a.

[0254] The specific execution process of step S606 can refer to the relevant description of step S307 in the above embodiment 1, and will not be repeated here.

[0255] S607: The network device 20 sends a session establishment request to the calling device 10a (183 (Session Progress)).

[0256] The specific execution process of step S607 can refer to the relevant description of step S308 in the above embodiment 1, and will not be repeated here.

[0257] S611 : The calling device 10 a sends a provisional acknowledgement request (PRACK) to the network device 20 .

[0258] For example, after successfully executing the first interception, that is, executing steps S604 to S607, the calling device 10a may proceed to step S611 to send a normally generated PRACK message to the network device 20. Since the first interception process has already controlled the INVITE message sent to the network device 20 to not carry the "video feature tag", the PRACK message sent by the calling device 10a to the network device 20 may also not carry the video capability tag.

[0259] Next, continue to combine Figure 6 The process shown introduces the second interception process corresponding to steps S605' to S607', S608 to S610 and S611'.

[0260] S605 ′: The calling device 10 a sends a call request (INVITE) carrying a video capability flag to the network device 20 .

[0261] For example, when the detection result corresponding to the above step S603 is no, that is, there is no need to execute the above step S604 to delete the video capability mark in the INVITE indicating support for playing video ringback tone, the calling device 10a can continue to execute this step S605' and send an INVITE message carrying the video capability mark to the network device 20.

[0262] S606 ′: The network device 20 sends a request response message (100 trying) to the calling device 10 a .

[0263] In response to the calling device 10a executing step S605 ′ and sending the INVITE message carrying the video capability flag, the network device 20 may send a corresponding request response message (100 trying) to the calling device 10a.

[0264] S607 ′: The network device 20 sends a session establishment request to the calling device 10 a ( 183 (Session Progress)).

[0265] In response to the calling device 10a executing step S605' and sending the INVITE message carrying the video capability flag, the network device 20 executes step S606' and sends the corresponding request response message (100 trying) to the calling device 10a, and then continues to execute step S607' to send the 183 message to the calling device 10a.

[0266] S608: The calling device 10a calculates the signal loopback time.

[0267] For example, signal loopback time, also known as round-trip time (RTT), as the name implies, refers to the time interval from when a message is sent from the "source" to the "terminal", processed by the "terminal", and then returned to the "source". The calling device 10a can calculate the signal loopback time based on the timestamp corresponding to the INVITE message carrying the video capability flag sent in step S605, the timestamp corresponding to the 100 trying message sent by the network device 20 in step S606, and / or the timestamp corresponding to the 183 message sent by the network device 20 in step S607. For example, when the calling device 10a initiates a call, the signal loopback time can be calculated based on the time recorded by sending the INVITE message to the network device 20, the time recorded by receiving the 100 trying message sent by the network device 20, and the time recorded by receiving the 183 message sent by the network device 20.

[0268] As an example, the following Table 1 shows the timestamp recorded by the calling device 10 when sending the INVITE message to the network device 20, the timestamp recorded when receiving the 100 trying message sent by the network device 20, and the timestamp recorded when receiving the 183 message sent by the network device 20, when the signal loopback time is normal.

[0269] Based on the analysis in Table 1 below, the corresponding round-trip time (RTT) from when calling device 10a, acting as the "source," sends an INVITE message to network device 20 (acting as the "terminal") until it receives the temporary response message 100 trying, which is processed by network device 20 and returned by the device, is 8 milliseconds. Furthermore, the corresponding round-trip time (RTT) from when calling device 10a sends the INVITE message to when it receives the message 183 (Session Progress), which is processed by network device 20, is 31 milliseconds. Both of these short round-trip times indicate that the network is not congested.

[0270] Table 1

[0271] Table 2 below shows the timestamps recorded by the calling device 10 when sending the INVITE message to the network device 20, receiving the 100 trying message sent by the network device 20, and receiving the 183 message sent by the network device 20 in the case of abnormal signal loopback time.

[0272] Table 2

[0273] Based on the analysis of Table 2 above, we can see that the corresponding signal round-trip time (RTT) from the time calling device 10a, acting as the "source," sends an INVITE message to network device 20 (acting as the "terminal") until it receives the temporary response message 100 trying, which is processed and returned by network device 20, is 2 seconds (s) 684 milliseconds (ms). Furthermore, the corresponding signal round-trip time (RTT) from the time calling device 10a sends the INVITE message to the time it receives the 183 (Session Progress) message, which is processed and returned by network device 20, is 3 seconds 903 ms. Both of these are relatively long signal round-trip times, and 3 seconds 903 ms may be higher than the preset RTT threshold, indicating current network congestion.

[0274] It can be understood that the 100 trying message above is the response message returned by network device 20 to calling device 10a, while the 183 (Session Progress) message is the request message sent by network device 20 to calling device 10a in response to the called device's session establishment request. If calling device 10a successfully receives the 100 trying message, the difference between the timestamp corresponding to the 100 trying message and the timestamp corresponding to the INVITE message sent can be used to calculate the RTT. If calling device 10a does not receive the 100 trying message, the difference between the timestamp corresponding to the 183 (Session Progress) message and the timestamp corresponding to the INVITE message sent can be used to calculate the RTT.

[0275] Furthermore, the calling device 10a can determine the current network congestion based on the calculated signal round trip time (RTT) and, in combination with parameters such as the detected signal strength, execute the following step S609 to determine whether to remove the video capability (remove video), that is, delete the video capability flag indicating support for playing video ringback tone.

[0276] S609: The calling device 10a determines whether the signal loopback time is greater than a time threshold and / or whether the current signal strength is lower than a strength threshold.

[0277] If the determination result is yes, indicating that the current network may be congested and / or the current signal is weak, the calling device 10a may execute the following step S610 to delete the video capability flag indicating support for playing video ringback tone in the request message (PRACK) sent subsequently.

[0278] If the judgment result is no, indicating that the current network is not congested and the current signal is strong, and the video ringback tone can be played, the calling device 10a can execute the following step S617 to perform a normal communication establishment process using the ringback tone service.

[0279] For example, the calling device 10a may determine the current network congestion and signal weakness based on the RTT calculated in step S608 and the detected signal strength of the current signal, such as the Received Signal Strength Indication (RSSI). If the calling device 10a determines that the RTT is greater than a corresponding time threshold and / or the RSSI is less than a corresponding strength threshold, the calling device 10a may determine that the current network is likely congested and the current signal is weak, and the corresponding judgment result is yes. If the calling device 10a determines that the RTT is less than the corresponding time threshold and the RSSI is greater than the corresponding strength threshold, the calling device 10a may determine that the current network is not congested or the current signal is weak, and the corresponding judgment result is no.

[0280] In other embodiments, the calling device 10a may also measure the current network congestion and / or the strength or quality of the current signal based on the RTT calculated in the above step S608 and other signal quality parameters, such as one or more of RSRP, RSRQ, and SINR, which is not limited here.

[0281] It can be understood that the use of RTT in combination with RSSI or in combination with one or more of RSRP, RSRQ, and SINR is conducive to improving the accuracy of the judgment results on the current network congestion and the strength or quality of the current signal, thereby enabling the calling device 10a to accurately determine whether to continue to execute other subsequent steps of controlling not to play the video ringback tone, such as steps S610 to S612.

[0282] S610: The calling device 10a deletes the video capability flag indicating support for playing video ringback tone in the request message PRACK.

[0283] For example, if the calling device 10a determines that the result of step S609 is yes, it can delete the video capability tag carried in the PRACK message that will be subsequently sent to the network device. As previously described, the PRACK message is a confirmation message sent by the calling device 10a in response to the received 183 message. The PRACK message may include a Contact field and carry the capability tag "video feature tag" in the Contact field. Therefore, the calling device 10a can first delete the video capability tag "video feature tag" in the Contact field of the PRACK message, and then send the PRACK message without the video capability tag to the network device 20.

[0284] S611 ′: The calling device 10 a sends a temporary acknowledgement request (PRACK) without a video capability flag to the network device 20 .

[0285] For example, after executing step S610 above and deleting the video capability tag indicating support for playing video ringback tone in PRACK, the calling device 10a may send a PRACK message without the video capability tag "video feature tag" to the network device 20 to implement a second interception of the video ringback tone function.

[0286] It is understood that the calling device 10a may continue to execute the following step S612 after selecting to execute the first interception process or the second interception process based on the judgment result of the above step S603. Figure 6 As shown, the calling device 10a may continue to perform the following step S612 after performing the above step S611. Alternatively, the calling device 10a may continue to perform the following step S612 after performing the above step S611'.

[0287] S612: The network device 20 sends a provisional confirmation response (200 (OK)) to the calling device 10a.

[0288] For example, after receiving the provisional acknowledgment request (PRACK) from calling device 10a, network device 20 may reply to calling device 10a with a provisional acknowledgment response, such as 200 (OK), indicating receipt of the acknowledgment. It will be appreciated that this 200 (OK) is a response to the PRACK message sent by calling device 10a that does not carry the video capability flag.

[0289] At this point, a voice call channel (QCI1) can be established between the calling device 10a and the network device 20.

[0290] S613: The calling device 10a detects that the audio resource reservation is successful.

[0291] S614 : The calling device 10 a sends a media session update request (UPDATE Request) to the network device 20 .

[0292] S615: The network device 20 sends a media session update response (200 (OK) Request) to the calling device 10a.

[0293] In some embodiments, if the PRACK message sent by calling device 10a in step S611 fails to reach network device 20, or if the video capability flag in the PRACK message is not recognized by network device 20, network device 20 may continue to send an UPDATE message carrying the video port to calling device 10a after executing step S615. Upon receiving the UPDATE message, calling device 10a may also reset the video port to zero, for example, by setting "m=video0" to disable the video port. Based on this, calling device 10a may return an update response (200 (OK)) to network device 20 indicating that the use of the video port is not supported. This update response prevents network device 20 from triggering the signaling process for calling device 10a to continue reserving video resources to establish QCI2.

[0294] S616: The network device 20 sends a ringing response message (180 (Ringing)) to the calling device 10a.

[0295] S617: The calling device 10a and the network device 20 execute a normal communication establishment process for using the color ring back tone service.

[0296] As mentioned above, the communication establishment process for normal use of the ring back tone service may include the process of completing the establishment of QCI1 and the process of completing the establishment of QCI2 and playing the video ring back tone. Specifically, the communication establishment process for normal use of the ring back tone service may refer to the process in the above embodiment 1. Figure 3b As shown, the process includes the process of establishing QCI1 executed from step S316 to S320, and the process of completing the establishment of QCI2 and playing the video ringback tone executed from step S321 to S327. For details, please refer to the above Figure 3b The above and related descriptions are not repeated here.

[0297] Based on the above Figure 6 The communication method implemented by the interactive process shown is that when the called device activates the ringback tone service, if the calling device detects that the current network is congested or the signal strength is weak and does not meet the communication quality requirements for playing the video ringback tone, it can promptly cancel the function of playing the video ringback tone, thereby reducing the signaling overhead generated by the QCI2 process between the calling device and the called device. This can further improve the stability of the voice call between the calling device and the called device through the network device, which is beneficial to improving the user's call experience.

[0298] In conjunction with Example 3, a specific implementation process of the communication method provided by the present application applied to a called device is described below.

[0299] Example 3 of the present application uses called device 10b as an example to describe another specific implementation process of the communication method provided by the present application. In this embodiment of the present application, the interaction between called device 10b and network device 20 is mainly involved. As mentioned above, network device 20 may include communication devices such as the core network, base station, and color ring application server, and will not be described in detail here.

[0300] Figure 7a According to an embodiment of the present application, a schematic diagram of a communication scenario applicable to the color ring service is shown.

[0301] like Figure 7a As shown, when the calling device 10a detects a user dialing, it can send a call request to the called device 10b through the color ringing platform. If the called device 10b has activated the color ringing service, the called device 10b can interpret the video color ringing sent by the color ringing platform and play it, thereby displaying the incoming call interface of the video color ringing.

[0302] Figure 7b According to an embodiment of the present application, a schematic diagram of an implementation flow of a communication method is shown.

[0303] Specifically, if Figure 7b As shown, the implementation process may include the following steps:

[0304] S701: The network device 20 sends a call request (INVITE) to the called device 10b.

[0305] For example, after receiving the call request initiated by the calling device, the network device 20 may initiate an INVITE message corresponding to the call request of the calling device to the called device 10b.

[0306] S702 : The called device 10b sends a request response message (100 trying) to the network device 20 .

[0307] For example, after receiving the INVITE message sent by the network device 20, the called device 10b may return a temporary response message 100 trying to the network device, indicating that the request has been received but all processing has not been completed.

[0308] S703: The called device 10b detects whether the user turns off the video color vibration switch.

[0309] If the detection result is yes, that is, it is detected that the user has turned off the video color ringing switch, the called device 10b can execute the following step S705, delete the capability information claiming to support the color ringing capability in the request message sent to the network device 20, and then send a request message without the capability information to the network device 20.

[0310] If the detection result is no, that is, it is detected that the user has not turned off the video color vibration switch, the called device 10b can continue to perform the judgment process of the following step S704.

[0311] For example, the called device 10b can determine whether the user turns off the video ringback tone or video ringback tone function switch by detecting whether the user turns off the video ringback tone or video ringback tone function switch on the relevant setting interface. Figure 5a to Figure 5b The interface diagram and related descriptions are not described in detail here.

[0312] S704: The called device 10b determines whether the current signal meets the communication quality requirement for playing the video color vibration.

[0313] If the judgment result is yes, that is, it is determined that the current signal meets the communication quality requirement, the called device 10b can execute the following step S713 to perform a normal communication establishment process using the color ring service.

[0314] If the judgment result is no, that is, it is determined that the current signal does not meet the communication quality requirement, the called device 10b can execute the following step S705, delete the capability information claiming to support the video color ring capability in the request message sent to the network device 20, and then send a request message without the capability information to the network device 20.

[0315] For example, the called device 10b can measure the signal quality of the current signal based on signal quality parameters such as reference signal received power (RSRP), reference signal received quality (RSRQ), signal-to-interference-plus-noise ratio (SINR), and signal received strength indicator (RSSI). Based on the signal quality, the called device 10b can determine whether the current signal meets the communication quality requirements for playing a video ringback tone. For the specific determination process, refer to the description of determining whether the communication quality requirements for playing a video ringback tone are met in step S304 of the above-mentioned embodiment 1, and the description of determining whether the current signal strength is below a strength threshold in step S609 of the above-mentioned embodiment 1, and will not be repeated here.

[0316] It can be understood that the called device 10b determines whether the communication quality requirements for playing the video color vibration are met based on RSRP, RSRQ, SINR, RSSI, etc. The corresponding relevant thresholds may be different from the relevant thresholds used in step S304 in the above embodiment 1, or may be the same as the relevant thresholds used in step S304 in the above embodiment 1, and there is no limitation here.

[0317] S705: The called device 10b deletes the capability information of claiming to support the video color ring capability in the session establishment request 183 message.

[0318] For example, in response to a call request (INVITE) sent by network device 20, called device 10b may send a session establishment request, such as a 183 (Session Progress) message, to network device 20. When using the Color Ring Toll Service, the capability information field of this 183 message may contain "+g.3gpp.crs="rs"", indicating that called terminal 10b supports Color Ring Toll. If called device 10b removes this capability information field, such as "+g.3gpp.crs="rs", then subsequent 183 messages sent to network device 20 may not support Color Ring Toll.

[0319] S706 : The called device 10 b sends a session establishment request ( 183 (Session Progress) ) to the network device 20 , indicating that the session does not support the color ringing capability.

[0320] For example, after the called device 10b executes the above step S705 to delete the video capability information in the 183 message, the capability information field of the 183 message sent to the network device 20 does not support the video color ring capability.

[0321] It is understandable that when the called device 10b executes the normal communication establishment process corresponding to step S713 below using the color ring service, the 183 message sent to the network device 20 will normally declare that the called device 10b supports the color ring capability through "+g.3gpp.crs="rs"" in the capability information.

[0322] S707: The network device 20 sends a provisional acknowledgement request (PRACK) to the called device 10b.

[0323] For example, after receiving the 183 message sent by the called device 10b after executing step S706, the network device 20 may reply a provisional acknowledgement request (PRACK) to the called device 10b.

[0324] S708 : The called device 10 b sends a provisional confirmation response ( 200 (OK) ) to the network device 20 .

[0325] For example, after receiving the provisional confirmation request (PRACK) sent by the network device 20 , the called device 10b may reply to the network device 20 with a provisional confirmation response, such as 200 (OK), indicating that the confirmation has been received.

[0326] At this point, a voice call channel (QCI1) can be established between the called device 10b and the network device 20.

[0327] S709: The called device 10b detects that the audio resource reservation is successful.

[0328] For example, after QCI1 is established between the called device 10b and the network device 20, the called device 10b can reserve audio resources for the voice call, such as cache space for storing voice data input by the user, cache or memory space for storing voice data received from the called device user, and other resources.

[0329] S710 : The called device 10b sends a media session update request (UPDATE) to the network device 20 .

[0330] Exemplarily, the called device 10b may send the result of successful audio resource reservation to the network device 20 via a media session update request (UPDATE).

[0331] S711: The network device 20 sends a media session update response (200 (OK)) to the called device 10b.

[0332] For example, after receiving the UPDATE message sent by the called device 10b, the network device 20 may reply a response message, such as 200 (OK), to the called device 10b, indicating that the update has been received.

[0333] It can be understood that after the called device 10b and the network device 20 successfully transmit the INVITE message, 183 (Session Progress), and the UPDATE message indicating successful audio resource reservation, the audio data channel (QCI1) used for the corresponding voice call is established and ready.

[0334] S712: The network device 20 sends a ringing response message (180 (Ringing)) to the called device 10b.

[0335] For example, after interacting with the calling device and completing the QCI establishment process in response to the user call of the calling device, the network device 20 may send a ringing response message, such as (180 (Ringing), to the called device 10b for which audio resources have been reserved. The ringing response message (180 (Ringing)) may instruct the called device 10b to play a ringing sound.

[0336] It can be understood that based on the 183 message without the video capability flag, the ringing response message (180 (Ringing) sent by the network device 20 to the called device 10b may also not carry the video color ringing. Correspondingly, the incoming call interface of the called device 10b playing the ringing can refer to Figure 8a Incoming call interface 810 is shown. Figure 8a As shown, the interface related to playing the video color vibration may not be displayed on the incoming call interface 810.

[0337] S713: The called device 10b executes a normal communication establishment process using the color ring service.

[0338] For example, the normal communication establishment process using the color ring service may include completing the process of establishing QCI1 and completing the process of establishing QCI2 and playing the video color ring service.

[0339] Specifically, Figure 7c The figure shows a normal communication establishment process diagram using the color ring service.

[0340] like Figure 7c As shown, the process may include the following steps S714 to S725:

[0341] S714: The network device 20 sends a call request (INVITE) to the called device 10b, instructing the called device 10b to play the video ring tone.

[0342] For example, the call request (INVITE) from network device 20 to called device 10b may include information indicating that network device 20 wishes to have called device 10b play a video ringing sound. This information may indicate that called device 10b supports the ringing sound capability. The specific execution process of step S714 can be found in the description of step S701 above and is not detailed here.

[0343] S715 : The called device 10b sends a request response message (100 trying) to the network device 20 .

[0344] Exemplarily, the execution content of this step S715 is the same as the execution content of the above step S701. The specific execution process can refer to the relevant description of the above step S702 and will not be repeated here.

[0345] S716: The called device 10b sends a session establishment request (183 (Session Progress)) to the network device 20, carrying a video capability flag and declaring support for the color ring capability.

[0346] For example, after the called device 10b completes the judgment process from steps S703 to S704, if it determines that QCI2 still needs to be established to use the Color Ringing service, the 183 message sent to the network device 20 will carry the video capability flag "+g.3gpp.crs="rs"" in the capability information field. Furthermore, the video capability flag carried in the 183 message can declare to the network device 20 that it supports the Color Ringing capability. Specifically, the called device 10b sends a 183 message to the network device 20 that carries the video capability flag and declares support for the Color Ringing capability.

[0347] S717: The network device 20 sends a provisional acknowledgement request (PRACK) to the called device 10b.

[0348] For example, after receiving the message 183 (Session Progress) sent by the called device 10 b , the network device 20 may reply a provisional acknowledgement request (PRACK) to the called device 10 b .

[0349] S718 : The called device 10 b sends a provisional confirmation response ( 200 (OK) ) to the network device 20 .

[0350] For example, after receiving the provisional confirmation request (PRACK) sent by the network device 20 , the called device 10b may reply to the network device 20 with a provisional confirmation response, such as 200 (OK), indicating that the confirmation has been received.

[0351] At this point, a voice call channel (QCI1) can be established between the called device 10b and the network device 20.

[0352] S719: The network device 20 sends an update message (UPDATE) carrying the video port to the called device 10b.

[0353] For example, the network device 20 confirms initiating a process of establishing the called device 10B, and may continue to send an update (UPDATE) of the video port to the called device 10b, so as to provide the called device 10b with a video port for transmitting a video ringback tone.

[0354] S720: The called device 10b sends a response (200 (OK)) to the network device 20 indicating successful reception of the video port update.

[0355] For example, upon detecting that the video resource reservation is successful, the called device 10b may send a 200 (OK) response to the network device 20 indicating that the video port has been successfully received. This 200 (OK) response indicates that the called device 10b has successfully received the UPDATE message sent by the network device 20 and obtained the video port.

[0356] At this point, a video call channel QCI2 can be established between the called device 10b and the network device 20.

[0357] S721: The called device 10b detects that the video resource reservation is successful.

[0358] For example, after receiving the video port sent by the network device 20 via the UPDATE message, the called device 10b can reserve corresponding video resources for the video call or playing the video ringback tone, including storage resources and video data processing resources, etc., which are not limited here.

[0359] S722 : The called device 10b sends a media session update request (UPDATE) to the network device 20 .

[0360] Exemplarily, after successfully completing the video resource reservation, the called device 10b may notify the network device 20 through an UPDATE message, that is, send a media session update request (UPDATE) to the network device 20 .

[0361] S723: The network device 20 sends a media session update response (200 (OK)) to the called device 10b.

[0362] For example, in response to the received UPDATE message, the network device 20 may reply an update response (200 (OK)) to the called device 10 b .

[0363] S724: The network device 20 sends a ringing response message (180 (Ringing)) to the called device 10b.

[0364] S725: The called device 10b plays the video ring tone.

[0365] It can be understood that based on the 183 message carrying the video capability flag, after the network device 20 executes the ringing response message (180 (Ringing)) sent to the called device 10b in step S724, it can continue to send the video color ringing to the called device 10b via the RTP / RTCP packet for the called device 10b to parse and play. Correspondingly, the incoming call interface of the called device 10b playing the video color ringing can be referred to. Figure 8b Incoming call interface 820 is shown. Figure 8b As shown, the incoming call interface 820 may display a related interface for playing a video color vibration.

[0366] Figure 9 According to an embodiment of the present application, a schematic diagram of the structure of a user equipment is shown, wherein the user equipment 10 may be any exemplary communication device in a dual-SIM terminal supporting dual-receive mode dual SIM dual standby (DR-DSDS).

[0367] like Figure 9 As shown, the user device 10 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0368] It should be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the user equipment 10. In other embodiments of the present application, the user equipment 10 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0369] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0370] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0371] In an embodiment of the present application, the processor 110 can run the communication system deployed in the user device 10 and implement the above-mentioned communication method provided in the present application, including implementing the communication method provided in the above-mentioned embodiment 1 or embodiment 2 for interaction between the calling device and the network device, and also including implementing the communication method provided in the above-mentioned embodiment 3 for interaction between the called device and the network device. The specific implementation process can be found in the relevant descriptions in the above-mentioned embodiments 1 to 3, and will not be repeated here.

[0372] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0373] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an Inter-Integrated Circuit (I2C) interface, an Inter-Integrated Circuit Sound (I2S) interface, a Pulse Code Modulation (PCM) interface, a Universal Asynchronous Receiver / Transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a General-Purpose Input / Output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and / or a Universal Serial Bus (USB) interface.

[0374] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the user device 10 and to transfer data between the user device 10 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as AR devices.

[0375] It should be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the user equipment 10. In other embodiments of the present application, the user equipment 10 may also adopt a different interface connection method from the above embodiment, or a combination of multiple interface connection methods.

[0376] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the user device 10. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.

[0377] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be located in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be located in the same device.

[0378] The wireless communication function of the user equipment 10 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0379] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in user equipment 10 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0380] The mobile communication module 150 can provide wireless communication solutions including 2G / 3G / 4G / 5G, etc. applied to the user equipment 10. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.

[0381] The wireless communication module 160 can provide wireless communication solutions applied to the user device 10, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.

[0382] In some embodiments, antenna 1 of user equipment 10 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that user equipment 10 can communicate with a network and other devices via wireless communication technologies. Such wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies. The above-mentioned GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the Beidou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS) and / or the Satellite Based Augmentation System (SBAS).

[0383] User device 10 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0384] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (FLED), mini-LED, micro-LED, micro-OLED, quantum dot light-emitting diode (QLED), and the like. In some embodiments, user device 10 may include one or N display screens 194, where N is a positive integer greater than one.

[0385] The user device 10 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display 194, and an application processor. The ISP is used to process data fed back by the camera 193. In some embodiments, the user device 10 may include one or N cameras 193, where N is a positive integer greater than 1.

[0386] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the user device 10. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0387] The internal memory 121 can be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as sound playback or image playback). The data storage area may store data generated during the use of the user device 10 (such as audio data, a phone book, etc.). Furthermore, the internal memory 121 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, a flash memory device, or Universal Flash Storage (UFS).

[0388] In the embodiment of the present application, the processor 110 controls the radio frequency circuit 400 deployed in the user equipment 10 to execute the above instructions by running the instructions stored in the internal memory 121. Figure 3a 、 Figure 3b 、 Figure 6 、 Figure 7b or Figure 7c The corresponding steps in the interactive process shown implement the above-mentioned communication method provided by this application to reduce the occurrence of network freezes or large delays that may occur during the dual-card service switching process.

[0389] The user device 10 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0390] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.

[0391] The speaker 170A, also called a "speaker," is used to convert audio electrical signals into sound signals. The user device 10 can listen to music or make hands-free calls through the speaker 170A.

[0392] The receiver 170B, also called a "handset," is used to convert audio electrical signals into sound signals. When the user device 10 receives an incoming call or voice message, the user can place the receiver 170B close to their ear to answer the call or listen to the voice.

[0393] Microphone 170C, also known as a "microphone" or "speaker," converts sound signals into electrical signals. When making a call or sending a voice message, a user can place their mouth close to microphone 170C and speak, inputting the sound signal into microphone 170C. User device 10 may be equipped with at least one microphone 170C.

[0394] The headphone jack 170D is used to connect a wired headphone.

[0395] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The user device 10 may receive key inputs and generate key signal inputs related to user settings and function control of the user device 10.

[0396] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.

[0397] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

[0398] SIM card interface 195 is used to connect a SIM card. A SIM card can be connected to and disconnected from user device 10 by inserting or removing it from SIM card interface 195. In some embodiments, user device 10 uses an eSIM, or embedded SIM card. The eSIM card can be embedded in user device 10 and cannot be separated from user device 10.

[0399] As an example, Figure 10 According to an embodiment of the present application, a schematic diagram of a communication system architecture applied to a user equipment is shown.

[0400] It should be understood that the layered architecture currently employed by the communication system 800 for user equipment can divide software into several layers, wherein the layers communicate with each other via software interfaces. These layers may include, for example, an application layer, an application framework layer, an Android™ runtime and system libraries, a hardware abstraction layer, a kernel layer, and the like. The following description will only use the layers where the functional modules involved in the communication method provided in the embodiments of the present application are located as an example.

[0401] exist Figure 10 8, from top to bottom are respectively an application layer 801, an application framework layer 802, a kernel layer 803, and hardware 804. The application layer 801 may include a series of application packages.

[0402] Continue to see Figure 10 Specifically, in the technical solution provided in the embodiment of the present application, the application layer 801 may include a phone application 801A, a settings application 801B, a compatible function activation application 801C, etc. Among them, the phone application 801A allows users to initiate call service operations, and the compatible function activation application 801C provides an entry to activate the compatible function.

[0403] Continue to see Figure 10 The application framework layer 802 provides an application programming interface (API) and a programming framework for the applications in the application layer. In some implementations, these programming interfaces and programming frameworks can be described as functions.

[0404] For example, the application framework layer 802 may include telephone / IMS services 802A, CS Phone 802B, PSPhone 802C, etc. Telephone / IMS services 802A is the IP multimedia subsystem in the communication system of user device 100, used to establish media sessions and implement voice services in packet-switched networks, such as switching between 4G and 5G networks. The 4G voice service supported by IMS is called VoLTE, and the 5G voice service supported by IMS is called VoNR. After the media session is established, that is, during a call, IMS services 802A invokes the SIP module in the modem based on the network standard of user device 100 to generate various SIP request messages, such as INVITE messages, ACK messages, and HTTP 800 OK messages.

[0405] CS Phone 802B is used for calls over the Circuit Switched (CS) network. When IMS service 802A is unavailable (because the phone is stuck on 2G / 3G or has failed to register with IMS), calls can be made via CS. CS Phone 802B can also be used to perform domain redialing (commonly known as CS redial) when an IMS call fails.

[0406] PS Phone 802C is used for calls over the Packet Switched (PS) network. When IMS service 802A is available, IMS calls (VoLTE, VoNR) can be made over the PS domain.

[0407] It should be understood that the above description is merely an example listed to better understand the specific implementation of the communication method provided in this application, and does not constitute a restrictive description of the embodiments of this application.

[0408] In addition, it can be understood that the kernel layer 803 in the Android™ system is a layer between the hardware 804 and the software.

[0409] Continue to see Figure 10 Specifically, in the technical solutions provided in the embodiments of this application, the kernel layer 803 may include a Transmission Control Protocol / Internet Protocol stack (TCP / IP stack). The TCP / IP stack refers to a protocol suite that enables information transmission across multiple networks. In practical applications, the TCP / IP stack in the kernel layer 803 primarily serves Internet access and also provides services for video-related data processing during phone calls.

[0410] Continue to see Figure 10 The hardware 804 of the communication system 800 may include a modem 804A, an antenna 804B, and the like. Antenna 804B is used to receive content sent by the network, such as the Radio Resource Control (RRC) connection configuration message, SIP request message, and SRSs that require round-robin transmission, as described in the above-mentioned embodiments. For example, data packets encrypted by the Packet Data Convergence Protocol (PDCP) are sequentially transmitted through the Radio Link Control (RLC) layer, the Media Access Control (MAC) layer, and the Physical (PHY) layer to antenna 804B, and ultimately sent to the network via antenna 804B. Accordingly, data packets received by antenna 804B from the network are sequentially transmitted through the PHY, MAC, and RLC layers to the PDCP layer for processing.

[0411] It is understood that when a user activates a call service based on the phone application 801A of the user device 100, the above-mentioned phone / IMS service 802A can establish a call, conduct a VoLTE or VoNR call through the PS domain based on the PS phone 802C, and call the IMS module in the modem 804A to generate signaling for the call service. In this embodiment of the present application, after the communication system 800 detects that there is no service at the PDCP layer, it can start the corresponding inactivity detection timer T2 set on the user device 100.

[0412] In addition, it should be noted that the processing of various SIP messages involved in the embodiments of the present application can be implemented by the SIP module in Modem 804A. The processing of various RRC messages involved in the embodiments of the present application, such as RRCINVITE messages, can be implemented by the RRC module in Modem 804A.

[0413] Understandably, the above Figure 10 The layers in the communication system software structure shown and the components included in each layer do not constitute a specific limitation on the user equipment 100. In other embodiments of the present application, the communication system of the user equipment 100 may include Figure 10 More or fewer layers may be shown, and each layer may also include more than Figure 10 This application is not limited to the number of components shown.

[0414] In an embodiment of the present application, a user equipment (UE) monitors the Physical Downlink Control Channel (PDCCH) during discontinuous reception (DRX) and, upon receiving a paging message sent to it, can establish an RRC connection with base station 200 in response to the paging message. For example, the UE 100 can trigger a random access channel (RACH) procedure in response to the received paging message. The RACH procedure is used to achieve uplink time synchronization and is typically triggered by a PDCCH order, the MAC layer, or the RRC layer. Furthermore, the UE 100 can enter a connected state to receive signaling (such as the aforementioned SIP message) or data sent by the network-side core network 300 through base station 200.

[0415] The embodiments of the present application also provide a computer program product for implementing the communication methods provided in the above embodiments.

[0416] The various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of the present application can be implemented as computer program modules or module codes executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0417] A computer program module or module code can be applied to input instructions to perform the functions described herein and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0418] Module code can be implemented with high-level modular language or object-oriented programming language to communicate with the processing system. When necessary, module code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

[0419] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which can be read and executed by one or more processors. For example, the instructions may be distributed over a network or via other computer-readable media. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including but not limited to floppy disks, optical disks, optical discs, magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic or optical cards, flash memory, or tangible machine-readable storage for transmitting information via the Internet using electrical, optical, acoustic, or other propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.). Accordingly, machine-readable media includes any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).

[0420] References in the specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one exemplary implementation or technique disclosed according to the embodiment of the present application. The appearances of the phrase "in one embodiment" in various places in the specification do not necessarily all refer to the same embodiment.

[0421] The disclosure of the embodiments of the present application also relates to a device for performing the operations described in the text. The device may be constructed specifically for the required purpose or it may include a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer-readable medium, such as, but not limited to, any type of disk, including a floppy disk, an optical disk, a CD-ROM, a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic or optical card, an application-specific integrated circuit (ASIC), or any type of medium suitable for storing electronic instructions, and each may be coupled to a computer system bus. In addition, the computer mentioned in the specification may include a single processor or may be an architecture involving multiple processors for increased computing power.

[0422] In addition, the language used in this specification has been primarily selected for readability and instructional purposes and may not be selected to describe or limit the disclosed subject matter. Therefore, the present disclosure of embodiments is intended to illustrate, not to limit, the scope of the concepts discussed herein.< / urn:alert:service:crs>

Claims

1. A communication method, applied to a terminal device, characterized in that: The method comprises: receiving a first user operation; In response to the first user operation, initiating a call request; Before establishing a voice call channel with a network device, determine whether the current signal meets the communication quality threshold; When the current signal meets the communication quality threshold, sending a first request message carrying a first capability flag to the network device, wherein the first capability flag is used to indicate that the terminal device has the capability of supporting the playback of video ringback tone; In response to sending a first request message carrying a first capability flag to the network device, the terminal device plays a video ringback tone; When the current signal does not meet the communication quality threshold, sending a second request message that does not carry the first capability flag to the network device; In response to sending a second request message that does not carry the first capability tag to the network device, the terminal device does not play the video ringback tone, wherein, The communication quality threshold includes at least one of a power threshold corresponding to the reference signal received power, a quality threshold corresponding to the reference signal received quality, a ratio threshold corresponding to the signal to interference noise ratio, and a time threshold corresponding to the signal loopback time, wherein: The signal loop time is used to indicate the time interval between the moment when the terminal device sends the first type of message and the moment when it receives the second type of message. The first type of message includes a third request message, and the second type of message includes a response message returned corresponding to the third request message, or a fourth request message returned corresponding to the third request message.

2. The method according to claim 1, characterized in that The communication quality threshold includes a first quality parameter threshold for supporting the playing of video ringback tone.

3. The method according to claim 1, characterized in that The communication quality threshold also includes: Corresponds to a strength threshold of a signal reception strength indication.

4. The method according to claim 3, characterized in that Determining whether the current signal meets the communication quality threshold includes one or more of the following: Determining that the current signal does not meet a communication quality threshold based on that a first reference signal received power of the current signal is lower than a first power threshold; determining, based on a first reference signal reception quality of the current signal being lower than a first quality threshold, that the current signal does not meet a communication quality threshold; Determining, based on a first signal-to-interference-and-noise ratio of the current signal being lower than a first ratio threshold, that the current signal does not meet a communication quality threshold; determining, based on a first signal reception strength indicator of the current signal being lower than a first strength threshold, that the current signal does not meet a communication quality threshold; Based on the first signal loopback time of the current signal being greater than the first time threshold, it is determined that the current signal does not meet the communication quality threshold.

5. The method according to claim 1, wherein The sending, when the current signal does not meet the communication quality threshold, a second request message that does not carry the first capability flag to the network device includes: If the current signal does not meet the communication quality threshold, deleting the first capability flag in the first request message to obtain the second request message; and Send the second request message to the network device.

6. The method according to any one of claims 1 to 4 and 5, characterized in that The first request message and the second request message include a Contact field, the first capability tag includes a video feature tag, and, The sending, when the current signal does not meet the communication quality threshold, a second request message that does not carry the first capability flag to the network device includes: In the case that the current signal does not meet the communication quality threshold, the video feature tag in the Contact field of the first request message is deleted to obtain the second request message, and, The second request message is sent to the network device, wherein the Contact field of the second request message does not carry the video feature tag.

7. The method according to claim 6, characterized in that The first request message and the second request message include a call request, and The sending, when the current signal does not meet the communication quality threshold, a second request message that does not carry the first capability flag to the network device includes: When the current signal does not meet the communication quality threshold, the video feature tag carried in the Contact field of the first call request is deleted to obtain a second call request, and, Send the second call request to the network device.

8. The method according to any one of claims 1 to 5, characterized in that Before determining whether the current signal meets the communication quality threshold, the method further includes: receiving a second user operation; In response to the second user operation, the video ringback tone function is turned off and a third request message that does not carry the first capability tag is sent to the network device.

9. The method according to any one of claims 1 to 5, characterized in that Before determining whether the current signal meets the communication quality threshold, the method further includes: receiving a third user operation; In response to the third user operation, the video ringback tone function is turned on and a fourth request message carrying the first capability flag is sent to the network device.

10. The method according to claim 9, characterized in that The first request message and the second request message are temporary confirmation requests, and The fourth request message is a call request; The first capability tag includes a video characteristic tag.

11. The method according to claim 10, characterized in that Methods for calculating the first signal loopback time of the current signal include: Obtain a first timestamp corresponding to the moment when the fourth request message is sent; Obtaining a second timestamp corresponding to a moment when a first response message returned by the network device is received, wherein the first response message includes a request response message; The first signal loop time is calculated based on a difference between the second timestamp and the first timestamp.

12. The method according to claim 10, characterized in that Methods for calculating the first signal loopback time of the current signal include: Obtain a first timestamp corresponding to the moment when the fourth request message is sent; Obtaining a third timestamp corresponding to a moment when a fifth request message sent by the network device is received, wherein the fifth request message includes a session establishment request; The first signal loop time is calculated based on a difference between the third timestamp and the first timestamp.

13. The method according to claim 7 or 10, characterized in that The method further comprises: A second response message corresponding to the temporary confirmation request sent by the network device is received, wherein the second response message includes a temporary confirmation response, and a voice call channel is established between the network device and the network device.

14. The method according to claim 13, characterized in that In a case where the current signal does not meet the communication quality threshold, the method further includes: receiving a first update message carrying a video port sent by a network device; Setting the video port in the first update message to be closed to obtain a second update message; and Based on the second update message, a third response message is returned to the network device, wherein the third response message includes a provisional confirmation response and indicates that the video port is not to be used.

15. The method according to claim 13, characterized in that After establishing a voice call channel with the network device, the method further includes: receiving a first ringing message sent by a network device; In response to the first ringing message, a call interface without playing the video ringback tone is displayed.

16. The method according to any one of claims 1 to 5, characterized in that Before determining whether the current signal meets the communication quality threshold, the method further includes: detecting that the call request initiated corresponding to the first user operation is a video call request; Send a sixth request message carrying the first capability flag to the network device.

17. The method according to any one of claims 1 to 5, characterized in that Before determining whether the current signal meets the communication quality threshold, the method further includes: It is detected that the call request initiated corresponding to the first user operation is a voice call request; and receiving a second user operation; In response to the second user operation, the video ringback tone function is turned off and a seventh request message that does not carry the first capability tag is sent to the network device.

18. A communication method, applied to a terminal device, characterized in that: The method comprises: receiving a third call request sent by the network device; Before establishing a voice call channel with the network device, determining whether a current signal meets a communication quality threshold, wherein the communication quality threshold includes at least one of the following: a power threshold corresponding to a reference signal received power, a quality threshold corresponding to a reference signal received quality, and a ratio threshold corresponding to a signal-to-interference-plus-noise ratio; When the current signal meets the communication quality threshold, sending a ninth request message carrying a second capability flag to the network device, wherein the second capability flag is used to declare that the terminal device has a capability of supporting color vibration for playing videos; In response to sending a ninth request message carrying a second capability flag to the network device, the terminal device plays a video color vibration; When the current signal does not meet the communication quality threshold, sending a tenth request message without the second capability flag to the network device; In response to sending the tenth request message without the second capability flag to the network device, the terminal device does not play the video color vibration.

19. The method according to claim 18, characterized in that The communication quality threshold includes a second quality parameter threshold for supporting color vibration for playing video.

20. The method according to claim 18, wherein The communication quality threshold also includes: Corresponds to a strength threshold of a signal reception strength indication.

21. The method according to claim 20, characterized in that The determining whether the current signal meets the communication quality threshold includes: determining, based on a second reference signal received power of the current signal being lower than a second power threshold, that the current signal does not meet a communication quality threshold; determining that the current signal does not meet the communication quality threshold based on that the second reference signal reception quality of the current signal is lower than the second quality threshold; Determining, based on a second signal-to-interference-and-noise ratio of the current signal being lower than a second ratio threshold, that the current signal does not meet a communication quality threshold; Based on the second signal reception strength indicator of the current signal being lower than the second strength threshold, it is determined that the current signal does not meet the communication quality threshold.

22. The method according to claim 18, wherein The sending, when the current signal does not meet the communication quality threshold, a tenth request message that does not carry the second capability flag to the network device includes: If the current signal does not meet the communication quality threshold, deleting the second capability flag in the ninth request message to obtain the tenth request message; and The tenth request message is sent to the network device.

23. The method according to any one of claims 18 to 22, characterized in that The ninth request message and the tenth request message include a session establishment request, and The second capability flag includes a capability information field in the session establishment request for declaring support for the color ringing capability.

24. The method according to any one of claims 18 to 22, characterized in that Before determining whether the current signal meets the communication quality threshold, the method further includes: receiving a fourth user operation; In response to the fourth user operation, the video color vibration function is turned off and an eleventh request message that does not carry the second capability flag is sent to the network device.

25. The method according to any one of claims 18 to 22, characterized in that Before determining whether the current signal meets the communication quality threshold, the method further includes: receiving a fifth user operation; In response to the fifth user operation, the video color vibration function is turned on and an eleventh request message that does not carry the second capability flag is sent to the network device.

26. A communication device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by the one or more processors, the communication device executes the communication method according to any one of claims 1 to 25.

27. A communication system, characterized in that: including terminal equipment, wherein The terminal device is used to execute the communication method according to any one of claims 1 to 17.

28. A communication system, characterized in that: including terminal equipment, wherein The terminal device is used to execute the communication method according to any one of claims 18 to 25.

29. A computer-readable medium, characterized in that The readable medium stores instructions, which, when executed on a computer, cause the computer to execute the communication method according to any one of claims 1 to 25.

Citation Information

Patent Citations

  • Video polyphonic ringtone processing method and device, and computer readable storage medium

    CN112134999A

  • Terminal video polyphonic ringtone closing method and device, electronic equipment and storage medium

    CN112468662A