Call control method, application server, communication system and storage medium

Through the collaborative work of the application server and the media resource server, the voice call security problem between the VoLTE voice encryption terminal and the ordinary VoLTE terminal is solved, the conversion and decryption processing of encrypted media streams is realized, and the security of voice services and users are improved. Experience.

CN114900500BActive Publication Date: 2024-11-19CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210685062.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-15
Publication Date
2024-11-19
Estimated Expiration
2042-06-15

AI Technical Summary

Technical Problem

In VoLTE voice service, the security of the voice encryption terminal cannot be fully reflected when calling and talking between ordinary VoLTE mobile terminals and VoLTE voice encryption terminals, resulting in poor user experience.

Method used

Receive call messages through the application server, determine that the calling terminal or called terminal supports voice encryption function, obtains the session key, and establishes a media stream in the media resource server for encryption and decryption processing, realizing the encrypted media stream and ordinary media streams between encrypted media streams and ordinary media streams conversion.

Benefits of technology

It realizes normal calls between the VoLTE voice encryption terminal and the ordinary VoLTE terminal, enhances the security and quality of voice services, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114900500B_ABST
    Figure CN114900500B_ABST
Patent Text Reader

Abstract

The present disclosure provides a call control method, an application server, a communication system and a storage medium, wherein the method comprises: the application server receives a call message, and determines based on the call message that the calling terminal or the called terminal supports the voice encryption function; the application server obtains a session key, and sends a notification instruction of obtaining the session key to the calling terminal or the called terminal supporting the voice encryption function; the application server receives the key acquisition notification information sent by the calling terminal or the called terminal supporting the voice encryption function, and determines the encryption direction of the media stream; the application server establishes a media stream between the calling terminal and the called terminal and performs encryption and decryption processing of the media stream based on the session key, the encryption direction, the address information of the calling terminal and the called terminal and the media stream information. The present disclosure realizes the conversion between the encrypted media stream and the ordinary media stream through the encryption and decryption processing of the media resource server, thereby improving the quality and security of the voice service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a call control method, an application server, a communication system and a storage medium. Background Art

[0002] VOLTE (Voice over Long-Term Evolution) is based on the IP Multimedia Subsystem (IMS) network and uses configuration files specially designed for the control plane and the media plane of voice services, so that voice services (control and media plane) are transmitted as data streams in the LTE data bearer network, without the need to maintain and rely on the traditional circuit-switched voice network. IMS-based VoLTE voice services have the advantages of high bandwidth, high speed, low latency, better QoS and shorter call connection time, which can bring users a better user experience. At present, only when both the calling and called parties are VoLTE voice encryption terminals can the encrypted voice call mode be negotiated in the voice call stage. In other cases, it is the ordinary VoLTE voice call mode; VoLTE mobile terminals on the network usually do not have encryption functions. When a VoLTE voice encryption terminal makes a voice call and a conversation with an ordinary VoLTE mobile terminal, the security of the VoLTE voice encryption terminal cannot be fully reflected. For VoLTE voice encryption terminal users, the service experience is poor. Summary of the invention

[0003] In view of this, a technical problem to be solved by the present invention is to provide a call control method, an application server, a communication system and a storage medium.

[0004] According to a first aspect of the present disclosure, a call control method is provided, including: an application server receives a call message, and determines, based on the call message, that a calling terminal or a called terminal supports a voice encryption function; the application server obtains a session key, and sends a notification indication for obtaining a session key to the calling terminal or the called terminal that supports the voice encryption function; the application server receives key acquisition notification information sent by the calling terminal or the called terminal that supports the voice encryption function, and determines an encryption direction of a media stream; the application server establishes a media stream between the calling terminal and the called terminal and performs media stream encryption and decryption processing based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information.

[0005] Optionally, the application server obtains the session key including: the application server sends a key acquisition request to a key management server to obtain the session key; wherein the information carried in the key acquisition request includes: session ID, number information of a calling terminal or a called terminal that supports voice encryption function.

[0006] Optionally, the application server establishes a media stream between the calling terminal and the called terminal and performs media stream encryption and decryption processing based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information, including: the application server controls the media resource server to establish a media stream between the calling terminal and the called terminal based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information, and the media resource server encrypts and decrypts the media stream.

[0007] Optionally, the calling terminal supports the voice encryption function; the application server receives a call message, and determines based on the call message that the calling terminal or the called terminal supports the voice encryption function, including: the application server receives an invitation message sent by the calling terminal, obtains an indication of support for the voice encryption function carried in the invitation message, as well as session ID and calling number information; the application server determines that the calling terminal supports the voice encryption function based on the indication of support for the voice encryption function.

[0008] Optionally, the sending of a session key notification indication to a calling terminal or a called terminal supporting a voice encryption function includes: the application server forwarding the invitation message to the called terminal; the application server receiving a session progress message sent by the called terminal, and obtaining a session ID and called code number information from the session progress message; the application server adding the session key notification indication to the session progress information, and forwarding the session progress information to the calling terminal.

[0009] Optionally, the application server receiving the key acquisition notification information includes: the application server receiving an update message sent by the calling terminal, and obtaining the key acquisition notification information from the update message; wherein, after the calling terminal obtains the session key from the key management server, the calling terminal sends the update message to the application server.

[0010] Optionally, the application server establishes a media stream between the calling terminal and the called terminal and performs media stream encryption and decryption processing based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information, including: the application server sends media establishment information to the media resource server; wherein the media establishment information includes: the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information; the media resource server receives the encrypted media stream sent from the calling terminal, decrypts it using the session key, and forwards the decrypted media stream to the called terminal; when the media resource server receives the media stream sent from the called terminal, it encrypts it using the session key, and forwards the encrypted media stream to the calling terminal.

[0011] Optionally, the called terminal supports the voice encryption function; the application server receives a call message, and determines based on the call message that the calling terminal or the called terminal supports the voice encryption function, including: the application server receives an invitation message sent by the calling terminal, and forwards the invitation message to the called terminal; the application server receives a session progress message sent by the called terminal, and obtains an indication of support for the voice encryption function, as well as a session ID and called code number information from the session progress message; the application server determines that the called terminal supports the voice encryption function based on the indication of support for the voice encryption function.

[0012] Optionally, the sending of a session key acquisition notification indication to a calling terminal or a called terminal supporting a voice encryption function includes: the application server forwarding the session progress information to the calling terminal; the application server receiving an update message sent by the calling terminal, and forwarding the update message to the called terminal after adding the session key notification indication; the application server receiving an update success message sent by the called terminal, and acquiring the key acquisition notification information from the update success message; wherein, after acquiring the session key from the key management server, the called terminal sends the update success message to the application server.

[0013] Optionally, the application server establishes a media stream between the calling terminal and the called terminal and performs media stream encryption and decryption processing based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information, including: the application server sends media establishment information to the media resource server, wherein the media establishment information includes: the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information; the media resource server receives the encrypted media stream sent from the called terminal, decrypts it using the session key, and forwards the decrypted media stream to the calling terminal; when the media resource server receives the media stream sent from the calling terminal, it encrypts it using the session key, and forwards the encrypted media stream to the called terminal.

[0014] Optionally, the voice encryption function includes: VoLTE voice encryption function; the call message includes: SIP call message; the media stream includes: RTP voice stream.

[0015] According to a second aspect of the present disclosure, an application server is provided, including: an encryption function confirmation module, used to receive a call message, and determine whether a calling terminal or a called terminal supports a voice encryption function based on the call message; a key notification processing module, used to obtain a session key, and send a session key acquisition notification indication to a calling terminal or a called terminal supporting the voice encryption function; a key acquisition confirmation module, used to receive key acquisition notification information sent by a calling terminal or a called terminal supporting the voice encryption function, and determine an encryption direction of a media stream; a media stream establishment module, used to establish a media stream between the calling terminal and the called terminal and perform media stream encryption and decryption processing based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information.

[0016] Optionally, the key notification processing module is used to send a key acquisition request to the key management server to obtain the session key; wherein the information carried in the key acquisition request includes: session ID, number information of the calling terminal or the called terminal that supports the voice encryption function.

[0017] Optionally, the media stream establishment module is used to control the media resource server to establish a media stream between the calling terminal and the called terminal based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information, and the media resource server performs encryption and decryption processing on the media stream.

[0018] Optionally, the calling terminal supports the voice encryption function; the encryption function confirmation module is used to receive an invitation message sent by the calling terminal, obtain the indication of supporting the voice encryption function carried in the invitation message, as well as the session ID and calling number information; and determine that the calling terminal supports the voice encryption function based on the indication of supporting the voice encryption function.

[0019] Optionally, the key notification processing module is used to forward the invitation message to the called terminal; receive the session progress message sent by the called terminal, obtain the session ID and called code number information from the session progress message; add the session key notification indication to the session progress information, and forward the session progress information to the calling terminal.

[0020] Optionally, the key acquisition confirmation module is used to receive an update message sent by the calling terminal and obtain the key acquisition notification information from the update message; wherein, after the calling terminal obtains the session key from the key management server, it sends the update message to the application server.

[0021] Optionally, the media stream establishment module is used to send media establishment information to the media resource server; wherein the media establishment information includes: the session key, the encryption direction, address information of the calling terminal and the called terminal, and media stream information.

[0022] Optionally, the called terminal supports the voice encryption function; the encryption function confirmation module is used to receive the invitation message sent by the calling terminal and forward the invitation message to the called terminal; receive the session progress message sent by the called terminal, and obtain an indication of support for the voice encryption function, as well as the session ID and called code number information from the session progress message; and determine that the called terminal supports the voice encryption function based on the indication of support for the voice encryption function.

[0023] Optionally, the key notification processing module is used for the application server to forward the session progress information to the calling terminal; receive the update message sent by the calling terminal, and forward the update message to the called terminal after adding the session key notification indication; the key acquisition confirmation module is used to receive the update success message sent by the called terminal, and obtain the key acquisition notification information from the update success message; wherein, after the called terminal obtains the session key from the key management server, the called terminal sends the update success message to the application server.

[0024] According to a third aspect of the present disclosure, an application server is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the method as described above based on instructions stored in the memory.

[0025] According to a fourth aspect of the present disclosure, a communication system is provided, comprising: the application server as described above.

[0026] Optionally, the communication system also includes: a key management server and a media resource server; the media resource server is used to receive an encrypted media stream sent from the calling terminal or the called terminal, decrypt it using the session key, and forward the decrypted media stream to the called terminal or the calling terminal; when receiving a media stream sent from the called terminal or the calling terminal, encrypt it using the session key and forward the encrypted media stream to the calling terminal or the called terminal.

[0027] According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the instructions are executed by a processor as described above.

[0028] The call control method, application server, communication system and storage medium disclosed in the present invention realize conversion between encrypted media stream and ordinary media stream through encryption and decryption processing of the media resource server when making voice calls and conversations between a terminal supporting voice encryption function and an ordinary mobile terminal, thereby realizing normal voice conversations and enhancing the security of the media stream between the terminal supporting voice encryption function and the media resource server, improving the quality and security of voice services, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0030] Figure 1 A flowchart of an embodiment of a call control method according to the present disclosure;

[0031] Figure 2 is a flow chart of another embodiment of a call control method according to the present disclosure;

[0032] Figure 3 is a flow chart of another embodiment of a call control method according to the present disclosure;

[0033] Figure 4 is a module diagram of an embodiment of an application server according to the present disclosure;

[0034] Figure 5 is a module diagram of an embodiment of a communication system according to the present disclosure;

[0035] Figure 6 FIG. 4 is a module diagram of another embodiment of an application server according to the present disclosure. DETAILED DESCRIPTION

[0036] The present disclosure is described more fully below with reference to the accompanying drawings, in which exemplary embodiments of the present disclosure are described. The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0037] VoLTE is a call process based on IP data transmission. Due to the openness of the IP network itself, such as vulnerability to attacks and traffic interception, the user's VoLTE voice service may be monitored. Therefore, when users enjoy the convenience brought by voice multimedia services, they will inevitably face security issues during voice calls.

[0038] Figure 1 FIG. 1 is a flow chart of an embodiment of a call control method according to the present disclosure, as shown in FIG. Figure 1 As shown:

[0039] Step 101: The application server receives a call message and determines, based on the call message, whether the calling terminal or the called terminal supports a voice encryption function.

[0040] In one embodiment, the call message may be a SIP call message, etc., the voice encryption function includes functions such as VoLTE voice encryption, and the media stream includes an RTP voice stream. When performing a VoLTE voice encryption service, the VoLTE voice stream may be encrypted by a session key, and the VoLTE voice stream is transmitted in ciphertext on the 4G and IMS networks.

[0041] Step 102: The application server obtains a session key and sends a notification instruction for obtaining the session key to a calling terminal or a called terminal that supports a voice encryption function.

[0042] In one embodiment, the application server sends a key acquisition request to the key management server to obtain the session key. The information carried in the key acquisition request includes the session ID, the number information of the calling terminal or the called terminal supporting the voice encryption function, and other information.

[0043] Step 103: The application server receives the key acquisition notification information sent by the calling terminal or the called terminal supporting the voice encryption function, and determines the encryption direction of the media stream. The encryption direction refers to encrypting and decrypting the media stream corresponding to the calling terminal, or encrypting and decrypting the media stream corresponding to the called terminal.

[0044] Step 104: The application server establishes a media stream between the calling terminal and the called terminal and performs media stream encryption and decryption processing based on the session key, encryption direction, address information of the calling terminal and the called terminal, and media stream information.

[0045] In one embodiment, the application server controls the media resource server to establish a media stream between the calling terminal and the called terminal based on the session key, encryption direction, address information of the calling terminal and the called terminal, and media stream information, and the media resource server performs encryption and decryption processing on the media stream. The address information may be IP address information, etc., and the media stream information may be information such as the UDP port number of the RTP stream.

[0046] The call control method disclosed in the present invention, under the premise of not changing the existing VoLTE business model, when a voice call and conversation are made between a VoLTE voice encryption terminal and an ordinary VoLTE mobile terminal, the VoLTE voice encryption terminal side is encrypted RTP voice, the VoLTE ordinary terminal side is ordinary RTP voice stream, and the media resource server converts the encrypted voice stream and the ordinary voice stream, so that the calling and called parties can make a normal VoLTE voice call, and the security of the RTP voice stream between the VoLTE voice encryption terminal and the media resource server is improved.

[0047] In one embodiment, the calling terminal supports the voice encryption function, but the called terminal does not support the voice encryption function. The application server receives the invitation message sent by the calling terminal, obtains the voice encryption function support indication carried in the invitation message, as well as the session ID and the calling number information, and determines that the calling terminal supports the voice encryption function based on the voice encryption function support indication. The invitation message may be a SIP Invite message, etc.

[0048] The application server forwards the invitation message to the called terminal, receives the session progress message sent by the called terminal, obtains the session ID, called number information, etc. from the session progress message, and the session progress message may be a SIP 183sessionprogress message, etc. The application server adds a session key notification indication to the session progress information, and forwards the session progress information to the calling terminal.

[0049] The application server receives the update message sent by the calling terminal, and obtains the key acquisition notification information from the update message, where the update message may be a SIP update message. After obtaining the session key from the key management server, the calling terminal sends an update message to the application server.

[0050] The application server sends media establishment information to the media resource server, which includes the session key, encryption direction, address information of the calling terminal and the called terminal, and media stream information. The media resource server can add an encryption and decryption function module. The media resource server receives the encrypted media stream sent from the calling terminal, decrypts it using the session key, and forwards the decrypted media stream to the called terminal; when the media resource server receives the media stream sent from the called terminal, it encrypts it using the session key and forwards the encrypted media stream to the calling terminal.

[0051] Figure 2 is a flow chart of another embodiment of the call control method according to the present disclosure, the calling terminal supports the VoLTE encryption function, the called terminal is a common terminal (does not support the VoLTE encryption function), Figure 2 Only relevant IMSSIP messages are listed in Figure 2 As shown:

[0052] Step 201: The calling terminal initiates a SIP Invite call, and carries an indication that the calling terminal supports the VoLTE voice encryption function (indication of supporting the voice encryption function) in the invite message.

[0053] Step 202: After receiving the Invite message sent by the calling terminal, the application server AS parses the SIP Invite message. If the message carries the indication information that the terminal supports the encryption function, the application server AS obtains the session ID, the calling number, the calling terminal IP, the calling voice RTP stream UDP port number and other information from the Invite SDP.

[0054] Step 203: the application server AS sends a key acquisition request carrying the session ID and the calling number information to the key management server to obtain the session key.

[0055] Step 204: The application server AS forwards the SIP Invite message to the called terminal.

[0056] Step 205: The called terminal sends a SIP 183 session progress message to the application server AS.

[0057] Step 206, the application server AS parses the SIP message, and obtains information such as the session ID, the called party number, the called party terminal IP, and the called party voice RTP stream UDP port number from the SDP of the SIP 183session progress message.

[0058] Step 207: The application server AS forwards the SIP 183session progress message to the calling terminal, carrying a notification instruction for obtaining a session key.

[0059] Step 208: The calling terminal parses the SIP 183 session progress message.

[0060] Step 209: The calling terminal sends a request carrying the session ID and the local code number information to obtain the session key from the key management server.

[0061] Step 210: The calling terminal sends a SIP update message carrying key acquisition notification information.

[0062] Step 211: the application server AS parses the SIP update message, determines whether the calling terminal has obtained the session key based on the key acquisition notification information, and determines the encryption and decryption direction of the RTP stream.

[0063] Step 212, the application server AS sends the session key of this session, the encryption and decryption direction of the RTP stream, the IP of the caller and the called party, the UDP port number of the RTP stream and other information to the media resource server (sends media establishment information).

[0064] Step 213: The application server AS forwards the SIP update message to the called terminal.

[0065] Step 214: The called terminal returns a SIP update 200 message to the application server.

[0066] Step 215: The application server forwards the SIP update 200 message to the calling terminal.

[0067] Step 216: The called terminal sends a SIP Invite 200 message to the application server.

[0068] Step 217: The application server forwards the SIP Invite 200 message to the calling terminal.

[0069] After receiving the media establishment information sent by the application server AS, the media resource server monitors the calling and called voice RTP streams. When the calling terminal needs to send a voice stream, it uses the session key to encrypt the RTP stream and then sends it; the calling terminal receives the voice stream, uses the session key to decrypt the encrypted RTP stream, and then sends it to the vocoder for playback.

[0070] When the media resource server receives the encrypted RTP voice stream from the calling terminal, it uses the session key to decrypt it and then forwards the plaintext RTP stream to the called terminal; when the media resource server receives the ordinary RTP voice stream from the called terminal, it uses the session key to encrypt it and then forwards the encrypted RTP stream to the calling terminal.

[0071] In one embodiment, the called terminal supports the voice encryption function, while the calling terminal does not support the voice encryption function. The application server receives the invitation message sent by the calling terminal and forwards the invitation message to the called terminal. The application server receives the session progress message sent by the called terminal and obtains the voice encryption function support indication, session ID, called number information and other information from the session progress message. The application server determines that the called terminal supports the voice encryption function based on the voice encryption function support indication.

[0072] The application server forwards the session progress information to the calling terminal, receives the update message sent by the calling terminal, and forwards the update message to the called terminal after adding the session key notification indication. The application server receives the update success message sent by the called terminal, and obtains the key acquisition notification information from the update success message. After obtaining the session key from the key management server, the called terminal sends an update success message to the application server.

[0073] The application server sends media establishment information to the media resource server, which includes session keys, encryption direction, address information of the calling terminal and the called terminal, and media stream information. The media resource server receives the encrypted media stream sent from the called terminal, decrypts it using the session key, and forwards the decrypted media stream to the calling terminal. When the media resource server receives the media stream sent from the calling terminal, it encrypts it using the session key and forwards the encrypted media stream to the called terminal.

[0074] Figure 3 The flowchart of another embodiment of the call control method according to the present disclosure is as follows. The calling terminal is a common terminal, and the called terminal supports the VoLTE encryption function. Figure 3 Only relevant IMS SIP messages are listed, such as Figure 3 As shown:

[0075] Step 301: The calling terminal initiates a SIP Invite call.

[0076] Step 302: After receiving the Invite message from the calling terminal, the application server AS parses the Invite message.

[0077] Step 303: The application server AS forwards the Invite message to the called terminal.

[0078] Step 304: The called terminal receives the SIP Invite message and sends a SIP 183session progress message to the application server AS. The SIP 183session progress message carries an indication that the local terminal supports the VoLTE voice encryption function (indication of supporting the voice encryption function).

[0079] Step 305, the application server AS parses the SIP 183session progress message, determines that the called party supports the VoLTE encryption function based on the indication of supporting the voice encryption function, and obtains information such as the session ID, called party code number, called party terminal IP, and called party voice RTP stream UDP port number from the SDP of the SIP 183session progress message.

[0080] Step 306: The application server AS sends a key acquisition request carrying the session ID and the called number information to the key management server to obtain the session key.

[0081] Step 307: The application server AS forwards the SIP 183 session progress message to the calling terminal.

[0082] Step 308: The calling terminal sends a SIP update message to the application server AS.

[0083] Step 309, the application server AS parses the SIP update message to obtain the calling terminal IP, the calling RTP stream UDP port number information and other information.

[0084] Step 310: forward the SIP update message to the called terminal, carrying a notification instruction for obtaining a session key.

[0085] Step 311: The called terminal parses the SIP update message, carries the session ID and the local code information, and sends a key request to the key management server to obtain the session key.

[0086] Step 312: The called terminal returns a SIP update 200 message carrying notification information that the session key has been obtained (key acquisition notification information).

[0087] Step 313: the application server AS parses the SIP update 200 message, determines whether the called terminal has obtained the session key based on the key acquisition notification information, and determines the encryption and decryption direction of the RTP stream.

[0088] Step 314: the application server AS sends the session key of this session, the encryption and decryption direction of the RTP stream, the IP addresses of the calling party and the called party, and the UDP port number of the RTP stream to the media resource server.

[0089] Step 315: The application server AS forwards the SIP update 200 message to the calling terminal.

[0090] Step 316: The called terminal sends a SIP Invite 200 message to the application server AS.

[0091] Step 317: The application server AS forwards the SIP Invite 200 message to the calling terminal.

[0092] After receiving the information from the application server AS, the media resource server monitors the calling and called voice RTP streams. When the called terminal needs to send a voice stream, it uses the session key to encrypt the RTP stream and then sends it; the called terminal receives the voice stream, decrypts the encrypted RTP stream using the session key, sends it to the vocoder and plays it.

[0093] When the media resource server receives the encrypted RTP voice stream from the called terminal, it uses the session key to decrypt it and then forwards the plaintext RTP stream to the calling terminal; when it receives the ordinary RTP voice stream from the calling terminal, it uses the session key to encrypt it and forwards the encrypted RTP stream to the called terminal.

[0094] In one embodiment, Figure 4 As shown, the present disclosure provides an application server 40, including an encryption function confirmation module 41, a key notification processing module 42, a key acquisition confirmation module 43 and a media stream establishment module 44. The encryption function confirmation module 41 receives a call message, and determines whether the calling terminal or the called terminal supports the voice encryption function based on the call message. The key notification processing module 42 obtains a session key and sends a notification instruction for obtaining a session key to the calling terminal or the called terminal that supports the voice encryption function.

[0095] The key acquisition confirmation module 43 receives the key acquisition notification information sent by the calling terminal or the called terminal supporting the voice encryption function, and determines the encryption direction of the media stream. The media stream establishment module 44 establishes the media stream between the calling terminal and the called terminal based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information, and performs media stream encryption and decryption processing.

[0096] In one embodiment, the key notification processing module 42 sends a key acquisition request to the key management server to obtain the session key. The information carried in the key acquisition request includes the session ID, the number information of the calling terminal or the called terminal that supports the voice encryption function, and other information.

[0097] The media stream establishing module 44 controls the media resource server to establish a media stream between the calling terminal and the called terminal based on the session key, encryption direction, address information of the calling terminal and the called terminal, and media stream information, and the media resource server performs encryption and decryption processing on the media stream.

[0098] In one embodiment, the calling terminal supports the voice encryption function. The encryption function confirmation module 41 receives the invitation message sent by the calling terminal, obtains the indication of supporting the voice encryption function carried in the invitation message, as well as the session ID and calling number information, and determines that the calling terminal supports the voice encryption function based on the indication of supporting the voice encryption function.

[0099] The key notification processing module 42 forwards the invitation message to the called terminal, receives the session progress message sent by the called terminal, obtains the session ID and the called number information from the session progress message, adds the session key notification indication to the session progress message, and forwards the session progress message to the calling terminal.

[0100] The key acquisition confirmation module 43 receives the update message sent by the calling terminal and obtains the key acquisition notification information from the update message. After obtaining the session key from the key management server, the calling terminal sends an update message to the application server. The media stream establishment module 44 sends media establishment information to the media resource server, and the media establishment information includes the session key, encryption direction, address information of the calling terminal and the called terminal, and media stream information.

[0101] In one embodiment, the called terminal supports the voice encryption function, and the encryption function confirmation module 41 receives the invitation message sent by the calling terminal and forwards the invitation message to the called terminal. The encryption function confirmation module 41 receives the session progress message sent by the called terminal, obtains the voice encryption function support indication, the session ID, and the called number information from the session progress message, and determines that the called terminal supports the voice encryption function based on the voice encryption function support indication.

[0102] The key notification processing module 42 application server forwards the session progress information to the calling terminal, receives the update message sent by the calling terminal, and forwards the update message to the called terminal after adding the session key notification indication. The key acquisition confirmation module 43 receives the update success message sent by the called terminal, obtains the key acquisition notification information from the update success message, and the called terminal sends an update success message to the application server after obtaining the session key from the key management server.

[0103] In one embodiment, the present disclosure provides a communication system, including an application server as in any of the above embodiments, and the communication system further includes a key management server and a media resource server. The application server identifies a terminal that supports encryption through a SIP message, and obtains the session IP and UDP port number information of the calling and called terminals; the application server obtains the session key, and forwards the session key and the calling and called RTP stream IP and UDP port information to the media resource server. The key management server performs necessary authentication on the key request, generates a session key, and sends the session key through a secure channel.

[0104] The media resource server receives the encrypted media stream sent from the calling terminal or the called terminal, decrypts it using the session key, and forwards the decrypted media stream to the called terminal or the calling terminal; when the media resource server receives the media stream sent from the called terminal or the calling terminal, it encrypts it using the session key and forwards the encrypted media stream to the calling terminal or the called terminal. For example, the media resource server performs RTP voice stream encryption and decryption processing and forwarding.

[0105] The calling terminal has the VoLTE voice encryption and decryption function, and applies for a session key from the key management server according to the notification of obtaining the session key in the SIP message through the indication of supporting the voice encryption function carried in the SIP message.

[0106] Figure 6 FIG. 2 is a schematic diagram of a module of another embodiment of an application server according to the present disclosure. Figure 6 As shown, the application server may include a memory 61, a processor 62, a communication interface 63 and a bus 64. The memory 61 is used to store instructions, the processor 62 is coupled to the memory 61, and the processor 62 is configured to execute the above call control method based on the instructions stored in the memory 61.

[0107] The memory 61 may be a high-speed RAM memory, a non-volatile memory, etc., or a memory array. The memory 61 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules. The processor 62 may be a central processing unit CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the call control method of the present disclosure.

[0108] In one embodiment, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the call control method in any of the above embodiments is implemented.

[0109] The call control method, application server, communication system and storage medium in the above-mentioned embodiments realize the conversion between encrypted media stream and ordinary media stream through the encryption and decryption processing of the media resource server when making voice calls and conversations between a terminal supporting the voice encryption function and an ordinary mobile terminal, thereby realizing normal voice calls and enhancing the security of the media stream between the terminal with the voice encryption function and the media resource server, improving the quality and security of voice services, and improving the user experience.

[0110] The method and system of the present disclosure may be implemented in many ways. For example, the method and system of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

[0111] The description of the present disclosure is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the present disclosure to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present disclosure, and to enable those of ordinary skill in the art to understand the present disclosure and thereby design various embodiments with various modifications suitable for specific uses.

Claims

1. A call control method, comprising: The application server receives a call message, and determines, based on the call message, that the calling terminal or the called terminal supports a voice encryption function; The application server obtains the session key and sends a notification instruction for obtaining the session key to the calling terminal or the called terminal supporting the voice encryption function; The application server receives key acquisition notification information sent by a calling terminal or a called terminal supporting a voice encryption function, and determines the encryption direction of the media stream; The application server establishes a media stream between the calling terminal and the called terminal and performs media stream encryption and decryption processing based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information; The application server controls the media resource server to establish a media stream between the calling terminal and the called terminal based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information, and the media resource server encrypts and decrypts the media stream.

2. The method according to claim 1, wherein the application server obtains the session key comprising: The application server sends a key acquisition request to the key management server to obtain the session key; The information carried in the key acquisition request includes: session ID, number information of a calling terminal or a called terminal supporting a voice encryption function.

3. The method of claim 2, wherein: The calling terminal supports a voice encryption function; The application server receives a call message, and determines based on the call message that the calling terminal or the called terminal supports the voice encryption function, including: The application server receives the invitation message sent by the calling terminal, and obtains the voice encryption function support indication, session ID, and calling number information carried in the invitation message; The application server determines that the calling terminal supports the voice encryption function based on the voice encryption function support indication.

4. The method according to claim 3, wherein the sending of a notification instruction for obtaining a session key to a calling terminal or a called terminal supporting a voice encryption function comprises: The application server forwards the invitation message to the called terminal; The application server receives a session progress message sent by the called terminal, and obtains a session ID and called number information from the session progress message; The application server adds the session key notification indication to the session progress information, and forwards the session progress information to the calling terminal.

5. The method according to claim 4, wherein the application server receives the key acquisition notification information comprising: The application server receives the update message sent by the calling terminal, and obtains the key acquisition notification information from the update message; After acquiring the session key from the key management server, the calling terminal sends the update message to the application server.

6. The method according to claim 5, wherein the application server establishes a media stream between the calling terminal and the called terminal and performs media stream encryption and decryption processing based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information, comprising: The application server sends media establishment information to the media resource server; wherein the media establishment information includes: the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information; The media resource server receives the encrypted media stream sent from the calling terminal, decrypts it using the session key, and forwards the decrypted media stream to the called terminal; when the media resource server receives the media stream sent from the called terminal, it encrypts it using the session key and forwards the encrypted media stream to the calling terminal.

7. The method of claim 2, wherein: The called terminal supports a voice encryption function; The application server receives a call message, and determines based on the call message that the calling terminal or the called terminal supports the voice encryption function, including: The application server receives the invitation message sent by the calling terminal, and forwards the invitation message to the called terminal; The application server receives a session progress message sent by the called terminal, and obtains an indication of supporting a voice encryption function, a session ID, and called number information from the session progress message; The application server determines, based on the voice encryption function support indication, that the called terminal supports the voice encryption function.

8. The method according to claim 7, wherein the sending of a notification instruction for obtaining a session key to a calling terminal or a called terminal supporting a voice encryption function comprises: The application server forwards the session progress information to the calling terminal; The application server receives the update message sent by the calling terminal, and forwards the update message to the called terminal after adding the session key notification indication; The key acquisition notification information received by the application server includes: The application server receives an update success message sent by the called terminal, and obtains the key acquisition notification information from the update success message; After acquiring the session key from the key management server, the called terminal sends the update success message to the application server.

9. The method of claim 8, further comprising: The media resource server receives the encrypted media stream sent from the called terminal, decrypts it using the session key, and forwards the decrypted media stream to the calling terminal; When the media resource server receives the media stream sent by the calling terminal, it uses the session key to encrypt the media stream and forwards the encrypted media stream to the called terminal.

10. The method according to any one of claims 1 to 9, wherein: The voice encryption function includes: VoLTE voice encryption function; the call message includes: SIP call message; the media stream includes: RTP voice stream.

11. An application server, comprising: An encryption function confirmation module, used for receiving a call message and determining, based on the call message, that a calling terminal or a called terminal supports a voice encryption function; A key notification processing module, used for obtaining a session key and sending a notification instruction for obtaining a session key to a calling terminal or a called terminal supporting a voice encryption function; A key acquisition confirmation module is used to receive key acquisition notification information sent by a calling terminal or a called terminal that supports voice encryption function, and determine the encryption direction of the media stream; A media stream establishment module, used to establish a media stream between the calling terminal and the called terminal and perform media stream encryption and decryption processing based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information; Among them, the media stream establishment module is used to control the media resource server to establish a media stream between the calling terminal and the called terminal based on the session key, the encryption direction, the address information of the calling terminal and the called terminal, and the media stream information, and the media resource server encrypts and decrypts the media stream.

12. The application server according to claim 11, wherein: The key notification processing module is used to send a key acquisition request to the key management server to obtain the session key; wherein the information carried in the key acquisition request includes: session ID, number information of the calling terminal or called terminal that supports the voice encryption function.

13. The application server according to claim 12, wherein: The calling terminal supports a voice encryption function; The encryption function confirmation module is used to receive the invitation message sent by the calling terminal, obtain the voice encryption function support indication carried in the invitation message, as well as the session ID and calling number information; and determine that the calling terminal supports the voice encryption function based on the voice encryption function support indication.

14. The application server according to claim 13, wherein: The key notification processing module is used to forward the invitation message to the called terminal; receive the session progress message sent by the called terminal, obtain the session ID and called number information from the session progress message; add the session key notification indication to the session progress information, and forward the session progress information to the calling terminal.

15. The application server according to claim 14, wherein: The key acquisition confirmation module is used to receive the update message sent by the calling terminal and obtain the key acquisition notification information from the update message; wherein, after the calling terminal obtains the session key from the key management server, it sends the update message to the application server.

16. The application server according to claim 15, wherein: The media stream establishment module is used to send media establishment information to the media resource server; The media establishment information includes: the session key, the encryption direction, address information of the calling terminal and the called terminal, and media stream information.

17. The application server according to claim 13, wherein: The called terminal supports a voice encryption function; The encryption function confirmation module is used to receive the invitation message sent by the calling terminal and forward the invitation message to the called terminal; receive the session progress message sent by the called terminal and obtain the voice encryption function support indication, session ID and called number information from the session progress message; Based on the voice encryption function support indication, it is determined that the called terminal supports the voice encryption function.

18. The application server according to claim 17, wherein: The key notification processing module is used for the application server to forward the session progress information to the calling terminal; receive the update message sent by the calling terminal, and forward the update message to the called terminal after adding the session key notification indication; The key acquisition confirmation module is used to receive the update success message sent by the called terminal and obtain the key acquisition notification information from the update success message; wherein, after the called terminal obtains the session key from the key management server, it sends the update success message to the application server.

19. An application server, comprising: Memory; and a processor coupled to the memory, wherein the processor is configured to execute the method according to any one of claims 1 to 10 based on instructions stored in the memory.

20. A communication system comprising: An application server as claimed in any one of claims 11 to 19.

21. The communication system of claim 20, further comprising: Key management server and media resource server; The media resource server is used to receive an encrypted media stream sent from a calling terminal or a called terminal, decrypt it using the session key, and forward the decrypted media stream to the called terminal or the calling terminal; when receiving a media stream sent from the called terminal or the calling terminal, encrypt it using the session key, and forward the encrypted media stream to the calling terminal or the called terminal.

22. A computer-readable storage medium storing computer instructions, wherein the instructions are executed by a processor to execute the method according to any one of claims 1 to 10.