[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106612248A - Terminal session method and device - Google Patents

Terminal session method and device Download PDF

Info

Publication number
CN106612248A
CN106612248A CN201510688286.1A CN201510688286A CN106612248A CN 106612248 A CN106612248 A CN 106612248A CN 201510688286 A CN201510688286 A CN 201510688286A CN 106612248 A CN106612248 A CN 106612248A
Authority
CN
China
Prior art keywords
sip message
ims network
call
function entity
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201510688286.1A
Other languages
Chinese (zh)
Inventor
钱猛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen ZTE Microelectronics Technology Co Ltd
Original Assignee
Shenzhen ZTE Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen ZTE Microelectronics Technology Co Ltd filed Critical Shenzhen ZTE Microelectronics Technology Co Ltd
Priority to CN201510688286.1A priority Critical patent/CN106612248A/en
Priority to PCT/CN2016/098309 priority patent/WO2017067343A1/en
Publication of CN106612248A publication Critical patent/CN106612248A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a terminal session method. The method comprises steps: according to a received first AT (ATtention) command sent by a calling application function entity, a corresponding first SIP (Session Initiation Protocol) message is sent to an IP multimedia subsystem (IMS) network; and according to a received second SIP message sent by the IMS network, a corresponding second AT command is sent to the calling application function entity. The embodiment of the invention discloses a calling control service function entity and a terminal.

Description

Terminal session method and device
Technical Field
The present invention relates to the field of Voice over Long term evolution (VoLTE) based Voice services, and in particular, to a method and an apparatus for a session of a terminal.
Background
With the rapid development of Long Term Evolution (LTE) networks, IP Multimedia Subsystem (IMS) networks are also being gradually improved, the commercial process of VoLTE is gradually accelerated, and fixed network products will be gradually replaced.
In 2G/3G networks, the existing call application of a terminal performs operations such as call initiation flow, state acquisition, etc. via AT (attention) commands, which are a modem command language. The call flow of VoLTE is performed through an IMS/Session Initiation Protocol (SIP) signaling, and the IMS/SIP stack does not provide an AT command Interface, but provides an Application Programming Interface (API) Interface or a Message Interface; in order to enable the terminal to perform VoLTE call flow, a solution in the prior art is to re-develop a VoLTE call application to adapt to VoLTE IMS/SIP signaling. The newly developed VoLTE call application program needs to make more modifications on the call application program already applied in the terminal and introduce partial influence on other associated software modules, and the total modification workload is large, so that the call function suitable for VoLTE in the terminal cannot be quickly developed.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a terminal session method and apparatus, which can quickly develop a call function applicable to VoLTE in a terminal without changing an existing call control application program in the terminal.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a session method of a terminal, the method comprising:
according to a received first AT command sent by a call application function entity, sending a corresponding first SIP message to an IP multimedia subsystem IMS network;
and sending a corresponding second AT command to the call application function entity according to the received second SIP message sent by the IMS network.
In the foregoing solution, the sending a corresponding first SIP message to an IP multimedia subsystem IMS network according to a received first AT command sent by a call application function entity includes:
sending a call request SIP message to the IMS network according to the received call AT command sent by the call application function entity;
sending a third confirmation SIP message for determining that the call request SIP message is processed successfully to the IMS network according to a received answering notification AT command sent by the call application function entity;
and sending a call ending notification SIP message to the IMS network according to the received call ending notification AT command sent by the call application function entity.
In the foregoing solution, the sending a corresponding second AT command to the call application function entity according to the received second SIP message sent by the IMS network includes:
according to the received SIP message in call processing sent by the IMS network, sending an AT command in call processing to the call application function entity;
sending a session process notification (AT) command to the call application function entity according to the received session process notification (SIP) message sent by the IMS network;
sending a ringing notification AT command to the calling application function entity according to the received ringing notification SIP message sent by the IMS network;
sending a connection indication AT command to the call application function entity according to the received third confirmation SIP message sent by the IMS network;
according to the received command correct response SIP message sent by the IMS network, sending an AT command of answering success to the call application function entity;
sending a call ending notification (AT) command to the call application function entity according to the received call ending notification (SIP) message sent by the IMS network;
and sending a hangup success AT command to the call application function entity according to a fourth confirmation SIP message corresponding to the call termination notification SIP message sent by the IMS network.
In the above solution, after receiving the state notification SIP message sent by the IMS network, the method further includes:
after receiving a session process notification SIP message sent by the IMS network, sending a first temporary confirmation SIP message to the IMS network, and receiving a first confirmation SIP message corresponding to the first temporary confirmation SIP message returned by the IMS network; the first temporary acknowledgement SIP message is used for notifying that the session progress notification SIP message is received;
after receiving a ringing notification SIP message sent by the IMS network, sending a second temporary acknowledgement SIP message to the IMS network, and receiving a second acknowledgement SIP message corresponding to the second temporary acknowledgement SIP message returned by the IMS network; the second temporary acknowledgement SIP message is used to notify that the ringing notification SIP message has been received;
after receiving a third confirmation SIP message sent by the IMS network, sending a command correct response SIP message to the IMS network;
and after receiving the call ending notification SIP message sent by the IMS network, feeding back a fourth confirmation SIP message corresponding to the call ending notification SIP message to the IMS network.
In the above scheme, the method further comprises:
receiving a call request SIP message sent by the IMS network, and sending a SIP message in call processing to the IMS network;
sending a session progress notification SIP message to the IMS network, receiving a first temporary confirmation SIP message sent by the IMS network, and returning a first confirmation SIP message corresponding to the first temporary confirmation SIP message to the IMS network; the first temporary acknowledgement SIP message is used for notifying that the session progress notification SIP message is received;
sending a ringing notification SIP message to the IMS network, receiving a second temporary confirmation SIP message sent by the IMS network, and returning a second confirmation SIP message corresponding to the second temporary confirmation SIP message to the IMS network; the second temporary acknowledgement SIP message is used to notify that the ringing notification SIP message has been received.
In the foregoing solution, after the returning of the second SIP message corresponding to the second temporary SIP message to the IMS network, the method further includes:
and sending an incoming call notification (AT) command to the calling application function entity.
In the foregoing solution, when the call request SIP message is sent to the IMS network, the method further includes:
and replying a confirmation AT command to the calling application function entity.
A call control service function entity, comprising:
the first sending module is used for sending a corresponding first SIP message to an IP Multimedia Subsystem (IMS) network according to a received first AT command sent by a call application function entity;
and the second sending module is used for sending a corresponding second AT command to the call application function entity according to the received second SIP message sent by the IMS network.
In the foregoing solution, the first sending module includes: a first message adaptation forwarding unit;
the first message adaptation forwarding unit is configured to send a call request SIP message to the IMS network according to the received call AT command sent by the call application function entity; sending a third confirmation SIP message for determining that the call request SIP message is processed successfully to the IMS network according to a received answering notification AT command sent by the call application function entity; and sending a call ending notification SIP message to the IMS network according to the received call ending notification AT command sent by the call application function entity.
In the foregoing solution, the second sending module includes: a second message adaptation forwarding unit;
the second message adaptation forwarding unit is configured to send an in-call processing AT command to the call application function entity according to the received in-call processing SIP message sent by the IMS network; sending a session process notification (AT) command to the call application function entity according to the received session process notification (SIP) message sent by the IMS network; sending a ringing notification AT command to the calling application function entity according to the received ringing notification SIP message sent by the IMS network; sending a connection indication AT command to the call application function entity according to the received third confirmation SIP message sent by the IMS network; according to the received command correct response SIP message sent by the IMS network, sending an AT command of answering success to the call application function entity; sending a call ending notification (AT) command to the call application function entity according to the received call ending notification (SIP) message sent by the IMS network; and sending a hangup success AT command to the call application function entity according to a fourth confirmation SIP message corresponding to the call termination notification SIP message sent by the IMS network.
In the foregoing solution, the second sending module further includes: a message feedback unit and a confirmation receiving unit;
the message feedback unit is configured to send a first temporary acknowledgement SIP message to the IMS network after receiving a session progress notification SIP message sent by the IMS network, where the first temporary acknowledgement SIP message is used to notify that the session progress notification SIP message has been received; after receiving a ringing notification SIP message sent by the IMS network, sending a second temporary acknowledgement SIP message to the IMS network, wherein the second temporary acknowledgement SIP message is used for notifying that the ringing notification SIP message is received; after receiving a third confirmation SIP message sent by the IMS network, sending a command correct response SIP message to the IMS network; after receiving a call termination notification SIP message sent by the IMS network, feeding back a fourth confirmation SIP message corresponding to the call termination notification SIP message to the IMS network;
the acknowledgement receiving unit is configured to receive a first acknowledgement SIP message corresponding to the first temporary acknowledgement SIP message returned by the IMS network; and receiving a second SIP confirmation message corresponding to the second temporary SIP confirmation message returned by the IMS network.
In the above solution, the second sending module further includes a message receiving unit and a message sending unit,
the message receiving unit is used for receiving a call request SIP message sent by the IMS network; receiving a first temporary acknowledgement (SIP) message sent by the IMS network; the first temporary acknowledgement SIP message is used for notifying that the session progress notification SIP message is received; receiving a second temporary acknowledgement SIP message sent by the IMS network; the second temporary acknowledgement SIP message is used to notify that the ringing notification SIP message has been received;
the message sending unit is configured to send a SIP message in call processing to the IMS network after the message receiving unit receives the SIP message; and sending a session progress notification SIP message to the IMS network; after the message receiving unit receives the first temporary acknowledgement SIP message, returning a first acknowledgement SIP message corresponding to the first temporary acknowledgement SIP message to the IMS network; and sending a ring notification SIP message to the IMS network; and after the message receiving unit receives the second temporary confirmation SIP message, returning a second confirmation SIP message corresponding to the second temporary confirmation SIP message to the IMS network.
In the above solution, the second sending module further includes an incoming call notification sending unit,
the incoming call notification sending unit is further configured to send an incoming call notification AT command to the call application function entity after the message sending unit returns a second SIP acknowledgement message corresponding to the second SIP temporary acknowledgement message to the IMS network.
In the foregoing solution, the first sending module further includes: a message reply unit;
the message replying unit is configured to reply an AT confirmation command to the call application function entity when the first message adaptation forwarding unit sends a call request SIP message to the IMS network.
A terminal, said terminal includes the above-mentioned call control service function entity and call application function entity;
the call application function entity is used for sending a first AT command to the call control service function entity;
the call control service function entity is used for sending a corresponding first SIP message to an IP Multimedia Subsystem (IMS) network according to a received first AT command sent by the call application function entity; sending a corresponding second AT command to the call application function entity according to a received second SIP message sent by the IMS network;
the call application function entity is configured to receive the second AT command sent by the call control service function entity.
The embodiment of the invention provides a terminal session method and a device, wherein a call application function entity sends an AT command according to an existing call application program, and a call control service function entity sends a corresponding first SIP message to an IMS network after receiving a first AT command sent by the call application function entity; and after receiving a second SIP message sent by the IMS network, returning a corresponding second AT command to the calling application function entity. Thus, the call control service function entity performs adaptive conversion of AT command and IMS/SIP message between the call application function entity and the IMS network, and can still apply the existing call application function entity and use the existing call application program to initiate the call flow. In the embodiment of the invention, only one calling control service function entity is required to be added in the calling terminal, and the others do not need to be changed, so that the calling function suitable for VoLTE in the calling terminal can be quickly developed.
Drawings
Fig. 1 is a schematic flowchart of a session method of a terminal according to embodiment 1 of the present invention;
fig. 2 is a schematic flowchart of a session method of a terminal according to embodiment 2 of the present invention;
fig. 3 is a flowchart illustrating a session termination method of a terminal according to embodiment 2 of the present invention;
fig. 4 is a block diagram of a call control service functional entity on a terminal according to embodiment 3 of the present invention;
fig. 5 is a block diagram of a terminal according to embodiment 4 of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Example 1
An embodiment of the present invention provides a session method for a terminal, and as shown in fig. 1, a processing flow of the method of the present embodiment includes the following steps:
step 101, according to the received first AT command sent by the call application function entity, sending a corresponding first SIP message to the IP multimedia subsystem IMS network.
The terminal in this embodiment is applied to a call application program used in a 2G/3G network, and a calling terminal may use an original call application function entity to send various AT commands to initiate a call flow, and the terminal in this embodiment is additionally provided with a call control service function entity, where the various AT commands are received by the call control service function entity, and after receiving various first AT commands, the call control service function entity sends corresponding first SIP messages to an IMS network according to the received first AT commands.
And step 102, sending a corresponding second AT command to the call application function entity according to the received second SIP message sent by the IMS network.
And after receiving the second SIP message sent by the IMS network, the call control service functional entity also sends a corresponding second AT command to the call application functional entity according to the received second SIP message sent by the IMS network.
Thus, the call control service function entity performs adaptive conversion of AT command and IMS/SIP message between the call application function entity and the IMS network, and can still apply the existing call application function entity and use the existing call application program to initiate the call flow. In the embodiment of the invention, only one call control service function entity is required to be added in the terminal, and the others do not need to be changed, so that the call function suitable for VoLTE in the terminal can be quickly developed.
Examples 2,
The embodiment of the invention provides a terminal session method, which is completed by a call system consisting of a first terminal and a second terminal, wherein the first terminal and the second terminal both comprise a call application function entity and a call control service function entity, for the purpose of distinguishing, the first terminal is named as a first call application function entity and a first call control service function entity, and the second terminal is named as a second call application function entity and a second call control service function entity.
Taking the first terminal as the calling terminal and the second terminal as the called terminal for example, as shown in fig. 2, the processing flow of the method of this embodiment includes the following steps:
step 201, the first call control service functional entity receives a call AT command sent by the first call application functional entity.
When the user of the first terminal dials to make a call to the second terminal, the first call application function entity on the first terminal sends a call AT command, here illustrated as a dial-up (ATD) command, which may be, for example, ATD15551234, to the first call control service function entity, where the format of the ATD command indicates the number of the requested call 15551234.
Step 202, the first call control service function entity confirms the AT command to the first call application function.
The confirm AT command, i.e. an OK command, is used to notify the first call application function entity that the first call control service function entity has received the call AT command.
Step 203, the first call control service function entity sends a call request SIP message to the IMS network according to the received call AT command sent by the first call application function entity, and the IMS network forwards the call request SIP message to the second call control service function entity.
After receiving the call AT command sent by the first call application function entity, the first call control service function entity knows that the first terminal starts to dial to call other terminals, and AT this time, while replying the confirm AT command, the first call control service function entity calls an API/Message interface to send a call request SIP Message to the IMS network. And the IMS network searches out the second terminal after receiving the call request SIP message and forwards the call request SIP message to a second call control service function entity of the second terminal. The call request SIP message described herein may be an INVITE request message.
Step 204, the second call control service function entity sends the SIP message in call processing to the IMS network, and the IMS network forwards the SIP message in call processing to the first call control service function entity.
After receiving the call request SIP message, the second call control service functional entity of the second terminal sends a SIP message in call processing (the SIP message in call processing may be a 100Trying message, and the 100Trying message is a kind of SIP message) to the IMS network, and the IMS network forwards the SIP message in call processing to the first call control service functional entity of the first terminal.
Step 205, the first call control service functional entity sends an in-call processing AT command to the call application functional entity according to the received in-call processing SIP message sent by the IMS network.
The AT command in the call processing may be ORIG (ORIG is one AT command in the AT command set). And the AT command in the call processing is used for informing the first call application function entity that the second terminal is in the call processing.
Step 206, the second call control service function entity sends a session process notification SIP message to the IMS network, and the IMS network forwards the session process notification SIP message to the first call control service function entity.
The second call control service function entity of the second terminal sends a Session Progress notification SIP message to the IMS network, where the Session Progress notification SIP message may be a 183 Session Progress (Session Progress) message, and the 183 Session Progress message is an SIP message and is used to describe Progress information for establishing a Session.
After receiving the session process notification SIP message, the IMS network forwards the session process notification SIP message to the first call control service functional entity, and the first call control service functional entity receives the session process notification SIP message sent by the IMS network.
Step 207, the first call control service functional entity sends a session process notification AT command to the call application functional entity according to the received session process notification SIP message sent by the IMS network.
The session progress notify AT command may be + ZCPI (+ ZCPI is an AT command in the AT command set). And the session process notification AT command is used for notifying the first call application function entity of the progress information of session establishment of the second terminal.
Step 208, after receiving the session process notification SIP message sent by the IMS network, the first call control service function entity sends a first temporary acknowledgement SIP message to the IMS network, and the IMS network forwards the first temporary acknowledgement SIP message to the second call control service function entity.
After receiving the session process notification SIP message sent by the IMS network, the first call control service functional entity also sends a first temporary acknowledgement SIP message to the IMS network, where the first temporary acknowledgement SIP message may be a PRACK message, and the PRACK message is an SIP message and is a temporary acknowledgement message; the first temporary acknowledgement SIP message is for notifying that the session progress notification SIP message has been received.
After receiving the first temporary acknowledgement SIP message, the IMS network forwards the first temporary acknowledgement SIP message to the second call control service function entity; and the second call control service function entity receives a first temporary confirmation SIP message sent by the IMS network.
Step 209, the second call control service function entity returns a first SIP acknowledgement message corresponding to the first temporary SIP acknowledgement message to the IMS network, and the IMS network forwards the first SIP acknowledgement message to the first call control service function entity.
In this embodiment, the first SIP message may be a 200OK message, which also belongs to the SIP message, and the 200OK message is used to indicate that the 183 flow is completed.
Step 210, the second call control service function entity sends a ring notification SIP message to the IMS network, and the IMS network forwards the ring notification SIP message to the first call control service function entity.
After the second terminal rings, the second call control service function entity of the second terminal sends a ring notification SIP message to the IMS network, where in this embodiment, the ring notification SIP message may be a 180Ringing message, and the 180Ringing message user notifies that the second terminal is Ringing.
After receiving the ringing notification SIP message, the IMS network forwards the ringing notification SIP message to a first call control service function entity, where the first call control service function entity receives the ringing notification SIP message
Step 211, the first call control service functional entity sends a ringing notification AT command to the call application functional entity according to the received ringing notification SIP message sent by the IMS network.
The ring notification AT command may be a CONF/+ ZCPI/DSCI instruction. The ringing notification AT command is used to inform the first call application function entity that the second terminal has rung.
Step 212, after receiving the ring notification SIP message sent by the IMS network, the first call control service function entity sends a second temporary acknowledgement SIP message to the IMS network, and the IMS network forwards the second temporary acknowledgement SIP message to the second call control service function entity.
In this embodiment, the second temporary acknowledgement SIP message may be a PRACK message, and the second temporary acknowledgement SIP message is used to notify that the first terminal has received the ringing notification SIP message.
After receiving the second temporary acknowledgement SIP message, the IMS network forwards the second temporary acknowledgement SIP message to a second call control service function entity, and the second call control service function entity receives the second temporary acknowledgement SIP message sent by the IMS network.
Step 213, the second call control service function entity returns a second SIP acknowledgement message corresponding to the second temporary SIP acknowledgement message to the IMS network, and the IMS network forwards the second SIP acknowledgement message to the first call control service function entity.
In this embodiment, the second SIP message may be a 200OK message, which also belongs to the SIP message, and the 200OK message is used to indicate that the 180 procedure is completed.
After receiving the second SIP message, the IMS network forwards the second SIP message to the first call control service function entity, and the first call control service function entity receives a second SIP message corresponding to the second temporary SIP message returned by the IMS network.
Step 214, the second call control service functional entity sends an incoming call notification AT command to the second call application functional entity.
And after the second call control service functional entity returns a second SIP confirmation message corresponding to the second temporary SIP confirmation message to the IMS network, the second call control service functional entity sends an incoming call notification (AT) command to the second call application functional entity.
After the second call control service functional entity returns a second SIP message to the IMS network, that is, after the 180 procedure is completed, the second call control service functional entity sends an incoming call notification AT command to the second call application functional entity, where the incoming call notification AT command may be RING/+ ZCPI/+ CLIP/DSCI, and the RING/+ ZCPI/+ CLIP/DSCI belongs to the AT command.
Step 215, the second call control service function entity receives the answer notification AT command sent by the second call application function entity.
After receiving the AT call notification command, the second call control service functional entity sends an AT answer notification command to the second call control service functional entity if the call is connected, where the AT answer notification command may be an AT answer (ATA) command.
Step 216, the second call control service functional entity sends a third SIP acknowledgement message to the IMS network according to the received AT answer notification command sent by the call application functional entity, and the IMS network forwards the third SIP acknowledgement message to the first call control service functional entity.
In this embodiment, the third SIP message may be a 200OK message, which is used to notify that the call request SIP message has been successfully processed, i.e. the second terminal has connected the call.
After receiving the third SIP message, the IMS network forwards the third SIP message to the first call control service functional entity, and the first call control service functional entity receives the third SIP message sent by the IMS network.
Step 217, the first call control service functional entity sends a connection indication AT command to the first call application functional entity according to the received third SIP message sent by the IMS network.
The on indication AT command may be a CONN/DSCI instruction.
Step 218, after receiving the third SIP message sent by the IMS network, the first call control service function entity sends a command correct response SIP message to the IMS network, and the IMS network forwards the command correct response SIP message to the second call control service function entity.
In this embodiment, the SIP message for instructing correct response may be an ACK message, which is used to notify the first terminal that the second terminal has connected the call.
Step 219, the second call control service functional entity correctly responds to the SIP message according to the received command sent by the IMS network, and sends an AT answering command to the call application functional entity.
To this end, the first terminal and the second terminal may perform a session.
After the call is ended, the first terminal may actively end the session, or the second terminal may actively end the session, and the following description takes the first terminal actively ending the session as an example, and the session ending process is shown in fig. 3, and includes the following steps:
step 301, the first call control service functional entity receives a call termination notification AT command sent by the first call application functional entity.
In this embodiment, the AT command for notifying the end of call may be ATH/CHUP/CHLD, and the ATH/CHUP/CHLD is a kind of AT command.
Step 302, the first call control service functional entity sends a call termination notification SIP message to the IMS network according to the received call termination notification AT command sent by the call application functional entity, and the IMS network sends the call termination notification SIP message to the second call control service functional entity.
In this embodiment, the SIP message for notifying of call ending may be a BYE message, and the BYE message is an SIP message. After receiving the call termination notification SIP message, the IMS network sends the call termination notification SIP message to a second call control service functional entity, and the second call control service functional entity receives the call termination notification SIP message sent by the IMS network.
And step 303, the second call control service functional entity sends an AT end call notification command to the call application functional entity according to the received SIP message for end call notification sent by the IMS network.
After receiving the SIP message, the second call control service functional entity learns that the first terminal has ended the call, and the second call control service functional entity sends an AT command for notifying the second call application functional entity of the end of the call, so as to notify the second call application functional entity of the end of the call.
Step 304, after receiving the call termination notification SIP message sent by the IMS network, the second call control service function entity feeds back a fourth SIP acknowledgement message corresponding to the call termination notification SIP message to the IMS network, and the IMS network forwards the fourth SIP acknowledgement message to the first call control service function entity.
In this embodiment, the fourth SIP acknowledgement message may be a 200OK message, which is used to indicate that the SIP message is completed after the call completion notification message is received.
Step 305, the first call control service functional entity sends a hangup success AT command to the call application functional entity according to the received fourth confirmation SIP message corresponding to the call termination notification SIP message sent by the IMS network.
And the first call control service functional entity can know that the second terminal is hung up after receiving the fourth SIP confirmation message, and the first call control service functional entity sends a hang-up success AT command to the first call application functional entity to inform the second call application functional entity of successful hang-up.
Of course, the first terminal may also be used as a called terminal, and the second terminal may also be used as a calling terminal, and the specific process refers to the above steps. When the first terminal is used as a calling terminal, a first call control service function entity in the first terminal executes the corresponding steps described above; when the first terminal is used as a called terminal, a first call control service function entity in the first terminal correspondingly executes the step executed by the second call control service function entity in the above steps.
Example 3
An embodiment of the present invention provides a call control service function entity, as shown in fig. 4, where the call control service function entity includes: a first transmission module 401 and a second transmission module 402, wherein,
a first sending module 401, configured to send a corresponding first SIP message to an IP multimedia subsystem IMS network according to a received first AT command sent by a call application function entity;
a second sending module 402, configured to send a corresponding second AT command to the call application function entity according to the received second SIP message sent by the IMS network.
Optionally, as shown in fig. 4, the first sending module 401 includes: a first message adaptation forwarding unit 4011;
the first message adapting and forwarding unit 4011 is configured to send a call request SIP message to the IMS network according to the received call AT command sent by the call application function entity; sending a third confirmation SIP message for determining that the call request SIP message is processed successfully to the IMS network according to a received answering notification AT command sent by the call application function entity; and sending a call ending notification SIP message to the IMS network according to the received call ending notification AT command sent by the call application function entity.
Optionally, as shown in fig. 4, the second sending module 402 includes: a second message adaptation forwarding unit 4021;
the second message adapting and forwarding unit 4021 is configured to send an in-call processing AT command to the call application function entity according to the received in-call processing SIP message sent by the IMS network; sending a session process notification (AT) command to the call application function entity according to the received session process notification (SIP) message sent by the IMS network; sending a ringing notification AT command to the calling application function entity according to the received ringing notification SIP message sent by the IMS network; sending a connection indication AT command to the call application function entity according to the received third confirmation SIP message sent by the IMS network; according to the received command correct response SIP message sent by the IMS network, sending an AT command of answering success to the call application function entity; sending a call ending notification (AT) command to the call application function entity according to the received call ending notification (SIP) message sent by the IMS network; and sending a hangup success AT command to the call application function entity according to a fourth confirmation SIP message corresponding to the call termination notification SIP message sent by the IMS network.
As shown in fig. 4, the second sending module 402 further includes: a message feedback unit 4022 and an acknowledgement receiving unit 4023;
the message feedback unit 4022 is configured to send a first temporary acknowledgement SIP message to the IMS network after receiving a session progress notification SIP message sent by the IMS network, where the first temporary acknowledgement SIP message is used to notify that the session progress notification SIP message has been received; after receiving a ringing notification SIP message sent by the IMS network, sending a second temporary acknowledgement SIP message to the IMS network, wherein the second temporary acknowledgement SIP message is used for notifying that the ringing notification SIP message is received; after receiving a third confirmation SIP message sent by the IMS network, sending a command correct response SIP message to the IMS network; after receiving a call termination notification SIP message sent by the IMS network, feeding back a fourth confirmation SIP message corresponding to the call termination notification SIP message to the IMS network;
the acknowledgement receiving unit is configured to receive a first acknowledgement SIP message corresponding to the first temporary acknowledgement SIP message returned by the IMS network; and receiving a second SIP confirmation message corresponding to the second temporary SIP confirmation message returned by the IMS network.
As shown in fig. 4, the second sending module further includes a message receiving unit 4024 and a message sending unit 4025,
the message receiving unit 4024 is configured to receive a call request SIP message sent by the IMS network; receiving a first temporary acknowledgement (SIP) message sent by the IMS network; the first temporary acknowledgement SIP message is used for notifying that the session progress notification SIP message is received; receiving a second temporary acknowledgement SIP message sent by the IMS network; the second temporary acknowledgement SIP message is used to notify that the ringing notification SIP message has been received;
the message sending unit 4025 is configured to send a SIP message in call processing to the IMS network after the message receiving unit 4024 receives the call request SIP message; and sending a session progress notification SIP message to the IMS network; after the message receiving unit 4024 receives the first temporary acknowledgement SIP message, it returns a first acknowledgement SIP message corresponding to the first temporary acknowledgement SIP message to the IMS network; and sending a ring notification SIP message to the IMS network; after the message receiving unit 4024 receives the second temporary SIP message, it returns a second SIP message corresponding to the second temporary SIP message to the IMS network.
As shown in fig. 4, the second sending module 402 further includes an incoming call notification sending unit 4026,
the incoming call notification sending unit 4026 is further configured to send an incoming call notification AT command to the call application function entity after the message sending unit 4025 returns a second SIP acknowledgement message corresponding to the second SIP temporary acknowledgement message to the IMS network.
The first sending module 401 further includes: the message reply unit 4012; the message replying unit 4012 is configured to reply an AT confirmation command to the call application function entity when the first message adaptation forwarding unit 4011 sends a call request SIP message to the IMS network.
In practical applications, the first sending module 401 and the second sending module 402 described in this embodiment may be implemented by a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a modem, and other devices on the terminal.
Examples 4,
An embodiment of the present invention further provides a terminal, as shown in fig. 5, where the terminal includes a call control service functional entity 501 and a call application functional entity 502 described in embodiment 3; wherein,
the call application function entity 502 is configured to send a first AT command to the call control service function entity 501;
the call control service functional entity 501 is configured to send a corresponding first SIP message to an IP multimedia subsystem IMS network according to a received first AT command sent by the call application functional entity 502; and sends a corresponding second AT command to the call application function entity 502 according to the received second SIP message sent by the IMS network;
the call application function entity 502 is configured to receive the second AT command sent by the call control service function entity 501.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (15)

1. A session method of a terminal, the method comprising:
according to a received first AT command sent by a call application function entity, sending a corresponding first SIP message to an IP multimedia subsystem IMS network;
and sending a corresponding second AT command to the call application function entity according to the received second SIP message sent by the IMS network.
2. The method of claim 1, wherein the sending a corresponding first SIP message to an IP multimedia subsystem, IMS, network according to the received first AT command sent by the call application function entity comprises:
sending a call request SIP message to the IMS network according to the received call AT command sent by the call application function entity;
sending a third confirmation SIP message for determining that the call request SIP message is processed successfully to the IMS network according to a received answering notification AT command sent by the call application function entity;
and sending a call ending notification SIP message to the IMS network according to the received call ending notification AT command sent by the call application function entity.
3. The method of claim 1, wherein the sending a corresponding second AT command to the call application function entity according to the received second SIP message sent by the IMS network comprises:
according to the received SIP message in call processing sent by the IMS network, sending an AT command in call processing to the call application function entity;
sending a session process notification (AT) command to the call application function entity according to the received session process notification (SIP) message sent by the IMS network;
sending a ringing notification AT command to the calling application function entity according to the received ringing notification SIP message sent by the IMS network;
sending a connection indication AT command to the call application function entity according to the received third confirmation SIP message sent by the IMS network;
according to the received command correct response SIP message sent by the IMS network, sending an AT command of answering success to the call application function entity;
sending a call ending notification (AT) command to the call application function entity according to the received call ending notification (SIP) message sent by the IMS network;
and sending a hangup success AT command to the call application function entity according to a fourth confirmation SIP message corresponding to the call termination notification SIP message sent by the IMS network.
4. The method of claim 3, wherein after receiving the state notification SIP message sent by the IMS network, the method further comprises:
after receiving a session process notification SIP message sent by the IMS network, sending a first temporary confirmation SIP message to the IMS network, and receiving a first confirmation SIP message corresponding to the first temporary confirmation SIP message returned by the IMS network; the first temporary acknowledgement SIP message is used for notifying that the session progress notification SIP message is received;
after receiving a ringing notification SIP message sent by the IMS network, sending a second temporary acknowledgement SIP message to the IMS network, and receiving a second acknowledgement SIP message corresponding to the second temporary acknowledgement SIP message returned by the IMS network; the second temporary acknowledgement SIP message is used to notify that the ringing notification SIP message has been received;
after receiving a third confirmation SIP message sent by the IMS network, sending a command correct response SIP message to the IMS network;
and after receiving the call ending notification SIP message sent by the IMS network, feeding back a fourth confirmation SIP message corresponding to the call ending notification SIP message to the IMS network.
5. The method of claim 3, further comprising:
receiving a call request SIP message sent by the IMS network, and sending a SIP message in call processing to the IMS network;
sending a session progress notification SIP message to the IMS network, receiving a first temporary confirmation SIP message sent by the IMS network, and returning a first confirmation SIP message corresponding to the first temporary confirmation SIP message to the IMS network; the first temporary acknowledgement SIP message is used for notifying that the session progress notification SIP message is received;
sending a ringing notification SIP message to the IMS network, receiving a second temporary confirmation SIP message sent by the IMS network, and returning a second confirmation SIP message corresponding to the second temporary confirmation SIP message to the IMS network; the second temporary acknowledgement SIP message is used to notify that the ringing notification SIP message has been received.
6. The method of claim 5, wherein after the returning a second SIP message corresponding to the second temporary SIP message to the IMS network, the method further comprises:
and sending an incoming call notification (AT) command to the calling application function entity.
7. The method of claim 2, wherein when the call request (SIP) message is sent to the IMS network, the method further comprises:
and replying a confirmation AT command to the calling application function entity.
8. A call control service function entity, comprising:
the first sending module is used for sending a corresponding first SIP message to an IP Multimedia Subsystem (IMS) network according to a received first AT command sent by a call application function entity;
and the second sending module is used for sending a corresponding second AT command to the call application function entity according to the received second SIP message sent by the IMS network.
9. The call control service function entity of claim 8, wherein the first sending module comprises: a first message adaptation forwarding unit;
the first message adaptation forwarding unit is configured to send a call request SIP message to the IMS network according to the received call AT command sent by the call application function entity; sending a third confirmation SIP message for determining that the call request SIP message is processed successfully to the IMS network according to a received answering notification AT command sent by the call application function entity; and sending a call ending notification SIP message to the IMS network according to the received call ending notification AT command sent by the call application function entity.
10. The call control service function entity of claim 8, wherein the second sending module comprises: a second message adaptation forwarding unit;
the second message adaptation forwarding unit is configured to send an in-call processing AT command to the call application function entity according to the received in-call processing SIP message sent by the IMS network; sending a session process notification (AT) command to the call application function entity according to the received session process notification (SIP) message sent by the IMS network; sending a ringing notification AT command to the calling application function entity according to the received ringing notification SIP message sent by the IMS network; sending a connection indication AT command to the call application function entity according to the received third confirmation SIP message sent by the IMS network; according to the received command correct response SIP message sent by the IMS network, sending an AT command of answering success to the call application function entity; sending a call ending notification (AT) command to the call application function entity according to the received call ending notification (SIP) message sent by the IMS network; and sending a hangup success AT command to the call application function entity according to a fourth confirmation SIP message corresponding to the call termination notification SIP message sent by the IMS network.
11. The call control service function entity of claim 10, wherein the second sending module further comprises: a message feedback unit and a confirmation receiving unit;
the message feedback unit is configured to send a first temporary acknowledgement SIP message to the IMS network after receiving a session progress notification SIP message sent by the IMS network, where the first temporary acknowledgement SIP message is used to notify that the session progress notification SIP message has been received; after receiving a ringing notification SIP message sent by the IMS network, sending a second temporary acknowledgement SIP message to the IMS network, wherein the second temporary acknowledgement SIP message is used for notifying that the ringing notification SIP message is received; after receiving a third confirmation SIP message sent by the IMS network, sending a command correct response SIP message to the IMS network; after receiving a call termination notification SIP message sent by the IMS network, feeding back a fourth confirmation SIP message corresponding to the call termination notification SIP message to the IMS network;
the acknowledgement receiving unit is configured to receive a first acknowledgement SIP message corresponding to the first temporary acknowledgement SIP message returned by the IMS network; and receiving a second SIP confirmation message corresponding to the second temporary SIP confirmation message returned by the IMS network.
12. The call control service function entity of claim 10, wherein the second sending module further comprises a message receiving unit and a message sending unit,
the message receiving unit is used for receiving a call request SIP message sent by the IMS network; receiving a first temporary acknowledgement (SIP) message sent by the IMS network; the first temporary acknowledgement SIP message is used for notifying that the session progress notification SIP message is received; receiving a second temporary acknowledgement SIP message sent by the IMS network; the second temporary acknowledgement SIP message is used to notify that the ringing notification SIP message has been received;
the message sending unit is configured to send a SIP message in call processing to the IMS network after the message receiving unit receives the SIP message; and sending a session progress notification SIP message to the IMS network; after the message receiving unit receives the first temporary acknowledgement SIP message, returning a first acknowledgement SIP message corresponding to the first temporary acknowledgement SIP message to the IMS network; and sending a ring notification SIP message to the IMS network; and after the message receiving unit receives the second temporary confirmation SIP message, returning a second confirmation SIP message corresponding to the second temporary confirmation SIP message to the IMS network.
13. The entity of claim 12, wherein the second sending module further comprises an incoming call notification sending unit,
the incoming call notification sending unit is further configured to send an incoming call notification AT command to the call application function entity after the message sending unit returns a second SIP acknowledgement message corresponding to the second SIP temporary acknowledgement message to the IMS network.
14. The call control service function entity of claim 9, wherein the first sending module further comprises: a message reply unit;
the message replying unit is configured to reply an AT confirmation command to the call application function entity when the first message adaptation forwarding unit sends a call request SIP message to the IMS network.
15. A terminal, characterized in that the terminal comprises a call control service function entity according to any of claims 8-14, and a call application function entity;
the call application function entity is used for sending a first AT command to the call control service function entity;
the call control service function entity is used for sending a corresponding first SIP message to an IP Multimedia Subsystem (IMS) network according to a received first AT command sent by the call application function entity; sending a corresponding second AT command to the call application function entity according to a received second SIP message sent by the IMS network;
the call application function entity is configured to receive the second AT command sent by the call control service function entity.
CN201510688286.1A 2015-10-21 2015-10-21 Terminal session method and device Withdrawn CN106612248A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510688286.1A CN106612248A (en) 2015-10-21 2015-10-21 Terminal session method and device
PCT/CN2016/098309 WO2017067343A1 (en) 2015-10-21 2016-09-07 Session method and apparatus of terminal, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510688286.1A CN106612248A (en) 2015-10-21 2015-10-21 Terminal session method and device

Publications (1)

Publication Number Publication Date
CN106612248A true CN106612248A (en) 2017-05-03

Family

ID=58556721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510688286.1A Withdrawn CN106612248A (en) 2015-10-21 2015-10-21 Terminal session method and device

Country Status (2)

Country Link
CN (1) CN106612248A (en)
WO (1) WO2017067343A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018233641A1 (en) * 2017-06-20 2018-12-27 中兴通讯股份有限公司 Method, device, system, and computer readable storage medium for analyzing triangular signaling message

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882170A (en) * 2005-07-05 2006-12-20 华为技术有限公司 Realization method and system for traditional terminal user accessing IMS domain
CN1897578A (en) * 2005-07-14 2007-01-17 华为技术有限公司 Message conversion and converting system
CN102843353A (en) * 2011-06-24 2012-12-26 佳能株式会社 Communication apparatus having IPFAX function and control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008225688A (en) * 2007-03-09 2008-09-25 Nec Corp Terminal control method and service providing system using method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882170A (en) * 2005-07-05 2006-12-20 华为技术有限公司 Realization method and system for traditional terminal user accessing IMS domain
CN1897578A (en) * 2005-07-14 2007-01-17 华为技术有限公司 Message conversion and converting system
CN102843353A (en) * 2011-06-24 2012-12-26 佳能株式会社 Communication apparatus having IPFAX function and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018233641A1 (en) * 2017-06-20 2018-12-27 中兴通讯股份有限公司 Method, device, system, and computer readable storage medium for analyzing triangular signaling message

Also Published As

Publication number Publication date
WO2017067343A1 (en) 2017-04-27

Similar Documents

Publication Publication Date Title
KR101446737B1 (en) User equipment (ue) session notification in a collaborative communication session
EP2381617A1 (en) A method for calling a conference when hard terminals have been bound to pc clients, a login server thereof, a conference server thereof and a pc client thereof
US20180027028A1 (en) Terminal and Terminal Call Soft Switching Method
CN105792147B (en) Short message delivery failure processing method, device and system
CN106612248A (en) Terminal session method and device
US9736190B2 (en) Communication system for service control
CN101594370A (en) A kind of system of Click To Dial and implementation method
WO2023078458A1 (en) Call exception processing method and apparatus, and electronic device
CN103957199A (en) Method for optimizing multi-media call establishment time
WO2016165669A1 (en) Automatic redialling method and device for mobile phone calling busy line, terminal and computer-readable storage medium
US11201898B2 (en) SIP proxy server, communication method and SIP proxy program
EP3136756A1 (en) System, device and method for implementing ring back tone service
CN101657026A (en) Media stream transferring method, user equipment and server
CN108064061B (en) Message sending method, device and system
CN112751975A (en) Playing method, device, storage medium and system of call hold tone
JP5421940B2 (en) Call processing control apparatus and call processing control method
CN109257323B (en) Call method and device
CN110602060B (en) Method, system, terminal and readable storage medium for obtaining gain value
US11444858B2 (en) Disconnection monitoring terminating device and disconnection monitoring method
JP6898568B2 (en) Communication controller, media transmission method, and media transmission program
CN111385784B (en) Communication establishment method and device for emergency call, network equipment and terminal
CN102571710A (en) Information subscribing method and system
EP3021637A1 (en) Conference release method, device and system, and storage medium
KR102289153B1 (en) MGCF(Media Gateway Control Function) AND CONTROL METHOD THEREOF
US10110639B2 (en) Method for telecommunication and communication terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170503