CN116346988A - Method and device for receiving incoming call - Google Patents

Method and device for receiving incoming call Download PDF

Info

Publication number
CN116346988A
CN116346988A CN202111597331.4A CN202111597331A CN116346988A CN 116346988 A CN116346988 A CN 116346988A CN 202111597331 A CN202111597331 A CN 202111597331A CN 116346988 A CN116346988 A CN 116346988A
Authority
CN
China
Prior art keywords
color vibration
network
audio
incoming call
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111597331.4A
Other languages
Chinese (zh)
Inventor
叶承尧
李敏
李伟波
杨翔宇
蔡亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Guangzhou Mobile R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Guangzhou Mobile R&D Center
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Guangzhou Mobile R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Guangzhou Mobile R&D Center
Priority to CN202111597331.4A priority Critical patent/CN116346988A/en
Publication of CN116346988A publication Critical patent/CN116346988A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42017Customized ring-back tones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure provides a method and apparatus for receiving an incoming call. The method comprises the following steps: receiving an incoming call; playing color vibration video resources sent by a network; and synchronously playing the local audio according to the ringing strategy in the incoming call reminding mode. According to the method disclosed by the invention, the local audio can be automatically adapted, the color vibration video resource is played, and meanwhile, the local audio is played, so that a user is reminded of an incoming call, thereby avoiding missing an important incoming call, and improving the user experience.

Description

Method and device for receiving incoming call
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for receiving an incoming call.
Background
With the advent and development of the 5G age and the popularization of mobile user equipment, network operators of mobile networks provide users with more abundant value-added services, such as color vibration services, in addition to basic call services. The color vibration service is a service experienced by the called user, when the calling user initiates a call request and the called user opens the color vibration service, the ringing tone of the called terminal can be replaced by media information such as customized audio and video before the called user answers the call.
Through the color vibration service, a user can obtain better service experience, and can fully enjoy the convenience brought by the color vibration service in life and work. However, when the color vibration resource has only video pictures and no network audio sounds (such as video business cards), or due to network uncertainty, color vibration audio packets are lost in network transmission, and the like, only the color vibration video pictures are played and no color vibration audio sounds are generated when a call comes, so that the problem that a user misses an important call can be caused, and the experience of the user is greatly influenced.
Disclosure of Invention
The present disclosure provides a method and apparatus for receiving an incoming call, so as to at least solve the problem that in the related art, only a color vibration video picture is played when an incoming call is received, and no color vibration audio sound causes a user to miss an important incoming call, or not solve any of the above problems.
According to a first aspect of the present disclosure, there is provided a method of receiving an incoming call, comprising: receiving an incoming call; playing color vibration video resources sent by a network; and synchronously playing the local audio according to the ringing strategy in the incoming call reminding mode.
Optionally, playing the color vibration video resource sent by the network includes: and playing the color vibration video resource sent by the network under the condition that the color vibration resource of the incoming call has no audio frequency.
Optionally, determining whether the color vibration needs to be played when the call comes according to the session initiation protocol SIP (Session Initiation Protocol) signaling.
Optionally, determining whether the color vibration needs to be played when the incoming call is required according to a session initiation protocol SIP signaling includes: acquiring INVITE SIP signaling sent by the network; based on the content of the Alert-Info header of the INVITE SIP signaling including color vibration resource information, the color vibration is determined to be played when the call comes; and determining that color vibration is not played when an incoming call is received based on the fact that the content of the Alert-Info header field of the INVITE SIP signaling does not comprise color vibration resource information.
Optionally, playing the color vibration video resource sent by the network under the condition that the color vibration resource of the incoming call is audio-free, including: determining whether the network transmits color vibration audio through a session description protocol SDP (Session Description Protocol); and playing the color vibration video resource transmitted by the network under the condition that the network does not transmit the color vibration audio.
Optionally, determining whether the network transmits the color vibration audio through a session description protocol SDP includes: acquiring an audio media stream direction value in a session description protocol SDP sent by the network; based on the audio media stream direction value in the session description protocol SDP being inactive or recvon ly, determining that the network does not send color vibration audio; and determining that the network transmits color vibration audio based on the fact that the audio media stream direction value in the session description protocol SDP is sendrecv or sendonly or the audio media stream direction value in the session description protocol SDP is not available.
Optionally, playing the color vibration video resource sent by the network under the condition that the color vibration resource of the incoming call is audio-free, including: and under the condition that the network transmits the color vibration audio, if the color vibration audio packet transmitted by the network is not received within a preset time, playing the color vibration video resource transmitted by the network.
Optionally, under the condition that the network sends the color vibration audio, if the color vibration audio packet sent by the network is not received within a preset time, playing the color vibration video resource sent by the network, including: under the condition that the network transmits color vibration audio according to a session description protocol SDP, transmitting a confirmation message to the network to complete media negotiation; and in the preset time after the media negotiation is completed, if the color vibration audio packet sent by the network is not received, playing the color vibration video resource sent by the network.
Optionally, playing the local audio synchronously according to the ringing strategy in the incoming call reminding mode includes: and a IMS (IP Multimedia System) module sends a state value to the telephone application to update the telephone configuration file or carries a state value parameter through an Intent mechanism to inform the telephone application that the color vibration resource is audio-free.
Optionally, the step of synchronously playing the local audio according to the ringing strategy in the incoming call reminding mode includes: reading a ringing strategy in an incoming call reminding mode; if the ringing strategy is that the incoming call needs ringing, synchronously playing local audio; if the ringing policy is that the incoming call does not need ringing, then no local audio is played.
According to a second aspect of the present disclosure, there is provided an apparatus for receiving an incoming call, comprising: an incoming call receiving module configured to receive an incoming call; the color vibration playing module is configured to play color vibration video resources sent by the network; and the local audio module is configured to synchronously play the local audio according to the ringing strategy in the incoming call reminding mode.
Optionally, the color vibration playing module is further configured to: and playing the color vibration video resource sent by the network under the condition that the color vibration resource of the incoming call has no audio frequency.
Optionally, the apparatus further comprises: and the color vibration determining module is configured to determine whether the color vibration needs to be played when the call comes or not according to the session initiation protocol SIP (Session Initiation Protocol) signaling.
Optionally, the color vibration determining module is further configured to: acquiring INVITE SIP signaling sent by the network; based on the content of the Alert-Info header of the INVITE SIP signaling including color vibration resource information, the color vibration is determined to be played when the call comes; and determining that color vibration is not played when an incoming call is received based on the fact that the content of the Alert-Info header field of the INVITE SIP signaling does not comprise color vibration resource information.
Optionally, the color vibration playing module is configured to: determining whether the network transmits color vibration audio through a session description protocol SDP (Session Description Protocol); and playing the color vibration video resource transmitted by the network under the condition that the network does not transmit the color vibration audio.
Optionally, the color vibration playing module is configured to: acquiring an audio media stream direction value in a session description protocol SDP sent by the network; based on the audio media stream direction value in the session description protocol SDP being inactive or recvon ly, determining that the network does not send color vibration audio; and determining that the network transmits color vibration audio based on the fact that the audio media stream direction value in the session description protocol SDP is sendrecv or sendonly or the audio media stream direction value in the session description protocol SDP is not available.
Optionally, the color vibration playing module is configured to: and under the condition that the network transmits the color vibration audio, if the color vibration audio packet transmitted by the network is not received within a preset time, playing the color vibration video resource transmitted by the network.
Optionally, the color vibration playing module is configured to: under the condition that the network transmits color vibration audio according to a session description protocol SDP, transmitting a confirmation message to the network to complete media negotiation; and in the preset time after the media negotiation is completed, if the color vibration audio packet sent by the network is not received, playing the color vibration video resource sent by the network.
Optionally, the local audio module is configured to: and a IMS (IP Multimedia System) module sends a state value to the telephone application to update the telephone configuration file or carries a state value parameter through an Intent mechanism to inform the telephone application that the color vibration resource is audio-free.
Optionally, the local audio module is configured to: reading a ringing strategy in an incoming call reminding mode; if the ringing strategy is that the incoming call needs ringing, synchronously playing local audio; if the ringing policy is that the incoming call does not need ringing, then no local audio is played.
According to a third aspect of the present disclosure, there is provided a terminal device, the device comprising: a processor; and a memory storing a computer program which, when executed by the processor, implements the method of receiving an incoming call described above.
According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed, implements the above-described method of receiving an incoming call.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: when receiving an incoming call, detecting that the color vibration resources have no network audio sound only in a video picture or the color vibration audio packet is lost in the network transmission, automatically adapting to local audio when the color vibration resources have no network audio, playing the local audio when the color vibration video resources are played, and reminding a user of the incoming call, thereby avoiding missing important incoming calls and improving user experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 illustrates a system environment architecture of a method of receiving an incoming call according to an exemplary embodiment of the present disclosure.
Fig. 2 illustrates a flowchart of a method of receiving an incoming call according to an exemplary embodiment of the present disclosure.
Fig. 3 illustrates a terminal incoming call processing flowchart according to an exemplary embodiment of the present disclosure.
Fig. 4 illustrates a block diagram of an apparatus for receiving an incoming call according to an exemplary embodiment of the present disclosure.
Fig. 5 shows a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The embodiments described in the examples below are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, in this disclosure, "at least one of the items" refers to a case where three types of juxtaposition including "any one of the items", "a combination of any of the items", "an entirety of the items" are included. For example, "including at least one of a and B" includes three cases side by side as follows: (1) comprises A; (2) comprising B; (3) includes A and B. For example, "at least one of the first and second steps is executed", that is, three cases are juxtaposed as follows: (1) performing step one; (2) executing the second step; (3) executing the first step and the second step.
Fig. 1 illustrates a system environment architecture of a method of receiving an incoming call according to an exemplary embodiment of the present disclosure.
As shown in fig. 1, the system environment architecture may include a terminal 100 (calling terminal), a terminal 200 (called terminal), and a network 300. Here, the terminals 100 and 200 may be devices having a communication function, and for example, the terminals 100 and 200 in the embodiments of the present disclosure may be mobile phones, tablet computers, desktop computers, laptops, handheld computers, notebook computers, wearable devices such as smart watches, smart bracelets, smart glasses, head Mounted Displays (HMDs), netbooks, personal digital assistants (personal digital assistant, PDAs), augmented reality (augmented reality, AR)/Virtual Reality (VR) devices. The terminal 100 and the terminal 200 may access the network 300 and communicate by way of a wireless cellular communication network (e.g., 4G, 5G networks), wifi network, etc. The network 300 herein may include a radio access network and a core network, where the radio access network may include network devices in various communication schemes, where the network devices may include, for example, a base station, a radio network controller, a baseband unit, etc., and the terminal 100 and the terminal 200 may access the core network through the network devices in the radio access network. The core network, which is the most core part of the communication network, may comprise a plurality of core network devices, which may comprise, for example, a Mobility Management Entity (MME), a packet data network gateway (PGW), a Serving Gateway (SGW), a Policy and Charging Rules Function (PCRF), a Home Subscription Server (HSS), and at least one application server, etc. The above network device and the core network device are corresponding devices in the wireless communication network in the prior art, and are not described in detail here.
The at least one application server may be, for example, a color vibration application server, where the color vibration application server is a server that provides a color vibration value-added service for a user through a network, and after the terminal 200 (called terminal) user opens the color vibration service, when the terminal 100 (calling terminal) calls the terminal 200, the color vibration application server may provide color vibration for the terminal 200, where the color vibration includes, but is not limited to, audio, video, pictures, texts, electronic business cards, and various combinations thereof.
It should be understood that the description of the system environment architecture herein is merely an example, which is not limited by the present disclosure.
Fig. 2 illustrates a flowchart of a method of receiving an incoming call according to an exemplary embodiment of the present disclosure.
First, in step S210, an incoming call is received. In this embodiment, when the terminal 100 calls the terminal 200, the network 300 sends an incoming call to the terminal 200 after receiving the call from the terminal 100, and the terminal 200 receives the incoming call. If the user of the terminal 200 opens the color vibration service, a media session needs to be established between the network 300 (e.g., the color vibration application server) and the terminal 200. Session initiation protocol (Session Initiation Protocol, SIP) is a signaling protocol used to establish, modify and terminate interactive multimedia sessions between one or more end users. The establishment of a SIP session is a prerequisite for the delivery of media (e.g. video and audio, etc.). SIP includes signaling of various message types, which may include INVITE: a session invite request (also referred to as a call request) is initiated inviting the user to join a session. ACK: and responding to the request, and confirming that the final response to the INVITE request is received, wherein the message is only matched with the INVITE message. UPDATE: a mechanism for updating media session information to update the state of a media stream when a call has not been established. Here, the terminal 200 receiving the incoming call transmitted by the network 300 may be, for example, receiving an initiate session INVITE request (INVITE) SIP signaling transmitted by the network 300.
According to an exemplary embodiment of the present disclosure, whether or not color vibration needs to be played at the time of incoming call may be determined according to session initiation protocol SIP signaling. Further, INVITE SIP signaling sent by the network can be obtained; the content of the Alert-Info header field based on INVITE SIP signaling comprises color vibration resource information, and the color vibration is determined to be played when the call comes; and determining that color vibration is not played when an incoming call is received based on the fact that the content of the Alert-Info header field of INVITE SIP signaling does not include color vibration resource information. Here, if the user of the terminal 200 is a user who opens the color vibration service, after the terminal 100 initiates a call, a SIP session needs to be established between the network 300 (e.g., the color vibration application server) and the terminal 200, and the session is initiated by INVITE SIP signaling. The network 300 adds multimedia color vibration service information to the Aler-Info header field of INVITE SIP signaling and sends the multimedia color vibration service information to the terminal 200, and the terminal 200 obtains multimedia color vibration service content according to the multimedia service information in the INVITE SIP signaling Aler-Info header field. Thus, the terminal 200 may obtain INVITE SIP signaling and determine whether the network 300 expects the terminal 200 to play the color cast at the time of the incoming call based on the Alert-Info header field content of INVITE SIP signaling, thereby determining whether to play the color cast at the time of the incoming call. For example, if the INVITE SIP signaling carries an Alert-Info header field "Alert-Info: < urn: alert: service: crs >", it is determined that color vibration is played when an incoming call comes. For another example, if the INVITE SIP signaling carries an address Uniform Resource Locator (URL) of a color vibration resource (such as video and audio) in the Alert-Info header field, it is determined that the color vibration is played when the call comes. After receiving the INVITE SIP signaling sent by the network 300, the terminal 200 may return a temporary response to the network 300, where the temporary response may carry information indicating that the terminal 200 has the capability of receiving the multimedia color vibration.
Next, in step S220, the color vibration video resource sent by the network is played. In this embodiment, the color vibration video resource sent by the network can be played under the condition that the color vibration resource of the incoming call has no audio. Further, whether the network transmits color vibration audio can be determined through a session description protocol SDP (Session Description Protocol); and playing the color vibration video resource transmitted by the network under the condition that the network does not transmit the color vibration audio. Further, the audio media stream direction value in the session description protocol SDP sent by the network can be obtained; based on the audio media stream direction value in the session description protocol SDP being inactive or recvon ly, determining that the network does not send color vibration audio; and determining that the network transmits color vibration audio based on the fact that the audio media stream direction value in the session description protocol SDP is sendrecv or sendonly or the audio media stream direction value in the session description protocol SDP is not available.
Here, the network 300 agrees with the multimedia information that the terminal 200 needs the color cast in the session establishment process, which requires a SIP media negotiation message. This may be done by session description protocol (Session description protocol, SDP) request and response mechanisms in SIP signaling (e.g., UPDATE SIP signaling) to negotiate the multimedia information. SDP is an application layer control protocol used to describe multimedia sessions, providing multimedia session description for session notification, session invitation, and other forms of multimedia session initialization, and adapting to different appropriate transport protocols, including session initiation protocols. The multimedia information may include, for example, media types (such as audio, video), coding modes, ports, direction values, and the like. After the media negotiation is completed, the two parties can know the media capability of the other party so as to exchange the multimedia color vibration data subsequently. In the present disclosure, in the case that the terminal 200 determines to play the color vibration when the incoming call is received, the terminal 200 may determine whether the network transmits the color vibration audio according to the audio media stream direction value in the SIP SDP message. The audio media stream direction value includes: inactive, recvonly, sendrecv and sendonly, which means that the audio media stream is inactive, receive only, send and receive only, in that order. And, there may be no audio media stream direction value in the SIP SDP message (i.e., the audio media stream direction value is default). Therefore, when the audio media stream direction value in the SDP message is inactive or reconnly, the terminal 200 may determine that the network 300 does not send color vibration audio, where the color vibration may be, for example, a video picture including only a picture, a video business card, or the like without sound. When the audio media stream direction value in the SDP message is sendrecv or sendonly or the SDP message has no audio media stream direction value, the terminal 200 may determine that the network 300 transmits color vibration audio, where the color vibration may be, for example, a color vibration resource including sound, such as a music video, a television or a movie fragment.
According to the exemplary embodiment of the disclosure, under the condition that the network transmits the color vibration audio, if the color vibration audio packet transmitted by the network is not received within a preset time, playing the color vibration video resource transmitted by the network. Further, under the condition that the network transmits color vibration audio according to the session description protocol SDP, a confirmation message is transmitted to the network to complete media negotiation; and in the preset time after the media negotiation is completed, if the color vibration audio packet sent by the network is not received, playing the color vibration video resource sent by the network. Here, after receiving the SIP SDP message sent by the network 300, the terminal 200 may send an acknowledgement message (e.g., 200 OK) to the network 300, where the acknowledgement message may carry a response to the media negotiation of the SDP in the SIP signaling, thereby completing the media negotiation. Because of the instability of network transmission or network problems, it is possible that the color vibration transmitted by the network 300 is color vibration audio (the network transmits an audio packet), but the terminal 200 does not successfully receive the color vibration audio packet (for example, an audio RTP packet), and then the terminal 200 can only play the color vibration without the color vibration audio. The terminal 200 may determine whether a color vibration audio packet is received in case that it is determined that the network 300 transmits color vibration audio. Specifically, in a predetermined time (for example, within 2 s) after completing the media negotiation, if the terminal 200 successfully receives the color vibration audio packet sent by the network 300, the terminal 200 may play the color vibration including the color vibration audio; in the predetermined time, if the terminal 200 does not receive the color vibration audio packet sent by the network 300, the terminal 200 only plays the color vibration video resource sent by the network 300.
Then, in step S230, the local audio is synchronously played according to the ringing strategy in the incoming call alert mode. Here, the ringing strategy includes a need to ring and a no need to ring. According to an exemplary embodiment of the present disclosure, a status value may be sent to the phone application by the IMS (IP Multimedia System) module to update the phone configuration file, or a status value parameter may be carried via the intelnt mechanism to notify the phone application that the color vibration resource is audio-free. Here, the phone application is software of the application layer of the terminal 200 in charge of the phone function, and the phone application may participate in calling and playing the color vibration audio or the local audio received by the network 300, and if the network 300 does not transmit the color vibration audio or the terminal 200 does not receive the color vibration audio packet, the terminal 200 may notify the phone application Call APP of the situation. Each incoming call has a corresponding call profile, which includes parameters (e.g., user ID, etc.) corresponding to the incoming call, and the terminal 200 may send a status value to the phone application through the IP multimedia system IMS to update the call profile, and notify the phone application that the color vibration resource has no audio. For another example, the terminal may send a status value to the phone application via the communication processor CP (Communication Processor) to update the CallProfile to inform the phone application that the color resources are not audio. In addition, an Intent mechanism is provided in Android to assist in interaction and communication between applications or components. The terminal 200 may also notify the phone application that the color vibration resource is not audio through the state value parameter carried by the intelt mechanism, for example, notify the phone application that the network 300 does not send the color vibration audio or that the terminal 200 does not receive the audio packet through the state value parameter carried by the intelt.
According to an exemplary embodiment of the present disclosure, a ringing policy in an incoming call alert mode may be read; if the ringing strategy is that the current incoming call needs to ring, synchronously playing local audio; if the ringing policy does not require ringing for the current incoming call, then no local audio is played. Here, if the network 300 does not transmit the color vibration audio or the terminal 200 does not receive the color vibration audio packet, the terminal 200 will play the color vibration video resource transmitted by the network 300. In this case, the terminal 200 will read the ringing strategy in the incoming call alert mode preset by the terminal 200, and synchronously play the local audio according to the read ringing strategy. The incoming call alert mode herein may include one of a ringing and a vibration, ringing, vibration, mute, and no-disturb mode, and the ringing strategy may include a required ringing and a not required ringing. For example, the terminal 200 reads the ringing policy in the incoming call reminding mode as that the current incoming call needs to ring, and the incoming call reminding mode at this time is, for example, ringing or ringing and vibrating, and the terminal 200 plays the color vibration video resource sent by the network 300 and synchronously plays the local audio. Similarly, for example, in this case, the terminal 200 reads the ringing policy in the incoming call alert mode that the current incoming call does not need to ring, where the incoming call alert mode is, for example, mute or do not disturb, and the terminal 200 only plays the color video resource sent by the network 300 (or does not play even the color video resource in the do not disturb mode). Therefore, the local audio is used for reminding the user of the incoming call, missed calls are avoided, the incoming call reminding mode preset by the terminal user is complied, and diversified incoming call reminding requirements of the user are met.
According to the exemplary embodiment of the disclosure, under the condition that the network is determined to send the color vibration audio and the terminal receives the color vibration audio packet, the color vibration resource with the color vibration audio sent by the network can be played. At this time, in the case where the network 300 transmits the color vibration audio and the terminal 200 successfully receives the color vibration audio, the terminal 200 may play the complete color vibration resource with the color vibration audio transmitted by the network 300, for example, a video stream including sound, such as a music video, a television or a movie fragment.
As described above, according to the method for receiving an incoming call in the embodiment of the present disclosure, when detecting that only a video picture of a color vibration resource has no network audio sound, or that a color vibration audio packet is missing in transmission of a network, the method automatically adapts to local audio when the color vibration has no network audio, plays the local audio while playing the color vibration video resource, and reminds a user of an incoming call, thereby avoiding missing an important incoming call and improving user experience.
An exemplary embodiment of terminal incoming call processing according to the present disclosure will be described in detail below with reference to fig. 3, fig. 3 shows a terminal 200 incoming call processing flowchart according to an exemplary embodiment of the present disclosure.
First, in step S310, an incoming call is received. In the present embodiment scenario, when the terminal 100 calls the terminal 200, the network 300 sends an incoming call to the terminal 200 after receiving the call of the terminal 100, and the terminal 200 receives the incoming call and then goes to step S320.
In step S320, it is determined whether to play the color vibration at the time of the incoming call based on the INVITE SIP signaling. The network 300 initiates a SIP session by sending INVITE SIP signaling to the terminal, and the terminal 200 obtains INVITE SIP signaling sent by the network; based on the content of the Alert-Info header of INVITE SIP signaling, it is determined whether to play the color vibration when incoming. If it is determined that the color cast is not played upon incoming call (the Alert-Info header field does not include color cast resource information or the Alert-Info header field is default), then step S380 is reached. In step S380, a local incoming call reminding procedure is performed, for example, local audio may be played according to an incoming call reminding mode preset in the terminal. If it is determined that the color vibration is played when the incoming call comes (the Alert-Info header field includes color vibration resource information, for example, the Alert-Info header field content is "Alert-Info: < urn: alert: service: crs >"), step S330 is reached.
In step S330, it is determined whether the network transmits color-coded audio based on the SIP SDP message. The network 300 agrees with the multimedia information that the terminal 200 needs the color vibration in the session establishment process, which can perform the negotiation of the multimedia information through the SIP SDP message. Thus, the terminal 200 can determine whether the network 300 transmits an audio stream according to the audio media stream direction value in the SIP SDP message transmitted by the network 300. When the audio media stream direction value in the SDP message is inactive or reconnly, the terminal 200 may determine that the network 300 does not send color vibration audio, and then go to step S360; when the audio media stream direction value in the SDP message is sendrecv or sendonly or there is no audio media stream direction value in the SDP message, the terminal 200 may determine that the network 300 transmits color-coded audio, and then go to step S340.
In step S340, it is determined whether or not a color vibration audio packet is received within a predetermined time. After receiving the SIP SDP message sent by the network 300, the terminal 200 may send a confirmation message (e.g., 200 OK) to the network 300, where the confirmation message carries a response to the media negotiation of the SDP in the SIP signaling, so as to complete the media negotiation. The predetermined time may be, for example, a predetermined time (e.g., within 2 s) after the network 300 and the terminal 200 complete the media negotiation. The terminal 200 may determine whether a color vibration audio packet (e.g., an audio RTP packet) is received within a predetermined time, and if the terminal 200 does not receive the color vibration audio packet transmitted by the network 300, it is determined that the terminal 200 does not receive the color vibration audio packet, go to step S360; if the terminal 200 successfully receives the color vibration audio packet transmitted by the network 300, it is determined that the terminal 200 receives the color vibration audio packet, and the process goes to step S350.
In step S350, the color vibration audio sent by the network is played. At this time, the terminal 200 successfully receives the color vibration audio packet sent by the network 300, and further plays the color vibration resource with the color vibration audio.
The terminal 200 goes to step S360 when it is determined in step S330 that the network 300 does not transmit the color vibration audio or it is determined in step S340 that the terminal 200 does not receive the color vibration audio packet. In step S360, the telephone is notified that the color vibration resource is not audio. The terminal 200 updates the phone configuration file by sending a status value to the phone application, or carries a status value parameter via the intelt mechanism to inform the phone application that the color vibration resource is audio-free. For example, the terminal 200 sends a status value of 1 to update the play audio parameter of 1 in the phone configuration, where the phone application learns that the color vibration resource has no audio when the play audio parameter is 1, and the phone application learns that the color vibration resource has audio when the play audio parameter is 0. In addition, the terminal 200 may also notify the phone application that the color vibration resource has no audio through the state value parameter carried by the Intint mechanism, for example, notify the phone application that the network 300 does not send the color vibration audio or that the terminal 200 does not receive the color vibration audio packet through the Intint carrying state value (for example, 1) parameter. And then goes to step S370.
In step S370, the local audio is played. Here, after the telephone application in the terminal 200 obtains the above notification, the local audio is called and played according to the ringing policy in the incoming call alert mode set in advance in the terminal 200. For example, the phone application obtains that the color vibration resource has no audio through playing the audio parameter 1, and then calls and plays the local audio according to the ringing strategy in the preset incoming call reminding mode in the terminal 200. For another example, the phone application obtains that the color vibration resource has no audio through the state value (for example, 1) parameter carried in the Intent mechanism, and then calls and plays the local audio according to the ringing strategy in the call reminding mode preset in the terminal 200. In this case, the color vibration video resource sent by the playing network is realized and the local audio is synchronously played.
Through the terminal incoming call processing flow, when detecting that the color vibration resources have no network color vibration audio sound only in the video picture or the color vibration audio packet is lost in the network transmission, the terminal can automatically adapt to the local audio when the color vibration resources have no network audio stream, play the local audio while playing the color vibration video resources, and remind a user of an incoming call, thereby avoiding missing important incoming calls and improving user experience.
Fig. 4 illustrates a block diagram of an apparatus for receiving an incoming call according to an exemplary embodiment of the present disclosure.
As shown in fig. 4, the apparatus 400 for receiving an incoming call includes: an incoming call receiving module 410, a color vibration playing module 420 and a local audio module 430. The incoming call receiving module can receive an incoming call; the color vibration playing module can play color vibration video resources sent by a network; the local audio module can synchronously play the local audio according to the ringing strategy in the incoming call reminding mode.
According to an exemplary embodiment of the present disclosure, the color vibration playing module 420 may also play the color vibration video resource sent by the network in the case that the color vibration resource of the incoming call has no audio.
According to an exemplary embodiment of the present disclosure, the apparatus 400 for receiving an incoming call may further include a color vibration determination module 440, and the color vibration determination module 440 may determine whether to play a color vibration when the incoming call is required according to session initiation protocol SIP (Session Initiation Protocol) signaling.
According to an exemplary embodiment of the present disclosure, the color vibration determination module 440 may obtain INVITE SIP signaling sent by the network; the content of the Alert-Info header field based on INVITE SIP signaling comprises color vibration resource information, and the color vibration is determined to be played when the call comes; and determining that color vibration is not played when an incoming call is received based on the fact that the content of the Alert-Info header field of INVITE SIP signaling does not include color vibration resource information.
According to an exemplary embodiment of the present disclosure, the color vibration playing module 420 may further determine whether the network transmits color vibration audio through the session description protocol SDP (Session Description Protocol); and playing the color vibration video resource transmitted by the network under the condition that the network does not transmit the color vibration audio.
According to an exemplary embodiment of the present disclosure, the color vibration playing module 420 may further obtain an audio media stream direction value in the session description protocol SDP sent by the network; based on the audio media stream direction value in the session description protocol SDP being inactive or recvon ly, determining that the network does not send color vibration audio; and determining that the network transmits color vibration audio based on the fact that the audio media stream direction value in the session description protocol SDP is sendrecv or sendonly or the audio media stream direction value in the session description protocol SDP is not available.
According to an exemplary embodiment of the present disclosure, the color vibration playing module 420 may also play the color vibration video resource sent by the network if the color vibration audio packet sent by the network is not received within a predetermined time under the condition that the network sends the color vibration audio.
According to an exemplary embodiment of the present disclosure, the color vibration playing module 420 may further complete the media negotiation by sending a confirmation message to the network in the case that the network sends color vibration audio according to the session description protocol SDP; and in the preset time after the media negotiation is completed, if the color vibration audio packet sent by the network is not received, playing the color vibration video resource sent by the network.
According to an exemplary embodiment of the present disclosure, the local audio module 430 may also send a status value to the phone application through the IMS (IP Multimedia System) module to update the phone configuration file, or carry a status value parameter via the intelnt mechanism to notify the phone application that the color vibration resource is audio-free.
According to an exemplary embodiment of the present disclosure, the local audio module 430 may also read the ringing strategy in the incoming call alert mode; if the ringing strategy is that the current incoming call needs to ring, synchronously playing local audio; if the ringing policy does not require ringing for the current incoming call, then no local audio is played.
Fig. 5 shows a block diagram of an electronic device 500 according to an exemplary embodiment of the present disclosure. The electronic device 500 may be the terminal 100 or the terminal 200 of the embodiment of the present disclosure. Referring to fig. 5, an electronic device 500 may include at least one memory 510 having stored therein a set of computer-executable instructions that, when executed by the at least one processor, perform a method of receiving an incoming call in accordance with an embodiment of the present disclosure, and at least one processor 520.
Here, the electronic device is not necessarily a single electronic device, but may be any device or an aggregate of circuits capable of executing the above-described instructions (or instruction set) singly or in combination. The electronic device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that interfaces with either locally or remotely (e.g., via wireless transmission).
In an electronic device, a processor may include a Central Processing Unit (CPU), a Graphics Processor (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processors may also include analog processors, digital processors, microprocessors, multi-core processors, processor arrays, network processors, and the like.
The processor may execute instructions or code stored in the memory, wherein the memory may also store data. The instructions and data may also be transmitted and received over a network via a network interface device, which may employ any known transmission protocol.
The memory may be integrated with the processor, for example, RAM or flash memory disposed within an integrated circuit microprocessor or the like. In addition, the memory may include a stand-alone device, such as an external disk drive, a storage array, or any other storage device usable by a database system. The memory and the processor may be operatively coupled or may communicate with each other, for example, through an I/O port, a network connection, etc., such that the processor is able to read files stored in the memory.
In addition, the electronic device may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the electronic device may be connected to each other via a bus and/or a network.
According to an embodiment of the present disclosure, there may also be provided a computer-readable storage medium having stored thereon a computer program which, when executed, implements a method of receiving an incoming call according to the present disclosure. Examples of the computer readable storage medium herein include: read-only memory (ROM), random-access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random-access memory (DRAM), static random-access memory (SRAM), flash memory, nonvolatile memory, CD-ROM, CD-R, CD + R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, blu-ray or optical disk storage, hard Disk Drives (HDD), solid State Disks (SSD), card memory (such as multimedia cards, secure Digital (SD) cards or ultra-fast digital (XD) cards), magnetic tape, floppy disks, magneto-optical data storage, hard disks, solid state disks, and any other means configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and to provide the computer programs and any associated data, data files and data structures to a processor or computer to enable the processor or computer to execute the programs. The computer programs in the computer readable storage media described above can be run in an environment deployed in a computer device, such as a terminal, client, host, proxy device, server, etc., and further, in one example, the computer programs and any associated data, data files, and data structures are distributed across networked computer systems such that the computer programs and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by one or more processors or computers.
According to the method and the device for receiving the incoming call, the terminal equipment and the computer readable storage medium, provided by the embodiment of the invention, the situation that the video source of the color vibration has no network audio stream sound only or the audio packet is lost in the network transmission can be detected, so that the local audio is automatically adapted when the color vibration has no network audio stream, the local audio is played while the color vibration video resource is played, and a user is reminded of the incoming call, so that important missed calls are avoided, and the user experience is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A method of receiving an incoming call, comprising:
receiving an incoming call;
playing color vibration video resources sent by a network;
and synchronously playing the local audio according to the ringing strategy in the incoming call reminding mode.
2. The method of claim 1, wherein the step of playing the color video asset transmitted by the network comprises:
and playing the color vibration video resource sent by the network under the condition that the color vibration resource of the incoming call has no audio frequency.
3. The method of claim 2, further comprising, after receiving the incoming call: and determining whether color vibration needs to be played when an incoming call occurs according to the Session Initiation Protocol (SIP) signaling.
4. The method of claim 3, wherein the step of determining whether the color cast needs to be played when the incoming call is received according to session initiation protocol SIP signaling comprises:
acquiring INVITE SIP signaling sent by the network;
based on the content of the Alert-Info header of the INVITE SIP signaling including color vibration resource information, the color vibration is determined to be played when the call comes;
and determining that color vibration is not played when an incoming call is received based on the fact that the content of the Alert-Info header field of the INVITE SIP signaling does not comprise color vibration resource information.
5. The method as claimed in claim 2, wherein the step of playing the color vibration video resource transmitted by the network in the case that the color vibration resource of the incoming call has no audio frequency comprises:
determining whether the network transmits color vibration audio through a session description protocol SDP;
and playing the color vibration video resource transmitted by the network under the condition that the network does not transmit the color vibration audio.
6. The method of claim 5, wherein determining whether the network transmits color vibration audio through a session description protocol SDP comprises:
acquiring an audio media stream direction value in a session description protocol SDP sent by the network;
based on the audio media stream direction value in the session description protocol SDP being inactive or recvon ly, determining that the network does not send color vibration audio;
and determining that the network transmits color vibration audio based on the fact that the audio media stream direction value in the session description protocol SDP is sendrecv or sendonly or the audio media stream direction value in the session description protocol SDP is not available.
7. The method as claimed in claim 2, wherein the step of playing the color vibration video resource transmitted by the network in the case that the color vibration resource of the incoming call has no audio frequency comprises:
and under the condition that the network transmits the color vibration audio, if the color vibration audio packet transmitted by the network is not received within a preset time, playing the color vibration video resource transmitted by the network.
8. The method of claim 7, wherein, in the case that the network transmits the color vibration audio, if the color vibration audio packet transmitted by the network is not received within a predetermined time, the step of playing the color vibration video resource transmitted by the network comprises:
under the condition that the network transmits color vibration audio according to a session description protocol SDP, transmitting a confirmation message to the network to complete media negotiation;
and in the preset time after the media negotiation is completed, if the color vibration audio packet sent by the network is not received, playing the color vibration video resource sent by the network.
9. The method of claim 1, wherein the step of synchronously playing the local audio according to a ringing strategy in the incoming call alert mode comprises:
and sending a state value to the telephone application through the IMS module to update the telephone configuration file, or carrying a state value parameter through an Intent mechanism to inform the telephone application that the color vibration resource is audio-free.
10. The method of claim 1, wherein the step of synchronously playing the local audio according to a ringing strategy in the incoming call alert mode comprises:
reading a ringing strategy in an incoming call reminding mode;
if the ringing strategy is that the incoming call needs ringing, synchronously playing local audio;
if the ringing policy is that the incoming call does not need ringing, then no local audio is played.
11. An apparatus for receiving an incoming call, comprising:
an incoming call receiving module configured to receive an incoming call;
the color vibration playing module is configured to play color vibration video resources sent by the network;
and the local audio module is configured to synchronously play the local audio according to the ringing strategy in the incoming call reminding mode.
12. A terminal device, the device comprising:
a processor;
memory storing a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 10.
13. A computer readable storage medium, wherein a computer program is stored thereon, which program, when executed, implements the method of any of claims 1 to 10.
CN202111597331.4A 2021-12-24 2021-12-24 Method and device for receiving incoming call Pending CN116346988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111597331.4A CN116346988A (en) 2021-12-24 2021-12-24 Method and device for receiving incoming call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111597331.4A CN116346988A (en) 2021-12-24 2021-12-24 Method and device for receiving incoming call

Publications (1)

Publication Number Publication Date
CN116346988A true CN116346988A (en) 2023-06-27

Family

ID=86875058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111597331.4A Pending CN116346988A (en) 2021-12-24 2021-12-24 Method and device for receiving incoming call

Country Status (1)

Country Link
CN (1) CN116346988A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117395345A (en) * 2023-08-31 2024-01-12 荣耀终端有限公司 Conversation method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117395345A (en) * 2023-08-31 2024-01-12 荣耀终端有限公司 Conversation method and electronic equipment

Similar Documents

Publication Publication Date Title
US10771611B2 (en) System and method for providing personalized audio-video invitations
EP2107714B1 (en) Method and apparatus for implementing a multimedia ring back tone service and multimedia caller identification service
CN100524280C (en) Method and apparatus for participating communication conversation
KR102148046B1 (en) Calling an unready terminal
US11336702B2 (en) Interaction information transmission method and apparatus
US20100104082A1 (en) Method and apparatus for implementing multimedia customized rbt and multimedia customized rt services
CN109802961B (en) Interface management method and device, electronic equipment and storage medium
US10602092B2 (en) Personalized audio-video invitations via peer-to-peer connection
RU2411655C2 (en) Terminal, method and system to perform combined service, using version of functional capabilities of terminal
US10412123B2 (en) Session initiation for multimedia services
WO2013127163A1 (en) Call terminal enrollment method and device
WO2019079269A1 (en) Personalized audio/video invitations for phone calls
US9560681B2 (en) Method and device for establishing a communication
CN111193688A (en) Method, device, equipment and medium for realizing video color ring
CN116346988A (en) Method and device for receiving incoming call
US9001980B2 (en) Data communication
US20150031341A1 (en) Method for responding to push notification based communication request
US9049310B2 (en) Data communication
WO2020192435A1 (en) Multimedia customized ringing signal and color ring back tone playback method, and application server
JP4723676B2 (en) COMMUNICATION METHOD, SERVER, AND PROGRAM FOR SESSION STATUS NOTIFICATION
KR100695393B1 (en) System and method for providing the additional multimedia contents during communication in SIP
US9398254B2 (en) Method for implementing telepresence technology and telepresence device
US20060121879A1 (en) Method and apparatus for providing services and services usage information for a wireless subscriber unit
US9906652B2 (en) Shifting of communication session charges
WO2023011024A1 (en) Method for reporting malicious call, terminal, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication