WO2017045536A1 - Multiparty session processing method and device - Google Patents

Multiparty session processing method and device Download PDF

Info

Publication number
WO2017045536A1
WO2017045536A1 PCT/CN2016/097960 CN2016097960W WO2017045536A1 WO 2017045536 A1 WO2017045536 A1 WO 2017045536A1 CN 2016097960 W CN2016097960 W CN 2016097960W WO 2017045536 A1 WO2017045536 A1 WO 2017045536A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
entity
party
join
invited
Prior art date
Application number
PCT/CN2016/097960
Other languages
French (fr)
Chinese (zh)
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 WO2017045536A1 publication Critical patent/WO2017045536A1/en

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/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • 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
    • 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/1073Registration or de-registration

Definitions

  • This application relates to, but is not limited to, the field of communications.
  • the One Machine to Machine (oneM2M) architecture is a resource-based architecture.
  • the capabilities of a terminal device or a terminal device or an application, platform, or application can be regarded as a resource.
  • Application or background application resources are represented by AE (Application Entity), and the terminal device application or platform capability resource is represented by CSE (Common Service Entity).
  • AE Application Entity
  • CSE Common Service Entity
  • Each AE needs to be registered to at least one CSE, and each CSE.
  • the CSE registered by the AE is called a hosting CSE (hosting common service entity), and the CSE where the resource to be addressed is also called a hosting C
  • single-hop point-to-point session management has been implemented in an IoT system, which can be satisfied by current communication management capabilities, and can easily manage the sending and receiving of a message between a point and a point, each time sending and receiving Receives a new connection.
  • IoT system In the actual Internet of Things scenario, there are also interaction scenarios between points and points, points and multiple points, and multiple points and multiple points.
  • the above multi-hop interaction scene is complex, and the entire interaction process needs to be managed, such as Interaction establishment, state management, etc., which simplifies the interaction process and provides service quality.
  • the IoT system is not yet supported.
  • the present invention provides a multi-party session processing method for establishing a multi-party session between entities by creating and/or updating session resources of a multi-party session.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the session management/creation entity requests the hosted general service entity CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
  • session management/creation entity After the session management/creation entity receives the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, updating the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the invited entity is informed that it is invited to join the multi-party session and agrees to join the multi-party conference;
  • a session resource of the multiparty session is created for the invited entity in a hosted CSE of the invited entity.
  • the inviting entity is informed that the invitation to join the multi-party session may include: receiving, by the session management/creation entity, a request for creating the session resource of the multi-party session for the invited entity;
  • Creating the session resource of the multi-party session for the invited entity in the managed CSE of the invited entity may include: the invited entity creating a session resource of the multi-party session under resources of the invited entity After that, the invited entity also replies to the session management/creation entity with a message agreeing to join the multiparty session.
  • the inviting entity is informed that the invitation to join the multi-party session may be: receiving a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
  • Creating the session resource of the multi-party session for the invited entity in the hosted CSE of the invited entity may include: the invited entity sending a consent to the hosted CSE of the invited entity Joining the message of the multiparty session, creating a session resource of the multiparty session for the invited entity by the hosted CSE of the invited entity.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the hosted CSE of the invited entity receives a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, and sends a notification of the subscription to the invited entity to join the multi-party session.
  • the invited entity is an AE;
  • the session resource of the multi-party session is created under the resource corresponding to the invited entity, and is managed to the session. / Create an entity replies to the message that the invited entity agrees to join the multiparty session.
  • the hosted CSE of the invited entity may first search for the subscription resource created by the invited entity after receiving the request for the session entity to create the session resource of the multi-party session sent by the session entity. If found, the subscription notification is sent; wherein the subscription resource is used to subscribe to the invitation of the multi-party session.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the managed CSE requesting to join the entity requesting session management/creation entity updates the session resources of the multiparty session to join the multiparty session;
  • the request joining entity After the request joining entity receives the message of the host CSE reply of the session management/creation entity agreeing to join the multi-party session, creating the multi-party session for the request joining entity in the managed CSE of the request joining entity Session resources.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the session management/creation entity learns that the request to join the entity requests to join the multi-party session, and agrees that the request joins the entity to join the multi-party session;
  • the session management/creation entity learns that the requesting to join the entity to request to join the multi-party session may include: receiving a request sent by the request joining entity to update the session resource of the multi-party session;
  • Updating the session resource of the multiparty session in the managed CSE of the session management/creation entity may include: the session management/creation entity updating a session resource of the multiparty session; afterwards, the session management/creation entity further The request join entity replies to a message agreeing to join the multiparty session.
  • the session management/creation entity learns that the requesting to join the entity to request to join the multi-party session may include: receiving a request sent by the hosted CSE of the session management/creation entity to join the entity to request to join the subscription notification of the multi-party session;
  • Updating the session resource of the multiparty session in the managed CSE of the session management/creation entity may include: the session management/creation entity sending to the hosted CSE of the session management/creation entity agreeing to the request to join the entity joining site
  • the message of the multiparty session is updated by the session management/creation entity's managed CSE.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the managed CSE of the session management/creation entity After receiving the request to join the entity to update the session resource of the multi-party session, the managed CSE of the session management/creation entity sends a request notification to the session management/creation entity requesting to join the multi-party session,
  • the session management/creation entity is AE;
  • the managed CSE of the session management/creation entity receives the request that the session management/creation entity agrees to the request to join the entity to join the multi-party session, updates the request for the session resource of the multi-party session, and sends the request to the request The joining entity replies to the message that it joins the multiparty session.
  • the managed CSE of the session management/creation entity may first search for the subscription resource created by the session management/creation entity after receiving the request to join the entity to update the session resource of the multi-party session;
  • the subscription notification wherein the subscription resource is used for a request for a subscription entity to join a multiparty session.
  • the session resource of the multi-party session includes attribute information and/or a message sub-resource
  • the attribute information of the session resource includes at least one of the following information: a session message, a session identifier, Session topic, session creator, session participant, session entity state, maximum number;
  • the message sub-resource is used to describe a message transmitted during a multi-party session, and includes at least one of the following information: a message identifier, a message status, a message format, a message sender, a message receiver, and a message sending time.
  • the present invention also provides a multi-party session processing apparatus, which is applied to a general service entity CSE or an application entity AE as a session management/creation entity, and the processing apparatus includes:
  • a session invitation module configured to: request a hosted CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
  • a resource update module configured to: after receiving the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, update the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
  • the present invention also provides a multi-party session processing apparatus, which is applied to a CSE as an invited entity, and the processing apparatus includes:
  • the invitation processing module is configured to: after receiving the request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, if agreeing to join the multi-party conference, reply to the session management/creation entity Joining the message of the multiparty session;
  • the resource creation module is configured to: create a session resource of the multi-party session under the resource of the invited entity, if it is agreed to join the multi-party conference.
  • the present invention also provides a multi-party session processing apparatus, which is applied to an AE as an invited entity, and the processing apparatus includes:
  • An invitation receiving module configured to: receive a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
  • the invitation reply module is configured to: send a message agreeing to join the multiparty session to the hosted CSE of the invited entity when agreeing to join the multiparty conference.
  • the present invention also provides a processing apparatus for a multi-party session, which is applied to an entity hosting a CSE as an invited entity, the processing apparatus comprising:
  • a subscription processing module configured to: after receiving a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, send a subscription notification to the invited entity to invite the join party to join the multi-party session; And after receiving the message that the invited entity agrees to join the multi-party session, replying to the session management/creation entity, the message that the invited entity agrees to join the multi-party session, where the invited entity is an AE;
  • the resource creation module is configured to: after receiving the message that the invited entity agrees to join the multi-party session, create a session resource of the multi-party session under the resource corresponding to the invited entity.
  • the subscription processing module after receiving the request sent by the session management/creation entity to create the session resource of the multi-party session, the subscription processing module first searches for a subscription resource created by the invited entity, such as searching. And sending the subscription notification; wherein the subscription resource is used to subscribe to the invitation of the multi-party session.
  • the present invention also provides a processing device for a multi-party session, which is applied to a CSE or an AE as a requesting entity, the processing device comprising:
  • a requesting module configured to: request a session management/creation entity to host a CSE to update a session resource of the multiparty session to join the multiparty session;
  • a resource creation module configured to: after receiving the message that the host CSE reply of the session management/creation entity agrees to join the multi-party session, create the content for the request joining entity in the managed CSE of the request joining entity Session resources for multiparty sessions.
  • the present invention also provides a multi-party session processing apparatus, which is applied to a CSE as a session management/creation entity, and the processing apparatus includes:
  • a request processing module configured to: after receiving the request for adding the session resource of the multi-party session sent by the request joining entity, if the requesting to join the entity joins the multi-party session, agreeing to join the requesting entity The message of the multiparty session;
  • a resource update module configured to: if the request to join the entity joins the multiparty session, update the session resource of the multiparty session.
  • the present invention also provides a processing apparatus for a multi-party session, which is applied to an AE as a session management/creation entity, the processing apparatus comprising:
  • a request receiving module configured to: receive a request sent by the hosted CSE of the session management/creation entity to join a subscription request to join the multi-party session;
  • the request reply module is configured to: send a message agreeing to the requesting joining entity to join the multiparty session to the managed CSE of the session management/creation entity if the requesting join entity joins the multiparty session.
  • the present invention also provides a multi-party session processing apparatus, which is applied to an entity that hosts a CSE as a session management/creation entity, and the processing apparatus includes:
  • a subscription processing module configured to: after receiving a request to join the entity to update the session resource of the multi-party session, send, to the session management/creation entity, the subscription notification that the request join entity requests to join the multi-party session; and After receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, the message is sent to the requesting entity to agree to join the multi-party session; the session management/creation entity is AE
  • the resource update module is configured to: after receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, update the request for the session resource of the multi-party session.
  • the subscription processing module after receiving the request to join the entity to update the session resource of the multi-party session, the subscription processing module first searches for a subscription resource created by the session management/creation entity; if found, sends the subscription notification again.
  • the subscription resource is used to subscribe to a request for an entity to join a multiparty session.
  • a method for processing a multiparty session comprising: creating a session resource on a hosted CSE, wherein the session resource is used to describe a multiparty session of the hosted CSE or to be registered on the hosted CSE AE's multiparty conversation.
  • the method for creating a session resource includes one of the following: when the session management/creation entity invites other entities to join the multi-party session, sending a message to the hosted CSE of the other entity to request to create a session resource, where When the other entity is an AE, the hosted CSE needs to notify the AE and obtain its consent to create the session resource; when an entity requests to join the session, send a message to the session management/creation entity to request to update the session.
  • Manage/create session resources for an entity Joining the session when the session management/creation entity agrees, creating a session resource in the hosted CSE of the entity requesting to join the session;
  • the session management/creation entity invites other entities to join a certain session.
  • the other entity is an AE
  • the hosted CSE of the other entity needs to create a subscription resource in advance for subscribing to the invitation of the multi-party session;
  • the management/creation entity sends a request to create a session resource in the hosted CSE of another entity, it indicates that the session management/creation entity requests to join the session in another entity, and the other entity is notified according to the subscription condition in the implementation subscription resource, and other entities are informed and If the session invitation is agreed, the session resource created by the session management/creation entity is created in the hosted CSE of the other entity; when the other entity is the managed CSE, there is no need to create a subscription resource, and the hosted CSE creates a session according to the analysis.
  • the certain entity requests to join a certain session.
  • the certain session management/creation entity is an AE
  • a subscription resource needs to be created in the managed CSE of the session management/creation entity for the subscription entity to join.
  • a request for a session when the sending message of the certain entity requests to update the session resource of the management/creation entity, indicating that the entity requests to join the session of the management/creation entity, according to the subscription condition in the subscription resource Notifying the session management/creation entity, the session management/creation entity agrees to join and feed back session information to the certain entity, the certain entity creating a session resource in its hosted CSE; when the session is managed/created
  • the entity is a managed CSE, there is no need to create a subscription resource, and the hosted CSE directly feeds back information to the entity according to the join request analysis, and the entity creates a session resource in its hosted CSE;
  • the method further includes: creating a session resource in a managed CSE of the entity of the entity that is requested to join the multi-party session or inviting an entity to join the entity of the multi-party session, And creating a session resource on the managed CSE of the multi-party session management/creation entity,
  • the session information is described by an attribute of the session resource or a sub-resource of the session resource.
  • the attributes of the session resource include at least one of the following: a message, a multi-party session identifier ID, a multi-party session topic, a multi-party session creator, a multi-party session participant, a multi-party session entity state, and a maximum number.
  • the method further includes: creating a message sub-resource under the session resource, where The message sub-resource is used to describe a message generated during a multi-party session, and the message sub-resource includes at least one of the following: a message ID, a message status, a message format, a message sender, and a message receiver.
  • a processing apparatus for a multiparty session comprising: a create/update module for creating/updating a session resource on a managed CSE, wherein the session resource is used to describe the hosted CSE A multiparty session or a multiparty session registered with an AE on the hosted CSE.
  • the session resource creation manner in the creating module includes one of the following: when the session management/creation entity invites other entities to join the multi-party session, the session resource is created in the managed CSE of the other entity, where When the other entity is an AE, the hosted CSE needs to notify the AE and obtain its consent to create the session resource; when an entity requests to join the session, send a message to the session management/creation entity to request to join the a session, when the session management/creation entity agrees, create a session resource in a hosted CSE of an entity requesting to join the session;
  • the device further includes a subscription module, a notification module, an invitation for subscribing to the session, and a request to join, that is, creation/update of the session resource, and the notification module is configured to notify the other session entity to join the session or the session.
  • the session management/creation entity has an entity requesting to join the session;
  • the subscription module creates a subscription resource on the hosted CSE for subscription subscription registration on the hosted CSE to join the session, or a subscription request to join the session registered/created by the AE on the hosted CSE;
  • the notification module is configured to notify an AE registered on the managed CSE, where the notification module includes:
  • a first sending unit configured to: when the session management/creation entity invites an AE entity registered on the managed CSE to join the multi-party session, the session management/creation entity sends an invitation request to the hosted CSE registered by the AE entity, The managed CSE sends the invitation request to the AE entity to notify the AE entity that the session management/creation entity invites it to join the multiparty session;
  • a second sending unit configured to: when an entity requests to join the multi-party session created by the session management/creation entity, and the session management/creation entity is an AE, the certain entity sends a join request to the a session management/creation of a hosted CSE registered by the entity, the hosted CSE transmitting the join request to the session management/creation entity notifying the registered entity of the following: An entity requests to join a multiparty session created by the registered entity.
  • the foregoing solution solves the problem that the related technology does not support the interaction process between the multi-hop sessions by creating and/or updating the multi-party session between the entities of the multi-party session, and provides a solution for supporting the multi-party session.
  • the application scenario of the Internet of Things system is expanded.
  • FIG. 1 is a flowchart of a method for processing a multiparty session according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a processing apparatus for a multiparty session according to an embodiment of the present invention
  • FIG. 3 is a block diagram showing another structure of a multi-party session processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a processing apparatus of a multiparty session according to an example of the present invention.
  • FIG. 5 is a structural diagram of a multi-party session resource and its sub-resources according to an embodiment of the present invention
  • FIG. 6 is a schematic flow chart of inviting a multiparty session according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of actively joining a multiparty session according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of message sending and receiving in a multi-party session according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for processing a multi-party session according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S102 Create/update a session resource in the hosting CSE, where the session resource is used to describe the multi-party session information of the hosting CSE or the AE registered on the hosting CSE;
  • Step S104 processing the multi-party session according to the creation/update of the session resource.
  • the interaction process between the multi-hop sessions in the IoT system is solved in the related art.
  • the problem that is not yet supported provides a solution to support multi-party sessions, extending the application scenario of the IoT system.
  • the hosting CSE creates/updates a session resource, and is used to establish a hosting CSE or an AE registered on the hosting CSE with other entities, wherein the The creation/update of session resources is created in the hosting CSE of the entity invited to join the session, and in the hosting CSE of the entity requesting to join the session.
  • a conversation in the text refers to a multiparty conversation.
  • the method for creating a session resource includes one of the following: when the session management/creation entity invites other entities to join the multi-party session, sending a message to the hosting CSE of the other entity to request to create a session resource, where When the other entity is an AE, the hosting CSE needs to notify the AE and obtain its consent to create the session resource; when an entity requests to join the session, send a message to the session management/creation entity to request an update.
  • the session resource of the session management/creation entity is added to the session, and when the session management/creation entity agrees, the session resource is created in the hosting CSE of the entity that requests to join the session;
  • the session management/creation entity invites other entities to join the multi-party session.
  • the session creation entity invites other entities to join the multi-party session during the session creation process.
  • the session management entity invites other entities to join the multi-party.
  • Session; the session management entity and the session creation entity can be the same or different.
  • the session resource indicates the session information through the attribute and/or the sub-resource of the resource, and the session information is sent by the hosting CSE of the session management/creation entity to the entity invited to join the session or actively requesting to join the session;
  • the attributes of the session resource include at least one of the following: : message, multiparty session ID, multiparty session subject, multiparty session creator, multiparty session participant, multiparty session entity status, maximum number.
  • the method further includes: creating a message sub-resource under the foregoing session resource, where the message sub-resource is used to describe a message generated during a multi-party session, where the message sub-resource includes at least one of the following: a message ID, a message status , message format, message sender, message receiver.
  • the establishment of an inter-entity session is achieved by creating a session resource in the host's hosting CSE.
  • the creation of a session resource when an entity is invited to join the session, the session resource is created in the hosting CSE of the invited entity; or when an entity actively requests to join the session, after obtaining the session management/creation entity consent, at a certain Create session resources in the entity's hosting CSE.
  • the session resources created in the hosting CSE of each entity in the same session indicate that the session information attribute and the sub-resource are basically the same, such as a session ID, a multi-party session topic, and the like.
  • the above method further includes:
  • a subscription resource is created in the host's hosting CSE for the subscription inviting entity to join the session or the entity requesting to join the session.
  • a subscription resource is created in an hosting CSE of an entity, and the subscription resource describes that when the session management/creation entity invites an entity to join the session, the hosting CSE notifies the invited session entity that The session management/creation entity invites them to join the session;
  • a subscription resource is created in the hosting of the session management/creation entity, and the subscription resource describes a hosting CSE notification session when an entity requests to join the session management/create session.
  • the management/creation entity has an entity requesting to join the session;
  • the invited entity When the invited entity agrees to join the invited session or the session management/creation entity agrees that an entity joins its managed/created session, the invited entity or the hosting CSE requesting to join the entity can create the session resource.
  • a processing device for a multi-party session is also provided, and the processing device is located In the hosting CSE, the above embodiments and preferred embodiments are implemented, and the descriptions of the modules involved in the apparatus will be described below.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • 2 is a structural block diagram of a processing apparatus for a multiparty session according to an embodiment of the present invention. As shown in Figure 2, the device comprises:
  • a create/update module 20 for creating/updating a session resource and a subscription resource on the hosting CSE, wherein the session resource is used to describe the session information of the multiparty session of the hosting CSE or the multiparty session of the AE registered on the hosting CSE , the subscription resource is used to subscribe to a session join or a session invitation;
  • the device further includes: a receiving module 22, configured to receive a request and a message sent by a session requester or a session inviter; and a sending module 24, configured to send a session invitation or a join request and a message, and trigger the Subscription notifications are sent to the corresponding session subscribers.
  • a receiving module 22 configured to receive a request and a message sent by a session requester or a session inviter
  • a sending module 24 configured to send a session invitation or a join request and a message, and trigger the Subscription notifications are sent to the corresponding session subscribers.
  • the subscription resources are created in advance in the hosting CSE of the session management/creation entity and the hosting CSE of the entity invited or requesting to join the session, when the receiving module 22 Upon receiving the request and message sent by the session requester or the session inviter, and triggering the subscription condition, the creation/update module 20 sends the subscription notification to the subscribing entity through the sending module 24, notifying that the entity invites the subscribing entity to join or has an entity requesting to join.
  • the invited entity when the invited entity receives the subscription notification message and agrees to join the session, it sends a message to its hosting CSE, indicating that the invited entity agrees to join the session; when the session creation/management entity receives the subscription After the notification message, the requesting entity is added to a session that already exists, the session resource corresponding to the session created in the hosting CSE is updated, and the consent joining message is returned to the requesting entity by the sending module;
  • the creation/update module 20 may Create/update session resources as needed; when the invited entity agrees to join the session, the hosted CSE creation/update module of the invited entity creates a session resource under the resources of the invited entity; when requesting to join the session management/creation entity session
  • the session management/creation entity's hosting CSE creation/update module updates the session resource of the session and notifies the request to join the entity, requesting to join the entity's hosting CSE creation/update module in the request to join the real Create a session resource under the body resource;
  • the return message includes one of the following: the code that agrees to join, the basic information of the session resource in the hosting CSE where the session creation/management entity is located; the hosting CSE of the requesting entity receives the returned message through the receiving module, and creates /
  • the update module creates a corresponding session resource on the hosting CSE; a member entity in the session sends a message to other member entities, and the session module creates a message resource (also called a message sub-resource) under the session resource corresponding to the message.
  • the session module analyzes the corresponding message. That session, and will send the message to the real receiving member entity through the sending module in the form of notification;
  • system architecture in the embodiment of the present invention is based on the resource-oriented architecture of the Internet of Things, that is, all entities in the system are regarded as resources, such as application entities, functional entities, data entities, etc., by operating resources. Implement session management between multiple entities.
  • the embodiment of the present invention provides a resource-based IoT session method, which enables a message to join a session or invite to join a session, and is transmitted to a management/creator of the session or an invitee of the session to establish a session by creating/updating a session resource.
  • the main steps of the method flow are as follows:
  • the session management/creation entity when the entity that is invited to join the session, the session management/creation entity is AE, the subscription resource needs to be created in the hosting CSE of the entity that is invited to join the session, the session management/creation entity, and the message for establishing the session is subscribed;
  • Step 1 The session management/creation entity sends a message to an entity to invite it to join the session, that is, request to create a session resource under the resource of the entity in the hosting CSE that is invited to join the session entity; Or the entity requesting to join the session sends a request to join the session management/create entity management/created session, that is, requesting to update the session resource corresponding to the session in the hosting CSE of the session management/creation entity;
  • Step 2 When the entity that is invited to join the session or the session management/creation entity has a resource for the subscription session in the hosting CSE, the request or message for establishing the session is sent to the entity or the session management/creation entity invited to join the session, and the acquisition is obtained.
  • the entity or session management/creation entity that invites to join the session agrees to establish a session; when the entity invited to join the session or the session management/creation entity is the hosting CSE, it is decided directly in the hosting CSE whether to establish or join the session;
  • Step 3 The entity or the session management/creation entity that is invited to join the session, the hosting CSE confirms that the session is established or joined, and the session resource is created or updated under the entity or the session management/creation entity resource in the hosting CSE;
  • a corresponding session resource in the session management/creation entity hosting CSE that requests to join the session is created under the entity resource in the hosting CSE of the requesting entity.
  • FIG. 5 is a structural diagram of a multi-party session resource and its sub-resources according to an embodiment of the present invention.
  • the resource is located in a hosting CSE, which is a CSE registered by a session entity (AE), or a session entity (CSE).
  • AE session entity
  • CSE session entity
  • a session resource is created under the session entity's resource ( ⁇ AE> or ⁇ CSEbase>) to describe the entire process from session establishment to session end.
  • the attributes of the session resource contain at least one of the following:
  • the session participant performs one or more message interactions, and needs to manage each interaction under the session.
  • a new sub-resource message needs to be created to describe the current message during the session.
  • various information about historical news As shown in Table 2 below, the attributes of the message resource contain at least one of the following:
  • the multi-party session management/creation entity may be an AE or a CSE.
  • the hosted CSE that needs to register it transmits the message to the AE.
  • FIG. 6 is a schematic flowchart of inviting a multi-party session according to an embodiment of the present invention.
  • the invited entity is an AE.
  • the process includes the following steps:
  • Step S602 a multi-party session management/creation entity invites one or more entities to join the managed/created session, and sends a session invitation message to the hosting CSE of the invited entity, requesting the invited entity in the hosting CSE. Creating a session resource of the multiparty session;
  • the invited entity of this example is AE
  • the hostingCSE of the activated entity is the CSE registered by the invited entity; if the invited entity is CSE, the hostingCSE is the invited entity itself.
  • Step S604 After receiving the message, the hosting CSE triggers the invited entity to create a subscription condition in the subscription resource created on the hosting CSE, and sends a subscription notification to the session to be sent to the subscription. Reading entity, the invited entity;
  • the hostingCSE is the invited entity itself, the invited entity does not need to trigger the subscription condition of the hostingCSE, and the invited entity directly obtains the invitation message.
  • the subscription notification includes a session ID, optionally, basic information of the session, including a session type, a session state, and the like, and the invited entity determines whether to join the session according to the analysis;
  • Step S606 the invited entity receives the notification, and learns that an entity invites it to join a certain multiparty session
  • Step S608 when the invited entity agrees to join the session, sending a message to the hosting CSE to join the session;
  • Step S610 after the hosting CSE creates the session resource successfully, the replying session inviter is invited to join the session.
  • the session ID is set to the session ID it receives, and the resource attributes are set according to some basic information of the session sent by the session inviter to the session inviter, including the creator of the session and the participation of the session. , the message format of the session, and so on.
  • Step S612 the session inviter (ie, the session management/creation entity) requests its hostingCSE to update the session resource of the multiparty session.
  • the session inviter When the session inviter is the CSE, the hosting CSE is itself. At this time, the session inviter directly updates the session resource of the multi-party session, as shown in step S612' in the figure.
  • FIG. 7 is a schematic diagram of a process of actively joining a multi-party session according to an embodiment of the present invention. This example takes the case where the session management/creation entity is an AE. As shown in the figure, the process includes the following steps:
  • Step S702 the requesting joining entity, after obtaining the information of the multi-party session in advance, decides to join the multi-party session, that is, sending a message requesting to join the session to the hosting CSE of the session management/creation entity, specifically, requesting to update the hosting CSE.
  • the session management/creation entity of this example is AE, which is the CSE registered by the session management/creation entity; if the session management/creation entity is CSE, the hostingCSE is the session management/creation entity itself.
  • Step S704 after receiving the message, the hosting CSE of the session management/creation entity triggers the subscription condition in the subscription resource created by the session management/creation entity on the hosting CSE, and sends the subscription notification message to the subscription entity, that is, the session management/creation entity;
  • the hostingCSE is the management/creation entity itself, the management/creation entity does not need to trigger the subscription condition of the hostingCSE, and the management/creation entity directly knows the request to join the message;
  • some information about the multiparty session includes the creator of the session, the participant of the session, the message format of the session, and the like.
  • Step S706 the session management/creation entity receives the subscription notification message, and learns that an entity wants to join a multi-party session managed/created by the entity.
  • the consent entity joins the session, it sends a consent requester to join the session to the hosting CSE. a message to update a session resource of the multiparty session created in its hosting CSE;
  • Step S708 the hosting CSE of the session management/creation entity updates the session resource corresponding to the session ID, and sends a message to the joining entity to notify that it has been agreed to join the session;
  • Step S710 requesting the joining entity to request to create a corresponding session resource in its hosting CSE
  • Step S712 the hosting CSE of the requesting entity receives the request to join the entity, and creates the session resource of the multi-party session for the requesting entity, that is, creates the session resource under the resource corresponding to the requesting entity, where
  • the session ID of the newly created session resource is the same as the session ID of the session resource in the hosting CSE of the session management/creation entity.
  • the session resource is created under the resource corresponding to the CSE.
  • FIG. 8 is a schematic flowchart of message sending and receiving in a multi-party session according to an embodiment of the present invention. As shown in FIG. 8, the process includes the following steps:
  • the process is based on the above process, the multi-party session has been created, and the message interaction is performed under the created session.
  • Step S802 The session creation/management entity sends a message to a member of the multi-party session, and sends the message to the hosting CSE of the session member, where the message carries the session ID, the message ID, and the session participating entity. Etc. At the same time, a message sub-resource is created in the session resource of the session in the hosting CSE of the session creation/management entity, and the specific content of the message is stored;
  • the hosting CSE may be a CSE registered by a session member entity, or may be a session member entity itself;
  • Step S804 the hosting CSE of the session member entity receives the message, finds the session resource created by the session member entity in the hosting CSE according to the session ID in the message, determines that the message sender has the right to send a message under the session, and determines the message receiving.
  • the person is the creator corresponding to the session resource;
  • step S806 the hosting CSE notifies the session member entity in the form of a notification, or informs the session member entity that there is a session message; if the hosting CSE is the session member entity itself, the session member entity directly obtains the session message sent by the session creation/management entity;
  • Step S808 the session member entity obtains the session message, analyzes the content of the message to respond, and returns to the hosting CSE where it is located;
  • Step S810 the hosting CSE returns the return message of the session member entity to the hosting CSE where the session creation/management entity is located, and can perform message aggregation and the like according to the session configuration.
  • Step S812 the hosting CSE where the creation/management entity is located sends the received message to the creation/management entity in the form of a notification.
  • the session continues to be maintained, and the creation/management entity can continue to perform message interaction with other session participating members under the session, that is, repeat the above steps, and until the session ends, delete all sessions corresponding to the session created by the session entity in its own hosting CSE. Session resource.
  • the embodiments of the present invention solve the problem that the interaction process between multi-hop sessions is not supported in the related art Internet of Things system, and provides a solution for supporting multi-party sessions, and expands the application of the Internet of Things system. Scenes.
  • a multi-party session processing method for establishing a multi-party session between entities by creating and/or updating session resources of a multi-party session is a multi-party session processing method for establishing a multi-party session between entities by creating and/or updating session resources of a multi-party session.
  • establishing a multiparty between entities by creating and/or updating session resources of a multiparty session Words including:
  • the session management/creation entity requests the hosted general service entity CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
  • session management/creation entity After the session management/creation entity receives the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, updating the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the invited entity is informed that it is invited to join the multi-party session and agrees to join the multi-party conference;
  • a session resource of the multiparty session is created for the invited entity in a hosted CSE of the invited entity.
  • the inviting entity is informed that the invitation to join the multi-party session may include: receiving, by the session management/creation entity, a request for creating the session resource of the multi-party session for the invited entity;
  • Creating the session resource of the multi-party session for the invited entity in the managed CSE of the invited entity may include: the invited entity creating a session resource of the multi-party session under resources of the invited entity After that, the invited entity also replies to the session management/creation entity with a message agreeing to join the multiparty session.
  • the inviting entity is informed that the invitation to join the multi-party session may be: receiving a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
  • Creating the session resource of the multi-party session for the invited entity in the hosted CSE of the invited entity may include: the invited entity sending a consent to join the multi-party session to a hosted CSE of the invited entity a message, the session resource of the multiparty session is created for the invited entity by the hosted CSE of the invited entity.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the hosted CSE of the invited entity receives a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, and sends a notification of the subscription to the invited entity to join the multi-party session.
  • the invited entity is an AE;
  • the session resource of the multi-party session is created under the resource corresponding to the invited entity, and is managed to the session. / Create an entity replies to the message that the invited entity agrees to join the multiparty session.
  • the hosted CSE of the invited entity may first search for the subscription resource created by the invited entity after receiving the request for the session entity to create the session resource of the multi-party session sent by the session entity. If found, the subscription notification is sent; wherein the subscription resource is used to subscribe to the invitation of the multi-party session.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the managed CSE requesting to join the entity requesting session management/creation entity updates the session resources of the multiparty session to join the multiparty session;
  • the request joining entity After the request joining entity receives the message of the host CSE reply of the session management/creation entity agreeing to join the multi-party session, creating the multi-party session for the request joining entity in the managed CSE of the request joining entity Session resources.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the session management/creation entity learns that the request to join the entity requests to join the multi-party session, and agrees that the request joins the entity to join the multi-party session;
  • the session management/creation entity itself is the managed CSE of the session management/creation entity:
  • the session management/creation entity learns that the requesting to join the entity to request to join the multi-party session may include: receiving a request sent by the request joining entity to update the session resource of the multi-party session;
  • the method includes: the session management/creation entity updates a session resource of the multiparty session; and thereafter, the session management/creation entity further returns a message to the request joining entity to agree to join the multiparty session.
  • the session management/creation entity learns that the requesting to join the entity to request to join the multi-party session may include: receiving a request sent by the hosted CSE of the session management/creation entity to join the entity to request to join the subscription notification of the multi-party session;
  • Updating the session resource of the multiparty session in the managed CSE of the session management/creation entity may include: the session management/creation entity sending to the hosted CSE of the session management/creation entity agreeing to the request to join the entity joining site
  • the message of the multiparty session is updated by the session management/creation entity's managed CSE.
  • a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
  • the managed CSE of the session management/creation entity After receiving the request to join the entity to update the session resource of the multi-party session, the managed CSE of the session management/creation entity sends a request notification to the session management/creation entity requesting to join the multi-party session,
  • the session management/creation entity is AE;
  • the managed CSE of the session management/creation entity receives the request that the session management/creation entity agrees to the request to join the entity to join the multi-party session, updates the request for the session resource of the multi-party session, and sends the request to the request The joining entity replies to the message that it joins the multiparty session.
  • the managed CSE of the session management/creation entity may first search for the subscription resource created by the session management/creation entity after receiving the request to join the entity to update the session resource of the multi-party session;
  • the subscription notification wherein the subscription resource is used for a request for a subscription entity to join a multiparty session.
  • the session resource of the multi-party session includes attribute information and/or a message sub-resource
  • the attribute information of the session resource includes at least one of the following information: a session message, a session identifier, a session topic, a session creator, a session participant, a session entity state, and a maximum number;
  • the message sub-resource is used to describe a message transmitted during a multi-party session, and includes at least one of the following information: a message identifier, a message status, a message format, a message sender, a message receiver, and a message sending time.
  • a processing apparatus for a multiparty session is provided.
  • the present invention also provides a multi-party session processing apparatus, which is applied to a general service entity CSE or an application entity AE as a session management/creation entity, and the processing apparatus includes:
  • a session invitation module configured to: request a hosted CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
  • a resource update module configured to: after receiving the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, update the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
  • the present invention also provides a multi-party session processing apparatus, which is applied to a CSE as an invited entity, and the processing apparatus includes:
  • the invitation processing module is configured to: after receiving the request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, if agreeing to join the multi-party conference, reply to the session management/creation entity Joining the message of the multiparty session;
  • the resource creation module is configured to: create a session resource of the multi-party session under the resource of the invited entity, if it is agreed to join the multi-party conference.
  • the present invention also provides a multi-party session processing apparatus, which is applied to an AE as an invited entity, and the processing apparatus includes:
  • An invitation receiving module configured to: receive a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
  • the invitation reply module is configured to: send a message agreeing to join the multiparty session to the hosted CSE of the invited entity when agreeing to join the multiparty conference.
  • the present invention also provides a processing apparatus for a multi-party session, which is applied to an entity hosting a CSE as an invited entity, the processing apparatus comprising:
  • a subscription processing module configured to: after receiving a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, send a subscription notification to the invited entity to invite the join party to join the multi-party session; And receiving the invited entity to agree to join the multiparty After the message, reply to the session management/creation entity that the invited entity agrees to join the multi-party session, the invited entity is an AE;
  • the resource creation module is configured to: after receiving the message that the invited entity agrees to join the multi-party session, create a session resource of the multi-party session under the resource corresponding to the invited entity.
  • the subscription processing module after receiving the request sent by the session management/creation entity to create the session resource of the multi-party session, the subscription processing module first searches for a subscription resource created by the invited entity, such as searching. And sending the subscription notification; wherein the subscription resource is used to subscribe to the invitation of the multi-party session.
  • the present invention also provides a processing device for a multi-party session, which is applied to a CSE or an AE as a requesting entity, the processing device comprising:
  • a requesting module configured to: request a session management/creation entity to host a CSE to update a session resource of the multiparty session to join the multiparty session;
  • a resource creation module configured to: after receiving the message that the host CSE reply of the session management/creation entity agrees to join the multi-party session, create the content for the request joining entity in the managed CSE of the request joining entity Session resources for multiparty sessions.
  • the present invention also provides a multi-party session processing apparatus, which is applied to a CSE as a session management/creation entity, and the processing apparatus includes:
  • a request processing module configured to: after receiving the request for adding the session resource of the multi-party session sent by the request joining entity, if the requesting to join the entity joins the multi-party session, agreeing to join the requesting entity The message of the multiparty session;
  • a resource update module configured to: if the request to join the entity joins the multiparty session, update the session resource of the multiparty session.
  • the present invention also provides a processing apparatus for a multi-party session, which is applied to an AE as a session management/creation entity, the processing apparatus comprising:
  • a request receiving module configured to: receive a request sent by the hosted CSE of the session management/creation entity to join a subscription request to join the multi-party session;
  • Requesting a reply module configured to: if the request is made to join the entity to join the multi-party session, Sending a message to the hosted CSE of the session management/creation entity agreeing to the request to join the entity to join the multiparty session.
  • the present invention also provides a multi-party session processing apparatus, which is applied to an entity that hosts a CSE as a session management/creation entity, and the processing apparatus includes:
  • a subscription processing module configured to: after receiving a request to join the entity to update the session resource of the multi-party session, send, to the session management/creation entity, the subscription notification that the request join entity requests to join the multi-party session; and After receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, the message is sent to the requesting entity to agree to join the multi-party session; the session management/creation entity is AE
  • the resource update module is configured to: after receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, update the request for the session resource of the multi-party session.
  • the subscription processing module after receiving the request to join the entity to update the session resource of the multi-party session, the subscription processing module first searches for a subscription resource created by the session management/creation entity; if found, sends the subscription notification again.
  • the subscription resource is used to subscribe to a request for an entity to join a multiparty session.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the subscription resource is created on the hosting general service entity CSE by using the solution of the embodiment of the present invention, wherein the subscription resource is used to subscribe to the multi-party session of the hosting CSE or the multi-party session of the application entity AE registered on the hosting CSE.

Abstract

The invention provides a multiparty session processing method and device. The multiparty session processing method comprises: establishing, on a hosting common service entity (CSE), a subscription resource configured to subscribe to a multiparty session on the hosting CSE or register a multiparty session of an application entity on the hosting CSE. By adopting the technical scheme provided in the invention, the embodiment can resolve a problem of an unsupported interaction procedure in a multihop session in a one machine-to-machine (oneM2M) system in the prior art, expanding applications of an oneM2M system.

Description

多方会话的处理方法及装置Multi-party session processing method and device 技术领域Technical field
本申请涉及但不限于通信领域。This application relates to, but is not limited to, the field of communications.
背景技术Background technique
物联网(one Machine to Machine,简称为oneM2M)架构是一种基于面向资源的架构方式,终端设备、终端设备的能力或应用、平台或者应用中的某个能力都可以看作资源,其中,终端应用或后台应用资源用AE(Application Entity,应用实体)表示,终端设备应用或平台能力资源采用CSE(Common services Entity,通用业务实体)表示,每一个AE至少需要注册到一个CSE上,每个CSE中创建一个CSEbase(common services entity Base,通用业务实体基础)资源树,包含多个不同类型的子资源,用于描述本地CSE的资源;同时,AE和CSE可注册到另一个CSE上,并在被注册的CSE中的CSEbase资源树下生成子资源,用于描述注册的AE和CSE。其中,被AE注册的CSE称为hosting CSE(hosting common services entity,托管通用业务实体),同时,所要寻址的资源所在的CSE也可称为hostingCSE。The One Machine to Machine (oneM2M) architecture is a resource-based architecture. The capabilities of a terminal device or a terminal device or an application, platform, or application can be regarded as a resource. Application or background application resources are represented by AE (Application Entity), and the terminal device application or platform capability resource is represented by CSE (Common Service Entity). Each AE needs to be registered to at least one CSE, and each CSE. Create a CSEbase (common services entity base) resource tree, which contains multiple different types of sub-resources to describe the resources of the local CSE; at the same time, AE and CSE can be registered to another CSE, and A sub-resource is generated under the CSEbase resource tree in the registered CSE to describe the registered AE and CSE. The CSE registered by the AE is called a hosting CSE (hosting common service entity), and the CSE where the resource to be addressed is also called a hosting CSE.
目前,在一个物联网系统中已实现单跳点到点的会话管理,通过目前的通信管理能力即可以满足,可以简单的管理点与点之间一条消息的发送与接收,每一次的发送与接收都需要建立新的连接。但实际的物联网场景中,还存在多跳的点与点、点与多点、多点与多点之间的交互场景,上述的多跳交互场景复杂,需要对整个交互过程进行管理,如交互建立、状态管理等,这样可以简化交互过程、提供业务质量。物联网系统尚未支持。At present, single-hop point-to-point session management has been implemented in an IoT system, which can be satisfied by current communication management capabilities, and can easily manage the sending and receiving of a message between a point and a point, each time sending and receiving Receives a new connection. However, in the actual Internet of Things scenario, there are also interaction scenarios between points and points, points and multiple points, and multiple points and multiple points. The above multi-hop interaction scene is complex, and the entire interaction process needs to be managed, such as Interaction establishment, state management, etc., which simplifies the interaction process and provides service quality. The IoT system is not yet supported.
针对相关技术中,物联网系统中,针对多跳会话之间的交互过程尚不支持的问题,尚未提出有效的技术方案。In the related art, in the Internet of Things system, an effective technical solution has not been proposed for the problem that the interaction process between multi-hop sessions is not yet supported.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求 的保护范围。The following is an overview of the topics detailed in this document. This summary is not intended to limit the claims The scope of protection.
本发明提供了一种多方会话的处理方法,通过创建和/或更新多方会话的会话资源建立实体间的多方会话。The present invention provides a multi-party session processing method for establishing a multi-party session between entities by creating and/or updating session resources of a multi-party session.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
会话管理/创建实体请求被邀请实体的托管通用业务实体CSE为所述被邀请实体创建所述多方会话的会话资源;The session management/creation entity requests the hosted general service entity CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
所述会话管理/创建实体接收到所述被邀请实体的托管CSE回复的所述被邀请实体同意加入所述多方会话的消息后,更新所述会话管理/创建实体的托管CSE中创建的所述多方会话的会话资源。After the session management/creation entity receives the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, updating the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
被邀请实体获知被邀请加入所述多方会话,同意加入所述多方会议;The invited entity is informed that it is invited to join the multi-party session and agrees to join the multi-party conference;
在所述被邀请实体的托管CSE中为所述被邀请实体创建所述多方会话的会话资源。A session resource of the multiparty session is created for the invited entity in a hosted CSE of the invited entity.
其中,当所述被邀请实体本身即为所述被邀请实体的托管CSE时:Wherein, when the invited entity itself is the hosted CSE of the invited entity:
所述被邀请实体获知被邀请加入所述多方会话,可包括:接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求;The inviting entity is informed that the invitation to join the multi-party session may include: receiving, by the session management/creation entity, a request for creating the session resource of the multi-party session for the invited entity;
在所述被邀请实体的托管CSE中为所述被邀请实体创建所述多方会话的会话资源,可包括:所述被邀请实体在所述被邀请实体的资源下创建所述多方会话的会话资源;之后,所述被邀请实体还向所述会话管理/创建实体回复同意加入所述多方会话的消息。Creating the session resource of the multi-party session for the invited entity in the managed CSE of the invited entity may include: the invited entity creating a session resource of the multi-party session under resources of the invited entity After that, the invited entity also replies to the session management/creation entity with a message agreeing to join the multiparty session.
其中,当所述被邀请实体为应用实体AE时:Wherein, when the invited entity is an application entity AE:
所述被邀请实体获知被邀请加入所述多方会话,可包括:接收到所述被邀请实体的托管CSE发送的邀请其加入所述多方会话的订阅通知;The inviting entity is informed that the invitation to join the multi-party session may be: receiving a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
在所述被邀请实体的托管CSE中为所述被邀请实体创建所述多方会话的会话资源,可包括:所述被邀请实体向所述被邀请实体的托管CSE发送同意 加入所述多方会话的消息,通过所述被邀请实体的托管CSE为所述被邀请实体创建所述多方会话的会话资源。Creating the session resource of the multi-party session for the invited entity in the hosted CSE of the invited entity may include: the invited entity sending a consent to the hosted CSE of the invited entity Joining the message of the multiparty session, creating a session resource of the multiparty session for the invited entity by the hosted CSE of the invited entity.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
被邀请实体的托管CSE接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求,向所述被邀请实体发送邀请其加入所述多方会话的订阅通知,所述被邀请实体为AE;The hosted CSE of the invited entity receives a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, and sends a notification of the subscription to the invited entity to join the multi-party session. The invited entity is an AE;
所述被邀请实体的托管CSE收到所述被邀请实体同意加入所述多方会话的消息后,在所述被邀请实体对应的资源下创建所述多方会话的会话资源,并向所述会话管理/创建实体回复所述被邀请实体同意加入所述多方会话的消息。After the hosted CSE of the invited entity receives the message that the invited entity agrees to join the multi-party session, the session resource of the multi-party session is created under the resource corresponding to the invited entity, and is managed to the session. / Create an entity replies to the message that the invited entity agrees to join the multiparty session.
其中,所述被邀请实体的托管CSE接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求后,可以先查找所述被邀请实体创建的订阅资源,如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅多方会话的邀请。The hosted CSE of the invited entity may first search for the subscription resource created by the invited entity after receiving the request for the session entity to create the session resource of the multi-party session sent by the session entity. If found, the subscription notification is sent; wherein the subscription resource is used to subscribe to the invitation of the multi-party session.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
请求加入实体请求会话管理/创建实体的托管CSE更新所述多方会话的会话资源,以加入所述多方会话;The managed CSE requesting to join the entity requesting session management/creation entity updates the session resources of the multiparty session to join the multiparty session;
所述请求加入实体接收到所述会话管理/创建实体的托管CSE回复的同意加入所述多方会话的消息后,在所述请求加入实体的托管CSE中为所述请求加入实体创建所述多方会话的会话资源。After the request joining entity receives the message of the host CSE reply of the session management/creation entity agreeing to join the multi-party session, creating the multi-party session for the request joining entity in the managed CSE of the request joining entity Session resources.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
会话管理/创建实体获知请求加入实体请求加入所述多方会话,同意所述请求加入实体加入所述多方会话;The session management/creation entity learns that the request to join the entity requests to join the multi-party session, and agrees that the request joins the entity to join the multi-party session;
更新所述会话管理/创建实体的托管CSE中所述多方会话的会话资源。Updating the session resources of the multiparty session in the managed CSE of the session management/creation entity.
其中,所述会话管理/创建实体本身即为所述会话管理/创建实体的托管 CSE时:Wherein the session management/creation entity itself is the hosting of the session management/creation entity When CSE:
所述会话管理/创建实体获知请求加入实体请求加入所述多方会话,可包括:接收到所述请求加入实体发送的更新所述多方会话的会话资源的请求;The session management/creation entity learns that the requesting to join the entity to request to join the multi-party session may include: receiving a request sent by the request joining entity to update the session resource of the multi-party session;
更新所述会话管理/创建实体的托管CSE中所述多方会话的会话资源,可包括:所述会话管理/创建实体更新所述多方会话的会话资源;之后,所述会话管理/创建实体还向所述请求加入实体回复同意加入所述多方会话的消息。Updating the session resource of the multiparty session in the managed CSE of the session management/creation entity may include: the session management/creation entity updating a session resource of the multiparty session; afterwards, the session management/creation entity further The request join entity replies to a message agreeing to join the multiparty session.
其中,所述会话管理/创建实体为AE时:Wherein, when the session management/creation entity is AE:
所述会话管理/创建实体获知请求加入实体请求加入所述多方会话,可包括:接收到所述会话管理/创建实体的托管CSE发送的请求加入实体请求加入所述多方会话的订阅通知;The session management/creation entity learns that the requesting to join the entity to request to join the multi-party session may include: receiving a request sent by the hosted CSE of the session management/creation entity to join the entity to request to join the subscription notification of the multi-party session;
更新所述会话管理/创建实体的托管CSE中所述多方会话的会话资源,可包括:所述会话管理/创建实体向所述会话管理/创建实体的托管CSE发送同意所述请求加入实体加入所述多方会话的消息,通过所述会话管理/创建实体的托管CSE更新所述多方会话的会话资源。Updating the session resource of the multiparty session in the managed CSE of the session management/creation entity may include: the session management/creation entity sending to the hosted CSE of the session management/creation entity agreeing to the request to join the entity joining site The message of the multiparty session is updated by the session management/creation entity's managed CSE.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
会话管理/创建实体的托管CSE接收到请求加入实体更新所述多方会话的会话资源的请求后,向所述会话管理/创建实体发送所述请求加入实体请求加入所述多方会话的订阅通知,所述会话管理/创建实体为AE;After receiving the request to join the entity to update the session resource of the multi-party session, the managed CSE of the session management/creation entity sends a request notification to the session management/creation entity requesting to join the multi-party session, The session management/creation entity is AE;
所述会话管理/创建实体的托管CSE接收到所述会话管理/创建实体同意所述请求加入实体加入所述多方会话的消息后,更新所述多方会话的会话资源的请求,并向所述请求加入实体回复同意其加入所述多方会话的消息。The managed CSE of the session management/creation entity receives the request that the session management/creation entity agrees to the request to join the entity to join the multi-party session, updates the request for the session resource of the multi-party session, and sends the request to the request The joining entity replies to the message that it joins the multiparty session.
其中,所述会话管理/创建实体的托管CSE接收到请求加入实体更新所述多方会话的会话资源的请求后,可以先查找所述会话管理/创建实体创建的订阅资源;如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅实体加入多方会话的请求。The managed CSE of the session management/creation entity may first search for the subscription resource created by the session management/creation entity after receiving the request to join the entity to update the session resource of the multi-party session; The subscription notification; wherein the subscription resource is used for a request for a subscription entity to join a multiparty session.
可选地,所述多方会话的会话资源包括属性信息和/或消息子资源;Optionally, the session resource of the multi-party session includes attribute information and/or a message sub-resource;
所述会话资源的属性信息包括以下至少一种信息:会话消息,会话标识、 会话主题、会话创建者、会话参与者、会话实体状态、最大数量;The attribute information of the session resource includes at least one of the following information: a session message, a session identifier, Session topic, session creator, session participant, session entity state, maximum number;
所述消息子资源用于描述多方会话过程中传送的消息,包括以下至少一种信息:消息标识、消息状态、消息格式、消息发送者、消息接收者、消息发送时间。The message sub-resource is used to describe a message transmitted during a multi-party session, and includes at least one of the following information: a message identifier, a message status, a message format, a message sender, a message receiver, and a message sending time.
本发明还提供了一种多方会话的处理装置,应用于作为会话管理/创建实体的通用业务实体CSE或应用实体AE中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to a general service entity CSE or an application entity AE as a session management/creation entity, and the processing apparatus includes:
会话邀请模块,设置为:请求被邀请实体的托管CSE为被邀请实体创建所述多方会话的会话资源;a session invitation module, configured to: request a hosted CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
资源更新模块,设置为:接收到所述被邀请实体的托管CSE回复的所述被邀请实体同意加入所述多方会话的消息后,更新所述会话管理/创建实体的托管CSE中创建的所述多方会话的会话资源。a resource update module, configured to: after receiving the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, update the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
本发明还提供了一种多方会话的处理装置,应用于作为被邀请实体的CSE中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to a CSE as an invited entity, and the processing apparatus includes:
邀请处理模块,设置为:接收到会话管理/创建实体发送的为被邀请实体创建所述多方会话的会话资源的请求后,如同意加入所述多方会议,向所述会话管理/创建实体回复同意加入所述多方会话的消息;The invitation processing module is configured to: after receiving the request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, if agreeing to join the multi-party conference, reply to the session management/creation entity Joining the message of the multiparty session;
资源创建模块,设置为:如同意加入所述多方会议,则在所述被邀请实体的资源下创建所述多方会话的会话资源。The resource creation module is configured to: create a session resource of the multi-party session under the resource of the invited entity, if it is agreed to join the multi-party conference.
本发明还提供了一种多方会话的处理装置,应用于作为被邀请实体的AE中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to an AE as an invited entity, and the processing apparatus includes:
邀请接收模块,设置为:接收所述被邀请实体的托管CSE发送的邀请其加入所述多方会话的订阅通知;An invitation receiving module, configured to: receive a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
邀请回复模块,设置为:在同意加入所述多方会议时,向所述被邀请实体的托管CSE发送同意加入所述多方会话的消息。The invitation reply module is configured to: send a message agreeing to join the multiparty session to the hosted CSE of the invited entity when agreeing to join the multiparty conference.
本发明还提供了一种多方会话的处理装置,应用于作为被邀请实体的托管CSE的实体中,所述处理装置包括: The present invention also provides a processing apparatus for a multi-party session, which is applied to an entity hosting a CSE as an invited entity, the processing apparatus comprising:
订阅处理模块,设置为:接收到会话管理/创建实体发送的为被邀请实体创建所述多方会话的会话资源的请求后,向所述被邀请实体发送邀请其加入所述多方会话的订阅通知;及,接收到所述被邀请实体同意加入所述多方会话的消息后,向所述会话管理/创建实体回复所述被邀请实体同意加入所述多方会话的消息,所述被邀请实体为AE;a subscription processing module, configured to: after receiving a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, send a subscription notification to the invited entity to invite the join party to join the multi-party session; And after receiving the message that the invited entity agrees to join the multi-party session, replying to the session management/creation entity, the message that the invited entity agrees to join the multi-party session, where the invited entity is an AE;
资源创建模块,设置为:接收到所述被邀请实体同意加入所述多方会话的消息后,在所述被邀请实体对应的资源下创建所述多方会话的会话资源。The resource creation module is configured to: after receiving the message that the invited entity agrees to join the multi-party session, create a session resource of the multi-party session under the resource corresponding to the invited entity.
可选地,所述订阅处理模块接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求后,先查找所述被邀请实体创建的订阅资源,如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅多方会话的邀请。Optionally, after receiving the request sent by the session management/creation entity to create the session resource of the multi-party session, the subscription processing module first searches for a subscription resource created by the invited entity, such as searching. And sending the subscription notification; wherein the subscription resource is used to subscribe to the invitation of the multi-party session.
本发明还提供了一种多方会话的处理装置,应用于作为请求加入实体的CSE或AE中,所述处理装置包括:The present invention also provides a processing device for a multi-party session, which is applied to a CSE or an AE as a requesting entity, the processing device comprising:
加入请求模块,设置为:请求会话管理/创建实体的托管CSE更新所述多方会话的会话资源,以加入所述多方会话;a requesting module, configured to: request a session management/creation entity to host a CSE to update a session resource of the multiparty session to join the multiparty session;
资源创建模块,设置为:接收到所述会话管理/创建实体的托管CSE回复的同意加入所述多方会话的消息后,在所述请求加入实体的托管CSE中为所述请求加入实体创建所述多方会话的会话资源。a resource creation module, configured to: after receiving the message that the host CSE reply of the session management/creation entity agrees to join the multi-party session, create the content for the request joining entity in the managed CSE of the request joining entity Session resources for multiparty sessions.
本发明还提供了一种多方会话的处理装置,应用于作为会话管理/创建实体的CSE中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to a CSE as a session management/creation entity, and the processing apparatus includes:
请求处理模块,设置为:接收到所述请求加入实体发送的更新所述多方会话的会话资源的请求后,如同意所述请求加入实体加入所述多方会话,向所述请求加入实体回复同意加入所述多方会话的消息;a request processing module, configured to: after receiving the request for adding the session resource of the multi-party session sent by the request joining entity, if the requesting to join the entity joins the multi-party session, agreeing to join the requesting entity The message of the multiparty session;
资源更新模块,设置为:如同意所述请求加入实体加入所述多方会话,则更新所述多方会话的会话资源。And a resource update module, configured to: if the request to join the entity joins the multiparty session, update the session resource of the multiparty session.
本发明还提供了一种多方会话的处理装置,应用于作为会话管理/创建实体的AE中,所述处理装置包括: The present invention also provides a processing apparatus for a multi-party session, which is applied to an AE as a session management/creation entity, the processing apparatus comprising:
请求接收模块,设置为:接收所述会话管理/创建实体的托管CSE发送的请求加入实体请求加入所述多方会话的订阅通知;a request receiving module, configured to: receive a request sent by the hosted CSE of the session management/creation entity to join a subscription request to join the multi-party session;
请求回复模块,设置为:如同意所述请求加入实体加入所述多方会话,向所述会话管理/创建实体的托管CSE发送同意所述请求加入实体加入所述多方会话的消息。The request reply module is configured to: send a message agreeing to the requesting joining entity to join the multiparty session to the managed CSE of the session management/creation entity if the requesting join entity joins the multiparty session.
本发明还提供了一种多方会话的处理装置,应用于作为会话管理/创建实体的托管CSE的实体中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to an entity that hosts a CSE as a session management/creation entity, and the processing apparatus includes:
订阅处理模块,设置为:接收到请求加入实体更新所述多方会话的会话资源的请求后,向所述会话管理/创建实体发送所述请求加入实体请求加入所述多方会话的订阅通知;及,接收到所述会话管理/创建实体同意所述请求加入实体加入所述多方会话的消息后,向所述请求加入实体回复同意其加入所述多方会话的消息;所述会话管理/创建实体为AEa subscription processing module, configured to: after receiving a request to join the entity to update the session resource of the multi-party session, send, to the session management/creation entity, the subscription notification that the request join entity requests to join the multi-party session; and After receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, the message is sent to the requesting entity to agree to join the multi-party session; the session management/creation entity is AE
资源更新模块,设置为:接收到所述会话管理/创建实体同意所述请求加入实体加入所述多方会话的消息后,更新所述多方会话的会话资源的请求。The resource update module is configured to: after receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, update the request for the session resource of the multi-party session.
可选地,所述订阅处理模块接收到请求加入实体更新所述多方会话的会话资源的请求后,先查找所述会话管理/创建实体创建的订阅资源;如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅实体加入多方会话的请求。Optionally, after receiving the request to join the entity to update the session resource of the multi-party session, the subscription processing module first searches for a subscription resource created by the session management/creation entity; if found, sends the subscription notification again. The subscription resource is used to subscribe to a request for an entity to join a multiparty session.
根据本发明的另一个方面,提供了一种多方会话的处理方法,包括:在托管CSE上创建会话资源,其中,该会话资源用于描述该托管CSE的多方会话或注册在该托管CSE上的AE的多方会话。According to another aspect of the present invention, a method for processing a multiparty session is provided, comprising: creating a session resource on a hosted CSE, wherein the session resource is used to describe a multiparty session of the hosted CSE or to be registered on the hosted CSE AE's multiparty conversation.
可选地,所述创建会话资源方式包括以下之一:当会话管理/创建实体邀请其他实体加入到多方会话时,则发送消息到所述其他实体的托管CSE中请求创建会话资源,其中,所述其他实体为AE时,所述托管CSE需要通知AE并获取其同意创建所述会话资源;当某一实体请求加入到会话时,则发送消息到所述会话管理/创建实体请求更新所述会话管理/创建实体的会话资源 加入所述会话,当得到所述会话管理/创建实体同意时,在请求加入所述会话的实体的托管CSE中创建会话资源;Optionally, the method for creating a session resource includes one of the following: when the session management/creation entity invites other entities to join the multi-party session, sending a message to the hosted CSE of the other entity to request to create a session resource, where When the other entity is an AE, the hosted CSE needs to notify the AE and obtain its consent to create the session resource; when an entity requests to join the session, send a message to the session management/creation entity to request to update the session. Manage/create session resources for an entity Joining the session, when the session management/creation entity agrees, creating a session resource in the hosted CSE of the entity requesting to join the session;
可选地,所述会话管理/创建实体邀请其他实体加入某一会话,当其他实体为AE时,该其他实体的托管CSE中需要事先创建订阅资源,用于订阅多方会话的邀请;所述会话管理/创建实体发送请求在其他实体的托管CSE中创建会话资源时,表示所述会话管理/创建实体请求在其他实体加入会话,则根据实现订阅资源中的订阅条件通知其他实体,其他实体获知并同意该会话邀请,则在该其他实体的托管CSE中创建所述会话管理/创建实体请求创建的会话资源;当其他实体为托管CSE时,则无需创建订阅资源,托管CSE根据分析在其中创建会话资源;Optionally, the session management/creation entity invites other entities to join a certain session. When the other entity is an AE, the hosted CSE of the other entity needs to create a subscription resource in advance for subscribing to the invitation of the multi-party session; When the management/creation entity sends a request to create a session resource in the hosted CSE of another entity, it indicates that the session management/creation entity requests to join the session in another entity, and the other entity is notified according to the subscription condition in the implementation subscription resource, and other entities are informed and If the session invitation is agreed, the session resource created by the session management/creation entity is created in the hosted CSE of the other entity; when the other entity is the managed CSE, there is no need to create a subscription resource, and the hosted CSE creates a session according to the analysis. Resource
可选地,所述某一实体请求加入某一会话,当所述某一会话管理/创建实体为AE时,所述会话管理/创建实体的托管CSE中需要创建订阅资源,用于订阅实体加入会话的请求;所述某一实体的发送消息请求更新所述管理/创建实体的会话资源时,表示所述某一实体请求加入所述管理/创建实体的会话,则根据订阅资源中的订阅条件通知所述会话管理/创建实体,所述会话管理/创建实体同意加入并反馈会话信息给所述某一实体,所述某一实体在其托管CSE中创建会话资源;当所述会话管理/创建实体为托管CSE时,则无需创建订阅资源,所述托管CSE根据加入请求分析后直接反馈信息给所述某一实体,所述某一实体在其托管CSE中创建会话资源;Optionally, the certain entity requests to join a certain session. When the certain session management/creation entity is an AE, a subscription resource needs to be created in the managed CSE of the session management/creation entity for the subscription entity to join. a request for a session; when the sending message of the certain entity requests to update the session resource of the management/creation entity, indicating that the entity requests to join the session of the management/creation entity, according to the subscription condition in the subscription resource Notifying the session management/creation entity, the session management/creation entity agrees to join and feed back session information to the certain entity, the certain entity creating a session resource in its hosted CSE; when the session is managed/created When the entity is a managed CSE, there is no need to create a subscription resource, and the hosted CSE directly feeds back information to the entity according to the join request analysis, and the entity creates a session resource in its hosted CSE;
可选地,所述方法还包括:在某一实体请求加入多方会话的所述某一实体的托管CSE中或邀请某一实体加入多方会话的所述某一实体的托管CSE中创建会话资源,以及所述多方会话管理/创建实体的托管CSE上创建会话资源,Optionally, the method further includes: creating a session resource in a managed CSE of the entity of the entity that is requested to join the multi-party session or inviting an entity to join the entity of the multi-party session, And creating a session resource on the managed CSE of the multi-party session management/creation entity,
可选地,通过所述会话资源的属性或所述会话资源的子资源描述所述会话信息。Optionally, the session information is described by an attribute of the session resource or a sub-resource of the session resource.
可选地,所述会话资源的属性包括以下至少之一:消息、多方会话标识ID、多方会话主题、多方会话创建者、多方会话参与者、多方会话实体状态、最大数量。Optionally, the attributes of the session resource include at least one of the following: a message, a multi-party session identifier ID, a multi-party session topic, a multi-party session creator, a multi-party session participant, a multi-party session entity state, and a maximum number.
可选地,所述方法还包括:在所述会话资源下创建消息子资源,其中, 该消息子资源用于描述多方会话过程中产生的消息,所述消息子资源包括以下至少之一:消息ID、消息状态、消息格式、消息发送者、消息接收者。Optionally, the method further includes: creating a message sub-resource under the session resource, where The message sub-resource is used to describe a message generated during a multi-party session, and the message sub-resource includes at least one of the following: a message ID, a message status, a message format, a message sender, and a message receiver.
根据本发明的又一方面,还提供了一种多方会话的处理装置,包括:创建/更新模块,用于在托管CSE上创建/更新会话资源,其中,该会话资源用于描述该托管CSE的多方会话或注册在该托管CSE上的AE的多方会话。According to still another aspect of the present invention, there is also provided a processing apparatus for a multiparty session, comprising: a create/update module for creating/updating a session resource on a managed CSE, wherein the session resource is used to describe the hosted CSE A multiparty session or a multiparty session registered with an AE on the hosted CSE.
可选地,所述创建模块中所述会话资源创建方式包括以下之一:当会话管理/创建实体邀请其他实体加入到多方会话时,则在所述其他实体的托管CSE中创建会话资源,其中,所述其他实体为AE时,所述托管CSE需要通知AE并获取其同意创建所述会话资源;当某一实体请求加入到会话时,则发送消息到所述会话管理/创建实体请求加入所述会话,当得到所述会话管理/创建实体同意时,在请求加入所述会话的实体的托管CSE中创建会话资源;Optionally, the session resource creation manner in the creating module includes one of the following: when the session management/creation entity invites other entities to join the multi-party session, the session resource is created in the managed CSE of the other entity, where When the other entity is an AE, the hosted CSE needs to notify the AE and obtain its consent to create the session resource; when an entity requests to join the session, send a message to the session management/creation entity to request to join the a session, when the session management/creation entity agrees, create a session resource in a hosted CSE of an entity requesting to join the session;
可选地,所述装置,还包括订阅模块、通知模块,订阅模块用于订阅会话的邀请及请求加入,即会话资源的创建/更新;通知模块用于通知所述其他会话实体加入会话或所述会话管理/创建实体有实体请求加入会话;Optionally, the device further includes a subscription module, a notification module, an invitation for subscribing to the session, and a request to join, that is, creation/update of the session resource, and the notification module is configured to notify the other session entity to join the session or the session. The session management/creation entity has an entity requesting to join the session;
可选地,所述订阅模块在托管CSE上创建订阅资源,用于订阅邀请注册在该托管CSE上AE加入会话,或订阅请求加入注册在该托管CSE上AE管理/创建的会话;Optionally, the subscription module creates a subscription resource on the hosted CSE for subscription subscription registration on the hosted CSE to join the session, or a subscription request to join the session registered/created by the AE on the hosted CSE;
可选地,所述通知模块用于通知注册在该托管CSE上的AE,所述通知模块包括:Optionally, the notification module is configured to notify an AE registered on the managed CSE, where the notification module includes:
第一发送单元,用于当会话管理/创建实体邀请注册在托管CSE上的AE实体加入到多方会话时,所述会话管理/创建实体将邀请请求发送至所述AE实体所注册的托管CSE,所述托管CSE将所述邀请请求发送至所述AE实体通知所述AE实体以下内容:所述会话管理/创建实体邀请其加入所述多方会话;a first sending unit, configured to: when the session management/creation entity invites an AE entity registered on the managed CSE to join the multi-party session, the session management/creation entity sends an invitation request to the hosted CSE registered by the AE entity, The managed CSE sends the invitation request to the AE entity to notify the AE entity that the session management/creation entity invites it to join the multiparty session;
第二发送单元,用于当存在某一实体请求加入所述会话管理/创建实体创建的多方会话时,并且该会话管理/创建实体为AE时,所述某一实体将加入请求发送至所述会话管理/创建实体所注册的托管CSE,所述托管CSE将所述加入请求发送至所述会话管理/创建实体通知所述注册实体以下内容:所述 某一实体请求加入所述注册实体创建的多方会话。a second sending unit, configured to: when an entity requests to join the multi-party session created by the session management/creation entity, and the session management/creation entity is an AE, the certain entity sends a join request to the a session management/creation of a hosted CSE registered by the entity, the hosted CSE transmitting the join request to the session management/creation entity notifying the registered entity of the following: An entity requests to join a multiparty session created by the registered entity.
上述方案通过创建和/或更新多方会话的会话资源建立实体间的多方会话,解决了相关技术中针对多跳会话之间的交互过程尚不支持的问题,提供了一种支持多方会话的方案,扩展了物联网系统的应用场景。The foregoing solution solves the problem that the related technology does not support the interaction process between the multi-hop sessions by creating and/or updating the multi-party session between the entities of the multi-party session, and provides a solution for supporting the multi-party session. The application scenario of the Internet of Things system is expanded.
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明实施例而了解。本发明实施例的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the embodiments of the invention will be set forth in the description in the description in the claims The objectives and other advantages of the embodiments of the present invention can be realized and obtained by the structure of the invention.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为根据本发明实施例的多方会话的处理方法的流程图;FIG. 1 is a flowchart of a method for processing a multiparty session according to an embodiment of the present invention; FIG.
图2为根据本发明实施例的多方会话的处理装置的结构框图;2 is a structural block diagram of a processing apparatus for a multiparty session according to an embodiment of the present invention;
图3为根据本发明实施例的多方会话的处理装置的另一结构框图;FIG. 3 is a block diagram showing another structure of a multi-party session processing apparatus according to an embodiment of the present invention; FIG.
图4为根据本发明示例的多方会话的处理装置的结构框图;4 is a structural block diagram of a processing apparatus of a multiparty session according to an example of the present invention;
图5为根据本发明实施例的多方会话资源及其子资源的结构图;FIG. 5 is a structural diagram of a multi-party session resource and its sub-resources according to an embodiment of the present invention; FIG.
图6位根据本发明实施例的邀请多方会话的流程示意图;6 is a schematic flow chart of inviting a multiparty session according to an embodiment of the present invention;
图7为根据本发明实施例的主动加入多方会话的流程示意图;FIG. 7 is a schematic flowchart of actively joining a multiparty session according to an embodiment of the present invention; FIG.
图8为根据本发明实施例的多方会话中消息收发的流程示意图。FIG. 8 is a schematic flowchart of message sending and receiving in a multi-party session according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下面结合附图对本发明的实施方式进行描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。Embodiments of the present invention will be described below with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the various manners in the embodiments may be combined with each other without conflict.
在本发明实施例中,提供了一种多方会话的处理方法,图1为根据本发明实施例的多方会话的处理方法的流程图,如图1所示,包括以下步骤: In the embodiment of the present invention, a method for processing a multi-party session is provided. FIG. 1 is a flowchart of a method for processing a multi-party session according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
步骤S102,在hosting CSE创建/更新会话资源,其中,该会话资源用于表述该hosting CSE或注册在该hostingCSE上的AE的多方会话信息;Step S102: Create/update a session resource in the hosting CSE, where the session resource is used to describe the multi-party session information of the hosting CSE or the AE registered on the hosting CSE;
步骤S104,根据上述会话资源的创建/更新对多方会话进行处理。Step S104, processing the multi-party session according to the creation/update of the session resource.
通过上述各个步骤,通过在hosting CSE上创建或更新该hosting CSE或注册在该hosting CSE上的AE的多方会话资源,解决了相关技术中,物联网系统中,针对多跳会话之间的交互过程尚不支持的问题,提供了一种支持多方会话的方案,扩展了物联网系统的应用场景。Through the above steps, by creating or updating the hosting CSE or the multi-party session resource of the AE registered on the hosting CSE on the hosting CSE, the interaction process between the multi-hop sessions in the IoT system is solved in the related art. The problem that is not yet supported provides a solution to support multi-party sessions, extending the application scenario of the IoT system.
上述方案可以总结为:以物联网资源结构为基础,在物联网中hosting CSE创建/更新会话资源,用于建立hosting CSE或注册在该hosting CSE上的AE与其他实体多方会话,其中,所述会话资源的创建/更新包括在被邀请加入会话的实体的hosting CSE中创建,和在请求加入会话的实体的hosting CSE中创建。除非特别指出,文中的会话指多方会话。The above solution can be summarized as: based on the IoT resource structure, in the Internet of Things, the hosting CSE creates/updates a session resource, and is used to establish a hosting CSE or an AE registered on the hosting CSE with other entities, wherein the The creation/update of session resources is created in the hosting CSE of the entity invited to join the session, and in the hosting CSE of the entity requesting to join the session. Unless otherwise stated, a conversation in the text refers to a multiparty conversation.
在本发明实施例中,上述创建会话资源方式包括以下之一:当会话管理/创建实体邀请其他实体加入到多方会话时,则发送消息到所述其他实体的hosting CSE中请求创建会话资源,其中,所述其他实体为AE时,所述hosting CSE需要通知AE并获取其同意创建所述会话资源;当某一实体请求加入到会话时,则发送消息到所述会话管理/创建实体请求更新所述会话管理/创建实体的会话资源加入所述会话,当得到所述会话管理/创建实体同意时,在请求加入所述会话的实体的hosting CSE中创建会话资源;In the embodiment of the present invention, the method for creating a session resource includes one of the following: when the session management/creation entity invites other entities to join the multi-party session, sending a message to the hosting CSE of the other entity to request to create a session resource, where When the other entity is an AE, the hosting CSE needs to notify the AE and obtain its consent to create the session resource; when an entity requests to join the session, send a message to the session management/creation entity to request an update. The session resource of the session management/creation entity is added to the session, and when the session management/creation entity agrees, the session resource is created in the hosting CSE of the entity that requests to join the session;
会话管理/创建实体邀请其他实体加入到多方会话,可以是在会话创建过程中,会话创建实体邀请其他实体加入到多方会话;也可以是在会话创建完成后,会话管理实体邀请其他实体加入到多方会话;会话管理实体和会话创建实体可以相同或不同。The session management/creation entity invites other entities to join the multi-party session. The session creation entity invites other entities to join the multi-party session during the session creation process. Alternatively, after the session creation is completed, the session management entity invites other entities to join the multi-party. Session; the session management entity and the session creation entity can be the same or different.
会话资源通过资源的属性和/或子资源表示会话信息,会话信息由会话管理/创建实体的hosting CSE发送给被邀请加入会话或主动请求加入会话的实体;上述会话资源的属性包括以下至少之一:消息、多方会话标识ID、多方会话主题、多方会话创建者、多方会话参与者、多方会话实体状态、最大数量。 The session resource indicates the session information through the attribute and/or the sub-resource of the resource, and the session information is sent by the hosting CSE of the session management/creation entity to the entity invited to join the session or actively requesting to join the session; the attributes of the session resource include at least one of the following: : message, multiparty session ID, multiparty session subject, multiparty session creator, multiparty session participant, multiparty session entity status, maximum number.
其中,上述方法还包括:在上述会话资源下创建消息子资源,其中,该消息子资源用于描述多方会话过程中产生的消息,所述消息子资源包括以下至少之一:消息ID、消息状态、消息格式、消息发送者、消息接收者。The method further includes: creating a message sub-resource under the foregoing session resource, where the message sub-resource is used to describe a message generated during a multi-party session, where the message sub-resource includes at least one of the following: a message ID, a message status , message format, message sender, message receiver.
也就是说,通过在实体的hosting CSE中创建会话资源,来实现实体间会话的建立。会话资源的创建,当邀请某一实体加入会话时,在被邀请实体的hosting CSE中创建会话资源;或当某一实体主动请求加入会话时,在取得会话管理/创建实体同意后,在某一实体的hosting CSE中创建会话资源。That is to say, the establishment of an inter-entity session is achieved by creating a session resource in the host's hosting CSE. The creation of a session resource, when an entity is invited to join the session, the session resource is created in the hosting CSE of the invited entity; or when an entity actively requests to join the session, after obtaining the session management/creation entity consent, at a certain Create session resources in the entity's hosting CSE.
同一会话中各实体的hosting CSE中创建的会话资源中表示该会话信息属性及子资源是基本相同的,如会话ID,多方会话主题等。The session resources created in the hosting CSE of each entity in the same session indicate that the session information attribute and the sub-resource are basically the same, such as a session ID, a multi-party session topic, and the like.
为了更好的理解上述技术方案,上述方法还包括:In order to better understand the above technical solution, the above method further includes:
当会话实体(包括被邀请会话实体和会话管理/创建实体)为AE时,在实体的hosting CSE中创建订阅资源,用于订阅邀请实体加入会话或实体请求加入会话。When the session entity (including the invited session entity and the session management/creation entity) is an AE, a subscription resource is created in the host's hosting CSE for the subscription inviting entity to join the session or the entity requesting to join the session.
在本发明的可选实施例中,某一实体的hosting CSE中创建了订阅资源,该订阅资源描述了当会话管理/创建实体邀请某一实体加入会话中时,hosting CSE通知被邀请会话实体有会话管理/创建实体邀请其加入会话;In an optional embodiment of the present invention, a subscription resource is created in an hosting CSE of an entity, and the subscription resource describes that when the session management/creation entity invites an entity to join the session, the hosting CSE notifies the invited session entity that The session management/creation entity invites them to join the session;
在本发明的另一可选实施例中,会话管理/创建实体的hosting中创建了订阅资源,该订阅资源描述了当有某一实体请求加入该会话管理/创建的会话时,hosting CSE通知会话管理/创建实体有某一实体请求加入会话;In another optional embodiment of the present invention, a subscription resource is created in the hosting of the session management/creation entity, and the subscription resource describes a hosting CSE notification session when an entity requests to join the session management/create session. The management/creation entity has an entity requesting to join the session;
当被邀请实体同意加入被邀请的会话或会话管理/创建实体同意某一实体加入其管理/创建的会话时,被邀请实体或请求加入实体的hosting CSE中才能创建会话资源。When the invited entity agrees to join the invited session or the session management/creation entity agrees that an entity joins its managed/created session, the invited entity or the hosting CSE requesting to join the entity can create the session resource.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必需的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在本实施例中还提供了一种多方会话的处理装置,该处理装置位于 hosting CSE中,用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图2为根据本发明实施例的多方会话的处理装置的结构框图。如图2所示,该装置包括:In the embodiment, a processing device for a multi-party session is also provided, and the processing device is located In the hosting CSE, the above embodiments and preferred embodiments are implemented, and the descriptions of the modules involved in the apparatus will be described below. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated. 2 is a structural block diagram of a processing apparatus for a multiparty session according to an embodiment of the present invention. As shown in Figure 2, the device comprises:
创建/更新模块20,用于在hosting CSE上创建/更新会话资源和订阅资源,其中,该会话资源用于描述该hosting CSE的多方会话或注册在该hosting CSE上的AE的多方会话的会话信息,订阅资源用于订阅会话加入或会话邀请;a create/update module 20 for creating/updating a session resource and a subscription resource on the hosting CSE, wherein the session resource is used to describe the session information of the multiparty session of the hosting CSE or the multiparty session of the AE registered on the hosting CSE , the subscription resource is used to subscribe to a session join or a session invitation;
可选的,所述装置还包括:接收模块22,用于接收会话请求者或会话邀请者发送的请求及消息;发送模块24,用于发送会话邀请或加入的请求及消息,并将触发的订阅通知发送给对应的会话订阅者。Optionally, the device further includes: a receiving module 22, configured to receive a request and a message sent by a session requester or a session inviter; and a sending module 24, configured to send a session invitation or a join request and a message, and trigger the Subscription notifications are sent to the corresponding session subscribers.
当会话管理/创建实体以及被邀请加入会话的实体为AE时,事先,在会话管理/创建实体的hosting CSE、以及被邀请或请求加入会话的实体的hosting CSE中创建订阅资源,当接收模块22接收到会话请求者或会话邀请者发送的请求及消息,并且触发订阅条件时,创建/更新模块20通过发送模块24将订阅通知发送给订阅实体,通知有实体邀请订阅实体加入或有实体要求加入其某一个会话中;当被邀请实体接收到订阅通知消息后,同意加入该会话中,则发送消息到其hosting CSE,表示被邀请实体同意加入该会话中;当会话创建/管理实体收到订阅通知消息后,同意请求实体加入其已存在的某一会话中,则更新其hosting CSE中创建的对应该会话的session资源,并通过发送模块将同意加入消息返回给请求实体;When the session management/creation entity and the entity invited to join the session are AEs, the subscription resources are created in advance in the hosting CSE of the session management/creation entity and the hosting CSE of the entity invited or requesting to join the session, when the receiving module 22 Upon receiving the request and message sent by the session requester or the session inviter, and triggering the subscription condition, the creation/update module 20 sends the subscription notification to the subscribing entity through the sending module 24, notifying that the entity invites the subscribing entity to join or has an entity requesting to join. In one of the sessions; when the invited entity receives the subscription notification message and agrees to join the session, it sends a message to its hosting CSE, indicating that the invited entity agrees to join the session; when the session creation/management entity receives the subscription After the notification message, the requesting entity is added to a session that already exists, the session resource corresponding to the session created in the hosting CSE is updated, and the consent joining message is returned to the requesting entity by the sending module;
当会话管理/创建实体以及被邀请或请求加入会话的实体为CSE时,不需要创建订阅资源,当接收模块22接收到会话请求者或会话邀请者发送的请求及消息,创建/更新模块20可根据需要创建/更新会话资源;当被邀请实体同意加入会话时,被邀请实体的hosting CSE的创建/更新模块在被邀请实体的资源下创建session资源;当请求加入会话管理/创建实体的会话时,会话管理/创建实体的hosting CSE的创建/更新模块更新该会话的session资源,并通知请求加入实体,请求加入实体的hosting CSE的创建/更新模块在请求加入实 体的资源下创建session资源;When the session management/creation entity and the entity invited or requested to join the session are CSE, there is no need to create a subscription resource. When the receiving module 22 receives the request and message sent by the session requester or the session inviter, the creation/update module 20 may Create/update session resources as needed; when the invited entity agrees to join the session, the hosted CSE creation/update module of the invited entity creates a session resource under the resources of the invited entity; when requesting to join the session management/creation entity session The session management/creation entity's hosting CSE creation/update module updates the session resource of the session and notifies the request to join the entity, requesting to join the entity's hosting CSE creation/update module in the request to join the real Create a session resource under the body resource;
在本发明实施例中,返回消息包含以下之一:同意加入的代码、会话创建/管理实体所在hosting CSE中该session资源的基本信息;请求实体的hosting CSE通过接收模块接收返回的消息,创建/更新模块在hosting CSE上创建相应的session资源;会话中的某一成员实体发送消息给其他成员实体,会话模块将在该消息对应的session资源下创建一个消息资源(也称为消息子资源),描述该消息的一些基本信息,然后通过其所在hosting CSE的发送模块将消息发送给成员实体所在的hosting CSE;消息接收成员所在的hosting CSE通过接收模块接收到消息以后,会话模块分析此消息对应的那个会话,并将给该消息以通知形式通过发送模块发送给真正的接收成员实体;In the embodiment of the present invention, the return message includes one of the following: the code that agrees to join, the basic information of the session resource in the hosting CSE where the session creation/management entity is located; the hosting CSE of the requesting entity receives the returned message through the receiving module, and creates / The update module creates a corresponding session resource on the hosting CSE; a member entity in the session sends a message to other member entities, and the session module creates a message resource (also called a message sub-resource) under the session resource corresponding to the message. Describe some basic information of the message, and then send the message to the hosting CSE where the member entity is located through the sending module of the hosting CSE; after the receiving CSE of the receiving member receives the message through the receiving module, the session module analyzes the corresponding message. That session, and will send the message to the real receiving member entity through the sending module in the form of notification;
通过上述各个步骤的综合作用,通过在该hosting CSE的多方会话或注册在该hosting CSE上的AE的多方会话所需要的资源,解决了相关技术中,物联网系统中,针对多跳会话之间的交互过程尚不支持的问题,提供了一种支持多方会话的方案,扩展了物联网系统的应用场景。Through the combined action of the above various steps, through the multi-party session of the hosting CSE or the resources required for the multi-party session of the AE registered on the hosting CSE, the related art is solved in the IoT system, for the multi-hop session The problem that the interaction process does not support, provides a solution to support multi-party sessions, and extends the application scenario of the Internet of Things system.
为了更好的理解上述技术方案,以下结合优选实施例对上述技术方案进行说明:In order to better understand the above technical solutions, the following technical solutions are described below in conjunction with the preferred embodiments:
需要说明的是,本发明实施例中系统架构基于物联网的面向资源的架构,即系统中所有的实体都看作资源,如应用实体、功能实体、数据实体等等,通过对资源的操作来实现多方实体间会话管理。It should be noted that the system architecture in the embodiment of the present invention is based on the resource-oriented architecture of the Internet of Things, that is, all entities in the system are regarded as resources, such as application entities, functional entities, data entities, etc., by operating resources. Implement session management between multiple entities.
本发明实施例提供一种基于资源方式物联网会话方法,使请求加入会话或邀请加入会话的消息,传送给会话的管理/创建者或者会话的邀请者,通过创建/更新会话资源实现会话的建立,该方法流程主要步骤如下:The embodiment of the present invention provides a resource-based IoT session method, which enables a message to join a session or invite to join a session, and is transmitted to a management/creator of the session or an invitee of the session to establish a session by creating/updating a session resource. The main steps of the method flow are as follows:
预设条件,被邀请加入会话的实体、会话管理/创建实体为AE时,需要在被邀请加入会话的实体、会话管理/创建实体的hosting CSE中创建订阅资源,订阅建立会话的消息;Pre-set conditions, when the entity that is invited to join the session, the session management/creation entity is AE, the subscription resource needs to be created in the hosting CSE of the entity that is invited to join the session, the session management/creation entity, and the message for establishing the session is subscribed;
步骤一,会话管理/创建实体发送消息给某一实体邀请其加入会话,即请求在被邀请加入会话实体的hosting CSE中的该实体的资源下创建会话资源; 或请求加入会话的实体发送请求加入会话管理/创建实体管理/创建的会话,即请求更新会话管理/创建实体的hosting CSE中该会话对应的会话资源;Step 1: The session management/creation entity sends a message to an entity to invite it to join the session, that is, request to create a session resource under the resource of the entity in the hosting CSE that is invited to join the session entity; Or the entity requesting to join the session sends a request to join the session management/create entity management/created session, that is, requesting to update the session resource corresponding to the session in the hosting CSE of the session management/creation entity;
步骤二,当被邀请加入会话的实体或会话管理/创建实体hosting CSE中有订阅会话的资源,则将建立会话的请求或消息发送给被邀请加入会话的实体或会话管理/创建实体,获取被邀请加入会话的实体或会话管理/创建实体同意建立会话;当被邀请加入会话的实体或会话管理/创建实体为hosting CSE时,直接在hosting CSE中决定是否建立或加入该会话;Step 2: When the entity that is invited to join the session or the session management/creation entity has a resource for the subscription session in the hosting CSE, the request or message for establishing the session is sent to the entity or the session management/creation entity invited to join the session, and the acquisition is obtained. The entity or session management/creation entity that invites to join the session agrees to establish a session; when the entity invited to join the session or the session management/creation entity is the hosting CSE, it is decided directly in the hosting CSE whether to establish or join the session;
步骤三,被邀请加入会话的实体或会话管理/创建实体hosting CSE确认建立或加入该会话后,在hosting CSE中邀请加入会话的实体或会话管理/创建实体资源下创建/更新会话资源;如果是某一实体请求加入该会话时,在该请求实体的hosting CSE中的该实体资源下创建与请求加入会话的会话管理/创建实体hosting CSE中相应的会话资源。Step 3: The entity or the session management/creation entity that is invited to join the session, the hosting CSE confirms that the session is established or joined, and the session resource is created or updated under the entity or the session management/creation entity resource in the hosting CSE; When an entity requests to join the session, a corresponding session resource in the session management/creation entity hosting CSE that requests to join the session is created under the entity resource in the hosting CSE of the requesting entity.
图5为根据本发明实施例的多方会话资源及其子资源的结构图,如图5所示,该资源位于hosting CSE中,该hostingCSE为会话实体(AE)注册的CSE,或者会话实体(CSE)本身,当实体被邀请或请求加入某一多方会话时,在会话实体的资源(<AE>或<CSEbase>)下创建一个session资源,用于描述从会话建立到会话结束整个过程。如下表一所示,session资源的属性至少包含以下之一:FIG. 5 is a structural diagram of a multi-party session resource and its sub-resources according to an embodiment of the present invention. As shown in FIG. 5, the resource is located in a hosting CSE, which is a CSE registered by a session entity (AE), or a session entity (CSE). In itself, when an entity is invited or requests to join a multiparty session, a session resource is created under the session entity's resource (<AE> or <CSEbase>) to describe the entire process from session establishment to session end. As shown in Table 1 below, the attributes of the session resource contain at least one of the following:
表一Table I
Figure PCTCN2016097960-appb-000001
Figure PCTCN2016097960-appb-000001
Figure PCTCN2016097960-appb-000002
Figure PCTCN2016097960-appb-000002
在会话中,会话参与者会进行一次或多次的消息交互,需要对会话下的每一次的交互进行管理,在session资源下需要创建一个新的子资源message,用于描述会话过程中当前消息、历史消息的各种信息。如下表二所示,message资源的属性至少包含以下之一:In the session, the session participant performs one or more message interactions, and needs to manage each interaction under the session. In the session resource, a new sub-resource message needs to be created to describe the current message during the session. , various information about historical news. As shown in Table 2 below, the attributes of the message resource contain at least one of the following:
表二Table II
Figure PCTCN2016097960-appb-000003
Figure PCTCN2016097960-appb-000003
在本实施例中,多方会话管理/创建实体可以是AE,也可以是CSE,当为AE时,需要其注册的hosting CSE将消息传送给AE。In this embodiment, the multi-party session management/creation entity may be an AE or a CSE. When it is an AE, the hosted CSE that needs to register it transmits the message to the AE.
图6是根据本发明实施例的邀请多方会话的流程示意图,本示例中被邀请实体为AE,如图所示,该流程包括如下步骤:FIG. 6 is a schematic flowchart of inviting a multi-party session according to an embodiment of the present invention. In this example, the invited entity is an AE. As shown in the figure, the process includes the following steps:
步骤S602,一多方会话管理/创建实体邀请一个或多个实体加入其管理/创建的会话中,向被邀请实体的hosting CSE发送会话邀请消息,请求在该hosting CSE中为所述被邀请实体创建所述多方会话的会话资源;Step S602, a multi-party session management/creation entity invites one or more entities to join the managed/created session, and sends a session invitation message to the hosting CSE of the invited entity, requesting the invited entity in the hosting CSE. Creating a session resource of the multiparty session;
本示例的被邀请实体为AE,被激请实体的hostingCSE是被邀请实体注册的CSE;如果被邀请实体为CSE,则该hostingCSE是被邀请实体本身。The invited entity of this example is AE, the hostingCSE of the activated entity is the CSE registered by the invited entity; if the invited entity is CSE, the hostingCSE is the invited entity itself.
步骤S604,hosting CSE接收到消息以后,触发被邀请实体创建在hosting CSE上创建的订阅资源中的订阅条件,将邀请加入会话的订阅通知发送给订 阅实体,即被邀请实体;Step S604: After receiving the message, the hosting CSE triggers the invited entity to create a subscription condition in the subscription resource created on the hosting CSE, and sends a subscription notification to the session to be sent to the subscription. Reading entity, the invited entity;
如果hostingCSE为被邀请实体本身,则无需触发hostingCSE的订阅条件,被邀请实体直接获取邀请消息。If the hostingCSE is the invited entity itself, the invited entity does not need to trigger the subscription condition of the hostingCSE, and the invited entity directly obtains the invitation message.
所述订阅通知中带有会话ID,可选的,带有会话的基本信息,包括会话类型、会话状态等,被邀请实体根据分析确定是否加入该会话;The subscription notification includes a session ID, optionally, basic information of the session, including a session type, a session state, and the like, and the invited entity determines whether to join the session according to the analysis;
步骤S606,被邀请实体接收到通知,获知有实体邀请其加入某一多方会话;Step S606, the invited entity receives the notification, and learns that an entity invites it to join a certain multiparty session;
步骤S608,当被邀请实体同意加入该会话,则向其hosting CSE发送同意加入会话的消息;Step S608, when the invited entity agrees to join the session, sending a message to the hosting CSE to join the session;
步骤S610,hosting CSE创建session资源成功以后,回复会话邀请者被邀请实体同意加入会话;Step S610, after the hosting CSE creates the session resource successfully, the replying session inviter is invited to join the session.
hosting CSE创建session资源时,会话ID设置为其收到的会话ID,并根据hosting CSE收到会话邀请者发送的其会话的一些基本信息来设置资源的属性,包括会话的创建者、会话的参与者、会话的消息格式等等。When the hosting CSE creates a session resource, the session ID is set to the session ID it receives, and the resource attributes are set according to some basic information of the session sent by the session inviter to the session inviter, including the creator of the session and the participation of the session. , the message format of the session, and so on.
步骤S612,会话邀请者(即会话管理/创建实体)请求其hostingCSE更新所述多方会话的session资源。Step S612, the session inviter (ie, the session management/creation entity) requests its hostingCSE to update the session resource of the multiparty session.
当会话邀请者为CSE时,其hostingCSE就是自身,此时会话邀请者直接更新所述多方会话的session资源即可,如图中步骤S612’所示。When the session inviter is the CSE, the hosting CSE is itself. At this time, the session inviter directly updates the session resource of the multi-party session, as shown in step S612' in the figure.
图7为根据本发明实施例的主动加入多方会话的流程示意图,本示例以会话管理/创建实体为AE的情况为例,如图所示,该流程包括如下步骤:FIG. 7 is a schematic diagram of a process of actively joining a multi-party session according to an embodiment of the present invention. This example takes the case where the session management/creation entity is an AE. As shown in the figure, the process includes the following steps:
步骤S702,请求加入实体在事先获取该多方会话的信息后,决定加入该多方会话,即向会话管理/创建实体的hosting CSE发送请求加入会话的消息,具体可以是请求更新该hosting CSE中所述多方会话的会话资源,消息中带有会话ID,可选的带有请求加入实体的信息;Step S702, the requesting joining entity, after obtaining the information of the multi-party session in advance, decides to join the multi-party session, that is, sending a message requesting to join the session to the hosting CSE of the session management/creation entity, specifically, requesting to update the hosting CSE. A session resource of a multiparty session, with a session ID in the message, optionally with information requesting to join the entity;
本示例的会话管理/创建实体为AE,该hostingCSE是会话管理/创建实体注册的CSE;如果会话管理/创建实体为CSE,则该hostingCSE是会话管理/创建实体本身。 The session management/creation entity of this example is AE, which is the CSE registered by the session management/creation entity; if the session management/creation entity is CSE, the hostingCSE is the session management/creation entity itself.
步骤S704,会话管理/创建实体的hosting CSE接收到消息后,触发hosting CSE上会话管理/创建实体创建的订阅资源中的订阅条件,将订阅通知消息发送给订阅实体,即会话管理/创建实体;Step S704, after receiving the message, the hosting CSE of the session management/creation entity triggers the subscription condition in the subscription resource created by the session management/creation entity on the hosting CSE, and sends the subscription notification message to the subscription entity, that is, the session management/creation entity;
如果hostingCSE为管理/创建实体本身,则无需触发hostingCSE的订阅条件,管理/创建实体直接获知请求加入消息;If the hostingCSE is the management/creation entity itself, the management/creation entity does not need to trigger the subscription condition of the hostingCSE, and the management/creation entity directly knows the request to join the message;
本步骤的订阅通知消息中,可选的,带有所述多方会话的一些信息,包括会话的创建者、会话的参与者、会话的消息格式等等。In the subscription notification message of this step, optionally, some information about the multiparty session includes the creator of the session, the participant of the session, the message format of the session, and the like.
步骤S706,会话管理/创建实体接收到订阅通知消息,获知有实体要加入其管理/创建的某一多方会话中,当同意实体加入该会话时,向其hosting CSE发送同意请求者加入会话的消息,以更新在其hosting CSE中创建的所述多方会话的session资源;Step S706, the session management/creation entity receives the subscription notification message, and learns that an entity wants to join a multi-party session managed/created by the entity. When the consent entity joins the session, it sends a consent requester to join the session to the hosting CSE. a message to update a session resource of the multiparty session created in its hosting CSE;
步骤S708,会话管理/创建实体的hosting CSE更新所述会话ID所对应的session资源,并发送消息给加入实体,通知其已被同意加入会话;Step S708, the hosting CSE of the session management/creation entity updates the session resource corresponding to the session ID, and sends a message to the joining entity to notify that it has been agreed to join the session;
步骤S710,请求加入实体请求在其hosting CSE中创建对应session资源;Step S710, requesting the joining entity to request to create a corresponding session resource in its hosting CSE;
步骤S712,请求加入实体的hosting CSE接收到请求加入实体的请求,为所述请求加入实体创建所述多方会话的会话资源,也即在所述请求加入实体对应的资源下创建session资源,其中该新建session资源下的会话ID与会话管理/创建实体的hosting CSE中的session资源下的会话ID相同,部分属性需要对应。Step S712, the hosting CSE of the requesting entity receives the request to join the entity, and creates the session resource of the multi-party session for the requesting entity, that is, creates the session resource under the resource corresponding to the requesting entity, where The session ID of the newly created session resource is the same as the session ID of the session resource in the hosting CSE of the session management/creation entity. Some attributes need to be corresponding.
如果请求加入实体是CSE,其hostingCSE就是本身,那么就在该CSE对应的资源下创建session资源。If the requesting join entity is a CSE and its hostingCSE is itself, then the session resource is created under the resource corresponding to the CSE.
图8为根据本发明实施例的多方会话中消息收发的流程示意图,如图8所示,该流程包括如下步骤:FIG. 8 is a schematic flowchart of message sending and receiving in a multi-party session according to an embodiment of the present invention. As shown in FIG. 8, the process includes the following steps:
需要说明的是,本流程是基于上述流程多方会话已创建,在已创建的会话下,进行消息的交互。It should be noted that the process is based on the above process, the multi-party session has been created, and the message interaction is performed under the created session.
步骤S802,会话创建/管理实体向多方会话中的成员发送消息,将消息发送到会话成员的hosting CSE,消息中带有会话ID、消息ID、会话参与实体 等,同时,在会话创建/管理实体的hosting CSE中该会话的session资源中创建消息子资源,存放该消息的具体内容;Step S802: The session creation/management entity sends a message to a member of the multi-party session, and sends the message to the hosting CSE of the session member, where the message carries the session ID, the message ID, and the session participating entity. Etc. At the same time, a message sub-resource is created in the session resource of the session in the hosting CSE of the session creation/management entity, and the specific content of the message is stored;
该hosting CSE可以是会话成员实体注册的CSE,也可以是会话成员实体本身;The hosting CSE may be a CSE registered by a session member entity, or may be a session member entity itself;
步骤S804,会话成员实体的hosting CSE接收到消息,根据消息中的会话ID找到hosting CSE中所述会话成员实体创建的session资源,确定消息发送人有权利在该会话下发送消息,并确定消息接收人是该session资源对应的创建人;Step S804, the hosting CSE of the session member entity receives the message, finds the session resource created by the session member entity in the hosting CSE according to the session ID in the message, determines that the message sender has the right to send a message under the session, and determines the message receiving. The person is the creator corresponding to the session resource;
步骤S806,hosting CSE将消息以通知的形式告知会话成员实体,或者告知会话成员实体有会话消息;如果该hostingCSE为会话成员实体本身,则会话成员实体直接获取会话创建/管理实体发送的会话消息;In step S806, the hosting CSE notifies the session member entity in the form of a notification, or informs the session member entity that there is a session message; if the hosting CSE is the session member entity itself, the session member entity directly obtains the session message sent by the session creation/management entity;
步骤S808,会话成员实体获取会话消息,分析消息的内容做出应答,并返回给其所在hosting CSE;Step S808, the session member entity obtains the session message, analyzes the content of the message to respond, and returns to the hosting CSE where it is located;
步骤S810,hosting CSE将会话成员实体的返回消息返回给会话创建/管理实体所在的hosting CSE,可以根据会话配置进行消息的聚合等操作;Step S810, the hosting CSE returns the return message of the session member entity to the hosting CSE where the session creation/management entity is located, and can perform message aggregation and the like according to the session configuration.
步骤S812,创建/管理实体所在hosting CSE将接收到的消息以通知形式发送给创建/管理实体。Step S812, the hosting CSE where the creation/management entity is located sends the received message to the creation/management entity in the form of a notification.
会话继续保持,创建/管理实体可以继续在该会话下与其他的会话参与成员进行消息交互,即重复上述步骤,直到会话结束则删除所有会话实体在其自己的hosting CSE中创建的该会话对应的session资源。The session continues to be maintained, and the creation/management entity can continue to perform message interaction with other session participating members under the session, that is, repeat the above steps, and until the session ends, delete all sessions corresponding to the session created by the session entity in its own hosting CSE. Session resource.
综上所述,本发明实施例解决了相关技术物联网系统中,针对多跳会话之间的交互过程尚不支持的问题,提供了一种支持多方会话的方案,扩展了物联网系统的应用场景。In summary, the embodiments of the present invention solve the problem that the interaction process between multi-hop sessions is not supported in the related art Internet of Things system, and provides a solution for supporting multi-party sessions, and expands the application of the Internet of Things system. Scenes.
在本发明的又一实施例中,提供了以下多方会话的处理方法。In yet another embodiment of the present invention, the following method of processing a multiparty session is provided.
一种多方会话的处理方法,通过创建和/或更新多方会话的会话资源建立实体间的多方会话。A multi-party session processing method for establishing a multi-party session between entities by creating and/or updating session resources of a multi-party session.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会 话,包括:Optionally, establishing a multiparty between entities by creating and/or updating session resources of a multiparty session Words, including:
会话管理/创建实体请求被邀请实体的托管通用业务实体CSE为所述被邀请实体创建所述多方会话的会话资源;The session management/creation entity requests the hosted general service entity CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
所述会话管理/创建实体接收到所述被邀请实体的托管CSE回复的所述被邀请实体同意加入所述多方会话的消息后,更新所述会话管理/创建实体的托管CSE中创建的所述多方会话的会话资源。After the session management/creation entity receives the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, updating the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
被邀请实体获知被邀请加入所述多方会话,同意加入所述多方会议;The invited entity is informed that it is invited to join the multi-party session and agrees to join the multi-party conference;
在所述被邀请实体的托管CSE中为所述被邀请实体创建所述多方会话的会话资源。A session resource of the multiparty session is created for the invited entity in a hosted CSE of the invited entity.
其中,当所述被邀请实体本身即为所述被邀请实体的托管CSE时:Wherein, when the invited entity itself is the hosted CSE of the invited entity:
所述被邀请实体获知被邀请加入所述多方会话,可包括:接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求;The inviting entity is informed that the invitation to join the multi-party session may include: receiving, by the session management/creation entity, a request for creating the session resource of the multi-party session for the invited entity;
在所述被邀请实体的托管CSE中为所述被邀请实体创建所述多方会话的会话资源,可包括:所述被邀请实体在所述被邀请实体的资源下创建所述多方会话的会话资源;之后,所述被邀请实体还向所述会话管理/创建实体回复同意加入所述多方会话的消息。Creating the session resource of the multi-party session for the invited entity in the managed CSE of the invited entity may include: the invited entity creating a session resource of the multi-party session under resources of the invited entity After that, the invited entity also replies to the session management/creation entity with a message agreeing to join the multiparty session.
其中,当所述被邀请实体为应用实体AE时:Wherein, when the invited entity is an application entity AE:
所述被邀请实体获知被邀请加入所述多方会话,可包括:接收到所述被邀请实体的托管CSE发送的邀请其加入所述多方会话的订阅通知;The inviting entity is informed that the invitation to join the multi-party session may be: receiving a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
在所述被邀请实体的托管CSE中为所述被邀请实体创建所述多方会话的会话资源,可包括:所述被邀请实体向所述被邀请实体的托管CSE发送同意加入所述多方会话的消息,通过所述被邀请实体的托管CSE为所述被邀请实体创建所述多方会话的会话资源。Creating the session resource of the multi-party session for the invited entity in the hosted CSE of the invited entity may include: the invited entity sending a consent to join the multi-party session to a hosted CSE of the invited entity a message, the session resource of the multiparty session is created for the invited entity by the hosted CSE of the invited entity.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括: Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
被邀请实体的托管CSE接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求,向所述被邀请实体发送邀请其加入所述多方会话的订阅通知,所述被邀请实体为AE;The hosted CSE of the invited entity receives a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, and sends a notification of the subscription to the invited entity to join the multi-party session. The invited entity is an AE;
所述被邀请实体的托管CSE收到所述被邀请实体同意加入所述多方会话的消息后,在所述被邀请实体对应的资源下创建所述多方会话的会话资源,并向所述会话管理/创建实体回复所述被邀请实体同意加入所述多方会话的消息。After the hosted CSE of the invited entity receives the message that the invited entity agrees to join the multi-party session, the session resource of the multi-party session is created under the resource corresponding to the invited entity, and is managed to the session. / Create an entity replies to the message that the invited entity agrees to join the multiparty session.
其中,所述被邀请实体的托管CSE接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求后,可以先查找所述被邀请实体创建的订阅资源,如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅多方会话的邀请。The hosted CSE of the invited entity may first search for the subscription resource created by the invited entity after receiving the request for the session entity to create the session resource of the multi-party session sent by the session entity. If found, the subscription notification is sent; wherein the subscription resource is used to subscribe to the invitation of the multi-party session.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
请求加入实体请求会话管理/创建实体的托管CSE更新所述多方会话的会话资源,以加入所述多方会话;The managed CSE requesting to join the entity requesting session management/creation entity updates the session resources of the multiparty session to join the multiparty session;
所述请求加入实体接收到所述会话管理/创建实体的托管CSE回复的同意加入所述多方会话的消息后,在所述请求加入实体的托管CSE中为所述请求加入实体创建所述多方会话的会话资源。After the request joining entity receives the message of the host CSE reply of the session management/creation entity agreeing to join the multi-party session, creating the multi-party session for the request joining entity in the managed CSE of the request joining entity Session resources.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
会话管理/创建实体获知请求加入实体请求加入所述多方会话,同意所述请求加入实体加入所述多方会话;The session management/creation entity learns that the request to join the entity requests to join the multi-party session, and agrees that the request joins the entity to join the multi-party session;
更新所述会话管理/创建实体的托管CSE中所述多方会话的会话资源。Updating the session resources of the multiparty session in the managed CSE of the session management/creation entity.
其中,所述会话管理/创建实体本身即为所述会话管理/创建实体的托管CSE时:Wherein, the session management/creation entity itself is the managed CSE of the session management/creation entity:
所述会话管理/创建实体获知请求加入实体请求加入所述多方会话,可包括:接收到所述请求加入实体发送的更新所述多方会话的会话资源的请求;The session management/creation entity learns that the requesting to join the entity to request to join the multi-party session may include: receiving a request sent by the request joining entity to update the session resource of the multi-party session;
更新所述会话管理/创建实体的托管CSE中所述多方会话的会话资源,可 包括:所述会话管理/创建实体更新所述多方会话的会话资源;之后,所述会话管理/创建实体还向所述请求加入实体回复同意加入所述多方会话的消息。Updating a session resource of the multiparty session in the managed CSE of the session management/creation entity, The method includes: the session management/creation entity updates a session resource of the multiparty session; and thereafter, the session management/creation entity further returns a message to the request joining entity to agree to join the multiparty session.
其中,所述会话管理/创建实体为AE时:Wherein, when the session management/creation entity is AE:
所述会话管理/创建实体获知请求加入实体请求加入所述多方会话,可包括:接收到所述会话管理/创建实体的托管CSE发送的请求加入实体请求加入所述多方会话的订阅通知;The session management/creation entity learns that the requesting to join the entity to request to join the multi-party session may include: receiving a request sent by the hosted CSE of the session management/creation entity to join the entity to request to join the subscription notification of the multi-party session;
更新所述会话管理/创建实体的托管CSE中所述多方会话的会话资源,可包括:所述会话管理/创建实体向所述会话管理/创建实体的托管CSE发送同意所述请求加入实体加入所述多方会话的消息,通过所述会话管理/创建实体的托管CSE更新所述多方会话的会话资源。Updating the session resource of the multiparty session in the managed CSE of the session management/creation entity may include: the session management/creation entity sending to the hosted CSE of the session management/creation entity agreeing to the request to join the entity joining site The message of the multiparty session is updated by the session management/creation entity's managed CSE.
可选地,通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Optionally, a multi-party session between entities is established by creating and/or updating session resources of the multi-party session, including:
会话管理/创建实体的托管CSE接收到请求加入实体更新所述多方会话的会话资源的请求后,向所述会话管理/创建实体发送所述请求加入实体请求加入所述多方会话的订阅通知,所述会话管理/创建实体为AE;After receiving the request to join the entity to update the session resource of the multi-party session, the managed CSE of the session management/creation entity sends a request notification to the session management/creation entity requesting to join the multi-party session, The session management/creation entity is AE;
所述会话管理/创建实体的托管CSE接收到所述会话管理/创建实体同意所述请求加入实体加入所述多方会话的消息后,更新所述多方会话的会话资源的请求,并向所述请求加入实体回复同意其加入所述多方会话的消息。The managed CSE of the session management/creation entity receives the request that the session management/creation entity agrees to the request to join the entity to join the multi-party session, updates the request for the session resource of the multi-party session, and sends the request to the request The joining entity replies to the message that it joins the multiparty session.
其中,所述会话管理/创建实体的托管CSE接收到请求加入实体更新所述多方会话的会话资源的请求后,可以先查找所述会话管理/创建实体创建的订阅资源;如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅实体加入多方会话的请求。The managed CSE of the session management/creation entity may first search for the subscription resource created by the session management/creation entity after receiving the request to join the entity to update the session resource of the multi-party session; The subscription notification; wherein the subscription resource is used for a request for a subscription entity to join a multiparty session.
可选地,所述多方会话的会话资源包括属性信息和/或消息子资源;Optionally, the session resource of the multi-party session includes attribute information and/or a message sub-resource;
所述会话资源的属性信息包括以下至少一种信息:会话消息,会话标识、会话主题、会话创建者、会话参与者、会话实体状态、最大数量;The attribute information of the session resource includes at least one of the following information: a session message, a session identifier, a session topic, a session creator, a session participant, a session entity state, and a maximum number;
所述消息子资源用于描述多方会话过程中传送的消息,包括以下至少一种信息:消息标识、消息状态、消息格式、消息发送者、消息接收者、消息发送时间。 The message sub-resource is used to describe a message transmitted during a multi-party session, and includes at least one of the following information: a message identifier, a message status, a message format, a message sender, a message receiver, and a message sending time.
在本发明的以下实施例中,提供了多方会话的处理装置。In the following embodiments of the present invention, a processing apparatus for a multiparty session is provided.
本发明还提供了一种多方会话的处理装置,应用于作为会话管理/创建实体的通用业务实体CSE或应用实体AE中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to a general service entity CSE or an application entity AE as a session management/creation entity, and the processing apparatus includes:
会话邀请模块,设置为:请求被邀请实体的托管CSE为被邀请实体创建所述多方会话的会话资源;a session invitation module, configured to: request a hosted CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
资源更新模块,设置为:接收到所述被邀请实体的托管CSE回复的所述被邀请实体同意加入所述多方会话的消息后,更新所述会话管理/创建实体的托管CSE中创建的所述多方会话的会话资源。a resource update module, configured to: after receiving the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, update the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
本发明还提供了一种多方会话的处理装置,应用于作为被邀请实体的CSE中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to a CSE as an invited entity, and the processing apparatus includes:
邀请处理模块,设置为:接收到会话管理/创建实体发送的为被邀请实体创建所述多方会话的会话资源的请求后,如同意加入所述多方会议,向所述会话管理/创建实体回复同意加入所述多方会话的消息;The invitation processing module is configured to: after receiving the request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, if agreeing to join the multi-party conference, reply to the session management/creation entity Joining the message of the multiparty session;
资源创建模块,设置为:如同意加入所述多方会议,则在所述被邀请实体的资源下创建所述多方会话的会话资源。The resource creation module is configured to: create a session resource of the multi-party session under the resource of the invited entity, if it is agreed to join the multi-party conference.
本发明还提供了一种多方会话的处理装置,应用于作为被邀请实体的AE中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to an AE as an invited entity, and the processing apparatus includes:
邀请接收模块,设置为:接收所述被邀请实体的托管CSE发送的邀请其加入所述多方会话的订阅通知;An invitation receiving module, configured to: receive a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
邀请回复模块,设置为:在同意加入所述多方会议时,向所述被邀请实体的托管CSE发送同意加入所述多方会话的消息。The invitation reply module is configured to: send a message agreeing to join the multiparty session to the hosted CSE of the invited entity when agreeing to join the multiparty conference.
本发明还提供了一种多方会话的处理装置,应用于作为被邀请实体的托管CSE的实体中,所述处理装置包括:The present invention also provides a processing apparatus for a multi-party session, which is applied to an entity hosting a CSE as an invited entity, the processing apparatus comprising:
订阅处理模块,设置为:接收到会话管理/创建实体发送的为被邀请实体创建所述多方会话的会话资源的请求后,向所述被邀请实体发送邀请其加入所述多方会话的订阅通知;及,接收到所述被邀请实体同意加入所述多方会 话的消息后,向所述会话管理/创建实体回复所述被邀请实体同意加入所述多方会话的消息,所述被邀请实体为AE;a subscription processing module, configured to: after receiving a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, send a subscription notification to the invited entity to invite the join party to join the multi-party session; And receiving the invited entity to agree to join the multiparty After the message, reply to the session management/creation entity that the invited entity agrees to join the multi-party session, the invited entity is an AE;
资源创建模块,设置为:接收到所述被邀请实体同意加入所述多方会话的消息后,在所述被邀请实体对应的资源下创建所述多方会话的会话资源。The resource creation module is configured to: after receiving the message that the invited entity agrees to join the multi-party session, create a session resource of the multi-party session under the resource corresponding to the invited entity.
可选地,所述订阅处理模块接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求后,先查找所述被邀请实体创建的订阅资源,如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅多方会话的邀请。Optionally, after receiving the request sent by the session management/creation entity to create the session resource of the multi-party session, the subscription processing module first searches for a subscription resource created by the invited entity, such as searching. And sending the subscription notification; wherein the subscription resource is used to subscribe to the invitation of the multi-party session.
本发明还提供了一种多方会话的处理装置,应用于作为请求加入实体的CSE或AE中,所述处理装置包括:The present invention also provides a processing device for a multi-party session, which is applied to a CSE or an AE as a requesting entity, the processing device comprising:
加入请求模块,设置为:请求会话管理/创建实体的托管CSE更新所述多方会话的会话资源,以加入所述多方会话;a requesting module, configured to: request a session management/creation entity to host a CSE to update a session resource of the multiparty session to join the multiparty session;
资源创建模块,设置为:接收到所述会话管理/创建实体的托管CSE回复的同意加入所述多方会话的消息后,在所述请求加入实体的托管CSE中为所述请求加入实体创建所述多方会话的会话资源。a resource creation module, configured to: after receiving the message that the host CSE reply of the session management/creation entity agrees to join the multi-party session, create the content for the request joining entity in the managed CSE of the request joining entity Session resources for multiparty sessions.
本发明还提供了一种多方会话的处理装置,应用于作为会话管理/创建实体的CSE中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to a CSE as a session management/creation entity, and the processing apparatus includes:
请求处理模块,设置为:接收到所述请求加入实体发送的更新所述多方会话的会话资源的请求后,如同意所述请求加入实体加入所述多方会话,向所述请求加入实体回复同意加入所述多方会话的消息;a request processing module, configured to: after receiving the request for adding the session resource of the multi-party session sent by the request joining entity, if the requesting to join the entity joins the multi-party session, agreeing to join the requesting entity The message of the multiparty session;
资源更新模块,设置为:如同意所述请求加入实体加入所述多方会话,则更新所述多方会话的会话资源。And a resource update module, configured to: if the request to join the entity joins the multiparty session, update the session resource of the multiparty session.
本发明还提供了一种多方会话的处理装置,应用于作为会话管理/创建实体的AE中,所述处理装置包括:The present invention also provides a processing apparatus for a multi-party session, which is applied to an AE as a session management/creation entity, the processing apparatus comprising:
请求接收模块,设置为:接收所述会话管理/创建实体的托管CSE发送的请求加入实体请求加入所述多方会话的订阅通知;a request receiving module, configured to: receive a request sent by the hosted CSE of the session management/creation entity to join a subscription request to join the multi-party session;
请求回复模块,设置为:如同意所述请求加入实体加入所述多方会话, 向所述会话管理/创建实体的托管CSE发送同意所述请求加入实体加入所述多方会话的消息。Requesting a reply module, configured to: if the request is made to join the entity to join the multi-party session, Sending a message to the hosted CSE of the session management/creation entity agreeing to the request to join the entity to join the multiparty session.
本发明还提供了一种多方会话的处理装置,应用于作为会话管理/创建实体的托管CSE的实体中,所述处理装置包括:The present invention also provides a multi-party session processing apparatus, which is applied to an entity that hosts a CSE as a session management/creation entity, and the processing apparatus includes:
订阅处理模块,设置为:接收到请求加入实体更新所述多方会话的会话资源的请求后,向所述会话管理/创建实体发送所述请求加入实体请求加入所述多方会话的订阅通知;及,接收到所述会话管理/创建实体同意所述请求加入实体加入所述多方会话的消息后,向所述请求加入实体回复同意其加入所述多方会话的消息;所述会话管理/创建实体为AEa subscription processing module, configured to: after receiving a request to join the entity to update the session resource of the multi-party session, send, to the session management/creation entity, the subscription notification that the request join entity requests to join the multi-party session; and After receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, the message is sent to the requesting entity to agree to join the multi-party session; the session management/creation entity is AE
资源更新模块,设置为:接收到所述会话管理/创建实体同意所述请求加入实体加入所述多方会话的消息后,更新所述多方会话的会话资源的请求。The resource update module is configured to: after receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, update the request for the session resource of the multi-party session.
可选地,所述订阅处理模块接收到请求加入实体更新所述多方会话的会话资源的请求后,先查找所述会话管理/创建实体创建的订阅资源;如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅实体加入多方会话的请求。Optionally, after receiving the request to join the entity to update the session resource of the multi-party session, the subscription processing module first searches for a subscription resource created by the session management/creation entity; if found, sends the subscription notification again. The subscription resource is used to subscribe to a request for an entity to join a multiparty session.
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments.
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。In another embodiment, a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
需要说明的是,术语“包括”和“存储有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" and any variants thereof are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited Those steps or units listed are included, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。 One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
通过本发明实施例的方案,在hosting通用业务实体CSE上创建订阅资源,其中,该订阅资源用于订阅该hosting CSE的多方会话或注册在该hosting CSE上的应用实体AE的多方会话,提供了一种支持多方会话的方案,扩展了物联网系统的应用场景。 The subscription resource is created on the hosting general service entity CSE by using the solution of the embodiment of the present invention, wherein the subscription resource is used to subscribe to the multi-party session of the hosting CSE or the multi-party session of the application entity AE registered on the hosting CSE. A solution that supports multi-party sessions and extends the application scenarios of the Internet of Things system.

Claims (24)

  1. 一种多方会话的处理方法,包括:A method for processing a multiparty session, comprising:
    通过创建和/或更新多方会话的会话资源建立实体间的多方会话。A multiparty session between entities is established by creating and/or updating session resources for a multiparty session.
  2. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Establish multi-party sessions between entities by creating and/or updating session resources for multi-party sessions, including:
    会话管理/创建实体请求被邀请实体的托管通用业务实体CSE为所述被邀请实体创建所述多方会话的会话资源;The session management/creation entity requests the hosted general service entity CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
    所述会话管理/创建实体接收到所述被邀请实体的托管CSE回复的所述被邀请实体同意加入所述多方会话的消息后,更新所述会话管理/创建实体的托管CSE中创建的所述多方会话的会话资源。After the session management/creation entity receives the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, updating the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
  3. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Establish multi-party sessions between entities by creating and/or updating session resources for multi-party sessions, including:
    被邀请实体获知被邀请加入所述多方会话,同意加入所述多方会议;The invited entity is informed that it is invited to join the multi-party session and agrees to join the multi-party conference;
    在所述被邀请实体的托管CSE中为所述被邀请实体创建所述多方会话的会话资源。A session resource of the multiparty session is created for the invited entity in a hosted CSE of the invited entity.
  4. 如权利要求3所述的方法,其中:The method of claim 3 wherein:
    所述被邀请实体本身即为所述被邀请实体的托管CSE;The invited entity itself is the hosted CSE of the invited entity;
    所述被邀请实体获知被邀请加入所述多方会话,包括:接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求;The invited entity is informed that the invitation to join the multi-party session includes: receiving a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity;
    在所述被邀请实体的托管CSE中为所述被邀请实体创建所述多方会话的会话资源,包括:所述被邀请实体在所述被邀请实体的资源下创建所述多方会话的会话资源;之后,所述被邀请实体还向所述会话管理/创建实体回复同意加入所述多方会话的消息。Creating the session resource of the multi-party session for the invited entity in the managed CSE of the invited entity, including: the invited entity creating a session resource of the multi-party session under the resource of the invited entity; Thereafter, the invited entity also replies to the session management/creation entity with a message agreeing to join the multiparty session.
  5. 如权利要求3所述的方法,其中:The method of claim 3 wherein:
    所述被邀请实体为应用实体AE; The invited entity is an application entity AE;
    所述被邀请实体获知被邀请加入所述多方会话,包括:接收到所述被邀请实体的托管CSE发送的邀请其加入所述多方会话的订阅通知;The invited entity is informed that the invited party joins the multi-party session, and includes: receiving a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
    在所述被邀请实体的托管CSE中为所述被邀请实体创建所述多方会话的会话资源,包括:所述被邀请实体向所述被邀请实体的托管CSE发送同意加入所述多方会话的消息,通过所述被邀请实体的托管CSE为所述被邀请实体创建所述多方会话的会话资源。Creating a session resource of the multiparty session for the invited entity in the hosted CSE of the invited entity, comprising: the invited entity sending a message agreeing to join the multiparty session to a hosted CSE of the invited entity Creating a session resource of the multiparty session for the invited entity by the managed CSE of the invited entity.
  6. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Establish multi-party sessions between entities by creating and/or updating session resources for multi-party sessions, including:
    被邀请实体的托管CSE接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求,向所述被邀请实体发送邀请其加入所述多方会话的订阅通知,所述被邀请实体为AE;The hosted CSE of the invited entity receives a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, and sends a notification of the subscription to the invited entity to join the multi-party session. The invited entity is an AE;
    所述被邀请实体的托管CSE收到所述被邀请实体同意加入所述多方会话的消息后,在所述被邀请实体对应的资源下创建所述多方会话的会话资源,并向所述会话管理/创建实体回复所述被邀请实体同意加入所述多方会话的消息。After the hosted CSE of the invited entity receives the message that the invited entity agrees to join the multi-party session, the session resource of the multi-party session is created under the resource corresponding to the invited entity, and is managed to the session. / Create an entity replies to the message that the invited entity agrees to join the multiparty session.
  7. 如权利要求6所述的方法,其中:The method of claim 6 wherein:
    所述被邀请实体的托管CSE接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求后,先查找所述被邀请实体创建的订阅资源,如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅多方会话的邀请。After the hosted CSE of the invited entity receives the request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, first search for the subscription resource created by the invited entity, such as And sending the subscription notification; wherein the subscription resource is used to subscribe to an invitation of the multi-party session.
  8. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Establish multi-party sessions between entities by creating and/or updating session resources for multi-party sessions, including:
    请求加入实体请求会话管理/创建实体的托管CSE更新所述多方会话的会话资源,以加入所述多方会话;The managed CSE requesting to join the entity requesting session management/creation entity updates the session resources of the multiparty session to join the multiparty session;
    所述请求加入实体接收到所述会话管理/创建实体的托管CSE回复的同意加入所述多方会话的消息后,在所述请求加入实体的托管CSE中为所述请求加入实体创建所述多方会话的会话资源。 After the request joining entity receives the message of the host CSE reply of the session management/creation entity agreeing to join the multi-party session, creating the multi-party session for the request joining entity in the managed CSE of the request joining entity Session resources.
  9. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Establish multi-party sessions between entities by creating and/or updating session resources for multi-party sessions, including:
    会话管理/创建实体获知请求加入实体请求加入所述多方会话,同意所述请求加入实体加入所述多方会话;The session management/creation entity learns that the request to join the entity requests to join the multi-party session, and agrees that the request joins the entity to join the multi-party session;
    更新所述会话管理/创建实体的托管CSE中所述多方会话的会话资源。Updating the session resources of the multiparty session in the managed CSE of the session management/creation entity.
  10. 如权利要求9所述的方法,其中:The method of claim 9 wherein:
    所述会话管理/创建实体本身即为所述会话管理/创建实体的托管CSE;The session management/creation entity itself is the managed CSE of the session management/creation entity;
    所述会话管理/创建实体获知请求加入实体请求加入所述多方会话,包括:接收到所述请求加入实体发送的更新所述多方会话的会话资源的请求;The session management/creation entity learns that the requesting to join the entity to request to join the multi-party session includes: receiving a request sent by the request joining entity to update the session resource of the multi-party session;
    更新所述会话管理/创建实体的托管CSE中所述多方会话的会话资源,包括:所述会话管理/创建实体更新所述多方会话的会话资源;之后,所述会话管理/创建实体还向所述请求加入实体回复同意加入所述多方会话的消息。Updating a session resource of the multiparty session in the managed CSE of the session management/creation entity, comprising: the session management/creation entity updating a session resource of the multiparty session; afterwards, the session management/creation entity is further The requesting to join the entity replies to the message agreeing to join the multiparty session.
  11. 如权利要求9所述的方法,其中:The method of claim 9 wherein:
    所述会话管理/创建实体为AE;The session management/creation entity is an AE;
    所述会话管理/创建实体获知请求加入实体请求加入所述多方会话,包括:接收到所述会话管理/创建实体的托管CSE发送的请求加入实体请求加入所述多方会话的订阅通知;The session management/creation entity learns that the requesting to join the entity requests to join the multi-party session, including: receiving a request sent by the hosted CSE of the session management/creation entity to join the entity to request to join the subscription notification of the multi-party session;
    更新所述会话管理/创建实体的托管CSE中所述多方会话的会话资源,包括:所述会话管理/创建实体向所述会话管理/创建实体的托管CSE发送同意所述请求加入实体加入所述多方会话的消息,通过所述会话管理/创建实体的托管CSE更新所述多方会话的会话资源。Updating the session resource of the multiparty session in the managed CSE of the session management/creation entity, comprising: the session management/creation entity transmitting to the hosted CSE of the session management/creation entity agreeing to the request to join an entity to join the The message of the multiparty session, the session resource of the multiparty session is updated by the managed CSE of the session management/creation entity.
  12. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    通过创建和/或更新多方会话的会话资源建立实体间的多方会话,包括:Establish multi-party sessions between entities by creating and/or updating session resources for multi-party sessions, including:
    会话管理/创建实体的托管CSE接收到请求加入实体更新所述多方会话的会话资源的请求后,向所述会话管理/创建实体发送所述请求加入实体请求加入所述多方会话的订阅通知,所述会话管理/创建实体为AE; After receiving the request to join the entity to update the session resource of the multi-party session, the managed CSE of the session management/creation entity sends a request notification to the session management/creation entity requesting to join the multi-party session, The session management/creation entity is AE;
    所述会话管理/创建实体的托管CSE接收到所述会话管理/创建实体同意所述请求加入实体加入所述多方会话的消息后,更新所述多方会话的会话资源的请求,并向所述请求加入实体回复同意其加入所述多方会话的消息。The managed CSE of the session management/creation entity receives the request that the session management/creation entity agrees to the request to join the entity to join the multi-party session, updates the request for the session resource of the multi-party session, and sends the request to the request The joining entity replies to the message that it joins the multiparty session.
  13. 如权利要求12所述的方法,其中:The method of claim 12 wherein:
    所述会话管理/创建实体的托管CSE接收到请求加入实体更新所述多方会话的会话资源的请求后,先查找所述会话管理/创建实体创建的订阅资源;如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅实体加入多方会话的请求。After receiving the request for the entity to update the session resource of the multi-party session, the hosted CSE of the session management/creation entity first searches for the subscription resource created by the session management/creation entity; if found, sends the subscription again. a notification; wherein the subscription resource is used to subscribe to a request for an entity to join a multiparty session.
  14. 如权利要求1-13中任一所述的方法,其中:A method as claimed in any one of claims 1 to 13 wherein:
    所述多方会话的会话资源包括属性信息和/或消息子资源;The session resources of the multiparty session include attribute information and/or message sub-resources;
    所述会话资源的属性信息包括以下至少一种信息:会话消息,会话标识、会话主题、会话创建者、会话参与者、会话实体状态、最大数量;The attribute information of the session resource includes at least one of the following information: a session message, a session identifier, a session topic, a session creator, a session participant, a session entity state, and a maximum number;
    所述消息子资源用于描述多方会话过程中传送的消息,包括以下至少一种信息:消息标识、消息状态、消息格式、消息发送者、消息接收者、消息发送时间。The message sub-resource is used to describe a message transmitted during a multi-party session, and includes at least one of the following information: a message identifier, a message status, a message format, a message sender, a message receiver, and a message sending time.
  15. 一种多方会话的处理装置,应用于作为会话管理/创建实体的通用业务实体CSE或应用实体AE中,所述处理装置包括:A processing device for a multi-party session is applied to a general service entity CSE or an application entity AE as a session management/creation entity, the processing device comprising:
    会话邀请模块,设置为:请求被邀请实体的托管CSE为被邀请实体创建所述多方会话的会话资源;a session invitation module, configured to: request a hosted CSE of the invited entity to create a session resource of the multiparty session for the invited entity;
    资源更新模块,设置为:接收到所述被邀请实体的托管CSE回复的所述被邀请实体同意加入所述多方会话的消息后,更新所述会话管理/创建实体的托管CSE中创建的所述多方会话的会话资源。a resource update module, configured to: after receiving the message that the invited entity of the hosted CSE reply of the invited entity agrees to join the multi-party session, update the created in the managed CSE of the session management/creation entity Session resources for multiparty sessions.
  16. 一种多方会话的处理装置,应用于作为被邀请实体的CSE中,所述处理装置包括:A multi-party session processing device is applied to a CSE as an invited entity, and the processing device includes:
    邀请处理模块,设置为:接收到会话管理/创建实体发送的为被邀请实体创建所述多方会话的会话资源的请求后,如同意加入所述多方会议,向所述 会话管理/创建实体回复同意加入所述多方会话的消息;An invitation processing module, configured to: after receiving a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, if agreeing to join the multi-party conference, to the The session management/creation entity replies to the message agreeing to join the multiparty session;
    资源创建模块,设置为:如同意加入所述多方会议,则在所述被邀请实体的资源下创建所述多方会话的会话资源。The resource creation module is configured to: create a session resource of the multi-party session under the resource of the invited entity, if it is agreed to join the multi-party conference.
  17. 一种多方会话的处理装置,应用于作为被邀请实体的AE中,所述处理装置包括:A multi-party session processing device is applied to an AE as an invited entity, and the processing device includes:
    邀请接收模块,设置为:接收所述被邀请实体的托管CSE发送的邀请其加入所述多方会话的订阅通知;An invitation receiving module, configured to: receive a subscription notification sent by the hosted CSE of the invited entity to join the multi-party session;
    邀请回复模块,设置为:在同意加入所述多方会议时,向所述被邀请实体的托管CSE发送同意加入所述多方会话的消息。The invitation reply module is configured to: send a message agreeing to join the multiparty session to the hosted CSE of the invited entity when agreeing to join the multiparty conference.
  18. 一种多方会话的处理装置,应用于作为被邀请实体的托管CSE的实体中,所述处理装置包括:A multi-party session processing device is applied to an entity hosting a CSE as an invited entity, the processing device comprising:
    订阅处理模块,设置为:接收到会话管理/创建实体发送的为被邀请实体创建所述多方会话的会话资源的请求后,向所述被邀请实体发送邀请其加入所述多方会话的订阅通知;及,接收到所述被邀请实体同意加入所述多方会话的消息后,向所述会话管理/创建实体回复所述被邀请实体同意加入所述多方会话的消息,所述被邀请实体为AE;a subscription processing module, configured to: after receiving a request sent by the session management/creation entity to create the session resource of the multi-party session for the invited entity, send a subscription notification to the invited entity to invite the join party to join the multi-party session; And after receiving the message that the invited entity agrees to join the multi-party session, replying to the session management/creation entity, the message that the invited entity agrees to join the multi-party session, where the invited entity is an AE;
    资源创建模块,设置为:接收到所述被邀请实体同意加入所述多方会话的消息后,在所述被邀请实体对应的资源下创建所述多方会话的会话资源。The resource creation module is configured to: after receiving the message that the invited entity agrees to join the multi-party session, create a session resource of the multi-party session under the resource corresponding to the invited entity.
  19. 如权利要求18所述的处理装置,其特征在于:A processing apparatus according to claim 18, wherein:
    所述订阅处理模块接收到会话管理/创建实体发送的为所述被邀请实体创建所述多方会话的会话资源的请求后,先查找所述被邀请实体创建的订阅资源,如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅多方会话的邀请。After receiving the request for the session entity to create the session resource of the multi-party session, the subscription processing module first searches for the subscription resource created by the invited entity, if found, and then sends the request. The subscription notification; wherein the subscription resource is used to subscribe to an invitation of a multiparty session.
  20. 一种多方会话的处理装置,应用于作为请求加入实体的CSE或AE中,所述处理装置包括:A multi-party session processing device is applied to a CSE or an AE as a request to join an entity, and the processing device includes:
    加入请求模块,设置为:请求会话管理/创建实体的托管CSE更新所述多 方会话的会话资源,以加入所述多方会话;Join the request module, set to: request session management / create entity's managed CSE update as stated a session resource of a party session to join the multiparty session;
    资源创建模块,设置为:接收到所述会话管理/创建实体的托管CSE回复的同意加入所述多方会话的消息后,在所述请求加入实体的托管CSE中为所述请求加入实体创建所述多方会话的会话资源。a resource creation module, configured to: after receiving the message that the host CSE reply of the session management/creation entity agrees to join the multi-party session, create the content for the request joining entity in the managed CSE of the request joining entity Session resources for multiparty sessions.
  21. 一种多方会话的处理装置,应用于作为会话管理/创建实体的CSE中,所述处理装置包括:A multi-party session processing device is applied to a CSE as a session management/creation entity, the processing device comprising:
    请求处理模块,设置为:接收到所述请求加入实体发送的更新所述多方会话的会话资源的请求后,如同意所述请求加入实体加入所述多方会话,向所述请求加入实体回复同意加入所述多方会话的消息;a request processing module, configured to: after receiving the request for adding the session resource of the multi-party session sent by the request joining entity, if the requesting to join the entity joins the multi-party session, agreeing to join the requesting entity The message of the multiparty session;
    资源更新模块,设置为:如同意所述请求加入实体加入所述多方会话,则更新所述多方会话的会话资源。And a resource update module, configured to: if the request to join the entity joins the multiparty session, update the session resource of the multiparty session.
  22. 一种多方会话的处理装置,应用于作为会话管理/创建实体的AE中,所述处理装置包括:A multi-party session processing device is applied to an AE as a session management/creation entity, the processing device comprising:
    请求接收模块,设置为:接收所述会话管理/创建实体的托管CSE发送的请求加入实体请求加入所述多方会话的订阅通知;a request receiving module, configured to: receive a request sent by the hosted CSE of the session management/creation entity to join a subscription request to join the multi-party session;
    请求回复模块,设置为:如同意所述请求加入实体加入所述多方会话,向所述会话管理/创建实体的托管CSE发送同意所述请求加入实体加入所述多方会话的消息。The request reply module is configured to: send a message agreeing to the requesting joining entity to join the multiparty session to the managed CSE of the session management/creation entity if the requesting join entity joins the multiparty session.
  23. 一种多方会话的处理装置,应用于作为会话管理/创建实体的托管CSE的实体中,所述处理装置包括:A processing device for a multi-party session, which is applied to an entity hosting a CSE as a session management/creation entity, the processing device comprising:
    订阅处理模块,设置为:接收到请求加入实体更新所述多方会话的会话资源的请求后,向所述会话管理/创建实体发送所述请求加入实体请求加入所述多方会话的订阅通知;及,接收到所述会话管理/创建实体同意所述请求加入实体加入所述多方会话的消息后,向所述请求加入实体回复同意其加入所述多方会话的消息;所述会话管理/创建实体为AEa subscription processing module, configured to: after receiving a request to join the entity to update the session resource of the multi-party session, send, to the session management/creation entity, the subscription notification that the request join entity requests to join the multi-party session; and After receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, the message is sent to the requesting entity to agree to join the multi-party session; the session management/creation entity is AE
    资源更新模块,设置为:接收到所述会话管理/创建实体同意所述请求加入实体加入所述多方会话的消息后,更新所述多方会话的会话资源的请求。 The resource update module is configured to: after receiving the message that the session management/creation entity agrees to join the entity to join the multi-party session, update the request for the session resource of the multi-party session.
  24. 如权利要求23所述的处理装置,其特征在于:A processing apparatus according to claim 23, wherein:
    所述订阅处理模块接收到请求加入实体更新所述多方会话的会话资源的请求后,先查找所述会话管理/创建实体创建的订阅资源;如查找到,再发送所述订阅通知;其中,所述订阅资源用于订阅实体加入多方会话的请求。 After receiving the request for the entity to update the session resource of the multi-party session, the subscription processing module first searches for the subscription resource created by the session management/creation entity; if found, sends the subscription notification; The subscription resource is used to subscribe to a request for an entity to join a multiparty session.
PCT/CN2016/097960 2015-09-15 2016-09-02 Multiparty session processing method and device WO2017045536A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510586606.2A CN106534054A (en) 2015-09-15 2015-09-15 Multiparty session processing method and device
CN201510586606.2 2015-09-15

Publications (1)

Publication Number Publication Date
WO2017045536A1 true WO2017045536A1 (en) 2017-03-23

Family

ID=58288601

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097960 WO2017045536A1 (en) 2015-09-15 2016-09-02 Multiparty session processing method and device

Country Status (2)

Country Link
CN (1) CN106534054A (en)
WO (1) WO2017045536A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163029B (en) * 2021-05-20 2023-06-30 厦门亿联网络技术股份有限公司 Network session account deployment method, device, terminal, server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052073A (en) * 2006-04-06 2007-10-10 华为技术有限公司 Method for establishing multiparty conversation
CN101237336A (en) * 2007-02-01 2008-08-06 华为技术有限公司 Multi-party communication method, system and method for distribution event status
WO2015013685A1 (en) * 2013-07-25 2015-01-29 Convida Wireless, Llc End-to-end m2m service layer sessions

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603394B (en) * 2013-12-05 2020-02-14 华为技术有限公司 Method and device for realizing subscription notification
CN104753896A (en) * 2013-12-31 2015-07-01 华为技术有限公司 Method, device and system for achieving state subscription

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052073A (en) * 2006-04-06 2007-10-10 华为技术有限公司 Method for establishing multiparty conversation
CN101237336A (en) * 2007-02-01 2008-08-06 华为技术有限公司 Multi-party communication method, system and method for distribution event status
WO2015013685A1 (en) * 2013-07-25 2015-01-29 Convida Wireless, Llc End-to-end m2m service layer sessions

Also Published As

Publication number Publication date
CN106534054A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
US9860074B2 (en) Group communication
KR101184847B1 (en) Method for distributing media in an infrastructure based communication system
JP5015946B2 (en) Group communication
US8102846B2 (en) Method and apparatus for managing a multicast tree using a multicast tree manager and a content server
JP5080479B2 (en) Group communication in communication systems
US20110282953A1 (en) Method and apparatus for providing message conversation by group in a messaging service
WO2007076673A1 (en) A method, system and device for sharing presence information
WO2018127046A1 (en) Service request processing method and apparatus
JP2009500934A (en) Multi-user service in communication systems
JP2006236344A (en) Community formation method using peer-to-peer network
WO2018098609A1 (en) Communication method and apparatus
WO2010035222A1 (en) File transfer in conference services
CN106559332B (en) Method and system for quickly establishing fully-connected server cluster
CN102223293B (en) The method for routing of message request and treatment system
CN110582998A (en) Group communication method and device, computer storage medium and computer equipment
WO2015117442A1 (en) Processing method and device for converged communications terminal discovery and capability detection
US20130080513A1 (en) Multi-party communication sessions via broadcast notification network
WO2015172629A1 (en) Message transmission method, apparatus and system
US20220006660A1 (en) Rich communication services multicast system
EP3155772B1 (en) A new instant messaging(im) routing method and router
WO2017045536A1 (en) Multiparty session processing method and device
WO2017198158A1 (en) Session management method, device and system
CN110620672B (en) Multi-person session data processing method and device, computer equipment and storage medium
WO2015196809A1 (en) Message processing method and device
WO2019161721A1 (en) Correspondence processing method and device based on interworking rcs system

Legal Events

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

Ref document number: 16845650

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16845650

Country of ref document: EP

Kind code of ref document: A1