Call establishment method, device, equipment and storage medium
By using SIP messages and SIP INVITE call requests to transmit important call information in voice call scenarios, the problem of large signaling overhead when calling terminals initiate important calls is solved, and more efficient important call establishment is achieved.
Patent Information
- Application Number
- CN202010636491.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-03
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2040-07-03
AI Technical Summary
In voice call scenarios, there is a problem of large signaling overhead when the calling terminal initiates an important call.
By sending SIP messages and SIP INVITE call requests between the calling terminal and the called terminal, important call information is transmitted using SIP messages to reduce signaling interactions.
It effectively saves signaling overhead and improves the efficiency of important call establishment in specific voice service scenarios.
Smart Images

Figure CN113966011B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless technology, and in particular to a call establishment method, device, equipment and storage medium. Background Art
[0002] With the rapid development of mobile terminal technology and Internet technology, a calling terminal can initiate a voice call to a called terminal. In actual application, when the calling terminal wants to transmit important information to the called terminal, the calling terminal can set the initiated voice call as an important call and transmit the set important call to the called terminal to establish an important call with the called terminal. In the related art, there is a problem of large signaling overhead when the calling terminal initiates an important call. Summary of the invention
[0003] In view of this, embodiments of the present invention are intended to provide a call establishment method, apparatus, device and storage medium.
[0004] The technical solution of the embodiment of the present invention is achieved as follows:
[0005] At least one embodiment of the present invention provides a call establishment method, the method comprising:
[0006] The calling terminal sends a Session Initiation Protocol (SIP) message to the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal;
[0007] The calling terminal receives a response message to the SIP message sent by the called terminal;
[0008] The calling terminal sends a SIP INVITE call request to the called terminal; the SIP INVITE call request is used to request to establish the important call.
[0009] In addition, according to at least one embodiment of the present invention, the method further includes:
[0010] The calling terminal obtains a uniform resource locator (URL) of a first multimedia file corresponding to the mark of the important call and a URL of a second multimedia file corresponding to the ringing tone of the important call;
[0011] The calling terminal generates a SIP message based on the URL of the first multimedia file and the URL of the second multimedia file;
[0012] The URL of the first multimedia file and the URL of the second multimedia file are used for the called terminal to display the mark of the important call and play the ringing tone corresponding to the important call.
[0013] In addition, according to at least one embodiment of the present invention, the calling terminal obtains the URL of the first multimedia file corresponding to the mark of the important call and the URL of the second multimedia file corresponding to the ringing tone of the important call, including:
[0014] The calling terminal sends a subscription request to the service management platform; the subscription request is used to request the activation of an important call service;
[0015] The calling terminal receives a response message sent by the service management platform to the subscription request; the response message is used to indicate that the calling terminal is allowed to activate the important call service;
[0016] The calling terminal performs a setting operation for an important call mark and a ringing ringtone to receive the URL of the first multimedia file and the URL of the second multimedia file returned by the service management platform.
[0017] In addition, according to at least one embodiment of the present invention, the calling terminal receives a response message to the SIP message sent by the called terminal, including:
[0018] After the called terminal downloads the first multimedia file and the second multimedia file according to the URL of the first multimedia file and the URL corresponding to the second multimedia file, the calling terminal receives a response message to the SIP message sent by the called terminal.
[0019] In addition, according to at least one embodiment of the present invention, the calling terminal sends a SIP message to the called terminal, including:
[0020] The calling terminal sends a SIP message to an application server (AS);
[0021] The SIP message is sent to the called terminal through the AS.
[0022] In addition, according to at least one embodiment of the present invention, the SIP message includes an identifier of an important call; the calling terminal sends a SIP INVITE call request to the called terminal, including:
[0023] The calling terminal carries the identifier of the important call included in the SIP message in the SIP INVITE call request;
[0024] The calling terminal sends a SIP INVITE call request to the called terminal;
[0025] The SIP INVITE call request is used by the called terminal to establish an important call based on a specific voice service with the calling terminal when the important call identifier carried in the SIP INVITE call request matches the important call identifier carried in the SIP message.
[0026] At least one embodiment of the present invention provides a call establishment method, the method comprising:
[0027] The called terminal receives a SIP message sent by the calling terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal;
[0028] A response message to the SIP message sent by the called terminal to the calling terminal;
[0029] The called terminal receives the SIP INVITE call request sent by the calling terminal; the SIP INVITE call request is used to request to establish an important call based on a specific voice service.
[0030] In addition, according to at least one embodiment of the present invention, the SIP message includes a URL of a first multimedia file corresponding to the mark of the important call and a URL of a second multimedia file corresponding to the ringing tone of the important call; and the response message to the SIP message sent by the called terminal to the calling terminal includes:
[0031] The called terminal downloads a first media file corresponding to the mark of the important call and a second multimedia file corresponding to the ringing tone of the important call according to the URL of the first multimedia file and the URL of the second multimedia file;
[0032] After downloading the first multimedia file and the second multimedia file, the called terminal sends a response message to the calling terminal in response to the SIP message.
[0033] In addition, according to at least one embodiment of the present invention, the SIP message includes an identifier of an important call; the called terminal receives the SIP INVITE call request sent by the calling terminal, including:
[0034] The called terminal receives a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request carries an identification of an important call;
[0035] Matching the identifier of the important call carried in the SIP INVITE call request with the identifier of the important call contained in the SIP message;
[0036] When the identifier of the important call carried in the SIP INVITE call request matches the identifier of the important call contained in the SIP message, the called terminal and the calling terminal establish an important call based on a specific voice service, display the mark of the important call, and play the ringtone corresponding to the important call.
[0037] At least one embodiment of the present invention provides a call establishment device, including:
[0038] A first sending unit is used to send a SIP message to the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal;
[0039] A first receiving unit, configured to receive a response message to the SIP message sent by the called terminal;
[0040] The first sending unit is further used to send a SIP INVITE call request to the called terminal; the SIP INVITE call request is used to request to establish the important call.
[0041] In addition, according to at least one embodiment of the present invention, the method further includes:
[0042] A first processing unit is configured to obtain a uniform resource locator URL of a first multimedia file corresponding to the mark of an important call and a URL of a second multimedia file corresponding to a ringing tone of the important call; and generate a SIP message based on the URL of the first multimedia file and the URL of the second multimedia file;
[0043] The URL of the first multimedia file and the URL of the second multimedia file are used for the called terminal to display the mark of the important call and play the ringing tone corresponding to the important call.
[0044] In addition, according to at least one embodiment of the present invention, the first processing unit is specifically configured to:
[0045] The calling terminal sends a subscription request to the service management platform; the subscription request is used to request the activation of an important call service;
[0046] The calling terminal receives a response message sent by the service management platform to the subscription request; the response message is used to indicate that the calling terminal is allowed to activate the important call service;
[0047] The calling terminal performs a setting operation for an important call mark and a ringing ringtone to receive the URL of the first multimedia file and the URL of the second multimedia file returned by the service management platform.
[0048] In addition, according to at least one embodiment of the present invention, the first receiving unit is specifically configured to:
[0049] After the called terminal downloads the first multimedia file and the second multimedia file according to the URL of the first multimedia file and the URL corresponding to the second multimedia file, the calling terminal receives a response message to the SIP message sent by the called terminal.
[0050] In addition, according to at least one embodiment of the present invention, the first sending unit is specifically configured to:
[0051] The calling terminal sends a SIP message to the application server AS;
[0052] The SIP message is sent to the called terminal through the AS.
[0053] In addition, according to at least one embodiment of the present invention, the first sending unit is specifically configured to: the SIP message includes an identifier of an important call; the calling terminal carries the identifier of the important call included in the SIP message in a SIP INVITE call request;
[0054] The calling terminal sends a SIP INVITE call request to the called terminal;
[0055] The SIP INVITE call request is used by the called terminal to establish an important call based on a specific voice service with the calling terminal when the important call identifier carried in the SIP INVITE call request matches the important call identifier carried in the SIP message.
[0056] At least one embodiment of the present invention provides a call establishment device, including:
[0057] A second receiving unit is used to receive a SIP message sent by a calling terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal;
[0058] A second sending unit, configured to send a response message to the SIP message from the called terminal to the calling terminal;
[0059] The second receiving unit is further configured to receive a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request is used to request to establish an important call based on a specific voice service.
[0060] In addition, according to at least one embodiment of the present invention, the second sending unit is specifically used to: the SIP message includes the URL of the first multimedia file corresponding to the mark of the important call and the URL of the second multimedia file corresponding to the ringing tone of the important call; download the first media file corresponding to the mark of the important call and the second multimedia file corresponding to the ringing tone of the important call according to the URL of the first multimedia file and the URL of the second multimedia file; after downloading the first multimedia file and the second multimedia file, send a response message to the SIP message to the calling terminal.
[0061] In addition, according to at least one embodiment of the present invention, the SIP message includes an identifier of an important call; and the second receiving unit is specifically configured to:
[0062] Receive a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request carries an identifier of an important call; match the identifier of the important call carried by the SIP INVITE call request with the identifier of the important call contained in the SIP message; when the identifier of the important call carried by the SIP INVITE call request matches the identifier of the important call contained in the SIP message, establish an important call based on a specific voice service with the calling terminal, display a mark of the important call, and play a ringtone corresponding to the important call.
[0063] At least one embodiment of the present invention provides a calling terminal, including a processor and a memory for storing a computer program that can be run on the processor.
[0064] Wherein, when the processor is used to run the computer program, it executes the steps of any of the above-mentioned methods on the calling terminal side.
[0065] At least one embodiment of the present invention provides a called terminal, including a processor and a memory for storing a computer program that can be run on the processor.
[0066] Wherein, the processor is used to execute the steps of any of the above-mentioned methods on the called terminal side when running the computer program.
[0067] At least one embodiment of the present invention provides a storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above methods when executed by a processor.
[0068] The call establishment method, apparatus, device and storage medium provided by the embodiment of the present invention, the calling terminal sends a SIP message to the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal; the calling terminal receives a response message to the SIP message sent by the called terminal; the calling terminal sends a SIP INVITE call request to the called terminal; the SIP INVITE call request is used to request the establishment of the important call. By adopting the technical solution of the embodiment of the present invention, the calling terminal can use the SIP message to transmit important call information to the called terminal in a specific voice service scenario to initiate an important call to the called terminal. Since the signaling interaction required for the calling terminal and the called terminal to establish an important call is less, the signaling overhead can be saved. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 The implementation process of the call establishment method of the embodiment of the present invention is shown in FIG. Figure 1 ;
[0070] Figure 2 It is a schematic diagram of the implementation process of the calling terminal initiating an important call to the called terminal according to an embodiment of the present invention;
[0071] Figure 3 It is a schematic diagram of an embodiment of the present invention in which a calling terminal sends a SIP message to a called terminal and receives a response message to the SIP message sent by the called terminal;
[0072] Figure 4 It is a schematic diagram of an implementation flow of a calling terminal sending a SIP message to a called terminal according to an embodiment of the present invention;
[0073] Figure 5 It is a schematic diagram of the implementation flow of the calling terminal initiating a call establishment to the called terminal according to an embodiment of the present invention;
[0074] Figure 6 The implementation process of the call establishment method of the embodiment of the present invention is shown in FIG. Figure 2 ;
[0075] Figure 7 The structure diagram of the call establishment device according to the embodiment of the present invention is as follows Figure 1 ;
[0076] Figure 8 The structure diagram of the call establishment device according to the embodiment of the present invention is as follows Figure 2 ;
[0077] Fig. 9 It is a schematic diagram of the structure of a call establishment system according to an embodiment of the present invention;
[0078] Fig.10 A schematic diagram of the structure of a calling terminal according to an embodiment of the present invention;
[0079] Fig.11 The figure is a schematic diagram of the structure of the called terminal according to an embodiment of the present invention. DETAILED DESCRIPTION
[0080] Before introducing the technical solution of the embodiment of the present invention, the related technology is first described.
[0081] In the related art, with the rapid development of mobile terminal technology and Internet technology, a calling terminal can initiate a voice call to a called terminal. In actual application, when the calling terminal wants to transmit important information to the called terminal, the calling terminal can set the initiated voice call as an important call, and transmit the set important call to the called terminal to establish an important call with the called terminal. In the related art, the calling terminal initiating an important call has a problem of large signaling overhead.
[0082] Based on this, in various embodiments of the present invention, the calling terminal sends a SIP message to the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal; the calling terminal receives a response message to the SIP message sent by the called terminal; the calling terminal sends a SIP INVITE call request to the called terminal; the SIP INVITE call request is used to request to establish the important call.
[0083] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.
[0084] The embodiment of the present invention provides a call establishment method, such as Figure 1 As shown, the method includes:
[0085] Step 101: The calling terminal sends a SIP message to the called terminal; and receives a response message to the SIP message sent by the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal;
[0086] Step 102: The calling terminal sends a SIP INVITE call request to the called terminal; the SIP INVITE call request is used to request to establish the important call.
[0087] Here, in step 101, the specific voice service may refer to a Voice over Long-Term Evolution (VoLTE) service based on an IP multimedia subsystem, such as a high-definition digital voice service and a high-definition digital video service with high transmission rate requirements, or may refer to a voice service in a future fifth-generation mobile communication system. Taking the VoLTE service as an example, when the called terminal triggers the VoLTE service, the calling terminal may transfer the initiated important call to the called terminal through a SIP message, and the signaling interaction between the calling terminal and the called terminal is less, thereby saving signaling overhead.
[0088] Here, in step 102, when the calling terminal triggers the specific voice service, the calling terminal may use the SIP protocol to send a SIP INVITE call signaling to the called terminal to establish an important call.
[0089] In actual application, when the calling terminal initiates an important call to the called terminal, the calling terminal can set the caller ID and ring tone when the called terminal receives the incoming call to remind the called terminal of the importance of the current call.
[0090] Based on this, in one embodiment, the method further includes:
[0091] The calling terminal obtains the URL of the first multimedia file corresponding to the mark of the important call and the URL of the second multimedia file corresponding to the ringing tone of the important call;
[0092] The calling terminal generates a SIP message based on the URL of the first multimedia file and the URL of the second multimedia file; wherein the URL of the first multimedia file and the URL of the second multimedia file are used for the called terminal to display the mark of the important call and play the ringing tone corresponding to the important call.
[0093] Here, the mark of the important call may refer to the caller ID set by the calling terminal; the ringing tone corresponding to the important call may refer to the ringing tone set by the calling terminal. The first multimedia file corresponding to the mark of the important call may specifically be a picture, etc.; the second multimedia file corresponding to the ringing tone corresponding to the important call may specifically be audio, etc.
[0094] In actual application, the calling terminal can initiate an important call to the called terminal only after it has subscribed to the important call service. Therefore, the calling terminal can subscribe to the important call service on the service management platform and obtain the URLs of the first multimedia file and the second multimedia file from the service management platform.
[0095] Based on this, in one embodiment, the calling terminal obtains the URL of the first multimedia file corresponding to the mark of the important call and the URL of the second multimedia file corresponding to the ringing tone of the important call, including:
[0096] The calling terminal sends a subscription request to the service management platform; the subscription request is used to request the activation of an important call service;
[0097] The calling terminal receives a response message sent by the service management platform to the subscription request; the response message is used to indicate that the calling terminal is allowed to activate the important call service;
[0098] The calling terminal performs a setting operation for an important call mark and a ringing ringtone to receive the URL of the first multimedia file and the URL of the second multimedia file returned by the service management platform.
[0099] Here, the user using the calling terminal can access the service management platform on the calling terminal. After the important call service is subscribed to on the service management platform, the user can browse and set personalized important call information on the service management platform, for example, activate the important call service, select the important call service package, select the style of the important call mark, select the ringing tone of the important call, etc. After the user sets the important call information, the service management platform can return the URL of the first multimedia file corresponding to the important call mark and the URL of the second multimedia file corresponding to the ringing tone of the important call to the calling terminal. Among them, the important call service package can be set according to the operation needs, for example, monthly / time or daily hours-hours / times, etc.
[0100] In actual application, since the calling terminal sends to the called terminal the URL of the first multimedia file corresponding to the mark of the important call and the URL of the second multimedia file corresponding to the ringing tone of the important call, in order to avoid the situation where the call signaling of the calling terminal has been delivered to the called terminal but the called terminal cannot timely display the caller ID and ringing tone of the important call of the calling terminal device, the called terminal can receive the SIP message sent by the calling terminal, and then send a response message to the calling terminal after downloading the first multimedia file corresponding to the mark of the important call and the second multimedia file corresponding to the ringing tone of the important call. In this way, it can be ensured that the called terminal can timely display the caller ID and ringing tone set by the calling terminal when receiving a call from the calling terminal.
[0101] Based on this, in one embodiment, the calling terminal receives a response message to the SIP message sent by the called terminal, including:
[0102] After the called terminal downloads the first multimedia file and the second multimedia file according to the URL of the first multimedia file and the URL corresponding to the second multimedia file, the calling terminal receives a response message to the SIP message sent by the called terminal.
[0103] In actual application, the calling terminal can send a SIP message to the called terminal through the AS. After the AS receives the SIP message, if the SIP message carries the URL of the first multimedia file corresponding to the important call mark and the URL of the second multimedia file corresponding to the ringing tone of the important call, the service management platform can be requested to review whether the calling terminal has subscribed to the important call service and whether the URL of the first multimedia file and the URL of the second multimedia file are accurate, so as to ensure the quality of the important call initiated by the calling terminal.
[0104] Based on this, in one embodiment, the calling terminal sends a SIP message to the called terminal, including:
[0105] The calling terminal sends a SIP message to the AS;
[0106] The SIP message is sent to the called terminal through the AS.
[0107] Here, the calling terminal sends a SIP message to the AS. After receiving the SIP message, the AS parses the SIP message to obtain the key content carried by the SIP message; and initiates a service review request to the service management platform through a HyperText Transfer Protocol (HTTP) GET message. After receiving the service review request sent by the AS, the service management platform reviews whether the calling terminal has subscribed to the important call service, whether the URL of the first multimedia file and the URL of the second multimedia file are accurate, and returns a review response message to the AS. Among them, if there is no error in reviewing the URL of the first multimedia file and the URL of the second multimedia file, the service management platform returns a response message of successful review to the AS, and the AS forwards the SIP message sent by the calling terminal to the called terminal; if there is an error in reviewing the URL of the first multimedia file and the URL of the second multimedia file, the service management platform returns the correct URL to the AS, and the AS carries the correct URL in the SIP message sent by the calling terminal and forwards it to the called terminal. The AS can also feedback a SIP Message 4XX message to the calling terminal to prompt the calling terminal to re-subscribe to the mark of the important call and the ring tone corresponding to the important call.
[0108] In one example, if Figure 2 The figure shows the process of a calling terminal initiating an important call to a called terminal, including:
[0109] Step 201: The calling terminal generates a SIP message.
[0110] Here, before step 201, when the calling terminal triggers the VoLTE service, the URL of the first multimedia file corresponding to the important call mark and the URL of the second multimedia file corresponding to the ringing tone of the important call can be obtained; and the URL of the first multimedia file is used as the first field, the URL of the second multimedia file is used as the second field, and the important call tag is used as the third field, and a SIP message, i.e., SIPMessage, is generated by the first field, the second field, and the third field.
[0111] The positions of the first field, the second field and the third field in the SIP message are not limited. When the value of the third field is 0, it indicates that the current call is a normal call; when the value of the third field is 1, it indicates that the current call is an important call.
[0112] Step 202: The calling terminal sends the SIP message to the called terminal, and receives a response message to the SIP message sent by the called terminal.
[0113] Here, if Figure 3 As shown, the process of the calling terminal sending a SIP message to the called terminal and receiving a response message sent by the called terminal to the SIP message includes:
[0114] Step 1: The calling terminal sends a SIP message to the called terminal;
[0115] Here, the VoLTE call module in the calling terminal sends a notification message to the message module; the notification message is used to instruct the message module to send a SIP message to the called terminal.
[0116] In addition to the conventional SIP message fields, such as the From header field, the To header field, and the Feature Tag ICSI tag of the important call, the XML message body of the SIP message may also carry the Important call field, the Important ID field, the Media URL field, etc. The Important call field corresponds to the third field, and the Media URL field corresponds to the first and second fields.
[0117] Here, the SIP message may specifically be:
[0118]
[0119] Step 2: The called terminal downloads the first multimedia file and the second multimedia file carried in the SIP message.
[0120] Step 3: After downloading the first multimedia file and the second multimedia file, the called terminal sends a response message to the calling terminal in response to the SIP message.
[0121] Here, if Figure 4 As shown, the process of the calling terminal sending a SIP message to the called terminal includes:
[0122] Step 1: The calling terminal sends a SIP message to the AS;
[0123] Step 2: AS initiates a business review request to the business management platform.
[0124] Step 3: The business management platform returns an audit response message to the AS.
[0125] If the URL of the first multimedia file and the URL of the second multimedia file are correct, the business management platform returns a response message of successful review to the AS. If the URL of the first multimedia file and the URL of the second multimedia file are incorrect, the business management platform returns the correct URL to the AS.
[0126] Step 4: AS forwards the SIP message to the called terminal.
[0127] Step 203: The calling terminal sends a SIP INVITE call request to the called terminal; the SIP INVITE call request is used to request to establish the important call.
[0128] Here, the calling terminal initiates an important call based on the VoLTE voice service to the called terminal, which has the following advantages:
[0129] (1) Before the calling terminal initiates an important call with the called terminal, the calling terminal can set the call to be initiated as an important call and use SIP Message to transmit important call information. Compared with the information transmission method based on MSRP tunnel in the related art, it can avoid the additional overhead caused by frequently sending a large amount of message data based on MSRP tunnel. This method is suitable for operators with a large number of users or business volumes.
[0130] (2) The calling terminal can set the caller ID with an important call mark to be displayed when the called terminal receives an incoming call, and the ring tone corresponding to the important call to be played when the called terminal receives an incoming call, which can meet the user's personalized customization requirements.
[0131] (3) After receiving the SIP message, the called terminal sends a response message to the SIP message, i.e., a message delivery report, to the calling terminal after the first multimedia file corresponding to the important call mark and the second multimedia file corresponding to the ringing tone of the important call are successfully downloaded.
[0132] (4) It can be combined with the operator's mainstream call services such as VoLTE services, and can follow the existing VoLTE routing principles to the greatest extent, without making any changes to the existing network service routing.
[0133] (5) The calling terminal uses HTTP to activate and subscribe to the important call service on the service management platform, as well as select the important call mark and the ring tone for the important call.
[0134] In actual application, since multiple calling terminals can initiate important calls to the same called terminal, when the calling terminal initiates an important call to the called terminal, in order to avoid the called terminal being unable to identify the important call initiated by the current calling terminal, the calling terminal can carry the same important call identifier in the SIP message and SIP INVITE call signaling, so that the called terminal can establish an important call with the current calling terminal.
[0135] Based on this, in one embodiment, the SIP message includes an identifier of an important call; the calling terminal sends a SIP INVITE call request to the called terminal, including:
[0136] The calling terminal carries the identifier of the important call included in the SIP message in the SIP INVITE call request;
[0137] The calling terminal sends a SIP INVITE call request to the called terminal;
[0138] The SIP INVITE call request is used by the called terminal to establish an important call based on a specific voice service with the calling terminal when the important call identifier carried in the SIP INVITE call request matches the important call identifier carried in the SIP message.
[0139] In one example, if Figure 5 As shown in FIG. 1 , a process of establishing a call from a calling terminal to a called terminal is described, including:
[0140] Step 501: The calling terminal carries the identifier of the important call included in the SIP message in a SIP INVITE call request;
[0141] Here, the identifier of the important call included in the SIP message is represented by the important id field. The SIP INVITE call may also carry a Feature Tag ICSI tag field of the important call.
[0142] Step 502: The calling terminal sends a SIP INVITE call request to the called terminal.
[0143] Here, the called terminal establishes an important call based on a specific voice service with the calling terminal when the identifier of the important call carried in the SIP INVITE call request matches the identifier of the important call carried in the SIP message.
[0144] Here, the calling terminal sends a SIP INVITE call request to the called terminal, which has the following advantages:
[0145] When the calling terminal triggers a specific voice service such as VoLTE service, the SIP INVITE signaling sent by the calling terminal to the called terminal needs to carry the same important id field as the SIP message to ensure that the called terminal establishes an important call with the current calling terminal.
[0146] By adopting the technical solution of the embodiment of the present invention, the calling terminal can use SIP messages to transmit important call information to the called terminal in a specific voice service scenario to initiate an important call to the called terminal. Since the calling terminal and the called terminal require less signaling interaction to establish an important call, signaling overhead can be saved.
[0147] Correspondingly, the embodiment of the present invention also provides a call establishment method, such as Figure 6 As shown, the method includes:
[0148] Step 601: the called terminal receives a SIP message sent by the calling terminal; and sends a response message to the SIP message to the calling terminal; the SIP message is used to indicate initiation of an important call based on a specific voice service to the called terminal;
[0149] Step 602: The called terminal receives a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request is used to request to establish an important call based on a specific voice service.
[0150] In one embodiment, the SIP message includes a URL of a first multimedia file corresponding to a mark of an important call and a URL of a second multimedia file corresponding to a ringing tone of the important call; and the response message to the SIP message sent by the called terminal to the calling terminal includes:
[0151] The called terminal downloads a first media file corresponding to the mark of the important call and a second multimedia file corresponding to the ringing tone of the important call according to the URL of the first multimedia file and the URL of the second multimedia file;
[0152] After downloading the first multimedia file and the second multimedia file, the called terminal sends a response message to the calling terminal in response to the SIP message.
[0153] In one embodiment, the SIP message includes an identifier of an important call; and the called terminal receives the SIP INVITE call request sent by the calling terminal, including:
[0154] The called terminal receives a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request carries an identification of an important call;
[0155] Matching the identifier of the important call carried in the SIP INVITE call request with the identifier of the important call contained in the SIP message;
[0156] When the identifier of the important call carried in the SIP INVITE call request matches the identifier of the important call contained in the SIP message, the called terminal and the calling terminal establish an important call based on a specific voice service, display the mark of the important call, and play the ringtone corresponding to the important call.
[0157] In a specific voice service scenario, the calling terminal can use SIP messages to transmit important call information to the called terminal to initiate an important call to the called terminal. Since the calling terminal and the called terminal require less signaling interaction to establish an important call, signaling overhead can be saved.
[0158] In order to implement the call establishment method of the embodiment of the present invention, the embodiment of the present invention also provides a call establishment device, which is arranged on the calling terminal. Figure 7 FIG. 1 is a schematic diagram of the structure of a call establishment device according to an embodiment of the present invention; Figure 7 As shown, the device comprises:
[0159] The first sending unit 71 is used to send a SIP message to the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal;
[0160] A first receiving unit 72, configured to receive a response message to the SIP message sent by the called terminal;
[0161] The first sending unit 71 is further configured to send a SIP INVITE call request to the called terminal; the SIP INVITE call request is used to request to establish the important call.
[0162] In actual application, the sending unit can be implemented by a communication interface in the call establishment device; the processing unit can be implemented by a processor in the call establishment device in combination with the communication interface.
[0163] It should be noted that: the call establishment device provided in the above embodiment only uses the division of the above program modules as an example to illustrate when performing call establishment. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the call establishment device provided in the above embodiment and the call establishment method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0164] In order to implement the call establishment method of the embodiment of the present invention, the embodiment of the present invention further provides a call establishment device, which is arranged on the called terminal. Figure 8 FIG. 1 is a schematic diagram of the structure of a call establishment device according to an embodiment of the present invention; Figure 8 As shown, the device comprises:
[0165] The second receiving unit 81 is used to receive a SIP message sent by the calling terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal;
[0166] A second sending unit 82, configured for sending a response message of the called terminal to the calling terminal in response to the SIP message;
[0167] The second receiving unit 81 is further configured to receive a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request is used to request to establish an important call based on a specific voice service.
[0168] In actual application, the sending unit can be implemented by a communication interface in the call establishment device; the processing unit can be implemented by a processor in the call establishment device in combination with the communication interface.
[0169] It should be noted that: the call establishment device provided in the above embodiment only uses the division of the above program modules as an example to illustrate when performing call establishment. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the call establishment device provided in the above embodiment and the call establishment method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0170] To implement the method of the embodiment of the present invention, the embodiment of the present invention provides a call establishment system, such as Fig. 9 As shown, including:
[0171] The calling terminal 91 is used to send a SIP message to the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal; and receive a response message to the SIP message sent by the called terminal; and is also used to send a SIP INVITE call request to the called terminal.
[0172] The called terminal 92 is used to receive a SIP message sent by a calling terminal; the SIP message is used to indicate that an important call based on a specific voice service is to be initiated to the called terminal; and a response message to the SIP message is sent to the calling terminal; and is also used to receive a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request is used to request the establishment of an important call based on a specific voice service.
[0173] It should be noted that the specific processing procedures of the calling terminal 91 and the called terminal 92 have been described in detail above and will not be repeated here.
[0174] The embodiment of the present invention also provides a calling terminal, such as Fig.10 As shown, including:
[0175] The first communication interface 101 is capable of exchanging information with other devices;
[0176] The first processor 102 is connected to the first communication interface 101 and is used to execute the method provided by one or more technical solutions on the smart device side when running a computer program. The computer program is stored in the first memory 103.
[0177] It should be noted that: the specific processing process of the first processor 102 and the first communication interface 101 is detailed in the method embodiment and will not be repeated here.
[0178] Of course, in actual application, the various components in the terminal 100 are coupled together through the bus system 104. It can be understood that the bus system 104 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 104 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.10 Various buses are labeled as bus system 104 .
[0179] The first memory 103 in the embodiment of the present application is used to store various types of data to support the operation of the network device 100. Examples of such data include: any computer program used to operate on the terminal 100.
[0180] The method disclosed in the above embodiment of the present application can be applied to the first processor 102, or implemented by the first processor 102. The first processor 102 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 102. The above-mentioned first processor 102 may be a general-purpose processor, a digital call establishment device (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 102 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the first memory 103. The first processor 102 reads the information in the first memory 103 and completes the steps of the above method in combination with its hardware.
[0181] The embodiment of the present invention also provides a called terminal, such as Fig.11 As shown, including:
[0182] The second communication interface 111 is capable of exchanging information with other devices;
[0183] The second processor 112 is connected to the second communication interface 111 and is used to execute the method provided by one or more technical solutions on the smart device side when running a computer program. The computer program is stored in the second memory 113.
[0184] It should be noted that: the specific processing process of the second processor 112 and the second communication interface 111 is detailed in the method embodiment, which will not be repeated here.
[0185] Of course, in actual application, the various components in the terminal 110 are coupled together through the bus system 114. It can be understood that the bus system 114 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 114 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.11 Various buses are labeled as bus system 114 .
[0186] The second memory 113 in the embodiment of the present application is used to store various types of data to support the operation of the network device 110. Examples of such data include: any computer program used to operate on the terminal 110.
[0187] The method disclosed in the above embodiment of the present application can be applied to the second processor 112, or implemented by the second processor 112. The second processor 112 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 112. The above-mentioned second processor 112 may be a general-purpose processor, a digital call establishment device (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 112 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the second memory 113. The second processor 112 reads the information in the second memory 113 and completes the steps of the above method in combination with its hardware.
[0188] In an exemplary embodiment, the terminal 100 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
[0189] It can be understood that the memory (memory 103) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAMbus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0190] In an exemplary embodiment, the embodiment of the present invention further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory 113 storing a computer program, and the computer program can be executed by the processor 110 of the terminal 110 to complete the steps of the aforementioned network device side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0191] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0192] In addition, the technical solutions described in the embodiments of the present invention can be arbitrarily combined without conflict.
[0193] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.
Claims
1. A call establishment method, characterized in that: The method comprises: The calling terminal sends a Session Initiation Protocol (SIP) message to the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal; the SIP message includes an identifier of the important call; The calling terminal receives a response message to the SIP message sent by the called terminal; The calling terminal sends a SIP INVITE call request to the called terminal; the SIP INVITE call request is used to request to establish the important call; wherein the SIP message further includes a uniform resource locator URL of a first multimedia file corresponding to a mark of the important call and a URL of a second multimedia file corresponding to a ringing tone of the important call; The calling terminal sends a SIP message to the called terminal, including: The calling terminal sends a SIP message to the application server AS, so that the AS parses the SIP message to obtain the identifier of the important call, the URL of the first multimedia file, and the URL of the second multimedia file, and initiates a service review request to the service management platform, through which the service management platform reviews whether the calling terminal has subscribed to the important call service, whether the URL of the first multimedia file and the URL of the second multimedia file are accurate, and returns a review response message to the AS; Sending a SIP message carrying a correct URL to the called terminal through the AS; the SIP message carrying the correct URL is determined by the AS according to the audit response message; The calling terminal sending a SIP INVITE call request to the called terminal includes: The calling terminal carries the identifier of the important call included in the SIP message in the SIP INVITE call request; The calling terminal sends a SIP INVITE call request to the called terminal; The SIP INVITE call request is used by the called terminal to establish an important call based on a specific voice service with the calling terminal when the important call identifier carried in the SIP INVITE call request matches the important call identifier carried in the SIP message.
2. The method according to claim 1, characterized in that The method further comprises: The calling terminal obtains the URL of the first multimedia file corresponding to the mark of the important call and the URL of the second multimedia file corresponding to the ringing tone of the important call; The calling terminal generates a SIP message based on the URL of the first multimedia file and the URL of the second multimedia file; The URL of the first multimedia file and the URL of the second multimedia file are used for the called terminal to display the mark of the important call and play the ringing tone corresponding to the important call.
3. The method according to claim 2, characterized in that The calling terminal obtains the URL of the first multimedia file corresponding to the mark of the important call and the URL of the second multimedia file corresponding to the ringing tone of the important call, including: The calling terminal sends a subscription request to the service management platform; the subscription request is used to request the activation of an important call service; The calling terminal receives a response message sent by the service management platform to the subscription request; the response message is used to indicate that the calling terminal is allowed to activate the important call service; The calling terminal performs a setting operation for an important call mark and a ringing ringtone to receive the URL of the first multimedia file and the URL of the second multimedia file returned by the service management platform.
4. The method according to claim 2 or 3, characterized in that: The calling terminal receives a response message to the SIP message sent by the called terminal, including: After the called terminal downloads the first multimedia file and the second multimedia file according to the URL of the first multimedia file and the URL corresponding to the second multimedia file, the calling terminal receives a response message to the SIP message sent by the called terminal.
5. A call establishment method, characterized in that: The method comprises: The called terminal receives a SIP message sent by the calling terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal; the SIP message includes an identification of the important call; A response message to the SIP message sent by the called terminal to the calling terminal; The called terminal receives the SIP INVITE call request sent by the calling terminal; the SIP INVITE call request is used to request to establish an important call based on a specific voice service; wherein the SIP message further includes a URL of a first multimedia file corresponding to a mark of the important call and a URL of a second multimedia file corresponding to a ringing tone of the important call; The called terminal receives a SIP message sent by the calling terminal, including: The called terminal receives a SIP message carrying a correct URL sent by the AS; the SIP message carrying the correct URL is determined by the AS according to the audit response message; The audit response message is a SIP message sent by the calling terminal to the AS, so that the AS parses the SIP message to obtain the identifier of the important call, the URL of the first multimedia file and the URL of the second multimedia file, and initiates a service audit request to the service management platform, and the service management platform audits whether the calling terminal has subscribed to the important call service, and whether the URL of the first multimedia file and the URL of the second multimedia file are accurate; The called terminal receiving the SIP INVITE call request sent by the calling terminal includes: The called terminal receives a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request carries an identification of an important call; The called terminal matches the identifier of the important call carried in the SIP INVITE call request with the identifier of the important call contained in the SIP message; When the identifier of the important call carried in the SIP INVITE call request matches the identifier of the important call included in the SIP message, the called terminal and the calling terminal establish an important call based on a specific voice service.
6. The method according to claim 5, characterized in that The response message to the SIP message sent by the called terminal to the calling terminal includes: The called terminal downloads a first media file corresponding to the mark of the important call and a second multimedia file corresponding to the ringing tone of the important call according to the URL of the first multimedia file and the URL of the second multimedia file; After downloading the first multimedia file and the second multimedia file, the called terminal sends a response message to the calling terminal in response to the SIP message.
7. The method according to claim 6, characterized in that The method further comprises: When the identifier of the important call carried in the SIP INVITE call request matches the identifier of the important call contained in the SIP message, the called terminal displays the mark of the important call and plays the ringing tone corresponding to the important call.
8. A call establishment device, characterized in that: Applied to calling terminals, including: A first sending unit is used to send a SIP message to the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal; the SIP message includes an identifier of the important call; A first receiving unit, configured to receive a response message to the SIP message sent by the called terminal; The first sending unit is further used to send a SIP INVITE call request to the called terminal; the SIP INVITE call request is used to request to establish the important call; wherein the SIP message further includes a uniform resource locator URL of a first multimedia file corresponding to a tag of the important call and a URL of a second multimedia file corresponding to a ringing ringtone of the important call; The first sending unit is specifically used to send a SIP message to the AS so that the AS parses the SIP message to obtain the identifier of the important call, the URL of the first multimedia file and the URL of the second multimedia file, and initiate a service review request to the service management platform, and review whether the calling terminal has subscribed to the important call service, the URL of the first multimedia file and the URL of the second multimedia file through the service management platform, and return a review response message to the AS; send the SIP message carrying the correct URL to the called terminal through the AS; the SIP message carrying the correct URL is determined by the AS according to the review response message; carry the identifier of the important call contained in the SIP message in the SIP INVITE call request; send a SIP INVITE call request to the called terminal; wherein the SIP INVITE call request is used by the called terminal to establish an important call based on a specific voice service with the calling terminal when the identifier of the important call carried in the SIP INVITE call request matches the identifier of the important call carried in the SIP message.
9. A call establishment device, characterized in that: Applicable to the called terminal, including: A second receiving unit is used to receive a SIP message sent by a calling terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal; the SIP message includes an identification of the important call; A second sending unit, configured to send a response message to the SIP message from the called terminal to the calling terminal; The second receiving unit is further configured to receive a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request is used to request the establishment of an important call based on a specific voice service; wherein the SIP message further includes a uniform resource locator URL of a first multimedia file corresponding to a tag of an important call and a URL of a second multimedia file corresponding to a ringing tone of the important call; The second receiving unit is specifically used to receive a SIP message carrying a correct URL sent by AS; the SIP message carrying the correct URL is determined by the AS according to an audit response message; wherein the audit response message is a SIP message sent by the calling terminal to the AS, so that the AS parses the SIP message to obtain the identifier of the important call, the URL of the first multimedia file and the URL of the second multimedia file, and initiates a service audit request to the service management platform, through which the service management platform audits whether the calling terminal has subscribed to the important call service, the URL of the first multimedia file and the URL of the second multimedia file are accurate; receiving a SIP INVITE call request sent by the calling terminal; the SIP INVITE call request carries an identifier of an important call; matching the identifier of the important call carried by the SIP INVITE call request with the identifier of the important call contained in the SIP message; when the identifier of the important call carried by the SIP INVITE call request matches the identifier of the important call contained in the SIP message, establishing an important call based on a specific voice service with the calling terminal.
10. A call establishment device, characterized in that: Applied to calling terminals, including: The first processor, The first communication interface is used to send a SIP message to the called terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal; the SIP message contains an identification of the important call; and is also used to receive a response message to the SIP message sent by the called terminal; and send a SIP INVITE call request to the called terminal; the SIP The INVITE call request is used to request the establishment of the important call; the SIP message also includes the uniform resource locator URL of the first multimedia file corresponding to the mark of the important call, and the URL of the second multimedia file corresponding to the ringing ringtone of the important call; it is also specifically used to send a SIP message to the AS so that the AS parses the SIP message to obtain the identifier of the important call, the URL of the first multimedia file and the URL of the second multimedia file, and initiate a service review request to the service management platform, through which the service management platform reviews whether the calling terminal has subscribed to the important call service, the URL of the first multimedia file, and whether the URL of the second multimedia file is accurate, and returns a review response message to the AS; the SIP message carrying the correct URL is sent to the called terminal through the AS; the SIP message carrying the correct URL is determined by the AS according to the review response message; the identifier of the important call contained in the SIP message is carried in the SIP INVITE call request; and the SIP INVITE call request is sent to the called terminal; wherein the SIP INVITE call request is used for the called terminal to subscribe to the SIP When the identifier of the important call carried in the INVITE call request matches the identifier of the important call carried in the SIP message, an important call based on a specific voice service is established with the calling terminal.
11. A call establishment device, characterized in that: Applicable to the called terminal, including: The second processor, The second communication interface is used to receive a SIP message sent by the calling terminal; the SIP message is used to indicate that an important call based on a specific voice service is initiated to the called terminal; the SIP message contains an identification of the important call; it is also used for the called terminal to send a response message to the SIP message to the calling terminal; and receive a SIP INVITE call request sent by the calling terminal; the SIP The INVITE call request is used to request the establishment of an important call based on a specific voice service; the SIP message also includes the uniform resource locator URL of the first multimedia file corresponding to the mark of the important call, and the URL of the second multimedia file corresponding to the ringing ringtone of the important call; it is also specifically used to receive a SIP message carrying the correct URL sent by the AS; the SIP message carrying the correct URL is determined by the AS according to the audit response message; wherein the audit response message is sent by the calling terminal to the AS with a SIP message so that the AS parses the SIP message to obtain the identifier of the important call, the URL of the first multimedia file and the URL of the second multimedia file, and initiates a service audit request to the service management platform, through which the service management platform audits whether the calling terminal has subscribed to the important call service, and whether the URL of the first multimedia file and the URL of the second multimedia file are accurate; receiving the SIP INVITE call request sent by the calling terminal; the SIP INVITE call request carries the identifier of the important call; and the identifier of the important call carried by the SIP INVITE call request is matched with the identifier of the important call contained in the SIP message; when the SIP When the identifier of the important call carried in the INVITE call request matches the identifier of the important call contained in the SIP message, an important call based on the specific voice service is established with the calling terminal.
12. A calling terminal, characterized in that: comprising a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 1 to 4.
13. A called terminal, characterized in that: comprising a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 5 to 7.
14. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 4, or implements the steps of the method according to any one of claims 5 to 7.
Citation Information
Patent Citations
Implementing method of customer multi-media tag service
CN101047629A
VoLTE encrypted call identification method, apparatus and system
CN106713261A