Session establishment method and device, electronic equipment and storage medium

Through SCSCF network elements, the session requests of different types of terminals are managed, and the response confirmation messages are constructed, which solves the problem of function cutting in the IMS network, and efficient session establishment between terminals is realized, which simplifies the system architecture and reduces cost and complexity.

CN119299436AActive Publication Date: 2025-01-10LENOVO (BEIJING) LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202411392092.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-10
Estimated Expiration
2044-09-30

AI Technical Summary

Technical Problem

When providing multimedia services, existing IMS networks are difficult to tailor functions according to user needs, resulting in excessive software and hardware costs and complex system architecture, and it is impossible to effectively manage session requests between different types of terminals.

Method used

Receive the terminal's session request message through the SCSCF network element, generate temporary reply messages, and build a reply confirmation message to ensure the establishment of sessions between different types of terminals (such as IPPBX and 5G mobile terminals), simplify the network element structure, and omit the MMTEL AS network Meta, directly use SCSCF network elements to build a response confirmation message to realize a complete call process.

Benefits of technology

It realizes session establishment between different types of terminals, simplifies the system architecture, reduces deployment and maintenance costs, improves call efficiency, avoids the interaction process of MMTEL AS network elements, and improves the clarity and easy maintenance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299436A_ABST
    Figure CN119299436A_ABST
Patent Text Reader

Abstract

The invention provides a session establishment method and device, equipment and a storage medium, the method is applied to a first network element, the first network element is connected with a first terminal, and the method comprises the following steps: receiving a first session request message from the first terminal, and sending the first session request message to a second terminal; receiving a temporary response message from the second terminal, wherein the temporary response message is generated and sent by the second terminal according to the first session request message; performing message construction according to the temporary response message to obtain a response confirmation message; respectively sending the response confirmation message to the first terminal and the second terminal; the response confirmation message is used for establishing a session between the first terminal and the second terminal; wherein the first terminal and the second terminal support different types of communication connections.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a session establishment method, device, electronic device and storage medium. Background Art

[0002] With the development of the mobile Internet era, multimedia services are ubiquitous in life. For example, text, pictures, sound and video are used as media to convey and receive various information to people, and to meet the current terminal users' demand for rich multimedia services. Therefore, more and more enterprises and institutions have conducted research on the deployment and application of IMS (IP Multimedia Subsystem) networks. IMS can not only realize the integration of mobile and fixed networks, but also integrate different business forms such as voice, data and video. IPPBX (Internet Protocol Private Branch Exchange, a private branch exchange system based on Internet Protocol) can realize the use of IP by each telephone terminal in the system to make network calls and transmit text, data and images.

[0003] At present, in order to ensure a secure call environment, most enterprises use richer multimedia services and provide services to their users by connecting IPPBX to the IMS network. However, in most cases, the services provided by IMS are redundant for users, and it is impossible to tailor functions according to actual user needs and reduce the implementation costs of software and hardware while meeting user needs. Summary of the invention

[0004] The present disclosure provides a session establishment method, device, electronic device and storage medium to at least solve the above technical problems existing in the prior art.

[0005] According to a first aspect of the present disclosure, a session establishment method is provided, the method being applied to a first network element, the first network element being connected to a first terminal, comprising:

[0006] receiving a first session request message from a first terminal, and sending the first session request message to a second terminal;

[0007] receiving a temporary response message from the second terminal, where the temporary response message is generated and sent by the second terminal according to the first session request message;

[0008] Constructing a message according to the temporary response message to obtain a response confirmation message;

[0009] Sending the response confirmation message to the first terminal and the second terminal respectively; the response confirmation message is used to establish a session between the first terminal and the second terminal;

[0010] The first terminal and the second terminal support different types of communication connections.

[0011] According to a second aspect of the present disclosure, a session establishment device is provided, the device being applied to a first network element, the device comprising:

[0012] A receiving module, configured to receive a first session request message from a first terminal, and send the first session request message to a second terminal;

[0013] receiving a temporary response message from the second terminal, where the temporary response message is generated and sent by the second terminal according to the session request message sent by the first terminal;

[0014] A processing module, used for constructing a message according to the temporary response message to obtain a response confirmation message;

[0015] A sending module, used to send the response confirmation message to the first terminal and the second terminal respectively; the response confirmation message is used for the first terminal and the second terminal to establish a session;

[0016] The first terminal and the second terminal support different types of communication connections.

[0017] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0018] at least one processor; and

[0019] a memory communicatively connected to the at least one processor; wherein,

[0020] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.

[0021] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0023] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0024] Figure 1A flow chart of a session establishment method provided by an embodiment of the present disclosure is shown;

[0025] Figure 2 A flow chart of a session establishment method provided by an application embodiment of the present disclosure is shown;

[0026] Figure 3 A schematic diagram of the structure of a session establishment device provided by an embodiment of the present disclosure is shown;

[0027] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0028] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, 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 those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0029] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0030] In the following description, the terms "first\second" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0031] Unless otherwise defined, all technical and scientific terms used in this disclosure have the same meaning as those commonly understood by those skilled in the art to which this disclosure belongs. The terms used in this disclosure are only for the purpose of describing the embodiments of this disclosure and are not intended to limit this disclosure.

[0032] It should be understood that in the various embodiments of the present disclosure, the size of the serial number of each implementation process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.

[0033] Figure 1 A flow chart of a session establishment method provided by an embodiment of the present disclosure is shown; Figure 1As shown, the session establishment method is applied to a first network element, the first network element is connected to a first terminal, and the method includes:

[0034] Step 101: receiving a first session request message from a first terminal, and sending the first session request message to a second terminal;

[0035] Step 102: receiving a temporary response message from the second terminal, where the temporary response message is generated and sent by the second terminal according to the first session request message;

[0036] Step 103: construct a message according to the temporary response message to obtain a response confirmation message;

[0037] Step 104: Send the response confirmation message to the first terminal and the second terminal respectively; the response confirmation message is used to establish a session between the first terminal and the second terminal;

[0038] The first terminal and the second terminal support different types of communication connections.

[0039] In some embodiments, the first network element is a SCSCF network element. SCSCF is an important component in the IP Multimedia Subsystem (IMS), and its full name is Serving Call / Session Control Function, i.e., service call or session control function.

[0040] The first terminal and the second terminal support different types of communication connections, which can be understood as the first terminal and the second terminal can be connected using different types of communication technologies. For example, the first terminal is an IPPBX (Internet Protocol Private Branch Exchange) terminal, which is usually used in communication systems in enterprises, and the second terminal is a 5G mobile terminal that can be connected through the fifth generation mobile communication technology, and of course it can also be a terminal using other communication technologies such as 4G.

[0041] In this way, SCSCF can effectively manage and coordinate session requests between different types of terminals to ensure that sessions can be established smoothly, making the system architecture clearer and easier to maintain.

[0042] In some embodiments, the first network element is a first service call or session control function network element (denoted as SCSCF1) connected to the first terminal, and the first terminal is a terminal of a private branch exchange system based on the Internet protocol, such as an IPPBX terminal;

[0043] The first network element sends a message to the second terminal and / or receives a message from the second terminal through a second network element, where the second network element is a second service call or session control function network element (referred to as SCSCF2) connected to the second terminal;

[0044] The second terminal is a terminal of a non-Internet protocol-based private branch switch system, such as a 5G mobile terminal.

[0045] Here, the first terminal and the second terminal establish a session through SCSCF1 and SCSCF2. Through SCSCF1, session requests between different types of terminals can be effectively managed and coordinated to ensure that the session can be established smoothly, making the system architecture clearer and easier to maintain.

[0046] In some embodiments, the temporary response message is a 183 session message, and the response confirmation message is a temporary response confirmation (PRACK, Provisional Acknowledgment) message used to respond to the 183 session message.

[0047] In some embodiments, constructing a message according to the temporary response message to obtain a response confirmation message includes:

[0048] Determine target information according to the temporary response message; the target information includes at least one of the following: message sender, message receiver, session identifier, message identifier, message request, communication address information, and routing information for tracking messages;

[0049] The response confirmation message is constructed according to the target information.

[0050] In some embodiments, determining target information according to the provisional response message includes:

[0051] Extract at least one of the following header fields from the temporary response message: a sender header field, a receiver header field, a session identification header field, a message identification header field, a message request header field, a communication address information header field, and a routing information header field of a tracking message;

[0052] Target information is determined according to the extracted at least one header field.

[0053] Here, the first network element determines the target information based on the temporary response message, which may include but is not limited to at least one of the following: message sender, message receiver, session identifier, message identifier, message request, communication address information, and routing information for tracking messages; based on the target information, the response confirmation message can be constructed.

[0054] It should be noted that the target information may include but is not limited to at least one of the above, and the specific content of the target information is determined based on the requirements, protocols and / or information required to construct a response confirmation message, and is not limited here.

[0055] Correspondingly, the header field extracted from the temporary response message may also include but is not limited to at least one of the above. The extracted header field is determined based on requirements, protocols and / or information required to construct a response confirmation message, which is not limited here.

[0056] Here, the first session request message may be an INVITE request message, the temporary response message may be a 183 session message, and the response confirmation message may be a PRACK message; the first network element may construct a response confirmation message based on the temporary response message so that the first terminal and the second terminal establish a session.

[0057] In this way, the method provided by the embodiment of the present disclosure establishes a session between the first terminal and the second terminal through the first network element, that is, the functions in the voice communication are implemented through the first network element, and the response confirmation message is constructed using the first network element to realize the complete call process.

[0058] Here, the first network element may reuse a SIP (Session Initiation Protocol) encoding and decoding function to construct a response confirmation message according to the temporary response message, that is, to implement message construction according to the temporary response message to obtain the response confirmation message.

[0059] In this way, the first network element realizes the construction of the response confirmation message, which simplifies the network element structure, saves deployment cost and maintenance cost, simplifies the signaling interaction process during the call process, and improves the call efficiency. In addition, the SIP encoding and decoding function is reused to realize the parsing and construction of the message, which is convenient for maintenance and shortens the development cycle.

[0060] In some embodiments, the method further comprises:

[0061] receiving a response message, a second session request message and a ringing message for the answer confirmation message from the second terminal;

[0062] Sending the response message, the second session request message and the ringing message to the first terminal;

[0063] A response message is received from the first terminal, and a session is established between the first terminal and the second terminal according to the response message.

[0064] Here, the response confirmation message may be a PRACK message, and correspondingly, the response message may be a message in response to the PRACK message, such as 200OK (PRACK). This may be understood as confirmation of the PRACK message, indicating that the previous temporary response (such as 183Session message) has been successfully received.

[0065] The second session request may be a request for requesting to establish a session, such as a 200 OK (INVITE) request. After sending the second session request, the initiator hopes to establish media communication with the other party.

[0066] The ringing message may be a 180Ringing message, which is a temporary response to a session request, indicating that the called party is ringing and the call is being processed.

[0067] Subsequently, the first terminal sends a response message, such as an ACK (Acknowledgment) message, to confirm the received response, that is, the first terminal establishes a session with the second terminal, and both parties are ready to communicate.

[0068] Here, the response message, the second session request message and the ringing message of the second terminal may be sent to SCSCF1 via SCSCF2 and ICSCF2 in sequence;

[0069] Correspondingly, SCSCF1 sends the response message, the second session request message and the ringing message to the first terminal, and receives a reply message from the first terminal.

[0070] In some embodiments, sending the first session request message to the second terminal includes:

[0071] A receiving end query is performed according to the first session request message, a second terminal is determined, and the first session request message is sent to the second terminal.

[0072] Here, after the first network element receives the first session request message from the initiator (i.e., the first terminal), in order to communicate with the requested sender (i.e., the second terminal), the first network element uses a preset routing rule or policy to query the second terminal and determine the second terminal. Of course, it can also determine which specific network nodes to forward the first session request message to in order to communicate with the second terminal.

[0073] For example, the first network element is recorded as SCSCF1, and the second terminal and the SCSCF2 and ICSCF2 corresponding to the second terminal are queried to determine to achieve communication.

[0074] In this way, the method provided by the embodiment of the present invention realizes the voice intercommunication requirements of the lower IPPBX terminal and the mobile terminal (such as 5G terminal) in a specific scenario through the SCSCF network element, without the need for the MMTEL AS (Multimedia Telephony Application Server) in the IMS, and without the need for the MMTEL AS to interact with the SCSCF network element (that is, the functions of the MMTEL AS are trimmed and the MMTEL AS network element is removed), thereby simplifying the network element structure, transplanting the functions in its voice communication to the SCSCF network element, and using the SCSCF network element to construct a response confirmation message to implement a complete call process, omitting the process of interaction between the SCSCF network element and the MMTEL AS network element, and the function of the MMTEL AS network element to determine the service type.

[0075] In some embodiments, the first network element is SCSCF, and the SCSCF can reuse the SIP encoding and decoding function of the SCSCF to implement message construction according to the temporary response message to obtain a response confirmation message.

[0076] Specifically, after receiving a temporary response message (such as a 183 session message), the SCSCF parses the message fields before forwarding it to the next route, constructs the valid fields of the PRACK message and stores them in the reconstructed structure, including: from (message sender), to (message receiver), call-id (session identifier), cseq (request sequence number), rseq (response sequence number) and other fields. Then, the Handle_response() function is called to construct a PRACK message based on the existing 183 session message fields, and forward the PRACK message to the PCSCF network element of the calling party and the called party, completing the entire call process.

[0077] The following provides an example of a method for constructing a PRACK message, including but not limited to at least one of the following:

[0078] 1) Use the Get_header function to obtain the Cseq header field and the Require header field from the INVITE request message (the INVITE request message corresponding to the 183 session message), and fill the Method (method field, indicating the method type of the message) in the Require header field as PRACK;

[0079] Here, the CSeq header field is used to identify the uniqueness and order of each request;

[0080] The Require header field is used to indicate specific functionality or extensions required for a request, which here means mandatory requirement or support for SIP reliable provisional responses.

[0081] 2) Extract the from header field and the to header field from the structure of the 183 session message, and update the tag field in the to header field to obtain a new to header field;

[0082] Here, the update includes: updating the User part and host part of the address, forming a new to header field;

[0083] The to header field is used to identify the message recipient; the tag field can be a random string with a length of at least 32 bits, which is added to the to and from header fields to uniquely identify the session;

[0084] User part and host part represent the user part and host part that constitute the address information;

[0085] 3) Read the call-id header field, Rseq header field, and Contact header field from the structure of the 183 session message;

[0086] Here, the call-id header field represents a session identifier, which is used to uniquely identify a specific SIP dialog or session established between two SIP entities;

[0087] The Rseq header field represents a repeated sequence number and is used to confirm whether a request or response is a duplicate;

[0088] The Contact header field is used to give a direct address through which two parties can communicate.

[0089] 4) Call the t_calc_branch() function to generate new branch parameters, and construct a new via header field based on the local IP and port (port number);

[0090] Here, Branch is a transaction id used to distinguish different transactions initiated by the same client;

[0091] The Via header field identifies the transport device used to transmit the transaction and also identifies the address to which the response is sent back.

[0092] 5) Update the user-agent field, read the user-agent parameter from the structure of the 183 session message, detect that the parameter is the parameter of the mobile terminal, and replace the parameter with IMS;

[0093] 6) Update the contact parameters of the Contact header field, delete the vedio, audio (video parameters and voice parameters), and related 3gpp (third generation communication system related parameters) parameters of the mobile terminal contact field, and update the host part field in the contact field according to the called domain name and port, and construct a new contact header field;

[0094] 7) Call the find_sip_method function to extract the Method parameter in the Cseq header field;

[0095] 8) Build the Rack header field according to the Cseq header field, Rseq header field, via header field, call-id header field, from header field, to header field, Contact header field, Require header field, etc., as well as the return value of the find_sip_method function, and build the PRACK message according to the Rack header field;

[0096] 9) Calculate the message length and fill the context-length field (message field, indicating the message field length);

[0097] 10) Call Send_request() function to forward the PRACK message to PCSCF;

[0098] Here, the Send_request() function is a forwarding function, which is used to forward the PRACK message reassembled by the SCSCF to the PCSCF network element.

[0099] The above Get_header function, t_calc_branch() function, find_sip_method function, Send_request() function, and Handle_response() function are part of the multiplexed SIP codec function, and other functions may also be included, which are not limited here. The Handle_response() function is used to call the above Get_header function, t_calc_branch() function, find_sip_method function, and Send_request() function.

[0100] In this way, SCSCF constructs a PRACK message according to the parsing field of the 183 session message to respond to the 183 session message; and, by adapting the SIP encoding and decoding function of SCSCF, the parsing of the 183 session message is realized, which facilitates maintenance and shortens the development cycle.

[0101] At the same time, the PRACK message construction is implemented by SCSCF, which simplifies the network element structure (that is, no MMTEL AS network element is required), saves deployment and maintenance costs, simplifies the signaling interaction process during the call process, and improves call efficiency.

[0102] Figure 2 A flow chart of a session establishment method provided by an application embodiment of the present disclosure is shown; Figure 2 As shown, the session establishment method includes:

[0103] Step 201, UE1 initiates an INVITE request message as the calling party, and after receiving the INVITE request message and querying the fields, SCSCF1 forwards the INVITE request message to UE2 as the called party;

[0104] Here, SCSCF1 sends the INVITE message to UE2 via ICSCF2 and SCSCF2.

[0105] Here, UE1 is an IPPBX terminal and UE2 is a 5G mobile terminal; UE1 communicates through PCSCF1 and UE2 communicates through PCSCF2.

[0106] PCSCF (Proxy Call Session Control Function) is a key component in the IMS (IP Multimedia Subsystem) architecture. It is mainly responsible for processing the signaling and control of multimedia sessions and acts as a proxy between terminals (such as mobile phones or other devices) and the core network.

[0107] Step 202: UE2, as the called party, responds with 100 trying (a temporary response) after receiving the INVITE request message, and sends a 183 session message to initiate a 183 session process;

[0108] Step 203: After receiving the 183 session message initiated by the called party, SCSCF1 parses the 183 session message, extracts the message fields, and constructs a PRACK message according to the extracted message fields, and sends the PRACK message to UE1 and UE2 respectively.

[0109] Here, after SCSCF1 constructs the PRACK message, SCSCF1 forwards it to PCSCF1, and then PCSCF1 forwards it to UE1; at the same time, SCSCF1 also forwards the PRACK message to ICSCF2, which is forwarded to SCSCF2, which is then forwarded to PCSCF2, and PCSCF2 forwards it to UE2.

[0110] The above-mentioned routing logic is used to perform bidirectional forwarding to complete the response of the IPPBX calling terminal UE1 to the 183 session message.

[0111] Step 204: After receiving the PRACK message, UE2 initiates a 200OK (PRACK) message in response to the PRACK message, and initiates a 200OK (INVITE) message and replies with a 180 ringing message.

[0112] Step 205: UE1 replies ACK, completing the call process.

[0113] In this way, the method provided by the embodiment of the present invention realizes the voice intercommunication requirements of the IPPBX terminal (UE1) and the 5G mobile terminal (UE2) through the SCSCF network element, so that the functions of the MMTEL AS can be tailored, the MMTEL AS network element can be removed, the network element structure can be simplified, and the functions in its voice communication can be transplanted to the SCSCF network element. The SCSCF network element is used to construct a response confirmation message to realize a complete call process, omitting the process of interaction between the SCSCF network element and the MMTEL AS network element, and the function of the MMTEL AS network element to determine the service type.

[0114] Figure 3 A schematic diagram of the structure of a session establishment device provided by an embodiment of the present disclosure is shown; Figure 3 As shown, the session establishment device is applied to a first network element, and the device includes:

[0115] A receiving module, configured to receive a first session request message from a first terminal;

[0116] A sending module, used for sending the first session request message to the second terminal;

[0117] The receiving module is further used to receive a temporary response message from the second terminal, where the temporary response message is generated and sent by the second terminal according to the session request message sent by the first terminal;

[0118] A processing module, used for constructing a message according to the temporary response message to obtain a response confirmation message;

[0119] A sending module, used to send the response confirmation message to the first terminal and the second terminal respectively; the response confirmation message is used for the first terminal and the second terminal to establish a session;

[0120] The first terminal and the second terminal support different types of communication connections.

[0121] In some embodiments, the processing module is used to determine target information according to the temporary response message; the target information includes at least one of the following: message sender, message receiver, session identifier, message identifier, message request, communication address information, and routing information for tracking messages;

[0122] The response confirmation message is constructed according to the target information.

[0123] In some embodiments, the processing module is used to extract at least one of the following header fields from the temporary response message: a sender header field, a receiver header field, a session identification header field, a message identification header field, a message request header field, a communication address information header field, and a routing information header field of a tracking message;

[0124] Target information is determined according to the extracted at least one header field.

[0125] In some embodiments, the receiving module is further used to receive a response message, a second session request message and a ringing message from the second terminal to the answer confirmation message;

[0126] The sending module is further used to send the response message, the second session request message and the ringing message to the first terminal;

[0127] The receiving module is further configured to receive a response message from the first terminal, and establish a session between the first terminal and the second terminal according to the response message.

[0128] In some embodiments, the sending module is configured to perform a receiving end query according to the first session request message, determine a second terminal, and send the first session request message to the second terminal.

[0129] In some embodiments, the first network element is a first service call or session control function network element connected to the first terminal, and the first terminal is a terminal of a private branch switch system based on Internet Protocol;

[0130] The first network element sends a message to the second terminal and / or receives a message from the second terminal through a second network element. The second network element is a second service call or session control function network element connected to the second terminal. The second terminal is not a terminal of a private branch switch system based on the Internet Protocol.

[0131] In some embodiments, the temporary response message is a 183 session message, and the response confirmation message is a temporary response confirmation (PRACK) message used to respond to the 183 session message.

[0132] It is understandable that when the session establishment device provided in the above embodiment implements the corresponding session establishment method, the above processing can be assigned to different program modules as needed to complete all or part of the above-described processing. In addition, the device provided in the above embodiment and the embodiment of the corresponding method belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0133] An embodiment of the present disclosure provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor is triggered to execute the session establishment method provided by the embodiment of the present disclosure.

[0134] In some embodiments, the computer-readable storage medium may be a ferroelectric random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disk, or a CD-ROM; it may also be various devices including one or any combination of the above memories.

[0135] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, model, subroutine or other unit suitable for use in a computing environment.

[0136] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0137] An embodiment of the present disclosure provides a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the session establishment method described in the present disclosure is implemented.

[0138] Figure 4 FIG. 1 shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 4As shown, the electronic device 40 includes: a processor 401 and a memory 402 for storing a computer program that can be run on the processor; when the processor 401 is used to run the computer program, it executes the session establishment method provided by the embodiment of the present disclosure.

[0139] In actual application, the electronic device 40 may further include: at least one network interface 403. The various components in the electronic device 40 are coupled together via a bus system 404. It is understood that the bus system 404 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 404 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 4 In the figure, various buses are labeled as bus system 404. There may be at least one processor 401. The network interface 403 is used for wired or wireless communication between the electronic device 40 and other devices.

[0140] The memory 402 in the embodiment of the present disclosure is used to store various types of data to support the operation of the electronic device 40 .

[0141] The method disclosed in the above embodiment of the present disclosure can be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 401 or the instruction in the form of software. The above processor 401 can be a general processor, a digital signal processor (DSP, DiGital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 401 can implement or execute the disclosed methods, steps and logic block diagrams in the embodiment of the present disclosure. The general processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be combined to execute. The software module can be located in a storage medium, which is located in the memory 402. The processor 401 reads the information in the memory 402 and completes the steps of the above method in combination with its hardware.

[0142] In some embodiments, the electronic device 40 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

[0143] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0144] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0145] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A session establishment method, the method being applied to a first network element, the first network element being connected to a first terminal, comprising: receiving a first session request message from a first terminal, and sending the first session request message to a second terminal; receiving a temporary response message from the second terminal, where the temporary response message is generated and sent by the second terminal according to the first session request message; Constructing a message according to the temporary response message to obtain a response confirmation message; Sending the response confirmation message to the first terminal and the second terminal respectively; the response confirmation message is used to establish a session between the first terminal and the second terminal; The first terminal and the second terminal support different types of communication connections.

2. The method according to claim 1, constructing a message according to the temporary response message to obtain a response confirmation message, comprising: Determining target information according to the temporary response message; The target information includes at least one of the following: message sender, message receiver, session identifier, message identifier, message request, communication address information, and routing information for tracking messages; The response confirmation message is constructed according to the target information.

3. The method according to claim 2, determining target information according to the temporary response message, comprising: Extract at least one of the following header fields from the temporary response message: a sender header field, a receiver header field, a session identification header field, a message identification header field, a message request header field, a communication address information header field, and a routing information header field of a tracking message; Target information is determined according to the extracted at least one header field.

4. The method according to claim 1, further comprising: receiving a response message, a second session request message and a ringing message for the answer confirmation message from the second terminal; Sending the response message, the second session request message and the ringing message to the first terminal; A response message is received from the first terminal, and a session is established between the first terminal and the second terminal according to the response message.

5. The method according to claim 1, sending the first session request message to the second terminal, comprising: A receiving end query is performed according to the first session request message, a second terminal is determined, and the first session request message is sent to the second terminal.

6. The method according to claim 1, wherein the first network element is a first service call or session control function network element connected to the first terminal, and the first terminal is a terminal of a private branch switch system based on Internet Protocol; The first network element sends a message to the second terminal and / or receives a message from the second terminal through a second network element. The second network element is a second service call or session control function network element connected to the second terminal. The second terminal is not a terminal of a private branch switch system based on the Internet Protocol.

7. According to the method of claim 1, the temporary response message is a 183 session message, and the response confirmation message is a temporary response confirmation PRACK message used to respond to the 183 session message.

8. A session establishment device, the device being applied to a first network element, the device comprising: A receiving module, configured to receive a first session request message from a first terminal; A sending module, used for sending the first session request message to the second terminal; The receiving module is further configured to receive a temporary response message from the second terminal, where the temporary response message is generated and sent by the second terminal according to the session request message sent by the first terminal; A processing module, used for constructing a message according to the temporary response message to obtain a response confirmation message; The sending module is further used to send the response confirmation message to the first terminal and the second terminal respectively; the response confirmation message is used to establish a session between the first terminal and the second terminal; The first terminal and the second terminal support different types of communication connections.

9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute: receiving a first session request message from a first terminal, and sending the first session request message to a second terminal; receiving a temporary response message from the second terminal, where the temporary response message is generated and sent by the second terminal according to the first session request message; Constructing a message according to the temporary response message to obtain a response confirmation message; Sending the response confirmation message to the first terminal and the second terminal respectively; the response confirmation message is used to establish a session between the first terminal and the second terminal; The first terminal and the second terminal support different types of communication connections.

10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute: receiving a first session request message from a first terminal, and sending the first session request message to a second terminal; receiving a temporary response message from the second terminal, where the temporary response message is generated and sent by the second terminal according to the first session request message; Constructing a message according to the temporary response message to obtain a response confirmation message; Sending the response confirmation message to the first terminal and the second terminal respectively; the response confirmation message is used to establish a session between the first terminal and the second terminal; The first terminal and the second terminal support different types of communication connections.

Citation Information

Patent Citations

  • Method and system for realizing multimedia color image service in IP multimedia subsystem network

    CN101079927A

  • Call method, call center, application server and terminal for realizing multi-session

    CN101990305A

  • Method and system for routing response message of service gateway of internet of things

    CN103152785A

  • VoLTE encrypted call identification method, apparatus and system

    CN106713261A

  • Call processing method, correlation apparatus and system

    CN107872588A