CALL PROCESSING METHOD AND DEVICE

Information

  • Patent Application
  • 20220131912
  • Publication Number
    20220131912
  • Date Filed
    January 06, 2022
    2 years ago
  • Date Published
    April 28, 2022
    2 years ago
Abstract
A call processing method and call processing device are provided. The method provides a media server that receives an initial call request sent by a calling terminal and forwards the initial call request to a called terminal. The media server receives a success response to the initial call request from the called terminal, and performs video resource negotiation with the called terminal.
Description
TECHNICAL FIELD

The present disclosure relates to the communications field, and in particular, to a call processing method and a device.


BACKGROUND

With deployment of a 4th generation (4G) wireless communications system and introduction of VoLTE (Voice over LTE), a wireless communications system can provide high-definition audio/video communication between a calling user and a called user, and a ring back tone audio/video service.


In a current VoLTE ring back tone system, after a user answers the call, a ring back tone stops playing. This affects user experience and limits development of the ring back tone service.


SUMMARY

Embodiments of this application provide a call processing method and a device, so that a media server continues to play a video ring back tone for a calling terminal in an audio call process between a calling user and a called user, after the called user answers the call. This enriches user experience, improves network capability utilization, and facilitates development of a ring back tone service.


According to a first aspect, an embodiment provides a call processing method. The method includes a media server receiving an initial call request sent by a calling terminal, and forwarding the initial call request to a called terminal. The media server receives a success response to the initial call request from the called terminal, where the success response to the initial call request indicates that the called terminal is off-hook. Following receipt of the success response to the initial call request, the media server performs negotiation for resources for playing calling media (“call media resource negotiation”) and negotiation for resources for playing video (“video resource negotiation”) with the called terminal, and sends, based on video resource negotiation with the called terminal, a video stream to the called terminal during an established call between the calling terminal and the called terminal.


In the foregoing method, in an audio call process between a calling user and a called user, a video stream is sent to the called user. This improves user experience and improves network capability utilization.


In a possible design, call media resource negotiation and video resource negotiation with the called terminal are performed and includes: in response to the success response to the initial call request that is sent by the called terminal, performing media resource negotiation with the called terminal on audio in the call process between the calling terminal and the called terminal and on video to be played for the called terminal during the established call. After receiving the success response to the initial call request that is sent by the called terminal, the media server performs media negotiation with the called terminal. This ensures that video is played for the called terminal during the established call.


In a possible design, after the success response to the initial call request is received from the called terminal, the method further includes forwarding the success response to the initial call request to the calling terminal, receiving an acknowledgment message that is sent by the calling terminal indicating success response to the initial call request, performance of call media resource negotiation and video resource negotiation with the called terminal are performed including, in response to the acknowledgment message that is sent by the calling terminal and indicating success response to the initial call request, performing media resource negotiation with the called terminal on audio during the established call between the calling terminal and the called terminal and on video to be played for the called terminal during the established call. After a channel between the calling terminal and the called terminal is established, the media server performs media negotiation through the channel to ensure that the video is played for the called terminal during the established call.


In a possible design, the media server determines for play, during the established call, video associated with one of a callingterminal or a called teminal , and performs call media resource negotiation and video resource negotiation with the called terminal.


In a possible design, call media resource negotiation and video resource negotiation with the called terminal are performed includes:


sending a media renegotiation message to the called terminal, where the media renegotiation message carries session description protocol SDP information of a media resource in the call process between the calling terminal and the called terminal and SDP information of a video stream to be played for the called terminal in the call process, and receiving a success response to the media renegotiation message from the called terminal.The media renegotiation message carries the SDP information of the video stream to be played during the established call and the SDP information of the media resource in the call process to ensure that the video is played in the call process without affecting call quality.


In a possible design, the method further includes sending the success response to the initial call request to the calling terminal, where the success response to the initial call request carries the session description protocol SDP information of the media resource in the call process between the calling terminal and the called terminal and SDP information of a video stream to be played for the calling terminal in the call process.; and receiving a success response to the media renegotiation message from the calling terminal. A first video is respectively to be played for the calling terminal and the called terminal during the established call. This improves experience of the calling user and the called user and network capability utilization.


According to a second aspect, an embodiment provides a call processing method applied to a terminal device. A called terminal receives an initial call request sent by a calling terminal. After sending a success response to the initial call request to a media server, the called terminal performs media resource negotiation with the media server on audio during an established call between the calling terminal and the called terminal and on video to be played for the called terminal in the call process. The called terminal plays a video stream sent by the media server in an audio call process between the calling terminal and the called terminal. In the foregoing method, in an audio call process between a calling user and a called user, a video stream is sent to the called user. This improves user experience and improves network capability utilization.


In a possible design, that media resource negotiation with the media server is performed on the audio in the call process between the calling terminal and the called terminal and on the video to be played for the called terminal in the call process and includes:


receiving a media renegotiation message sent by the media server, where the media renegotiation message carries session description protocol SDP information of a media resource of the audio in the call process between the calling terminal and the called terminal and SDP information of a video stream to be played for the called terminal in the call process, and returning a success response to the media renegotiation message to the media server. The media renegotiation message carries the SDP information of the video stream to be played in the call process and the SDP information of the media resource in the call process to ensure that the video is played in the call process without affecting call quality.


In a possible design, the called terminal performs media resource negotiation with the media server, and receives and plays an audio stream and a second video stream that are sent by the media server after the calling terminal is on-hook. After the calling terminal is on-hook, the media server may perform media negotiation with the called terminal and play a second video for the called user through the called terminal. This improves user experience and improves network capability utilization.


In a possible design, the first and second video streams are identical.


According to a third aspect, an embodiment provides a call processing method. A media server receives an initial call request sent by a calling terminal, and sends the initial call request to a called terminal. The media server receives a success response to the initial call request from the called terminal. After the called user answers the call and a call between the calling terminal and called terminal ends, the media server receives a message from the calling terminal indicating that the call has ended. In response to receipt of the message indicating that a conversation ends sent by the calling terminal, the media server performs media resource negotiation with the called terminal after the call ends, and the media server sends an audio stream and a first video stream to the called terminal based on the negotiated media resource. In an audio call process between a calling user and a called user, a first video stream is sent to the called user. This improves user experience and improves network capability utilization.


In a possible design, after receiving the message indicating that a conversation ends from the calling terminal, the media server determines whether the called user subscribes to an audio/video playing service after a call ends, and where such service has been subscribed to, performs media resource negotiation with the called terminal. After the calling terminal is on-hook, the media server plays video for the called user through the called terminal in accordance with the service subscription. This improves user experience and improves network capability utilization.


In a possible design, the media server performs media resource negotiation with the called terminal via a process that includes sending a media renegotiation message to the called terminal, where the media renegotiation message carries SDP information of the audio stream and SDP information of the video stream, and receiving a success response to the media renegotiation message that is sent by the called terminal. The media renegotiation message carries SDP information of the call to ensure that the video is played after the calling terminal is on-hook without affecting call quality.


According to a fourth aspect, an embodiment provides a media server having a function that implements the foregoing method. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more units corresponding to the foregoing function, including a call processing unit, a media negotiation unit, and a media sending unit.


In a possible design, a structure of the media server includes a processor and a memory. The memory is configured to store program code that, when executed by the processor, causes the media server to perform the foregoing method. The processor is configured to execute a program stored in the memory. The media server may further include a communications interface, configured to communicate with another device.


According to a fifth aspect, an embodiment provides a terminal device. The terminal device has a function of the terminal device that implements the foregoing method. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more units corresponding to the foregoing function, for example, including a call processing unit, a media negotiation unit, a media receiving unit, and a media playing unit.


In a possible design, a structure of the terminal device includes a processor and a memory. The memory is configured to store program code for performing the foregoing method. The processor is configured to execute a program stored in the memory. The terminal device may further include a communications interface, configured to communicate with another device.


According to a sixth aspect, an embodiment provides a call processing method. A called terminal device receives an initial call request sent by a calling terminal, and sends a success response to the initial call request to the calling terminal device, where the success response to the initial call request indicates that the called terminal device is off-hook. After the called terminal is off-hook and a call between the calling terminal and the called terminal ends, media resource negotiation with the media server is performed, and an audio stream and a video stream that are sent by the media server are received.


In a possible design, media resource negotiation with the media server includes receiving a media renegotiation message from the media server, where the media renegotiation message carries SDP information of the audio stream and SDP information of the video stream, and sending a success response to the media renegotiation message to the media server.


According to a seventh aspect, an embodiment provides a terminal device that implements the call receiving functionality of the sixth aspect. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more units corresponding to the foregoing function, for example, including a call processing unit, a media negotiation unit, a media receiving unit, and a media playing unit.


In a possible design, a structure of the terminal device includes a processor and a memory. The memory is configured to store program code for performing the foregoing method. The processor is configured to execute a program stored in the memory. The terminal device may further include a communications interface, configured to communicate with another device.


According to an eighth aspect, an embodiment provides a computer storage medium configured to store computer software instructions that are used by the foregoing media server and terminal device and that include programs designed for executing the foregoing aspects.


The foregoing technical solution according to the embodiments of this application implements, from the media server, continuous play of the video ring back tone for the calling terminal in or after the audio call process between the calling user and the called user, after the called user anwsers the call. This enriches user experience, improves network capability utilization, and facilitates development of a ring back tone service.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a schematic diagram of an architecture of a call processing system according to an embodiment of this application;



FIG. 2A and FIG. 2B are a schematic flowchart of a call processing method according to an embodiment of this application;



FIG. 3A and FIG. 3B are a schematic flowchart of another call processing method according to an embodiment of this application;



FIG. 4A and FIG. 4B are a schematic flowchart of another call processing method according to an embodiment of this application;



FIG. 5 is a schematic diagram of a structure of a media server according to an embodiment of this application;



FIG. 6 is a schematic diagram of a structure of another media server according to an embodiment of this application;



FIG. 7 is a schematic diagram of a structure of a terminal device according to an embodiment of this application;



FIG. 8 is a schematic diagram of a structure of another terminal device according to an embodiment of this application; and



FIG. 9 is a schematic diagram of a structure of another call processing system according to an embodiment of this application.





DESCRIPTION OF EMBODIMENTS

To make objectives, technical solutions, and advantages of the present application clearer, the following further describes implementations of the present application in detail with reference to the accompanying drawings.


In various embodiments, a media server continues to play a video ring back tone for a calling terminal during an established call between a calling user and a called user, after the called user answers the call. Alternatively, a media server continues to play a video ring back tone for a calling terminal after a called user ends a call and goes on-hook. The disclosed embodiments are applicable to a 4th generation (4G) mobile communications network architecture, a 5th generation (5G) mobile communications network architecture, or a future network. For ease of descriptions, the following describes a network architecture and a method procedure of the solutions by using the 4G network architecture as an example.



FIG. 1 is an architectural diagram of a system applied to a VoLTE network according to an embodiment of this application. The system includes a calling terminal, a called terminal, a radio access network, and interne protocol (IP) multimedia subsystem (IMS) domain on a calling side and a called side.


The IMS domain on the calling side and the called side may include an IMS domain core network and an evolved packet core (EPC) network. The IMS domain core network includes a serving-call session control function (S-CSCF), an interrogating-call session control function (I-CSCF), a proxy-call session control function (P-CSCF), a home subscriber server (HSS), a session border controller (SBC), and several dedicated servers, such as a multimedia telephony application server (MMTel AS). The I-CSCF and the S-CSCF may be integrated together, and may be briefly referred to as “I/S-CSCF”. The SBC and the P-CSCF may be integrated together, and may be briefly referred to as “SBC/P-CSCF”. The EPC may include a packet data network gateway (P-GW), a serving gateway (S-GW), and a mobility management entity (MME). The P-GW and the S-GW may be integrated together, and may be referred to as “S-GW/P-GW”.


The foregoing network elements are all corresponding network elements in a wireless communications network in the conventional technology, are not described in detail herein, and are merely briefly described. For example, the S-CSCF may be used for user registration, authentication control, session routing, service trigger control, and maintenance of session status information. The I-CSCF may be used for assignment and interrogating of an S-CSCF with which a user registers. The P-CSCF may be used for proxy for signaling and messages. The HSS may be configured to store user subscription information and location information. The SBC may provide secure access and media processing. The MMTel AS provides basic and supplementary multimedia telephony services. The MME is a core device on the EPC network. The S-GW may be configured to connect the IMS core network to a wireless network, and the P-GW may be configured to connect the IMS core network to an IP network.


The IMS domain core network on the calling side and the called side further includes a media server. The media server plays video for a calling user or a called user. The media server may include a media control server and a media resource server MRS. The media control server and the media resource server may be integrated together or physically separated. The media control server processes a signaling message, and the media resource server provides an audio stream and a video stream for the calling user and/or the called user.


A calling terminal and a called terminal are devices with a wireless transceiver function, and may be deployed on the land, including an indoor device, an outdoor device, a handheld device, or a vehicle-mounted device; may be deployed on a water surface (for example, on a ship); or may be deployed in the air (for example, on a plane, a balloon, and a satellite). The terminal device may be a terminal device that can access a mobile network, a mobile phone, a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in an autonomous or self driving vehicle, a wireless terminal in telemedicine (remote medical), a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless XIAOterminal in a smart home, or the like.


It should be noted that the foregoing description does not constitute a limitation on the architectural diagram of the system in this embodiment of the present application. The architectural diagram of the system in this embodiment of this application includes but is not limited to the architectural diagram shown in FIG. 1.


In an optional manner, the media server may not be located in the IMS domain core network on the calling side or the called side, but is independent of the IMS domain core network on the calling side and the called side.


In an optional manner, this embodiment of this application may alternatively be a scenario of a user in the VoLTE network and a user in another network (for example, an IMS network, a fixed network, or a switched network). For example, in this embodiment of this application, a calling user or a called user is a VoLTE user, and a called user or a calling user is a user in another network.


A call processing method is provided according to an embodiment of the present application and is applied to the system shown in FIG. 1. A media server respectively plays video for a calling terminal and a called terminal after the called terminal is off-hook. Further, the media server may continue to play video for the called terminal after the calling terminal is on-hook. Specific steps are shown in any embodiment in FIG. 2A to FIG. 4B. For brevity and ease of understanding, some network elements involved in signaling interaction are not shown in the figure, for example, an S-GW/P-GW, an SBC/P-CSCF, and an I-CSCF/S-CSCF. The method includes the following steps.



201: A media server receives an initial call request sent by a calling terminal, for example, an INVITE message. The calling terminal initiates the call request to a called terminal, to request to make a voice call with the called terminal.


The initial call request includes session description protocol (session description protocol, SDP) information (SDP_O) of the calling terminal, and the SDP information (SDP_O) of the calling terminal includes but is not limited to a call type, numbers of a calling user and a called user, media types and coding schemes supported by the calling user, and the like. The initial call request is used to perform call media negotiation between the calling terminal and the called terminal.



202: The media server forwards the initial call request to the called terminal, and an IMS network routes the called terminal.



203: The media server receives a 183 message from the called terminal. After receiving the INVITE message, the called terminal sends the 183 message to the media server to perform media negotiation with the calling terminal. The 183 message carries SDP information of the called terminal.



204: The media server forwards, to the calling terminal, the 183 message sent by the called terminal.



205: The media server receives an acknowledgment message PRACK (Provisional Response Acknowledgment) that is returned by the calling terminal and that is of the 183 message.



206: The media server forwards the PRACK message to the called terminal.



207: The media server receives a response to the PRACK message that is returned by the called terminal, that is, a 200 OK (PRACK) message.



208: The media server forwards the 200 OK (PRACK) message to the calling terminal.



209: The media server receives an UPDATE message sent by the calling terminal. If the calling terminal starts a Precondition procedure, the calling terminal completes resource reservation, and then sends the UPDATE message carrying call resource information to the called side.



210: The media server forwards the UPDATE message to the called terminal. After receiving the UPDATE message, the called terminal completes resource reservation and starts ringing.



211: The media server receives a success response to the UPDATE message that is sent by the called terminal, for example, a 200 OK (SDP_A_regular 2) message. The 200 OK (SDP_A_regular 2) message carries call resource information of the called terminal.



212: The media server forwards the success response (for example, the 200 OK (SDP_A_regular 2) message) to the UPDATE message to the calling terminal.



213: The media server further receives a 180 ringing message sent by the called terminal, to indicate that the called terminal starts ringing.



214: After receiving the 180 ringing message from the called terminal, the media server forwards the 180 ringing message from the called terminal to the calling terminal.



215: The media server receives a success response (for example, a 200 OK (INVITE)) message to the initial call request (for example, the INVITE message) that is sent by the called terminal. The called user answers the call after hearing a ring back tone, and the called terminal sends the success response (for example, the 200 OK message) to the initial call request, to indicate that the called user answers the call.



216: After receiving the success response (for example, the 200 OK message) to the initial call request that is sent by the called terminal, the media server determines to play video for the called terminal during an established call between the calling terminal and the called terminal.


For example, after receiving an message indicating that a called user answers a call from the called terminal, the media server may query, through an HSS, whether the calling user or the called user subscribe to a video playing service for the called user during an established call, to determine whether to play video for the called user in the call process. When either of the calling user or the called user subscribes to the video playing service for the called user, a video playing procedure may be started.


In addition, the media server (for example, a media control server) obtains terminal information from an S-CSCF or the HSS, for example, an attribute label such as a number of the calling user, an age, a gender, a network to which a user belongs, a user credit level, an online habit, a consuming behavior, or traffic consumption, a real-time position of a user, time, a user status, and a media location (including a screen of a called user) corresponding to idle time of a current VoLTE call of a user, to determine video content to be played.



217: In response to the message indicating that a called user answers a call (the 200 OK (INVITE), that is, the success response to the initial call request) received by the media server from the called terminal, the media server sends a media renegotiation message (re-INVITE) to the called terminal, to perform call media resource negotiation and video resource negotiation with the called terminal. The re-INVITE request carries media information of the video and original information about audio that has been negotiated between the calling terminal and the called terminal. The original information about audio that has been negotiated between the calling terminal and the called terminal is information about audio used in the call process between the calling terminal and the called terminal.


That the media server performs negotiation for resources for playing call media (“call media resource negotiation”) and negotiation for resources for playing video (“video resource negotiation”) with the called terminal includes: performing media resource negotiation with the called terminal on the audio in the call process between the calling terminal and the called terminal and on the video to be played for the called terminal in the call process.


In addition, the media renegotiation message further carries a video playing indication, to indicate that the media renegotiation message includes an indication of media information of video, so that a charging device can perform charging based on the indication.



218: The media server receives a success response (for example, a 200 OK (re-INVITE) message) to the media renegotiation message that is sent by the called terminal and media resource negotiation is performed with the called terminal and that indicates that the called terminal agrees to play the video for the called terminal; andstores audio resource information of the calling terminal and the called terminal when the video is played.



219: The media server sends an acknowledgment message (for example, an ACK message) of the success response to the media renegotiation message to the called terminal, and plays the video for the called terminal. In addition, the media server stores the audio resource information, to help the calling terminal and the called terminal make a call.



220: The media server determines to play video for the calling terminal in the call process between the calling terminal and the called terminal.


For example, after receiving the message indicating the called user answers the call from the called terminal, the media server may query whether the calling user or the called user subscribe to a service for playing video for the called user during an established call, to determine whether to play video for the called user in the call process. When either of the calling user or the called user subscribes to the video playing service for the called user, a video playing procedure may be started.


For another example, the media server may further determine video content to be played for the calling user based on an attribute label such as a number of the calling user, an age, a gender, a network to which a user belongs, a user credit level, an online habit, a consuming behavior, or traffic consumption, a real-time position of a user, time, a user status, a media location (including a screen of a called user) in idle time of a current VoLTE call of a user, and the like.



221: The media server sends a media renegotiation message to the calling terminal, to perform call media resource negotiation and video resource negotiation with the calling terminal. In this way, the media server can play video for the calling terminal through media negotiation in the call process between the calling terminal and the called terminal.


The media server performs call media resource negotiation and video resource negotiation with the calling terminal includes performing media resource negotiation with the calling terminal on the audio in the call process between the calling terminal and the called terminal and on the video to be played for the calling terminal in the call process.


The media renegotiation message may be a success response (for example, a 200 OK message) to the media renegotiation message from the called terminal. The 200 OK message sent by the media server to the calling terminal carries SDP information of a call media resource and SDP information of a video stream, so that the media server continues to play the video for the calling terminal in the call process between the calling terminal and the called terminal. The SDP information of the call media resource includes information such as an IP address of the called terminal, and the SDP information of the video stream includes information such as an IP address of a media resource server MRS.


There are several possibilities that a message replied by the called terminal carries the SDP information of the call media resource: (a) When the called terminal rings, the 180 ringing message sent by the called terminal carries the SDP information of the call media resource; (b) when the called terminal is off-hook, the 200 OK (INVITE) message sent by the called terminal carries the SDP information of the call media resource; and (c) after the called terminal is off-hook, the called terminal receives the re-INVITE request sent by the media server and returns, to the media server, the 200 OK (re-INVITE) message carrying the SDP information of the call media resource. If a plurality of cases of the foregoing three cases exist in a same call process, the SDP information carried in a last message is selected based on a sequence of (a), (b), and (c).



222: The media server receives, from the calling terminal, an acknowledgment message (that is, an ACK message) that acknowledges that the calling terminal receives the 200 OK message that is sent by the called terminal and that is of the success response (for example, the re-INVITE message) to the media renegotiation message.


After receiving the ACK message sent by the calling terminal, the media server plays the video for the calling terminal.



223: The media server forwards the received ACK message to the called terminal, to establish a call channel between the calling terminal and called terminal.


After the foregoing steps are completed, the calling terminal and the called terminal establish a call, and the media server stops playing an audio stream of a ring back tone, and continues to play a video stream of the ring back tone for the calling terminal.


The calling terminal or the called terminal may process a call interface and a video interface in a plurality of manners. For example, if a call between the calling terminal and the called terminal includes audio only, the calling terminal may directly display a video picture in a portrait orientation or a landscape orientation. If a call between the calling terminal and the called terminal includes audio and video, the calling terminal may display a call audio/video stream picture, and display a video picture in a picture-in-picture manner.



224: The media server receives an message indicating that a conversation ends (for example, a BYE message) from the calling terminal, and the media server stops playing the ring back tone.



225: The media server sends the BYE message to the called terminal, to indicate the called terminal to be on-hook. The media server stops playing the ring back tone.



224′: The media server receives an message indicating that a conversation ends (for example, a BYE message) from the called terminal, and the media server stops playing the ring back tone.



225′: The media server sends the BYE message to the calling terminal, to indicate that the called terminal is on-hook. The media server stops playing the ring back tone.


It should be noted that step 216 and step 220 are not subject to a specific sequence.


In the embodiment shown in FIG. 2A and FIG. 2B, a function of playing video for the calling terminal and the called terminal in an audio call between the calling user and the called user is implemented. This enriches user experience, improves network capability utilization, and facilitates development of a ring back tone service.


Another call processing method is provided according to an embodiment and is applied to the system shown in FIG. 1. A media server performs media negotiation with a calling terminal and/or a called terminal during an established call between the calling terminal and the called terminal to play video for the calling terminal and/or the called terminal. Specific steps are shown in FIG. 3A and FIG. 3B. For brevity and ease of understanding, some network elements involved in signaling interaction are not shown in the figure, for example, an S-GW/P-GW, an SBC/P-CSCF, and an I-CSCF/S-CSCF. The method includes the following steps.


Description of 301 to 315 is the same as description of 201 to 215. Details are not described again in this embodiment of this application.



316: A media server forwards a message indicating the called user answers the call from a called terminal to a calling terminal, that is, a 200 OK (INVITE) message.



317: The media server receives, from the calling terminal, an acknowledgment message (that is, an ACK message) that acknowledges that the message indicating that a called user answers a call (the 200 OK (INVITE) message) is received.



318: The media server forwards the received ACK message to the called terminal, to establish a call channel between the calling terminal and called terminal.


After the foregoing steps are complete, the calling terminal and the called terminal establish a call, and the calling terminal and the called terminal start calling.



319: After sending the ACK message to the called terminal, the media server determines to play video for the called terminal during an established call between the calling terminal and the called terminal.


For example, after receiving the message indicating that a called user answers a call from the called terminal, the media server may query whether a calling user or a called user subscribe to a service for playing a video for the called user during an established call, to determine whether to play video in the call process. When either of the calling user or the called user subscribes to the video playing service for the called user in the call process, a video playing procedure may be started.


In addition, the media server (for example, a media control server) obtains terminal information, for example, an attribute label such as a number of the calling user, an age, a gender, a network to which a user belongs, a user credit level, an online habit, a consuming behavior, or traffic consumption, a real-time position of a user, time, a user status, and a media location (including a screen of a called user) in idle time of a current VoLTE call of a user, to determine video content to be played for the calling terminal and/or the called terminal. The video content sent by the media server to the calling terminal and the called terminal may be the same or may be different. This is not limited in this embodiment.



320: The media server sends a media renegotiation message (for example, a re-INVITE request) to the called terminal, to perform video renegotiation with the called terminal. The media renegotiation message carries session description protocol SDP information of a media resource in the call process between the calling terminal and the called terminal and SDP information of a video stream to be played for the called terminal in the call process.


In addition, the media renegotiation message further carries a video playing indication, to indicate that the media renegotiation message includes an indication of media information of video, so that a charging device can perform charging based on the indication. The video playing indication may be the SDP information of the video stream to be played for the called terminal in the call process, or another identifier. This is not limited in this embodiment.



321: The media server receives a success response (for example, a 200 OK message) to the media renegotiation message that is sent by the called terminal and that indicates that the called terminal agrees to play the video for the called terminal; and stores audio resource information of the calling terminal and the called terminal.



322 and 323: The media server sends an ACK message for the re-INVITE request to the called terminal, and plays the video for the called terminal.


Description of 324 is the same as description of 220. Details are not described again in this embodiment.



325: The media server sends a media renegotiation message (for example, re-INVITE) to the calling terminal, to perform video renegotiation with the calling terminal. In this way, the media server can play video for the calling terminal through media negotiation in the call process between the calling terminal and the called terminal.


The media renegotiation message (for example, re-INVITE) sent by the media server to the calling terminal carries SDP information of a call media resource and SDP information of a video stream, so that the media server continues to play the video for the calling terminal in the call process between the calling terminal and the called terminal. The SDP information of the call media resource includes information such as an IP address of the called terminal, and the SDP information of the video stream includes information such as an IP address of a media resource server MRS.


There are several possibilities that a message replied the called terminal carries the SDP information of the call media resource: (a) When the called terminal rings, the 180 ringing message sent by the called terminal carries the SDP information of the call media resource; (b) when the called terminal is off-hook, the 200 OK (INVITE) message sent by the called terminal carries the SDP information of the call media resource; and (c) after the called terminal is off-hook, the called terminal receives the re-INVITE request sent by the media server and returns, to the media server, the 200 OK (re-INVITE) message carrying the SDP information of the call media resource. If a plurality of cases of the foregoing three cases exist in a same call process, the SDP information carried in a last message is selected based on a sequence of (a), (b), and (c).



326: The media server receives a success response (for example, a 200 OK message) to the media renegotiation message (for example, re-INVITE) that is sent by the calling terminal and that indicates that the calling terminal agrees to play video for the calling terminal and stores audio resource information of the calling terminal and the called terminal.



327: The media server sends an acknowledgment message (that is, an ACK message) to the calling terminal, to acknowledge that the success response (the 200 OK message) to the media renegotiation message (a re-INVITE request) that is sent by the calling terminal is received.



328: The media server sends video to the calling terminal in the call process between the calling terminal and the called terminal.


The media server sends the video to the calling terminal based on video information in the re-INVITE request in step 325.



329 and 330: The media server receives an message indicating that a conversation ends (that is, a BYE message) from the calling terminal, and the media server stops playing the video for the calling terminal.



331 and 332: The media server sends the BYE message to the called terminal, to notify the called terminal that the called terminal is on-hook, and stops playing the video.


In the embodiment shown in FIG. 3A and FIG. 3B, a function of playing video for the called terminal during an established call between the calling user and the called user is implemented. This enriches user experience, improves network capability utilization, and facilitates development of a related service.


Another call processing method is provided according to an embodiment of the present application and is applied to the system shown in FIG. 1. A media server performs media negotiation with a called terminal after a call between a calling terminal and the called terminal ends, to play video for the called terminal. Specific steps are shown in FIG. 4A and FIG. 4B. For brevity and ease of understanding, some network elements involved in signaling interaction are not shown in the figure, for example, an S-GW/P-GW, an SBC/P-CSCF, and an I-CSCF/S-CSCF. The method includes the following steps.


Description of 401 to 415 is the same as description of 201 to 215. Details are not described again in this embodiment.


Description of 416 to 418 is the same as description of 316 to 318. Details are not described again in this embodiment.


After the foregoing steps are complete, the calling terminal and the called terminal establish a call, and the calling terminal and the called terminal start calling.



420: A media server receives an message indicating that a conversation ends from a calling terminal, that is, a BYE message.



421: In response to the received message indicating that a conversation ends from the calling terminal, the media server determines to play video for a called terminal.


After receiving the message indicating that a conversation ends from the calling terminal, the media server may query whether a calling user and a called user subscribe to a video playing service for the called user after a call ends, to determine whether to play video for the called user. When either of the calling user or the called user subscribes to the video playing service for the called user after the call ends, a procedure of playing video for the called user may be started.


For another example, the media server may further determine video content to be played for the called user based on an attribute label such as a number of the calling user, an age, a gender, a network to which a user belongs, a user credit level, an online habit, a consuming behavior, or traffic consumption, a real-time position of a user, time, a user status, a media location (including a screen of a called user) in idle time of a current VoLTE call of a user, and the like.



422: The media server sends a media renegotiation message (for example, a re-INVITE request) to the called terminal, to perform video renegotiation with the called terminal. The media renegotiation message carries SDP information of an audio stream and/or a video stream to be played for the called terminal, so that audio and/or video are/is played for the called terminal after the call between the calling terminal and the called terminal ends. The SDP information of the audio stream and/or the video stream includes information such as an IP address of a media resource server MRS.


In addition, the media renegotiation message further carries a video playing indication, to indicate that the media renegotiation message includes an indication of media information of video, so that a charging device can perform charging based on the indication.



423: The media server receives a success response (that is, a 200 OK message) to the media renegotiation message that is sent by the called terminal and that indicates that the called terminal agrees to play the video for the called terminal.


The success response (the 200 OK message) relied by the called terminal includes media information of the video stream.



424 and 425: The media server sends an ACK message of the re-INVITE request to the called terminal, and plays the video for the called terminal.



426 to 428: The media server determines that the video ends, sends the message indicating that a conversation ends from the calling terminal to the called terminal, and stops playing the video for the called terminal.


In the embodiment shown in FIG. 4A and FIG. 4B, a function of playing video for the called terminal after a call between the calling user and the called user ends is implemented. This enriches user experience, improves network capability utilization, and facilitates development of a related service.


For example, in the procedure in FIG. 2A and FIG. 2B or FIG. 3A and FIG. 3B, after receiving the message indicating that a conversation ends (for example, the BYE message) sent by the calling terminal, the media server further determines to play the video for the called terminal, and performs step 421 to step 428.


For another example, in any procedure in FIG. 2A to FIG. 4B, the called terminal may first be on-hook. After receiving the message indicating that a conversation ends (for example, the BYE message) sent by the called terminal, the media server determines to play the video for the calling terminal. Then, step 325 to step 328 are performed.


An embodiment of this application further provides a schematic structural diagram of a media server. As shown in FIG. 5, the media server includes a call processing unit 501, a media negotiation unit 502, and a media sending unit 503. Details are as follows.


The call processing unit 501 is configured to receive an initial call request sent by a calling terminal, forward the initial call request to a called terminal, and receive a success response to the initial call request from the called terminal.


The media negotiation unit 502 is configured to: after receiving the success response to the initial call request, perform call media resource negotiation and video resource negotiation with the called terminal.


The media sending unit 503 is configured to send, based on video resource negotiation with the called terminal, a video stream to the called terminal.


The units implement related functions in any one of the foregoing embodiments in FIG. 2A to FIG. 4B. Details are not described again.


Optionally, the call processing unit 501 is configured to receive an initial call request sent by a calling terminal, send the initial call request to a called terminal, receive a success response to the initial call request from the called terminal, and receive an message indicating that a conversation ends sent by the calling terminal after the called terminal is off-hook. The media negotiation unit 502 is configured to: in response to the message indicating that a conversation ends sent by the calling terminal, perform media resource negotiation with the called terminal after a call ends. The media sending unit 503 is configured to send an audio stream and a video stream to the called terminal based on the negotiated media resource.


In this embodiment, the media server is presented in a form of a functional unit. The “unit” herein may be an application-specific integrated circuit (ASIC), a circuit, a processor and a memory that execute one or more software or firmware programs, an integrated logic circuit, and/or another device that can provide the foregoing functions. In a simple embodiment, a person skilled in the art may determine that the media server may be implemented by using a processor, a memory, and a communications interface.


The media server in this embodiment may further be implemented by using a computer device (or system) in FIG. 6. FIG. 6 is a schematic diagram of the computer device according to an embodiment. The computer device includes at least one processor 601, a communications bus 602, a memory 603, and at least one communications interface 604. The computer device may further include an I/O interface 605.


The processor 601 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling program execution in the solution of the embodiment.


The communications bus 602 may include a path for transmitting information between the foregoing components. The communications interface is configured to communicate with another device or a communications network such as the Ethernet, a radio access network (RAN), or a wireless local area network (WLAN) by using any apparatus of a transceiver type.


The memory 603 may be a read-only memory (ROM), another type of static storage device that can store static information and/or instructions, a random access memory (RAM), or another type of dynamic storage device that can store information and/or an instruction.


Alternatively, the memory 603 may be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or another compact disc storage, an optical disc storage (including a compact optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, or the like), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be configured to carry or store expected program code in a form of an instruction or a data structure and that can be accessed by a computer. However, the memory 603 is not limited thereto. The memory may exist independently, and is connected to the processor through the bus. The memory may alternatively be integrated with the processor.


The memory 603 is configured to store application program code for performing the solution of the present application, and the processor controls the execution. The processor is configured to execute the application program code stored in the memory.


In a specific implementation, the processor 601 may include one or more CPUs, and each CPU may be a single-core (single-core) processor or a multi-core (multi-core) processor. The processor herein may be one or more devices, circuits, and/or processing cores configured to process data (for example, a computer program instruction).


In a specific implementation, in an embodiment, the computer device may further include the input/output (I/O) interface. For example, the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, a projector, or the like. The input device may be a mouse, a keyboard, a touchscreen device, a sensing device, or the like.


The computer device may be a general-purpose computer device or a dedicated computer device. In a specific implementation, the computer device may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communications device, an embedded device, or a device with a structure similar to that in FIG. 5. This embodiment is not limited to a specific type of computer device.


The media server in FIG. 1 may be the device shown in FIG. 6, and the memory includes one or more software modules. The media server may implement the software module by using the processor and the program code in the memory to implement the foregoing method.


An embodiment of this application further provides a computer storage medium, configured to store computer software instructions that are used by the foregoing device shown in



FIG. 5 or FIG. 6 and that include programs designed for executing the foregoing method embodiments. The foregoing methods can be implemented by executing the stored programs.


An embodiment further provides a schematic structural diagram of a terminal device. As shown in FIG. 7, the terminal device includes a call processing unit 701, a media negotiation unit 702, a media receiving unit 703, and a media playing unit 704. Details are as follows.


The call processing unit 701 is configured to receive an initial call request sent by a calling terminal.


The media negotiation unit 702 is configured to send a success response to the initial call request to a media server and perform media resource negotiation with the media server on audio during an established call between the calling terminal and a called terminal and on video to be played for the called terminal in the call process.


The media receiving unit 703 is configured to receive an acknowledgment message that is sent by the media server and that is of a success response to media renegotiation and a video stream sent by the media server.


The media playing unit 704 is configured to play the video stream sent by the media server in an audio call process with the calling terminal.


The units implement any one of related functions in the foregoing embodiments in FIG. 2A to FIG. 4B. Details are not described again.


In this embodiment, the terminal device is presented in a form of a functional unit. The “unit” herein may be an application-specific integrated circuit (ASIC), a circuit, a processor and a memory that execute one or more software or firmware programs, an integrated logic circuit, and/or another device that can provide the foregoing functions. In a embodiment, a person skilled in the art would understand that the terminal device may be implemented by using a processor, a memory, and a communications interface.


The terminal device in this embodiment of this application may further be implemented by using a computer device (or system), as shown in FIG. 8. The computer device includes at least one processor 801, a communications bus 802, a memory 803, and at least one communications interface 804. The computer device may further include an I/O interface 805.


The processor may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling program execution in solutions of the disclosed embodiments.


The communications bus may include a path for transmitting information between the foregoing components. The communications interface is configured to communicate with another device or a communications network such as the Ethernet, a radio access network (RAN), or a wireless local area network (WLAN) by using any apparatus of a transceiver type.


The memory may be a read-only memory (ROM), another type of static storage device that can store static information and instructions, a random access memory (RAM), or another type of dynamic storage device that can store information and instructions, or may be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or another compact disc storage, an optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, or the like), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be configured to carry or store expected program code in a form of an instruction or a data structure and that can be accessed by a computer. However, the memory is not limited thereto. The memory may exist independently, and is connected to the processor through the bus. The memory may alternatively be integrated with the processor.


The memory is configured to store application program code used to execute the solutions of the present application, and the execution is controlled by the processor. The processor is configured to execute the application program code stored in the memory.


In a specific implementation, the processor may include one or more CPUs, and each CPU may be a single-core processor or a multi-core processor. The processor herein may be one or more devices, circuits, and/or processing cores configured to process data (for example, a computer program instruction).


In a specific implementation, in an embodiment, the computer device may further include the input/output (I/O) interface. For example, the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, a projector, or the like. The input device may be a mouse, a keyboard, a touchscreen device, a sensing device, or the like.


The computer device may be a general-purpose computer device or a dedicated computer device. In a specific implementation, the computer device may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communications device, an embedded device, or a device with a structure similar to that in FIG. 7. A type of the computer device is not limited in this embodiment of this application.


The terminal device in FIG. 1 may be the device shown in FIG. 7, and the memory stores one or more software modules. The terminal device may implement the software module by using the processor and the program code in the memory, to implement the foregoing method.


An embodiment further provides a computer storage medium, configured to store computer software instructions that are used by the foregoing device shown in FIG. 6 or FIG. 7 and that include programs designed for executing the foregoing method embodiments. The foregoing methods can be implemented by executing the stored programs.



FIG. 9 is a schematic structural diagram of another call processing system 900. The apparatus system includes a media server MRS 901, an HSS 902, and an S-CSCF in the foregoing embodiments.


The MRS 901 may perform the foregoing embodiments and any steps performed by the media server in FIG. 1 to FIG. 8. Details are not described in this embodiment of this application. The HSS may be configured to store user subscription information and location information. The S-CSCF may be used for user registration, authentication control, session routing, service trigger control, and storing of session status information.


Although the present application is described with reference to the embodiments, in a process of implementing the present application that claims protection, a person skilled in the art may understand and implement another variation of the disclosed embodiments by viewing the accompanying drawings, disclosed content, and the appended claims. In the claims, “comprising” (comprising) does not exclude another component or another step, and “a” or “one” does not exclude a case of plurality. A single processor or another unit may implement several functions enumerated in the claims. Some measures are recorded in dependent claims that are different from each other, but this does not mean that these measures cannot be combined to produce a great effect.


A person skilled in the art should understand that the embodiments may be provided as a method, an apparatus (device), or a computer program product. Therefore, the present application may use a form of hardware-only embodiments, software-only embodiments, or embodiments with a combination of software and hardware. Moreover, the present application may use a form of a computer program product that is implemented on one or more computer-usable storage media (including but not limited to a disk memory, a CD-ROM, an optical memory, and the like) that include computer-usable program code. The computer program is stored/distributed in a proper medium and is provided as or used as a part of the hardware together with another hardware, or may also use another allocation form, such as by using the interne or another wired or wireless telecommunications system.


The present disclosure is described with reference to the flowcharts and/or block diagrams of the method, the apparatus (device), and the computer program product according to various embodiments. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of any other programmable data processing device to generate a machine, so that the instructions executed by a computer or a processor of any other programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.


These computer program instructions may also be stored in a computer-readable memory that can instruct the computer or any other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate an artifact that includes an instruction apparatus. The instruction apparatus implements a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.


The computer program instructions may alternatively be loaded onto a computer or another programmable data processing device, so that a series of operations and steps are performed on the computer or another programmable device, to generate computer-implemented processing. Therefore, the instructions executed on the computer or another programmable device provide steps for implementing a specific function in one or more procedures in the flowcharts and/or in one or more blocks in the block diagrams.


Although the present disclosure is described with reference to specific features and embodiments, various modifications and combinations may be made thereto. The specification and accompanying drawings are merely example descriptions of the disclosed embodiments defined by the appended claims, and are considered merely illustrative of the various modifications, variations, combinations and equivalents that can be made thereto. It is clear that a person skilled in the art can make various modifications and variations to the disclosed embodiments without departing from the scope of the disclosed embodiments. Any and all such modifications and variations are intended to fall within—and be encompassed by—the scope of the accompanying claims.

Claims
  • 1. A call processing method applied to a media server, the method comprising: receiving an initial call request sent by a calling terminal and forwarding the initial call request to a called terminal;receiving a success response to the initial call request from the called terminal, the success response to the initial call request indicating that the called terminal is off-hook;after receiving the success response to the initial call request, performing call media resource negotiation and video resource negotiation with the called terminal; andsending, based on video resource negotiation with the called terminal, a video stream to the called terminal during an established call between the calling terminal and the called terminal.
  • 2. The method according to claim 1, the performing call media resource negotiation and video resource negotiation with the called terminal comprising: after receiving the success response to the initial call request that is sent by the called terminal, performing media resource negotiation with the called terminal on audio in the call process between the calling terminal and the called terminal and on video to be played for the called terminal during the established call.
  • 3. The method according to claim 1, the method further comprising: forwarding the success response to the initial call request to the calling terminal, and receiving an acknowledgment message from the calling terminal confirming successful response to the initial call request; and the performing call media resource negotiation and video resource negotiation with the called terminal comprises: after receiving the acknowledgment message that is sent by the calling terminal and that is of the success response to the initial call request, performing media resource negotiation with the called terminal on audio during the established call between the calling terminal and the called terminal and on video to be played for the called terminal during the established call.
  • 4. The method according to claim 1, the method further comprising: determining a service for playing, during the established call, a video associated with one of a calling terminal and a called terminal, and performing call media resource negotiation and video resource negotiation with the called terminal.
  • 5. The method according to of claim 1, the performing call media resource negotiation and video resource negotiation with the called terminal comprising: sending a media renegotiation message to the called terminal, the media renegotiation message carrying session description protocol (SDP) information of a media resource in the call process between the calling terminal and the called terminal and SDP information of a video stream to be played for the called terminal during the established call; andreceiving a success response to the media renegotiation message from the called terminal.
  • 6. The method according to of claim 1, the method further comprising: sending the success response to the initial call request to the calling terminal, the success response carrying session description protocol (SDP) information of the media resource in the call process between the calling terminal and the called terminal and SDP information of a video stream to be played for the called terminal in the call process; andreceiving a success response to the media renegotiation message from the calling terminal.
  • 7. A call processing method applied to a terminal device, the call processing methodcomprising: receiving an initial call request;sending a success response to the initial call request to a media server;performing media resource negotiation with the media server on audio during an established call between the calling terminal and a called terminal and on video to be played for the called terminal in the call process; andplaying a first video stream sent by the media server during the established call .
  • 8. The method according to claim 7, wherein the performing media resource negotiation with the media server on audio during an established call between the calling terminal and a called terminal and on video to be played for the called terminal in the call process comprises: receiving a media renegotiation message sent by the media server, the media renegotiation message carrying session description protocol (SDP) information of a media resource of the audio in the call process between the calling terminal and the called terminal and SDP information of a video stream to be played for the called terminal in the call process; andreturning a success response to the media renegotiation message to the media server.
  • 9. The method according to claim 7 , further comprising: performing media resource negotiation with the media server and receiving and playing an audio stream and a second video stream that are sent by the media server after the calling terminal is on-hook.
  • 10. The method according to claim 9, wherein the first and second video streams are identical.
  • 11. A media server, comprising: at least one processor; anda non-transitory computer-readable storage medium coupled to the at least one processor and storing one or more instructions that, when executed by the at least one processor, cause the media server to perform operations comprising:receiving an initial call request sent by a calling terminal;forwarding the initial call request to a called terminal;receiving a success response to the initial call request from the called terminal, the success response indicating that the called terminal is off-hook;after receiving the success response to the initial call request, performing call media resource negotiation and video resource negotiation with the called terminal; andsending, based on the video resource negotiation with the called terminal, a first video stream to the called terminal during an established call between the calling terminal and the called terminal.
  • 12. The media server according to claim 11, the performing call media resource negotiation and video resource negotiation with the called terminal comprising: performing media resource negotiation with the called terminal on audio in the call process between the calling terminal and the called terminal and on the video stream sent to the called terminal in the call process.
  • 13. The media server according to claim 11, further comprising, after the receiving a success response to the initial call request from the called terminal: forwarding the success response to the initial call request to the calling terminal, and receiving an acknowledgment message from the calling terminal concerning a success response to the initial call request; andthe performing call media resource negotiation and video resource negotiation with the called terminal comprising: in response to the acknowledgment message from the calling terminal concerning the success response to the initial call request, performing media resource negotiation with the called terminal on audio in the call process between the calling terminal and the called terminal and on the video stream sent to the called terminal.
  • 14. The media server according to claim 11, wherein the media server performs operations comprising: determining a service for playing, during a call, a second video stream associated with one of a calling terminal and a called terminal, and performing call media resource negotiation and video resource negotiation with the called terminal.
  • 15. The media server according to claim 14, wherein the second video stream is identical to the first video stream.
  • 16. The media server according to claim 11, the performing call media resource negotiation and video resource negotiation with the called terminal comprising: sending a media renegotiation message to the called terminal, the media renegotiation message carring session description protocol SDP information of a media resource in the call process between the calling terminal and the called terminal and SDP information of the video stream sent to the called terminal; andreceiving a success response to the media renegotiation message from the called terminal.
  • 17. The media server according to claim 11, the media server further performing operations comprising: sending to the calling terminal the success response to the initial call request, the success response carrying session description protocol (SDP) information of the media resource in the call process between the calling terminal and the called terminal and SDP information of a video stream sent to the called terminal in the call process; andreceiving a success response to the media renegotiation message from the calling terminal.
  • 18. A terminal device, comprising: at least one processor; anda non-transitory computer-readable storage medium coupled to the at least one processor and storing one or more instructions that, when executed by the at least one processor, cause the terminal device to perform operations comprising:receiving an initial call request;send a success response to the initial call request to a media server;perform media resource negotiation with the media server on audio during an established call between the calling terminal and a called terminal and on video to be played by the called terminal in the call process; andplaying a first video stream sent by the media server during the established call.
  • 19. The terminal device according to claim 18, wherein the performing media resource negotiation with the media server on audio during the call between the calling terminal and a called terminal and on video to be played for the called terminal in the call process comprises: receiving a media renegotiation message sent by the media server, the media renegotiation message carrying session description protocol (SDP) information of a media resource of the audio in the call process between the calling terminal and the called terminal and SDP information of a video stream to be played by the called terminal in the call process; andreturning a success response to the media renegotiation message to the media server.
  • 20. The terminal device according to claim 18, the terminal device further performing operations comprising: after determining the calling terminal is on-hook, performing media resource negotiation with the media server and receiving and playing an audio stream and a second video stream that are sent by the media server.
  • 21. The method according to claim 20, wherein the first and second video streams are identical.
Priority Claims (1)
Number Date Country Kind
201910926313.2 Sep 2019 CN national
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Patent Application No. PCT/CN2020/116428, filed on Sep. 21, 2020, which claims priority to Chinese Patent Application No. 201910926313.2, filed on Sep. 27, 2019. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.

Continuations (1)
Number Date Country
Parent PCT/CN2020/116428 Sep 2020 US
Child 17570155 US