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

By detecting communication quality on the terminal device and canceling video ringback/vibration requests when thresholds are not met, the increased signaling and media resource overhead of ringback/vibration services is resolved, thereby improving call success rate and user experience.

WO2026016586A1PCT designated stage Publication Date: 2026-01-22HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/092424
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-16
Filing Date
2025-04-30
Publication Date
2026-01-22

AI Technical Summary

Technical Problem

The use of ringback tones or ringback rings increases the overhead of message signaling and media resources during call setup, which can easily lead to call failures and screen tearing issues when the communication signal is weak, especially when the video ringback tones/ringback rings are playing, thus 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 carrying the capability tag to cancel the video ringback tone/vibration, so as to avoid transmitting more signaling and media resources. The decision to play the video ringback tone/vibration is made by judging whether the current signal meets the communication quality threshold.

Benefits of technology

It reduces the transmission of message signaling and media resources, improves call setup success rate and call stability of user equipment, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025092424_22012026_PF_FP_ABST
    Figure CN2025092424_22012026_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of communications, and in particular to a communication method, a communication device, a communication system, and a computer-readable medium. The method comprises: before a voice call establishment process or at an initial stage of the voice call establishment process, detecting whether a current signal meets communication quality requirements required for playing back a video customized alerting tone; and if the communication quality requirements are not met, sending, to a network device in a timely manner, a request message indicating that playing back the video customized alerting tone or a video customized ringing signal is not supported, so as to cancel the use of a customized alerting tone service or a customized ringing signal service during the call establishment. In this way, transmitting more messages or signaling between a user equipment and the network device for establishing QCI2 can be avoided, and reducing the transmission of related message signaling or media resources can reduce message or signaling overhead, thereby facilitating improving the call establishment success rate, improving the stability of voice calls on user equipment, and facilitating improving call experience of users.
Need to check novelty before this filing date? Find Prior Art

Description

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

[0001] The present application claims priority to the Chinese patent application No. 202410948958.7, filed on July 16, 2024, and entitled “Communication method, communication device, communication system and computer readable medium”, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the technical field of communication, in particular to a communication method, a communication device, a communication system and a computer readable medium. BACKGROUND

[0003] With the development of Voice Over Long Term Evolution (VoLTE) and Voice over New Radio (VoNR) and the upgrade of User Equipment (UE) and core network capabilities, high-definition video ringtone services can be provided for call conversations between user equipment. When a calling user equipment (hereinafter referred to as a calling device) calls a user equipment that has opened a ringtone service (i.e., a called user equipment, hereinafter referred to as a called device), the calling device can play a personalized and customized video ringtone during the ringing stage. Moreover, the called device can also play a personalized and customized ringing signal (CRS) during the ringing stage, and the corresponding service opened by the called device can be referred to as a ringtone service.

[0004] However, the use of the ringtone or ringtone service increases the message signaling and media resource overhead in the call establishment process. In particular, when the communication signal of the calling device or the called device is weak, it is difficult for the user equipment to send message signaling and media resources upward or to receive message signaling and media resources sent downward by the network equipment, which can easily lead to call establishment failure. Moreover, during the process of playing a video ringtone by the calling device or a video ringtone by the called device, there can be problems such as screen flickering. SUMMARY

[0005] The present application provides a communication method, a communication device, a communication system and a computer readable medium, which can avoid transmitting more messages or signaling for establishing QCI2 between the user equipment and the network equipment when the communication quality of the terminal device is poor, and reducing the transmission of related message signaling or media resources can reduce the message or signaling overhead, thereby facilitating the improvement of the call establishment success rate, the stability of voice communication of the user equipment, and the user's communication experience.

[0006] In a 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; in a case where the current signal meets the communication quality threshold, sending a first request message carrying a first capability flag to a network device; in a case where the current signal does not meet the communication quality threshold, sending a second request message not carrying the first capability flag to the network device.

[0007] For example, the terminal device can be a calling device, and the first user operation can be an operation of clicking a related control of the calling device after a user inputs a counterpart number, i.e., a dialing operation. When detecting the dialing operation of the user, the calling device can first determine whether the current signal meets the communication quality threshold, i.e., whether the current signal meets the communication quality requirement. If yes, the calling device can send the first request message carrying the first capability flag to the network device; if not, the calling device can send the second request message not carrying the first capability flag to the network device.

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

[0009] For example, the first quality parameter threshold can be a threshold corresponding to a related parameter capable of measuring whether the current signal is strong or the current network is congested.

[0010] In a possible implementation of the first aspect, the communication quality threshold comprises 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 noise ratio; an intensity threshold corresponding to a signal received strength indication; a time threshold corresponding to a signal round trip time, wherein the signal round trip time is used to indicate a time interval between a time of sending a first type of message to a time of receiving a second type of message, the first type of message comprising a third request message, and the second type of message comprising a response message returned in response to the third request message or a fourth request message returned in response to the third request message.

[0011] In a possible implementation of the first aspect, the determination of whether the current signal meets the communication quality threshold comprises one or more of the following:

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

[0013] determining that the current signal does not satisfy the communication quality threshold based on a first reference signal received quality of the current signal being lower than a first quality threshold;

[0014] determining that the current signal does not satisfy the communication quality threshold based on a first signal-to-interference-and-noise ratio of the current signal being lower than a first ratio threshold;

[0015] determining that the current signal does not satisfy the communication quality threshold based on a first signal received strength indication of the current signal being lower than a first strength threshold;

[0016] determining that the current signal does not satisfy the communication quality threshold based on a first signal round trip time of the current signal being greater than a first time threshold.

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

[0018] In a possible implementation of the first aspect, the method includes: in response to sending the second request message without 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 the second request message without the first capability flag to the network device, the terminal device does not play the video ringback tone.

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

[0021] It can be understood that after the terminal device sends the second request message without the first capability flag to the network device, the terminal device can not play the video ringback tone in the subsequent call interface. After the terminal device sends the first request message with the first capability flag to the network device, the terminal device can continue to play the video ringback tone in the subsequent call interface.

[0022] In a possible implementation of the first aspect, in the case where the current signal does not satisfy the communication quality threshold, sending the second request message without the first capability flag to the network device includes: in the case where the current signal does not satisfy the communication quality threshold, deleting the first capability flag in the first request message to obtain the second request message; and sending the second request message to the network device.

[0023] For example, the calling device can generate a first request message carrying the first capability mark in response to the first user operation initiating the call request. Then, the terminal device can delete the first capability mark in the first request message to obtain a second request message in the case that the current signal does not satisfy the communication quality threshold, and send the second request message not carrying the first capability mark to the network device.

[0024] In some other embodiments, the calling device can also generate the second request message not carrying the first capability mark in the case that the current signal does not satisfy the communication quality threshold, and send the second request message to the network device.

[0025] In a possible implementation of the first aspect, the first request message and the second request message include a Contact field, the first capability mark includes a video feature tag, and in the case that the current signal does not satisfy the communication quality threshold, sending the second request message not carrying the first capability mark to the network device includes: deleting the video feature tag in the Contact field of the first request message to obtain the second request message in the case that the current signal does not satisfy the communication quality threshold, and sending the second request message to the network device, where the second request message does not carry the video feature tag in the Contact field.

[0026] In a possible implementation of the first aspect, the first request message and the second request message include a call request, and in the case that the current signal does not satisfy the communication quality threshold, sending the second request message not carrying the first capability mark to the network device includes: deleting the video feature tag carried in the Contact field of the first call request to obtain the second call request in the case that the current signal does not satisfy the communication quality threshold, and sending the second call request to the network device.

[0027] For example, the calling device can generate a call request (INVITE) message carrying a video feature tag in the Contact field in response to the first user operation initiating the call request. Further, the calling device can delete the video feature tag in the Contact field of the INVITE message and send the INVITE message not carrying the video feature tag in the case that the current signal does not satisfy the communication quality threshold.

[0028] In a possible implementation of the first aspect, before judging whether the current signal satisfies the communication quality threshold, the method further includes: receiving a second user operation; and in response to the second user operation, closing the video ringback tone function and sending a third request message not carrying the first capability mark to the network device.

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

[0030] For example, the calling device can provide a switch for turning off the video ringback, which can be provided on a dialing interface displayed by the calling device or a setting interface such as a developer option in a setting application, without limitation. At this time, the calling device initiates a call request in response to the first user operation, and before determining whether the current signal meets the communication quality threshold, the calling device can first detect whether the user turns off the video ringback switch. If the second user operation is detected, the video ringback function is turned off and a third request message not carrying the first capability flag is sent to the network device; if the user does not turn off the video ringback switch or turns on the video ringback switch, the video ringback function is turned on and a fourth request message carrying the first capability flag is sent to the network device.

[0031] It can be understood that in different communication scenarios, the third request message can be different from the second request message not carrying the first capability flag, and the fourth request message can be different from the first request message carrying the first capability flag.

[0032] In a possible implementation of the first aspect, the first request message and the second request message are provisional acknowledgement requests, and the fourth request message is a call request; and the first capability flag includes a video characteristic label.

[0033] In a possible implementation of the first aspect, the manner of calculating the first signal loop time of the current signal includes: obtaining a first timestamp corresponding to a time when the fourth request message is sent; obtaining a second timestamp corresponding to a time when a first response message returned by the network device is received, where the first response message includes a request response message; and calculating the first signal loop time based on a difference between the second timestamp and the first timestamp.

[0034] For example, the calling device can calculate the signal loop time of the current signal, i.e., the first signal loop time, according to a timestamp (i.e., the first timestamp) recorded at a time when a call request (INVITE) message carrying the video capability flag is sent and a timestamp (i.e., the second timestamp) recorded at a time when a request response message (100 trying) is received.

[0035] In a possible implementation of the first aspect, the method further includes: obtaining a first timestamp corresponding to a time point at which the fourth request message is sent; obtaining a third timestamp corresponding to a time point at which the fifth request message sent by the network device is received, where the fifth request message includes a session establishment request; and calculating the first signal loopback time based on a difference between the third timestamp and the first timestamp.

[0036] When the calling device does not receive the 100 trying, the signal loopback time of the current signal, i.e., the first signal loopback time, can be calculated according to a timestamp recorded at a time point at which the session establishment request is received (183 (Session Progress)) and a timestamp corresponding to a time point at which the INVITE message carrying the video capability flag is sent.

[0037] In a possible implementation of the first aspect, the method further includes: receiving a second response message corresponding to the temporary confirmation request and sent by the network device, where the second response message includes a temporary confirmation response, and a voice call channel is established between the network device and the calling device.

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

[0039] In a possible implementation of the first aspect, after the voice call channel is established between the network device and the calling device, the method further includes: receiving a first ringing message sent by the network device; and displaying a call interface in which the video ringtone is not played in response to the first ringing message.

[0040] In a possible implementation of the first aspect, before determining whether the current signal satisfies the communication quality threshold, the method further includes: detecting that a call request initiated by the first user operation is a video call request; and sending a sixth request message carrying a first capability flag to the network device.

[0041] In a possible implementation of the first aspect, before determining whether the current signal satisfies the communication quality threshold, the method further includes: detecting that a call request initiated by the first user operation is a voice call request; receiving a second user operation; and closing the video ringtone function and sending a seventh request message not carrying the first capability flag to the network device in response to the second user operation.

[0042] For example, the calling device initiates the call request in response to the first user operation, and can first determine whether the call request is a video call request. If the determination result is no, i.e., the call request is not a video call request, it is further detected whether the user has turned off the video CRBT switch. If the detection result is no, i.e., the user has not turned off the video CRBT switch, it is further determined whether the current signal meets the communication quality threshold. The specific execution process can be referred to the related description in the specific embodiments below, and will not be described here.

[0043] In a 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; determining whether to play a video CRBT for the terminal device based on whether the eighth request message carries a first capability marker, wherein the first capability marker is used to indicate that the terminal device has the capability of playing the video CRBT; playing the video CRBT for the terminal device in the case that the eighth request message carries the first capability marker; and not playing the video CRBT for the terminal device in the case that the eighth request message does not carry the first capability marker.

[0044] In a possible implementation of the second aspect, in the case that the eighth request message carries the first capability marker, playing the video CRBT for the terminal device comprises: in the case that the eighth request message carries the first capability marker, sending a first update message carrying a video port to the terminal device.

[0045] In a possible implementation of the second aspect, in the case that the eighth request message does not carry the first capability marker, not playing the video CRBT for the terminal device comprises: in the case that the eighth request message does not carry the first capability marker, not sending a first update message carrying a video port to the terminal device.

[0046] In a possible implementation of the second aspect, the first capability marker comprises a video feature label in a Contact field.

[0047] In a possible implementation of the second aspect, the eighth request message comprises a call request or a provisional acknowledgement request.

[0048] For example, the network device can be a CRBT platform that interacts with the calling device to establish a voice call channel.

[0049] In a 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 a current signal meets a communication quality threshold; in the case that the current signal meets the communication quality threshold, sending a ninth request message carrying a second capability marker to the network device; and in the case that the current signal does not meet the communication quality threshold, sending a tenth request message not carrying the second capability marker to the network device. In a possible implementation of the third aspect, the second capability marker comprises a video feature label in a Contact field.

[0050] In a possible implementation of the third aspect, the communication quality threshold comprises a second quality parameter threshold supporting playing of the video flash, and the second capability indication is used to declare that the terminal device has the capability of supporting playing of the video flash.

[0051] In a possible implementation of the third aspect, the communication quality threshold comprises 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-noise ratio; a strength threshold corresponding to a signal received strength indication.

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

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

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

[0055] determining that the current signal does not meet the communication quality threshold based on a second signal-to-noise ratio of the current signal being lower than a second ratio threshold;

[0056] determining that the current signal does not meet the communication quality threshold based on a second signal received strength indication of the current signal being lower than a second strength threshold.

[0057] In a possible implementation of the third aspect, the method comprises: in response to sending the tenth request message without the second capability indication to the network device, the terminal device does not play the video flash.

[0058] In a possible implementation of the third aspect, the method comprises: in response to sending the ninth request message with the second capability indication to the network device, the terminal device plays the video flash.

[0059] For example, the terminal device can be a called device. When receiving a call request sent by the network device, the called device can first determine whether the current signal meets the communication quality threshold. If yes, the called device can send the ninth request message with the second capability indication to the network device, and play the video flash in the incoming call interface; if not, the called device can send the tenth request message without the second capability indication to the network device, and not play the video flash in the incoming call interface.

[0060] In a possible implementation of the third aspect, the ninth request message and the tenth request message comprise a session establishment request, and the second capability indication comprises a capability information field in the session establishment request used to declare the capability of supporting the flash.

[0061] For example, the capability information field for declaring support of the CRBT capability in the session establishment request described above can be +g.3gpp.crs="rs".

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

[0063] In a fourth aspect, the present application provides a communication method applied to a network device, the method including: receiving a twelfth request message sent by a terminal device; determining whether to play a video CRBT for 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 capability of supporting playing the video CRBT; playing the video CRBT for the terminal device in a case where the twelfth request message carries the second capability flag; and not playing the video CRBT for the terminal device in a case where the twelfth request message does not carry the second capability flag.

[0064] In a possible implementation of the fourth aspect described above, in the case where the twelfth request message carries the second capability flag, playing the video CRBT for the terminal device includes: in the case where the twelfth request message carries the second capability flag, sending a second update message carrying a video port to the terminal device.

[0065] In a possible implementation of the fourth aspect described above, in the case where the twelfth request message does not carry the second capability flag, not playing the video CRBT for the terminal device includes: in the case where the twelfth request message does not carry the second capability flag, not sending a second update message carrying a video port to the terminal device.

[0066] In a possible implementation of the fourth aspect described above, the twelfth request message includes a session establishment request, and the second capability flag is a capability information field of the session establishment request.

[0067] For example, the capability information field for declaring support of the CRBT capability in the session establishment request described above can be +g.3gpp.crs="rs".

[0068] For example, the network device described above can be a CRBT platform that interacts with a called device to establish a voice call channel (QCI1) and the like.

[0069] In a fifth aspect, the present application provides a communication device, comprising: one or more processors; one or more memories; the one or more memories store one or more programs, when the one or more programs are executed by the one or more processors, the communication device performs the communication method provided by the first aspect and the possible implementation of the first aspect, or the communication method provided by the second aspect and the possible implementation of the second aspect, or the communication method provided by the third aspect and the possible implementation of the third aspect, or the communication method provided by the fourth aspect and the possible implementation of the fourth aspect.

[0070] In a sixth aspect, the present application provides a communication system, comprising a terminal device and a network device, wherein the terminal device is configured to perform the communication method provided by the first aspect and the possible implementation of the first aspect; the network device is configured to perform the communication method provided by the second aspect and the possible implementation of the second aspect.

[0071] In a seventh aspect, the present application provides a communication system, comprising a terminal device and a network device, wherein the terminal device is configured to perform the communication method provided by the third aspect and the possible implementation of the third aspect; the network device is configured to perform the communication method provided by the fourth aspect and the possible implementation of the fourth aspect.

[0072] In an eighth aspect, the present application provides a computer readable medium, which stores instructions, when the instructions are executed on a computer, the computer performs the communication method provided by the first aspect and the possible implementation of the first aspect, or the communication method provided by the second aspect and the possible implementation of the second aspect, or the communication method provided by the third aspect and the possible implementation of the third aspect, or the communication method provided by the fourth aspect and the possible implementation of the fourth aspect.

[0073] In a ninth aspect, the present application provides a computer program product, comprising computer programs / instructions, when the computer programs / instructions are executed by a processor, the communication method provided by the first aspect and the possible implementation of the first aspect, or the communication method provided by the second aspect and the possible implementation of the second aspect, or the communication method provided by the third aspect and the possible implementation of the third aspect, or the communication method provided by the fourth aspect and the possible implementation of the fourth aspect are implemented.

[0074] The beneficial effects of the second aspect to the ninth aspect can refer to the related description of the first aspect and the possible implementation of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0075] FIG. 1a shows a schematic diagram of a communication system.

[0076] Figure 1b shows a communication scenario applicable to the color ring service.

[0077] Figure 2a shows a communication establishment process when a user equipment normally uses the color ring service.

[0078] Figure 2b shows a communication establishment process when a user equipment abnormally uses the color ring service.

[0079] Figure 3a shows an implementation process of a communication method according to an embodiment of the present application.

[0080] Figure 3b shows a communication establishment process when a user equipment normally uses the color ring service according to step S315 in Figure 3a.

[0081] Figure 4a shows a dialing interface according to an embodiment of the present application.

[0082] Figure 4b shows a call interface without playing the color ring according to an embodiment of the present application.

[0083] Figure 4c shows a call interface with playing the color ring according to an embodiment of the present application.

[0084] Figure 5a shows a "system and update" setting interface according to an embodiment of the present application.

[0085] Figure 5b shows a "developer options" setting interface according to an embodiment of the present application.

[0086] Figure 6 shows an implementation process of a communication method according to an embodiment of the present application.

[0087] Figure 7a shows a communication scenario applicable to the color ring service according to an embodiment of the present application.

[0088] Figure 7b shows an implementation process of a communication method according to an embodiment of the present application.

[0089] Figure 7c shows a communication establishment process when a user equipment normally uses the color ring service according to step S713 in Figure 7b.

[0090] Figure 8a shows a call interface without playing the color ring according to an embodiment of the present application.

[0091] Figure 8b shows a call interface with playing the color ring according to an embodiment of the present application.

[0092] Figure 9 shows a structure of a user equipment according to an embodiment of the present application.

[0093] Fig. 10 is a schematic diagram of a communication system architecture applied to a user equipment according to an embodiment of the present application. DETAILED DESCRIPTION

[0094] In order to make the objects, 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 below in detail with the accompanying drawings and specific embodiments.

[0095] In order to make the objects, 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 below in detail with the accompanying drawings and specific embodiments.

[0096] (1) Session Initiation Protocol (SIP) message: used to create, modify or release a session between one or more terminals. The SIP message can include two types.

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

[0098] 1) INVITE: a message body used to initiate a session invitation request (also called a call request), and a session description exists in the message body. For both parties of the call, the calling device indicates the media information (such as media type and its parameters, etc.) it can accept in the session description. The called device can indicate the media information it can accept in the message body of a successful response message (such as 100 trying), and can also indicate the media information it will send. The INVITE can include two parts of a message header and a data area, the message header includes address information of the calling device and the called device, call subject and call priority, etc. The data area includes information of the session media, which can be implemented by a Session Description Protocol (SDP), and the SDP can include media type (such as video, audio or text, etc.), transmission protocol, user datagram protocol, etc., media format such as Moving Picture Experts Group Audio Layer III (MP3) or other audio formats or Moving Picture Expert Group (MPEG) or other video formats, multicast or unicast address and port, etc.

[0099] 2) ACK: a kind of acknowledgement (ACKnowledgement), a response message used to confirm that the final response to the INVITE message has been received, and the message can correspond to the INVITE message, such as a 200 (OK) message, etc.

[0100] 3) PRACK: Provisional Response ACKnowledgement, a provisional acknowledgement request or provisional response message, similar to the ACK function.

[0101] 4) UPDATE: Update, a message to update media session information, used to indicate that the session information is modified without modifying the dialog state. Correspondingly, the response message returned by the calling or called device after successfully modifying the session information can be a 200 (OK) message, etc.

[0102] The second type of SIP message is a response message. Common response messages include:

[0103] 1) Provisional Response 1XX, indicating that the request message is being processed. For example, 180 (Ringing) can indicate that the called device is ringing, the called device agent has obtained the location of the called device, and is reminding the called device. This response can also initiate a local ringback. For another example, 183 (Session Progress) indicates a session progress response, used to prompt progress information of establishing a session.

[0104] 2) Final Response 2XX, 3XX, 4XX, 5XX or 6XX, 2XX indicating that the request has been successfully received, completely understood and processed.

[0105] FIG. 1a exemplarily shows a communication scenario provided by the present application.

[0106] As shown in FIG. 1a, the communication scenario can include a user device 10 and a network device 20.

[0107] The calling device and the called device are both user devices 10 with wireless communication functions, including but not limited to mobile phones, smart TVs, wearable devices, tablets, computers with wireless transceiver functions, 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 can also be referred to as terminals or terminal devices, mobile stations (MS), mobile terminals (MT), etc., which are not limited here.

[0108] The network device 20, also known as a radio access network (RAN) device, is a device for accessing terminals to a wireless network, which can include network devices in various communication systems, such as core networks, base stations, node Bs (NBs), evolved node Bs (eNBs), transmission nodes or transceiver points (TRPs), radio network controllers (RNCs), network device controllers (BSCs), network device transceivers (BTSs), home network devices (such as Home evolved Node B, HeNB or Home node B, HNB), baseband units (BBUs), communication devices or base stations in 5G networks (such as gNB), or base stations in future evolved networks, etc.

[0109] Exemplarily, the user equipment 10 can access to the core network through the base station in the network equipment 20. It can be understood that the Internet Protocol (IP) Multimedia Subsystem (IMS) domain network of the calling side and the called side can include an IMS domain core network. The IMS domain core network can include a session function control network element and at least one application server (AS). The session function control network element can include an Interrogating Call Session Control Function (I-CSCF) network element, a Serving-Call Session Control Function (S-CSCF), a Proxy Call Session Control Function (P-CSCF) network element, and the like. The at least one application server can include a Telecom Application Server (TAS), a Customized Alerting Tones Application Server (CAT AS), a Customized Ringing Signal Application server (CRS AS), and the like.

[0110] The CAT AS is configured to provide multimedia CAT service logic and perform multimedia CAT playing, including video CAT playing. The CRS AS is configured to provide multimedia CRS service logic and perform multimedia CRS playing, including video CRS playing. For example, the service logic of the CRS can be implemented by interacting with the S-CSCF to realize service call control. In some embodiments, a CAT platform can be deployed on the CAT AS, and a CRS platform can be deployed on the CRS AS, which will not be described herein.

[0111] FIG. 1b shows a schematic diagram of a communication scenario to which the CAT service is applicable. For ease of description and distinction, the calling equipment is described as calling equipment 10a, and the called equipment is described as called equipment 10b.

[0112] As shown in FIG. 1b, when the calling equipment 10a detects user dialing, the calling equipment 10a can send a call request to the called equipment 10b through the CAT platform. When the called equipment 10b has subscribed to the CAT service, the calling equipment 10a can parse and play the video CAT sent by the CAT platform, so that a call interface showing that the video CAT is being played can be displayed.

[0113] As mentioned above, the use of the ringback tone or ringback video service increases the signaling and media resource overhead in the call setup process. When the communication signal of the calling device or the called device is weak, the user equipment has difficulty in sending the signaling and media resource uplink or receiving the signaling and media resource sent by the network equipment downlink, which can easily lead to call setup failure and can cause some problems such as screen flashing during the playing of the ringback video.

[0114] In addition, taking the ringback tone service as an example, by analyzing the communication setup process of the normal use of the ringback tone service by the user equipment (see FIG. 2a below), it can be known that whether the calling device supports playing the ringback video and whether the called device supports the ringback tone capability, for example, the capability markers carried in the fields of some SIP messages in the initial stage of the communication setup process. For example, the Contact field of the INVITE message sent uplink by the calling device can carry a video feature tag "video feature tag" to mark that the calling device supports playing the ringback video. For another example, the Contact field of the 183 (Session Progress) message sent uplink by the called device to the network equipment can carry a communication type identifier "+g.3gpp.crs" to declare that the called device supports the ringback tone capability.

[0115] Taking the user equipment 10 as the calling device 10a as an example, the communication setup process of the normal use of the ringback tone service by the user equipment 10 is shown in FIG. 2a, which can include the following steps S1 to S10.

[0116] S1: The user equipment 10 detects that the user dials, and sends a call request (INVITE) to the network equipment 20. The video feature tag "video feature tag" can be carried in the part of the uplink transmission INVITE message (for example, the Contact field) to indicate that the calling device 10a supports playing the ringback video. That is, in the case that the called device opens the ringback tone service, the calling device 10a can support playing the personalized video provided by the ringback tone service as the ringback tone.

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

[0118] S3: The network equipment 20 sends a session setup request (183 (Session Progress)) to the user equipment 10. The 183 message can be the request message sent by the network equipment 20 to the calling device 10a based on the 183 message received from the called device 10b. In the ringback tone service scenario, the capability information field of the 183 message sent by the called device 10b to the network equipment 20 can carry the capability information declaring that the called device 10b supports the ringback tone capability, for example, +g.3gpp.crs="rs" or others.

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

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

[0121] Up to now, the user equipment 10 and the network equipment 20 establish a voice call channel (QCI1). Namely, the calling device (the user equipment) and the network equipment 20 establish the QCI1. Similarly, the called device 10b and the network equipment 20 also need to establish the QCI1, so as to realize the voice call between the calling device 10a and the called device 10b. The QCI1 is mainly used for transmission of audio data, such as transmission of voice call data.

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

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

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

[0125] Up to now, the user equipment 10 and the network equipment 20 establish a video call channel (QCI2). Namely, the calling device 10a and the network equipment 20 establish the QCI2. Similarly, the called device 10b and the network equipment 20 also need to establish the QCI2, so as to realize the video call between the calling device 10a and the called device 10b. The QCI2 is mainly used for transmission of video data, including transmission of video ringback tone.

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

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

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

[0129] Similarly, the called device 10b can declare whether it supports the video alerting capability, for example in a part of the field of the INVITE message or 183 message uplink transmitted to the network device 20. For example, if the INVITE message received by the called device 10b carries the "Alert-Info: <urn:alert:service:crs>" then indicates that the call request forwarded by the network device 20 is a phone supporting the color ring 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 the support of the video color ring capability.

[0130] However, when the communication signal of the calling device or the called device is weak, the user equipment has difficulty in sending the message signaling and the media resource upward or receiving the message signaling and the media resource sent downward by the network device. In this scenario, referring to FIG. 2b, the user equipment 10 can fail to send the UPDATE Request message in step S6, and thus the user equipment 10 can continue to perform step S6a, i.e., retransmit the media session update request (UPDATE Request). After the retransmission succeeds, the network device 20 receives the UPDATE Request and prepares to reply the 200 (OK) Request. It can be understood that before the user equipment 10 succeeds in performing step S6a to retransmit the UPDATE Request, the user equipment 10 can retransmit the UPDATE Request for multiple times, i.e., in some implementation scenarios, the UPDATE Request message can reach the network device 20 only after multiple retransmissions of the UPDATE Request, and the network device 20 prepares the 200 (OK) Request after successfully receiving the UPDATE Request message sent or retransmitted by the user equipment 10.

[0131] At this time, the network device 20 can continue to perform step S7 to send the update response 200 (OK) Request to the user equipment 10. However, the update response 200 (OK) Request can fail to reach the user equipment 10 due to the poor signal.

[0132] Continuing to refer to FIG. 2b, the user equipment 10 fails to receive the 200 (OK) Request, and continues to retransmit the UPDATE Request and send the failure response message. For example, the user equipment 10 can perform step S7a, i.e., retransmit the media session update request (UPDATE Request) to the network device 20, but the request can also fail to be sent.

[0133] At this time, the network device 20 receives the 180 (Ringing) sent by the called device 10b, judges that the calling device 10a needs to play the color ring video, and then sends the UPDATE carrying the video port to the calling device 10a, i.e., continues to perform step S8. Correspondingly, the user equipment 10 receives the UPDATE carrying the video port, but has not received the 200 (OK) Request, and thus performs step S8a to send the failure response message (491) to the network device 20.

[0134] Likewise, in the case of poor signal quality, the user equipment 10 can not receive the update message, and the user equipment 10 can perform step S8a, i.e., send a failure response message (491) to the network equipment 20. In this way, the network equipment 20 persists in retransmitting the UPDATE message for establishing a video call channel (carrying a video port), the user equipment 10 persists in retransmitting the UPDATE message of audio resource reservation success, and replies to the UPDATE message carrying the video port sent by the network equipment 20 with a failure response 491, and finally the call is abnormal. Moreover, the establishment of the QCI2 process performed by steps S6 to S8 shown in FIG. 2a also cannot be completed.

[0135] As described above, the current communication method is prone to call establishment failure, and some calling equipment playing video ringback tone or called equipment playing video ringback tone is prone to the problem of existing screen flicker, and the user's call experience is poor.

[0136] Therefore, in order to solve the above problems, the present application provides a communication method applied to user equipment. The method detects whether the current signal meets the communication quality requirement required for playing video ringback tone before the voice call establishment process or in the initial stage of the voice call establishment process, and sends a request message for not supporting playing video ringback tone or video ringback tone to the network equipment in time when the communication quality requirement is not met, so as to cancel the use of ringback tone service or ringback tone service in the call establishment process. The request message for not supporting playing video ringback tone or video ringback tone, for example, can include an INVITE message, a 183 message, etc. with the capability flag in the related field deleted. In this way, more messages or signaling for establishing QCI2 can be avoided between the user equipment and the network equipment, and then the transmission of related message signaling or media resources can be reduced, the message or signaling overhead can be reduced, the limited channel resources can be more used for the voice call channel establishment process, thereby being conducive to improving the call establishment success rate, improving the stability of the user equipment for voice call, and also being conducive to improving the user's call experience.

[0137] Moreover, the user equipment based on the communication method provided by the present application can also provide a switch control or setting option for supporting the user to turn off the video ringback tone or ringback tone function. In this way, the user can also turn off the switch corresponding to the video ringback tone or ringback tone function when making a voice call, so as to avoid more signaling overhead of the establishment of QCI2 process caused by the ringback tone or ringback tone service, and thus be conducive to ensuring the stability of the user equipment for voice call, and even when the signal is weak, the voice call service can be provided more smoothly, thereby improving the user's call experience.

[0138] It can be understood that the user equipment can be a calling equipment or a called equipment. For example, when the calling equipment detects user dialing, the communication method provided in the present application can be performed to first detect whether the current signal meets the call quality requirement for playing the video ringtone, and send a call request with the video characteristic label deleted to the network equipment to declare that the video ringtone playing is not supported to the network equipment in the case where it is determined that the call quality requirement is not met, thereby reducing the signaling overhead caused by establishing QCI2, improving the success rate of establishing QCI1, and being beneficial to guaranteeing the stability of the voice call of the user equipment.

[0139] For another example, when the called equipment detects the request message (such as a session establishment request) for establishing a call sent by the network side, the communication method provided in the present application can be performed to first detect whether the current signal meets the call quality requirement for playing the video ringtone, and send a response message (such as a session establishment response) with the video characteristic label deleted to the network equipment to declare that the ringtone capability is not supported to the network equipment in the case where it is determined that the call quality requirement is not met, thereby reducing the signaling overhead caused by establishing QCI2, improving the success rate of establishing QCI1, and being beneficial to guaranteeing the stability of the voice call of the user equipment.

[0140] The specific implementation process of the communication method provided in the present application applied to the calling equipment and the called equipment will be described in detail below in combination with different embodiments.

[0141] First, the specific implementation process of the communication method provided in the present application applied to the calling equipment will be described in combination with Embodiment 1.

[0142] Embodiment 1 of the present application takes the calling equipment 10a as an example to describe a specific implementation process of the communication method provided in the present application.

[0143] In the embodiment of the present application, reference is made to the communication scenario shown in the above Fig. 1b, and the interaction between the calling equipment 10a and the network equipment 20 is mainly involved, wherein the network equipment 20 can include the communication equipment such as the core network, the base station, and the ringtone application server as described above, and will not be described herein.

[0144] Fig. 3a shows an implementation flow diagram of a communication method according to an embodiment of the present application.

[0145] Specifically, as shown in Fig. 3a, the implementation flow can include the following steps:

[0146] S301: The calling equipment 10a detects user dialing.

[0147] For example, the calling equipment 10a such as a mobile phone can correspond to detecting user dialing when detecting that the user inputs the opposite number on the dialing interface of the telephone application and clicks the related control of the telephone dialing operation.

[0148] As an example, FIG. 4a shows a schematic diagram of a dialing interface.

[0149] As shown in FIG. 4a, when detecting the dialing operation of the user, the calling device 10a can display the dialing interface 410 of the phone application. The dialing interface 410 can display a dialing prompt text, for example, "Dialing..." 411. At this time, the calling device 10a can continue to perform the judgment process of the following step S302, etc. in response to the dialing operation of the user.

[0150] S302: The calling device 10a judges whether the user dialing is a video call request.

[0151] If the judgment result is yes, that is, the user dialing is a video call request, and QCI2 needs to be established to support the video call, the calling device 10a can perform the following step S315 to perform the communication establishment process of the normal use of the ringback tone service.

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

[0153] As an example, in response to the detected user dialing, or in response to the dialing operation of the user, the calling device 10a can first judge whether the user dialing is a video call request. The specific judgment process can be implemented, for example, through a Transmission Control Protocol / Internet Protocol Stack (TCP / IP) protocol stack, etc. During the dialing process, the phone application can call a function, for example, TelecomManager#placeCall(), which is a function provided by the TCP / IP protocol stack for telephone management. If it is a video call, the parameter in the function will carry a video state (Video State) mark. This video state will be passed to the telephony and further put into the response parameter of the phone (Phone). The call tracker (CallTracker) will convert the video state into the call type in the IMS call profile (IMSCallProfile) when dialing, and then the IMS service (IMSservice) will take out the call type from the IMS call profile when initiating the dialing to judge whether the user call is a video call.

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

[0155] If the detection result is yes, i.e. the user is detected to turn off the video ringtone switch, the calling device 10a can perform the following step S305, delete the video capability flag indicating support of playing video ringtone 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.

[0156] If the detection result is no, i.e. the user is not detected to turn off the video ringtone switch, the calling device 10a can continue to perform the judgment process of the following step S304.

[0157] Exemplarily, the calling device 10a can detect whether the user turns off the video ringtone switch by detecting whether the user turns off the switch corresponding to the video ringtone or video ring function on the related setting interface. Alternatively, the calling device 10a can also detect whether the user turns off the video ringtone switch by detecting whether the user turns off the ringtone switch on the dialing interface of the phone application.

[0158] As an example, the dialing interface 410 shown in FIG. 4a can display a switch control 412. In the state of not turning off the video ringtone, the switch control 412 can correspondingly display "ringtone" or other prompt text. If the user clicks the switch control 412 to indicate turning off the video ringtone, the icon displayed by the switch control 412 can display the off style shown in FIG. 4a. If the user clicks the switch control 412 to indicate turning on the video ringtone function, or in other words, to continue using the video ringtone function, the icon displayed by the switch control 412 can display the on style shown in FIG. 4b, which will not be described herein.

[0159] It can be understood that in the state of turning off the video ringtone, the calling device 10a can display the call interface 420 shown in FIG. 4b after successful dialing, and the video ringtone is not played on the call interface 420. The call interface 420 can also display a call prompt text, such as "the opposite party is ringing". In the state of turning on the video ringtone function, the calling device 10a can display the call interface 430 shown in FIG. 4c after successful dialing. As shown in FIG. 4c, the call interface 430 can play the video ringtone including the picture 431. The process of successful dialing of the calling device 10a can correspond to the process completed by the following steps S306 to S314, and the specific execution process will be described in detail in the related steps below, which will not be described herein.

[0160] As another example, FIGS. 5a to 5b show schematic diagrams of related setting interfaces supporting turning off the video ringtone or ring.

[0161] As shown in FIG. 5a, 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 the "Developer Options" setting interface 520 shown in FIG. 5b in response to the operation.

[0162] As shown in FIG. 5b, on the "Developer Options" setting interface 520 displayed by the calling device 10a, the user can click the switch 521 corresponding to "Video Ringtone or Ringback", and set the switch to the off state, i.e. turn off the video ringtone / ringback switch. Correspondingly, the calling device 10a can turn off the function of playing the video ringtone in response to the operation.

[0163] It can be understood that the user can also set the switch 521 to the on state on the setting interface 520. Correspondingly, the calling device 10a can continue to provide the function of playing the video ringtone.

[0164] It can be understood that in some other embodiments, the calling device 10a can also not perform the judgment process of the present step S303, but directly continue to perform the judgment process of the following step S304 when the judgment result of the above step S302 is no, without limitation.

[0165] S304: The calling device 10a judges whether the current signal meets the communication quality requirement for playing the video ringtone.

[0166] If the judgment result is yes, i.e. it is determined that the current signal meets the communication quality requirement, the calling device 10a can perform the following step S315 to perform the communication establishment process of normally using the ringtone service.

[0167] If the judgment result is no, i.e. it is determined that the current signal does not meet the communication quality requirement, the calling device 10a can perform the following step S305 to delete the video capability flag indicating the support of playing the video ringtone in the request message sent to the network device 20, and then send the request message without the capability flag to the network device 20.

[0168] Exemplarily, the calling device 10a can measure the signal quality of the current signal based on the signal quality parameters such as the Reference Signal Received Power (RSRP), the Reference Signal Received Quality (RSRQ), the Signal to Interference plus Noise Ratio (SINR), etc., and then judge whether the current signal meets the communication quality requirement for playing the video ringtone based on the level of the signal quality.

[0169] RSRP is an index measuring the strength of the reference signal received from the base station by the receiver, in units of dBm (decibel milliwatt), and the greater the value of RSRP, the stronger the signal. The calling device 10a can determine the strength of the current signal by determining whether the value of RSRP is higher than the corresponding set power threshold. The power threshold can correspond to the communication quality requirement for playing the color ring. If the RSRP value of the current signal is large and higher than the corresponding set power threshold, it indicates that the current signal is strong, i.e., the current signal quality is high, and it can be determined that the communication quality requirement for playing the video color ring is met. Conversely, if the RSRP value of the current signal is small and lower than the corresponding set power threshold, it indicates that the current signal is weak, i.e., the current signal quality is low, and it can be determined that the communication quality requirement for playing the video color ring is not met.

[0170] RSRQ is an index measuring the signal quality and the degree of interference. RSRQ mainly calculates the proportional relationship between RSRP and the received interference and noise. In units of dB, the greater the value of RSRQ, the higher the signal quality. At the same time, a higher RSRQ value indicates a higher signal strength and less interference and noise. The calling device 10a can determine the quality of the current signal by determining whether the value of RSRQ is higher than the corresponding set quality threshold. The quality threshold can correspond to the communication quality requirement for playing the color ring. 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, i.e., the signal strength is high and the received interference and noise are small, and it can be determined that the communication quality requirement for playing the video color ring is met. Conversely, if the RSRQ value of the current signal is low and lower than the corresponding set quality threshold, it indicates that the current signal quality is low, i.e., the signal strength is high and the received interference and noise are large, and it can be determined that the communication quality requirement for playing the video color ring is not met.

[0171] SINR is an important index for measuring signal quality, representing the ratio of the strength of the received useful signal to the strength of the received interference signal (including noise and interference). In units of dB, the higher the value, the better the signal quality. At the same time, a higher SINR value represents better signal quality and lower error rate for the user in the communication process. The calling device 10a can determine the quality of the current signal by determining whether the value of SINR is higher than the corresponding set ratio threshold. The ratio threshold can correspond to the communication quality requirement for playing the color ring. If the SINR value of the current signal is high and higher than the corresponding set ratio threshold, it indicates that the current signal quality is high, and it can be determined that the communication quality requirement for playing the video color ring is met. Conversely, if the SINR value of the current signal is low and lower than the corresponding set ratio threshold, it indicates that the current signal quality is low, and it can be determined that the communication quality requirement for playing the video color ring is not met.

[0172] In other embodiments, the calling device 10a can also determine whether the current signal meets the communication quality requirement for playing the color ring back tone by detecting other signal parameters related to the current signal, which is not limited herein.

[0173] S305: The calling device 10a deletes the video capability tag indicating support for playing the video color ring back tone in the request message INVITE.

[0174] Exemplarily, the calling device 10a can send a call request message to the network device 20 in response to the user call, which is, for example, an INVITE message. In normal use of the color ring back tone service, the Contact field of the INVITE message can carry a video feature tag "video feature tag". Therefore, the video capability tag described above can be, for example, the video feature tag "video feature tag" in the Contact field of the INVITE message. After deleting the video capability tag, the Contact field of the INVITE message does not carry the capability tag "video feature tag".

[0175] It can be understood that if the calling device 10a determines no in the step S302 described above and detects yes in the step S303 described above, or the calling device 10a determines no in the steps S302 to S304 described above, the calling device 10a can perform the step S305 described above, delete the video capability tag indicating support for playing the video color ring back tone carried in the request message, and then the calling device 10a can continue to perform the step S306 described below, send the request message without the video capability tag to the network device 20.

[0176] If the calling device 10a determines yes in the step S302 described above, or the calling device 10a determines no in the step S302 described above and detects no in the step S303 described above, and determines yes in the step S304, i.e., the current signal of the calling device 10 is good, the calling device 10a can not perform the step S305 described above, but can directly perform the step S315 described below, perform the communication establishment process of the normal use of the color ring back tone service, and send the request message carrying the capability tag indicating support for playing the video color ring back tone to the network device 20.

[0177] In other embodiments, the calling device 10a performing the step S305 described above can also directly generate the INVITE message without the "video feature tag", and then send it to the network device 20 in the step S306 described below, which is not limited herein.

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

[0179] For example, after the calling device 10a deletes the video capability tag in the INVITE message in step S305, the request message (INVITE) sent by the calling device 10a to the network device 20 does not carry the video capability tag indicating that the calling device 10a supports playing video ringback tone.

[0180] It can be understood that when the calling device 10a performs the communication establishment process corresponding to the normal use of the ringback tone service in step S315, the request message (INVITE) sent by the calling device 10a to the network device 20 carries the video capability tag "video feature tag" normally.

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

[0182] For example, the response message can be a reply message, such as 100 trying, of the network device 20 to the received INVITE message without the video capability tag. The 100 trying is a temporary response message indicating that the request has been received, but all the processing has not been completed.

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

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

[0185] S309: The calling device 10a sends a provisional confirmation request (PRACK) to the network device 20.

[0186] For example, after receiving the 183 (Session Progress) sent by the network device 20, the calling device 10a can reply to the network device 20 with a provisional confirmation request (PRACK).

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

[0188] Exemplarily, after receiving the above-mentioned provisional acknowledgement request (PRACK) sent by the calling device 10a, the network device 20 can reply a provisional acknowledgement response, for example, 200 (OK), to the calling device 10a, indicating that the acknowledgement has been received.

[0189] Up to now, the voice call channel (QCI1) can be established between the calling device 10a and the network device 20.

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

[0191] Exemplarily, after the QCI1 is established between the calling device 10a and the network device 20, the calling device 10a can reserve the audio resource for the voice call, for example, the cache space for storing the voice data input by the user, the cache or memory space for storing the voice data of the user of the called device received, and the like.

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

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

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

[0195] Exemplarily, after receiving the UPDATE Request message sent by the calling device 10a, the network device 20 can reply a response message, for example, 200 (OK) Request, to the calling device 10a, indicating that the update has been received.

[0196] It can be understood that after the successful transmission of the above-mentioned INVITE message, 183 (Session Progress), and UPDATE message indicating the success of the audio resource reservation between the calling device 10a and the network device 20, the audio data channel (QCI1) used for the corresponding voice call is completed and ready for use.

[0197] Meanwhile, in the case where it is determined that the user does not request the video call and it is determined that the current signal does not meet the communication quality requirement for playing the video ringback tone, the calling device 10a and the network device 10 do not need to establish the QCI2 based on the INVITE message without carrying the above-mentioned video capability flag, and the network device 20 can execute the following step S314 to send a ring response message (180 (Ringing)) after determining that the audio resource reservation on the calling device 10a is successful.

[0198] It can be understood that the color ring application server or color ring platform detects that the Contact field in the INVITE message does not carry the video capability mark, i.e., the video capability, and thus will not initiate the establishment process of QCI2 required for playing the video color ring. In this way, the signaling overhead of the communication between the calling device 10a and the network device 20 can be reduced.

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

[0200] Exemplarily, 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, and then 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 ring.

[0201] It can be understood that based on the above INVITE message without carrying the video capability mark, the ringing response message (180 (Ringing) sent by the network device 20 to the calling device 10a at this time can also not carry the video color ring. Correspondingly, the calling device 10a can refer to the call interface 420 shown in FIG. 4b for the call interface playing the ring.

[0202] S315: The calling device 10a and the network device 20 perform a normal communication establishment process for using the color ring service.

[0203] Exemplarily, the above normal communication establishment process for using the color ring service can include the process of completing the establishment of QCI1, and the process of completing the establishment of QCI2 and playing the video color ring.

[0204] Specifically, FIG. 3b shows a schematic diagram of a normal communication establishment process for using the color ring service.

[0205] As shown in FIG. 3b, the process can include the following steps S316 to S327:

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

[0207] Exemplarily, after performing the judgment of the above steps S302 to S304, if the calling device 10a determines that it still needs to establish QCI2 with the network device 20 to use the color ring service, the calling device 10a can send a call request to the network device 20 without deleting the corresponding video capability mark, i.e., send a call request (INVITE) carrying a video capability mark.

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

[0209] Exemplarily, the response message can be a temporary response message 100 trying of the network device 20 to the received INVITE message carrying the video capability mark.

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

[0211] Exemplarily, based on the above received call request (INVITE) carrying the video capability mark, the network device 20 can send a session establishment request, such as 183 (Session Progress), to the calling device 10a after interacting with the called device to process the call request. The 183 (Session Progress) is used to prompt or initiate the establishment of a conversation.

[0212] S319: The calling device 10a sends a temporary confirmation request (PRACK) to the network device 20.

[0213] Exemplarily, after receiving the 183 (Session Progress) sent by the network device 20, the calling device 10a can reply to the network device 20 with a temporary confirmation request (PRACK).

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

[0215] Exemplarily, after receiving the above temporary confirmation request (PRACK) sent by the calling device 10a, the network device 20 can reply to the calling device 10a with a temporary confirmation response, such as 200 (OK), indicating that the confirmation has been received.

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

[0217] The execution contents of each step in the above steps S316 to S320 are the same as the execution contents of each step in the above steps S306 to S310. Therefore, the execution process of establishing QCI1 corresponding to the description of the above steps S316 to S320 can refer to the related description of each step in the above steps S306 to S310, which will not be repeated here.

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

[0219] Exemplarily, the network device 20 confirms to initiate the flow of establishing the QCI2, and then can continue to send an update (UPDATE) carrying the video port to the calling device 10a, so as to provide the calling device 10a with the video port for transmitting the video ringback tone.

[0220] S322: The calling device 10a sends an update response (200 (OK)) of successfully receiving the video port to the network device 20.

[0221] Exemplarily, the calling device 10a can send the update response (200 (OK)) of successfully receiving the video port to the network device 20 when detecting that the video resource reservation is successful. That is, the 200 (OK) indicates that the calling device 10a has successfully received the UPDATE message sent by the network device 20 and obtained the video port.

[0222] Up to now, the video call channel QCI2 can be established between the calling device 10a and the network device 20.

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

[0224] Exemplarily, after receiving the video port sent by the network device 20 through 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, and the like, which are not limited here.

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

[0226] Exemplarily, after successfully completing the video resource reservation, the calling device 10a can send the network device 20 a media session update request (UPDATE Request) through the UPDATE Request message, that is, send the media session update request (UPDATE Request) to the network device 20.

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

[0228] Exemplarily, the network device 20 can reply to the calling device 10a an update response (200 (OK) Request) in response to the received UPDATE Request message.

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

[0230] Exemplarily, the network device 20 can send a ringing response message (180 (Ringing)) to the calling device 10a based on the established QCI2. Then, the network device 20 can send a Real-time Transport Protocol (RTP) / Real-time Transport Control Protocol (RTCP) packet (RTP / RTCP packet for short) carrying the video color ring to the user device 10 through the QCI2. After receiving the RTP / RTCP packet, the user device 10 can parse and play the video color ring.

[0231] S327: The calling device 10a plays the video color ring.

[0232] It can be understood that, based on the above 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 the above step S326 can also carry the video color ring. Correspondingly, the calling interface of the calling device 10a playing the video color ring can refer to the calling interface 430 shown in FIG. 4c.

[0233] It can be understood that, when the network device 20 performs the above step S321, the color ring application server in the network device 20 can initiate a process of establishing the QCI2 for transmitting the video color ring based on whether the video capability flag is carried in the received INVITE message. If the video capability flag is not carried in the INVITE message, the color ring application server will not initiate the process of establishing the QCI2 for transmitting the video color ring. However, due to network delay or signaling transmission error, etc., the color ring application server can still initiate the process when it identifies that the video capability flag is not carried in the INVITE message. In this case, after receiving the UPDATE message sent by the calling device 10a, the network device 20 can set the video port carried in the UPDATE message to zero, for example, "m = video 0 RTP / AVPF 114", to claim that the transmission of the video color ring is not supported, and then reply 200 (OK) to the calling device 10a. In this way, the stability of the implementation of the communication method provided in the present application can be ensured.

[0234] Based on the communication method implemented based on the interaction process shown in FIG. 3a, the calling device 10a can cancel the function of playing the video color ring in time when the called device opens the color ring service and if it is detected that the current signal does not meet the communication quality requirement for playing the video color ring, so as to reduce the signaling overhead generated in the process of establishing the QCI2 with the network device, and thus the stability of the voice call between the calling device and the called device through the network device can be improved, and the user's call experience is improved. In addition, the calling device 10a can provide a switch control for the user to close the video color ring function, so as to facilitate the user to cancel the function of playing the video color ring and reduce the consumption of mobile communication network traffic, and thus the user's call experience is improved.

[0235] Next, another specific implementation process of the communication method provided by the present application applied to the calling device will be described in combination with Embodiment 2.

[0236] Embodiment 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 by Embodiment 1, the calling device 10a determines whether the current signal meets the communication quality requirement in the communication method provided by Embodiment 2 of the present application.

[0237] Continuing to refer to the communication scenario shown in FIG. 1b, the specific implementation process of the communication method provided by the present application still mainly involves the interaction between the calling device 10a and the network device 20, wherein the network device 20 can include the core network, the base station, the color ring application server and other communication devices as described above, and will not be described here.

[0238] FIG. 6 shows an implementation flow diagram of a communication method according to an embodiment of the present application.

[0239] Specifically, as shown in FIG. 6, the implementation flow can include the following steps:

[0240] S601: The calling device 10a detects that the user dials.

[0241] The specific execution process of this step S601 can refer to the related description of step S301 in Embodiment 1 described above, and will not be described here.

[0242] S602: The calling device 10a judges whether the user dialing is a video call request.

[0243] If the judgment result is yes, i.e., the user dialing is a video call request, and the QCI2 needs to be established to support the video call, the calling device 10a continues to execute the following step S617 to execute the communication establishment process of normally using the color ring service.

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

[0245] The specific execution process of this step S602 can refer to the related description of step S302 in the above embodiment 1, which will not be repeated here.

[0246] S603: The calling device 10a detects whether the user turns off the video ringtone switch.

[0247] If the detection result is yes, that is, the user turns off the video ringtone switch, the calling device 10a can perform the first interception process described below in steps S604 to S607 and S611, delete the video capability marker indicating support for playing video ringtone in the request message INVITE sent to the network device 20, and send the request message INVITE without carrying the capability marker to the network device 20.

[0248] If the detection result is no, that is, the user does not turn off the video ringtone switch, the calling device 10a can continue to perform the second interception process described below in steps S605' to S607', S608 to S610 and S611'. The process includes the process of calculating the signal loopback time in step S608 based on the sending or receiving time of the message transmitted in steps S605' to S607', the judgment process of step S609 based on the signal loopback time and the signal strength, and the process of deleting the video capability marker in the PRACK message in step S610, sending the PRACK message without carrying the video capability marker to the network device 20 in step S611', etc.

[0249] The specific execution process of this step S603 can refer to the related description of step S303 in the above embodiment 1, which will not be repeated here.

[0250] For ease of understanding, the first interception process described in steps S604 to S607 and S611 will be introduced below in conjunction with the flowchart shown in FIG. 6.

[0251] S604: The calling device 10a deletes the video capability marker indicating support for playing video ringtone in the request message INVITE.

[0252] Exemplarily, the calling device 10a can delete the video feature tag that can be carried in the Contact field of the INVITE message. The specific execution process of this step S604 can refer to the related description of step S305 in the above embodiment 1, which will not be repeated here.

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

[0254] The specific implementation process of this step S604 can refer to the related description of step S306 in the above embodiment 1, and will not be described here.

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

[0256] The specific implementation process of this step S606 can refer to the related description of step S307 in the above embodiment 1, and will not be described here.

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

[0258] The specific implementation process of this step S607 can refer to the related description of step S308 in the above embodiment 1, and will not be described here.

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

[0260] Exemplarily, after successfully performing the above first interception, i.e., performing the above steps S604 to S607, the calling device 10a can continue to perform this step S611 to send a normally generated PRACK message to the network device 20. Since the above first interception process has controlled that the "video feature tag" is not carried in the INVITE message sent to the network device 20, at this time the PRACK message sent by the calling device 10a to the network device 20 can also not carry the video capability tag.

[0261] Next, the second interception process corresponding to the descriptions of steps S605' to S607', S608 to S610 and S611' will be introduced in combination with the flowchart shown in FIG. 6.

[0262] S605': The calling device 10a sends a call request (INVITE) carrying a video capability tag to the network device 20.

[0263] Exemplarily, when the calling device 10a performs the detection result corresponding to the above step S603 is no, i.e., it is not necessary to perform the above step S604 to delete the video capability tag in the INVITE indicating support for playing video ringback tone, it can continue to perform this step S605' to send an INVITE message carrying a video capability tag to the network device 20.

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

[0265] Corresponding to the INVITE message carrying the video capability mark sent by the calling device 10a in the above step S605', the network device 20 can send a corresponding request response message (100 trying) to the calling device 10a.

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

[0267] Corresponding to the INVITE message carrying the video capability mark sent by the calling device 10a in the above step S605', after the network device 20 sends the corresponding request response message (100 trying) to the calling device 10a in the above step S606', the network device 20 can continue to send the 183 message to the calling device 10a in the present step S607'.

[0268] S608: The calling device 10a calculates the signal loop time.

[0269] By way of example, the signal loop time, also known as the round-trip time (RTT), as the name implies, refers to the time interval from when a message is sent from the "source end" to the "terminal end", processed by the "terminal end" and returned in response, and finally returned to the "source end". The calling device 10a can calculate the signal loop time based on the timestamp corresponding to the INVITE message carrying the video capability mark sent in the above step S605', the timestamp corresponding to the 100 trying sent by the network device 20 in the above step S606', and / or the timestamp corresponding to the 183 message sent by the network device 20 in the above step S607'. For example, when the calling device 10a initiates a call, the signal loop time can be calculated by recording the time of sending the INVITE message to the network device 20, the time of receiving the 100 trying sent by the network device 20, and the time of receiving the 183 message sent by the network device 20, etc.

[0270] By way of example, Table 1 below shows the timestamp of sending the INVITE message to the network device 20, the timestamp of receiving the 100 trying sent by the network device 20, and the timestamp of receiving the 183 message sent by the network device 20 recorded by the calling device 10 in the case of normal signal loop time.

[0271] Based on the analysis of the following Table 1, it can be seen that when the calling device 10a sends an INVITE message to the network device 20 as a "source" to the network device 20 (as a "terminal") to receive the temporary response message 100 trying returned by the network device 20 after processing, the corresponding signal loop time (RTT) is 8 (ms). Moreover, the calling device 10a sends an INVITE message to the network device 20 to receive the 183 (Session Progress) returned by the network device 20 after processing, and the corresponding signal loop time (RTT) is 31 ms. Both of them are relatively short signal loop times, indicating that the current network is not congested at this time.

[0272] Table 1

[0273] The following Table 2 shows the time stamp recorded by the calling device 10 when sending an INVITE message to the network device 20, the time stamp of receiving the 100 trying sent by the network device 20, and the time stamp recorded when receiving the 183 message sent by the network device 20 in the case of abnormal signal loop time.

[0274] Table 2

[0275] Based on the analysis of the above Table 2, it can be seen that when the calling device 10a sends an INVITE message to the network device 20 as a "source" to the network device 20 (as a "terminal") to receive the temporary response message 100 trying returned by the network device 20 after processing, the corresponding signal loop time (RTT) is 2 seconds (s) 684 milliseconds (ms). Moreover, the calling device 10a sends an INVITE message to the network device 20 to receive the 183 (Session Progress) returned by the network device 20 after processing, and the corresponding signal loop time (RTT) is 3s903ms. Both of them are relatively long signal loop times, and 3s903ms may be higher than the preset time threshold of the corresponding RTT, indicating that the current network is congested at this time.

[0276] It can be understood that the above 100 trying is a response message returned by the network device 20 to the calling device 10a, and the 183 (Session Progress) is a request message sent by the network device 20 to the calling device 10a in response to the session establishment request of the called device. When the calling device 10a successfully receives the 100 trying, the difference between the time stamp corresponding to the reception of the 100 trying and the time stamp corresponding to the sending of the INVITE message can be calculated as the calculation result of the RTT. When the calling device 10a does not receive the 100 trying, the difference between the time stamp corresponding to the reception of the 183 (Session Progress) and the time stamp corresponding to the sending of the INVITE message can be calculated as the calculation result of the RTT.

[0277] Further, the calling device 10a can determine the congestion of the current network according to the calculated signal round trip time (RTT), and perform the following step S609 to determine whether to remove the video capability, i.e., delete the video capability mark indicating supporting playing the video ringback tone, in combination with the detected signal strength and other parameters.

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

[0279] If the determination result is yes, indicating that the current network can be congested and / or the current signal is weak, the calling device 10a can perform the following step S610 to delete the video capability mark indicating supporting playing the video ringback tone in the subsequently sent request message (PRACK).

[0280] If the determination result is no, indicating that the current network is not congested and / or the current signal is strong, the calling device 10a can perform the following step S617 to perform the communication establishment process of normally using the ringback tone service.

[0281] Exemplarily, the calling device 10a can determine the congestion of the current network and / or the strength or quality of the current signal based on the RTT calculated in the above 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 the corresponding time threshold and / or the RSSI is lower than the corresponding strength threshold, it can be determined that the current network can be congested and / or the current signal is weak, and the corresponding determination result is yes. If the calling device 10a determines that the RTT is less than the corresponding time threshold and / or the RSSI is higher than the corresponding strength threshold, it can be determined that the current network is not congested and / or the current signal is strong, and the corresponding determination result is no.

[0282] In other embodiments, the calling device 10a can also determine the congestion of the current network and / or the strength or quality of the current signal based on the RTT calculated in the above step S608 and one or more of other signal quality parameters, such as RSRP, RSRQ, and SINR, without limitation.

[0283] It can be understood that using the RTT in combination with the RSSI or in combination with one or more of the RSRP, RSRQ, and SINR is beneficial to improve the accuracy of the determination result of the congestion of the current network and / or the strength or quality of the current signal, so that the calling device 10a can accurately determine whether to continue to perform other steps for controlling not to play the video ringback tone, such as steps S610 to S612, and the like.

[0284] S610: The calling device 10a deletes the video capability tag indicating support of playing video ringback tone in the request message PRACK.

[0285] Exemplarily, when the calling device 10a determines the result of the step S609 to be yes, the calling device 10a can delete the video capability tag carried in the PRACK to be sent to the network device subsequently. As mentioned above, the PRACK message is an acknowledgement message sent by the calling device 10a in response to the received 183 message, and the PRACK message can contain a Contact field and carry the capability tag "video feature tag" in the Contact field. Therefore, the calling device 10a can delete the video capability tag "video feature tag" in the Contact field of the PRACK message first, and then send the PRACK message without the video capability tag to the network device 20.

[0286] S611': The calling device 10a sends a provisional acknowledgement request (PRACK) without the video capability tag to the network device 20.

[0287] Exemplarily, after the calling device 10a deletes the video capability tag indicating support of playing video ringback tone in the PRACK in the step S610, the calling device 10a can send the PRACK message without the video capability tag "video feature tag" to the network device 20, so as to realize the second interception of the video ringback tone function.

[0288] It can be understood that after the calling device 10a selects to execute the first interception process or the second interception process based on the result of the step S603, the calling device 10a can continue to execute the following step S612. Referring to FIG. 6, the calling device 10a can continue to execute the following step S612 after the step S611. Alternatively, the calling device 10a can continue to execute the following step S612 after the step S611'.

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

[0290] Exemplarily, after the network device 20 receives the provisional acknowledgement request (PRACK) sent by the calling device 10a, the network device 20 can reply a provisional acknowledgement response, for example, 200 (OK), to the calling device 10a, indicating that the acknowledgement has been received. It can be understood that the 200 (OK) at this time is a response to the PRACK message without the video capability tag sent by the calling device 10a.

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

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

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

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

[0295] In some embodiments, if the PRACK message sent by the calling device 10a in step S611 above does not successfully reach the network device 20, or the video capability flag in the PRACK message is not recognized by the network device 20, the network device 20 can continue to send an UPDATE message carrying a video port to the calling device 10a after performing step S615 above. At this time, the calling device 10a can also set the video port to zero after receiving the UPDATE message, for example, by setting "m = video 0" or the like to set the video port to 0 to close the video port. Based on this, the calling device 10a can return an update response (200 (OK)) to the network device 20 indicating that the use of the video port is not supported. This update response can cause the network device 20 to no longer trigger the calling device 10a to continue reserving video resources to establish QCI2 related signaling transmission processes.

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

[0297] S617: The calling device 10a and the network device 20 perform a normal communication establishment process using the color ring service.

[0298] As described above, the normal communication establishment process using the color ring service can include the process of completing the establishment of QCI1, and the process of completing the establishment of QCI2 and playing the video color ring. Specifically, the normal communication establishment process using the color ring service can refer to the process of establishing QCI1 performed by steps S316 to S320, and the process of completing the establishment of QCI2 and playing the video color ring performed by steps S321 to S327 shown in FIG. 3b of the above-described embodiment 1, and can refer to the specific description thereof shown in FIG. 3b and the related description, which will not be repeated here.

[0299] Based on the communication method implemented according to the interaction process shown in Fig. 6, when the called device opens the color ring service, if it is detected that the current network is congested or the signal strength is weak, and the communication quality does not meet the requirement of playing the video color ring, the calling device can cancel the function of playing the video color ring in time, so as to reduce the signaling overhead generated in the process of establishing the QCI2 with the network device, and further improve the stability of the calling device in voice communication with the called device through the network device, which is beneficial to improving the user's communication experience.

[0300] Next, in combination with Embodiment 3, a specific implementation process of the communication method provided in the application applied to the called device is introduced.

[0301] Embodiment 3 of the application takes the called device 10b as an example to introduce another specific implementation process of the communication method provided in the application. In the embodiment of the application, the interaction between the called device 10b and the network device 20 is mainly involved, wherein the network device 20 can include the core network, the base station, the color ring application server and other communication devices as described above, and will not be described here.

[0302] Fig. 7a shows a communication scenario suitable for color ring service according to an embodiment of the application.

[0303] As shown in Fig. 7a, when the calling device 10a detects that the user dials, it can send a call request to the called device 10b through the color ring platform. In the case that the called device 10b has opened the color ring service, the called device 10b can parse the video color ring issued by the color ring platform and play it, so as to display the incoming call interface of the video color ring being played.

[0304] Fig. 7b shows an implementation flowchart of a communication method according to an embodiment of the application.

[0305] Specifically, as shown in Fig. 7b, the implementation flowchart can include the following steps:

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

[0307] Exemplarily, after receiving the call request initiated by the calling device, the network device 20 can initiate the INVITE message corresponding to the call request of the calling device to the called device 10b.

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

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

[0310] S703: The called device 10b detects whether the user has turned off the video call service switch.

[0311] If the detection result is yes, i.e., the user has turned off the video call service switch, the called device 10b can execute the following step S705, delete the capability information in the request message sent to the network device 20, which declares support for the call service capability, and then send a request message without carrying the capability information to the network device 20.

[0312] If the detection result is no, i.e., the user has not turned off the video call service switch, the called device 10b can continue to execute the judgment process of the following step S704.

[0313] For example, the called device 10b can determine whether the user has turned off the video call service switch by detecting whether the user has turned off the switch corresponding to the video call service function on the relevant setting interface. The relevant setting interface can refer to the interface schematic diagram and the related description shown in the above-mentioned FIGS. 5a to 5b, which will not be repeated here.

[0314] S704: The called device 10b judges whether the current signal meets the communication quality requirement for playing the video call service.

[0315] If the judgment result is yes, i.e., it is determined that the current signal meets the communication quality requirement, the called device 10b can execute the following step S713 to execute the communication establishment process of normally using the call service.

[0316] If the judgment result is no, i.e., it is determined that the current signal does not meet the communication quality requirement, the called device 10b can execute the following step S705 to delete the capability information in the request message sent to the network device 20, which declares support for the call service capability, and then send a request message without carrying the capability information to the network device 20.

[0317] For example, the called device 10b can measure the signal quality of the current signal based on the signal quality parameters such as the reference signal received power (RSRP), the reference signal received quality (RSRQ), the signal-to-interference noise ratio (SINR), and the signal received strength indication (RSSI), and then judge whether the current signal meets the communication quality requirement for playing the video call service based on the signal quality. The specific judgment process can refer to the related description of judging whether the communication quality meets the communication quality requirement for playing the video call service in step S304 in the above-mentioned embodiment 1, and the related description of judging whether the current signal strength is lower than the strength threshold in step S609 in the above-mentioned embodiment 1, which will not be repeated here.

[0318] It can be understood that the called device 10b judges whether the communication quality meets the requirement of playing the video ringback tone based on RSRP, RSRQ, SINR, RSSI, etc. The corresponding relevant threshold can be different from the relevant threshold in step S304 in the above embodiment 1, or can be the same as the relevant threshold in step S304 in the above embodiment 1, which is not limited here.

[0319] S705: The called device 10b deletes the capability information of supporting the video ringback tone capability in the session establishment request 183 message.

[0320] Exemplarily, the called device 10b can send a session establishment request, for example, 183 (Session Progress), to the network device 20 in response to the call request (INVITE) sent by the network device 20. When the ringback tone service is normally used, the capability information field of the 183 message can carry "+g.3gpp.crs="rs"", which indicates that the called terminal 10b supports the ringback tone capability. After the called device 10b deletes the capability information field, for example, "+g.3gpp.crs="rs"", the 183 message sent to the network device 20 can not support the ringback tone capability.

[0321] S706: The called device 10b sends a session establishment request (183 (Session Progress)) that does not support the ringback tone capability to the network device 20.

[0322] Exemplarily, after the called device 10b deletes the video capability information in the 183 message in step S705, the capability information field of the 183 message sent to the network device 20 does not support the video ringback tone capability.

[0323] It can be understood that when the called device 10b performs the communication establishment process of normally using the ringback tone service in step S713, the 183 message sent to the network device 20 will normally declare in the capability information that the called device 10b supports the ringback tone capability through "+g.3gpp.crs="rs"".

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

[0325] Exemplarily, after the network device 20 receives the 183 message sent by the called device 10b in step S706, the network device 20 can reply to the called device 10b with a provisional acknowledgement request (PRACK).

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

[0327] Exemplarily, after receiving the above-mentioned provisional acknowledgement request (PRACK) sent by the network device 20, the called device 10b can reply a provisional acknowledgement response, for example, 200 (OK), to the network device 20, indicating that the acknowledgement has been received.

[0328] So far, the voice call channel (QCI1) can be established between the called device 10b and the network device 20.

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

[0330] Exemplarily, after the 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 a cache space for storing the voice data input by the user, a cache or memory space for storing the voice data of the user of the called device received, and the like.

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

[0332] Exemplarily, the called device 10b can send the result of the successful audio resource reservation to the network device 20 through the media session update request (UPDATE).

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

[0334] Exemplarily, after receiving the UPDATE message sent by the called device 10b, the network device 20 can reply a response message, for example, 200 (OK), to the called device 10b, indicating that the update has been received.

[0335] It can be understood that after the above-mentioned successful transmission of the INVITE message, the 183 (Session Progress), and the UPDATE message indicating the successful audio resource reservation between the called device 10b and the network device 20, the audio data channel (QCI1) used for the corresponding voice call is completed and ready for use.

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

[0337] Exemplarily, after interacting with the calling device, the network device 20 can send a ringing response message, for example, 180 (Ringing), to the called device 10b which has completed the audio resource reservation, after the user of the calling device completes the above-mentioned establishment of the QCI and the like. The ringing response message (180 (Ringing) can instruct the called device 10b to play a ring.

[0338] It can be understood that based on the above-mentioned 183 message without carrying the video capability flag, the ringing response message (180 (Ringing) sent by the network device 20 to the called device 10b can also not carry the video ringback. Correspondingly, the incoming call interface of the called device 10b playing the ring can refer to the incoming call interface 810 shown in FIG. 8a. As shown in FIG. 8a, the incoming call interface 810 can not display the related interface of playing the video ringback.

[0339] S713: The called device 10b performs the communication establishment process of normally using the ringback service.

[0340] Exemplarily, the above-mentioned communication establishment process of normally using the ringback service can include the process of completing the establishment of QCI1 and the process of completing the establishment of QCI2 and playing the video ringback.

[0341] Specifically, FIG. 7c shows a schematic diagram of a communication establishment process of normally using the ringback service.

[0342] As shown in FIG. 7c, the process can include the following steps S714-S725:

[0343] S714: The network device 20 sends a call request (INVITE) indicating playing the video ringback to the called device 10b.

[0344] Exemplarily, the call request (INVITE) sent by the network device 20 to the called device 10b can carry the related information indicating that the network device 20 hopes that the called device 10b plays the video ringback. The related information can indicate that the called device 10b supports the ringback capability. The specific execution process of this step S714 can refer to the related description of the above-mentioned step S701, which will not be repeated here.

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

[0346] Exemplarily, the execution content of this step S715 is the same as that of the above-mentioned step S701, and the specific execution process can refer to the related description of the above-mentioned step S702, which will not be repeated here.

[0347] S716: The called device 10b sends a session establishment request (183 (Session Progress)) carrying the video capability flag and claiming to support the ringback capability to the network device 20.

[0348] Exemplarily, after the called device 10b performs the judgment process of the above steps S703-S704, if it is determined that the QCI2 using the color ring service still needs to be established, the 183 message sent to the network device 20 will carry the above-mentioned video capability mark "+g.3gpp.crs="rs"" in the capability information field, and the video capability mark carried in the 183 message can declare the support of the color ring capability to the network device 20. That is, the called device 10b sends the 183 message carrying the video capability mark and declaring the support of the color ring capability to the network device 20.

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

[0350] Exemplarily, after receiving the 183 (Session Progress) sent by the called device 10b, the network device 20 can reply to the called device 10b with a provisional acknowledgment request (PRACK).

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

[0352] Exemplarily, after receiving the above-mentioned provisional acknowledgment request (PRACK) sent by the network device 20, the called device 10b can reply to the network device 20 with a provisional acknowledgment response, for example, 200 (OK), indicating that the acknowledgment has been received.

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

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

[0355] Exemplarily, after the network device 20 confirms the initiation of the process of establishing the called device 10B, it can continue to send the called device 10b the update (UPDATE) carrying the video port, so as to provide the called device 10b with the video port for transmitting the video color ring.

[0356] S720: The called device 10b sends an update response (200 (OK)) of successfully receiving the video port to the network device 20.

[0357] Exemplarily, the called device 10b can send the network device 20 the update response (200 (OK)) of successfully receiving the video port when detecting that the video resource reservation is successful. That is, the 200 (OK) indicates that the called device 10b has successfully received the UPDATE message sent by the network device 20 and obtained the video port.

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

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

[0360] Exemplarily, after receiving the video port sent by the network device 20 through the UPDATE message, the called device 10b can reserve corresponding video resources for the video call or play the video ringback tone, including storage resources and video data processing resources, etc., which are not limited herein.

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

[0362] Exemplarily, after successfully completing the video resource reservation, the called device 10b can notify the network device 20 through the UPDATE message, i.e., send a media session update request (UPDATE) to the network device 20.

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

[0364] Exemplarily, in response to the received UPDATE message, the network device 20 can reply an update response (200 (OK)) to the called device 10b.

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

[0366] S725: The called device 10b plays the video ringback tone.

[0367] It can be understood that, based on the above-mentioned 183 message carrying the video capability mark, after the network device 20 sends the ringing response message (180 (Ringing)) to the called device 10b according to the above-mentioned step S724, the network device 20 can continue to send the video ringback tone to the called device 10b through the RTP / RTCP package for the called device 10b to analyze and play. Correspondingly, the incoming call interface of the called device 10b playing the video ringback tone can refer to the incoming call interface 820 shown in FIG. 8b. As shown in FIG. 8b, the incoming call interface 820 can display the related interface of playing the video ringback tone.

[0368] FIG. 9 shows a structural schematic diagram of a user equipment according to an embodiment of the present application. The user equipment 10 can be any exemplary communication device in a dual-card terminal supporting dual-receive mode dual-SIM dual-standby (DR-DSDS).

[0369] As shown in FIG. 9, the user equipment 10 can 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, a headset jack 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a Subscriber Identification Module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric 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.

[0370] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the user equipment 10. In other embodiments of the present application, the user equipment 10 can include more or fewer components than shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0371] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video encoder, a Digital Signal Processor (DSP), a baseband processor, and / or a Neural-Network Processing Unit (NPU), etc. Different processing units can be independent devices, or can be integrated in one or more processors.

[0372] The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions.

[0373] In the embodiments of the present application, the processor 110 can run a communication system deployed in the user equipment 10 to implement the communication method provided in the present application, including implementing the communication method implemented by the calling device and the network device interaction provided in the above-mentioned embodiment 1 or embodiment 2, and also including implementing the communication method implemented by the called device and the network device interaction provided in the above-mentioned embodiment 3. The specific implementation process can be referred to the related description in the above-mentioned embodiments 1 to 3, which will not be described here.

[0374] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can directly call from the above-mentioned memory. Avoiding repeated access, reducing the waiting time of the processor 110, thus improving the efficiency of the system.

[0375] In some embodiments, the processor 110 can include one or more interfaces. The interface can 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, etc.

[0376] The USB interface 130 is an interface conforming to the USB standard specification, which can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the user equipment 10, and can also be used to transmit data between the user equipment 10 and peripheral devices. It can also be used to connect earphones to play audio through the earphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0377] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the user equipment 10. In some other embodiments of the present application, the user equipment 10 can also use different interface connection methods or combinations of multiple interface connection methods in the above-mentioned embodiments.

[0378] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive wireless charging input through a wireless charging coil of the user device 10. The charging management module 140 can charge the battery 142 and power the electronic device through the power management module 141.

[0379] The power management module 141 is configured 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 to power 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 be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), and the like. In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0380] The wireless communication function of the user device 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, and the like.

[0381] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the user device 10 can be configured to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.

[0382] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G and the like applied to the user device 10. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.

[0383] The wireless communication module 160 can provide solutions for wireless communication including Wireless Local Area Networks (WLAN) (e.g., Wireless Fidelity (Wi-Fi) network), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR) technology, etc. applied on the user equipment 10.

[0384] In some embodiments, the antenna 1 and the mobile communication module 150 of the user equipment 10 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the user equipment 10 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies mentioned above can 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 technology, etc. The GNSS mentioned above can include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), Beidou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).

[0385] The user device 10 implements display functions through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.

[0386] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), an Active-Matrix Organic Light Emitting Diode (AMOLED), a Flex Light-Emitting Diode (FLED), a Mini-LED, a Micro-LED, a Micro-OLED, a Quantum Dot Light Emitting Diodes (QLED), etc. In some embodiments, the user device 10 can include 1 or N display screens 194, N being a positive integer greater than 1.

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

[0388] 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 through the external memory interface 120 to implement data storage functions. For example, music, video, etc. files are saved in the external memory card.

[0389] The internal memory 121 can be used to store computer executable program codes including instructions. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), and the like. The data storage area can store data (such as audio data, a phone book, etc.) created during use of the user equipment 10, and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like.

[0390] In the embodiments of the present application, the processor 110 controls the radio frequency circuit 400 deployed in the user equipment 10 to perform the corresponding steps in the interaction processes shown in FIGS. 3a, 3b, 6, 7b or 7c by running the instructions stored in the internal memory 121, and implements the above-mentioned communication method provided by the present application, so as to reduce the occurrence of network lag or large delay and the like in the dual-card service switching process.

[0391] The user equipment 10 can realize audio functions such as music playing, recording, etc. through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc.

[0392] The audio module 170 is used to convert digital audio information into an analog audio signal output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or part of the functions of the audio module 170 can be disposed in the processor 110.

[0393] The speaker 170A, also known as a "loudspeaker", is used to convert an audio electrical signal into a sound signal. The user equipment 10 can listen to music or listen to a hands-free call through the speaker 170A.

[0394] The receiver 170B, also known as a "earpiece", is used to convert an audio electrical signal into a sound signal. When the user equipment 10 answers an incoming call or a voice message, the receiver 170B can be held close to the ear to answer the call or listen to the voice.

[0395] The microphone 170C, also known as a "microphone", "sound transducer", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak into the microphone 170C close to the mouth to input the sound signal into the microphone 170C. The user equipment 10 can be provided with at least one microphone 170C.

[0396] The earphone interface 170D is configured to connect a wired earphone.

[0397] The keys 190 include a power key, a volume key, and the like. The keys 190 can be mechanical keys. Alternatively, the keys 190 can be touch keys. The user device 10 can receive key inputs and generate key signal inputs related to user settings and function control of the user device 10.

[0398] The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts and touch vibration feedback.

[0399] The indicator 192 can be an indicator light, which can be used to indicate a charging state, a power change, and can also be used to indicate a message, a missed call, a notification, and the like.

[0400] The SIM card interface 195 is configured to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the user device 10. In some embodiments, the user device 10 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the user device 10 and cannot be separated from the user device 10.

[0401] As an example, FIG. 10 illustrates a communication system architecture diagram applied to a user device according to an embodiment of the present application.

[0402] It should be understood that the layered architecture used by the communication system 800 applied to the user device can divide the software into several layers, and the layers communicate with each other through a software interface. These layers can include, for example, an application layer, an application framework layer, an Android™ runtime and system library, a hardware abstraction layer, a kernel layer, and the like. The following will only be described by taking the layer where the functional modules involved in the communication method provided in the embodiments of the present application are located as an example.

[0403] In FIG. 10, from top to bottom, there are an application layer 801, an application framework layer 802, a kernel layer 803, and hardware 804. The application layer 801 can include a series of application packages.

[0404] Continuing to refer to FIG. 10, in particular to the technical solutions provided by embodiments of the present application, the application program layer 801 can include a telephone application 801A, a settings application 801B, a compatible function opening application 801C, and the like. Among them, the telephone application 801A can be used by the user to initiate a call service operation, and the compatible function opening application 801C can provide an entry for opening a compatible function. Continuing to refer to FIG. 10, the application program framework layer 802 provides application programming interfaces (Application Programming Interface, API) and programming frameworks for the application programs of the application program layer. In some implementations, these programming interfaces and programming frameworks can be described as functions.

[0405] Exemplarily, the application program framework layer 802 can include a telephone / IMS service 802A, a CS Phone 802B, a PS Phone 802C, and the like. Among them, the telephone / IMS service 802A is an IP multimedia subsystem in the communication system of the user equipment 100, used to establish a media session, and can implement voice services under a packet switched network, such as the exchange of 4G and 5G networks, and the like. Among them, the voice service of 4G under the support of IMS is called VoLTE, and the voice service of 5G under the support of IMS is called VoNR. After the media session is established, that is, during the call, the IMS service 802A invokes the SIP module in the Modem to make various SIP request messages, such as INVITE messages, ACK messages, HTTP 800 OK messages, and the like, based on the network standard in which the user equipment 100 is located.

[0406] The CS Phone 802B is used for calls in a circuit switched (Circuit Switched, CS) network. When the IMS service 802A is not available (the mobile phone is camped on a 2G / 3G or IMS is not successfully registered), a call can be implemented through a CS call. The CS Phone 802B can also be used to perform a domain switching redial (commonly known as CS redial) when an IMS call fails.

[0407] The PS Phone 802C is used for calls in a packet switched (Packet Switched, PS) network. When the IMS service 802A is available, an IMS call (VoLTE, VoNR) can be made through a PS domain.

[0408] It should be understood that the above description is only an example for better understanding the specific implementation of the communication method provided by the present application, and does not constitute a limiting description of the embodiments of the present application.

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

[0410] With reference back to FIG. 10, in particular to the technical solutions provided in the embodiments of the present application, the kernel layer 803 can include a transmission control protocol / internet protocol stack (TCP / IP stack). The TCP / IP stack refers to a protocol cluster capable of realizing information transmission between multiple different networks. In actual applications, the TCP / IP stack of the kernel layer 803 mainly serves online services, and also provides services for video-related data processing during a call service. With reference back to FIG. 10, the hardware 804 of the communication system 800 can include a modem 804A, an antenna 804B, and the like. The antenna 804B is used to receive content sent by the network side, such as the radio resource control (RRC) connection configuration message, the SIP request message, and the SRS that needs to be round-robin sent, as described in the above embodiments. For example, a data packet encrypted by the packet data convergence protocol (PDCP) will be sequentially transmitted to the radio link control layer (RLC layer), the media access control layer (MAC layer), and the physical layer (PHY layer), and then transmitted to the antenna 804B, and finally sent to the network side by the antenna 804B. Correspondingly, the data packet received by the antenna 804B from the network side will be sequentially transmitted to the PHY layer, the MAC layer, and the RLC layer, and then processed by the PDCP layer.

[0411] It can be understood that, in the process in which the user starts a call service based on the phone application 801A of the user equipment 100, the above-mentioned phone / IMS service 802A can create a call, make 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 in the call service. In the embodiments of the present application, the communication system 800 can start the inactivity detection timer T2 corresponding to the settings on the user equipment 100 after monitoring that there is no service at the PDCP layer.

[0412] In addition, it also needs to be explained that the processing of various SIP messages involved in the embodiments of the present application can be realized by the SIP module in the Modem 804A. The processing of various RRC messages involved in the embodiments of the present application, such as the RRC INVITE message, can be realized by the RRC module in the Modem 804A.

[0413] It is understood that the layers in the communication system software structure shown in Figure 10 and the components contained in each layer do not constitute a specific limitation on the user equipment 100. In other embodiments of this application, the communication system of the user equipment 100 may include more or fewer layers than shown in Figure 10, and each layer may also include more or fewer components than shown in Figure 10; this application does not impose any limitations.

[0414] In this embodiment, the User Equipment (UE) monitors the Physical Downlink Control Channel (PDCCH) during discontinuous reception (DRX). After receiving a paging message sent to itself, it can respond to the paging message and establish an RRC connection with the base station 200. For example, the UE's response to the received paging message can trigger a Random Access Channel Process (RACH). This RACH process is used to complete uplink time synchronization and is typically triggered by a PDCCH order, the MAC layer, or the RRC layer. Furthermore, the UE 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 the base station 200.

[0415] This application also provides a computer program product for implementing the communication methods provided in the above embodiments.

[0416] Various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or combinations of these implementation methods. Embodiments of this application can be implemented as computer program modules or module code executable on a programmable system, the programmable system including 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] Computer program modules or module code can be applied to input instructions to perform the functions described in this application 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, the 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] The module code can be implemented in a high level procedural or object-oriented programming language to communicate with a processing system. However, the module code can be implemented in assembly or machine language, if desired. In fact, the mechanisms described herein are not limited in scope to any particular programming language. In any case, the language can be a compiled or interpreted language.

[0419] In some cases, the disclosed embodiments can be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments can also be implemented as instructions carried by or stored on a transitory or non-transitory machine-readable (e.g., computer-readable) medium, which can be read and executed by one or more processors. For example, a processor(s) can retrieve a set of instructions from a fixed or removable medium, and execute the instructions in real-time. Alternatively, multiple sets of instructions can be stored in the medium, and the instructions can be fetched from the medium and executed in real-time. Furthermore, the instructions can be retrieved and executed in real-time or off-line. The medium may, for example, include a floppy disk, a DVD, a Blu-ray Disc™, a Compact Disc Read Only Memory (CD-ROM), a magnetic tape, a flash memory, a PROM, an EPROM, a RAM, a ROM, or another suitable medium. The medium can be portable, installed in a computer, or located on a server. In any case, the medium can be in a form that is accessible by a processor in a computer-based system, or in a form that is accessible by a processor in a server-based system. The medium can be in a form that is suitable for retrieval by a processor in a computer-based system, or in a form that is suitable for retrieval by a processor in a server-based system.

[0420] Reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one example embodiment disclosed in this application. The appearance of the phrases "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.

[0421] The disclosure of the present embodiments also relates to an apparatus for performing operations in text. This apparatus can be specially constructed for the required purposes, or it can comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program can be stored in a computer readable medium, such as, but not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, application specific integrated circuits (ASICs), or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus. Furthermore, the computers described in the specification can include a single processor or can be architectures employing multiple processor designs for increased computing capability.

[0422] Additionally, the language used in the specification has been principally selected for readability and instructional purposes and can not have been selected to delineate or circumscribe the disclosed subject matter. Accordingly, the present embodiments are intended to be illustrative, not limiting, of 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; initiating a call request in response to the first user operation; determining whether a current signal meets a communication quality threshold; in a case where the current signal meets the communication quality threshold, sending a first request message carrying a first capability flag to a network device; and in a case where the current signal does not meet the communication quality threshold, sending a second request message not carrying the first capability flag to the network device.

2. The method of claim 1, wherein, The communication quality threshold comprises a first quality parameter threshold supporting playing a video ringback tone, and The first capability flag is used to indicate that the terminal device has a capability of supporting playing the video ringback tone.

3. The method of claim 1, wherein, The communication quality threshold comprises at least one of the following: a power threshold corresponding to a reference signal receiving power; a quality threshold corresponding to a reference signal receiving quality; a ratio threshold corresponding to a signal-to-interference noise ratio; a strength threshold corresponding to a signal receiving strength indication; and a time threshold corresponding to a signal round trip time, wherein the signal round trip time is used to indicate a time interval between a time of sending a first type of message to a time of receiving a second type of message, the first type of message comprising a third request message, and the second type of message comprising a response message returned in response to the third request message or a fourth request message returned in response to the third request message.

4. The method of claim 3, wherein, The determination of whether the current signal meets the communication quality threshold comprises one or more of the following: determining that the current signal does not meet the communication quality threshold based on a first reference signal receiving power of the current signal being lower than a first power threshold; determining that the current signal does not meet the communication quality threshold based on a first reference signal receiving quality of the current signal being lower than a first quality threshold; determining that the current signal does not meet the communication quality threshold based on a first signal-to-interference noise ratio of the current signal being lower than a first ratio threshold; determining that the current signal does not meet the communication quality threshold based on a first signal receiving strength indication of the current signal being lower than a first strength threshold; and determining that the current signal does not meet the communication quality threshold based on a first signal round trip time of the current signal being greater than a first time threshold.

5. The method according to any one of claims 1 to 4, characterized in that, The method comprises: in response to sending the second request message not carrying the first capability flag to the network device, the terminal device does not play the video ringback tone.

6. The method according to any one of claims 1 to 4, characterized in that, The method comprises: in response to sending the first request message carrying the first capability flag to the network device, the terminal device plays the video ringback tone.

7. The method of claim 1, wherein, The sending of the second request message not carrying the first capability flag to the network device in a case where the current signal does not meet the communication quality threshold comprises: in the case where 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 sending the second request message to the network device.

8. The method according to any one of claims 1 to 4, 7, characterized in that, The first request message and the second request message comprise a Contact field, the first capability flag comprises a video characteristic label, and The sending of the second request message not carrying the first capability flag to the network device in a case where the current signal does not meet the communication quality threshold comprises: In a case where the current signal does not satisfy the communication quality threshold, a video characteristic label in a 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 characteristic label.

9. The method of claim 8, wherein, The first request message and the second request message comprise a call request, and In a case where the current signal does not satisfy the communication quality threshold, the second request message without the first capability mark is sent to the network device, comprising: In a case where the current signal does not satisfy the communication quality threshold, a video characteristic label carried in a Contact field of the first call request is deleted to obtain the second call request, and The second call request is sent to the network device.

10. The method according to any one of claims 1 to 4, 7, characterized in that, Before judging whether the current signal satisfies the communication quality threshold, the method further comprises: Receiving a second user operation; In response to the second user operation, the video ringback function is closed, and a third request message without the first capability mark is sent to the network device.

11. The method according to any one of claims 1 to 4, 7, characterized in that, Before judging whether the current signal satisfies the communication quality threshold, the method further comprises: Receiving a third user operation; In response to the third user operation, the video ringback function is opened, and a fourth request message with the first capability mark is sent to the network device.

12. The method of claim 11, wherein, 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 mark comprises a video characteristic label.

13. The method of claim 12, wherein, A manner of calculating a first signal loop time of the current signal, comprising: Obtaining a first timestamp corresponding to a time of sending the fourth request message; Obtaining a second timestamp corresponding to a time of receiving a first response message returned by the network device, wherein the first response message comprises a request response message; Based on a difference between the second timestamp and the first timestamp, the first signal loop time is calculated.

14. The method of claim 12, wherein, A manner of calculating a first signal loop time of the current signal, comprising: Obtaining a first timestamp corresponding to a time of sending the fourth request message; Obtaining a third timestamp corresponding to a time of receiving a fifth request message sent by the network device, wherein the fifth request message comprises a session establishment request; Based on a difference between the third timestamp and the first timestamp, the first signal loop time is calculated.

15. The method of claim 9 or 12, wherein, The method further comprises: Receiving a second response message corresponding to the temporary confirmation request sent by the network device, wherein the second response message comprises a temporary confirmation response, and a voice call channel is established between the network device and the network device.

16. The method of claim 15, wherein, In a case where the current signal does not satisfy the communication quality threshold, the method further comprises: Receiving a first update message carrying a video port sent by the network device; The video port in the first update message is set 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 comprises a temporary confirmation response, and the third response message indicates that the video port is not used.

17. The method of claim 15, wherein, After a voice call channel is established between the network device, the method further includes: receiving a first ring message sent by the network device; in response to the first ring message, displaying a call interface without playing a video ringback tone.

18. The method of any one of claims 1 to 4, 7, wherein, Before determining whether the current signal meets the communication quality threshold, the method further includes: detecting that the first user operation corresponds to an initiated call request of a video call request; sending a sixth request message carrying the first capability flag to the network device.

19. The method of any one of claims 1 to 4, 7, wherein, Before determining whether the current signal meets the communication quality threshold, the method further includes: detecting that the first user operation corresponds to an initiated call request of a voice call request; and receiving a second user operation; in response to the second user operation, closing the video ringback tone function and sending a seventh request message not carrying the first capability flag to the network device.

20. A communication method applied to a network device, comprising: The method includes: receiving an eighth request message sent by the terminal device; based on whether the eighth request message carries a first capability flag, determining whether to play a video ringback tone for the terminal device, wherein the first capability flag is used to indicate that the terminal device has the capability to play a video ringback tone; in a case where the eighth request message carries the first capability flag, playing a video ringback tone for the terminal device; in a case where the eighth request message does not carry the first capability flag, not playing a video ringback tone for the terminal device.

21. The method of claim 20, wherein, The case where the eighth request message carries the first capability flag, playing a video ringback tone for the terminal device, includes: in a case where the eighth request message carries the first capability flag, sending a first update message carrying a video port to the terminal device.

22. The method of claim 20, wherein, The case where the eighth request message does not carry the first capability flag, not playing a video ringback tone for the terminal device, includes: in a case where the eighth request message does not carry the first capability flag, not sending a first update message carrying a video port to the terminal device.

23. The method of any one of claims 20-22, wherein, The first capability flag includes a video characteristic label in a Contact field.

24. The method of claim 23, wherein, The eighth request message includes a call request or a temporary confirmation request.

25. A communication method applied to a terminal device, comprising: The method includes: receiving a third call request sent by the network device; determining whether a current signal meets a communication quality threshold; in a case where the current signal meets the communication quality threshold, sending a ninth request message carrying a second capability flag to the network device; in a case where the current signal does not meet the communication quality threshold, sending a tenth request message not carrying the second capability flag to the network device.

26. The method of claim 25, wherein, The communication quality threshold includes a second quality parameter threshold supporting playing a video ringback tone, and the second capability flag is used to claim that the terminal device has the capability to support playing a video ringback tone.

27. The method of claim 25, 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; a ratio threshold corresponding to a signal-to-interference-and-noise ratio; an intensity threshold corresponding to a signal received strength indication.

28. The method of claim 27, wherein, The determination of whether the current signal meets the communication quality threshold includes: based on a second reference signal received power of the current signal being lower than a second power threshold, determining that the current signal does not meet the communication quality threshold; determining that the current signal does not satisfy the communication quality threshold based on a second reference signal received quality of the current signal being lower than a second quality threshold; determining that the current signal does not satisfy the communication quality threshold based on a second signal-to-interference-and-noise ratio of the current signal being lower than a second ratio threshold; determining that the current signal does not satisfy the communication quality threshold based on a second signal received strength indication of the current signal being lower than a second strength threshold.

29. The method of any one of claims 25-28, wherein, The method comprises: 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 ringback tone.

30. The method of any one of claims 25-28, wherein, The method comprises: In response to sending the ninth request message with the second capability flag to the network device, the terminal device plays the video ringback tone.

31. The method of claim 25, wherein, The tenth request message without the second capability flag is sent to the network device in the case that the current signal does not satisfy the communication quality threshold, comprising: In the case that the current signal does not satisfy the communication quality threshold, the second capability flag in the ninth request message is deleted to obtain the tenth request message; and The tenth request message is sent to the network device.

32. The method of any one of claims 25-28, 31, wherein, The ninth request message and the tenth request message comprise a session establishment request, and The second capability flag comprises a capability information field in the session establishment request for declaring support for the ringback tone capability.

33. The method of any one of claims 25-28, 31, wherein, Before determining whether the current signal satisfies the communication quality threshold, the method further comprises: receiving a fourth user operation; In response to the fourth user operation, the video ringback tone function is turned off and an eleventh request message without the second capability flag is sent to the network device.

34. The method of any one of claims 25-28, 31, wherein, Before determining whether the current signal satisfies the communication quality threshold, the method further comprises: receiving a fifth user operation; In response to the fifth user operation, the video ringback tone function is turned on and an eleventh request message without the second capability flag is sent to the network device.

35. A communication method applied to a network device, the method comprising: The method comprises: receiving a twelfth request message sent by a terminal device; Based on whether the twelfth request message carries a second capability flag, it is determined whether to play a video ringback tone for the terminal device, wherein the second capability flag is used to declare that the terminal device has the capability to support playing the video ringback tone; In the case that the twelfth request message carries the second capability flag, the video ringback tone is played for the terminal device; In the case that the twelfth request message does not carry the second capability flag, the video ringback tone is not played for the terminal device.

36. The method of claim 35, wherein, In the case that the twelfth request message carries the second capability flag, a second update message carrying a video port is sent to the terminal device. In the case that the twelfth request message does not carry the second capability flag, a second update message carrying a video port is not sent to the terminal device.

37. The method of claim 35, wherein, The twelfth request message comprises a session establishment request, and The second capability flag comprises a capability information field of the session establishment request.

38. The method of any one of claims 35-37, wherein, comprise: one or more processors; 39. A communications device, comprising: ​ ​ one or more memories; the one or more memories store one or more programs, which, when executed by the one or more processors, cause the communication device to perform the communication method of any one of claims 1 to 38.

40. A communication system, characterized by comprising a terminal device and a network device, wherein, the terminal device is configured to perform the communication method of any one of claims 1 to 19; the network device is configured to perform the communication method of any one of claims 20 to 24.

41. A communication system, characterized by comprising a terminal device and a network device, wherein, the terminal device is configured to perform the communication method of any one of claims 25 to 34; the network device is configured to perform the communication method of any one of claims 35 to 38.

42. A computer readable medium, characterized in that, the readable medium stores instructions, which, when executed on a computer, cause the computer to perform the communication method of any one of claims 1 to 38.

Citation Information

Patent Citations

  • Video polyphonic ringtone playing method and system, server, network equipment and storage medium

    CN112738053A

  • Video polyphonic ringtone playing method, server and terminal

    CN112866488A

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

    CN118677984A

  • Method for realizing video color ring broadcast

    CN1845569A

  • Method for controlling video color ring back tone in call and related apparatus

    WO2020073998A1