Calling method, device, equipment, terminal and readable storage medium

By determining the message type, whether to send a ringback tone or instruct to play a local ringback tone, the problem of poor sound quality of the ringtone media stream in the satellite terminal ringtone service is solved, and the ringtone playback effect of the ringtone service is improved.

CN119449954APending Publication Date: 2025-02-14VIVO MOBILE COMM CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310960141.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-01
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

When performing ring ring service at satellite terminals, the low-speed voice encoding method leads to poor sound quality of ring ring media streaming, affecting the playback effect.

Method used

By determining whether the received message is used to transmit the media stream of ring ring service for the calling terminal, or whether it is not used to transmit the media stream of prompt tone, it is determined whether to send a ringback tone to the calling terminal or instruct to play the local ringback tone. This avoids playing ringtones with poor sound quality.

Benefits of technology

It effectively avoids the caller terminal playing ringtones with poor sound quality, improves the ringtone playback effect of ringtone services, and provides users with a better ringback tone experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449954A_ABST
    Figure CN119449954A_ABST
Patent Text Reader

Abstract

The invention discloses a calling method, device and equipment, a terminal and a readable storage medium, and belongs to the technical field of communication, and the calling method comprises the steps that first equipment receives a first message; the first equipment executes a first action under the condition that the first message meets a first condition; wherein the first condition that the first message meets the first condition comprises that the first message is used for transmitting a first media stream corresponding to the polyphonic ringtone service for the calling terminal, or the first message is not used for transmitting a second media stream corresponding to the prompt tone for the calling terminal; the first action comprises any one of the following items: the first equipment sends a ring-back tone to the calling terminal; the first device controls the second device to send a ring-back tone to the terminal; and the first device sends a second message to the calling terminal, wherein the second message is used for indicating the calling terminal to play the local ring-back tone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a calling method, device, equipment, terminal and readable storage medium. Background Art

[0002] In the related art, users can customize the ringback tone of the terminal by signing up for the color ringback service, such as songs, music, user-pre-recorded voice and other personalized sounds, so that when being called by other terminals, the customized personalized sound can be played to other terminals to replace the traditional prompt tone. Among them, when the calling terminal is a satellite terminal, if the called terminal has the color ringback service, the specific core network equipment providing services for the satellite terminal can convert the media stream of the received color ringback from a high-rate voice coding method to a low-rate voice coding method.

[0003] However, the media stream sound quality of the color ring tone obtained by the low-rate speech coding method is poor, which leads to poor playing effect of the color ring tone. Summary of the invention

[0004] The embodiments of the present application provide a calling method, apparatus, device, terminal and readable storage medium, which can improve the ringtone playing effect of the color ringback tone service.

[0005] In a first aspect, a calling method is provided, the method comprising: a first device receives a first message; the first device executes a first action when the first message satisfies a first condition; wherein the first message satisfies the first condition including: the first message is used to transmit a first media stream corresponding to a color ring back tone service to a calling terminal, or the first message is not used to transmit a second media stream corresponding to a prompt tone to the calling terminal; the first action comprises any one of the following: the first device sends a ringback tone to the calling terminal; the first device controls the second device to send a ringback tone to the calling terminal; the first device sends a second message to the calling terminal, the second message being used to instruct the calling terminal to play a local ringback tone.

[0006] In a second aspect, a calling method is provided, which includes: the calling terminal receives a third message when sending a call request; the calling terminal plays a local ringback tone when the third message is used to transmit a first media stream corresponding to a color ringback tone service to the calling terminal; or, the calling terminal plays a prompt tone when the third message is used to transmit a second media stream corresponding to a prompt tone to the calling terminal.

[0007] According to a third aspect, a calling method is provided, which includes: a third device receives a call request message, the call request message is used to request a call to a called terminal; the called terminal subscribes to a color ringback tone service; when the calling terminal accesses the network via a satellite, the third device sends at least one of a ringback tone and a second message to the calling terminal; wherein the second message is used to instruct the calling terminal to play a local ringback tone.

[0008] In a fourth aspect, a calling device is provided, which includes: a receiving module and a processing module; the receiving module is used to receive a first message; the sending module is used to execute a first action when the first message received by the receiving module satisfies a first condition; wherein the first message satisfies the first condition including: the first message is used to transmit a first media stream corresponding to a color ringback service to a calling terminal, or the first message is not used to transmit a second media stream corresponding to a prompt tone to the calling terminal; the first action includes any one of the following: the first device sends a ringback tone to the calling terminal; the first device controls the second device to send a ringback tone to the calling terminal; the first device sends a second message to the calling terminal, and the second message is used to instruct the calling terminal to play a local ringback tone.

[0009] In the fifth aspect, a calling device is provided, which includes: a receiving module, a sending module and a playing module; the receiving module is used to receive a third message when the sending module sends a call request; the playing module is used to play a local ringback tone when the third message is used to transmit a first media stream corresponding to a color ringback tone service to a calling terminal; or, the playing module is used to play a prompt tone when the third message is used to transmit a second media stream corresponding to a prompt tone to a calling terminal.

[0010] In the sixth aspect, a calling device is provided, which includes: a receiving module and a sending module; the receiving module is used to receive a call request message, the call request message is used to request a call to a called terminal; the called terminal subscribes to a color ringback service; the sending module is used to send at least one of a ringback tone and a second message to the calling terminal when the calling terminal accesses the network via a satellite; wherein the second message is used to instruct the calling terminal to play a local ringback tone.

[0011] In the seventh aspect, a device is provided, which includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the third aspect are implemented.

[0012] In an eighth aspect, a device is provided, comprising a processor and a communication interface, wherein the processor is used to perform a first action when a first message satisfies a first condition, and the communication interface is used to receive the first message; or, the processor is used to send at least one of a ringback tone and a second message to a calling terminal when the calling terminal accesses a network via a satellite, and the communication interface is used to receive a call request message.

[0013] In a ninth aspect, a terminal is provided, wherein the network side device includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the second aspect are implemented.

[0014] In the tenth aspect, a terminal is provided, including a processor and a communication interface, wherein the processor is used to play a local ringback tone when a third message is used to transmit a first media stream corresponding to a color ringback tone service to a calling terminal; or, the calling terminal plays a prompt tone when the third message is used to transmit a second media stream corresponding to a prompt tone to the calling terminal, and the communication interface is used to receive the third message when sending a call request.

[0015] In the eleventh aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented, or the steps of the method described in the third aspect are implemented.

[0016] In the twelfth aspect, a wireless communication system is provided, including: a device and a terminal, wherein the device can be used to execute the steps of the method described in the first aspect or the third aspect, and the terminal can be used to execute the steps of the method described in the second aspect.

[0017] In the thirteenth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instructions to implement the method as described in the first aspect, or the method as described in the second aspect, or the method as described in the third aspect.

[0018] In the fourteenth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium, and the program / program product is executed by at least one processor to implement the method as described in the first aspect, or the method as described in the second aspect, or the method as described in the third aspect.

[0019] In an embodiment of the present application, a first device receives a first message; the first device performs a first action when the first message satisfies a first condition; wherein the first message satisfies the first condition including: the first message is used to transmit a first media stream corresponding to a color ring back service to a calling terminal, or the first message is not used to transmit a second media stream corresponding to a prompt tone to a calling terminal; the first action includes any one of the following: the first device sends a ring back tone to a calling terminal; the first device controls a second device to send a ring back tone to a calling terminal; the first device sends a second message to a calling terminal, and the second message is used to instruct the calling terminal to play a local ring back tone. Through this scheme, it is possible to determine whether the calling terminal plays a color ring back tone by determining whether the message received by the first device is used to transmit a first media stream corresponding to a color ring back service to a calling terminal, or whether it is not used to transmit a second media stream corresponding to a prompt tone to a calling terminal. Therefore, when the calling terminal needs to play a color ring back tone, the calling terminal can be prevented from playing a color ring back tone with poor sound quality by directly sending a ring back tone to the calling terminal or instructing the calling terminal to play a local ring back tone, so that a ring back tone with better ring tone playing effect can be played for the user, thereby improving the ring tone playing effect of the color ring back tone service. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a possible structural diagram of a communication system involved in an embodiment of the present invention;

[0021] Figure 2 It is a flowchart of an IMS call provided in an embodiment of the present application;

[0022] Figure 3 This is one of the flowcharts of a calling method provided in an embodiment of the present application;

[0023] Figure 4 It is a flow chart of an IMS call based on a modified SDP provided in an embodiment of the present application;

[0024] Figure 5 It is a flowchart of an IMS call in which AS-1 controls MRF-1 to perform RTP connection, provided in an embodiment of the present application;

[0025] Figure 6 This is a second flowchart of a calling method provided in an embodiment of the present application;

[0026] Figure 7 This is a flowchart of a calling method provided in an embodiment of the present application;

[0027] Figure 8 This is a schematic diagram of an example flow of an IMS call provided in an embodiment of the present application;

[0028] Fig. 9This is a fourth flowchart of a calling method provided in an embodiment of the present application;

[0029] Fig.10 It is a structural diagram of a calling device provided in an embodiment of the present application;

[0030] Fig.11 It is a structural diagram of a calling device provided in an embodiment of the present application;

[0031] Fig.12 It is a structural diagram of a calling device provided in an embodiment of the present application;

[0032] Fig.13 It is a schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application;

[0033] Fig.14 is a schematic diagram of the hardware structure of a terminal provided in an embodiment of the present application;

[0034] Fig.15 It is a hardware structure diagram of a core network device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

[0036] The terms "first", "second", etc. of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, "A or B" covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0037] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0038] The term "indication" in this application can be a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.

[0039] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following descriptions, but these technologies can also be applied to systems other than NR systems, such as the 6th generation (6 th Generation, 6G) communication system.

[0040] Figure 1A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR), a virtual reality (Virtual Reality, VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle-mounted device (Vehicle User Equipment, VUE), a ship-mounted device, a pedestrian terminal (Pedestrian User Equipment, PUE), a smart home (home appliances with wireless communication functions, such as refrigerators, televisions, washing machines or furniture, etc.), a game console, a personal computer (Personal Computer, PC), a teller machine or a self-service machine and other terminal side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. In addition to the above-mentioned terminal devices, it can also be a chip in the terminal, such as a modem chip, a system-on-chip (System on Chip, SoC). It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be referred to as a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (Wireless Local Area Network, WLAN) access point (AccessPoint, AS) or a wireless fidelity (Wireless Fidelity, WiFi) node, etc.Among them, the base station may be referred to as a Node B (NB), an evolved Node B (eNB), a next generation Node B (gNB), a New Radio Node B (NR Node B), an access point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a radio base station, a radio transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B (home evolved Node B), a Transmission Reception Point (TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiments of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.

[0041] The core network equipment may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data storage (Unified Data Repository, UDR), home user server (Home Subscriber Server, HSS), centralized network configuration (CNC), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiments of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.

[0042] Currently, when a terminal (user equipment, UE) performs a multimedia subsystem (IP Multimedia Subsystem, IMS) service with another terminal, such as a voice call service or a video call service, the terminal can customize a color ringback tone service to improve the call experience.

[0043] The following uses UE-1 as the calling terminal, UE-2 as the called terminal, and a voice call service as an example to illustrate the process of the IMS service. Figure 2 As shown, the process of the IMS service may include the following steps 1 to 11. It should be noted that: Figure 2The device ending with -1 is the core network device that provides services for UE-1; Figure 2 The device ending with -2 is the core network device that provides services for UE-2.

[0044] Step 1: The user of UE-1 dials the phone number of UE-2, and UE-1 sends an Invite message to UE-2.

[0045] Optionally, the invite message may include number information of UE-2 and Session Description Protocol (SDP) offer information.

[0046] Further optionally, the SDP offer includes a voice coding mode supported by UE-1.

[0047] Optionally, the above invite message may be routed to UE-2 via an IMS core network device.

[0048] Exemplarily, the SDP offer may include:

[0049] m=audio 0RTP / AVP 97

[0050] a=rtpmap:97AMR / 8000 / 1

[0051] a=fmtp:97mode-set=0,1,2,3,4,5,6,7;mean-awb-bitrate=4750

[0052] Among them, the m line represents the media type is voice service; the a line represents the attribute information of the voice service. Among them, "97" represents the RTP payloadtype; "AMR" represents the encoding format is AMR-NB, "8000" is the sampling rate, and "1" represents mono. In the "a=fmtp" line, two parameters are used to specify the encoding mode and bit rate. The "0,1,2,3,4,5,6,7" in the parameter "mode-set" represents the encoding mode supported by AMR-NB, and the selected mode will affect the encoding efficiency and quality; the parameter "mean-awb-bitrate=4750" represents the average bit rate of 4.75kbps.

[0053] It should be noted that the Session Border Controller (SBC) is an important network node in the IMS network. It is located at the border of the IMS network and plays an important role in connecting the terminal to the IMS core network. Its main functions include access permission control, network topology hiding, Network Address Translation (NAT) and NAT traversal, Quality of Service (QoS) and bandwidth policy adjustment. SBC can include both the control plane and the user plane, or the control plane and the user plane can be separated. For example, SBC-C is used for control and SBC-U is used for transmitting media data.

[0054] In addition, SBC / Proxy Call Session Control Function (P-CSCF) represents an IMS network element that includes both SBC functions and P-CSCF functions, for example, an SBC including a P-CSCF function, a P-CSCF including an SBC function, or a network element that is a combination of an SBC and a P-CSCF.

[0055] Step 2: UE-2 replies with a response message.

[0056] Optionally, UE-2 may reply with a 183 response message, which includes an SDP answer, and the SDP answer is used to negotiate with UE-1 the voice coding method used for this call.

[0057] Step 3: Optionally, when UE-2 starts ringing, UE-2 may also reply with a 180 response message.

[0058] Optionally, when UE-2 is currently busy or refuses to answer the call, it may reply with a call failure message, that is, a 4xx message.

[0059] For example, when UE-2 is currently busy, that is, there is already a call, UE-2 can reply with a 487 response message to indicate that UE-2 is currently unable to answer a new call.

[0060] Step 4-10: Application Server (AS)-2 establishes a Real-time Transport Protocol (RTP) connection between UE-1 and Media Resource Function (MRF).

[0061] Optionally, the AS-2 is an application server that provides services for UE-2, and the RTP connection can be used to send a color ringback tone media stream or a prompt tone media stream to UE-1.

[0062] Optionally, AS-2 may determine whether to send a color ring tone or indication information to UE-1 according to a response message of UE-2 or according to a current state of UE-2.

[0063] For example, when UE-2 is not turned on, after receiving the invite message from UE-1, AS-2 may not send an invite message to UE-2, but directly execute step 4-10 and send a prompt tone of "the called user is turned off" to UE-1.

[0064] Exemplarily, when UE-2 is currently in a normal state and has no other calls, UE-2 can reply with a 180 response message, and the RTP connection established by AS-2 for UE-1 is used to transmit the media stream of the color ringback tone service subscribed by UE-2.

[0065] Step 11: Optionally, AS-2 determines whether to send a 180 response message to UE-1 according to the status of UE-2 or the content of the response message.

[0066] Based on the above process, if UE-1 is a satellite terminal, the above IMS call process needs to be completed through the satellite communication system. Generally, the satellite communication system consists of three parts: the satellite end, the ground end, and the user end. The satellite end acts as a relay station in the air, that is, it amplifies the electromagnetic waves sent by the ground station and then sends them back to the ground station. The satellite end is divided into the following three categories according to the working orbit:

[0067] Low orbit communication satellite system (LEO): 500-2000km from the ground, with relatively small transmission delay and power consumption, but the coverage of each satellite is also relatively small; Mid orbit satellite communication system (MEO): 2000-20000km from the ground, with greater transmission delay than low orbit satellites, but also with a larger coverage; High orbit satellite communication system (GEO): 35,800km from the ground, i.e., synchronous geostationary orbit. In theory, three high orbit satellites can achieve global coverage.

[0068] However, the current minimum IMS voice communication rate is 4.75kbps. For GEO satellites, due to their long distance from the ground, if the user terminal sends signals to GEO satellites, a large link budget is required, which cannot support the existing voice coding rate and can only support 1.2kbps or 0.6kbps. Therefore, if the calling terminal is a satellite terminal and the called terminal subscribes to the ringback tone service, the low-rate voice coding method will result in poor sound quality of the ringback tone media stream, resulting in poor playback effect of the ringback tone.

[0069] In the embodiment of the present application, since it is possible to determine whether the calling terminal plays the color ring tone by determining whether the message received by the first device is used to transmit the first media stream corresponding to the color ring tone service for the calling terminal, or whether it is not used to transmit the second media stream corresponding to the prompt tone for the calling terminal, it is possible to determine whether the calling terminal plays the color ring tone. Therefore, when the calling terminal needs to play the color ring tone, a ringback tone can be directly sent to the calling terminal or the calling terminal can be instructed to play a local ringback tone to avoid the calling terminal from playing a color ring tone with poor sound quality, so that a ringback tone with better ringtone playing effect can be played for the user, thereby improving the ringtone playing effect of the color ring tone service.

[0070] The following, in conjunction with the accompanying drawings, describes in detail the calling method, apparatus, device, terminal and readable storage medium provided in the embodiments of the present application through some embodiments and their application scenarios.

[0071] Figure 3 A flowchart of a calling method provided in an embodiment of the present application is shown. Figure 3 As shown, the calling method may include the following steps 201 and 202.

[0072] Step 201: A first device receives a first message.

[0073] The first message satisfies the first condition, which includes: the first message is used to transmit a first media stream corresponding to a color ring back tone service to the calling terminal, or the first message is not used to transmit a second media stream corresponding to a prompt tone to the calling terminal.

[0074] Optionally, in the embodiment of the present application, the first device may be: a specific core network device that provides services to the calling terminal.

[0075] For example, Figure 4 As shown, during the IMS call between the calling terminal UE-1 and the called terminal UE-2, the first device may be: P-CSCF-1 providing services for UE-1; or, the first device may be: AS-1 providing services for UE-1. It should be noted that P-CSCF-1 / SBC is a network element that includes both SBC functions and P-CSCF functions. In fact, the first device that provides services for UE-1 may be P-CSCF-1.

[0076] The calling terminal can be understood as a terminal that initiates a call request, that is, a terminal that initiates an Invite request. The called terminal can be understood as a terminal that receives a call request, that is, a terminal that receives an Invite request.

[0077] Optionally, in the embodiment of the present application, the Customized Alerting Tones (CAT) service may be a service customized by the called terminal or the calling terminal to provide a pleasant music or greeting to the user of the calling terminal instead of a common ringback tone.

[0078] Optionally, in an embodiment of the present application, the above-mentioned prompt tone may include a service prompt tone and a standard recorded notification tone. Among them, the service prompt tone is mainly based on frequency signal tone, which may include dial tone, ringback tone, blocking tone, busy tone, call waiting tone, three-party call reminder prompt tone and other prompt tones. For example, the ringback tone is a 450Hz frequency tone that is played in a loop, and the playing rule is to play for 1 second and stop for 4 seconds; the standard recorded notification tone is mainly based on recorded voice, which may include recorded voice of an unavailable number (for example, "the number you dialed is unavailable"), recorded voice that cannot be connected temporarily (for example, "the number you dialed cannot be connected temporarily"), etc.

[0079] Optionally, in an embodiment of the present application, the first device may receive the first message from the called terminal; or, the first device may receive the first message from a core network device that provides services for the called terminal.

[0080] Optionally, in the embodiment of the present application, the above-mentioned color ring back tone service may include at least one of the following: an audio color ring back tone or a video color ring back tone.

[0081] Optionally, in the embodiment of the present application, the calling method provided in the embodiment of the present application may further include the following step 203.

[0082] Step 203: The first device determines whether the first message satisfies the first condition based on the second condition.

[0083] The second condition includes at least one of the following:

[0084] In a case where the first message includes the SDP and the SDP includes the first message header, determining that the first message is used to transmit a first media stream corresponding to the color ring back tone service to the calling terminal;

[0085] When the first message is a 183 response message and the 183 response message includes a second message header, determining that the first message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0086] When the first message is an Update message and the Update message includes a second message header or a third message header, determining that the first message is used to transmit a second media stream corresponding to a prompt tone to the calling terminal;

[0087] When the first message is a 180 response message and the 180 response message includes the third message header, it is determined that the first message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal.

[0088] Among them, the above-mentioned first message header is a message header used to indicate the ringback tone service; the above-mentioned second message header is a reason message header; the above-mentioned third message header is a message header used to prompt call waiting, or the above-mentioned third message header is a message header used to prompt call waiting and used to indicate early media.

[0089] Optionally, in the embodiment of the present application, the message header indicating the color ring back tone service may be a=content:g.3gpp.cat message header; the third message header may be Alert-Info: <urn:alert:service:call-waiting>Message header; the message header indicating that the early media prompt tone is included may be a P-Early-Media message header. That is, the first message header may be a=content:g.3gpp.cat message header; the second message header may be a Reason message header; the third message header may be an Alert-Info: <urn:alert:service:call-waiting>message header, or the third message header may be Alert-Info: <urn:alert:service:call-waiting>and P-Early-Media message header.

[0090] It should be noted that, before the called terminal answers the call, that is, before the first device receives the 200OK message, the media stream received by the first device may be the first media stream corresponding to the color ring back tone service, or the second media stream corresponding to the prompt tone, such as "the number you dialed is in progress". Therefore, the first device needs to distinguish the received media streams to determine whether the first message meets the first condition.

[0091] Optionally, in the embodiment of the present application, the 183 response message is used to indicate the progress of the call; the update message is used to update the reservation status of the resource; and the 180 response message is used to indicate that the called terminal is currently in a ringing state. The 183 response message and the 180 response message are response messages to the Invite message sent by the calling terminal.

[0092] Optionally, in the embodiment of the present application, the a=content:g.3gpp.cat message header may indicate a message in the first message that carries a first media stream corresponding to the color ringback tone.

[0093] It is understandable that if the first message includes SDP and the SDP includes the first message header, that is, the SDP in the first message includes the a=content:g.3gpp.cat message header, the first device may consider the subsequently received media stream to be the first media stream corresponding to the color ringback tone service.

[0094] Optionally, in the embodiment of the present application, the reason message header may include signaling messages such as Reason: SIP, cause = 486, text = "user busy", Q.850, cause = 17, etc. The first device may determine whether the first message is used to transmit the second media stream corresponding to the prompt tone to the calling terminal by judging whether the received 183 response message or update message contains the reason message header. It should be noted that judging whether the received 183 response message or update message contains the reason message header can be understood as judging whether the Reason message header is contained, or judging whether the Reason message header is contained and whether the value of the Reason message header is equal to a preset value.

[0095] Optionally, in an embodiment of the present application, the above-mentioned Alert-Info: <urn:alert:service:call-waiting>The message header may be a message header indicating call waiting; the P-Early-Media message header may be a message header indicating that early media prompt tone is included. Therefore, if the 180 response message contains Alert-Info: <urn:alert:service:call-waiting>Message header, or contains Alert-Info: <urn:alert:service:call-waiting>and P-Early-Media message header, the first device can determine that the first message is used to transmit the second media stream corresponding to the prompt tone to the calling terminal. It should be noted that the Alert-Info: <urn:alert:service:call-waiting>The P-Early-Media message header can be understood as including Alert-Info: <urn:alert:service:call-waiting>And the value of the P-Early-Media message header is not equal to inactive.

[0096] In this way, since the first device can determine, based on the message header in the first message, whether the first message is used to transmit the first media stream corresponding to the color ringback tone service to the calling terminal or is used to transmit the second media stream corresponding to the prompt tone to the calling terminal, it can accurately judge whether the first message is used to transmit the first media stream corresponding to the color ringback tone service to the calling terminal or the first message is not used to transmit the second media stream corresponding to the prompt tone to the calling terminal, thereby determining the content of the message sent to the calling terminal.

[0097] Optionally, in the embodiment of the present application, the above step 203 may include the following step 203a.

[0098] Step 203a: When the first device determines that the called terminal belongs to the designated PLMN, the first device determines whether the first message satisfies the first condition based on the second condition; or, when the first device determines that the called terminal does not belong to the designated PLMN, the first device determines whether the first message satisfies the first condition based on the second condition.

[0099] In an embodiment of the present application, the first device may first determine the public land mobile network (PLMN) to which the called terminal belongs, and select the second condition according to the calling rules of the PLMN to which it belongs, thereby determining whether the first message satisfies the first condition.

[0100] Exemplarily, when the PLMN to which the called terminal belongs belongs to the first operator, if the called terminal subscribes to the color ringback tone service, the first message received by the first device may include SDP, and the SDP may include a first message header, so that the first device can determine whether the first message is used to transmit the first media stream corresponding to the color ringback tone service to the calling terminal.

[0101] For example, when the PLMN to which the called terminal belongs belongs to the second operator, if the called terminal subscribes to the color ring back tone service, the SDP contained in the first message received by the first device will not include the first message header. Therefore, the first device needs to determine whether the first message is used to transmit the second media stream corresponding to the prompt tone to the calling terminal based on the message header in the 183 response message, update message or 180 message.

[0102] Optionally, in an embodiment of the present application, the first device may determine the PLMN to which the called terminal belongs according to the public identity of the called terminal in the invite message.

[0103] In this way, since the first device can determine whether the first message meets the first condition based on the second condition according to the PLMN to which the called terminal belongs, the first device can accurately determine the purpose of the first message according to the message header included in the first message.

[0104] Step 202: When the first message satisfies the first condition, the first device performs a first action.

[0105] The first action includes any of the following:

[0106] The first device sends a ringback tone to the calling terminal;

[0107] The first device controls the second device to send a ringback tone to the calling terminal;

[0108] The first device sends a second message to the calling terminal, where the second message is used to instruct the calling terminal to play a local ringback tone.

[0109] Optionally, in an embodiment of the present application, when the first message satisfies the first condition, it indicates that the calling terminal needs to play the first media stream corresponding to the color ringback tone service. Therefore, to prevent the calling terminal from playing the color ringback tone with poor sound quality, the first device can perform a first action.

[0110] It should be noted that the ringback tone here refers to a common prompt tone different from the color ring tone, for example, a 450 Hz frequency tone that is played in a loop, and the playing pattern is: play for 1 second and stop for 4 seconds.

[0111] In the calling method provided in the embodiment of the present application, it is possible to determine whether the calling terminal plays the color ring tone by determining whether the message received by the first device is used to transmit the first media stream corresponding to the color ring tone service to the calling terminal, or whether it is not used to transmit the second media stream corresponding to the prompt tone to the calling terminal. Therefore, when the calling terminal needs to play the color ring tone, the calling terminal can be prevented from playing the color ring tone by directly sending a ringback tone to the calling terminal or instructing the calling terminal to play a local ringback tone, thereby preventing the calling terminal from playing a color ring tone with poor sound quality to the user. When the calling terminal needs to play the prompt tone, the prompt tone can be directly sent to the calling terminal to avoid playing the ringback tone to the calling terminal, thereby making the user unclear about why the call cannot be connected, causing trouble to the user.

[0112] Optionally, in the embodiment of the present application, the above step 202 may include the following step 202a.

[0113] Step 202a: When determining that the calling terminal accesses the network via a satellite, the first device executes a first action.

[0114] Optionally, in an embodiment of the present application, if the calling terminal accesses the network via a satellite, then when the first message includes SDP, the voice coding format carried in the SDP offer is a low-rate voice coding format, and thus the obtained ringback tone is a ringback tone with poor sound quality. In this way, the first device can perform the first action to prevent the calling terminal from playing the ringback tone with poor sound quality when it is determined that the calling terminal accesses the network via a satellite.

[0115] Optionally, in an embodiment of the present application, the first device may determine that the calling terminal accesses the network via a satellite by means of the following method 1, method 2, and method 3.

[0116] Mode 1: The access mode carried by the calling terminal is satellite access.

[0117] Exemplarily, the access mode carried by the calling terminal is: access-type=3GPP-NR-SAT.

[0118] Mode 2: The voice coding mode carried by the calling terminal is the specified coding mode.

[0119] Exemplarily, the voice coding mode carried by the calling terminal is mean-awb-bitrate=1200 or 600.

[0120] Mode 3: The invite message carried by the calling terminal is a simplified invite message.

[0121] Optionally, in the embodiment of the present application, the simplified invite message may be an invite message with fewer message headers and message bodies than a conventional invite message. In other words, the number of message headers and message bodies in the invite message carried by the satellite access calling terminal is less than that carried by the terminal accessed by other means.

[0122] Exemplarily, the simplified invite message may not carry SDP information corresponding to the voice coding mode.

[0123] In this way, the first device can execute the first action when it is determined that the calling terminal accesses the network via a satellite, thereby preventing the calling terminal from playing the color ring tone with poor sound quality.

[0124] Optionally, in the embodiment of the present application, the above step of "the first device sends a ringback tone to the calling terminal" may include the following step a.

[0125] Step a: When receiving the first media stream, the first device sends a ringback tone to the calling terminal.

[0126] Optionally, in the embodiment of the present application, the above-mentioned ringback tone can be a prompt audio indicating that the called call is waiting to be connected or a prompt audio indicating that the called terminal has started ringing.

[0127] Exemplarily, the ringback tone may be a 450 Hz frequency tone that is played in a loop, and the playing pattern is: play for 1 second and stop for 4 seconds.

[0128] Optionally, in an embodiment of the present application, when the first message includes an SDP offer and the SDP offer includes a first message header, the first device can modify the SDP offer into a signaling message for establishing an RTP connection between the calling terminal and the SBC for transmitting a ringback tone based on the first message header, and send the modified SDPoffer to the calling terminal so that the calling terminal can play the received ringback tone.

[0129] Optionally, in the embodiment of the present application, the SDP offer may include information such as the Internet Protocol (IP) address of the SBC, the port number, and the voice coding format corresponding to the ringback tone.

[0130] In this way, since the first device can directly send the ringback tone to the calling terminal, the calling terminal can play the received ringback tone, and thus does not need to play the color ring tone with poor sound quality.

[0131] Optionally, in the embodiment of the present application, the above step of "the first device controls the second device to send a ringback tone to the calling terminal" may include the following step b.

[0132] Step b: The first device sends a first request message to the second device.

[0133] The first request message is used to establish a real-time transport protocol RTP connection between the calling terminal and the second device, and the RTP connection is used to transmit a ringback tone.

[0134] Optionally, in the embodiment of the present application, when the first device is a P-CSCF, the second device may be an SBC; when the first device is an AS, the second device may be an MRF.

[0135] For example, Figure 5 As shown, AS-1 can perform the control function of IMS signaling, and AS-1 can control MRF-1 to establish an RTP connection so as to play a common ringback tone through MRF-1.

[0136] Optionally, in an embodiment of the present application, the above-mentioned second device can perform voice recognition on the media stream received by RTP. When it is recognized as a prompt tone, the media stream is transcoded and played; when it is recognized as not a prompt tone, a normal ringback tone can be played through the second device or the calling terminal can be instructed to play a local ringback tone.

[0137] Optionally, in an embodiment of the present application, the above-mentioned second device can also identify the source IP address of the RTP. When the source IP address corresponds to the second device that plays the prompt tone, the media stream can be transcoded and played; when the source IP address corresponds to the second device that plays the ringback tone, the second device can play a normal ringback tone or instruct the calling terminal to play a local ringback tone.

[0138] In this way, since the first device can establish a real-time transport protocol RTP connection between the calling terminal and the second device by sending a first request message to the second device, and thus transmit the ringback tone through the RTP connection, the calling terminal can play a normal ringback tone without playing a color ringback tone with poor sound quality.

[0139] Optionally, in an embodiment of the present application, the second message is a 180 response message; the second message is used to instruct the calling terminal to play a local ringback tone.

[0140] Optionally, in the embodiment of the present application, the calling method provided in the embodiment of the present application may further include the following step 204 or step 205.

[0141] Step 204: The first device deletes the message header for indicating early media contained in the 180 response message and generates a second message.

[0142] Step 205: The first device modifies the value of the message header for indicating early media contained in the 180 response message to an inactive state.

[0143] Optionally, in the embodiment of the present application, the P-Early-media message header may be used to indicate early media. It is understandable that the first device may delete the P-Early-media message header included in the 180 response message and generate a second message; or, the first device may modify the value of the P-Early-media message header included in the 180 response message to an inactive state.

[0144] Optionally, in an embodiment of the present application, the first device may modify the received 180 message when the first message is used to transmit the first media stream corresponding to the color ring back tone service to the calling terminal, and send the modified 180 message as the second message to the calling terminal.

[0145] Optionally, the first device may delete the P-Early-media message header included in the 180 response message or modify its value to inactive, so that the calling terminal can directly play the local ringback tone after receiving the second message.

[0146] In this way, since the first device can delete the P-Early-media message header contained in the 180 response message or modify its value to an inactive state when the first message is used to transmit the first media stream corresponding to the color ringback service to the calling terminal, the calling terminal can play the local ringback tone without playing the color ringback tone with poor sound quality, thereby playing a ringback tone with better ringback tone playback effect for the user, thereby improving the ringtone playback effect of the color ringback service.

[0147] The calling method provided in the embodiment of the present application is exemplarily described below by taking the first device as P-CSCF / SBC, the calling terminal as UE-1, and the called terminal as UE-2 as an example.

[0148] like Figure 4 As shown, the calling method provided in the embodiment of the present application includes the following steps S11 to S114:

[0149] Step S11: UE-1 sends an invite message to UE-2.

[0150] Step S12: UE-2 sends a 183 response message to UE-1.

[0151] Step S13: Optionally, UE-2 sends a 180 response message or a call failure 4xx message to UE-1.

[0152] Step S14: AS-2 sends an invite message to MRF-2.

[0153] Step S15: MRF-2 sends a 200OK message to AS-2.

[0154] Step S16: AS-2 sends an update message to UE-1.

[0155] Step S17: UE-1 replies a 200OK message to AS-2.

[0156] Step S18: UE-1 replies with an SDP answer.

[0157] Optionally, the SDP answer includes information such as the IP address and port number of UE-1 and the voice coding format accepted by UE-1.

[0158] Step S19: P-CSCF / SBC modifies the SDP answer sent by UE-1 into the IP address, port number, voice coding format accepted by P-CSCF / SBC and other information of SBC, and sends it to AS-2.

[0159] Step S110: AS-2 sends an update message to MRF-2.

[0160] Step S111: MRF-2 replies a 200OK message to AS-2.

[0161] Step S112: AS-2 establishes an RTP connection between SBC and MRF-2 for transmitting the color ring tone.

[0162] Step S113: Optionally, AS-2 sends a 180 response message to UE-1.

[0163] Step S114: Optionally, the P-CSCF / SBC modifies the 180 response message and deletes the P-Early-Media message header in the 180 response message.

[0164] It is understandable that after UE-1 receives the 180 response message that does not include the P-Early-Media message header, it can play the local ringback tone.

[0165] In this way, since it is possible to determine whether the calling terminal plays the color ring tone by determining whether the message received by the first device is used to transmit the first media stream corresponding to the color ring tone service for the calling terminal, or whether it is not used to transmit the second media stream corresponding to the prompt tone for the calling terminal, it is possible to determine whether the calling terminal plays the color ring tone. Therefore, when the calling terminal needs to play the color ring tone, the calling terminal can be prevented from playing the color ring tone with poor sound quality by directly sending the ring back tone to the calling terminal or instructing the calling terminal to play the local ring back tone, so that the calling terminal can play a ring back tone with better ring tone playing effect for the user, thereby improving the ring tone playing effect of the color ring tone service.

[0166] Figure 6 A flowchart of a calling method provided in an embodiment of the present application is shown. Figure 6 As shown, the calling method may include the following steps 301 and 302, or, as Figure 7 As shown, the calling method may include the following steps 301 and 303.

[0167] Step 301: The calling terminal receives a third message after sending a call request.

[0168] Optionally, the call request may be a request for the calling terminal to call the called terminal. It is understandable that, when sending the call request, the calling terminal may receive a third message for transmitting a first media stream corresponding to a color ringback tone service to the calling terminal or a second media stream corresponding to a prompt tone to the calling terminal.

[0169] Step 302: When the third message is used to transmit the first media stream corresponding to the color ringback tone service to the calling terminal, the calling terminal plays a local ringback tone.

[0170] Optionally, in an embodiment of the present application, the above-mentioned color ring back tone service includes at least one of the following: an audio color ring back tone or a video color ring back tone.

[0171] In an embodiment of the present application, when the third message is used to transmit the first media stream corresponding to the color ringback service to the calling terminal, the calling terminal can play the locally pre-stored ringback tone, thereby avoiding playing the color ringback tone with poor sound quality, playing a ringback tone with better ringtone playback effect for the user, and improving the ringtone playback effect of the color ringback service.

[0172] Optionally, in the embodiment of the present application, the calling method provided by the embodiment of the present application may further include the following step 304.

[0173] Step 304: The calling terminal determines, based on the third condition, whether the third message is used to transmit the first media stream corresponding to the color ring back tone service to the calling terminal.

[0174] The third condition includes:

[0175] In a case where the third message includes a session description protocol SDP and the SDP includes the first message header, determining that the third message is used to transmit a first media stream corresponding to the color ring back tone service to the calling terminal;

[0176] The first message header is a message header used to indicate a color ring back tone service.

[0177] It should be noted that the specific introduction of the calling terminal determining whether the third message is used to transmit the first media stream corresponding to the color ring back tone service to the calling terminal based on the third condition can be referred to the detailed description in the previous text, which will not be repeated here to avoid repetition.

[0178] Optionally, in the embodiment of the present application, the above step 304 may include the following step 304a.

[0179] Step 304a: When the calling terminal accesses the network via a satellite, based on the third condition, the calling terminal determines whether the third message is used to transmit the first media stream containing the color ring back tone service to the calling terminal.

[0180] Optionally, in an embodiment of the present application, if the calling terminal accesses the network via a satellite, then when the first message includes SDP, the voice coding format carried in the SDP offer is a low-rate voice coding format, so the obtained color ring tone is a color ring tone with poor sound quality. In this way, the calling terminal can play a local ringback tone when accessing the network via a satellite to avoid the calling terminal playing the color ring tone with poor sound quality.

[0181] Optionally, in the embodiment of the present application, the specific introduction of determining the calling terminal accessing the network via the satellite can refer to the detailed description in the previous text, and will not be repeated here to avoid repetition.

[0182] In this way, the calling terminal can, when determining that the calling terminal accesses the network via a satellite, determine, based on the third condition, whether the third message is used to transmit the first media stream containing the color ringback service to the calling terminal, thereby determining whether to play a local ringback tone. This can prevent the calling terminal from playing the color ringback tone with poor sound quality, and thus can play a ringback tone with better ringtone playback effect for the user, thereby improving the ringtone playback effect of the color ringback service.

[0183] Step 303: When the third message is used to transmit the second media stream corresponding to the prompt tone to the calling terminal, the calling terminal plays the prompt tone.

[0184] Optionally, in an embodiment of the present application, the above-mentioned color ring back tone service includes at least one of the following: an audio color ring back tone or a video color ring back tone.

[0185] In an embodiment of the present application, when the third message is used to transmit the first media stream corresponding to the color ring back tone service to the calling terminal, the calling terminal can directly play the prompt tone, thereby avoiding playing the color ring back tone with poor sound quality, playing a ringback tone with better ring back tone playback effect for the user, and improving the ring tone playback effect of the color ring back tone service.

[0186] Optionally, in the embodiment of the present application, the calling method provided by the embodiment of the present application may further include the following step 305.

[0187] Step 305: The calling terminal determines, based on the fourth condition, whether the third message is used to transmit the second media stream corresponding to the prompt tone to the calling terminal.

[0188] The fourth condition includes at least one of the following:

[0189] When the first message is a 183 response message and the 183 response message includes a second message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0190] When the first message is an update message and the update message includes a second message header or a third message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0191] When the first message is a 180 response message and the 180 response message includes a third message header, it is determined that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal.

[0192] The second message header is a reason message header; the third message header is a message header for prompting call waiting, or the third message header is a message header for prompting call waiting and for indicating early media.

[0193] It should be noted that the specific introduction of the above-mentioned reason message header and the third message header, etc. can be referred to the detailed description in the previous text. To avoid repetition, it will not be repeated here.

[0194] Optionally, in the embodiment of the present application, the above step 305 may include the following step 305a.

[0195] Step 305a: When the calling terminal accesses the network via a satellite, the calling terminal determines, based on the fourth condition, whether the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal.

[0196] Optionally, in an embodiment of the present application, if the calling terminal accesses the network via a satellite, then when the first message includes SDP, the voice coding format carried in the SDP offer is a low-rate voice coding format, so the obtained color ring tone is a color ring tone with poor sound quality. In this way, the calling terminal can play a local ringback tone when accessing the network via a satellite to avoid the calling terminal playing the color ring tone with poor sound quality.

[0197] Optionally, in the embodiment of the present application, the specific introduction of determining the calling terminal accessing the network via the satellite can refer to the detailed description in the previous text, and will not be repeated here to avoid repetition.

[0198] In this way, the calling terminal can, when determining that the calling terminal accesses the network via a satellite, determine based on the fourth condition whether the third message is used to transmit the second media stream corresponding to the prompt tone to the calling terminal, thereby determining whether to play the prompt tone. This can prevent the calling terminal from playing the color ring tone with poor sound quality, and thus can play a ringback tone with better ringtone playback effect for the user, thereby improving the ringtone playback effect of the color ring tone service.

[0199] The calling method provided in the embodiment of the present application is exemplarily described below by taking the calling terminal as UE-1 and the called terminal as UE-2 as an example.

[0200] like Figure 8 As shown, the calling method provided in the embodiment of the present application includes the following steps S21 to S214:

[0201] Step S21: UE-1 sends an invite message to UE-2.

[0202] Step S22: UE-2 sends a 183 response message to UE-1.

[0203] Step S23: Optionally, UE-2 sends a 180 response message or a call failure 4xx message to UE-1.

[0204] Step S24: AS-2 sends an invite message to MRF-2.

[0205] Step S25: MRF-2 sends a 200OK message to AS-2.

[0206] Step S26: AS-2 sends an update message to UE-1.

[0207] Step S27: AS-2 sends the modified SDP offer to UE-1 according to the a=content:g.3gpp.cat message header included in the SDP offer.

[0208] Optionally, the SDP offer is used to establish an RTP connection between UE-1 and SBC for transmitting a common ringback tone.

[0209] Optionally, the SDP offer may include information such as the IP address and port number of the SBC and the voice coding format corresponding to the ringback tone.

[0210] Step S28: AS-2 sends an update message to MRF-2.

[0211] Step S29: MRF-2 replies a 200OK message to AS-2.

[0212] Step S210: AS-2 establishes an RTP connection between SBC and MRF-2 for transmitting the color ring tone.

[0213] Step S211: Optionally, AS-2 sends a 180 response message to UE-1.

[0214] It is understandable that after UE-1 receives the 180 response message that does not include the P-Early-Media message header, it can play the local ringback tone.

[0215] In this way, when the third message is used to transmit the first media stream corresponding to the color ringback service to the calling terminal, the calling terminal can play the locally pre-stored ringback tone or directly play the prompt, thereby avoiding playing the color ringback tone with poor sound quality and playing a ringback tone with better ringtone playback effect for the user, thereby improving the ringtone playback effect of the color ringback service.

[0216] Fig. 9 A flowchart of a calling method provided in an embodiment of the present application is shown. Fig. 9 As shown, the calling method may include the following steps 401 and 402.

[0217] Step 401: The third device receives a call request message.

[0218] The call request message is used to request a call to a called terminal; the called terminal subscribes to a color ring back tone service.

[0219] Optionally, the third device may be a core network device that provides services for the called terminal.

[0220] For example, Figure 8 As shown, the third device may be AS-2.

[0221] Optionally, if the called terminal subscribes to a color ring back tone service, it may indicate that the calling terminal can play the color ring back tone when calling the called terminal and waiting for the called terminal to be connected.

[0222] Optionally, in the embodiment of the present application, the above-mentioned ring service includes at least one of the following: an audio ring back tone or a video ring back tone.

[0223] Step 402: When the calling terminal accesses the network via a satellite, the third device sends at least one of a ringback tone and a second message to the calling terminal.

[0224] The second message is used to instruct the calling terminal to play a local ringback tone.

[0225] In the calling method provided in the embodiment of the present application, since the third device providing services for the called terminal can receive the calling request sent by the calling terminal, when the calling terminal accesses the network via a satellite, a ringback tone is sent to the calling terminal or a message instructing the calling terminal to play a local ringback tone is sent. Therefore, by sending a ringback tone to the calling terminal or a message instructing the calling terminal to play a local ringback tone, the calling terminal can be prevented from playing a color ringback tone with poor sound quality, so that a ringback tone with better ringtone playing effect can be played for the user, thereby improving the ringtone playing effect of the color ringback service.

[0226] Optionally, in the embodiment of the present application, the calling method provided in the embodiment of the present application may further include the following step 403.

[0227] Step 403: When the fifth condition is met, the third device determines that the calling terminal accesses the network via a satellite.

[0228] Among them, satisfying the fifth condition includes at least one of the following:

[0229] The access mode carried in the call request message is satellite access;

[0230] The voice coding mode carried in the call request message is the specified coding mode;

[0231] The call request message is a simplified call request message.

[0232] It should be noted that, for the specific introduction of the third device determining that the calling terminal accesses the network via a satellite when the fifth condition is met, reference can be made to the detailed descriptions in the above-mentioned methods 1 to 3, which will not be repeated here to avoid repetition.

[0233] In this way, the third device can send a ringback tone to the calling terminal or instruct the calling terminal to play a local ringback tone when it determines that the calling terminal accesses the network via satellite. This can prevent the calling terminal from playing the color ringback tone with poor sound quality, and thus play a ringback tone with better ringtone playback effect for the user, thereby improving the ringtone playback effect of the color ringback tone service.

[0234] Optionally, in the embodiment of the present application, the second message is a 180 response message; the second message is used to instruct the calling terminal to play a local ringback tone.

[0235] Optionally, in the embodiment of the present application, the calling method provided in the embodiment of the present application may further include the following step 404 or step 405.

[0236] Step 404: The third device deletes the message header for indicating early media contained in the 180 response message and generates a second message.

[0237] Step 405: The third device modifies the value of the message header for indicating early media contained in the 180 response message to an inactive state.

[0238] It should be noted that the specific introduction of the processing method of the 180 response message by the third device can refer to the detailed description in the above steps 204 and 205. To avoid repetition, it will not be repeated here.

[0239] In this way, since the third device can delete the P-Early-media message header contained in the 180 response message or modify its value to an inactive state when the calling terminal accesses the network via satellite, the calling terminal can play the local ringback tone without playing the color ringback tone with poor sound quality, and play a ringback tone with better ringtone playback effect for the user, thereby improving the ringtone playback effect of the color ringback tone service.

[0240] Each of the above-mentioned method embodiments, or various possible implementation methods in each method embodiment can be executed separately, or any two or more of them can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.

[0241] The calling method provided in the embodiment of the present application can be executed by a calling device. In the embodiment of the present application, the calling method executed by a calling device is taken as an example to illustrate the calling device provided in the embodiment of the present application.

[0242] The present application embodiment provides a calling device 1000, such as Fig.10 As shown, the calling device 1000 includes: a receiving module 1001 and a sending module 1002. The receiving module 1001 is used to receive a first message; the sending module 1002 is used to perform a first action when the first message received by the receiving module 1001 meets a first condition; wherein the first message meets the first condition including: the first message is used to transmit a first media stream corresponding to a color ring back tone service to a calling terminal, or the first message is not used to transmit a second media stream corresponding to a prompt tone to a calling terminal; the first action includes any one of the following: the first device sends a ring back tone to the calling terminal; the first device controls the second device to send a ring back tone to the calling terminal; the first device sends a second message to the calling terminal, and the second message is used to instruct the calling terminal to play a local ring back tone.

[0243] Optionally, the above device further includes: a determination module;

[0244] The determination module is used to determine whether the first message satisfies the first condition based on the second condition;

[0245] The second condition includes at least one of the following:

[0246] In a case where the first message includes a session description protocol SDP and the SDP includes a first message header, determining that the first message is used to transmit a first media stream corresponding to a color ring back tone service to the calling terminal;

[0247] When the first message is a 183 response message and the 183 response message includes a second message header, determining that the first message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0248] When the first message is an update message and the update message includes a second message header or a third message header, determining that the first message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0249] When the first message is a 180 response message and the 180 response message includes a third message header, determining that the first message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0250] The first message header is a message header for indicating the color ring back tone service; the second message header is a reason message header; the third message header is a message header for prompting call waiting, or the third message header is a message header for prompting call waiting and for indicating early media.

[0251] Optionally, the sending module 1002 is specifically used to send a first request message to the second device, where the first request message is used to establish a real-time transport protocol RTP connection between the calling terminal and the second device, and the RTP connection is used to transmit a ringback tone.

[0252] Optionally, the above-mentioned determination module is specifically used to:

[0253] In the case where it is determined that the called terminal belongs to the designated public land mobile network PLMN, determining whether the first message satisfies the first condition based on the second condition; or,

[0254] In the case where it is determined that the called terminal does not belong to the PLMN, it is determined whether the first message satisfies the first condition based on the second condition.

[0255] Optionally, the sending module 1002 is specifically configured to execute a first action when it is determined that the calling terminal accesses the network via a satellite.

[0256] Optionally, the sending module 1002 is specifically configured to send a ringback tone to the calling terminal when the first media stream is received.

[0257] Optionally, the second message is a 180 response message; the second message is used to instruct the calling terminal to play a local ringback tone;

[0258] The above device also includes: a processing module;

[0259] The processing module is used to generate a second message after deleting the message header for indicating early media contained in the 180 response message;

[0260] Alternatively, it is used to modify the value of the message header for indicating early media contained in the 180 response message to an inactive state.

[0261] Optionally, the above-mentioned color ring back tone service includes at least one of the following: audio color ring back tone or video color ring back tone.

[0262] In an embodiment of the present application, a calling device is provided, which can determine whether the calling terminal plays the color ring tone by determining whether the message received by the first device is used to transmit the first media stream corresponding to the color ring tone service for the calling terminal, or whether it is not used to transmit the second media stream corresponding to the prompt tone for the calling terminal. Therefore, when the calling terminal needs to play the color ring tone, the calling terminal can be prevented from playing the color ring tone with poor sound quality by directly sending the ring back tone to the calling terminal or instructing the calling terminal to play the local ring back tone, so that the calling terminal can play a ring back tone with better ring tone playing effect for the user, thereby improving the ring tone playing effect of the color ring tone service.

[0263] The present application embodiment also provides a calling device 1100, such as Fig.11 As shown, the calling device 1100 includes: a receiving module 1101, a sending module 1102 and a playing module 1103. The receiving module 1101 is used to receive a third message when the sending module 1102 sends a call request; the playing module 1103 is used to play a local ringback tone when the third message is used to transmit a first media stream corresponding to a color ringback service to a calling terminal; or the playing module 1103 is used to play a prompt tone when the third message is used to transmit a second media stream corresponding to a prompt tone to a calling terminal.

[0264] Optionally, the above device further includes: a determination module;

[0265] A determination module, configured to determine, based on a third condition, whether the third message is used to transmit a first media stream corresponding to a color ring back tone service to a calling terminal;

[0266] The third condition includes:

[0267] In a case where the third message includes a session description protocol SDP and the SDP includes the first message header, determining that the third message is used to transmit a first media stream corresponding to the color ring back tone service to the calling terminal;

[0268] The first message header is a message header used to indicate a color ring back tone service.

[0269] Optionally, the above-mentioned determination module is specifically configured to determine, based on a third condition, whether the third message is used to transmit the first media stream containing the color ring back tone service to the calling terminal when the network is accessed via a satellite.

[0270] Optionally, the above-mentioned determination module is further used to determine whether the third message is used to transmit the second media stream corresponding to the prompt tone to the calling terminal based on the fourth condition;

[0271] The fourth condition includes at least one of the following:

[0272] When the first message is a 183 response message and the 183 response message includes a second message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0273] When the first message is an update message and the update message includes a second message header or a third message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0274] When the first message is a 180 response message and the 180 response message includes a third message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0275] The second message header is a reason message header; the third message header is a message header for prompting call waiting, or the third message header is a message header for prompting call waiting and for indicating early media.

[0276] Optionally, the above-mentioned determination module is specifically used to determine whether the third message is used to transmit the second media stream corresponding to the prompt tone to the calling terminal based on the fourth condition when the calling terminal accesses the network via a satellite.

[0277] Optionally, the above-mentioned color ring back tone service includes at least one of the following: audio color ring back tone or video color ring back tone.

[0278] In an embodiment of the present application, a calling device is provided. When the third message is used to transmit the first media stream corresponding to the color ring back service to the calling terminal, the calling terminal can play the locally pre-stored ring back tone or directly play the prompt response, thereby avoiding playing the color ring back tone with poor sound quality, playing a ring back tone with better ring back tone playing effect for the user, and improving the ring tone playing effect of the color ring back service.

[0279] The present application embodiment also provides a calling device 1200, such as Fig.12 As shown, the calling device 1200 includes: a receiving module 1201 and a sending module 1202. The receiving module 1201 is used to receive a call request message, which is used to request a call to a called terminal; the called terminal subscribes to a color ring back tone service; the sending module 1202 is used to send at least one of a ring back tone and a second message to the calling terminal when the calling terminal accesses the network via a satellite; wherein the second message is used to instruct the calling terminal to play a local ring back tone.

[0280] Optionally, the above device further includes: a determination module;

[0281] a determination module, configured to determine that the calling terminal accesses the network via a satellite when the fifth condition is met;

[0282] Among them, satisfying the fifth condition includes at least one of the following:

[0283] The access mode carried in the call request message is satellite access;

[0284] The voice coding mode carried in the call request message is the specified coding mode;

[0285] The call request message is a simplified call request message.

[0286] Optionally, the second message is a 180 response message; the second message is used to instruct the calling terminal to play a local ringback tone;

[0287] The device also includes: a processing module;

[0288] A processing module, configured to generate a second message after deleting a message header for indicating early media contained in the 180 response message;

[0289] Or, it is used to modify the value of the message header for indicating early media contained in the 180 response message to an inactive state.

[0290] Optionally, the above-mentioned color ring back tone service includes at least one of the following: audio color ring back tone or video color ring back tone.

[0291] In the embodiment of the present application, a calling device is provided. Since the third device providing services for the called terminal can receive the calling request sent by the calling terminal, when the calling terminal accesses the network via a satellite, a ringback tone is sent to the calling terminal or a message instructing the calling terminal to play a local ringback tone is sent. Therefore, by sending a ringback tone to the calling terminal or a message instructing the calling terminal to play a local ringback tone, the calling terminal is prevented from playing a color ringback tone with poor sound quality, so that a ringback tone with better ringtone playing effect can be played for the user, thereby improving the ringtone playing effect of the color ringback service.

[0292] The calling device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices other than a terminal. For example, the terminal may include but is not limited to the types of the terminal 11 listed above, and other devices may be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.

[0293] The calling device provided in the embodiment of the present application can implement the various processes implemented by the various embodiments of the above-mentioned calling method and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0294] like Fig.13 As shown, the embodiment of the present application further provides a communication device 1300, including: a processor 1301 and a memory 1302, the memory 1302 stores a program or instruction that can be run on the processor 1301, for example, when the communication device 1300 is a terminal, the program or instruction is executed by the processor 1301 to implement the various steps of the above-mentioned call method embodiment, and can achieve the same technical effect. When the communication device 1300 is a device, the program or instruction is executed by the processor 1301 to implement the various steps of the above-mentioned call method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0295] The embodiment of the present application also provides a terminal, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Figure 6 or Figure 7 The steps in the method embodiment shown. This terminal embodiment corresponds to the above-mentioned terminal side method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this terminal embodiment and can achieve the same technical effect. Specifically, Fig.14 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0296] The terminal 1400 includes but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409 and at least some of the components of the processor 1410.

[0297] Those skilled in the art will appreciate that the terminal 1400 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.14 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0298] It should be understood that in the embodiment of the present application, the input unit 1404 may include a graphics processing unit (GPU) 14041 and a microphone 14042, and the graphics processor 14041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1407 includes a touch panel 14071 and at least one of other input devices 14072. The touch panel 14071 is also called a touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch controller. Other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0299] In the embodiment of the present application, after receiving downlink data from the network side device, the radio frequency unit 1401 can transmit the data to the processor 1410 for processing; in addition, the radio frequency unit 1401 can send uplink data to the network side device. Generally, the radio frequency unit 1401 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0300] The memory 1409 can be used to store software programs or instructions and various data. The memory 1409 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1409 may include a volatile memory or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1409 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0301] The processor 1410 may include one or more processing units; optionally, the processor 1410 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1410.

[0302] Among them, the radio frequency unit 1401 is used to receive a third message when the radio frequency unit 1401 sends a call request; the processor 1410 is used to play a local ringback tone when the third message is used to transmit a first media stream corresponding to a color ringback tone service to a calling terminal; or, the processor 1410 is used to play a prompt tone when the third message is used to transmit a second media stream corresponding to a prompt tone to a calling terminal.

[0303] Optionally, the processor 1410 is configured to determine, based on a third condition, whether the third message is used to transmit a first media stream corresponding to a color ring back tone service to the calling terminal;

[0304] The third condition includes:

[0305] In a case where the third message includes a session description protocol SDP and the SDP includes the first message header, determining that the third message is used to transmit a first media stream corresponding to the color ring back tone service to the calling terminal;

[0306] The first message header is a message header used to indicate a color ring back tone service.

[0307] Optionally, the processor 1410 is specifically configured to determine, based on a third condition, whether the third message is used to transmit a first media stream containing a color ring back tone service to a calling terminal when accessing a network via a satellite.

[0308] Optionally, the processor 1410 is further configured to determine, based on a fourth condition, whether the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0309] The fourth condition includes at least one of the following:

[0310] When the first message is a 183 response message and the 183 response message includes a second message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0311] When the first message is an update message and the update message includes a second message header or a third message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0312] When the first message is a 180 response message and the 180 response message includes a third message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal;

[0313] The second message header is a reason message header; the third message header is a message header for prompting call waiting, or the third message header is a message header for prompting call waiting and for indicating early media.

[0314] Optionally, the processor 1410 is specifically configured to determine, based on the fourth condition, whether the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal when the calling terminal accesses the network via a satellite.

[0315] Optionally, the above-mentioned color ring back tone service includes at least one of the following: audio color ring back tone or video color ring back tone.

[0316] An embodiment of the present application provides a terminal, in which the calling terminal can play a locally pre-stored ringback tone or directly play a prompt response when the third message is used to transmit the first media stream corresponding to the color ringback service to the calling terminal, thereby avoiding playing a color ringback tone with poor sound quality, playing a ringback tone with better ringtone playback effect for the user, and improving the ringtone playback effect of the color ringback service.

[0317] The present application embodiment also provides a network side device. Fig.15 As shown, the network side device 1500 includes: a processor 1501, a network interface 1502 and a memory 1503. The network interface 1502 is, for example, a common public radio interface (CPRI).

[0318] Specifically, the network side device 1500 of the embodiment of the present invention further includes: instructions or programs stored in the memory 1503 and executable on the processor 1501, and the processor 1501 calls the instructions or programs in the memory 1503 to execute Figure 3 and Fig. 9 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0319] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned calling method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0320] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.

[0321] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned calling method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0322] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0323] The embodiments of the present application further provide a computer program / program product, which is stored in a storage medium. The computer program or program product is executed by at least one processor to implement the various processes of the above-mentioned calling method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0324] An embodiment of the present application further provides a calling system, including: a first device, a calling terminal and a third device, wherein the terminal can be used to execute the steps of the calling method described above.

[0325] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0326] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or a network-side device to execute the methods described in each embodiment of the present application.

[0327] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.

Claims

1. A calling method, characterized in that: include: The first device receives the first message; The first device performs a first action when the first message meets a first condition; The first message satisfies the first condition, which includes: the first message is used to transmit a first media stream corresponding to a color ring back tone service to the calling terminal, or the first message is not used to transmit a second media stream corresponding to a prompt tone to the calling terminal; The first action includes any of the following: The first device sends a ringback tone to the calling terminal; The first device controls the second device to send a ringback tone to the calling terminal; The first device sends a second message to the calling terminal, where the second message is used to instruct the calling terminal to play a local ringback tone.

2. The method according to claim 1, characterized in that: The method further comprises: The first device determines whether the first message satisfies the first condition based on the second condition; The second condition includes at least one of the following: In a case where the first message includes a session description protocol SDP and the SDP includes a first message header, determining that the first message is used to transmit a first media stream corresponding to a color ring back tone service for the calling terminal; In a case where the first message is a 183 response message and the 183 response message includes a second message header, determining that the first message is used to transmit a second media stream corresponding to a prompt tone to the calling terminal; In a case where the first message is an update message and the update message includes the second message header or the third message header, determining that the first message is used to transmit a second media stream corresponding to a prompt tone to the calling terminal; In a case where the first message is a 180 response message and the 180 response message includes the third message header, determining that the first message is used to transmit a second media stream corresponding to a prompt tone for the calling terminal; The first message header is a message header for indicating a color ring back tone service; the second message header is a reason message header; the third message header is a message header for prompting call waiting, or the third message header is a message header for prompting call waiting and for indicating early media.

3. The method according to claim 1, characterized in that The first device controls the second device to send a ringback tone to the calling terminal, including: The first device sends a first request message to the second device, where the first request message is used to establish a real-time transport protocol RTP connection between the calling terminal and the second device, and the RTP connection is used to transmit a ringback tone.

4. The method according to claim 2, characterized in that: The first device determines, based on the second condition, whether the first message satisfies the first condition, including: The first device determines whether the first message satisfies the first condition based on a second condition when determining that the called terminal belongs to a designated public land mobile network PLMN; or When determining that the called terminal does not belong to the PLMN, the first device determines whether the first message satisfies the first condition based on the second condition.

5. The method according to any one of claims 1 to 4, characterized in that: The first device performs a first action, including: The first device performs the first action when it is determined that the calling terminal accesses the network via a satellite.

6. The method according to any one of claims 1 to 4, characterized in that: The first device sending a ringback tone to the calling terminal includes: When receiving the first media stream, the first device sends a ringback tone to the calling terminal.

7. The method according to claim 1, characterized in that The second message is a 180 response message; the second message is used to instruct the calling terminal to play a local ringback tone; The method further comprises: After the first device deletes the message header for indicating early media contained in the 180 response message, generating the second message; Alternatively, the first device modifies the value of the message header for indicating early media contained in the 180 response message to an inactive state.

8. The method according to any one of claims 1 to 4 or 7, characterized in that: The color ring back tone service includes at least one of the following: an audio color ring back tone or a video color ring back tone.

9. The method according to any one of claims 1 to 4 or 7, characterized in that: The first device is a proxy call session control function P-CSCF providing services for the calling terminal; or, the first device is an application server AS providing services for the calling terminal.

10. A calling method, characterized in that: include: The calling terminal receives the third message when sending the call request; The calling terminal plays a local ringback tone when the third message is used to transmit a first media stream corresponding to a color ringback tone service for the calling terminal; Alternatively, the calling terminal plays the prompt tone when the third message is used to transmit the second media stream corresponding to the prompt tone to the calling terminal.

11. The method according to claim 10, characterized in that The method further comprises: The calling terminal determines, based on a third condition, whether the third message is used to transmit a first media stream corresponding to a color ring back tone service for the calling terminal; Wherein, the third condition includes: In a case where the third message includes a session description protocol SDP and the SDP includes a first message header, determining that the third message is used to transmit a first media stream corresponding to a color ring back tone service for the calling terminal; The first message header is a message header used to indicate a color ring back tone service.

12. The method according to claim 10, characterized in that The calling terminal determines, based on the third condition, whether the third message is used to transmit a first media stream containing a color ring back tone service for the calling terminal, including: When the calling terminal accesses a network via a satellite, the calling terminal determines, based on a third condition, whether the third message is used to transmit a first media stream containing a color ring back tone service for the calling terminal.

13. The method according to claim 10, characterized in that The method further comprises: The calling terminal determines, based on a fourth condition, whether the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal; The fourth condition includes at least one of the following: In a case where the first message is a 183 response message and the 183 response message includes a second message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal; In a case where the first message is an update message and the update message includes the second message header or the third message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal; In a case where the first message is a 180 response message and the 180 response message includes the third message header, determining that the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal; The second message header is a reason message header; the third message header is a message header for prompting call waiting, or the third message header is a message header for prompting call waiting and for indicating early media.

14. The method according to claim 13, characterized in that The calling terminal determines, based on the fourth condition, whether the third message is used to transmit a second media stream containing a prompt tone to the calling terminal, including: The calling terminal determines, based on a fourth condition, whether the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal when the calling terminal accesses a network via a satellite.

15. The method according to any one of claims 10 to 14, characterized in that The color ring back tone service includes at least one of the following: an audio color ring back tone or a video color ring back tone.

16. A calling method, characterized in that: The method comprises: The third device receives a call request message, where the call request message is used to request a call to a called terminal, where the called terminal subscribes to a color ring back tone service; The third device sends at least one of a ringback tone and a second message to the calling terminal when the calling terminal accesses the network via a satellite; The second message is used to instruct the calling terminal to play a local ringback tone.

17. The method according to claim 16, characterized in that The method further comprises: The third device determines that the calling terminal accesses the network via a satellite when the fifth condition is met; Wherein, the fifth condition being met includes at least one of the following: The access mode carried in the call request message is satellite access; The voice coding mode carried by the call request message is a specified coding mode; The call request message is a simplified call request message.

18. The method according to claim 16, characterized in that The second message is a 180 response message; the second message is used to instruct the calling terminal to play a local ringback tone; The method further comprises: After the third device deletes the message header for indicating early media contained in the 180 response message, generating the second message; Alternatively, the third device modifies the value of the message header for indicating early media contained in the 180 response message to an inactive state.

19. The method according to any one of claims 16 to 18, characterized in that The color ring back tone service includes at least one of the following: an audio color ring back tone or a video color ring back tone.

20. The method according to any one of claims 16 to 18, characterized in that The third device is an application server AS that provides services for the called terminal.

21. A calling device, characterized in that: include: Receiving module and sending module; The receiving module is used to receive a first message; The sending module is configured to execute a first action if the first message received by the receiving module meets a first condition; The first message satisfies the first condition, which includes: the first message is used to transmit a first media stream corresponding to a color ring back tone service to the calling terminal, or the first message is not used to transmit a second media stream corresponding to a prompt tone to the calling terminal; The first action includes any of the following: The first device sends a ringback tone to the calling terminal; The first device controls the second device to send a ringback tone to the calling terminal; The first device sends a second message to the calling terminal, where the second message is used to instruct the calling terminal to play a local ringback tone.

22. The device according to claim 21, characterized in that The device further comprises: a determination module; The determining module is used to determine whether the first message meets the first condition based on the second condition; The second condition includes at least one of the following: In a case where the first message includes a session description protocol SDP and the SDP includes a first message header, determining that the first message is used to transmit a first media stream corresponding to a color ring back tone service for the calling terminal; In a case where the first message is a 183 response message and the 183 response message includes a second message header, determining that the first message is used to transmit a second media stream corresponding to a prompt tone to the calling terminal; In a case where the first message is an update message and the update message includes the second message header or the third message header, determining that the first message is used to transmit a second media stream corresponding to a prompt tone to the calling terminal; In a case where the first message is a 180 response message and the 180 response message includes the third message header, determining that the first message is used to transmit a second media stream corresponding to a prompt tone for the calling terminal; The first message header is a message header for indicating a color ring back tone service; the second message header is a reason message header; the third message header is a message header for prompting call waiting, or the third message header is a message header for prompting call waiting and for indicating early media.

23. The device according to claim 21, characterized in that The sending module is specifically used to send a first request message to the second device, where the first request message is used to establish a real-time transport protocol RTP connection between the calling terminal and the second device, and the RTP connection is used to transmit a ringback tone.

24. A calling device, characterized in that: include: Receiving module, sending module and playing module; The receiving module is configured to receive a third message when the sending module sends a call request; The playing module is used to play a local ringback tone when the third message is used to transmit a first media stream corresponding to the color ringback tone service for the calling terminal; Alternatively, the playing module is configured to play the prompt tone when the third message is used to transmit a second media stream corresponding to the prompt tone to the calling terminal.

25. The device according to claim 24, characterized in that The device further comprises: a determination module; The determining module is used to determine, based on a third condition, whether the third message is used to transmit a first media stream corresponding to a color ring back tone service for the calling terminal; Wherein, the third condition includes: In a case where the third message includes a session description protocol SDP and the SDP includes a first message header, determining that the third message is used to transmit a first media stream corresponding to a color ring back tone service for the calling terminal; The first message header is a message header used to indicate a color ring back tone service.

26. A calling device, characterized in that: The device comprises: a receiving module and a sending module; The receiving module is used to receive a call request message, wherein the call request message is used to request a call to a called terminal; the called terminal subscribes to a color ring back tone service; The sending module is used to send at least one of a ringback tone and a second message to the calling terminal when the calling terminal accesses the network via a satellite; The second message is used to instruct the calling terminal to play a local ringback tone.

27. The device according to claim 26, characterized in that The device further comprises: a determination module; The determining module is used to determine that the calling terminal accesses the network via a satellite when the fifth condition is met; Wherein, the fifth condition being met includes at least one of the following: The access mode carried in the call request message is satellite access; The voice coding mode carried by the call request message is a specified coding mode; The call request message is a simplified call request message.

28. A device, characterized in that It includes a processor and a memory, the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, it implements the steps of the calling method as described in any one of claims 1 to 9, or implements the steps of the calling method as described in any one of claims 16 to 20.

29. A terminal, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the calling method according to any one of claims 10 to 15 are implemented.

30. A readable storage medium, characterized in that: The readable storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, they implement the calling method as described in any one of claims 1 to 9, or implement the steps of the calling method as described in any one of claims 10 to 15, or implement the steps of the calling method as described in any one of claims 16 to 20.

Citation Information

Cited By

  • Processing method of playback type service, satellite voice access gateway and home network equipment

    CN121547449A