WO2017198158A1 - 一种会话管理的方法、设备和*** - Google Patents

一种会话管理的方法、设备和*** Download PDF

Info

Publication number
WO2017198158A1
WO2017198158A1 PCT/CN2017/084589 CN2017084589W WO2017198158A1 WO 2017198158 A1 WO2017198158 A1 WO 2017198158A1 CN 2017084589 W CN2017084589 W CN 2017084589W WO 2017198158 A1 WO2017198158 A1 WO 2017198158A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
identifier
network node
management device
creation
Prior art date
Application number
PCT/CN2017/084589
Other languages
English (en)
French (fr)
Inventor
陈力
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017198158A1 publication Critical patent/WO2017198158A1/zh

Links

Images

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/1083In-session procedures
    • H04L65/1086In-session procedures session scope modification

Definitions

  • the present application relates to, but is not limited to, wireless communication technologies, and more particularly to a method, device and system for session management.
  • the Open System Interconnection (OSI) reference model divides the communication functions of the network into seven levels, and also defines the relationship between each level and the services and functions included in each level. .
  • the seven levels of the OSI model are, from low to high, the physical layer, the data link layer, the network layer, the transport layer, the session layer, the presentation layer, and the application layer.
  • the main function of the session layer is to establish, maintain and release the connection to the user between the two nodes, and manage and control the session to ensure reliable transmission of session data.
  • the session connection process is not separately reflected, but is directly included in the description of the application layer protocol.
  • the session relationship is maintained by the application layer of the network communication node and the session process is included in the application layer protocol. This phenomenon will increase the number of session relationships between communication nodes, which will make the application layer difficult to maintain, greatly increasing the burden of the application layer; and because the session connection process should be considered during the application layer protocol development process, the protocol development will be greatly increased. And the workload of the later development and maintenance process.
  • the embodiments of the present invention are expected to provide a method, device, and system for session management, which can reduce the burden of the application layer and reduce the workload of network protocol formulation and post-maintenance.
  • an embodiment of the present invention provides a method for session management, where the method is applied to a session management device that is additionally set in a network node in a network architecture, and the method includes:
  • the session management device receives a session service request sent by the session service initiation node, where the session service request includes a session service initiation node identifier and session information;
  • the session management device responds to the session service request according to a first correspondence between the session identifier and the session service originating node;
  • the session management device sends a response message corresponding to the session service request to the session service initiation node.
  • the session management device responds to the session service request according to the first correspondence between the session identifier and the session service initiation node, including:
  • the session management device receives the creation confirmation message sent by the second network node, and establishes a second correspondence between the session identifier and the session type, the first network node identifier, and the second network node identifier according to the create confirmation message.
  • the creation confirmation message includes the session identifier;
  • the session management device sends a response message corresponding to the session service request to the session service initiation node, including:
  • the session management device sends a session creation response message to the first network node; wherein the session creation response message includes the session identifier.
  • the method further includes:
  • the session management device forwards the session content to the second network node according to the session identifier and the second correspondence, where the forwarding message includes the session identifier and the session content.
  • the session management device modifies the corresponding second correspondence according to the session modification request
  • the session management device sends a session modification response to the first network node.
  • the session management device sends a session deletion indication to the second network node, where the session deletion indication includes a session identifier to be deleted;
  • the session management device deletes the corresponding second correspondence according to the session identifier to be deleted, and sends a session deletion response message to the first network node, where the session deletion response message includes the The session ID to be deleted.
  • the session management device is a session management device additionally set in a network node in the network architecture;
  • the session service request includes a first network node identifier and session information;
  • the session service request includes: a session creation request; wherein the session service initiation node identifier is: an identifier of the first network node that is a session service initiator, and the session information includes a session type.
  • the session creation request further includes an identifier of a second network node that is a target end of the session service;
  • the response message correspondingly sent for the session service request includes a session creation response message; wherein the session creation response message includes a session identifier.
  • the method further includes:
  • the first network node sends a session message to the session management device; wherein the session message includes the session identifier and session content.
  • the method further includes:
  • the first network node receives a session modification response sent by the session management device.
  • the first network node deletes the application context corresponding to the session identifier to be deleted.
  • the session management device is a session management device additionally set in a network node in the network architecture;
  • the session creation indication includes a session identifier and a session type;
  • the method further includes:
  • the second network node delivers the session content to its corresponding application context according to the session identifier for processing.
  • the second network node deletes the application context corresponding to the session identifier to be deleted, and returns a session deletion confirmation message to the session management device, where the session deletion confirmation message includes the to-be-deleted Session ID.
  • an embodiment of the present invention provides a session management device, where the session management device includes: a first receiving module, a response module, and a first sending module;
  • the session service request includes a session creation request, where the session service initiation node identifier is: an identifier of the first network node that is a session service initiator, and the session information includes a session type.
  • the session creation request further includes an identifier of the second network node that is the target end of the session service;
  • the response module is configured to set a corresponding session identifier for the session creation request, and establish a relationship between the session identifier and the session type and the first network node identifier according to the session creation request.
  • the session management device further includes a modification module
  • the first receiving module is further configured to receive a session modification request sent by the first network node, where the session modification request includes the session identifier and content to be modified;
  • the modifying module is configured to modify the corresponding second correspondence according to the session modification request
  • the first sending module is configured to send a session modification response to the first network node.
  • the session management device further includes a first deletion module
  • the first receiving module is further configured to receive a session deletion request sent by the first network node, where the session deletion request includes a session identifier to be deleted;
  • the first sending module is further configured to send a session deletion indication to the second network node, where the session deletion indication includes a session identifier to be deleted;
  • the first receiving module is further configured to receive a session deletion returned by the second network node a confirmation message; wherein the session deletion confirmation message includes a session identifier to be deleted;
  • the first deleting module is configured to delete the corresponding second correspondence according to the session identifier to be deleted;
  • the first sending module is further configured to send a session deletion response message to the first network node, where the session deletion response message includes the session identifier to be deleted.
  • the second sending module is configured to send a session service request to the session management device, where the session management device is a session management device additionally set in a network node in the network architecture; the session service request includes a first network node Identification and session information;
  • the second receiving module is configured to receive a session creation response message sent by the session management device, where the session creation response message includes a session identifier.
  • the second sending module is further configured to send a session message to the session management device, where the session message includes the session identifier and session content.
  • the second sending module is further configured to send a session modification request to the session management device, where the session modification request includes the session identifier and content to be modified;
  • the second receiving module is further configured to receive a session modification response sent by the session management device.
  • the second sending module is further configured to send a session deletion request to the session management device, where the session deletion request includes a session identifier to be deleted;
  • the second receiving module is further configured to receive a session deletion response message sent by the session management device, where the session deletion response message includes a session identifier to be deleted;
  • the second deletion module is configured to delete the application context corresponding to the session identifier to be deleted by the first network node itself.
  • the embodiment of the present invention provides a second network node, where the second network node includes: a third receiving module, a session context processing module, and a third sending module;
  • the third receiving module is configured to receive a session creation indication sent by the session management device, where the session management device is a session management device additionally set in a network node in the network architecture; the session creation indication includes a session identifier And the type of session;
  • the session context processing module is configured to establish a corresponding session context creation according to the session creation indication
  • the third sending module is configured to feed back a create confirmation message to the session management device, where the create confirmation message includes a session identifier.
  • the third receiving module is further configured to receive a forwarding message sent by the session management device, where the forwarding message includes the session identifier and session content;
  • the session context processing module is further configured to process the session content to the corresponding application context according to the session identifier.
  • the third receiving module is further configured to receive a session deletion indication sent by the session management device, where the session deletion indication includes a session identifier to be deleted;
  • the session context processing module is further configured to delete the application context corresponding to the session identifier to be deleted by the second network node itself, and return a session deletion confirmation message to the session management device;
  • the session deletion confirmation message includes the session identifier to be deleted.
  • the embodiment of the present invention provides a session management system, where the system includes: a session management device, and a first network node that is a session service initiator;
  • the session management device is configured to receive a session service request sent by the first network node;
  • the session service request includes a first network node identifier and session information.
  • the first network node is configured to send a session service request to the session management device
  • an embodiment of the present invention provides a computer readable storage medium storing computer executable instructions, the method for implementing the session management when the computer executable instructions are executed by a processor.
  • the embodiments of the present invention provide a method, a device, and a system for session management.
  • the session layer management and the application layer protocol are decoupled, and the session relationship is uniformly maintained, thereby reducing the session relationship.
  • the burden of the application layer and reduce the workload of network protocol development and post-maintenance.
  • FIG. 1 is a schematic diagram of a topology structure of a session connection relationship between network nodes
  • FIG. 2 is a schematic diagram of a SAE architecture
  • FIG. 3 is a schematic diagram of a topology structure of a session connection relationship between network nodes according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart diagram of a session management method according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of a session creation according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a session communication according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart of a session modification according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart of a process for deleting a session according to an embodiment of the present disclosure
  • FIG. 9 is a schematic flowchart of a session management according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a path for a session management device to respond to a session service request according to an embodiment of the present invention
  • FIG. 11 is a schematic flowchart of a session communication according to an embodiment of the present invention.
  • FIG. 12 is a schematic flowchart of a session modification according to an embodiment of the present invention.
  • FIG. 13 is a schematic flowchart of a session deletion according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic flowchart of another session management according to an embodiment of the present invention.
  • FIG. 15 is a schematic flowchart of another session modification according to an embodiment of the present invention.
  • FIG. 16 is a schematic flowchart of another session deletion according to an embodiment of the present disclosure.
  • FIG. 17 is a schematic flowchart of still another session management according to an embodiment of the present invention.
  • FIG. 18 is a schematic flowchart of still another session communication according to an embodiment of the present invention.
  • FIG. 19 is a schematic flowchart of still another session deletion according to an embodiment of the present invention.
  • FIG. 20 is a schematic structural diagram of a session management device according to an embodiment of the present disclosure.
  • FIG. 21 is a schematic structural diagram of another session management device according to an embodiment of the present disclosure.
  • FIG. 22 is a schematic structural diagram of a first network node according to an embodiment of the present disclosure.
  • FIG. 23 is a schematic structural diagram of another first network node according to an embodiment of the present disclosure.
  • FIG. 24 is a schematic structural diagram of a second network node according to an embodiment of the present disclosure.
  • FIG. 25 is a schematic structural diagram of a session management system according to an embodiment of the present invention.
  • the session connection relationship between the network nodes can be as shown in FIG. 1, and the two network nodes are The connection relationship between the sessions is maintained and managed by the respective applications. It can be seen that the current session connection relationship between the network nodes belongs to a point-to-point connection relationship.
  • SAE System Architecture Evolution
  • Figure 2 Taking the current network architecture as an example, as shown in the System Architecture Evolution (SAE) architecture shown in Figure 2, it can be seen that the number of network nodes in the architecture is limited. Therefore, the session connection between network nodes is not The application layer of the system architecture creates a significant burden. However, with the richer types of services carried by the network in the future, such as virtual reality, tactile Internet, and Internet of Things, the session connection relationship of network nodes based on the current network architecture will not meet the throughput brought by these various services. Diversified requirements such as delay, reliability, and connection density.
  • SAE System Architecture Evolution
  • the embodiment of the present invention is based on the basic requirements of the application layer of each network communication node in the current network architecture, and sets an additional session management device.
  • the additionally set session management device is used as a central node, and
  • the network node that needs the session connection connects the session to the central node of the session management device in a point-to-point manner, thereby forming a session connection relationship of the star topology, and any two network nodes in the star topology
  • the session connection is controlled by the session management device as a central node, so that the session between the communication nodes can be uniformly maintained and managed, thereby reducing the burden on the application layer and reducing the workload of network protocol formulation and post-maintenance.
  • a method for managing a session according to an embodiment of the present invention is shown.
  • the method can be applied to the topology of a session connection relationship shown in FIG. 3.
  • the session management device is used. Is additionally set, the method can include:
  • S401 The first network node sends a session service request to the session management device.
  • the first network node is used as the session service initiator, and the sent session service request may include the identifier of the first network node and session information.
  • the session management device responds to the session service request according to the first correspondence between the session identifier and the session service initiation node.
  • the session management device sends a response message corresponding to the session service request to the first network node.
  • the session service request is of a variety of types, and may include a session creation request, where the session creation request identifier is an identifier of the first network node that is the session service initiator, and the session information is Including a session type, the session creation request further includes an identifier of the second network node that is the target end of the session service; therefore, the implementation of the technical solution may be as shown in FIG. 5,
  • S501 The first network node sends a session creation request to the session management device.
  • the first network node is the initiator of the session creation, and initiates a session to the second network node that is the target end of the creation session. Therefore, based on the topology of the session connection shown in FIG. 3, the session creation request can be sent to the session management device without directly sending a session creation request to the target end of the creation session.
  • the session creation request may include: an identifier of the first network node as the initiator, a session type, and an identifier of the second network node as the target end;
  • the first network node identifier may be the transport layer address information of the first network node, and may include the displayed address information, such as an IP address and a session port of the first network node, or may be an implicit address information. For example, a Uniform Resource Locator (URL) that needs to be converted by a Domain Name System (DNS);
  • URL Uniform Resource Locator
  • DNS Domain Name System
  • the session type is related to the application for the session.
  • the main purpose is to inform the session type created by the second node as the target end, for example, the node type or the user level session type, or further extend the session type according to the actual application;
  • the second network node identifier may be the transport layer address information of the second network node, and may include the displayed address information, such as the IP address of the second network node and the session port (Port); or may be implicit address information, such as A URL (Uniform Resource Locator) that is converted by a DNS (Domain Name System); or a node type that is only a target end, so that a session creation request can be sent to the network architecture.
  • the load balancing module corresponding to the specified node type selects a second network node as the target end from the cluster of the target end node through the load balancing module.
  • the session management device sets a corresponding session identifier for the session creation request, and establishes a first correspondence between the session identifier and the session type and the first network node identifier according to the session creation request.
  • the session management device may establish a corresponding session record for the session creation request; the session management device may be a correspondence relationship table, and the session management device allocates a primary key Session Id, that is, the session identifier, to the correspondence relationship table for the session creation request. And, the session management device can obtain the session type (Session Type) and the first network node identifier (Peer TnlAddr1) by parsing the session creation request; and in the correspondence table, the assigned primary key and session type and the first The network node identifier establishes a correspondence, which is enumerated and not limited.
  • the correspondence table can be as shown in Table 1:
  • the form of the Session Id can be in the form of a number (Number); the Session Type can be in the form of an enumeration (Enum), and the session management device can select a corresponding session type from the existing enumeration alternatives;
  • Peer TnlAddr1 can It is an IP address and a session port (Port) form;
  • the correspondence table may further include a second network node identifier (Peer TnlAddr2), and other fields (Ext) extended according to the session management needs of the application;
  • the second network node that is the target end does not know the session creation request, so the session management device may leave the Peer TnlAddr2 in the correspondence table as shown in Table 1 at this time, and the corresponding relationship table in the session record indicates The content is the first correspondence.
  • S503 The session management device sends a session creation indication to the second network node according to the first correspondence.
  • the session creation indication may include a session identifier and a session type.
  • S504 The second network node establishes a corresponding session context creation according to the session creation indication.
  • the second network node may perform necessary context creation work at the application layer according to the session type (Session Type), and save the primary key Session Id for subsequent session communication;
  • S505 The second network node feeds back a create confirmation message to the session management device.
  • the Create Session Confirmation may include a session identifier (Session Id) for prompting the session management device that the second network node has completed the context creation of the session corresponding to the session identifier.
  • Session Id session identifier
  • the session management device establishes a second correspondence between the session identifier and the session type, the first network node identifier, and the second network node identifier according to the create confirmation message.
  • the session management device may find the corresponding correspondence table according to the primary key Session Id included in the creation confirmation message, and supplement the second network node identifier (Peer TnlAddr2) corresponding to the primary key SessionId.
  • the complete, obtained second correspondence is the complete session record after the perfection.
  • the session management device sends a session creation response message to the first network node.
  • the session creation response message (Create Session Response) includes a session identifier; it may be a primary key Session Id.
  • the first network node After receiving the session establishment response message, the first network node may include the primary key Session Id for subsequent session communication.
  • the process shown in FIG. 5 may define a session creation request and a session creation response primitive between the first network node and the session management device; and may also define a session creation indication and session creation between the session management device and the second network node. Confirm the original. The actual definition process is not described in this embodiment.
  • the first network node is the sender of the session message.
  • the second network node is a receiver of the session message.
  • the process of the session between the network nodes may include:
  • S601 The first network node sends a session message to the session management device.
  • the session message includes a session identifier and a session content.
  • the session management device forwards the session content to the second network node according to the session identifier and the second correspondence.
  • the forwarding message includes a session identifier and a session content.
  • the session management device may query the second correspondence according to the session identifier in the session message, so that the second network node identifier may be obtained from the second correspondence, and the session content and the session identifier are encapsulated into the forwarding message, according to the query.
  • the obtained second network identifier sends a forwarding message to the second network node, thereby implementing a process of forwarding the session content.
  • the second network node After receiving the forwarding message, the second network node delivers the session content to its corresponding application context according to the session identifier for processing.
  • SendMsg Session Id, Msg: wherein Session Id is used by the session management device session layer to find a session record, and the message Msg is delivered to the second network node through the transport layer;
  • RecvMsg Session Id, Msg
  • the Session Id is used by the second network node to deliver the message Msg to its corresponding application context for processing.
  • the session modification can be either a first network node or a second network node.
  • the first network node is used as an example for description, and those skilled in the art may not need to be creative.
  • the labor can apply the solution shown in FIG. 7 to the case where the second network node modifies the session.
  • the process shown in FIG. 7 may include:
  • S701 The first network node sends a session modification request to the session management device.
  • the session modification request may include a session identifier (Session Id) and content to be modified, for example, a new identifier of the first network node when the address of the first network node changes; or a first network In the node, when the application for session management changes, the content of the extended field (Ext) that needs to be changed, etc.;
  • Session Id session identifier
  • Ext extended field
  • S702 The session management device modifies the corresponding second correspondence according to the session modification request.
  • the session management device may query the second correspondence according to the session identifier (Session Id). And modifying the corresponding content in the second correspondence according to the content to be modified.
  • Session Id session identifier
  • the session deletion request may include a session identifier (Session Id) to be deleted;
  • the session management device sends a session deletion indication to the second network node.
  • the session deletion indication may include a session identifier (Session Id) to be deleted;
  • the second network node is the second network node identifier corresponding to the session identifier in the second correspondence, and therefore, the session management device can send the session deletion indication to the second network node.
  • the method for session management provided by the embodiment provides centralized control of session management and session transmission between nodes through an additionally set session management device, thereby enabling unified maintenance of sessions between network nodes and Management, which reduces the burden on the application layer and reduces the workload of network protocol development and post-maintenance.
  • the method may include:
  • the session management device receives a session service request sent by the session service initiation node.
  • the session service request includes a session service initiation node identifier and session information.
  • the session management device responds to the session service request according to the first correspondence between the session identifier and the session service initiation node.
  • S903 The session management device sends a response message corresponding to the session service request to the session service initiation node.
  • the session service request may include a session creation request; wherein the session service initiation node identifier is: an identifier of the first network node as a session service initiator, the session information includes a session type, and the session creation The request further includes an identifier of the second network node that is the target end of the session service;
  • step S902 that is, the session management device is targeted to the session industry.
  • the service request responds according to the first correspondence between the session identifier and the session service originating node, including:
  • the session management device sets a corresponding session identifier for the session creation request, and establishes a first correspondence between the session identifier and the session type and the first network node identifier according to the session creation request.
  • the session management device sends a session creation indication to the second network node according to the first correspondence relationship.
  • the session creation indication includes the session identifier and the session type.
  • the session management device receives the creation confirmation message sent by the second network node, and establishes a second correspondence between the session identifier and the session type, the first network node identifier, and the second network node identifier according to the create confirmation message. ;
  • the creation confirmation message includes the session identifier.
  • the method may include: the session management device sends a session creation response message to the first network node;
  • the session creation response message includes the session identifier.
  • the solution shown in FIG. 10 is a process for session creation by the session management device side; in addition, the common operation scenarios in the session connection include session communication, session modification, and session deletion, therefore:
  • the method further includes:
  • the session management device receives the session message sent by the first network node.
  • the method further includes:
  • the session deletion indication includes a session identifier to be deleted.
  • the session management device deletes the corresponding second correspondence according to the session identifier to be deleted, and sends a session deletion response message to the first network node.
  • the method may include:
  • S1401 Send a session service request to the session management device.
  • S1402 Receive a response message that is sent by the session management device corresponding to the session service request.
  • the session service request includes: a session creation request
  • the session service initiation node identifier is: an identifier of the first network node that is a session service initiator, the session information includes a session type, and the session creation request is further included.
  • the response message corresponding to the session service request is sent to receive a session creation response message sent by the session management device;
  • the session creation response message includes a session identifier.
  • the method further includes:
  • the session message includes the session identifier and session content.
  • the method further includes:
  • S1501 The first network node sends a session modification request to the session management device.
  • the session modification request includes the session identifier and content to be modified
  • S1502 The first network node receives the session modification response sent by the session management device.
  • the method further includes:
  • S1601 The first network node sends a session deletion request to the session management device.
  • the session deletion request includes a session identifier to be deleted
  • S1603 The first network node deletes the application context corresponding to the session identifier to be deleted.
  • the method may include:
  • S1701 Receive a session creation indication sent by the session management device.
  • the session creation indication includes a session identifier and a session type.
  • S1702 Create a corresponding session context creation according to the session creation indication.
  • S1503 Feed back a create confirmation message to the session management device, where the create confirmation message includes a session identifier.
  • the second network node receives a forwarding message sent by the session management device.
  • the forwarding message includes the session identifier and session content.
  • the second network node After receiving the forwarding message, the second network node delivers the session content to its corresponding application context according to the session identifier for processing.
  • the session deletion indication includes a session identifier to be deleted.
  • the session deletion confirmation message includes the session identifier to be deleted.
  • the first sending module 2003 is configured to send a response message corresponding to the session service request to the session service initiating node.
  • the session service request includes a session creation request; wherein the conference
  • the service initiation node identifier is: an identifier of the first network node that is a session service initiator, the session information includes a session type, and the session creation request further includes an identifier of a second network node that is a target end of the session service;
  • the first sending module 2003 is configured to send a session creation indication to the second network node according to the first correspondence relationship, where the session creation indication includes the session identifier and the session type;
  • the first receiving module 2001 is further configured to receive a creation confirmation message sent by the second network node, where the creation confirmation message includes the session identifier;
  • the first sending module 2003 is further configured to send a session creation response message to the first network node, where the session creation response message includes the session identifier.
  • the session management device 200 further includes a modification module 2004;
  • the first receiving module 2001 is further configured to receive a session modification request sent by the first network node, where the session modification request includes the session identifier and content to be modified;
  • the session management device 200 further includes a first deletion module 2005;
  • the first receiving module 2001 is further configured to receive a session deletion confirmation message returned by the second network node, where the session deletion confirmation message includes a session identifier to be deleted;
  • the first sending module 2003 is further configured to send a session deletion response message to the first network node, where the session deletion response message includes the session identifier to be deleted.
  • the second receiving module 2202 is configured to receive a response message that is sent by the session management device for the session service request.
  • the session service request includes: a session creation request; wherein the session service initiation node identifier is: an identifier of the first network node that is a session service initiator, and the session information includes a session type.
  • the session creation request further includes an identifier of the second network node that is the target end of the session service;
  • the second receiving module 2202 is configured to receive a session creation response message sent by the session management device, where the session creation response message includes a session identifier.
  • the second sending module 2201 is further configured to send a session message to the session management device, where the session message includes the session identifier and session content.
  • the second sending module 2201 is further configured to send a session modification request to the session management device, where the session modification request includes the session identifier and content to be modified;
  • the second receiving module 2202 is further configured to receive a session modification response sent by the session management device.
  • the first network node 220 further includes a second deletion module 2203;
  • the second sending module 2201 is further configured to send a session deletion request to the session management device, where the session deletion request includes a session identifier to be deleted;
  • the second receiving module 2202 is further configured to receive a session deletion response message sent by the session management device, where the session deletion response message includes a session identifier to be deleted;
  • the second deletion module 2203 is further configured to delete the application context corresponding to the session identifier to be deleted by the first network node itself.
  • a second network node 240 is provided in the embodiment of the present invention.
  • the second network node 240 may include: a third receiving module 2401, a session context processing module 2402, and a third sending module 2403. ,
  • the third receiving module 2401 is configured to receive a session creation indication sent by the session management device, where the session creation indication includes a session identifier and a session type;
  • the session context processing module 2402 is configured to establish a corresponding session context creation according to the session creation indication
  • the third sending module 2403 is configured to feed back a create confirmation message to the session management device, where the create confirmation message includes a session identifier.
  • the third receiving module 2401 is further configured to receive a forwarding message sent by the session management device, where the forwarding message includes the session identifier and session content;
  • the session context processing module 2402 is further configured to process the session content to the corresponding application context according to the session identifier.
  • the third receiving module 2401 is further configured to receive a session deletion indication sent by the session management device, where the session deletion indication includes a session identifier to be deleted;
  • the session context processing module 2402 is further configured to delete the application context corresponding to the session identifier to be deleted by the second network node itself, and return a session deletion confirmation message to the session management device;
  • the session deletion confirmation message includes the session identifier to be deleted.
  • the system 250 may include: a session management device 200, and a first network node 220 as an initiator;
  • the session management device 240 is configured to receive a session service request sent by the first network node 220, where the session service request includes a first network node 220 identifier and session information;
  • the first network node 220 is configured to send a session service request to the session management device 200;
  • Embodiments of the present invention provide a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed by a processor.
  • the application can take the form of a hardware embodiment, a software embodiment, or an embodiment in combination with software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • an independent session management device is set in the network architecture, the session layer management and the application layer protocol are decoupled, and the session relationship is uniformly maintained, thereby reducing the burden on the application layer and reducing network protocol formulation and post-maintenance. The amount of work.

Landscapes

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

Abstract

本文公布一种会话管理的方法、设备和***,所述方法包括:会话管理设备接收会话业务发起节点发送的会话业务请求;所述会话管理设备针对所述会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应;所述会话管理设备将会话业务请求对应的响应消息发送至所述会话业务发起节点。

Description

一种会话管理的方法、设备和*** 技术领域
本申请涉及但不限于无线通信技术,尤指一种会话管理的方法、设备和***。
背景技术
为了实现计算机***的互联,开放***互联(OSI,Open System Interconnection)参考模型将网络的通信功能划分为7个层级,同时也定义了各层级之间的相互关系以及各层级所包括的服务及功能。
OSI模型的七个层级由低到高依次为:物理层、数据链路层、网络层、传输层、会话层、表示层和应用层。其中,会话层的主要功能是在两个节点间建立、维护和释放面向用户的连接,并对会话进行管理和控制,保证会话数据可靠传送。
但是,在当前通信行业标准组织第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)所制定的协议中,没有单独体现会话连接过程,而是直接包含在了应用层协议的描述之中。3GPP所制定的协议中,对于当前实现会话连接的方式,有如下一些特点:会话关系由网络通信节点的应用层各自维护以及会话过程包含在应用层协议之中。这种现象会随着通信节点间会话关系数量增多,而导致应用层维护困难,极大增加应用层负担;并且由于应用层协议制定过程中同时要考虑会话连接过程,也会极大增加协议制定以及后期开发维护过程的工作量。
发明概述
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例期望提供一种会话管理的方法、设备和***,能够降低应用层的负担,并且减少网络协议制定及后期维护的工作量。
第一方面,本发明实施例提供了一种会话管理的方法,所述方法应用于在网络架构内的网络节点中额外设置的会话管理设备,所述方法包括:
会话管理设备接收会话业务发起节点发送的会话业务请求;其中,所述会话业务请求包括会话业务发起节点标识以及会话信息;
所述会话管理设备针对所述会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应;
所述会话管理设备将会话业务请求对应的响应消息发送至所述会话业务发起节点。
在一实施方式中,所述会话业务请求包括会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
相应地,所述会话管理设备针对所述会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应,包括:
所述会话管理设备针对所述会话创建请求设置对应的会话标识,并根据所述会话创建请求建立所述会话标识与所述会话类型以及所述第一网络节点标识之间的第一对应关系;
所述会话管理设备根据所述第一对应关系向第二网络节点发送会话创建指示;其中,所述会话创建指示包括所述会话标识和所述会话类型;
所述会话管理设备接收所述第二网络节点发送的创建确认消息,并根据创建确认消息建立所述会话标识与会话类型、第一网络节点标识以及第二网络节点标识之间的第二对应关系;其中,所述创建确认消息包括所述会话标识;
相应地,所述会话管理设备将会话业务请求对应的响应消息发送至所述会话业务发起节点,包括:
所述会话管理设备向第一网络节点发送会话创建响应消息;其中,所述会话创建响应消息包括所述会话标识。
在一实施方式中,所述方法还包括:
所述会话管理设备接收所述第一网络节点发送的会话消息;其中,所述会话消息包括所述会话标识以及会话内容;
所述会话管理设备根据所述会话标识及所述第二对应关系将所述会话内容转发至所述第二网络节点;其中,所述转发消息中包括所述会话标识和所述会话内容。
在一实施方式中,所述方法还包括:
所述会话管理设备接收所述第一网络节点发送的会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
所述会话管理设备根据所述会话修改请求修改对应的所述第二对应关系;
所述会话管理设备向所述第一网络节点发送会话修改响应。
在一实施方式中,所述方法还包括:
所述会话管理设备接收所述第一网络节点发送的会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
所述会话管理设备向所述第二网络节点发送会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
所述会话管理设备接收所述第二网络节点返回的会话删除确认消息;其中,所述会话删除确认消息包括待删除的会话标识;
所述会话管理设备根据所述待删除的会话标识将对应的所述第二对应关系进行删除,并向所述第一网络节点发送会话删除响应消息;其中,所述会话删除响应消息包括所述待删除的会话标识。
第二方面,本发明实施例提供了一种会话管理的方法,所述方法应用于作为会话业务发起端的第一网络节点,所述方法包括:
向会话管理设备发送会话业务请求;其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话业务请求包括第一网络节点标识以及会话信息;
接收所述会话管理设备针对所述会话业务请求对应发送的响应消息。
在一实施方式中,所述会话业务请求包括:会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
相应地,所述针对所述会话业务请求对应发送的响应消息包括会话创建响应消息;其中,所述会话创建响应消息包括会话标识。
在一实施方式中,所述方法还包括:
所述第一网络节点向所述会话管理设备发送会话消息;其中,所述会话消息包括所述会话标识以及会话内容。
在一实施方式中,所述方法还包括:
所述第一网络节点向所述会话管理设备发送会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
所述第一网络节点接收由所述会话管理设备发送的会话修改响应。
在一实施方式中,所述方法还包括:
所述第一网络节点向所述会话管理设备发送会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
所述第一网络节点接收由所述会话管理设备发送的会话删除响应消息;其中,所述会话删除响应消息包括待删除的会话标识;
所述第一网络节点将自身与所述待删除的会话标识对应的应用上下文进行删除。
第三方面,本发明实施例提供了一种会话管理方法,所述方法应用于第二网络节点,所述方法包括:
接收会话管理设备所发送的会话创建指示;其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话创建指示包括会话标识和会话类型;
根据所述会话创建指示建立对应的会话上下文创建;
向所述会话管理设备反馈创建确认消息;其中,所述创建确认消息包 括会话标识。
在一实施方式中,所述方法还包括:
所述第二网络节点接收由所述会话管理设备发送的转发消息;其中,所述转发消息包括所述会话标识和会话内容;
所述第二网络节点根据所述会话标识将会话内容投递到自身对应的应用上下文进行处理。
在一实施方式中,所述方法还包括:
所述第二网络节点接收由所述会话管理设备发送的会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
所述第二网络节点将自身与所述待删除的会话标识对应的应用上下文进行删除,并向所述会话管理设备返回会话删除确认消息;其中,所述会话删除确认消息包括所述待删除的会话标识。
第四方面,本发明实施例提供了一种会话管理设备,所述会话管理设备包括:第一接收模块、响应模块和第一发送模块;其中,
所述第一接收模块,设置为接收会话业务发起节点发送的会话业务请求;其中,所述会话业务请求包括会话业务发起节点标识以及会话信息;
所述响应模块,设置为针对所述会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应;
所述第一发送模块,设置为将会话业务请求对应的响应消息发送至所述会话业务发起节点。
在一实施方式中,所述会话业务请求包括会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
相应地,所述响应模块,设置为针对所述会话创建请求设置对应的会话标识,并根据所述会话创建请求建立所述会话标识与所述会话类型以及所述第一网络节点标识之间的第一对应关系;
所述第一发送模块,设置为根据所述第一对应关系向第二网络节点发送会话创建指示;其中,所述会话创建指示包括所述会话标识和所述会话类型;
所述第一接收模块,还设置为接收所述第二网络节点发送的创建确认消息;其中,所述创建确认消息包括所述会话标识;
所述响应模块,还设置为根据创建确认消息建立所述会话标识与会话类型、第一网络节点标识以及第二网络节点标识之间的第二对应关系;
相应地,所述第一发送模块,还设置为向第一网络节点发送会话创建响应消息;其中,所述会话创建响应消息包括所述会话标识。
在一实施方式中,所述第一接收模块,还设置为接收所述第一网络节点发送的会话消息;其中,所述会话消息包括所述会话标识以及会话内容;
所述第一发送模块,还设置为根据所述会话标识及所述第二对应关系将所述会话内容转发至所述第二网络节点;其中,所述转发消息中包括所述会话标识和所述会话内容。
在一实施方式中,所述会话管理设备还包括修改模块;
所述第一接收模块,还设置为接收所述第一网络节点发送的会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
所述修改模块,设置为根据所述会话修改请求修改对应的所述第二对应关系;
所述第一发送模块,设置为向所述第一网络节点发送会话修改响应。
在一实施方式中,所述会话管理设备,还包括第一删除模块;
所述第一接收模块,还设置为接收所述第一网络节点发送的会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
所述第一发送模块,还设置为向所述第二网络节点发送会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
所述第一接收模块,还设置为接收所述第二网络节点返回的会话删除 确认消息;其中,所述会话删除确认消息包括待删除的会话标识;
所述第一删除模块,设置为根据所述待删除的会话标识将对应的所述第二对应关系进行删除;
所述第一发送模块,还设置为向所述第一网络节点发送会话删除响应消息;其中,所述会话删除响应消息包括所述待删除的会话标识。
第五方面,本发明实施例提供了一种第一网络节点,所述第一网络节点作为会话业务的发起端,包括:第二发送模块和第二接收模块;其中,
所述第二发送模块,设置为向会话管理设备发送会话业务请求;其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话业务请求包括第一网络节点标识以及会话信息;
所述第二接收模块,设置为接收所述会话管理设备针对所述会话业务请求对应发送的响应消息。
在一实施方式中,所述会话业务请求包括:会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
相应地,所述第二接收模块,设置为接收由所述会话管理设备发送的会话创建响应消息;其中,所述会话创建响应消息包括会话标识。
在一实施方式中,所述第二发送模块,还设置为向所述会话管理设备发送会话消息;其中,所述会话消息包括所述会话标识以及会话内容。
在一实施方式中,所述第二发送模块,还设置为向所述会话管理设备发送会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
所述第二接收模块,还设置为接收由所述会话管理设备发送的会话修改响应。
在一实施方式中,所述第一网络节点还包括第二删除模块;
所述第二发送模块,还设置为向所述会话管理设备发送会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
所述第二接收模块,还设置为接收由所述会话管理设备发送的会话删除响应消息;其中,所述会话删除响应消息包括待删除的会话标识;
所述第二删除模块,设置为将所述第一网络节点自身与所述待删除的会话标识对应的应用上下文进行删除。
第六方面,本发明实施例提供了一种第二网络节点,所述第二网络节点包括:第三接收模块、会话上下文处理模块和第三发送模块;其中,
所述第三接收模块,设置为接收会话管理设备所发送的会话创建指示;其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话创建指示包括会话标识和会话类型;
所述会话上下文处理模块,设置为根据所述会话创建指示建立对应的会话上下文创建;
所述第三发送模块,设置为向所述会话管理设备反馈创建确认消息;其中,所述创建确认消息包括会话标识。
在一实施方式中,所述第三接收模块,还设置为接收由所述会话管理设备发送的转发消息;其中,所述转发消息包括所述会话标识和会话内容;
所述会话上下文处理模块,还设置为根据会话标识将会话内容投递到自身对应的应用上下文进行处理。
在一实施方式中,所述第三接收模块,还设置为接收由所述会话管理设备发送的会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
所述会话上下文处理模块,还设置为将所述第二网络节点自身与所述待删除的会话标识对应的应用上下文进行删除,并向所述会话管理设备返回会话删除确认消息;其中,所述会话删除确认消息包括所述待删除的会话标识。
第七方面,本发明实施例提供了一种会话管理***,所述***包括:会话管理设备、作为会话业务发起端的第一网络节点;其中,
所述会话管理设备,设置为接收第一网络节点发送的会话业务请求; 其中,所述会话业务请求包括第一网络节点标识以及会话信息;
以及,针对所述会话业务请求根据会话标识与第一网络节点之间的第一对应关系进行响应;
以及,将会话业务请求对应的响应消息发送至所述第一网络节点;
所述第一网络节点,设置为向会话管理设备发送会话业务请求;
以及,接收所述会话管理设备针对所述会话业务请求对应发送的响应消息。
第七方面,本发明实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述会话管理的方法。
本发明实施例提供了一种会话管理的方法、设备和***,通过在网络架构中设置独立的会话管理设备,解耦会话层管理与应用层协议,并对会话关系进行统一维护,从而能够降低应用层的负担,并且减少网络协议制定及后期维护的工作量。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为网络节点之间会话连接关系的拓扑结构示意图;
图2为SAE架构示意图;
图3为本发明实施例提供的一种网络节点之间会话连接关系的拓扑结构示意图;
图4为本发明实施例提供的一种会话管理方法的流程示意图;
图5为本发明实施例提供的一种会话创建的流程示意图;
图6为本发明实施例提供的一种会话通信的详细流程示意图;
图7为本发明实施例提供的一种会话修改的详细流程示意图;
图8为本发明实施例提供的一种会话删除的详细流程示意图;
图9为本发明实施例提供的一种会话管理的流程示意图;
图10为本发明实施例提供的一种会话管理设备针对会话业务请求进行响应的路程示意图;
图11为本发明实施例提供的一种会话通信的流程示意图;
图12为本发明实施例提供的一种会话修改的流程示意图;
图13为本发明实施例提供的一种会话删除的流程示意图;
图14为本发明实施例提供的另一种会话管理的流程示意图;
图15为本发明实施例提供的另一种会话修改的流程示意图;
图16为本发明实施例提供的另一种会话删除的流程示意图;
图17为本发明实施例提供的又一种会话管理的流程示意图;
图18为本发明实施例提供的又一种会话通信的流程示意图;
图19为本发明实施例提供的又一种会话删除的流程示意图;
图20为本发明实施例提供的一种会话管理设备的结构示意图;
图21为本发明实施例提供的另一种会话管理设备的结构示意图;
图22为本发明实施例提供的一种第一网络节点的结构示意图;
图23为本发明实施例提供的另一种第一网络节点的结构示意图;
图24为本发明实施例提供的一种第二网络节点的结构示意图;
图25为本发明实施例提供的一种会话管理***的结构示意图。
详述
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
由于会话关系由网络通信节点的应用层各自维护,并且会话过程包含在应用层协议之中,因此,在网络中,网络节点之间的会话连接关系可以如图1所示,两个网络节点之间的会话(Session)的连接关系通过各自的应用程进行维护和管理,可以看出,目前网络节点之间的会话连接关系属于点对点连接关系。
以目前的网络架构为例,如图2所示的***架构演进(SAE,System Architecture Evolution)架构,可以看出架构中的网络节点数量有限,因此,网络节点之间的会话连接不会对整个***架构的应用层造成明显的负担。但是,随着未来网络所承载的业务类型更加丰富,如虚拟现实、触觉互联网、物联网等,基于目前网络架构中网络节点的会话连接关系将不能满足这些各种业务所带来的吞吐量、时延、可靠性、连接密度等多样化的需求。当面对数量众多且又可以灵活部署的网络节点时,继续沿用已有的会话连接关系不仅会导致应用层维护困难所引发的网络节点应用层的负荷加大,而且还会极大增加协议制定以及后期开发维护过程的工作量。
本发明实施例基于目前网络架构中,各网络通信节点的应用层对会话管理方面的基本需求,设置额外的会话管理设备,以图3为例,将额外设置的会话管理设备作为中央节点,并且将需要进行会话连接的网络节点通过点对点的方式将会话(Session)连接到会话管理设备这一中央节点上,从而形成星型拓扑结构的会话连接关系,在星型拓扑结构中任何两个网络节点要进行会话连接都经过作为中央节点的会话管理设备控制,从而能够对通信节点之间的会话进行统一的维护和管理,从而降低应用层的负担,并且减少网络协议制定及后期维护的工作量。
实施例一
参见图4,其示出了本发明实施例提供的一种会话管理方法,该方法可以应用于图3所示的会话连接关系拓扑示意图中,在图3所示的拓扑关系中,会话管理设备是额外设置的,该方法可以包括:
S401:第一网络节点向会话管理设备发送会话业务请求;
其中,第一网络节点作为会话业务发起端,所发送的会话业务请求中可以包括第一网络节点的标识以及会话信息;
S402:会话管理设备针对会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应;
S403:会话管理设备将会话业务请求对应的响应消息发送至第一网络节点。
其中,会话业务请求的种类较多,可以包括会话创建请求,以会话创建请求为例,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;因此,技术方案的实现可以如图5所示,
S501:第一网络节点向会话管理设备发送会话创建请求;
在图5所示的方案的过程中,第一网络节点是会话创建的发起端,向作为创建会话的目标端的第二网络节点发起会话。因此,基于图3所示的会话连接的拓扑结构,可以将会话创建请求发送至会话管理设备,而无需直接向创建会话的目标端发送会话创建请求。
其中,会话创建请求(Create Session Request)可以包括:作为发起端的第一网络节点的标识、会话类型、以及作为目标端的第二网络节点的标识;
在实现过程中,第一网络节点标识可以是第一网络节点的传输层地址信息,可以包括显示的地址信息,例如第一网络节点的IP地址及会话端口;也可以是隐式的地址信息,例如需要通过域名***(DNS,Domain Name System)进行转换的统一资源定位符(URL,Uniform Resource Locator);
会话类型则与进行会话的应用相关,主要目的是为了告知作为目标端的第二节点所创建的会话类型,例如节点级或用户级别的会话类型,也可以根据实际应用进一步扩展会话类型;
第二网络节点标识可以是第二网络节点的传输层地址信息,可以包括显示的地址信息,例如第二网络节点的IP地址及会话端口(Port);也可以是隐式的地址信息,例如需要通过DNS(Domain Name System,域名***)进行转换的URL(Uniform Resource Locator,统一资源定位符);还可以仅是作为目标端的节点类型(Node Type),从而可以通过将会话创建请求发送到网络架构中指定节点类型对应的负载均衡模块,通过负载均衡模块从目标端节点的集群中选择一个作为目标端的第二网络节点。
S502:会话管理设备针对会话创建请求设置对应的会话标识,并根据会话创建请求建立所述会话标识与会话类型以及第一网络节点标识之间的第一对应关系;
其中,会话管理设备可以针对会话创建请求建立对应的会话记录;会话记录的一种实现形式可以是一条对应关系表,会话管理设备针对会话创建请求为对应关系表分配主键Session Id,也就是会话标识;并且,会话管理设备可以通过解析会话创建请求,获取会话类型(Session Type)以及第一网络节点标识(Peer TnlAddr1);并且在对应关系表中,将已分配好的主键与会话类型以及第一网络节点标识建立对应关系,列举而非限定的,对应关系表可以如表1所示:
Figure PCTCN2017084589-appb-000001
表1
在表1中,Session Id的形式可以为数字(Number)形式;Session Type可以为枚举(Enum)形式,会话管理设备可以从已有的枚举备选项中选择对应的会话类型;Peer TnlAddr1可以是IP地址及会话端口(Port)形式;可以理解地,对应关系表中还可以包括第二网络节点标识(Peer TnlAddr2),以及根据应用的会话管理需要而扩展的其他字段(Ext);由于此时作为目标端的第二网络节点并不知晓会话创建请求,所以,会话管理设备可以将如表1所示的对应关系表中的Peer TnlAddr2留空,此时会话记录中的对应关系表所指示的内容即为第一对应关系。
S503:会话管理设备根据第一对应关系向第二网络节点发送会话创建指示;
其中,会话创建指示(Create Session Indication)可以包括会话标识和会话类型。
S504:第二网络节点根据会话创建指示建立对应的会话上下文创建;
其中,第二网络节点可以根据会话类型(Session Type)在应用层进行必要的上下文创建工作,并保存主键Session Id用于后续的会话通信;
S505:第二网络节点向会话管理设备反馈创建确认消息;
其中,创建确认消息(Create Session Confirmation)可以包括会话标识(Session Id),用于提示会话管理设备第二网络节点已经完成了该会话标识对应的会话的上下文创建。
S506:会话管理设备根据创建确认消息建立所述会话标识与会话类型、第一网络节点标识以及第二网络节点标识之间的第二对应关系;
其中,会话管理设备在接收到创建确认消息后,可以根据创建确认消息中所包括的主键Session Id查找到相应的对应关系表,并且将该主键SessionId对应的第二网络节点标识(Peer TnlAddr2)补充完整,得到的第二对应关系,就是完善之后的完整会话记录。
S507:会话管理设备向第一网络节点发送会话创建响应消息;
其中,会话创建响应消息(Create Session Response)包括会话标识;可以是主键Session Id。第一网络节点接收到会话建立响应消息之后,可以包括该主键Session Id,用于后续的会话通信。
图5所示的过程中可以定义第一网络节点与会话管理设备之间的会话创建请求和会话创建响应原语;还可以定义会话管理设备与第二网络节点之间的会话创建指示和会话创建确认原语。实际的定义过程本实施例不做赘述。
示例性地,第一网络节点与第二网络节点通过图5所示的过程建立会话完毕后,就可以进行会话通信;因此,如图6所示,以第一网络节点为会话消息的发送方、第二网络节点为会话消息的接收方为例,网络节点之间进行会话的过程可以包括:
S601:第一网络节点向会话管理设备发送会话消息;
其中,所述会话消息包括会话标识以及会话内容;
S602:会话管理设备根据会话标识及第二对应关系将会话内容转发至第二网络节点;
其中,转发消息中包括会话标识和会话内容;
其中,会话管理设备可以根据会话消息中的会话标识查询第二对应关系,于是可以从第二对应关系中查询得到第二网络节点标识,于是将会话内容和会话标识封装至转发消息中,根据查询得到的第二网络标识将转发消息发送至第二网络节点,从而实现了将会话内容进行转发的过程。
S603:第二网络节点接收到转发消息后,根据会话标识将会话内容投递到自身对应的应用上下文进行处理。
图6所示的过程也可以定义两个原语:
第一网络节点与会话管理设备之间的消息发送原语;
例如:SendMsg(Session Id,Msg):其中,Session Id用于会话管理设备会话层查找会话记录,将消息Msg通过传输层投递到第二网络节点;
第二网络节点与会话管理设备之间的消息接收原语;
例如:RecvMsg(Session Id,Msg):其中,Session Id用于第二网络节点将消息Msg投递到自身对应的应用上下文进行处理。
示例性地,第一网络节点与第二网络节点通过图5所示的过程建立会话完毕并进行会话通信的过程中,会话双方的任一方均会针对会话进行修改,如图7所示的会话修改的详细流程,可以理解地,能够进行会话修改既可以是第一网络节点,也可以是第二网络节点,本实施例中以第一网络节点为例进行说明,本领域技术人员可以无需创造性劳动就能够将图7所示的方案应用于第二网络节点对会话进行修改的情况,图7所示的流程可以包括:
S701:第一网络节点向会话管理设备发送会话修改请求;
其中,所述会话修改请求(Modify Session Request)可以包括会话标识(Session Id)以及需修改的内容,例如:第一网络节点的地址发生改变时,第一网络节点的新标识;或者第一网络节点中,针对会话管理的应用发生改变时,需要变更的扩展字段(Ext)内容等;
S702:会话管理设备根据会话修改请求修改对应的第二对应关系;
其中,会话管理设备可以根据会话标识(Session Id)查询第二对应关 系,并且根据需修改的内容修改第二对应关系中的相应内容。
S703:会话管理设备向第一网络节点发送会话修改响应(Modify Session Response)。
从而通过图7所示的方案实现了会话修改的流程。图6所示的过程也可以定义两个原语:网络节点与会话管理设备之间的会话修改请求及会话修改响应原语。
示例性地,第一网络节点与第二网络节点通过图5所示的过程建立会话完毕并进行会话通信的过程中,会话双方的任一方均会针对会话进行删除,在图8所示的会话删除的详细流程中,删除的的发起方为第一网络节点,被删除会话的关联方为第二网络节点,因此,会话删除流程可以包括:
S801:第一网络节点向会话管理设备发送会话删除请求;
其中,所述会话删除请求(Delete Session Request)可以包括待删除的会话标识(Session Id);
S802:会话管理设备向第二网络节点发送会话删除指示;
其中,所述会话删除指示(Delete Session Indication)可以包括待删除的会话标识(Session Id);
可以理解地,第二网络节点是第二对应关系中,会话标识对应的第二网络节点标识,因此,会话管理设备可以向第二网络节点发送会话删除指示。
S803:第二网络节点将自身与待删除的会话标识对应的应用上下文进行删除,并向会话管理设备返回会话删除确认消息;
其中,会话删除确认消息(Delete Session Confirmation)包括待删除的会话标识(Session Id)。
S804:会话管理设备根据待删除的会话标识将对应的第二对应关系进行删除,并向第一网络节点发送会话删除响应消息;
其中,会话删除响应消息(Delete Session Response)包括待删除的会话标识(Session Id)。
S805:第一网络节点将自身与待删除的会话标识对应的应用上下文进行删除。
从而通过图8所示的方案实现了会话删除的流程。需要说明的是,图8所示的过程可以定义四个原语:
第一网络节点与会话管理设备之间的会话删除请求、会话删除响应原语;以及,会话管理设备与第二网络节点之间的会话删除指示、会话删除确认原语。
在基于图3所示的会话连接关系的拓扑结构下,本实施例通过上述图5至图8所示的流程,对图4所示的会话业务中常见的操作场景,诸如会话创建、会话通信、会话修改及会话删除等场景的技术方案实现进行了阐述。
本实施例提供的一种会话管理的方法,通过额外设置的会话管理设备,对节点之间的会话管理及会话传输进行集中式的控制,从而能够对网络节点之间的会话进行统一的维护和管理,从而降低应用层的负担,并且减少网络协议制定及后期维护的工作量。
实施例二
参见图9,其示出了本发明实施例提供的一种应用于会话管理设备的会话管理的方法,该方法可以包括:
S901:会话管理设备接收会话业务发起节点发送的会话业务请求;
其中,所述会话业务请求包括会话业务发起节点标识以及会话信息;
S902:会话管理设备针对所述会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应;
S903:会话管理设备将会话业务请求对应的响应消息发送至所述会话业务发起节点。
示例性地,会话业务请求可以包括会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
相应地,参见图10,步骤S902,即所述会话管理设备针对所述会话业 务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应,包括:
S9021:会话管理设备针对所述会话创建请求设置对应的会话标识,并根据所述会话创建请求建立所述会话标识与所述会话类型以及所述第一网络节点标识之间的第一对应关系;
S9022:会话管理设备根据所述第一对应关系向第二网络节点发送会话创建指示;
其中,所述会话创建指示包括所述会话标识和所述会话类型;
S9023:会话管理设备接收所述第二网络节点发送的创建确认消息,并根据创建确认消息建立所述会话标识与会话类型、第一网络节点标识以及第二网络节点标识之间的第二对应关系;
其中,所述创建确认消息包括所述会话标识;
相应地,步骤S903,即所述会话管理设备将会话业务请求对应的响应消息发送至所述会话业务发起节点,可以包括:会话管理设备向第一网络节点发送会话创建响应消息;
其中,所述会话创建响应消息包括所述会话标识。
可以理解地,图10所示的方案是会话管理设备侧进行会话创建的流程;此外,会话连接中常见的操作场景还包括会话通信、会话修改及会话删除,因此:
对于会话通信,参见图11,所述方法还包括:
S1101:会话管理设备接收所述第一网络节点发送的会话消息;
其中,所述会话消息包括所述会话标识以及会话内容;
S1102:会话管理设备根据所述会话标识及所述第二对应关系将所述会话内容转发至所述第二网络节点;
其中,所述转发消息中包括所述会话标识和所述会话内容。
对于会话修改,参见图12,所述方法还包括:
S1201:会话管理设备接收所述第一网络节点发送的会话修改请求;其 中,所述会话修改请求包括所述会话标识以及需修改的内容;
S1202:会话管理设备根据所述会话修改请求修改对应的所述第二对应关系;
S1203:会话管理设备向所述第一网络节点发送会话修改响应。
对于会话删除,参见图13,所述方法还包括:
S1301:会话管理设备接收所述第一网络节点发送的会话删除请求;
其中,所述会话删除请求包括待删除的会话标识;
S1302:会话管理设备向所述第二网络节点发送会话删除指示;
其中,所述会话删除指示包括待删除的会话标识;
S1303:会话管理设备接收所述第二网络节点返回的会话删除确认消息;
其中,所述会话删除确认消息包括待删除的会话标识;
S1304:会话管理设备根据所述待删除的会话标识将对应的所述第二对应关系进行删除,并向所述第一网络节点发送会话删除响应消息;
其中,所述会话删除响应消息包括所述待删除的会话标识。
实施例三
参见图14,其示出了本发明实施例提供的一种应用于作为发起端的第一网络节点的会话管理的方法,该方法可以包括:
S1401:向会话管理设备发送会话业务请求;
其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话业务请求包括第一网络节点标识以及会话信息;
S1402:接收会话管理设备针对所述会话业务请求对应发送的响应消息。
示例性地,所述会话业务请求包括:会话创建请求;
其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包 括作为会话业务目标端的第二网络节点的标识;
相应地,所述针对所述会话业务请求对应发送的响应消息包括接收由所述会话管理设备发送的会话创建响应消息;
其中,所述会话创建响应消息包括会话标识。
可以理解地,上述示例的方案是第一网络节点侧进行会话创建的流程;此外,会话连接中常见的操作场景还包括会话通信、会话修改及会话删除,因此:
对于会话通信,所述方法还包括:
所述第一网络节点向所述会话管理设备发送会话消息;
其中,所述会话消息包括所述会话标识以及会话内容。
对于会话修改,参见图15,所述方法还包括:
S1501:第一网络节点向所述会话管理设备发送会话修改请求;
其中,所述会话修改请求包括所述会话标识以及需修改的内容;
S1502:第一网络节点接收由所述会话管理设备发送的会话修改响应。
对于会话删除,参见图16,所述方法还包括:
S1601:第一网络节点向所述会话管理设备发送会话删除请求;
其中,所述会话删除请求包括待删除的会话标识;
S1602:第一网络节点接收由所述会话管理设备发送的会话删除响应消息;
其中,所述会话删除响应消息包括待删除的会话标识;
S1603:第一网络节点将自身与所述待删除的会话标识对应的应用上下文进行删除。
实施例四
参见图17,其示出了本发明实施例提供的一种应用于作为目标端的第二网络节点的会话管理的方法,该方法可以包括:
S1701:接收会话管理设备所发送的会话创建指示;
其中,所述会话创建指示包括会话标识和会话类型;
S1702:根据所述会话创建指示建立对应的会话上下文创建;
S1503:向所述会话管理设备反馈创建确认消息;其中,所述创建确认消息包括会话标识。
对于会话通信,参见图18,所述方法还包括:
S1801:所述第二网络节点接收由所述会话管理设备发送的转发消息;
其中,所述转发消息包括所述会话标识和会话内容;
S1802:第二网络节点接收到所述转发消息后,根据会话标识将会话内容投递到自身对应的应用上下文进行处理。
对于会话删除,参见图19,所述方法还包括:
S1901:第二网络节点接收由所述会话管理设备发送的会话删除指示;
其中,所述会话删除指示包括待删除的会话标识;
S1902:第二网络节点将自身与所述待删除的会话标识对应的应用上下文进行删除,并向所述会话管理设备返回会话删除确认消息;
其中,所述会话删除确认消息包括所述待删除的会话标识。
实施例五
参见图20,其示出了本发明实施例提供的一种会话管理设备200,该会话管理设备200可以包括:第一接收模块2001、响应模块2002和第一发送模块2003;其中,
所述第一接收模块2001,设置为接收会话业务发起节点发送的会话业务请求;其中,所述会话业务请求包括会话业务发起节点标识以及会话信息;
所述响应模块2002,设置为针对所述会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应;
所述第一发送模块2003,设置为将会话业务请求对应的响应消息发送至所述会话业务发起节点。
在上述方案中,所述会话业务请求包括会话创建请求;其中,所述会 话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
相应地,所述响应模块2002,设置为针对所述会话创建请求设置对应的会话标识,并根据所述会话创建请求建立所述会话标识与所述会话类型以及所述第一网络节点标识之间的第一对应关系;
所述第一发送模块2003,设置为根据所述第一对应关系向第二网络节点发送会话创建指示;其中,所述会话创建指示包括所述会话标识和所述会话类型;
所述第一接收模块2001,还设置为接收所述第二网络节点发送的创建确认消息;其中,所述创建确认消息包括所述会话标识;
所述响应模块2002,还设置为根据创建确认消息建立所述会话标识与会话类型、第一网络节点标识以及第二网络节点标识之间的第二对应关系;
所述第一发送模块2003,还设置为向第一网络节点发送会话创建响应消息;其中,所述会话创建响应消息包括所述会话标识。
在上述方案中,所述第一接收模块2001,还设置为接收所述第一网络节点发送的会话消息;其中,所述会话消息包括所述会话标识以及会话内容;
所述第一发送模块2003,还设置为根据所述会话标识及所述第二对应关系将所述会话内容转发至所述第二网络节点;其中,所述转发消息中包括所述会话标识和所述会话内容。
在上述方案中,参见图21,所述会话管理设备200还包括修改模块2004;
所述第一接收模块2001,还设置为接收所述第一网络节点发送的会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
所述修改模块2004,设置为根据所述会话修改请求修改对应的所述第 二对应关系;
所述第一发送模块2003,设置为向所述第一网络节点发送会话修改响应。
在上述方案中,参见图21,所述会话管理设备200,还包括第一删除模块2005;
所述第一接收模块2001,还设置为接收所述第一网络节点发送的会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
所述第一发送模块2003,还设置为向所述第二网络节点发送会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
所述第一接收模块2001,还设置为接收所述第二网络节点返回的会话删除确认消息;其中,所述会话删除确认消息包括待删除的会话标识;
所述第一删除模块2005,设置为根据所述待删除的会话标识将对应的所述第二对应关系进行删除;
所述第一发送模块2003,还设置为向所述第一网络节点发送会话删除响应消息;其中,所述会话删除响应消息包括所述待删除的会话标识。
实施例六
参见图22,其示出了本发明实施例提供的一种第一网络节点220的结构,该第一网络节点220包括:第二发送模块2201和第二接收模块2202;其中,
所述第二发送模块2201,设置为向会话管理设备发送会话业务请求;其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话业务请求包括第一网络节点标识以及会话信息;
所述第二接收模块2202,设置为接收所述会话管理设备针对所述会话业务请求对应发送的响应消息。
在上述方案中,所述会话业务请求包括:会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
相应地,所述第二接收模块2202,设置为接收由所述会话管理设备发送的会话创建响应消息;其中,所述会话创建响应消息包括会话标识。
在上述方案中,所述第二发送模块2201,还设置为向所述会话管理设备发送会话消息;其中,所述会话消息包括所述会话标识以及会话内容。
在上述方案中,所述第二发送模块2201,还设置为向所述会话管理设备发送会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
所述第二接收模块2202,还设置为接收由所述会话管理设备发送的会话修改响应。
在上述方案中,参见图23,所述第一网络节点220还包括第二删除模块2203;
所述第二发送模块2201,还设置为向所述会话管理设备发送会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
所述第二接收模块2202,还设置为接收由所述会话管理设备发送的会话删除响应消息;其中,所述会话删除响应消息包括待删除的会话标识;
所述第二删除模块2203,还设置为将所述第一网络节点自身与所述待删除的会话标识对应的应用上下文进行删除。
实施例七
参见图24,其示出了本发明实施例提供的一种第二网络节点240,该第二网络节点240可以包括:第三接收模块2401、会话上下文处理模块2402和第三发送模块2403;其中,
所述第三接收模块2401,设置为接收会话管理设备所发送的会话创建指示;其中,所述会话创建指示包括会话标识和会话类型;
所述会话上下文处理模块2402,设置为根据所述会话创建指示建立对应的会话上下文创建;
所述第三发送模块2403,设置为向所述会话管理设备反馈创建确认消息;其中,所述创建确认消息包括会话标识。
在上述方案中,所述第三接收模块2401,还设置为接收由所述会话管理设备发送的转发消息;其中,所述转发消息包括所述会话标识和会话内容;
所述会话上下文处理模块2402,还设置为根据会话标识将会话内容投递到自身对应的应用上下文进行处理。
在上述方案中,所述第三接收模块2401,还设置为接收由所述会话管理设备发送的会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
所述会话上下文处理模块2402,还设置为将所述第二网络节点自身与所述待删除的会话标识对应的应用上下文进行删除,并向所述会话管理设备返回会话删除确认消息;其中,所述会话删除确认消息包括所述待删除的会话标识。
实施例八
参见图25,其示出了本发明实施例提供的一种会话管理***250的结构,所述***250可以包括:会话管理设备200、作为发起端的第一网络节点220;其中,
所述会话管理设备240,设置为接收第一网络节点220发送的会话业务请求;其中,所述会话业务请求包括第一网络节点220标识以及会话信息;
以及,针对所述会话业务请求根据会话标识与第一网络节点220之间的第一对应关系进行响应;
以及,将会话业务请求对应的响应消息发送至所述第一网络节点220;
所述第一网络节点220,设置为向会话管理设备200发送会话业务请求;
以及,接收所述会话管理设备200针对所述会话业务请求对应发送的响应消息。
本发明实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述会话管理的方法。
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的实施例而已,并非用于限定本申请的保护范围。
工业实用性
本发明实施例通过在网络架构中设置独立的会话管理设备,解耦会话层管理与应用层协议,并对会话关系进行统一维护,从而能够降低应用层的负担,并且减少网络协议制定及后期维护的工作量。

Claims (27)

  1. 一种会话管理的方法,所述方法应用于在网络架构内的网络节点中额外设置的会话管理设备,所述方法包括:
    会话管理设备接收会话业务发起节点发送的会话业务请求;其中,所述会话业务请求包括会话业务发起节点标识以及会话信息;
    所述会话管理设备针对所述会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应;
    所述会话管理设备将会话业务请求对应的响应消息发送至所述会话业务发起节点。
  2. 根据权利要求1所述的方法,其中,所述会话业务请求包括会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
    相应地,所述会话管理设备针对所述会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应,包括:
    所述会话管理设备针对所述会话创建请求设置对应的会话标识,并根据所述会话创建请求建立所述会话标识与所述会话类型以及所述第一网络节点标识之间的第一对应关系;
    所述会话管理设备根据所述第一对应关系向第二网络节点发送会话创建指示;其中,所述会话创建指示包括所述会话标识和所述会话类型;
    所述会话管理设备接收所述第二网络节点发送的创建确认消息,并根据创建确认消息建立所述会话标识与会话类型、第一网络节点标识以及第二网络节点标识之间的第二对应关系;其中,所述创建确认消息包括所述会话标识;
    相应地,所述会话管理设备将会话业务请求对应的响应消息发送至所述会话业务发起节点,包括:
    所述会话管理设备向第一网络节点发送会话创建响应消息;其中,所述会话创建响应消息包括所述会话标识。
  3. 根据权利要求2所述的方法,所述方法还包括:
    所述会话管理设备接收所述第一网络节点发送的会话消息;其中,所述会话消息包括所述会话标识以及会话内容;
    所述会话管理设备根据所述会话标识及所述第二对应关系将所述会话内容转发至所述第二网络节点;其中,所述转发消息中包括所述会话标识和所述会话内容。
  4. 根据权利要求2所述的方法,所述方法还包括:
    所述会话管理设备接收所述第一网络节点发送的会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
    所述会话管理设备根据所述会话修改请求修改对应的所述第二对应关系;
    所述会话管理设备向所述第一网络节点发送会话修改响应。
  5. 根据权利要求2所述的方法,所述方法还包括:
    所述会话管理设备接收所述第一网络节点发送的会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
    所述会话管理设备向所述第二网络节点发送会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
    所述会话管理设备接收所述第二网络节点返回的会话删除确认消息;其中,所述会话删除确认消息包括待删除的会话标识;
    所述会话管理设备根据所述待删除的会话标识将对应的所述第二对应关系进行删除,并向所述第一网络节点发送会话删除响应消息;其中,所述会话删除响应消息包括所述待删除的会话标识。
  6. 一种会话管理的方法,所述方法应用于作为会话业务发起端的第一网络节点,所述方法包括:
    向会话管理设备发送会话业务请求;其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话业务请求包括第一网络节点标识以及会话信息;
    接收所述会话管理设备针对所述会话业务请求对应发送的响应消息。
  7. 根据权利要求6所述的方法,其中,所述会话业务请求包括:会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
    相应地,所述针对所述会话业务请求对应发送的响应消息包括会话创建响应消息;其中,所述会话创建响应消息包括会话标识。
  8. 根据权利要求7所述的方法,所述方法还包括:
    所述第一网络节点向所述会话管理设备发送会话消息;其中,所述会话消息包括所述会话标识以及会话内容。
  9. 根据权利要求7所述的方法,所述方法还包括:
    所述第一网络节点向所述会话管理设备发送会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
    所述第一网络节点接收由所述会话管理设备发送的会话修改响应。
  10. 根据权利要求7所述的方法,所述方法还包括:
    所述第一网络节点向所述会话管理设备发送会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
    所述第一网络节点接收由所述会话管理设备发送的会话删除响应消息;其中,所述会话删除响应消息包括待删除的会话标识;
    所述第一网络节点将自身与所述待删除的会话标识对应的应用上下文进行删除。
  11. 一种会话管理方法,所述方法应用于第二网络节点,所述方法包括:
    接收会话管理设备所发送的会话创建指示;其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话创建指示包括会话标识和会话类型;
    根据所述会话创建指示建立对应的会话上下文创建;
    向所述会话管理设备反馈创建确认消息;其中,所述创建确认消息包括 会话标识。
  12. 根据权利要求11所述的方法,所述方法还包括:
    所述第二网络节点接收由所述会话管理设备发送的转发消息;其中,所述转发消息包括所述会话标识和会话内容;
    所述第二网络节点根据所述会话标识将会话内容投递到自身对应的应用上下文进行处理。
  13. 根据权利要求11所述的方法,所述方法还包括:
    所述第二网络节点接收由所述会话管理设备发送的会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
    所述第二网络节点将自身与所述待删除的会话标识对应的应用上下文进行删除,并向所述会话管理设备返回会话删除确认消息;其中,所述会话删除确认消息包括所述待删除的会话标识。
  14. 一种会话管理设备,所述会话管理设备包括:第一接收模块、响应模块和第一发送模块;其中,
    所述第一接收模块,设置为接收会话业务发起节点发送的会话业务请求;其中,所述会话业务请求包括会话业务发起节点标识以及会话信息;
    所述响应模块,设置为针对所述会话业务请求根据会话标识与会话业务发起节点之间的第一对应关系进行响应;
    所述第一发送模块,设置为将会话业务请求对应的响应消息发送至所述会话业务发起节点。
  15. 根据权利要求14所述的会话管理设备,其中,所述会话业务请求包括会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
    相应地,所述响应模块,设置为针对所述会话创建请求设置对应的会话标识,并根据所述会话创建请求建立所述会话标识与所述会话类型以及所述第一网络节点标识之间的第一对应关系;
    所述第一发送模块,设置为根据所述第一对应关系向第二网络节点发送会话创建指示;其中,所述会话创建指示包括所述会话标识和所述会话类型;
    所述第一接收模块,还设置为接收所述第二网络节点发送的创建确认消息;其中,所述创建确认消息包括所述会话标识;
    所述响应模块,还设置为根据创建确认消息建立所述会话标识与会话类型、第一网络节点标识以及第二网络节点标识之间的第二对应关系;
    相应地,所述第一发送模块,还设置为向第一网络节点发送会话创建响应消息;其中,所述会话创建响应消息包括所述会话标识。
  16. 根据权利要求15所述的会话管理设备,其中,所述第一接收模块,还设置为接收所述第一网络节点发送的会话消息;其中,所述会话消息包括所述会话标识以及会话内容;
    所述第一发送模块,还设置为根据所述会话标识及所述第二对应关系将所述会话内容转发至所述第二网络节点;其中,所述转发消息中包括所述会话标识和所述会话内容。
  17. 根据权利要求15所述的会话管理设备,所述会话管理设备还包括修改模块;
    所述第一接收模块,还设置为接收所述第一网络节点发送的会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
    所述修改模块,设置为根据所述会话修改请求修改对应的所述第二对应关系;
    所述第一发送模块,设置为向所述第一网络节点发送会话修改响应。
  18. 根据权利要求15所述的会话管理设备,所述会话管理设备,还包括第一删除模块;
    所述第一接收模块,还设置为接收所述第一网络节点发送的会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
    所述第一发送模块,还设置为向所述第二网络节点发送会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
    所述第一接收模块,还设置为接收所述第二网络节点返回的会话删除确认消息;其中,所述会话删除确认消息包括待删除的会话标识;
    所述第一删除模块,设置为根据所述待删除的会话标识将对应的所述第二对应关系进行删除;
    所述第一发送模块,还设置为向所述第一网络节点发送会话删除响应消息;其中,所述会话删除响应消息包括所述待删除的会话标识。
  19. 一种第一网络节点,所述第一网络节点作为会话业务的发起端,包括:第二发送模块和第二接收模块;其中,
    所述第二发送模块,设置为向会话管理设备发送会话业务请求;其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话业务请求包括第一网络节点标识以及会话信息;
    所述第二接收模块,设置为接收所述会话管理设备针对所述会话业务请求对应发送的响应消息。
  20. 根据权利要求19所述的第一网络节点,其中,所述会话业务请求包括:会话创建请求;其中,所述会话业务发起节点标识为:作为会话业务发起端的所述第一网络节点的标识,所述会话信息包括会话类型,所述会话创建请求还包括作为会话业务目标端的第二网络节点的标识;
    相应地,所述第二接收模块,设置为接收由所述会话管理设备发送的会话创建响应消息;其中,所述会话创建响应消息包括会话标识。
  21. 根据权利要求19所述的第一网络节点,其中,所述第二发送模块,还设置为向所述会话管理设备发送会话消息;其中,所述会话消息包括所述会话标识以及会话内容。
  22. 根据权利要求19所述的第一网络节点,其中,所述第二发送模块,还设置为向所述会话管理设备发送会话修改请求;其中,所述会话修改请求包括所述会话标识以及需修改的内容;
    所述第二接收模块,还设置为接收由所述会话管理设备发送的会话修改响应。
  23. 根据权利要求19所述的第一网络节点,所述第一网络节点还包括 第二删除模块;
    所述第二发送模块,还设置为向所述会话管理设备发送会话删除请求;其中,所述会话删除请求包括待删除的会话标识;
    所述第二接收模块,还设置为接收由所述会话管理设备发送的会话删除响应消息;其中,所述会话删除响应消息包括待删除的会话标识;
    所述第二删除模块,设置为将所述第一网络节点自身与所述待删除的会话标识对应的应用上下文进行删除。
  24. 一种第二网络节点,所述第二网络节点包括:第三接收模块、会话上下文处理模块和第三发送模块;其中,
    所述第三接收模块,设置为接收会话管理设备所发送的会话创建指示;其中,所述会话管理设备为网络架构内的网络节点中额外设置的会话管理设备;所述会话创建指示包括会话标识和会话类型;
    所述会话上下文处理模块,设置为根据所述会话创建指示建立对应的会话上下文创建;
    所述第三发送模块,设置为向所述会话管理设备反馈创建确认消息;其中,所述创建确认消息包括会话标识。
  25. 根据权利要求24所述的第二网络节点,其中,所述第三接收模块,还设置为接收由所述会话管理设备发送的转发消息;其中,所述转发消息包括所述会话标识和会话内容;
    所述会话上下文处理模块,还设置为根据会话标识将会话内容投递到自身对应的应用上下文进行处理。
  26. 根据权利要求24所述的第二网络节点,其中,所述第三接收模块,还设置为接收由所述会话管理设备发送的会话删除指示;其中,所述会话删除指示包括待删除的会话标识;
    所述会话上下文处理模块,还设置为将所述第二网络节点自身与所述待删除的会话标识对应的应用上下文进行删除,并向所述会话管理设备返回会话删除确认消息;其中,所述会话删除确认消息包括所述待删除的会话标识。
  27. 一种会话管理***,所述***包括:会话管理设备、作为会话业务 发起端的第一网络节点;其中,
    所述会话管理设备,设置为接收第一网络节点发送的会话业务请求;其中,所述会话业务请求包括第一网络节点标识以及会话信息;
    以及,针对所述会话业务请求根据会话标识与第一网络节点之间的第一对应关系进行响应;
    以及,将会话业务请求对应的响应消息发送至所述第一网络节点;
    所述第一网络节点,设置为向会话管理设备发送会话业务请求;
    以及,接收所述会话管理设备针对所述会话业务请求对应发送的响应消息。
PCT/CN2017/084589 2016-05-17 2017-05-16 一种会话管理的方法、设备和*** WO2017198158A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610328886.1 2016-05-17
CN201610328886.1A CN107395555A (zh) 2016-05-17 2016-05-17 一种会话管理的方法、设备和***

Publications (1)

Publication Number Publication Date
WO2017198158A1 true WO2017198158A1 (zh) 2017-11-23

Family

ID=60325727

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084589 WO2017198158A1 (zh) 2016-05-17 2017-05-16 一种会话管理的方法、设备和***

Country Status (2)

Country Link
CN (1) CN107395555A (zh)
WO (1) WO2017198158A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109617955A (zh) * 2018-12-04 2019-04-12 山东浪潮通软信息科技有限公司 一种基于分布式缓存的无状态会话分层管理实现方法
CN114553707B (zh) * 2020-11-26 2023-09-15 腾讯科技(深圳)有限公司 网络的拓扑信息的生成和网络故障的定界方法、装置
CN114615314B (zh) * 2022-03-08 2024-03-29 珠海金山办公软件有限公司 会话建立方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856137A (zh) * 2005-04-27 2006-11-01 华为技术有限公司 一种确定集中控制服务器的方法及***
US20070147244A1 (en) * 2005-12-22 2007-06-28 Nokia Corporation Method for the mapping of packet flows to bearers in a communication system
CN101841550A (zh) * 2009-03-16 2010-09-22 ***通信集团公司 一种ims网络的通信方法、***及集中控制实体
CN104219783A (zh) * 2013-06-05 2014-12-17 ***通信集团公司 一种会话重定向方法和设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022481A (zh) * 2007-03-21 2007-08-22 华为技术有限公司 实现多点会议中私有会话的方法及装置
CN101562784B (zh) * 2008-04-14 2012-06-06 华为技术有限公司 报文分发方法、设备及***
CN103139731A (zh) * 2011-11-23 2013-06-05 华为软件技术有限公司 消息互联的方法、装置及***
CN105282789A (zh) * 2014-07-24 2016-01-27 中兴通讯股份有限公司 一种m2m通信方法和***以及m2m网络中的管理节点

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856137A (zh) * 2005-04-27 2006-11-01 华为技术有限公司 一种确定集中控制服务器的方法及***
US20070147244A1 (en) * 2005-12-22 2007-06-28 Nokia Corporation Method for the mapping of packet flows to bearers in a communication system
CN101841550A (zh) * 2009-03-16 2010-09-22 ***通信集团公司 一种ims网络的通信方法、***及集中控制实体
CN104219783A (zh) * 2013-06-05 2014-12-17 ***通信集团公司 一种会话重定向方法和设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"3rd Generation Partnership Project; Technical Specification Group Core Ne- twork and Terminals; IP multimedia call control protocol based on Session Initiation Protocol (SIP) and Session Description Protocol (SDP); Stage 3 (Release 13", 3GPP TS 24. 229 V13.0.0, 21 December 2014 (2014-12-21), XP055598224 *

Also Published As

Publication number Publication date
CN107395555A (zh) 2017-11-24

Similar Documents

Publication Publication Date Title
WO2020253538A1 (zh) 虚拟网络群组的广播方法、装置、设备及***
JP6624619B2 (ja) リソースサブスクリプション方法、リソースサブスクリプション装置、及びリソースサブスクリプションシステム
WO2019007166A1 (zh) 跨域的路径的标识信息的确定方法、装置及存储介质
US10397183B2 (en) Method and system for enabling media optimization in a cloud conference
JP5847185B2 (ja) コンテンツ中心のネットワーク環境でグループ変更に関する情報を用いるコンテンツ共有方法及び装置
CN109995741B (zh) 一种网络直播中连麦实现方法及***
JP2024504006A (ja) サービス統合におけるデータ伝送方法、装置、機器及びコンピュータープログラム
WO2017198158A1 (zh) 一种会话管理的方法、设备和***
WO2016065917A1 (zh) 一种视频会议***通讯方法及相应装置
KR101240552B1 (ko) 미디어 키 관리 및 상기 미디어 키를 이용한 피어-투-피어 메시지 송수신 시스템 및 방법
JP2010509813A (ja) 通知メッセージ処理方法および装置
WO2023000940A1 (zh) 数据处理方法、装置、网元设备、存储介质及程序产品
WO2017004894A1 (zh) 一种资源共享方法、终端设备、应用服务器及***
CN104518908A (zh) 用于提供网络管理的方法和***
WO2014161460A1 (zh) 会话方法、网络节点、服务器、***和计算机存储介质
US9871754B2 (en) Communicating messages between publishers and subscribers in a mesh routing network
CN110875914B (zh) 一种基于共享会话链路传输消息的方法及装置
WO2017128713A1 (zh) 订阅消息的发布方法及装置
WO2017016525A1 (zh) 业务数据的群发送方法、终端及服务器
CN110971873A (zh) 一种实时监控方法、监控***及存储介质
US20220400082A1 (en) Ephemeral data stream routing service
WO2022184100A1 (zh) 路径建立方法、装置、存储介质及电子装置
WO2018233447A1 (zh) 实现链路连接处理的方法、及装置及存储介质
CN114844988A (zh) 虚拟化彩铃平台的业务处理方法、装置、***及存储介质
Lavinal et al. A next-generation service overlay architecture

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17798721

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17798721

Country of ref document: EP

Kind code of ref document: A1