WO2023024931A1 - 用于设备间通信的方法和装置 - Google Patents

用于设备间通信的方法和装置 Download PDF

Info

Publication number
WO2023024931A1
WO2023024931A1 PCT/CN2022/112001 CN2022112001W WO2023024931A1 WO 2023024931 A1 WO2023024931 A1 WO 2023024931A1 CN 2022112001 W CN2022112001 W CN 2022112001W WO 2023024931 A1 WO2023024931 A1 WO 2023024931A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
terminal device
communication
parameter
network device
Prior art date
Application number
PCT/CN2022/112001
Other languages
English (en)
French (fr)
Inventor
窦凤辉
金辉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP22860277.7A priority Critical patent/EP4391599A1/en
Publication of WO2023024931A1 publication Critical patent/WO2023024931A1/zh
Priority to US18/586,164 priority patent/US20240206012A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present application relates to the communication field, and more specifically, to a method and device for inter-device communication.
  • the current communication method between devices The interaction between the mobile phone and the smart device depends on the server of the smart device manufacturer. If the user's smart device belongs to different manufacturers, the application (Application, APP) provided by each manufacturer needs to be installed separately, and the user experience effect is relatively poor. Therefore, how to optimize communication between devices and improve user experience has become an urgent problem to be solved.
  • Application Application, APP
  • the present application provides a method for communication between devices, in order to optimize the communication between devices and improve user experience.
  • a method for inter-device communication is provided, and the method for inter-device communication may be executed by a first terminal device, or may also be executed by a chip or a circuit provided in the first terminal device, This application is not limited to this.
  • the execution of the first terminal device is taken as an example below for description.
  • the method for inter-device communication includes:
  • the first terminal device acquires a first parameter, where the first parameter is used to identify a first communication group, and the first terminal device belongs to the first communication group; the first terminal device sends a first message to the first network device, wherein, The first message includes the first parameter and a session establishment request message, and the session establishment request message is used to request establishment of a first session, and the first session is used for the first terminal device to communicate with the second party in the first communication group. Terminal device communication; the first terminal device receives a second message from the first network device, where the second message is used to indicate acceptance of the request for establishing the first session.
  • the first terminal device requests to establish a first session with the second terminal device in the first communication group to which it belongs, so that the first terminal device in the first communication group It can communicate with the second terminal device through the first session, and the terminal device can be managed in a unified manner in the form of a communication group, which can optimize the communication between devices and improve user experience without relying on the manufacturer's server.
  • the session establishment request message includes the first parameter.
  • Including the first parameter in the above-mentioned first message may carry the first parameter in the session establishment request message, so that the first network device does not need to parse the session establishment request message, which simplifies the behavior of the first network device.
  • the method further includes: the first terminal device receives a second parameter from the first network device, where the second parameter includes a parameter describing an application, The parameters used to describe the first communication group and the routing parameters used to determine the first session, where the routing parameters include network slice, service continuity mode, data network name, session type, access type at least one.
  • the first terminal device may also obtain the second parameter from the first network device, and the second parameter includes a routing parameter for determining the first session, so as to The first terminal device is enabled to establish the first session according to the second parameter, and the accuracy of establishing the first session by the first terminal device is improved.
  • the application corresponding to the parameter describing the application matches the application running on the first terminal device, and the parameter describing the first communication group matches the application
  • the method further includes: the first terminal device determines the routing parameters of the first session according to the application run by the first terminal device and the first parameter, wherein the routing of the first session
  • the selection parameter is associated with the application run by the first terminal device and the first parameter.
  • the method further includes: the first terminal device sends a third message to the first network device, where the third message is used to request an Internet Protocol IP address,
  • the IP address is the IP address of the second terminal device in the first communication group;
  • the first terminal device receives the IP address from the first network device, wherein the third message includes the second terminal device The id and the first parameter.
  • the method further includes: the first terminal device sends a fourth message to the first network device, where the fourth message includes a communication group establishment request message , the communication group establishment request message is used to request establishment of the first communication group; obtaining the first parameter by the first terminal device includes: the first terminal device receiving the first parameter from the first network device.
  • the first terminal device requests to establish the first communication group through the fourth message, and implements device management in units of the communication group, thereby realizing unified management.
  • the fourth message further includes an identifier of the first terminal device and a third parameter, where the third parameter is used to indicate that the first terminal device Functions in the communication group.
  • the first terminal device may report its own functions in the communication group, so that the functional entity establishing the communication group can know the functions of the first terminal device in the communication group.
  • the method further includes: the first terminal device sends a fifth message to the first network device, where the fifth message is used to request to update or delete the first The communication group, wherein, the fifth message includes the first parameter; the first terminal device receives a sixth message from the first network device in response to the fifth message, and the sixth message includes a message indicating successful update or failed update. or, the sixth message includes information indicating successful deletion or deletion failure.
  • the first terminal device can update or delete the established first communication group through the fifth message, so that the established communication group can be more in line with requirements.
  • the fifth message when used to request an update of the first communication group, the fifth message further includes operation instruction information for adding or deleting a terminal device and the ID of the added or deleted terminal device.
  • the method further includes: the first terminal device communicates with the second terminal device through the first session.
  • a method for inter-device communication is provided, and the method for inter-device communication may be executed by a first network device, or may also be executed by a chip or a circuit provided in the first network device, This application is not limited to this.
  • the execution of the first network device is taken as an example below for description.
  • the method for inter-device communication includes:
  • the first network device receives the first message from the first terminal device, where the first message includes a first parameter and a session establishment request message, the session establishment request message is used to request establishment of the first session, and the first parameter is used
  • the first terminal device belongs to the first communication group, and the first session is used for the first terminal device to communicate with the second terminal device in the first communication group;
  • the first network device sends
  • the second network device sends a seventh message, the seventh message includes the first parameter and the session establishment request message;
  • the first network device receives a second message from the second network device, and the second message is used to indicate Accept the request for establishing the first session;
  • the first network device sends the second message to the first terminal device.
  • the first terminal device requests to establish a first session with the second terminal device in the first communication group to which it belongs, so that the first terminal device in the first communication group It can communicate with the second terminal device through the first session, and the terminal device can be managed in a unified manner in the form of a communication group, which can optimize the communication between devices and improve user experience without relying on the manufacturer's server.
  • the method further includes: the first network device determining the second network device according to the first parameter.
  • the method further includes: the first network device receiving a second parameter from the third network device, where the second parameter includes a parameter describing an application, a Parameters for describing the first communication group and routing parameters for determining the first session, wherein the routing parameters include at least one of network slice, service continuity mode, data network name, session type, and access type
  • the first network device sends the second parameter to the first terminal device.
  • the first terminal device may also obtain the second parameter from the first network device, and the second parameter includes a routing parameter for determining the first session, so as to The first terminal device is enabled to establish the first session according to the second parameter, and the accuracy of establishing the first session by the first terminal device is improved.
  • the method further includes: the first network device receiving a third message from the first terminal device, wherein the third message includes the second terminal The identifier of the device and the first parameter, the third message is used to request to obtain an Internet Protocol IP address, and the IP address is the IP address of the second terminal device in the first communication group; the first network device sends the fourth network The device sends an eighth message, the eighth message includes the identifier of the second terminal device and the first parameter; the first network device receives the IP address from the fourth network device; the first network device sends the A terminal sends the IP address.
  • the method further includes: the first network device receiving a fourth message from the first terminal device, where the fourth message includes a communication group establishment request message, the communication group establishment request message is used to request establishment of the first communication group; the first network device sends the communication group establishment request message to the fourth network device; the first network device receives the first communication group from the fourth network device A parameter; the first network device sends the first parameter to the first terminal.
  • the first terminal device requests to establish the first communication group through the fourth message, and implements device management in units of the communication group, thereby realizing unified management.
  • the fourth message and/or the communication group establishment request message further include an identifier of the first terminal device and a third parameter, and the third parameter is used for The function of the first terminal device in the first communication group is indicated.
  • the method further includes: the first network device receives a fifth message from the first terminal, where the fifth message is used to request to update or delete the first A communication group, wherein the fifth message includes the first parameter; the first network device sends a ninth message to the fourth network device, the ninth message includes the first parameter, and the ninth message is used to request an update or delete the first communication group; the first network device receives information from the fourth network device indicating that the update is successful or failed, or information indicating that the deletion is successful or failed; the first network device sends the first terminal Sending a sixth message in response to the fifth message, where the sixth message includes the information indicating that the update is successful or failed, or the sixth message includes the information indicating that the deletion is successful or failed.
  • the first terminal device can update or delete the established first communication group through the fifth message, so that the established communication group can be more in line with requirements.
  • the fifth message in the case where the fifth message is used to request to update the first communication group, the fifth message further includes operation instruction information for adding or deleting a terminal device and the ID of the added or deleted terminal device.
  • a method for inter-device communication is provided, and the method for inter-device communication may be executed by a second network device, or may also be executed by a chip or a circuit provided in the second network device, This application is not limited to this.
  • the following uses the implementation of the second network device as an example for description.
  • the method for inter-device communication includes:
  • the second network device receives the seventh message from the first network device, the seventh message includes the first parameter and a session establishment request message, and the session establishment request message is used to request establishment of the first session; the second network device sends the message to the The first network device sends a second message, where the second message is used to accept the request for establishing the first session, where the first parameter is used to identify a first communication group, and the first terminal device belongs to the first communication group, The first session is used for the first terminal device to communicate with the second terminal device in the first communication group.
  • the second network device establishes a first session between the first terminal device and the second terminal device in the first communication group to which it belongs, so that the first terminal device in the first communication group A terminal device and a second terminal device can communicate through the first session, and the terminal devices are managed in a unified manner in the form of a communication group, which can optimize the communication between devices and improve user experience without relying on the manufacturer's server.
  • the method further includes: the second network device determining a communication mode between the first terminal device and the second terminal device, where the communication mode includes Either of the following: the data between the first terminal device and the second terminal device is transmitted through a fifth network device; or, the data between the first terminal device and the second terminal device is transmitted through two fifth network devices For transmission, the data is transmitted between the two fifth network devices through a communication interface; or, the data between the first terminal device and the second terminal device is forwarded through a data network.
  • the method further includes: the second network device sending first indication information to the fifth network device, where the first indication information is used to indicate the communication mode.
  • the method further includes: the second network device determines the fifth network device according to the first parameter.
  • the method further includes: the second network device sending a tenth message to the sixth network device, where the tenth message includes the first parameter, the first An identifier of the terminal device, an identifier of the first session, an identifier of the fifth network device, and an Internet Protocol IP address of the first session.
  • a method for inter-device communication is provided, and the method for inter-device communication may be executed by a third network device, or may also be executed by a chip or a circuit provided in the third network device, This application is not limited to this.
  • the implementation of the third network device is taken as an example below for description.
  • the method for inter-device communication includes:
  • the third network device receives a notification message from the seventh network device, where the notification message includes an identifier of the first terminal device, a first parameter, and information about the first communication group, where the first parameter is used to identify the first communication group,
  • the first terminal device belongs to the first communication group;
  • the third network device determines a second parameter according to the notification message, and the second parameter includes a parameter for describing an application, a parameter for describing the first communication group, and a user
  • the routing parameters include network slice, service continuity mode, At least one of data network name, session type, and access type.
  • the method further includes: the third network device sending the second parameter to the first network device.
  • a method for inter-device communication is provided, and the method for inter-device communication may be executed by a fourth network device, or may also be executed by a chip or a circuit provided in the fourth network device, This application is not limited to this.
  • the execution of the fourth network device is taken as an example for description below.
  • the method for inter-device communication includes:
  • the fourth network device receives an eighth message from the first network device, and the eighth message is used to request to obtain the Internet IP address of the second terminal device in the first communication group; the fourth network device sends to the first network device The IP address, wherein the first terminal device and the second terminal device belong to the first communication group, and the eighth message includes the information of the second terminal device and the first parameter used to identify the first communication group .
  • the method further includes: the fourth network device receives the eighth message from the first network device A communication group establishment request message of the device, where the communication group establishment request message is used to request establishment of the first communication group; the fourth network device creates the first communication group, and assigns the first parameter to the first communication group; the second The fourth network device sends the first parameter to the first network device.
  • the communication group establishment request message further includes an identifier of the first terminal device and a third parameter, where the third parameter is used to indicate that the first terminal device is in Functions in this first communication group.
  • the method further includes: the fourth network device sending an eleventh message to the sixth network device, where the eleventh message is used to request synchronous creation of the first communication group, the eleventh message includes the first parameter, the information of the first communication group, and the identifier of the terminal device in the first communication group, wherein the information of the first communication group includes information for the first communication group Information communicated between communication groups and information of applications managed by the first communication group.
  • a sixth aspect provides a method for inter-device communication
  • the method for inter-device communication may be executed by a sixth network device, or may also be executed by a chip or a circuit provided in the sixth network device, This application is not limited to this.
  • the implementation of the sixth network device is taken as an example below for description.
  • the method for inter-device communication includes:
  • the sixth network device receives an eleventh message from the fourth network device, the eleventh message is used to request synchronous creation of the first communication group, and the eleventh message includes a first parameter for identifying the first communication group , the information of the first communication group, the identifier of the terminal device located in the first communication group,
  • the information of the first communication group includes information used for inter-group communication of the first communication group and information of applications managed by the first communication group,
  • the sixth network device sends a twelfth message to the seventh network device, where the twelfth message is used to query the subscription information of the first terminal device, where the first terminal device is a terminal device requesting to create the first communication group;
  • the sixth network device determines to establish the first communication group according to the subscription information of the first terminal device.
  • the method further includes: the sixth network device assigning an internal identifier to the first communication group, where the internal identifier is associated with the first parameter; the sixth The network device sends a thirteenth message to the seventh network device, where the thirteenth message includes the identifier of the first terminal device, the internal identifier, and information about the first communication group.
  • the method further includes:
  • the sixth network device receives the tenth message from the second network device, where the tenth message includes the first parameter, the identifier of the first terminal device, the identifier of the first session, the identifier of the fifth network device, and the The Internet Protocol IP address of the first session.
  • an apparatus for inter-device communication including a unit for performing the method shown in the first aspect above, the apparatus for inter-device communication may be a first terminal device, or may also be It is executed by a chip or a circuit disposed in the first terminal device, which is not limited in this application.
  • the device for inter-device communication includes:
  • An acquiring unit configured to acquire a first parameter, where the first parameter is used to identify a first communication group, and the device for inter-device communication belongs to the first communication group;
  • a sending unit configured to send a first message to the first network device, wherein the first message includes the first parameter and a session establishment request message, the session establishment request message is used to request establishment of a first session, and the first session
  • the means for inter-device communication communicates with a second terminal device in the first communication group;
  • a receiving unit configured to receive a second message from the first network device, where the second message is used to indicate acceptance of the request for establishing the first session.
  • the session establishment request message includes the first parameter.
  • the receiving unit is further configured to receive a second parameter from the first network device, where the second parameter includes a parameter used to describe an application, a parameter used to describe Parameters of the first communication group and routing parameters for determining the first session, wherein the routing parameters include at least one of network slice, service continuity mode, data network name, session type, and access type .
  • the apparatus further includes: a processing unit configured to determine the routing parameter of the first session according to the application run by the apparatus for inter-device communication and the first parameter, wherein, The routing parameter of the first session is associated with the application run by the apparatus for inter-device communication and the first parameter.
  • the sending unit is further configured to send a third message to the first network device, where the third message is used to request an Internet Protocol IP address, and the IP address is the IP address of the second terminal device in the first communication group; the receiving unit is further configured to receive the IP address from the first network device, wherein the third message includes the second terminal device’s IP address ID and the first parameter.
  • the sending unit is further configured to send a fourth message to the first network device, where the fourth message includes a communication group establishment request message, and the establishment The communication group request message is used to request to establish the first communication group; the receiving unit is also used to receive the first parameter from the first network device.
  • the fourth message further includes an identifier of the device for inter-device communication and a third parameter, where the third parameter is used to indicate that the device for inter-device communication The function of the device in the first communication group.
  • the sending unit is further configured to send a fifth message to the first network device, where the fifth message is used to request to update or delete the first communication group, Wherein, the fifth message includes the first parameter; the receiving unit is further configured to receive a sixth message from the first network device in response to the fifth message, and the sixth message includes a message indicating that the update is successful or failed. information, or, the sixth message includes information indicating deletion success or deletion failure.
  • the fifth message in the case where the fifth message is used to request to update the first communication group, the fifth message further includes operation instruction information for adding or deleting a terminal device and the ID of the added or deleted terminal device.
  • the apparatus further includes: a communication unit configured to communicate with the second terminal device through the first session.
  • an apparatus for inter-device communication including a unit for performing the method shown in the second aspect above.
  • the apparatus for inter-device communication may be the first network device, or may also be It is executed by a chip or a circuit disposed in the first network device, which is not limited in this application.
  • the device for inter-device communication includes:
  • a receiving unit configured to receive a first message from the first terminal device, wherein the first message includes a first parameter and a session establishment request message, the session establishment request message is used to request establishment of the first session, and the first parameter Used to identify a first communication group, the first terminal device belongs to the first communication group, and the first session is used for the first terminal device to communicate with the second terminal device in the first communication group;
  • the sending unit is used for sending a seventh message to the second network device, the seventh message including the first parameter and the session establishment request message;
  • the receiving unit is further configured to receive a second message from the second network device, the second message It is used to indicate that the request for establishing the first session is accepted; the sending unit is also used to send the second message to the first terminal device.
  • the apparatus further includes: a processing unit configured to determine the second network device according to the first parameter.
  • the receiving unit is further configured to receive second parameters from the third network device, where the second parameters include parameters used to describe the application, and used to describe the Parameters of the first communication group and routing parameters for determining the first session, wherein the routing parameters include at least one of network slice, service continuity mode, data network name, session type, and access type;
  • the sending unit is further configured to send the second parameter to the first terminal device.
  • the receiving unit is further configured to receive a third message from the first terminal device, where the third message includes the identifier of the second terminal device and the first parameter, the third message is used to request an Internet Protocol IP address, the IP address is the IP address of the second terminal device in the first communication group; the sending unit is also used to send the fourth network device sending an eighth message, the eighth message including the identity of the second terminal device and the first parameter; the receiving unit is also used to receive the IP address from the fourth network device; the sending unit is also used to Send the IP address to the first terminal.
  • the receiving unit is further configured to receive a fourth message from the first terminal device, where the fourth message includes a communication group establishment request message, and the The communication group establishment request message is used to request to establish the first communication group; the sending unit is also used to send the communication group establishment request message to the fourth network device; the receiving unit is also used to receive the communication from the fourth network device A first parameter: the sending unit is further configured to send the first parameter to the first terminal.
  • the fourth message and/or the communication group establishment request message further include an identifier of the first terminal device and a third parameter, and the third parameter is used for The function of the first terminal device in the first communication group is indicated.
  • the receiving unit is further configured to receive a fifth message from the first terminal, where the fifth message is used to request to update or delete the first communication group, Wherein, the fifth message includes the first parameter; the sending unit is further configured to send a ninth message to the fourth network device, the ninth message includes the first parameter, and the ninth message is used to request update or delete The first communication group; the receiving unit is also used to receive information from the fourth network device indicating that the update is successful or failed, or information indicating that the deletion is successful or failed; the sending unit is also used to send the message to the The first terminal sends a sixth message in response to the fifth message, where the sixth message includes the information indicating that the update is successful or failed, or the sixth message includes the information indicating that the deletion is successful or failed.
  • the fifth message in the case where the fifth message is used to request to update the first communication group, the fifth message further includes operation instruction information for adding or deleting a terminal device and the ID of the added or deleted terminal device.
  • an apparatus for inter-device communication including a unit for executing the method shown in the above third aspect, the apparatus for inter-device communication may be a second network device, or may also be It is executed by a chip or a circuit disposed in the second network device, which is not limited in this application.
  • the device for inter-device communication includes:
  • the receiving unit is configured to receive a seventh message from the first network device, the seventh message includes the first parameter and a session establishment request message, and the session establishment request message is used to request establishment of the first session; the sending unit is configured to send The first network device sends a second message, where the second message is used to accept the request for establishing the first session, where the first parameter is used to identify a first communication group, and the first terminal device belongs to the first communication group , the first session is used for the first terminal device to communicate with the second terminal device in the first communication group.
  • the apparatus further includes: a processing unit configured to determine a communication mode between the first terminal device and the second terminal device, where the communication mode includes Either of the following: the data between the first terminal device and the second terminal device is transmitted through a fifth network device; or, the data between the first terminal device and the second terminal device is transmitted through two fifth network devices For transmission, the data is transmitted between the two fifth network devices through a communication interface; or, the data between the first terminal device and the second terminal device is forwarded through a data network.
  • the communication mode includes Either of the following: the data between the first terminal device and the second terminal device is transmitted through a fifth network device; or, the data between the first terminal device and the second terminal device is transmitted through two fifth network devices
  • the data is transmitted between the two fifth network devices through a communication interface; or, the data between the first terminal device and the second terminal device is forwarded through a data network.
  • the sending unit is further configured to send first indication information to the fifth network device, where the first indication information is used to indicate the communication mode.
  • the apparatus further includes: a processing unit, further configured to determine the fifth network device according to the first parameter.
  • the sending unit is further configured to send a tenth message to the sixth network device, where the tenth message includes the first parameter, the first terminal device's identifier, the identifier of the first session, the identifier of the fifth network device, and the Internet Protocol IP address of the first session.
  • an apparatus for inter-device communication including a unit for executing the method shown in the fourth aspect above.
  • the apparatus for inter-device communication may be a third network device, or may also be It is executed by a chip or a circuit disposed in the third network device, which is not limited in this application.
  • the method for inter-device communication includes:
  • a receiving unit configured to receive a notification message from the seventh network device, where the notification message includes an identifier of the first terminal device, a first parameter, and information of a first communication group, where the first parameter is used to identify the first communication group , the first terminal device belongs to the first communication group;
  • the processing unit is configured to determine a second parameter according to the notification message, the second parameter includes a parameter describing an application, a parameter describing the first communication group, and
  • the routing parameters include network slicing, service continuity mode , data network name, session type, and access type at least one item.
  • the apparatus further includes: a sending unit, configured to send the second parameter to the first network device.
  • an apparatus for inter-device communication including a unit for executing the method shown in the fifth aspect above, the apparatus for inter-device communication may be a fourth network device, or, It may be executed by a chip or a circuit disposed in the fourth network device, which is not limited in this application.
  • the device for inter-device communication includes:
  • the receiving unit is used to receive the eighth message from the first network device, and the eighth message is used to request to obtain the Internet IP address of the second terminal device in the first communication group; the sending unit is used to send the first network device sending the IP address, wherein the first terminal device and the second terminal device belong to the first communication group, and the eighth message includes the information of the second terminal device and the first parameter.
  • the receiving unit before the receiving unit receives the eighth message from the first network device, the receiving unit is further configured to receive an establishment message from the first network device A communication group request message, the establishing communication group request message is used to request to establish the first communication group; a processing unit is configured to create the first communication group, and assign the first parameter to the first communication group; the sending unit also It is used to send the first parameter to the first network device.
  • the communication group establishment request message further includes an identifier of the first terminal device and a third parameter, where the third parameter is used to indicate that the first terminal device The capabilities of the device in the first communication group.
  • the sending unit is further configured to send an eleventh message to the sixth network device, where the eleventh message is used to request synchronous creation of the first communication group, the eleventh message includes the first parameter, the information of the first communication group, and the identifier of the terminal device in the first communication group, wherein the information of the first communication group includes The information of inter-group communication and the information of the application managed by the first communication group.
  • an apparatus for inter-device communication including a unit for performing the method shown in the sixth aspect above, the apparatus for inter-device communication may be the sixth network device, or, It may be executed by a chip or a circuit disposed in the sixth network device, which is not limited in this application.
  • the device for inter-device communication includes:
  • a receiving unit configured to receive an eleventh message from the fourth network device, where the eleventh message is used to request synchronous creation of the first communication group, and the eleventh message includes a first message for identifying the first communication group parameters, information of the first communication group, identifiers of terminal devices located in the first communication group,
  • the information of the first communication group includes information used for inter-group communication of the first communication group and information of applications managed by the first communication group,
  • a sending unit configured to send a twelfth message to the seventh network device, where the twelfth message is used to query the subscription information of the first terminal device, and the first terminal device is a terminal device requesting to create the first communication group;
  • a processing unit configured to determine to establish the first communication group according to the subscription information of the first terminal device.
  • the processing unit is further configured to assign an internal identifier to the first communication group, where the internal identifier is associated with the first parameter;
  • the sending unit is further configured to send a thirteenth message to the seventh network device, where the thirteenth message includes the identifier of the first terminal device, the internal identifier, and information of the first communication group.
  • the receiving unit is further configured to receive a tenth message from the second network device, where the tenth message includes the first parameter, the first An identifier of the terminal device, an identifier of the first session, an identifier of the fifth network device, and an Internet Protocol IP address of the first session.
  • an apparatus for inter-device communication where the apparatus for inter-device communication includes a processor configured to implement the functions of the first terminal device in the method described in the first aspect above.
  • the device for inter-device communication may further include a memory, the memory is coupled to the processor, and the processor is configured to realize the function of the first terminal device in the method described in the first aspect above.
  • the memory is used to store program instructions and data.
  • the memory is coupled to the processor, and the processor can call and execute program instructions stored in the memory, so as to realize the functions of the first terminal device in the method described in the first aspect above.
  • the device for inter-device communication may further include a communication interface, where the communication interface is used for the device for inter-device communication to communicate with other devices.
  • the communication interface may be a transceiver, an input/output interface, or a circuit.
  • the device for inter-device communication includes: a processor and a communication interface
  • the processor is configured to run a computer program, so that the communication device implements any one of the methods described in the first aspect above;
  • the processor communicates with the outside through the communication interface.
  • the external may be an object other than the processor, or an object other than the device.
  • the device for inter-device communication is a chip or a chip system.
  • the communication interface may be an input/output interface, interface circuit, output circuit, input circuit, pin or related circuit on the chip or chip system.
  • the processor may also be embodied as a processing circuit or logic circuit.
  • an apparatus for inter-device communication includes a processor configured to implement the function of the first network device in the method described in the second aspect above.
  • the apparatus for inter-device communication may further include a memory, the memory is coupled to the processor, and the processor is configured to implement the function of the first network device in the method described in the second aspect above.
  • the memory is used to store program instructions and data.
  • the memory is coupled to the processor, and the processor can call and execute program instructions stored in the memory, so as to realize the functions of the first network device in the method described in the second aspect above.
  • the device for inter-device communication may further include a communication interface, where the communication interface is used for the device for inter-device communication to communicate with other devices.
  • the communication interface may be a transceiver, an input/output interface, or a circuit.
  • the device for inter-device communication includes: a processor and a communication interface
  • the processor is configured to run a computer program, so that the communication device implements any one of the methods described in the second aspect above;
  • the processor communicates with the outside through the communication interface.
  • the external may be an object other than the processor, or an object other than the device.
  • the device for inter-device communication is a chip or a chip system.
  • the communication interface may be an input/output interface, an interface circuit, an output circuit, an input circuit, pins or related circuits on the chip or the chip system.
  • the processor may also be embodied as a processing circuit or logic circuit.
  • a fifteenth aspect provides an apparatus for inter-device communication, the apparatus for inter-device communication includes a processor configured to implement the function of the second network device in the method described in the third aspect above.
  • the device for inter-device communication may further include a memory, the memory is coupled with the processor, and the processor is configured to realize the function of the second network device in the method described in the third aspect above.
  • the memory is used to store program instructions and data.
  • the memory is coupled with the processor, and the processor can call and execute program instructions stored in the memory, so as to realize the functions of the second network device in the method described in the third aspect above.
  • the device for inter-device communication may further include a communication interface, where the communication interface is used for the device for inter-device communication to communicate with other devices.
  • the communication interface may be a transceiver, an input/output interface, or a circuit.
  • the device for inter-device communication includes: a processor and a communication interface
  • the processor is configured to run a computer program, so that the communication device implements any one of the methods described in the third aspect above;
  • the processor communicates with the outside through the communication interface.
  • the external may be an object other than the processor, or an object other than the device.
  • the device for inter-device communication is a chip or a chip system.
  • the communication interface may be an input/output interface, an interface circuit, an output circuit, an input circuit, pins or related circuits on the chip or the chip system.
  • the processor may also be embodied as a processing circuit or logic circuit.
  • a sixteenth aspect provides an apparatus for inter-device communication, where the apparatus for inter-device communication includes a processor configured to implement the functions of the third network device in the method described in the fourth aspect above.
  • the apparatus for inter-device communication may further include a memory, the memory is coupled to the processor, and the processor is configured to realize the function of the third network device in the method described in the fourth aspect above.
  • the memory is used to store program instructions and data.
  • the memory is coupled with the processor, and the processor can call and execute program instructions stored in the memory, so as to realize the functions of the third network device in the method described in the fourth aspect above.
  • the device for inter-device communication may further include a communication interface, where the communication interface is used for the device for inter-device communication to communicate with other devices.
  • the communication interface may be a transceiver, an input/output interface, or a circuit.
  • the device for inter-device communication includes: a processor and a communication interface
  • the processor is configured to run a computer program, so that the communication device implements any one of the methods described in the fourth aspect above;
  • the processor communicates with the outside through the communication interface.
  • the external may be an object other than the processor, or an object other than the device.
  • the device for inter-device communication is a chip or a chip system.
  • the communication interface may be an input/output interface, an interface circuit, an output circuit, an input circuit, pins or related circuits on the chip or the chip system.
  • the processor may also be embodied as a processing circuit or logic circuit.
  • a seventeenth aspect provides an apparatus for inter-device communication, the apparatus for inter-device communication includes a processor configured to implement the function of the fourth network device in the method described in the fifth aspect above.
  • the apparatus for inter-device communication may further include a memory, the memory is coupled to the processor, and the processor is configured to implement the function of the fourth network device in the method described in the fifth aspect above.
  • the memory is used to store program instructions and data.
  • the memory is coupled with the processor, and the processor can call and execute program instructions stored in the memory, so as to realize the functions of the fourth network device in the method described in the fifth aspect above.
  • the device for inter-device communication may further include a communication interface, where the communication interface is used for the device for inter-device communication to communicate with other devices.
  • the communication interface may be a transceiver, an input/output interface, or a circuit.
  • the device for inter-device communication includes: a processor and a communication interface
  • the processor is configured to run a computer program, so that the communication device implements any one of the methods described in the fifth aspect above;
  • the processor communicates with the outside through the communication interface.
  • the external may be an object other than the processor, or an object other than the device.
  • the device for inter-device communication is a chip or a chip system.
  • the communication interface may be an input/output interface, an interface circuit, an output circuit, an input circuit, pins or related circuits on the chip or the chip system.
  • the processor may also be embodied as a processing circuit or logic circuit.
  • an apparatus for inter-device communication includes a processor configured to implement the function of the sixth network device in the method described in the sixth aspect.
  • the apparatus for inter-device communication may further include a memory, the memory is coupled to the processor, and the processor is configured to implement the function of the sixth network device in the method described in the sixth aspect above.
  • the memory is used to store program instructions and data.
  • the memory is coupled with the processor, and the processor can call and execute program instructions stored in the memory, so as to realize the functions of the sixth network device in the method described in the sixth aspect above.
  • the device for inter-device communication may further include a communication interface, where the communication interface is used for the device for inter-device communication to communicate with other devices.
  • the communication interface may be a transceiver, an input/output interface, or a circuit.
  • the device for inter-device communication includes: a processor and a communication interface
  • the processor is configured to run a computer program, so that the communication device implements any one of the methods described in the sixth aspect above;
  • the processor communicates with the outside through the communication interface.
  • the external may be an object other than the processor, or an object other than the device.
  • the device for inter-device communication is a chip or a chip system.
  • the communication interface may be an input/output interface, an interface circuit, an output circuit, an input circuit, pins or related circuits on the chip or the chip system.
  • the processor may also be embodied as a processing circuit or logic circuit.
  • the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, it causes the computer to execute the methods described in the above aspects.
  • the present application provides a computer program product including instructions, which, when run on a computer, cause the computer to execute the methods described in the above aspects.
  • a communication system including the device for inter-device communication in the seventh aspect to the device for inter-device communication in the twelfth aspect.
  • a twenty-second aspect provides a chip device, including a processing circuit, the processing circuit is used to call and run a program from the memory, so that the communication device installed with the chip device executes any one of the first to sixth aspects above method in one possible implementation.
  • FIG. 1 shows a schematic diagram of the architecture of a 5G system to which the embodiment of the present application applies.
  • Fig. 2 is a schematic diagram of a method for inter-device communication.
  • Fig. 3 is a schematic flowchart of a UE controlling a smart device.
  • Fig. 4 is a schematic flowchart of a method for inter-device communication provided by the present application.
  • Fig. 5 is a schematic flowchart of another method for inter-device communication provided by the present application.
  • Fig. 6 is a schematic block diagram of a communication device provided according to an embodiment of the present application.
  • Fig. 7 is another schematic block diagram of a communication device provided according to an embodiment of the present application.
  • the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: the fifth generation (5th generation, 5G) system or new radio (new radio, NR), long term evolution (long term evolution, LTE) system, LTE frequency Division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD), etc.
  • 5G fifth generation
  • NR new radio
  • long term evolution long term evolution
  • LTE frequency Division duplex frequency division duplex
  • FDD frequency division duplex
  • TDD time division duplex
  • the technical solution provided by this application can also be applied to future communication systems, such as the sixth generation mobile communication system.
  • the technical solution of the embodiment of the present application can also be applied to device to device (device to device, D2D) communication, vehicle-to-everything (V2X) communication, machine to machine (machine to machine, M2M) communication, machine Type communication (machine type communication, MTC), and Internet of things (internet of things, IoT) communication system or other communication systems.
  • D2D device to device
  • V2X vehicle-to-everything
  • M2M machine to machine
  • MTC machine Type communication
  • IoT Internet of things
  • 5G system framework based on point-to-point interfaces can refer to the current This application does not describe the introduction in related technologies.
  • FIG. 1 shows a schematic architecture diagram of a 5G system to which this embodiment of the present application applies.
  • Figure 1 is a schematic diagram of a 5G network architecture based on a point-to-point interface.
  • the network architecture may include but not limited to the following network elements (or called functional network elements, functional entities, nodes, devices, etc.):
  • User equipment user equipment, UE
  • wireless access network equipment
  • access and mobility management function access and mobility management function
  • AMF access and mobility management function
  • SMF session management function
  • UPF user plane function
  • policy control function policy control function
  • PCF policy control function
  • UDM unified data management
  • data network data network, DN
  • unified data management unified data management
  • UDM unified data storage
  • personal IoT network function personal IoT network function, PIN function
  • UE A device communicating with (R) AN, also called terminal equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station (MS), mobile terminal (mobile terminal, MT), remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.
  • R A terminal device may be a device that provides voice/data connectivity to users, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and the like.
  • examples of some terminals can be: mobile phone (mobile phone), tablet computer (pad), computer with wireless transceiver function (such as notebook computer, palmtop computer, etc.), mobile internet device (mobile internet device, MID), virtual reality (virtual reality, VR) equipment, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control (industrial control), wireless terminals in self driving (self driving), wireless in remote medical (remote medical) Terminals, wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless Telephones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices, or connected Other processing devices to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in the 5G network or terminal devices in the future evolution of the public land mobile network (PLMN), etc.
  • PLMN public land mobile network
  • the terminal device may also be a terminal device in an Internet of Things (Internet of things, IoT) system.
  • IoT Internet of things
  • Its main technical feature is to connect objects to the network through communication technology, so as to realize the intelligent network of human-machine interconnection and object interconnection.
  • IoT technology can achieve massive connections, deep coverage, and terminal power saving through, for example, narrow band (NB) technology.
  • NB narrow band
  • the terminal device may be any device that can access the network.
  • a certain air interface technology may be used to communicate with each other between the terminal device and the access network device.
  • the user equipment can be used as a base station.
  • a user equipment may act as a scheduling entity, which provides sidelink signals between user equipments in V2X or D2D, etc.
  • a cell phone and an automobile communicate with each other using sidelink signals. Communication between cellular phones and smart home devices without relaying communication signals through base stations.
  • (R)AN It is used to provide network access functions for authorized user equipment in a specific area, and can use transmission tunnels with different service qualities according to the level of user equipment and business requirements.
  • (R)AN can manage wireless resources, provide access services for user equipment, and then complete the forwarding of control signals and user equipment data between user equipment and the core network.
  • (R)AN can also be understood as a base station in a traditional network.
  • the access network device in the embodiment of the present application may be any communication device with a wireless transceiver function for communicating with the user equipment.
  • the access network equipment includes but not limited to: evolved Node B (evolved Node B, eNB), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (base station controller) , BSC), base transceiver station (base transceiver station, BTS), home base station (home evolved Node B, HeNB, or home Node B, HNB), baseband unit (baseBand unit, BBU), wireless fidelity (wireless fidelity, WIFI ) system in the access point (access point, AP), wireless relay node, wireless backhaul node, transmission point (transmission point, TP) or transmission and reception point (transmission and reception point, TRP), etc., can also be 5G , such as, NR, gNB in the system, or, transmission point (TRP or TP), one or a group (including multiple antenna panels
  • a gNB may include a centralized unit (CU) and a DU.
  • the gNB may also include an active antenna unit (AAU).
  • the CU implements some functions of the gNB, and the DU implements some functions of the gNB.
  • the CU is responsible for processing non-real-time protocols and services, and realizing the functions of radio resource control (radio resource control, RRC) and packet data convergence protocol (packet data convergence protocol, PDCP) layer.
  • the DU is responsible for processing physical layer protocols and real-time services, realizing the functions of the radio link control (radio link control, RLC) layer, media access control (media access control, MAC) layer and physical (physical, PHY) layer.
  • the AAU implements some physical layer processing functions, radio frequency processing and related functions of active antennas. Since the information of the RRC layer will eventually become the information of the PHY layer, or be transformed from the information of the PHY layer, under this architecture, high-level signaling, such as RRC layer signaling, can also be considered to be sent by the DU , or, sent by DU+AAU.
  • the access network device may be a device including one or more of a CU node, a DU node, and an AAU node.
  • the CU can be divided into access network devices in the access network (radio access network, RAN), and the CU can also be divided into access network devices in the core network (core network, CN). Do limited.
  • UPF network element mainly includes the following functions: data packet routing and transmission, packet detection, service usage reporting, quality of service (QoS) processing, legal interception, uplink packet detection, downlink data packet storage, etc. function.
  • QoS quality of service
  • the user plane network element may be a UPF network element.
  • the user plane network element may still be a UPF network element, or may have other names, which are not limited in this application.
  • DN It is used to provide the network for transmitting data.
  • the data network may be a DN.
  • the data network may still be a DN, or may have other names, which are not limited in this application.
  • AMF network element mainly includes the following functions: connection management, mobility management, registration management, access authentication and authorization, reachability management, security context management and other functions related to access and mobility.
  • the access management network element may be an AMF network element.
  • the access management network element may still be an AMF network element, or may have other names, which are not limited in this application.
  • SMF network element mainly used for session management, Internet Protocol (IP) address allocation and management of terminal equipment, selection of endpoints for manageable user plane functions, policy control and charging function interfaces, and downlink data Notice
  • IP Internet Protocol
  • the session management network element can be an SMF network element.
  • the session management network element may still be an SMF network element, or may have other names, which are not limited in this application.
  • PCF network element a unified policy framework used to guide network behavior, and provide policy rule information for control plane functional network elements (such as AMF, SMF network elements, etc.).
  • the policy control network element may be a PCF network element.
  • the policy control network element may still be a PCF network element, or may have other names, which are not limited in this application.
  • UDM It can be understood as the naming of unified data management network elements in the 5G architecture. Among them, the unified data management network element mainly includes the following functions: unified data management, support for authentication credential processing in the 3GPP authentication and key agreement mechanism, user identity processing, access authorization, registration and mobility management, subscription management, short message management etc.
  • UDR It is mainly used for the access function of contract data, policy data, application data and other types of data.
  • the above-mentioned network element or functional network element may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • PIN function used to create and manage PIN, including: create, update and delete PIN; manage PIN identification, PIN device identification, PIN device's role in PIN, and IP for communication between PIN devices Address; management PIN equipment establishes parameters such as protocol data unit (protocol data unit, PDU) session slice, data network name (data network name, DNN).
  • protocol data unit protocol data unit, PDU
  • data network name data network name, DNN
  • the PIN function involved in this embodiment of the present application is a logical functional entity, which can be co-established with other network elements during actual deployment, such as co-established with AMF or PCF. After the joint configuration, the interaction between the PIN function and the joint network element branch is an internal interaction.
  • the interfaces between the control plane network elements in FIG. 1 are point-to-point interfaces.
  • N1 the interface between the AMF and the terminal, which can be used to transmit QoS control rules and the like to the terminal.
  • N2 the interface between the AMF and the RAN, which can be used to transfer radio bearer control information from the core network side to the RAN.
  • N3 The interface between RAN and UPF, mainly used to transfer uplink and downlink user plane data between RAN and UPF.
  • N4 The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the distribution of forwarding rules for the user plane, QoS control rules, traffic statistics rules, etc., and user plane information report.
  • N5 the interface between the AF and the PCF, which can be used for sending application service requests and reporting network events.
  • N6 the interface between UPF and DN, used to transfer the uplink and downlink user data flow between UPF and DN.
  • N7 The interface between the PCF and the SMF, which can be used to deliver PDU session granularity and service data flow granularity control policies.
  • N8 The interface between AMF and UDM, which can be used for AMF to obtain subscription data and authentication data related to access and mobility management from UDM, and for AMF to register terminal current mobility management related information with UDM.
  • N9 a user plane interface between UPF and UPF, used to transmit uplink and downlink user data flows between UPFs.
  • N10 the interface between SMF and UDM, which can be used for SMF to obtain session management-related subscription data from UDM, and for SMF to register terminal current session-related information with UDM.
  • N11 The interface between SMF and AMF, which can be used to transfer PDU session tunnel information between RAN and UPF, transfer control messages sent to terminals, transfer radio resource control information sent to RAN, etc.
  • Nx The interface between PIN function and UDM or AMF.
  • the PIN function can be co-located with other network elements.
  • the network element co-located with the PIN function is called a co-located network element.
  • the interaction between the PIN function and the co-located network element is realized through internal interaction, and the interaction with other network elements can be performed through the co-located network element; as another possible
  • the PIN function can be established separately.
  • the interaction between the PIN function and other network elements can be performed through interfaces, and the name of the interface is not limited in this application.
  • interfaces between network elements of the control plane in FIG. 1 may also be service interfaces, which will not be described in detail in this application.
  • the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • the network element with the access management function is an AMF network element
  • the network element with a session management function is an SMF network element for example.
  • the AMF network element is referred to as AMF for short
  • the SMF network element is referred to as SMF for short. That is, the AMF described later in this application can be replaced by an access management function network element, and the SMF can be replaced by a session management network element.
  • the method of communication will be described by taking the device as an AMF entity and an SMF entity as an example.
  • the implementation method of the device as a chip in an AMF entity and a chip in an SMF entity, you can refer to the devices as AMF The specific description of entities and SMF entities will not be repeated.
  • network functional network element entities such as AMF network elements, SMF network elements, PCF network elements, and UDM network elements are called network function network elements (network function, NF) network
  • network function network elements network function, NF
  • a collection of network elements such as AMF network elements, SMF network elements, PCF network elements, and UDM network elements can be called control plane functional network elements.
  • Figure 1 is a communication system applicable to the embodiment of the present application.
  • the 5G that may be involved in the embodiment of the present application.
  • PIN Personal IoT network
  • the personal Internet of things network is based on the individual (or individual) user as the center, through the user's terminal device (such as a mobile phone), according to the agreement, connects the smart device and other information resources, and meets the user's high-quality and convenient life. service system.
  • the Internet of Things is divided into the Consumer Internet of Things and the Industrial Internet of Things according to the demand side and the supply side.
  • the Personal Internet of Things network and the Home Internet of Things network are sub-categories of the Consumer Internet of Things. The relationship between the two depends on the roles and scenarios of the end users of the Internet of Things nature. When referring to the personal Internet of Things, more emphasis is placed on the mobile scene centered on the individual, and when referring to the home Internet of Things, more emphasis is placed on the weakly mobile home space scene centered on home users.
  • the personal Internet of Things is the key mobile connection point in the Internet of Things, and the connection between the home Internet of Things and the industrial Internet of Things is the key foundation for the Internet of Everything.
  • FIG. 2 is a schematic diagram of a method for communication between devices.
  • the specific process includes: UE controls smart devices through the 5G core network and smart device gateway, where UE can be understood as A user holds a device (such as a mobile phone), and a smart device may be understood as a household device (such as a smart door lock, a smart camera, etc.).
  • UE controls smart devices through the 5G core network and smart device gateway, where UE can be understood as A user holds a device (such as a mobile phone), and a smart device may be understood as a household device (such as a smart door lock, a smart camera, etc.).
  • a smart device can also be called a PIN element, that is, a smart device can be understood as an element in a personal Internet of Things network.
  • communication between personal devices mainly includes:
  • FIG. 3 is a schematic flowchart of a UE controlling a smart device. Include the following steps:
  • the smart device registers with the smart device manufacturer server.
  • the process shown in Figure 3 also includes:
  • the APP installed in the UE sends the control instruction to the server of the smart device manufacturer.
  • the server of the smart device manufacturer sends the control instruction to the smart device.
  • the smart device sends a response in response to the above control instruction to the smart device manufacturer server.
  • the smart device manufacturer server sends a response in response to the above control instruction to the UE.
  • the control of the smart device is completed based on the above process.
  • the smart device manufacturer's server does not need authentication and authentication for the UE requesting to control the smart device, so there is a security problem in manipulating the smart device or obtaining services.
  • the present application provides a communication method, which can optimize the communication process between personal devices.
  • the embodiments shown below do not specifically limit the specific structure of the execution subject of the method provided by the embodiment of the present application, as long as the program that records the code of the method provided by the embodiment of the present application can be run to provide the method according to the embodiment of the present application.
  • the execution subject of the method provided by the embodiment of the present application may be a terminal device or a core network device, or a functional module in a terminal device or a core network device that can call a program and execute the program.
  • for indicating can be understood as “enabling”, and “enabling” can include direct enabling and indirect enabling.
  • enabling can include direct enabling and indirect enabling.
  • information for enabling A it may include that the information directly enables A or indirectly enables A, but it does not mean that A must be carried in the information.
  • the information enabled by the information is called the information to be enabled.
  • the information to be enabled can be directly enabled.
  • the to-be-enabled information may also be indirectly enabled by enabling other information, where there is an association relationship between the other information and the to-be-enabled information.
  • specific information can also be enabled by means of a pre-agreed (for example, protocol-specified) arrangement order of each information, thereby reducing the enabling overhead to a certain extent.
  • common parts of each information can be identified and enabled uniformly, so as to reduce the enabling overhead caused by enabling the same information separately.
  • preset may include pre-definition, for example, protocol definition.
  • pre-defined can be realized by pre-saving corresponding codes, tables, or other methods that can be used to indicate related information in equipment (for example, including user equipment or core network equipment). Do limited.
  • the "storage" mentioned in the embodiment of the present application may refer to saving in one or more memories.
  • the one or more memories may be provided independently, or may be integrated in an encoder or decoder, a processor, or a communication device.
  • a part of the one or more memories may also be provided separately, and a part may be integrated in a decoder, a processor, or a communication device.
  • the type of the storage may be any form of storage medium, which is not limited in this application.
  • the "protocol” involved in the embodiment of this application may refer to a standard protocol in the communication field, for example, it may include 5G protocol, new radio (new radio, NR) protocol and related protocols applied in future communication systems. Applications are not limited to this.
  • the first network device is AMF
  • the second network device is SMF
  • the third network device is PCF
  • the fourth network device is PIN function
  • the fifth network device is UPF
  • the sixth network device is UDM.
  • the seventh network device is UDR as an example for description.
  • the first network device may be an access and mobility management functional network element.
  • the access and mobility management functional network element may be an AMF, or other network elements capable of implementing access and mobility management functions.
  • the second network device may be a network element with a session management function.
  • the network element with the session management function may be an SMF, or other network elements capable of implementing the session management function.
  • the third network device may be a policy control function network element.
  • the network element with the policy control function may be a PCF, or other network elements capable of implementing the policy control function.
  • the third network device may be a personal Internet of Things network function entity.
  • the personal Internet of Things network functional entity may be a PIN function, or other network elements that can be used to perform PIN creation and management functions.
  • the fifth network device may be a user plane functional network element.
  • the user plane functional network element may be a UPF, or other network elements capable of implementing user plane functions.
  • the sixth network device may be a unified data management network element.
  • the unified data management can be UDM, or other network elements that can implement data management functions.
  • the seventh network device may be a unified data storage network element.
  • the unified data storage can be UDR, or other network elements that can realize the data storage function
  • Fig. 4 is a schematic flowchart of a communication method provided by the present application. Include the following steps:
  • the first terminal device acquires a first parameter.
  • the first parameter is used to identify a first communication group, and the first terminal device belongs to the first communication group.
  • the first terminal device in the embodiment of this application may be a PIN element, which is a smart device in the personal Internet of Things network.
  • the first terminal device may be a household smart appliance or a user-held smart device.
  • the specific form of the first terminal device is not limited, and all smart devices capable of networking are within the protection scope of the present application.
  • the first communication group may be a personal IoT network including the first terminal device, for example, the first communication group is the first PIN.
  • the communication group may be referred to as a PIN hereinafter.
  • the first parameter may be a parameter used to identify the first PIN, for example, a PIN ID (PIN ID), PIN indication information, etc.
  • PIN ID PIN ID
  • PIN indication information PIN indication information
  • the specific form of the first parameter is not limited, and can be used
  • the information used to identify the first PIN is within the protection scope of the present application.
  • the following description takes the first parameter as the first PIN ID as an example.
  • the fact that the first terminal device belongs to the first PIN may be understood as that the first PIN includes multiple terminal devices, the multiple terminal devices are called a PIN, and the multiple terminal devices include the first terminal device.
  • first terminal device belonging to the first PIN just means that the first PIN includes the first terminal device, but it does not limit that the first terminal device can only belong to the first PIN. It may belong to other PINs, which is not limited in this application.
  • the first PIN includes the first terminal device, the second terminal device, and the third terminal device;
  • the second PIN includes the first terminal device, the fourth terminal device, and the fifth terminal device. That is to say, the first terminal device can belong to the first PIN and the second PIN at the same time.
  • the acquisition of the first PIN ID by the first terminal device may be that the first terminal device initiates the first PIN establishment process or joins the first PIN process, and obtains the first PIN ID from the SMF, as follows How the first terminal device obtains the first PIN ID in the first PIN establishment process is described in detail in conjunction with FIG. 5 , and details are not repeated here.
  • the first terminal device may obtain the first PIN ID from other terminal devices in the first PIN.
  • obtaining the first PIN ID by the first terminal device may be obtained from other management devices to obtain the identifier of the first PIN to which it belongs.
  • the acquisition of the first PIN ID by the first terminal device may be to determine the identifier of the PIN to which the first terminal device belongs in a predefined manner.
  • the first terminal device may send the first message to the AMF.
  • the first message may be a non-access stratum (non-access stratum, NAS) message, which is sent to the AMF through the communication interface (for example, N1) between the first terminal device and the AMF.
  • NAS non-access stratum
  • the first message may also be other newly added or existing messages between the first terminal device and the AMF except the NAS message.
  • the method flow shown in FIG. 4 also includes:
  • the first terminal device sends the first NAS message to the AMF, or the AMF receives the first NAS message from the first terminal device.
  • first PIN ID and session establishment request message (as, PDU session establishment request) in this first NAS message
  • PDU session establishment request message the actual function of this first message is to be used for requesting to set up the first session
  • this session establishment request message It is also used to request to establish the first session.
  • the first NAS message may also include an identifier of the first session (eg, PDU session ID).
  • the above-mentioned first session is used for the first terminal device to communicate with the second terminal device in the first PIN.
  • the second terminal device is any terminal device in the first PIN except the first terminal device.
  • the second terminal device The device may be one or more terminal devices, for example, the first terminal device may communicate with at least one other terminal device in the first PIN through the first session.
  • the "session” is taken as an example of a PDU session to describe the method.
  • the PDU session can also be replaced by other sessions, which is not limited in this application.
  • the first NAS message includes the first PIN ID and the session establishment request message
  • the session establishment request message also includes the first PIN ID
  • the first NAS message includes the identifier of the first session (eg, PDU session ID)
  • the session establishment request message also includes the identifier of the first session.
  • the AMF After receiving the first NAS message, the AMF does not need to parse the session establishment request message, and just forwards it to the SMF.
  • the first terminal device initiates a NAS message for establishing a PDU session
  • the NAS message carries a PDU session ID
  • the PDU session ID is used to identify the first session.
  • the N1 container (container) is also included in the NAS message.
  • the N1 container is a session establishment request message (PDU session establishment request).
  • the PDU session establishment request includes PIN ID and PDU session ID.
  • the AMF does not analyze the N1 container and sends it to the SMF.
  • the first terminal device may determine the routing selection parameters of the first session according to the obtained second parameter, and the method flow shown in FIG. 4 further includes:
  • the AMF receives the second parameter from the PCF, or the PCF sends the second parameter to the AMF.
  • the second parameter is determined by the PCF, and the PCF sends the second parameter to the AMF, and the AMF sends the second parameter to the first terminal device.
  • the second parameter includes a parameter used to describe an application, a parameter used to describe the first PIN, and a routing parameter used to determine the first session, wherein the routing parameter includes network slicing, service continuity At least one of behavior mode, data network name, session type, and access type.
  • the first terminal device receives the second parameter from the AMF, or the AMF sends the second parameter to the first terminal device.
  • the first terminal When the parameters describing the application match the application program running on the first terminal, and the parameters describing the first PIN match the first PIN ID, the first terminal according to the The application program running on the first terminal and the first PIN ID determine the routing selection parameter of the first session, wherein the routing selection parameter of the first session is related to the application program running on the first terminal and the first PIN ID A PIN ID association.
  • matching the parameters describing the application with the application program running on the first terminal may be understood as the parameter describing the application being identical or partially identical to the parameters of the application program running on the first terminal.
  • matching the parameters used to describe the first PIN with the first PIN ID can be understood as the parameter used to describe the first PIN is the same or partially the same as the first PIN ID .
  • the association between the routing parameters of the first session and the application program running on the first terminal and the first PIN ID can be understood as a configuration mapping relationship: the identification of the application program running on the first terminal and the ID of the first PIN
  • the identifier corresponds to the routing parameter of the first session, for example, APP ID+PIN ID->routing parameter.
  • the above-mentioned service continuity mode includes: mode#1, mode#2 and mode#3 three modes, wherein, mode#1 is to ensure that the IP address of the session remains unchanged, and the UPF remains unchanged; mode#2 and mode #3 You can change the IP address of the session by redirecting UPF.
  • the second parameter may be determined when the first terminal device initiates the first PIN establishment process or joins the first PIN process.
  • the following will describe in detail how the PCF determines the second parameter in the first PIN establishment process in conjunction with FIG. 5 , which will not be described here.
  • the AMF After the AMF receives the first NAS message, it can determine the SMF used for the intergroup communication of the first PIN based on the first PIN ID included in the first NAS message, and the method flow shown in FIG. 4 also includes:
  • the AMF determines the SMF.
  • the AMF determines that the first terminal device belongs to the first PIN according to the session context of the first PIN, and selects a network device associated with a session established by the first PIN as the SMF.
  • the AMF determines that the first terminal device belongs to the first PIN, it selects the SMF associated with the established PDU session in the first PIN.
  • the AMF may randomly select a network device as the SMF.
  • the AMF may select a network device that supports communication between PIN groups as the SMF.
  • the AMF may locally store the above-mentioned first PIN session context; or the AMF may obtain the above-mentioned first PIN session context from other network devices (such as another AMF or UDM, etc.).
  • the PIN includes UE#1 and UE#2, where the identifier of the PIN is PIN ID, the communication address of UE#1 in the PIN is IP address #1, and the UE#1 has established
  • the identifier of PDU session#1 is UE1 PDU session ID
  • the PDU session#1 is established by SMF#1
  • the identifier of SMF#1 is SMF ID#1
  • the data of UE#1 is sent through UPF#1
  • the UPF#1 The identification is UPF ID#1
  • the communication address of UE#2 in the PIN is IP address#2
  • the identification of PDU session#2 established by UE#2 is UE2 PDU session ID
  • the PDU session#2 is established by SMF#2
  • the identifier of SMF#2 is SMF ID#2
  • the data of UE#2 is sent through UPF#2
  • the identifier of UPF#2 is UPF ID#2.
  • SMF#1 and SMF#2
  • the AMF After determining the SMF, the AMF sends a seventh message to the SMF, requesting to establish the first session.
  • the seventh message may be a session update request message.
  • the seventh message may be a request message for establishing a session.
  • the seventh message may also be other messages including the first PIN ID and the session establishment request message included in the first NAS message.
  • the seventh message is described below as an example of a session update request message.
  • the method flow shown in FIG. 4 also includes:
  • the AMF sends a session update request message to the SMF, or the SMF receives the session update request message from the AMF.
  • the session update request message includes the first PIN ID and the session establishment request message.
  • the session update request message is a session update request message.
  • the first PIN ID and session establishment request message included in the session update request message in step S440 are the same as the first PIN ID and session establishment request message included in the first NAS message involved in S420 above, and will not be repeated here.
  • the SMF After the SMF receives the session update request message, it can determine the UPF used for the intergroup communication of the first PIN based on the first PIN ID included in the session update request message, and the method flow shown in FIG. 4 also includes:
  • the SMF determines the UPF.
  • the SMF determines the UPF used for communication between terminal devices in the first PIN according to the session context of the first PIN.
  • the SMF may locally save the above session context of the first PIN
  • the SMF may acquire the above-mentioned session context of the first PIN from other network devices (eg, another SMF or UDM, etc.).
  • other network devices eg, another SMF or UDM, etc.
  • the SMF may determine the inter-group communication mode of the first PIN according to the UPF used for inter-group communication of the first PIN, and the method flow shown in FIG. 4 also includes:
  • the SMF determines the communication mode.
  • UPF for example, UPF#1
  • UPF#2 the same as the UPF#2 of the established PDU session in the first PIN
  • UPF local forwarding the communication method is UPF local forwarding:
  • UPF#1 when UPF#1 receives a device (such as the first terminal device) in the first PIN to send data to another device (such as the second terminal device) in the first PIN, UPF# 1 Send the data directly to another device; or
  • the communication method is forwarding between UPFs:
  • the first terminal device and the second terminal device belong to the same operator, but the first terminal device uses UPF#1 for data transmission, and the second terminal device uses UPF#2 for data transmission.
  • UPF#1 receives a device in the first PIN (for example, the first terminal device) to send data to another device in the first PIN (for example, the second terminal device)
  • UPF#1 will The data is sent to UPF#2 (for example, data is transmitted through the N9 interface), and UPF#2 sends the data to another device.
  • the first terminal device and the second terminal device belong to different operators, the first terminal device uses UPF#1 to perform data transmission, and the second terminal device uses UPF#2 to perform data transmission.
  • UPF#1 receives a device in the first PIN (for example, the first terminal device) to send data to another device in the first PIN (for example, the second terminal device)
  • UPF#1 will The data is sent to the DN (for example, data is transmitted through the N6 interface)
  • the DN sends the data to UPF#2 (for example, the data is transmitted through the N6 interface)
  • the UPF#2 sends the data to another device.
  • routing rules are shown in Table 2 below:
  • the SMF determines the above-mentioned communication method, it can notify the UPF of the communication method, so that the UPF can know the data transmission method, which is conducive to subsequent data transmission.
  • the method flow shown in Figure 4 may also include:
  • the SMF sends the first indication information to the UPF, or the UPF receives the first indication information from the SMF.
  • the SMF may send the first indication information to the UPF through an N4 session establishment or modification message.
  • the first indication information is used to indicate the above-mentioned communication manner.
  • the first indication information is the indication information of Table 2 mentioned above.
  • the specific form of the first indication information is not limited, and the indication information that can indicate the above-mentioned communication mode is within the scope of non-protection of the present application.
  • the SMF After the SMF determines the intergroup communication mode in the first PIN, the SMF sends a second message to the AMF, for example, the second message is a session establishment accept (PDU session establishment accept) message.
  • the second message is a session establishment accept (PDU session establishment accept) message.
  • the second message is described below as an example of a session establishment acceptance message.
  • the method flow shown in FIG. 4 also includes:
  • the SMF sends a session establishment acceptance message to the AMF, or the AMF receives the session establishment acceptance message from the SMF.
  • the session establishment accept message is used to indicate that the request for establishing the first session is accepted.
  • the session establishment acceptance message includes the identifier (PDU session ID) of the first session.
  • the AMF needs to send the session establishment acceptance message to the first terminal device, so that the first terminal device knows that the first session is allowed to be established, and the method flow shown in FIG. 4 also includes:
  • the first terminal device receives a session establishment acceptance message from the AMF, or the AMF sends a first NAS message to the first terminal device.
  • the SMF may register the relevant information of the first session to the UDM, and the SMF sends a tenth message to the UDM, where the tenth message is used to register the relevant information of the first session to the UDM.
  • the tenth message is described below as an example of a register (register) message, and the method flow shown in FIG. 4 also includes:
  • the SMF sends a registration message to the UDM, or the UDM receives the registration message from the SMF.
  • the tenth message includes the first PIN ID, the identifier of the first terminal device, the identifier of the first session, the identifier of the UPF and the IP address of the first session, wherein the IP address of the first session is SMF and/or UPF is The IP address assigned for the first session.
  • the UDM After the UDM obtains the relevant information of the above-mentioned first session, it sends the first IP address of the first terminal device in the first PIN to the PIN function, and the method flow shown in FIG. 4 also includes:
  • the UDM sends the first IP address to the PIN function, or the PIN function receives the first IP address from the UDM.
  • the PIN function is a PIN function.
  • the context information related to the first PIN stored in the PIN function is shown in Table 3 below:
  • the IP address (such as the IP address of each GPSI shown in Table 3) information of the terminal device included in the first PIN in Table 3 can be obtained through the above step S491, for example, each of the first PIN
  • the terminal device can execute the above step S491 in the process of requesting to establish an inter-group communication session, and the PIN function can obtain the IP addresses used for inter-group communication of all terminal devices included in the first PIN.
  • PIN group data PIN group data
  • PIN group membership PIN group membership
  • the first terminal device can perform intergroup communication with devices in the first PIN through the first session.
  • the first terminal device sends the third message to the AMF.
  • the third message may be a NAS message, which is sent to the AMF through the communication interface (for example, N1) between the first terminal device and the AMF.
  • the communication interface for example, N1
  • the third message may also be other newly added or existing messages between the first terminal device and the AMF except the NAS message.
  • the third message is described below as an example of the second NAS message.
  • the method flow shown in FIG. 4 also includes:
  • the first terminal device sends the second NAS message to the AMF, or the AMF receives the second NAS message from the first terminal device.
  • the first terminal device sends the second NAS message to the AMF.
  • the second NAS message is used to request to obtain the IP address of the second terminal device in the first PIN, and the second NAS message includes the identifier of the second terminal device and/or the first PIN ID.
  • the identifier of the second terminal device may be information used to indicate the second terminal device, for example, it may be the ID of the second terminal device;
  • the function information in (for example, the device that realizes the function of adjusting temperature).
  • the purpose of the first terminal device sending the second NAS message to the AMF is to send a message for requesting to obtain the IP address of the second terminal device in the first PIN to the PIN function.
  • the AMF may send an eighth message to the PIN function, where the eighth message is used to request to obtain the IP address of the second terminal device in the first PIN.
  • the eighth message may be called a second terminal device query request message.
  • the eighth message may also be another message for requesting to acquire the IP address of the second terminal device in the first PIN.
  • the eighth message is described below as an example of the query request message of the second terminal device.
  • the method flow shown in FIG. 4 also includes:
  • the AMF sends the second terminal device query request message to the PIN function, or the PIN function receives the second terminal device query request message from the AMF.
  • the second terminal device query request message may be called a second terminal device query request message, and is used to request to obtain the IP address of the second terminal device in the first PIN.
  • the second terminal device query request message includes the identifier of the second terminal device and the first PIN ID.
  • the query request message sent by the first terminal device to the PIN function through the AMF includes:
  • the first terminal device sends a second NAS message (such as a NAS message) to the AMF, where the second NAS message includes a first PIN ID and a second terminal device query request message (such as a second terminal device query request message), the The second NAS message includes the first PIN ID and the identification of the second terminal device (such as the ID of the second terminal device); after receiving the second NAS message, the AMF does not parse the second terminal device query request message, and sends the The second terminal device query request message is forwarded to the PIN function.
  • a second NAS message such as a NAS message
  • the second NAS message includes a first PIN ID and a second terminal device query request message (such as a second terminal device query request message)
  • the AMF does not parse the second terminal device query request message, and sends the The second terminal device query request message is forwarded to the PIN function.
  • the PIN function After the PIN function receives the query request message of the second terminal device, it determines that the first terminal device belongs to the first PIN, and the method flow shown in Fig. 4 also includes:
  • the PIN function determines that the first terminal device belongs to the first PIN.
  • the PIN function may determine that the first terminal device belongs to the first PIN according to the locally stored context information of the first PIN.
  • the IP address of the second terminal device in the first PIN is sent to the AMF, and the method flow shown in FIG. 4 also includes:
  • the PIN function sends the IP address to the AMF, or the AMF receives the IP address from the PIN function.
  • the IP address is the IP address of the second terminal device in the first PIN.
  • the PIN function sends the IP address to the AMF including:
  • the PIN function sends a second terminal device query response message to the AMF, where the second terminal device query response message includes an IP address.
  • the AMF After the AMF receives the query response message of the second terminal device, it does not parse the query response message of the second terminal device, and forwards the query response message of the second terminal device to the first terminal device through the NAS message.
  • the AMF After the AMF receives the query response message of the second terminal device, it does not parse the query response message of the second terminal device, and forwards the query response message of the second terminal device to the first terminal device through the NAS message.
  • the AMF sends the IP address to the first terminal device, or the first terminal device receives the IP address from the AMF.
  • the first terminal device After the first terminal device obtains the IP address of the second terminal device, it communicates with the second terminal device through the first session, and the method flow shown in FIG. 4 also includes:
  • data transmission methods include the following:
  • the data to be transmitted of the first terminal device is sent to UPF#1, and then forwarded to the second terminal device by UPF#1.
  • the data to be transmitted by the first terminal device is sent to UPF#1, which is forwarded by UPF#1 to UPF#2 through the N9 interface, and then forwarded by UPF#2 to the second terminal device.
  • the data to be transmitted by the first terminal device is sent to UPF#1, which is forwarded by UPF#1 to DN through N6 interface, then forwarded by DN to UPF#2 through N6 interface, and finally forwarded by UPF#2 to the second terminal device.
  • FIG. 5 is a schematic flowchart of a method for creating a PIN provided by an embodiment of the present application.
  • the first terminal device may send a fourth message to the AMF to request to establish the above-mentioned first PIN.
  • the fourth message may be a NAS message, which is sent to the AMF through the communication interface (for example, N1) between the first terminal device and the AMF.
  • the communication interface for example, N1
  • the fourth message may also be other newly added or existing messages between the first terminal device and the AMF except the NAS message.
  • the fourth message is described below as an example of the third NAS message, and the method flow 5 shown in Figure 5 includes:
  • the first terminal device sends a third NAS message to the AMF, or the AMF receives the third NAS message from the first terminal device.
  • the third NAS message includes a PIN establishment request message, and the PIN establishment request message is used to request establishment of the above-mentioned first PIN.
  • the third NAS message may be a NAS message.
  • the first terminal device sends a NAS message to the AMF, and the NAS message includes a PIN establishment request message (for example, create PIN request).
  • the AMF sends the NAS message to The PIN function sends a Create PIN Request message requesting the PIN function to create the first PIN.
  • the method flow shown in Figure 5 also includes:
  • the AMF sends a PIN establishment request message to the PIN function, or the PIN function receives the PIN establishment request message from the AMF.
  • the AMF after the AMF receives the above-mentioned third NAS message, it does not need to parse the establishment PIN request message included in the third NAS message, and just forward it to the PIN function.
  • the third NAS message and/or the establishment PIN request message further includes a third parameter, where the third parameter is used to indicate the function of the first terminal device in the first PIN.
  • the functions of the first terminal device in the first PIN include: the first terminal device acts as a gateway device in the first PIN, the first terminal device acts as a management device in the first PIN, and the first terminal device acts as a management device in the first PIN.
  • the first PIN acts as a common communication device.
  • the first PIN includes multiple UEs, and a certain UE among the multiple UEs may act as a smart device gateway (such as the smart device gateway shown in FIG. 2 ), and the smart device gateway may be called a smart Device (PIN element with gateway capability).
  • a smart device gateway such as the smart device gateway shown in FIG. 2
  • the smart device gateway may be called a smart Device (PIN element with gateway capability).
  • the first PIN includes multiple UEs, and a certain UE among the multiple UEs may act as a smart device manager (for example, the certain UE may relay data of other UEs), and the smart device manager may be called Smart devices with management capabilities (PIN element with management capability).
  • the first PIN includes multiple UEs, and at least one of the multiple UEs is a common UE (for example, the at least one device is added to the PIN as a common communication device), and the common UE may be called ( PIN element).
  • the third NAS message further includes the identifier of the first terminal device.
  • the third NAS message further includes the identifier of the first terminal device may be: the identifier of the first terminal device is located outside the establishing PIN request message, that is to say, the establishing PIN request message may not include the first An identification of the terminal device.
  • the third NAS message includes the temporary identifier or permanent identifier of the first terminal device or other external identifiers, and the AMF can determine the identifier of the first terminal device according to the identifier of the UE, and combine the identifier of the first terminal device with the established
  • the PIN request message is sent to the PIN function.
  • the third NAS message may also include the identifier of the first terminal device, which may be: the identifier of the first terminal device is located in the PIN establishment request message, that is to say, the PIN establishment request message may not include the first An identification of the terminal device.
  • the PIN establishment request message includes the permanent identification or other external identification of the first terminal device, and the AMF can forward the PIN establishment request message to the PIN function.
  • the third NAS message further includes the identifier of the first terminal device may be: the identifier of the first terminal device is located in the PIN establishment request message and outside the PIN establishment request message.
  • the third NAS message includes the temporary identifier or permanent identifier or other external identifier of the first terminal device
  • the PIN establishment request message includes the permanent identifier or other external identifier of the first terminal device
  • the AMF can The identifier of the device determines the identifier of the first terminal device, and sends the identifier of the first terminal device and a PIN establishment request message to the PIN function.
  • the above-mentioned identifier of the first terminal equipment can be carried in the PIN establishment request message, so that the AMF does not need to base on the first PIN establishment request message.
  • the identifier of the terminal device determines the identifier of the first terminal device that needs to be sent to the PIN function, and the PIN establishment request message is directly forwarded to the PIN function.
  • the PIN function may accept the first terminal device's request for creating the first PIN, create the first PIN, and allocate the first PIN ID for identifying the first PIN to the first PIN , the method process shown in Figure 5 also includes:
  • the PIN function creates the first PIN.
  • the PIN function needs to assign a first PIN ID for identifying the first PIN to the first PIN.
  • the PIN function can provide the relevant parameters of the first PIN to the UDM, and the PIN function sends an eleventh message to the UDM, and the eleventh message is used to request synchronous creation of the first PIN.
  • the eleventh message is used as an example to request synchronous creation of the first PIN message.
  • the method flow shown in FIG. 5 also includes:
  • the PIN function sends a request to the UDM to synchronously create the first PIN message, or the UDM receives the first request from the PIN function to synchronously create the first PIN message.
  • the request to synchronously create the first PIN message includes the first PIN ID, the first PIN information, and the information of the terminal equipment located in the first PIN,
  • the information of the first PIN includes information used for inter-group communication of the first PIN and information of applications managed by the first PIN.
  • the first PIN information included in the message requesting synchronous creation of the first PIN and the information of the terminal device within the first PIN are the PIN group data and PIN group membership in Table 3 above, respectively.
  • the information used for the communication between the first PIN group includes information such as DNN, S-NSSAI, session type (eg, PDU type) used for the communication between the first PIN group.
  • information such as DNN, S-NSSAI, session type (eg, PDU type) used for the communication between the first PIN group.
  • the application information (for example, App descriptor) managed by the first PIN includes PIN APP ID, triplet and other information.
  • the information of the terminal device located in the first PIN includes the information of the device added to the PIN (for example, list of GPSI, Role of each GPSI, etc.).
  • the UDM after the UDM obtains the relevant parameters of the above-mentioned first PIN, it can obtain the subscription information of the first terminal device from the UDR, determine whether the first PIN can be synchronously established for the first terminal device, and the UDM sends the twelfth PIN to the UDR. message, the twelfth message is used to query the subscription information of the first terminal device.
  • the twelfth message may be a query request message (query request).
  • the twelfth message may also be another message for querying the subscription information of the first terminal device.
  • the twelfth message is hereinafter described as an example of a query request message, and the method flow shown in Figure 4 also includes:
  • the UDM sends a query request message to the UDR, or the UDR receives the query request message from the UDM.
  • the UDM After the UDM determines that the first PIN can be established for the first terminal device, the UDM sends a thirteenth message to the UDR, which is used to instruct synchronous creation of the first PIN.
  • the thirteenth message may be a synchronous creation of the first PIN indication message.
  • the thirteenth message may also be another message used to indicate synchronous creation of the first PIN.
  • the thirteenth message is described below as an example of synchronous creation of the first PIN indication message.
  • the method flow shown in FIG. 5 also includes:
  • the UDM sends a synchronously created first PIN indication message to the UDR, or the UDR receives the synchronously created first PIN indication message from the UDM.
  • the synchronous creation of the first PIN instruction message includes the identifier of the first terminal device, the internal identifier, and the above-mentioned first PIN information.
  • the UDM needs to allocate an internal first PIN identifier (for example, an internal identifier) to the first PIN.
  • an internal first PIN identifier for example, an internal identifier
  • the internal identification can be stored inside the network without sending it to the first terminal device, and the internal identification is associated with the above-mentioned first PIN ID (for example, there is an internal identification for a PIN, and the internal identification Corresponding first PIN ID).
  • the identification of the created first PIN (such as the above-mentioned first PIN ID) needs to be issued to the first terminal device, and the method flow shown in FIG. 5 also includes:
  • the PIN function sends the first PIN ID to the AMF.
  • the AMF stores the association relationship between the first PIN ID and the PIN function.
  • the AMF may not generate the association relationship between the first PIN ID and the PIN function during the creation process of the first PIN.
  • the AMF can determine the corresponding PIN function according to the PIN function identifier included in the first PIN ID after receiving the first PIN ID, so there is no need to additionally save the first PIN ID and The association relationship of PIN function.
  • the AMF sends the first PIN ID to the first terminal device.
  • the first terminal device may also request to update or delete the first PIN.
  • the first terminal device may send a fifth message to the AMF.
  • the fifth message may be a NAS message, which is sent to the AMF through the communication interface (for example, N1) between the first terminal device and the AMF.
  • the communication interface for example, N1
  • the fifth message may also be other newly added or existing messages between the first terminal device and the AMF except the NAS message.
  • the fifth message is described below as an example of the fourth NAS message.
  • the method flow shown in Figure 5 also includes:
  • the first terminal device sends the fourth NAS message to the AMF, or the AMF receives the fourth NAS message from the first terminal device.
  • the fourth NAS message is used to request to update or delete the created first PIN.
  • the AMF may send a ninth message to the PIN function to request updating or deleting the first PIN.
  • the ninth message is described below as an example of a message requesting to update or delete the first PIN.
  • the method flow shown in FIG. 5 also includes:
  • the AMF sends a message requesting to update or delete the first PIN to the PIN function, or the PIN function receives a message requesting to update or delete the first PIN from the AMF.
  • the message requesting to update or delete the first PIN includes the first PIN ID, and the message requesting to update or delete the first PIN is used to request updating or deleting the first PIN.
  • the message that the first terminal device sends to the PIN function through the AMF to request to update or delete the first PIN includes:
  • the first terminal device sends a fourth NAS message (such as a NAS message) to the AMF, and the fourth NAS message includes a message requesting to update or delete the first PIN (such as a delete/updata PIN request), and the AMF receives the fourth NAS message After the NAS message, AMF sends a message requesting to update or delete the first PIN to the PIN function, requesting the PIN function to update or delete the created first PIN.
  • a fourth NAS message such as a NAS message
  • the fourth NAS message includes a message requesting to update or delete the first PIN (such as a delete/updata PIN request)
  • the AMF receives the fourth NAS message
  • AMF sends a message requesting to update or delete the first PIN to the PIN function, requesting the PIN function to update or delete the created first PIN.
  • the AMF After the AMF receives the above fourth NAS message, it does not need to parse the message requesting to update or delete the first PIN included in the fourth NAS message, and just forward it to the PIN function.
  • the fourth NAS message further includes operation indication information for adding or deleting a terminal device and the added or deleted terminal device The identity of the device.
  • the message requesting to update or delete the first PIN further includes an operation of adding or deleting a terminal device The indication information and the identifier of the added or deleted terminal device.
  • the fourth NAS message further includes the first PIN ID, which is used to instruct the AMF to send the fourth NAS message to the PIN function associated with the first PIN ID, if the fourth NAS message does not carry the first PIN ID, Then AMF selects a PIN function to send a message requesting to update or delete the first PIN.
  • the first PIN ID can be assigned by the PIN function, including the identification of the PIN function and the part used to identify the first PIN in the PIN function, and the AMF can also determine the PIN function according to the identification of the PCF in the first PIN ID , and forward the request to update or delete the first PIN message to the determined PIN function.
  • the AMF receives the second indication information from the PIN function, or in other words, the PIN function sends the second indication information to the AMF.
  • the second indication information is used for information indicating successful update or failed update, or information indicating successful deletion or failed deletion.
  • the AMF may use the sixth message to notify the first terminal device that the update is successful or the update fails, or that the deletion is successful or the deletion fails.
  • the sixth message may be a NAS message, which is sent to the AMF through the communication interface (for example, N1) between the first terminal device and the AMF.
  • the communication interface for example, N1
  • the sixth message may also be other newly added or existing messages between the first terminal device and the AMF except the NAS message.
  • the sixth message is described below as an example of the fifth NAS message.
  • the method flow shown in FIG. 5 also includes:
  • the first terminal device receives the fifth NAS message from the AMF, or the AMF sends the fifth NAS message to the first terminal device.
  • the fifth NAS message is in response to the fifth NAS message of the fourth NAS message, and the fifth NAS message includes information indicating that the update is successful or failed, or the fifth NAS message includes information indicating that the deletion is successful or failed.
  • the PCF needs to update the routing policy of the first terminal device, and the method flow shown in FIG. 5 also includes:
  • the UDR sends a notification message to the PCF, or the PCF receives the notification message from the UDR.
  • the notification message includes the identifier of the first terminal device, the first PIN ID and the information of the first PIN.
  • the PCF determines the second parameter.
  • said second parameters include parameters describing an application, parameters describing said first PIN, and routing parameters used to determine a first session,
  • the first session is used for communication between the first terminal device and the second terminal device in the first PIN
  • the routing parameters include network slice, service continuity mode, data network name, session type, At least one of the access types.
  • the PCF sends the second parameter to the AMF.
  • the AMF sends the second parameter to the first terminal device.
  • the PCF sends the second parameter to the first terminal device through the AMF.
  • the SMF sends the second parameter to the first terminal device through the AMF in the following two ways:
  • the SMF sends the PIN URSP to the first terminal device through the AMF, wherein the PIN URSP is an enhanced URSP.
  • the PIN descriptor is added, and the App descriptor and the PIN descriptor are used to determine the PDU parameters.
  • URSP includes Group descriptor
  • Application descriptors the above-mentioned parameters used to describe the application
  • Group descriptor the above-mentioned parameters used to describe the first PIN
  • the SMF sends the PIN rule (the above-mentioned parameters used to describe the first PIN) to the first terminal device through the AMF, and the PIN rule includes parameters such as DNN and slice of the PDU session used to establish the PIN communication.
  • the PIN rule includes parameters such as DNN and slice of the PDU session used to establish the PIN communication.
  • the PIN rule can be sent to the first terminal device as a separate parameter without enhancing the URSP.
  • sequence numbers of the above processes do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
  • the equipment in the existing network architecture is used as an example for illustration (such as network equipment, terminal equipment, etc.). Examples are not limited. For example, devices that can implement the same function in the future are applicable to this embodiment of the application.
  • the methods and operations implemented by the device may also be implemented by the device's A component (such as a chip or a circuit) implements.
  • each network element includes a corresponding hardware structure and/or software module for performing each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the device for relaying communication provided by the embodiment of the present application will be described in detail with reference to FIG. 6 and FIG. 7 . It should be understood that the descriptions of the device embodiments correspond to the descriptions of the method embodiments. Therefore, for content that is not described in detail, reference may be made to the method embodiments above. For brevity, some content will not be repeated here.
  • the embodiment of the present application can divide the functional modules of the transmitting end device or the receiving end device according to the above method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module middle.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation. In the following, description will be made by taking the division of each functional module corresponding to each function as an example.
  • FIG. 6 is a schematic block diagram of an apparatus 600 provided by an embodiment of the present application.
  • the device 600 includes a transceiver unit 610 and a processing unit 620 .
  • the transceiver unit 610 can implement a corresponding communication function, and the processing unit 620 is used for data processing.
  • the transceiver unit 610 may also be called a communication interface or a communication unit, and when the transceiver unit 610 realizes the function of acquiring information, it may also be called an acquisition unit.
  • the device 600 may further include a storage unit, which may be used to store instructions and/or data, and the processing unit 620 may read the instructions and/or data in the storage unit, so that the device implements the aforementioned method embodiments .
  • a storage unit which may be used to store instructions and/or data
  • the processing unit 620 may read the instructions and/or data in the storage unit, so that the device implements the aforementioned method embodiments .
  • the device 600 can be used to execute the actions performed by the devices in the above method embodiments (such as the above-mentioned core network elements, terminal devices, etc.). At this time, the device 600 can be a device or a component that can be configured in the device.
  • the unit 610 is configured to perform operations related to device sending and receiving in the above method embodiments
  • the processing unit 620 is configured to perform operations related to device processing in the above method embodiments.
  • the apparatus 600 is configured to perform the actions performed by the first terminal device in the above method embodiments.
  • a transceiver unit 610 configured to obtain a first parameter, where the first parameter is used to identify a first communication group, and the device for inter-device communication belongs to the first communication group;
  • the transceiver unit 610 is configured to send a first message to the first network device, where the first message includes the first parameter and a session establishment request message, and the session establishment request message is used to request establishment of a first session, and the first The session is used for the device-to-device communication to communicate with the second terminal device in the first communication group;
  • the transceiving unit 610 is configured to receive a second message from the first network device, where the second message is used to indicate acceptance of the request for establishing the first session.
  • the transceiver unit 610 is further configured to receive a second parameter from the first network device, where the second parameter includes a parameter for describing an application, a parameter for describing the first communication group, and a parameter for determining the Routing parameters of the first session, wherein the routing parameters include at least one of network slice, service continuity mode, data network name, session type, and access type.
  • the The apparatus further includes: a processing unit 620, configured to determine a routing parameter of the first session according to the application run by the apparatus for inter-device communication and the first parameter, wherein the routing parameter of the first session is related to the user
  • the application executed by the device for inter-device communication is associated with the first parameter.
  • the transceiver unit 610 is further configured to send a third message to the first network device, where the third message is used to request to obtain an Internet Protocol IP address, and the IP address is an IP address of the second terminal device in the first communication group. the IP address in;
  • the transceiving unit 610 is further configured to receive the IP address from the first network device, wherein the third message includes the identifier of the second terminal device and the first parameter.
  • the transceiver unit 610 is further configured to send a fourth message to the first network device, where the fourth message includes a communication group establishment request message, and the communication group establishment request message is used to request establishment of the first communication group Group;
  • the transceiving unit 610 is further configured to receive the first parameter from the first network device.
  • the transceiver unit 610 is further configured to send a fifth message to the first network device, where the fifth message is used to request to update or delete the first communication group, where the fifth message includes the first parameter;
  • the transceiver unit 610 is further configured to receive a sixth message from the first network device in response to the fifth message, where the sixth message includes information indicating success or failure of the update, or the sixth message includes information indicating deletion Information on success or failure to delete.
  • the transceiving unit 610 is further configured to communicate with the second terminal device through the first session.
  • the apparatus 600 can implement the steps or processes corresponding to the execution of the first terminal device in the method embodiment according to the embodiment of the present application, and the apparatus 600 can include a unit for executing the method executed by the first terminal device in the method embodiment .
  • each unit in the apparatus 600 and other operations and/or functions described above are respectively for realizing the corresponding process of the method embodiment in the first terminal device in the method embodiment.
  • the transceiver unit 610 can be used to execute the transceiver steps in the method, such as steps S410, S420, S422, S480, S492, S496 and S497; the processing unit 620 can be used to execute A processing step in a method.
  • the transceiver unit 610 can be used to execute the transceiver steps in the method, such as steps S510, S580, S590, S593 and S597; the processing unit 620 can be used to execute the processing steps in the method.
  • the apparatus 600 is configured to perform the actions performed by the first network device in the above method embodiments.
  • the transceiver unit 610 is configured to receive a first message from the first terminal device, where the first message includes a first parameter and a session establishment request message, where the session establishment request message is used to request establishment of a first session, and the first The parameter is used to identify a first communication group, the first terminal device belongs to the first communication group, and the first session is used for the first terminal device to communicate with a second terminal device in the first communication group;
  • the transceiver unit 610 is further configured to send a seventh message to the second network device, where the seventh message includes the first parameter and the session establishment request message;
  • the transceiving unit 610 is further configured to receive a second message from the second network device, where the second message is used to indicate acceptance of the request for establishing the first session; the sending unit is also configured to send the Second message.
  • the processing unit 620 is configured to determine the second network device according to the first parameter.
  • the transceiver unit 610 is further configured to receive a second parameter from the third network device, where the second parameter includes a parameter for describing an application, a parameter for describing the first communication group, and a parameter for determining the first communication group.
  • Routing parameters of a session wherein the routing parameters include at least one of network slice, service continuity mode, data network name, session type, and access type; the sending unit is also used to send the first terminal The device sends the second parameter.
  • the transceiver unit 610 is further configured to receive a third message from the first terminal device, where the third message includes the identifier of the second terminal device and the first parameter, and the third message is used for Requesting to obtain an Internet Protocol IP address, where the IP address is the IP address of the second terminal device in the first communication group;
  • the transceiver unit 610 is further configured to send an eighth message to the fourth network device, where the eighth message includes the identifier of the second terminal device and the first parameter;
  • the transceiving unit 610 is further configured to receive the IP address from the fourth network device; the sending unit is further configured to send the IP address to the first terminal.
  • the transceiver unit 610 is further configured to receive a fourth message from the first terminal device, where the fourth message includes a communication group establishment request message, and the communication group establishment request message is used to request establishment of the first terminal device. communication group;
  • the transceiver unit 610 is further configured to send the communication group establishment request message to the fourth network device;
  • the transceiving unit 610 is further configured to receive the first parameter from the fourth network device; the sending unit is further configured to send the first parameter to the first terminal.
  • the transceiver unit 610 is further configured to receive a fifth message from the first terminal, where the fifth message is used to request to update or delete the first communication group, where the fifth message includes the first parameter;
  • the transceiver unit 610 is further configured to send a ninth message to the fourth network device, the ninth message includes the first parameter, and the ninth message is used to request to update or delete the first communication group;
  • the transceiver unit 610 is further configured to receive information from the fourth network device indicating that the update is successful or failed, or information indicating that the deletion is successful or failed;
  • the transceiver unit 610 is further configured to send a sixth message in response to the fifth message to the first terminal, where the sixth message includes the information indicating that the update is successful or failed, or the sixth message includes the indication Deletion success or deletion failure information.
  • the apparatus 600 can implement the steps or processes corresponding to the execution of the first network device in the method embodiment according to the embodiment of the present application, and the apparatus 600 can include a unit for executing the method executed by the first network device in the method embodiment .
  • each unit in the apparatus 600 and other operations and/or functions described above are respectively intended to implement a corresponding process of the method embodiment in the first network device in the method embodiment.
  • the transceiver unit 610 can be used to execute the transceiver steps in the method, such as steps S420, S421, S422, S440, S470, S480, S492, S493, S495 and S496;
  • the processing unit 620 can be used to execute processing steps in the method, such as step S430.
  • the transceiver unit 610 can be used to execute the transceiver steps in the method, such as steps S510, S511, S580, S590, S591, S593, S592, S596 and S597; the processing unit 620 can be used Execute the processing steps in the method, such as step S570.
  • the apparatus 600 is configured to perform the actions performed by the second network device in the above method embodiments.
  • a transceiver unit 610 configured to receive a seventh message from the first network device, where the seventh message includes the first parameter and a session establishment request message, where the session establishment request message is used to request establishment of the first session;
  • the transceiver unit 610 is further configured to send a second message to the first network device, where the second message is used to accept the request for establishing the first session, where the first parameter is used to identify a first communication group, and the first The terminal device belongs to the first communication group, and the first session is used for the first terminal device to communicate with a second terminal device in the first communication group.
  • the processing unit 620 is configured to determine a communication mode between the first terminal device and the second terminal device, where the communication mode includes any of the following: between the first terminal device and the second terminal device The data between the first terminal device and the second terminal device is transmitted through a fifth network device; or, the data between the first terminal device and the second terminal device is transmitted through two fifth network devices, and the data is communicated between the two fifth network devices interface transmission; or, the data between the first terminal device and the second terminal device is forwarded through the data network.
  • the transceiving unit 610 is further configured to send first indication information to the fifth network device, where the first indication information is used to indicate the communication mode.
  • the processing unit 620 is configured to determine the fifth network device according to the first parameter.
  • the transceiver unit 610 is further configured to send a tenth message to the sixth network device, where the tenth message includes the first parameter, the identifier of the first terminal device, the identifier of the first session, the fifth An identifier of the network device and an Internet Protocol IP address of the first session.
  • the apparatus 600 can implement the steps or processes corresponding to the execution of the second network device in the method embodiment according to the embodiment of the present application, and the apparatus 600 can include a unit for executing the method executed by the second network device in the method embodiment .
  • each unit in the apparatus 600 and other operations and/or functions described above are respectively intended to implement a corresponding process of the method embodiment in the second network device in the method embodiment.
  • the transceiver unit 610 can be used to execute the transceiver steps in the method, such as steps S440, S461, S470, and S490; the processing unit 620 can be used to execute the processing steps in the method, Such as steps S450 and S460.
  • the apparatus 600 is configured to perform the actions performed by the third network device in the above method embodiments.
  • the transceiver unit 610 is configured to receive a notification message from the seventh network device, where the notification message includes the identifier of the first terminal device, a first parameter, and information about the first communication group, where the first parameter is used to identify the first communication group, the first terminal device belongs to the first communication group;
  • the processing unit 620 is configured to determine a second parameter according to the notification message, where the second parameter includes a parameter for describing an application, a parameter for describing the first communication group, and a routing parameter for determining the first session, wherein , the first session is used for communication between the first terminal device and the second terminal device in the first communication group, and the routing parameters include network slice, service continuity mode, data network name, session type, access type at least one of the .
  • the transceiving unit 610 is further configured to send the second parameter to the first network device.
  • the apparatus 600 may implement the steps or processes corresponding to the execution of the third network device in the method embodiment according to the embodiment of the present application, and the apparatus 600 may include a unit for executing the method executed by the third network device in the method embodiment .
  • each unit in the apparatus 600 and other operations and/or functions described above are respectively intended to implement a corresponding process of the method embodiment in the third network device in the method embodiment.
  • the transceiving unit 610 can be used to execute the sending and receiving steps in the method, such as step S421; the processing unit 620 can be used to execute the processing steps in the method.
  • the transceiving unit 610 can be used to perform the transceiving steps in the method, such as step S594; the processing unit 620 can be used to perform the processing steps in the method, such as step S595.
  • the apparatus 600 is configured to perform the actions performed by the fourth network device in the above method embodiments.
  • a transceiver unit 610 configured to receive an eighth message from the first network device, where the eighth message is used to request to acquire the Internet IP address of the second terminal device in the first communication group;
  • the transceiver unit 610 is further configured to send the IP address to the first network device, wherein the first terminal device and the second terminal device belong to the first communication group, and the eighth message includes the IP address of the second terminal device information and a first parameter for identifying the first communication group.
  • the transceiver unit 610 is further configured to receive a communication group establishment request message from the first network device, where the communication group establishment request message is used to request establishment of the first communication group;
  • the processing unit 620 is further configured to create the first communication group, and assign the first parameter to the first communication group; the sending unit is further configured to send the first parameter to the first network device.
  • the transceiver unit 610 is further configured to send an eleventh message to the sixth network device, where the eleventh message is used to request synchronous creation of the first communication group, and the eleventh message includes the first parameter, The first communication group information, the identification of the terminal equipment located in the first communication group, wherein the information of the first communication group includes the information used for the inter-group communication of the first communication group and the management information of the first communication group application information.
  • the apparatus 600 may implement the steps or processes corresponding to the fourth network device in the method embodiment according to the embodiment of the present application, and the apparatus 600 may include a unit for executing the method executed by the fourth network device in the method embodiment .
  • each unit in the apparatus 600 and other operations and/or functions described above are respectively intended to implement a corresponding process of the method embodiment in the fourth network device in the method embodiment.
  • the transceiver unit 610 can be used to execute the transceiver steps in the method, such as steps S491, S493 and S495; the processing unit 620 can be used to execute the processing steps in the method, such as step S494.
  • the transceiver unit 610 can be used to execute the transceiver steps in the method, such as steps S511, S530, S540, S560, S591 and S592; the processing unit 620 can be used to execute the processing in the method Step, such as step S520.
  • the apparatus 600 is configured to perform the actions performed by the sixth network device in the method embodiment above.
  • the transceiver unit 610 is configured to receive an eleventh message from the fourth network device, where the eleventh message is used to request synchronous creation of the first communication group, and the eleventh message includes a first message for identifying the first communication group A parameter, the information of the first communication group, the identification of the terminal equipment located in the first communication group,
  • the information of the first communication group includes information used for inter-group communication of the first communication group and information of applications managed by the first communication group,
  • the transceiver unit 610 is further configured to send a twelfth message to the seventh network device, where the twelfth message is used to query the subscription information of the first terminal device, and the first terminal device is a terminal device requesting to create the first communication group ;
  • the processing unit 620 is configured to determine to establish the first communication group according to the subscription information of the first terminal device.
  • processing unit 620 is further configured to assign an internal identifier to the first communication group, where the internal identifier is associated with the first parameter;
  • the transceiver unit 610 is further configured to send a thirteenth message to the seventh network device, where the thirteenth message includes the identifier of the first terminal device, the internal identifier, and information of the first communication group.
  • the transceiver unit 610 is further configured to receive a tenth message from the second network device, where the tenth message includes the first parameter, the identifier of the first terminal device, the identifier of the first session, the fifth An identifier of the network device and an Internet Protocol IP address of the first session.
  • the apparatus 600 may implement the steps or processes corresponding to the execution of the sixth network device in the method embodiment according to the embodiment of the present application, and the apparatus 600 may include a unit for executing the method executed by the sixth network device in the method embodiment .
  • each unit in the apparatus 600 and other operations and/or functions described above are respectively intended to implement a corresponding process of the method embodiment in the sixth network device in the method embodiment.
  • the transceiver unit 610 can be used to execute the transceiver steps in the method, such as steps S490 and S491; the processing unit 620 can be used to execute the processing steps in the method.
  • the transceiver unit 610 can be used to execute the transceiver steps in the method, such as steps S530, S540 and S5550; the processing unit 620 can be used to execute the processing steps in the method.
  • the processing unit 60 in the above embodiments may be implemented by at least one processor or processor-related circuits.
  • the transceiver unit 610 may be implemented by a transceiver or transceiver-related circuits.
  • the storage unit can be realized by at least one memory.
  • the embodiment of the present application further provides an apparatus 700 .
  • the apparatus 700 includes a processor 710 and may further include one or more memories 720 .
  • the processor 710 is coupled with the memory 720, and the memory 720 is used to store computer programs or instructions and/or data, and the processor 710 is used to execute the computer programs or instructions and/or data stored in the memory 720, so that the methods in the above method embodiments be executed.
  • the apparatus 700 includes one or more processors 710 .
  • the memory 720 may be integrated with the processor 710, or set separately.
  • the apparatus 700 may further include a transceiver 730, and the transceiver 730 is used for receiving and/or sending signals.
  • the processor 710 is configured to control the transceiver 730 to receive and/or send signals.
  • the apparatus 700 is used to implement the operations performed by devices (such as the above-mentioned network elements of the core network, terminal devices, etc.) in the above method embodiments.
  • the embodiment of the present application also provides a computer-readable storage medium, on which computer instructions for implementing the methods performed by the devices (such as the above-mentioned core network elements, terminal devices, etc.) in the above method embodiments are stored.
  • the computer program when executed by a computer, the computer can implement the method performed by the network device in the foregoing method embodiments.
  • Embodiments of the present application also provide a computer program product containing instructions, which when executed by a computer enable the computer to implement the methods performed by devices (such as the above-mentioned core network elements, terminal devices, etc.) in the above method embodiments.
  • devices such as the above-mentioned core network elements, terminal devices, etc.
  • the embodiment of the present application further provides a communication system, which includes the devices in the above embodiments (such as the above-mentioned network elements of the core network, terminal devices, etc.).
  • processors mentioned in the embodiment of the present application may be a central processing unit (central processing unit, CPU), and may also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits ( application specific integrated circuit (ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory mentioned in the embodiments of the present application may be a volatile memory and/or a nonvolatile memory.
  • the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM).
  • RAM random access memory
  • RAM can be used as an external cache.
  • RAM may include the following forms: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM) , double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and Direct memory bus random access memory (direct rambus RAM, DR RAM).
  • static random access memory static random access memory
  • dynamic RAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM synchronous DRAM
  • double data rate SDRAM double data rate SDRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous connection dynamic random access memory
  • Direct memory bus random access memory direct rambus RAM, DR RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module may be integrated in the processor.
  • memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to implement the solutions provided in this application.
  • each functional unit in each embodiment of the present application may be integrated into one unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer may be a personal computer, a server, or a network device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD) etc.
  • the aforementioned available medium may include But not limited to: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了一种用于设备间通信的方法和装置,该用于设备间通信的方法包括:第一终端设备获取用于标识第一通信组的第一参数,并向第一网络设备发送用于请求建立第一会话的第一消息,该第一会话用于第一终端设备与第一通信组中第二终端设备通信,该第一消息中包括该第一参数和会话建立请求消息;该第一终端设备接收来自该第一网络设备的第二消息,该第二消息用于接受建立该第一会话的请求。通信组中的终端设备通过建立用于组间通信的会话进行通信,提高了通信组中的设备管理的统一性。

Description

用于设备间通信的方法和装置
本申请要求于2021年08月25日提交中国专利局、申请号为202110984188.8、申请名称为“一种设备间的通信方法”的中国专利申请的优先权,以及于2021年11月05日提交中国专利局、申请号为202111305009.X、申请名称为“用于设备间通信的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,更具体地,涉及一种用于设备间通信的方法和装置。
背景技术
随着通信技术的发展,用户同时拥有的电子设备的数量越来越多,以及越来越多的可以联网的智能家用设备,因此个人设备间的通信(如,通过手机远程控制家用设备)成为了新的通信需求。
目前设备间的通信方法手机与智能设备之间的交互依赖于智能设备厂商服务器,如果用户的智能设备属于不同的厂商,则需要分别安装各厂商提供的应用(application,APP),用户体验效果较差,因此如何优化设备间的通信,提高用户体验成为亟待解决的问题。
发明内容
本申请提供一种用于设备间通信的方法,以期优化设备间的通信,提高用户体验。
第一方面,提供了一种用于设备间通信的方法,该用于设备间通信的方法可以由第一终端设备执行,或者,也可以由设置于第一终端设备中的芯片或电路执行,本申请对此不作限定。为了便于描述,下面以第一终端设备执行为例进行说明。
该用于设备间通信的方法包括:
第一终端设备获取第一参数,该第一参数用于标识第一通信组,该第一终端设备属于该第一通信组;该第一终端设备向第一网络设备发送第一消息,其中,该第一消息中包括该第一参数和会话建立请求消息,该会话建立请求消息用于请求建立第一会话,该第一会话用于该第一终端设备与该第一通信组中的第二终端设备通信;该第一终端设备接收来自该第一网络设备的第二消息,该第二消息用于指示接受建立该第一会话的请求。
本申请实施例提供的用于设备间通信的方法,第一终端设备请求建立与所属的第一通信组中的第二终端设备的第一会话,以使得第一通信组中的第一终端设备和第二终端设备可以通过第一会话通信,终端设备以通信组的形式进行统一管理,可以不依赖厂商服务器从而可以优化设备间的通信,提高用户体验。
结合第一方面,在第一方面的某些实现方式中,该会话建立请求消息中包括该第一参数。
上述第一消息中包括第一参数可以在会话建立请求消息中携带第一参数,从而第一网 络设备无需解析该将会话建立请求消息,简化了第一网络设备的行为。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一终端设备接收来自该第一网络设备的第二参数,该第二参数包括用于描述应用的参数、用于描述该第一通信组的参数和用于确定该第一会话的路由选择参数,其中,该路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项。
本申请实施例提供的用于设备间通信的方法,第一终端设备还可以从第一网络设备处获取第二参数,且该第二参数中包括用于确定第一会话的路由选择参数,以使得第一终端设备能够根据第二参数建立第一会话,提高第一终端设备建立第一会话的准确性。
结合第一方面,在第一方面的某些实现方式中,在该描述应用的参数对应的应用与该第一终端设备运行的应用匹配,且该用于描述该第一通信组的参数与该第一参数匹配的情况下,该方法还包括:该第一终端设备根据该第一终端设备运行的应用和该第一参数确定该第一会话的路由选择参数,其中,该第一会话的路由选择参数与该第一终端设备运行的应用和该第一参数关联。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一终端设备向该第一网络设备发送第三消息,该第三消息用于请求获取互联网协议IP地址,该IP地址为该第二终端设备在该第一通信组中的IP地址;该第一终端设备接收来自该第一网络设备的该IP地址,其中,该第三消息中包括该第二终端设备的标识和该第一参数。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一终端设备向该第一网络设备发送第四消息,其中,该第四消息中包括建立通信组请求消息,该建立通信组请求消息用于请求建立该第一通信组;该第一终端设备获取第一参数,包括:该第一终端设备接收来自该第一网络设备的该第一参数。
本申请实施例提供的用于设备间通信的方法,第一终端设备通过第四消息请求建立第一通信组,实现通信组为单位的设备管理,从而实现统一管理。
结合第一方面,在第一方面的某些实现方式中,该第四消息中还包括该第一终端设备的标识和第三参数,该第三参数用于指示第一终端设备在该第一通信组中的功能。
第一终端设备在请求建立通信组的过程中可以上报自身在通信组中的所具备的功能,以便于建立通信组的功能实体能够获知第一终端设备在通信组中的功能。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一终端设备向该第一网络设备发送第五消息,该第五消息用于请求更新或删除该第一通信组,其中,该第五消息包括该第一参数;该第一终端设备接收来自该第一网络设备响应于该第五消息的第六消息,该第六消息中包括指示更新成功或更新失败的信息,或者,该第六消息中包括指示删除成功或删除失败的信息。
本申请实施例提供的用于设备间通信的方法,第一终端设备可以通过第五消息更新或删除已建立的第一通信组,从而能够使得建立的通信组更符合需求。
结合第一方面,在第一方面的某些实现方式中,在该第五消息用于请求更新该第一通信组的情况下,该第五消息中还包括增加或删除终端设备的操作指示信息和该增加或删除的终端设备的标识。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一终端设备通过该第一会话与该第二终端设备通信。
第二方面,提供了一种用于设备间通信的方法,该用于设备间通信的方法可以由第一网络设备执行,或者,也可以由设置于第一网络设备中的芯片或电路执行,本申请对此不作限定。为了便于描述,下面以第一网络设备执行为例进行说明。
该用于设备间通信的方法包括:
第一网络设备接收来自第一终端设备的第一消息,其中,该第一消息中包括第一参数和会话建立请求消息,该会话建立请求消息用于请求建立第一会话,该第一参数用于标识第一通信组,该第一终端设备属于该第一通信组,该第一会话用于该第一终端设备与该第一通信组中的第二终端设备通信;该第一网络设备向第二网络设备发送第七消息,该第七消息中包括该第一参数和该会话建立请求消息;该第一网络设备接收来自该第二网络设备的第二消息,该第二消息用于指示接受建立该第一会话的请求;该第一网络设备向该第一终端设备发送该第二消息。
本申请实施例提供的用于设备间通信的方法,第一终端设备请求建立与所属的第一通信组中的第二终端设备的第一会话,以使得第一通信组中的第一终端设备和第二终端设备可以通过第一会话通信,终端设备以通信组的形式进行统一管理,可以不依赖厂商服务器从而可以优化设备间的通信,提高用户体验。
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该第一网络设备根据该第一参数确定该第二网络设备。
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该第一网络设备接收来自第三网络设备的第二参数,该第二参数包括用于描述应用的参数、用于描述该第一通信组的参数和用于确定该第一会话的路由选择参数,其中,该路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项;该第一网络设备向该第一终端设备发送该第二参数。
本申请实施例提供的用于设备间通信的方法,第一终端设备还可以从第一网络设备处获取第二参数,且该第二参数中包括用于确定第一会话的路由选择参数,以使得第一终端设备能够根据第二参数建立第一会话,提高第一终端设备建立第一会话的准确性。
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该第一网络设备接收来自该第一终端设备的第三消息,其中,该第三消息中包括该第二终端设备的标识和该第一参数,该第三消息用于请求获取互联网协议IP地址,该IP地址为第二终端设备在该第一通信组中的IP地址;该第一网络设备向第四网络设备发送第八消息,该第八消息中包括该第二终端设备的标识和该第一参数;该第一网络设备接收来自该第四网络设备的该IP地址;该第一网络设备向该第一终端发送该IP地址。
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该第一网络设备接收来自该第一终端设备的第四消息,其中,该第四消息中包括建立通信组请求消息,该建立通信组请求消息用于请求建立该第一通信组;该第一网络设备向第四网络设备发送该建立通信组请求消息;该第一网络设备接收来自该第四网络设备的第一参数;该第一网络设备向该第一终端发送该第一参数。
本申请实施例提供的用于设备间通信的方法,第一终端设备通过第四消息请求建立第一通信组,实现通信组为单位的设备管理,从而实现统一管理。
结合第二方面,在第二方面的某些实现方式中,该第四消息和/或该建立通信组请求消 息中还包括该第一终端设备的标识和第三参数,该第三参数用于指示第一终端设备在该第一通信组中的功能。
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该第一网络设备接收来自该第一终端的第五消息,该第五消息用于请求更新或删除该第一通信组,其中,该第五消息包括该第一参数;该第一网络设备向第四网络设备发送第九消息,该第九消息中包括该第一参数,该第九消息用于请求更新或删除该第一通信组;该第一网络设备接收来自该第四网络设备的指示更新成功或更新失败的信息,或者,指示删除成功或删除失败的信息;该第一网络设备向该第一终端发送响应于该第五消息的第六消息,该第六消息中包括该指示更新成功或更新失败的信息,或者,该第六消息中包括该指示删除成功或删除失败的信息。
本申请实施例提供的用于设备间通信的方法,第一终端设备可以通过第五消息更新或删除已建立的第一通信组,从而能够使得建立的通信组更符合需求。
结合第二方面,在第二方面的某些实现方式中,在该第五消息用于请求更新该第一通信组的情况下,该第五消息中还包括增加或删除终端设备的操作指示信息和该增加或删除的终端设备的标识。
第三方面,提供了一种用于设备间通信的方法,该用于设备间通信的方法可以由第二网络设备执行,或者,也可以由设置于第二网络设备中的芯片或电路执行,本申请对此不作限定。为了便于描述,下面以第二网络设备执行为例进行说明。
该用于设备间通信的方法包括:
第二网络设备接收来自第一网络设备的第七消息,该第七消息中包括第一参数和会话建立请求消息,该会话建立请求消息用于请求建立第一会话;该第二网络设备向该第一网络设备发送第二消息,该第二消息用于接受建立该第一会话的请求,其中,该第一参数用于标识第一通信组,该第一终端设备属于该第一通信组,该第一会话用于该第一终端设备与该第一通信组中的第二终端设备通信。
本申请实施例提供的用于设备间通信的方法,第二网络设备建立第一终端设备与所属的第一通信组中的第二终端设备的第一会话,以使得第一通信组中的第一终端设备和第二终端设备可以通过第一会话通信,终端设备以通信组的形式进行统一管理,可以不依赖厂商服务器从而可以优化设备间的通信,提高用户体验。
结合第三方面,在第三方面的某些实现方式中,该方法还包括:该第二网络设备确定该第一终端设备与该第二终端设备之间的通信方式,其中,该通信方式包括以下任意一种:该第一终端设备与第二终端设备之间的数据通过一个第五网络设备传输;或者,该第一终端设备与第二终端设备之间的数据通过两个第五网络设备传输,该数据在该两个第五网络设备之间通过通信接口传输;或者,该第一终端设备与第二终端设备之间的数据通过数据网络转发。
本申请实施例提供的用于设备间通信的方法,通信组中不同终端设备之间的通信方式有多种,提高方案的灵活性。
结合第三方面,在第三方面的某些实现方式中,该方法还包括:该第二网络设备向该第五网络设备发送第一指示信息,该第一指示信息用于指示该通信方式。
结合第三方面,在第三方面的某些实现方式中,该方法还包括:该第二网络设备根据 该第一参数确定该第五网络设备。
结合第三方面,在第三方面的某些实现方式中,该方法还包括:该第二网络设备向第六网络设备发送第十消息,该第十消息中包括该第一参数、该第一终端设备的标识、该第一会话的标识、该第五网络设备的标识和该第一会话的互联网协议IP地址。
第四方面,提供了一种用于设备间通信的方法,该用于设备间通信的方法可以由第三网络设备执行,或者,也可以由设置于第三网络设备中的芯片或电路执行,本申请对此不作限定。为了便于描述,下面以第三网络设备执行为例进行说明。
该用于设备间通信的方法包括:
第三网络设备接收来自第七网络设备的通知消息,该通知消息中包括第一终端设备的标识、第一参数和第一通信组的信息,该第一参数用于标识该第一通信组,该第一终端设备属于该第一通信组;该第三网络设备根据该通知消息确定第二参数,该第二参数包括用于描述应用的参数、用于描述该第一通信组的参数和用于确定第一会话的路由选择参数,其中,该第一会话用于该第一终端设备和该第一通信组中的第二终端设备通信,该路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项。
结合第四方面,在第四方面的某些实现方式中,该方法还包括:该第三网络设备向第一网络设备发送该第二参数。
第五方面,提供了一种用于设备间通信的方法,该用于设备间通信的方法可以由第四网络设备执行,或者,也可以由设置于第四网络设备中的芯片或电路执行,本申请对此不作限定。为了便于描述,下面以第四网络设备执行为例进行说明。
该用于设备间通信的方法包括:
第四网络设备接收来自第一网络设备的第八消息,该第八消息用于请求获取第二终端设备在第一通信组中的互联网IP地址;该第四网络设备向该第一网络设备发送该IP地址,其中,该第一终端设备和该第二终端设备属于该第一通信组,该第八消息中包括该第二终端设备的信息和用于标识该第一通信组的第一参数。
结合第五方面,在第五方面的某些实现方式中,在该第四网络设备接收来自第一网络设备的第八消息之前,该方法还包括:该第四网络设备接收来自该第一网络设备的建立通信组请求消息,该建立通信组请求消息用于请求建立该第一通信组;该第四网络设备创建该第一通信组,为该第一通信组分配该第一参数;该第四网络设备向该第一网络设备发送该第一参数。
结合第五方面,在第五方面的某些实现方式中,该建立通信组请求消息中还包括该第一终端设备的标识和第三参数,该第三参数用于指示该第一终端设备在该第一通信组中的功能。
结合第五方面,在第五方面的某些实现方式中,该方法还包括:该第四网络设备向第六网络设备发送第十一消息,该第十一消息用于请求同步创建该第一通信组,该第十一消息中包括该第一参数、该第一通信组信息、位于该第一通信组内的终端设备的标识,其中,该第一通信组的信息包括用于该第一通信组组间通信的信息和该第一通信组管理的应用的信息。
第六方面,提供了一种用于设备间通信的方法,该用于设备间通信的方法可以由第六 网络设备执行,或者,也可以由设置于第六网络设备中的芯片或电路执行,本申请对此不作限定。为了便于描述,下面以第六网络设备执行为例进行说明。
该用于设备间通信的方法包括:
第六网络设备接收来自第四网络设备的第十一消息,该第十一消息用于请求同步创建第一通信组,该第十一消息中包括用于标识该第一通信组的第一参数、该第一通信组的信息、位于该第一通信组内的终端设备的标识,
其中,该第一通信组的信息包括用于该第一通信组组间通信的信息和该第一通信组管理的应用的信息,
该第六网络设备向第七网络设备发送第十二消息,该第十二消息用于查询第一终端设备的签约信息,该第一终端设备为请求创建该第一通信组的终端设备;
该第六网络设备根据该第一终端设备的签约信息确定建立该第一通信组。
结合第六方面,在第六方面的某些实现方式中,该方法还包括:该第六网络设备为该第一通信组分配内部标识,该内部标识与该第一参数相关联;该第六网络设备向该第七网络设备发送第十三消息,该第十三消息中包括第一终端设备的标识、该内部标识、该第一通信组的信息。
结合第六方面,在第六方面的某些实现方式中,该方法还包括:
该第六网络设备接收来自第二网络设备的第十消息,该第十消息中包括该第一参数、该第一终端设备的标识、该第一会话的标识、第五网络设备的标识和该第一会话的互联网协议IP地址。
第七方面,提供了一种用于设备间通信的装置,包括用于执行上述第一方面所示的方法的单元,该用于设备间通信的装置可以是第一终端设备,或者,也可以是设置于第一终端设备中的芯片或电路执行,本申请对此不作限定。
该用于设备间通信的装置包括:
获取单元,用于获取第一参数,该第一参数用于标识第一通信组,该用于设备间通信的装置备属于该第一通信组;
发送单元,用于向第一网络设备发送第一消息,其中,该第一消息中包括该第一参数和会话建立请求消息,该会话建立请求消息用于请求建立第一会话,该第一会话用于该用于设备间通信的装置与该第一通信组中的第二终端设备通信;
接收单元,用于接收来自该第一网络设备的第二消息,该第二消息用于指示接受建立该第一会话的请求。
结合第七方面,在第七方面的某些实现方式中,该会话建立请求消息中包括该第一参数。
结合第七方面,在第七方面的某些实现方式中,该接收单元,还用于接收来自该第一网络设备的第二参数,该第二参数包括用于描述应用的参数、用于描述该第一通信组的参数和用于确定该第一会话的路由选择参数,其中,该路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项。
结合第七方面,在第七方面的某些实现方式中,在该描述应用的参数对应的应用与该用于设备间通信的装置运行的应用匹配,且该用于描述该第一通信组的参数与该第一参数匹配的情况下,该装置还包括:处理单元,用于根据该用于设备间通信的装置运行的应用 和该第一参数确定该第一会话的路由选择参数,其中,该第一会话的路由选择参数与该用于设备间通信的装置运行的应用和该第一参数关联。
结合第七方面,在第七方面的某些实现方式中,该发送单元,还用于向该第一网络设备发送第三消息,该第三消息用于请求获取互联网协议IP地址,该IP地址为该第二终端设备在该第一通信组中的IP地址;该接收单元,还用于接收来自该第一网络设备的该IP地址,其中,该第三消息中包括该第二终端设备的标识和该第一参数。
结合第七方面,在第七方面的某些实现方式中,该发送单元,还用于向该第一网络设备发送第四消息,其中,该第四消息中包括建立通信组请求消息,该建立通信组请求消息用于请求建立该第一通信组;该接收单元,还用于接收来自该第一网络设备的该第一参数。
结合第七方面,在第七方面的某些实现方式中,该第四消息中还包括该用于设备间通信的装置的标识和第三参数,该第三参数用于指示用于设备间通信的装置在该第一通信组中的功能。
结合第七方面,在第七方面的某些实现方式中,该发送单元,还用于向该第一网络设备发送第五消息,该第五消息用于请求更新或删除该第一通信组,其中,该第五消息包括该第一参数;该接收单元,还用于接收来自该第一网络设备响应于该第五消息的第六消息,该第六消息中包括指示更新成功或更新失败的信息,或者,该第六消息中包括指示删除成功或删除失败的信息。
结合第七方面,在第七方面的某些实现方式中,在该第五消息用于请求更新该第一通信组的情况下,该第五消息中还包括增加或删除终端设备的操作指示信息和该增加或删除的终端设备的标识。
结合第七方面,在第七方面的某些实现方式中,该装置还包括:通信单元,用于通过该第一会话与该第二终端设备通信。
第八方面,提供了一种用于设备间通信的装置,包括用于执行上述第二方面所示的方法的单元,该用于设备间通信的装置可以是第一网络设备,或者,也可以是设置于第一网络设备中的芯片或电路执行,本申请对此不作限定。
该用于设备间通信的装置包括:
接收单元,用于接收来自第一终端设备的第一消息,其中,该第一消息中包括第一参数和会话建立请求消息,该会话建立请求消息用于请求建立第一会话,该第一参数用于标识第一通信组,该第一终端设备属于该第一通信组,该第一会话用于该第一终端设备与该第一通信组中的第二终端设备通信;发送单元,用于向第二网络设备发送第七消息,该第七消息中包括该第一参数和该会话建立请求消息;该接收单元,还用于接收来自该第二网络设备的第二消息,该第二消息用于指示接受建立该第一会话的请求;该发送单元,还用于向该第一终端设备发送该第二消息。
结合第八方面,在第八方面的某些实现方式中,该装置还包括:处理单元,用于根据该第一参数确定该第二网络设备。
结合第八方面,在第八方面的某些实现方式中,该接收单元,还用于接收来自第三网络设备的第二参数,该第二参数包括用于描述应用的参数、用于描述该第一通信组的参数和用于确定该第一会话的路由选择参数,其中,该路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项;该发送单元,还用于向该第 一终端设备发送该第二参数。
结合第八方面,在第八方面的某些实现方式中,该接收单元,还用于接收来自该第一终端设备的第三消息,其中,该第三消息中包括该第二终端设备的标识和该第一参数,该第三消息用于请求获取互联网协议IP地址,该IP地址为第二终端设备在该第一通信组中的IP地址;该发送单元,还用于向第四网络设备发送第八消息,该第八消息中包括该第二终端设备的标识和该第一参数;该接收单元,还用于接收来自该第四网络设备的该IP地址;该发送单元,还用于向该第一终端发送该IP地址。
结合第八方面,在第八方面的某些实现方式中,该接收单元,还用于接收来自该第一终端设备的第四消息,其中,该第四消息中包括建立通信组请求消息,该建立通信组请求消息用于请求建立该第一通信组;该发送单元,还用于向第四网络设备发送该建立通信组请求消息;该接收单元,还用于接收来自该第四网络设备的第一参数;该发送单元,还用于向该第一终端发送该第一参数。
结合第八方面,在第八方面的某些实现方式中,该第四消息和/或该建立通信组请求消息中还包括该第一终端设备的标识和第三参数,该第三参数用于指示第一终端设备在该第一通信组中的功能。
结合第八方面,在第八方面的某些实现方式中,该接收单元,还用于接收来自该第一终端的第五消息,该第五消息用于请求更新或删除该第一通信组,其中,该第五消息包括该第一参数;该发送单元,还用于向第四网络设备发送第九消息,该第九消息中包括该第一参数,该第九消息用于请求更新或删除该第一通信组;该接收单元,还用于接收来自该第四网络设备的指示更新成功或更新失败的信息,或者,指示删除成功或删除失败的信息;该发送单元,还用于向该第一终端发送响应于该第五消息的第六消息,该第六消息中包括该指示更新成功或更新失败的信息,或者,该第六消息中包括该指示删除成功或删除失败的信息。
结合第八方面,在第八方面的某些实现方式中,在该第五消息用于请求更新该第一通信组的情况下,该第五消息中还包括增加或删除终端设备的操作指示信息和该增加或删除的终端设备的标识。
第九方面,提供了一种用于设备间通信的装置,包括用于执行上述第三方面所示的方法的单元,该用于设备间通信的装置可以是第二网络设备,或者,也可以是设置于第二网络设备中的芯片或电路执行,本申请对此不作限定。
该用于设备间通信的装置包括:
接收单元,用于接收来自第一网络设备的第七消息,该第七消息中包括第一参数和会话建立请求消息,该会话建立请求消息用于请求建立第一会话;发送单元,用于向该第一网络设备发送第二消息,该第二消息用于接受建立该第一会话的请求,其中,该第一参数用于标识第一通信组,该第一终端设备属于该第一通信组,该第一会话用于该第一终端设备与该第一通信组中的第二终端设备通信。
结合第九方面,在第九方面的某些实现方式中,该装置还包括:处理单元,用于确定该第一终端设备与该第二终端设备之间的通信方式,其中,该通信方式包括以下任意一种:该第一终端设备与第二终端设备之间的数据通过一个第五网络设备传输;或者,该第一终端设备与第二终端设备之间的数据通过两个第五网络设备传输,该数据在该两个第五网络 设备之间通过通信接口传输;或者,该第一终端设备与第二终端设备之间的数据通过数据网络转发。
结合第九方面,在第九方面的某些实现方式中,该发送单元,还用于向该第五网络设备发送第一指示信息,该第一指示信息用于指示该通信方式。
结合第九方面,在第九方面的某些实现方式中,该装置还包括:处理单元,还用于根据该第一参数确定该第五网络设备。
结合第九方面,在第九方面的某些实现方式中,该发送单元,还用于向第六网络设备发送第十消息,该第十消息中包括该第一参数、该第一终端设备的标识、该第一会话的标识、该第五网络设备的标识和该第一会话的互联网协议IP地址。
第十方面,提供了一种用于设备间通信的装置,包括用于执行上述第四方面所示的方法的单元,该用于设备间通信的装置可以是第三网络设备,或者,也可以是设置于第三网络设备中的芯片或电路执行,本申请对此不作限定。
该用于设备间通信的方法包括:
接收单元,用于接收来自第七网络设备的通知消息,该通知消息中包括第一终端设备的标识、第一参数和第一通信组的信息,该第一参数用于标识该第一通信组,该第一终端设备属于该第一通信组;处理单元,用于根据该通知消息确定第二参数,该第二参数包括用于描述应用的参数、用于描述该第一通信组的参数和用于确定第一会话的路由选择参数,其中,该第一会话用于该第一终端设备和该第一通信组中的第二终端设备通信,该路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项。
结合第十方面,在第十方面的某些实现方式中,该装置还包括:发送单元,用于向第一网络设备发送该第二参数。
第十一方面,提供了一种用于设备间通信的装置,包括用于执行上述第五方面所示的方法的单元,该用于设备间通信的装置可以是第四网络设备,或者,也可以是设置于第四网络设备中的芯片或电路执行,本申请对此不作限定。
该用于设备间通信的装置包括:
接收单元,用于接收来自第一网络设备的第八消息,该第八消息用于请求获取第二终端设备在第一通信组中的互联网IP地址;发送单元,用于向该第一网络设备发送该IP地址,其中,该第一终端设备和该第二终端设备属于该第一通信组,该第八消息中包括该第二终端设备的信息和用于标识该第一通信组的第一参数。
结合第十一方面,在第十一方面的某些实现方式中,在该接收单元接收来自第一网络设备的第八消息之前,该接收单元,还用于接收来自该第一网络设备的建立通信组请求消息,该建立通信组请求消息用于请求建立该第一通信组;处理单元,用于创建该第一通信组,为该第一通信组分配该第一参数;该发送单元,还用于向该第一网络设备发送该第一参数。
结合第十一方面,在第十一方面的某些实现方式中,该建立通信组请求消息中还包括该第一终端设备的标识和第三参数,该第三参数用于指示该第一终端设备在该第一通信组中的功能。
结合第十一方面,在第十一方面的某些实现方式中,该发送单元,还用于向第六网络 设备发送第十一消息,该第十一消息用于请求同步创建该第一通信组,该第十一消息中包括该第一参数、该第一通信组信息、位于该第一通信组内的终端设备的标识,其中,该第一通信组的信息包括用于该第一通信组组间通信的信息和该第一通信组管理的应用的信息。
第十二方面,提供了一种用于设备间通信的装置,包括用于执行上述第六方面所示的方法的单元,该用于设备间通信的装置可以是第六网络设备,或者,也可以是设置于第六网络设备中的芯片或电路执行,本申请对此不作限定。
该用于设备间通信的装置包括:
接收单元,用于接收来自第四网络设备的第十一消息,该第十一消息用于请求同步创建第一通信组,该第十一消息中包括用于标识该第一通信组的第一参数、该第一通信组的信息、位于该第一通信组内的终端设备的标识,
其中,该第一通信组的信息包括用于该第一通信组组间通信的信息和该第一通信组管理的应用的信息,
发送单元,用于向第七网络设备发送第十二消息,该第十二消息用于查询第一终端设备的签约信息,该第一终端设备为请求创建该第一通信组的终端设备;
处理单元,用于根据该第一终端设备的签约信息确定建立该第一通信组。
结合第十二方面,在第十二方面的某些实现方式中,该处理单元,还用于为该第一通信组分配内部标识,该内部标识与该第一参数相关联;
所述发送单元,还用于向该第七网络设备发送第十三消息,该第十三消息中包括第一终端设备的标识、该内部标识、该第一通信组的信息。
结合第十二方面,在第十二方面的某些实现方式中,该接收单元,还用于接收来自第二网络设备的第十消息,该第十消息中包括该第一参数、该第一终端设备的标识、该第一会话的标识、第五网络设备的标识和该第一会话的互联网协议IP地址。
第十三方面,提供一种用于设备间通信的装置,该用于设备间通信的装置包括处理器,用于实现上述第一方面描述的方法中第一终端设备的功能。
可选地,该用于设备间通信的装置还可以包括存储器,该存储器与该处理器耦合,该处理器用于实现上述第一方面描述的方法中第一终端设备的功能。
在一种可能的实现中,该存储器用于存储程序指令和数据。该存储器与该处理器耦合,该处理器可以调用并执行该存储器中存储的程序指令,用于实现上述第一方面描述的方法中第一终端设备的功能。
可选地,该用于设备间通信的装置还可以包括通信接口,该通信接口用于该用于设备间通信的装置与其它设备进行通信。当该用于设备间通信的装置为第一终端设备时,该通信接口可以为收发器、输入/输出接口、或电路等。
在一种可能的设计中,该用于设备间通信的装置包括:处理器和通信接口,
该处理器用于运行计算机程序,以使得该通信的装置实现上述第一方面描述的任一种方法;
该处理器利用该通信接口与外部通信。
可以理解,该外部可以是处理器以外的对象,或者是该装置以外的对象。
在另一种可能的设计中,该用于设备间通信的装置为芯片或芯片***。该通信接口可 以是该芯片或芯片***上输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。该处理器也可以体现为处理电路或逻辑电路。
第十四方面,提供一种用于设备间通信的装置,该用于设备间通信的装置包括处理器,用于实现上述第二方面描述的方法中第一网络设备的功能。
可选地,该用于设备间通信的装置还可以包括存储器,该存储器与该处理器耦合,该处理器用于实现上述第二方面描述的方法中第一网络设备的功能。
在一种可能的实现中,该存储器用于存储程序指令和数据。该存储器与该处理器耦合,该处理器可以调用并执行该存储器中存储的程序指令,用于实现上述第二方面描述的方法中第一网络设备的功能。
可选地,该用于设备间通信的装置还可以包括通信接口,该通信接口用于该用于设备间通信的装置与其它设备进行通信。当该用于设备间通信的装置为第一网络设备时,该通信接口可以为收发器、输入/输出接口、或电路等。
在一种可能的设计中,该用于设备间通信的装置包括:处理器和通信接口,
该处理器用于运行计算机程序,以使得该通信的装置实现上述第二方面描述的任一种方法;
该处理器利用该通信接口与外部通信。
可以理解,该外部可以是处理器以外的对象,或者是该装置以外的对象。
在另一种可能的设计中,该用于设备间通信的装置为芯片或芯片***。该通信接口可以是该芯片或芯片***上输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。该处理器也可以体现为处理电路或逻辑电路。
第十五方面,提供一种用于设备间通信的装置,该用于设备间通信的装置包括处理器,用于实现上述第三方面描述的方法中第二网络设备的功能。
可选地,该用于设备间通信的装置还可以包括存储器,该存储器与该处理器耦合,该处理器用于实现上述第三方面描述的方法中第二网络设备的功能。
在一种可能的实现中,该存储器用于存储程序指令和数据。该存储器与该处理器耦合,该处理器可以调用并执行该存储器中存储的程序指令,用于实现上述第三方面描述的方法中第二网络设备的功能。
可选地,该用于设备间通信的装置还可以包括通信接口,该通信接口用于该用于设备间通信的装置与其它设备进行通信。当该用于设备间通信的装置为第二网络设备时,该通信接口可以为收发器、输入/输出接口、或电路等。
在一种可能的设计中,该用于设备间通信的装置包括:处理器和通信接口,
该处理器用于运行计算机程序,以使得该通信的装置实现上述第三方面描述的任一种方法;
该处理器利用该通信接口与外部通信。
可以理解,该外部可以是处理器以外的对象,或者是该装置以外的对象。
在另一种可能的设计中,该用于设备间通信的装置为芯片或芯片***。该通信接口可以是该芯片或芯片***上输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。该处理器也可以体现为处理电路或逻辑电路。
第十六方面,提供一种用于设备间通信的装置,该用于设备间通信的装置包括处理器, 用于实现上述第四方面描述的方法中第三网络设备的功能。
可选地,该用于设备间通信的装置还可以包括存储器,该存储器与该处理器耦合,该处理器用于实现上述第四方面描述的方法中第三网络设备的功能。
在一种可能的实现中,该存储器用于存储程序指令和数据。该存储器与该处理器耦合,该处理器可以调用并执行该存储器中存储的程序指令,用于实现上述第四方面描述的方法中第三网络设备的功能。
可选地,该用于设备间通信的装置还可以包括通信接口,该通信接口用于该用于设备间通信的装置与其它设备进行通信。当该用于设备间通信的装置为第三网络设备时,该通信接口可以为收发器、输入/输出接口、或电路等。
在一种可能的设计中,该用于设备间通信的装置包括:处理器和通信接口,
该处理器用于运行计算机程序,以使得该通信的装置实现上述第四方面描述的任一种方法;
该处理器利用该通信接口与外部通信。
可以理解,该外部可以是处理器以外的对象,或者是该装置以外的对象。
在另一种可能的设计中,该用于设备间通信的装置为芯片或芯片***。该通信接口可以是该芯片或芯片***上输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。该处理器也可以体现为处理电路或逻辑电路。
第十七方面,提供一种用于设备间通信的装置,该用于设备间通信的装置包括处理器,用于实现上述第五方面描述的方法中第四网络设备的功能。
可选地,该用于设备间通信的装置还可以包括存储器,该存储器与该处理器耦合,该处理器用于实现上述第五方面描述的方法中第四网络设备的功能。
在一种可能的实现中,该存储器用于存储程序指令和数据。该存储器与该处理器耦合,该处理器可以调用并执行该存储器中存储的程序指令,用于实现上述第五方面描述的方法中第四网络设备的功能。
可选地,该用于设备间通信的装置还可以包括通信接口,该通信接口用于该用于设备间通信的装置与其它设备进行通信。当该用于设备间通信的装置为第四网络设备时,该通信接口可以为收发器、输入/输出接口、或电路等。
在一种可能的设计中,该用于设备间通信的装置包括:处理器和通信接口,
该处理器用于运行计算机程序,以使得该通信的装置实现上述第五方面描述的任一种方法;
该处理器利用该通信接口与外部通信。
可以理解,该外部可以是处理器以外的对象,或者是该装置以外的对象。
在另一种可能的设计中,该用于设备间通信的装置为芯片或芯片***。该通信接口可以是该芯片或芯片***上输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。该处理器也可以体现为处理电路或逻辑电路。
第十八方面,提供一种用于设备间通信的装置,该用于设备间通信的装置包括处理器,用于实现上述第六方面描述的方法中第六网络设备的功能。
可选地,该用于设备间通信的装置还可以包括存储器,该存储器与该处理器耦合,该处理器用于实现上述第六方面描述的方法中第六网络设备的功能。
在一种可能的实现中,该存储器用于存储程序指令和数据。该存储器与该处理器耦合,该处理器可以调用并执行该存储器中存储的程序指令,用于实现上述第六方面描述的方法中第六网络设备的功能。
可选地,该用于设备间通信的装置还可以包括通信接口,该通信接口用于该用于设备间通信的装置与其它设备进行通信。当该用于设备间通信的装置为第六网络设备时,该通信接口可以为收发器、输入/输出接口、或电路等。
在一种可能的设计中,该用于设备间通信的装置包括:处理器和通信接口,
该处理器用于运行计算机程序,以使得该通信的装置实现上述第六方面描述的任一种方法;
该处理器利用该通信接口与外部通信。
可以理解,该外部可以是处理器以外的对象,或者是该装置以外的对象。
在另一种可能的设计中,该用于设备间通信的装置为芯片或芯片***。该通信接口可以是该芯片或芯片***上输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。该处理器也可以体现为处理电路或逻辑电路。
第十九方面,本申请提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
第二十方面,本申请提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
第二十一方面,提供了一种通信***,包括第七方面所示的用于设备间通信的装置至第十二方面所示的用于设备间通信的装置。
第二十二方面,提供了一种芯片装置,包括处理电路,该处理电路用于从存储器中调用并运行程序,使得安装有该芯片装置的通信设备执行上述第一至第六方面中任一种可能实现方式中的方法。
附图说明
图1示出了本申请实施例适用的5G***的架构示意图。
图2是一种设备间通信的方法的示意图。
图3是一种UE控制智能设备的示意性流程图。
图4是本申请提供的一种用于设备间通信的方法的示意性流程图。
图5是本申请提供的另一种用于设备间通信的方法的示意性流程图。
图6是根据本申请实施例提供的通信装置的示意性框图。
图7是根据本申请实施例提供的通信装置的另一示意性框图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
本申请实施例的技术方案可以应用于各种通信***,例如:第五代(5th generation,5G)***或新无线(new radio,NR)、长期演进(long term evolution,LTE)***、LTE频分双工(frequency division duplex,FDD)***、LTE时分双工(time division duplex,TDD)等。本申请提供的技术方案还可以应用于未来的通信***,如第六代移动通信***。 本申请实施例的技术方案还可以应用于设备到设备(device to device,D2D)通信,车辆外联(vehicle-to-everything,V2X)通信,机器到机器(machine to machine,M2M)通信,机器类型通信(machine type communication,MTC),以及物联网(internet of things,IoT)通信***或者其他通信***。
为便于理解本申请实施例,首先结合图1简单介绍本申请实施例适用的5G***。
应理解,本文中描述的5G***仅是示例,不应对本申请构成任何限定,本申请提供的通信方法还可以适用于其他的***,本申请对于应用场景不进行赘述。
还应理解,5G***中某些网元之间可以采用服务化接口,或点对点的接口进行通信,下面结合图1介绍基于点对点接口的5G***框架,基于服务化接口的5G***框架可以参考目前相关技术中的介绍,本申请不进行说明。
作为示例性说明,图1示出了本申请实施例适用的5G***的架构示意图。图1为基于点对点接口的5G网络架构示意图。如图1所示,该网络架构可以包括但不限于以下网元(或者称为功能网元、功能实体、节点、设备等):
用户设备(user equipment,UE)、(无线)接入网设备(radio access network,(R)AN)、接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、用户面功能(user plane function,UPF)网元、策略控制功能(policy control function,PCF)网元、统一数据管理(unified data management,UDM)网元、数据网络(data network,DN)、统一数据管理(unified data management,UDM)、统一数据存储(unified data repository,UDR)以及个人物联网络功能实体(personal IoT network function,PIN function)等。
下面对1中示出的各网元进行简单介绍:
1、UE:与(R)AN通信的设备,也可以称为终端设备(terminal equipment)、接入终端、用户单元、用户站、移动站、移动台(mobile station,MS)、移动终端(mobile terminal,MT)、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备可以是一种向用户提供语音/数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例可以为:手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑(如笔记本电脑、掌上电脑等)、移动互联网设备(mobile internet device,MID)、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等。
此外,终端设备还可以是物联网(Internet of things,IoT)***中的终端设备。IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。IoT技术可以通过例如窄带(narrow band, NB)技术,做到海量连接,深度覆盖,终端省电。
应理解,终端设备可以是任何可以接入网络的设备。终端设备与接入网设备之间可以采用某种空口技术相互通信。
可选地,用户设备可以用于充当基站。例如,用户设备可以充当调度实体,其在V2X或D2D等中的用户设备之间提供侧行链路信号。比如,蜂窝电话和汽车利用侧行链路信号彼此通信。蜂窝电话和智能家居设备之间通信,而无需通过基站中继通信信号。
2、(R)AN:用于为特定区域的授权用户设备提供入网功能,并能够根据用户设备的级别,业务的需求等使用不同服务质量的传输隧道。
(R)AN能够管理无线资源,为用户设备提供接入服务,进而完成控制信号和用户设备数据在用户设备和核心网之间的转发,(R)AN也可以理解为传统网络中的基站。
示例性地,本申请实施例中的接入网设备可以是用于与用户设备通信的任意一种具有无线收发功能的通信设备。该接入网设备包括但不限于:演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(home evolved Node B,HeNB,或home Node B,HNB)、基带单元(baseBand unit,BBU),无线保真(wireless fidelity,WIFI)***中的接入点(access point,AP)、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为5G,如,NR,***中的gNB,或,传输点(TRP或TP),5G***中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元(BBU),或,分布式单元(distributed unit,DU)等。
在一些部署中,gNB可以包括集中式单元(centralized unit,CU)和DU。gNB还可以包括有源天线单元(active antenna unit,AAU)。CU实现gNB的部分功能,DU实现gNB的部分功能。比如,CU负责处理非实时协议和服务,实现无线资源控制(radio resource control,RRC),分组数据汇聚层协议(packet data convergence protocol,PDCP)层的功能。DU负责处理物理层协议和实时服务,实现无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理(physical,PHY)层的功能。AAU实现部分物理层处理功能、射频处理及有源天线的相关功能。由于RRC层的信息最终会变成PHY层的信息,或者,由PHY层的信息转变而来,因而,在这种架构下,高层信令,如RRC层信令,也可以认为是由DU发送的,或者,由DU+AAU发送的。可以理解的是,接入网设备可以为包括CU节点、DU节点、AAU节点中一项或多项的设备。此外,可以将CU划分为接入网(radio access network,RAN)中的接入网设备,也可以将CU划分为核心网(core network,CN)中的接入网设备,本申请对此不做限定。
3、UPF网元:主要包括以下功能:数据包路由和传输、包检测、业务用量上报、服务质量(quality of service,QoS)处理、合法监听、上行包检测、下行数据包存储等用户面相关的功能。
在5G通信***中,用户面网元可以是UPF网元。在未来通信***中,用户面网元仍可以是UPF网元,或者,还可以有其它的名称,本申请不做限定。
4、DN:用于提供传输数据的网络。
在5G通信***中,数据网络可以是DN。在未来通信***中,数据网络仍可以是DN,或者,还可以有其它的名称,本申请不做限定。
5、AMF网元:主要包括以下功能:连接管理、移动性管理、注册管理、接入认证和授权、可达性管理、安全上下文管理等接入和移动性相关的功能。
在5G通信***中,接入管理网元可以是AMF网元。在未来通信***中,接入管理网元仍可以是AMF网元,或者,还可以有其它的名称,本申请不做限定。
6、SM F网元:主要用于会话管理、终端设备的网络互连协议(internet protocol,IP)地址分配和管理、选择可管理用户平面功能、策略控制和收费功能接口的终结点以及下行数据通知在5G通信***中,会话管理网元可以是SMF网元。
在未来通信***中,会话管理网元仍可以是SMF网元,或者,还可以有其它的名称,本申请不做限定。
7、PCF网元:用于指导网络行为的统一策略框架,为控制面功能网元(例如AMF,SMF网元等)提供策略规则信息等。
在5G通信***中,该策略控制网元可以是PCF网元。在未来通信***中,策略控制网元仍可以是PCF网元,或者,还可以有其它的名称,本申请不做限定。
8、UDM:可以理解为统一数据管理网元在5G架构中的命名。其中,统一数据管理网元主要包括以下功能:统一数据管理,支持3GPP认证和密钥协商机制中的认证信任状处理,用户身份处理,接入授权,注册和移动性管理,签约管理,短消息管理等。
9、UDR:主要用于签约数据、策略数据、应用数据等类型数据的存取功能。
可以理解的是,上述网元或者功能网元既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。
10、PIN function:用于执行PIN的创建与管理,包括:PIN的创建、更新、删除;管理PIN的标识、PIN设备的标识、PIN设备在PIN中的角色、用于PIN设备间通信的IP地址;管理PIN设备建立协议数据单元(protocol data unit,PDU)会话的切片、数据网络名称(data network name,DNN)等参数。
应理解,本申请实施例中涉及的PIN function为一个逻辑功能实体,在实际部署时可以与其他网元合设,例如与AMF合设,或者与PCF合设。合设后,PIN function与合设的网元支之间的交互为内部交互。
从图1可以看出,图1中的各个控制面网元之间的接口是点对点的接口。
在图1所示的架构中,各个网元之间的接口名称及功能如下:
1)N1:AMF与终端之间的接口,可以用于向终端传递QoS控制规则等。
2)N2:AMF与RAN之间的接口,可以用于传递核心网侧至RAN的无线承载控制信息等。
3)N3:RAN与UPF之间的接口,主要用于传递RAN与UPF间的上下行用户面数据。
4)N4:SMF与UPF之间的接口,可以用于控制面与用户面之间传递信息,包括控制面向用户面的转发规则、QoS控制规则、流量统计规则等的下发以及用户面的信息上报。
5)N5:AF与PCF之间的接口,可以用于应用业务请求下发以及网络事件上报。
6)N6:UPF与DN的接口,用于传递UPF与DN之间的上下行用户数据流。
7)N7:PCF与SMF之间的接口,可以用于下发PDU会话粒度以及业务数据流粒度控制策略。
8)N8:AMF与UDM间的接口,可以用于AMF向UDM获取接入与移动性管理相关签约数据与鉴权数据,以及AMF向UDM注册终端当前移动性管理相关信息等。
9)N9:UPF和UPF之间的用户面接口,用于传递UPF间的上下行用户数据流。
10)N10:SMF与UDM间的接口,可以用于SMF向UDM获取会话管理相关签约数据,以及SMF向UDM注册终端当前会话相关信息等。
11)N11:SMF与AMF之间的接口,可以用于传递RAN和UPF之间的PDU会话隧道信息、传递发送给终端的控制消息、传递发送给RAN的无线资源控制信息等。
12)PIN function与UDM或AMF之间的接口可以称为Nx。
需要说明的是,作为一种可能的实现方式,PIN function可以与其他网元合设,为了便于描述,该与PIN function合设的网元称为被合设的网元。在合设的情况下,PIN function和被合设的网元之间的交互通过内部交互实现,与其他的网元之间的交互可以通过被合设的网元进行;作为另一种可能的实现方式,PIN function可以单独设立,在单独设立的情况下,PIN function和其他的网元之间的交互可以通过接口进行,接口名称本申请不做限定。
另外,需要说明的是,图1中的各个控制面网元之间的接口还可以是服务化接口,本申请不再赘述。
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。
为方便说明,本申请后续,以接入管理功能网元为AMF网元,会话管理网元为SMF网元为例进行说明。进一步地,将AMF网元简称为AMF,SMF网元简称为SMF。即本申请后续所描述的AMF均可替换为接入管理功能网元,SMF均可替换为会话管理网元。
为方便说明,本申请后续,以装置为AMF实体、SMF实体为例,对通信的方法进行说明,对于装置为AMF实体内的芯片、SMF实体内的芯片的实现方法,可参考装置分别为AMF实体、SMF实体的具体说明,不再重复介绍。
需要说明的是,图1中所涉及的各个网元以及网元之间的通信接口的名称是以目前协议中规定的为例进行简单说明的,但并不限定本申请实施例只能够应用于目前已知的通信***。因此,以目前协议为例描述时出现的标准名称,都是功能性描述,本申请对于网元、接口或信令等的具体名称并不限定,仅表示网元、接口或者信令的功能,可以对应的扩展到其它***,比如4G或未来通信***中。
另外,还需要说明的是,在某些网络架构中,AMF网元、SMF网元、PCF网元以及UDM网元等网络功能网元实体都称为网络功能网元(network function,NF)网元;或者,在另一些网络架构中,AMF网元,SMF网元,PCF网元,UDM网元等网元的集合都可以称为控制面功能网元。
图1为本申请实施例适用的通信***,为了便于理解本申请实施例的技术方案,在以5G架构为基础介绍本申请实施例的方案之前,首先对本申请实施例可能涉及到的5G中的一些术语或概念进行简单描述。
1、个人物联网络(personal IoT network,PIN)。
个人物联网络是以个人(或者说个体)用户为中心,通过用户的终端设备(如,手机),按照约定协议,连接智能设备与其它信息资源,满足用户高品质、便捷化生活需求的智能服务***。
物联网按需求侧与供给侧分为消费物联网与产业物联网,其中个人物联网络与家用物联网络是消费物联网的子分类,二者的关系取决于物联网终端用户的角色与场景性质。提及个人物联网时更强调以个人为中心的移动场景,提及家用物联网时更强调以家庭用户为中心的弱移动性的家庭空间场景。个人物联网是物联网中关键的移动连接点,将家用物联网与产业物联网串联,是万物互联的关键基础。
2、个人设备间通信。
近些年来,随着通信技术的发展,用户同时拥有的电子设备的数量越来越多,例如,用户有手机、pad、电脑、手表等具有通信能力的电子设备以及越来越多的可以联网的智能家用设备(如,智能门锁、智能摄像头、智慧显示屏、智能打印机),因此个人设备间的通信(如,通过手机远程控制家用设备,从而获取设备提供的服务,如图2所示)成为了新的通信需求。
为了便于理解,结合图2简单介绍个人设备间通信,图2是一种设备间通信的方法的示意图,具体流程包括:UE通过5G核心网以及智能设备网关控制智能设备,其中,UE可以理解为用户手持设备(如,手机),智能设备可以理解为家用设备(如,智能门锁、智能摄像头等)。
3、PIN元(PIN element)。
本申请中智能设备也可以称为PIN element,即智能设备可以理解为个人物联网络中的元素。
由上述可知,随着通信技术的发展,个人设备间通信的优化成为亟待解决的问题。目前,个人设备间通信(如,UE控制智能设备)主要包括:
智能设备提供商通常会发布一款手机应用(application,APP),用于管理智能设备,另外会有一个服务器,UE控制智能设备的流程,通常是由UE将控制指令发送到设备厂商服务器,再由设备厂商服务器将控制指令发送到目标智能设备,从而实现手机对智能设备的控制。如图3所示,图3是一种UE控制智能设备的示意性流程图。包括以下步骤:
S310,智能设备注册到智能设备厂商服务器。
S320,UE中安装该智能设备厂商发布的APP,该APP用于管理该智能设备。
在UE需要向智能设备发送控制指令的情况下,图3所示的流程还包括:
S330,UE中安装的APP将控制指令发送给智能设备厂商服务器。
S340,智能设备厂商服务器将控制指令发送给智能设备。
S350,智能设备向智能设备厂商服务器发送响应于上述的控制指令的响应。
S360,智能设备厂商服务器向UE发送响应于上述的控制指令的响应。
基于上述流程完成对智能设备的控制。
从图3所示的流程中可以看出,UE与智能设备之间的交互依赖于智能设备厂商服务器,如果用户的不同智能设备属于不同的智能设备厂商服务器,则需要分别安装各智能设备厂商服务器提供的APP,因此图3所示的方法对于不同智能设备厂商服务器的智能设备无法做到统一管理。
另外,智能设备厂商服务器对请求控制智能设备的UE无需鉴权认证,存在对智能设备操控或者获取服务的安全性问题。
为了避免发生上述UE控制智能设备的方法存在的缺点,本申请提供一种通信方法,能够优化个人设备间通信流程。
下文示出的实施例并未对本申请实施例提供的方法的执行主体的具体结构特别限定,只要能够通过运行记录有本申请实施例的提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可,例如,本申请实施例提供的方法的执行主体可以是终端设备或核心网设备,或者,是终端设备或核心网设备中能够调用程序并执行程序的功能模块。
为了便于理解本申请实施例,做出以下几点说明。
第一,在本申请中,“用于指示”可以理解为“使能”,“使能”可以包括直接使能和间接使能。当描述某一信息用于使能A时,可以包括该信息直接使能A或间接使能A,而并不代表该信息中一定携带有A。
将信息所使能的信息称为待使能信息,则具体实现过程中,对待使能信息进行使能的方式有很多种,例如但不限于,可以直接使能待使能信息,如待使能信息本身或者该待使能信息的索引等。也可以通过使能其他信息来间接使能待使能信息,其中该其他信息与待使能信息之间存在关联关系。还可以仅仅使能待使能信息的一部分,而待使能信息的其他部分则是已知的或者提前约定的。例如,还可以借助预先约定(例如协议规定)的各个信息的排列顺序来实现对特定信息的使能,从而在一定程度上降低使能开销。同时,还可以识别各个信息的通用部分并统一使能,以降低单独使能同样的信息而带来的使能开销。
第二,在本申请中示出的第一、第二以及各种数字编号(例如,“#1”、“#2”等)仅为描述方便,用于区分的对象,并不用来限制本申请实施例的范围。例如,区分不同消息等。而不是用于描述特定的顺序或先后次序。应该理解这样描述的对象在适当情况下可以互换,以便能够描述本申请的实施例以外的方案。
第三,在本申请中,“预设”可包括预先定义,例如,协议定义。其中,“预先定义”可以通过在设备(例如,包括用户设备或核心网设备)中预先保存相应的代码、表格或其他可用于指示相关信息的方式来实现,本申请对于其具体的实现方式不做限定。
第四,本申请实施例中涉及的“保存”,可以是指的保存在一个或者多个存储器中。所述一个或者多个存储器,可以是单独的设置,也可以是集成在编码器或者译码器,处理器、或通信装置中。所述一个或者多个存储器,也可以是一部分单独设置,一部分集成在译码器、处理器、或通信装置中。存储器的类型可以是任意形式的存储介质,本申请并不对此限定。
第五,本申请实施例中涉及的“协议”可以是指通信领域的标准协议,例如可以包括5G协议、新空口(new radio,NR)协议以及应用于未来的通信***中的相关协议,本申请对此不做限定。
以下,不失一般性,以网元之间的交互为例详细说明本申请实施例提供的通信的方法。
为了便于理解,下文中以第一网络设备为AMF、第二网络设备为SMF、第三网络设备为PCF、第四网络设备为PIN function、第五网络设备为UPF、第六网络设备为UDM、第七网络设备为UDR为例进行说明。
需要说明的是,本申请中对于网络设备的名称不做任何的限定。
例如,第一网络设备可以是接入和移动性管理功能网元。接入和移动性管理功能网元可以是AMF,或者能够实现接入和移动性管理功能的其他网元。
还例如,第二网络设备可以是会话管理功能网元。会话管理功能网元可以是SMF,或者能够实现会话管理功能的其他网元。
又例如,第三网络设备可以是策略控制功能网元。策略控制功能网元可以是PCF,或者能够实现策略控制功能的其他网元。
又例如,第三网络设备可以是个人物联网络功能实体。个人物联网络功能实体可以是PIN function,或者能够用于执行PIN的创建与管理功能的其他网元。
又例如,第五网络设备可以是用户面功能网元。用户面功能网元可以是UPF,或者能够实现用户面功能的其他网元。
又例如,第六网络设备可以是统一数据管理网元。统一数据管理可以是UDM,或者能够实现数据管理功能的其他网元。
又例如,第七网络设备可以是统一数据存储网元。统一数据存储可以是UDR,或者能够实现数据存储功能的其他网元
图4是本申请提供的一种通信的方法的示意性流程图。包括以下步骤:
S410,第一终端设备获取第一参数。
该第一参数用于标识第一通信组,该第一终端设备属于该第一通信组。
示例性地,本申请实施例中的第一终端设备可以是PIN element,为个人物联网络中的一种智能设备,例如,第一终端设备可以是家用智能电器或用户手持智能设备等,本申请实施例中对于第一终端设备的具体形式不做限定,能够实现联网的智能设备均在本申请的保护范围之内。
示例性地,第一通信组可以是包括第一终端设备的个人物联网络,例如,第一通信组为第一PIN。
为了便于描述,下文中可以将通信组称为PIN。
示例性地,第一参数可以是用于标识第一PIN的参数,例如,PIN标识(PIN ID)、PIN指示信息等,本申请实施例中对于第一参数的具体形式不做限定,能够用于标识第一PIN的信息均在本申请的保护范围之内。为了便于描述,下文中以第一参数为第一PIN ID为例进行描述。
具体地,第一终端设备属于第一PIN可以理解为该第一PIN中包括多个终端设备,该多个终端设备称为一个PIN,且该多个终端设备中包括第一终端设备。
需要说明的是,上述的第一终端设备属于第一PIN只是说明第一PIN包括该第一终端设备,但是并不限定该第一终端设备只能属于该第一PIN,该第一终端设备还可以属于其他的PIN,本申请对此不做限定。
例如,第一PIN包括第一终端设备、第二终端设备和第三终端设备;第二PIN包括第一终端设备、第四终端设备和第五终端设备。也就是说第一终端设备可以同时属于第一PIN和第二PIN。
作为一种可能的实现方式,第一终端设备获取第一PIN ID可以是第一终端设备发起了第一PIN建立流程或者加入第一PIN流程,从SMF处获取到该第一PIN ID,下文将结合图5详细说明第一终端设备如何在第一PIN建立流程中获取第一PIN ID,这里不进行 赘述。
作为另一种可能的实现方式,第一终端设备获取第一PIN ID可以是从第一PIN中的其他终端设备获取的。
作为另一种可能的实现方式,第一终端设备获取第一PIN ID可以是从其他的管理设备获取到自身所属的第一PIN的标识。
作为又一种可能的实现方式,第一终端设备获取第一PIN ID可以是通过预定义的方式确定该第一终端设备所属的PIN的标识。
本申请实施例中对于第一终端设备获取到第一PIN ID的方式不做限定。
进一步地,第一终端设备获取第一PIN ID之后,可以向AMF发送第一消息。
可选地,第一消息可以是非接入层(non-access stratum,NAS)消息,通过第一终端设备和AMF之间的通信接口(如,N1)发送给AMF。
可选地,第一消息还可以是第一终端设备和AMF之间除NAS消息之外的其他新增或者已有的消息。
需要说明的是,如果第一消息复用第一终端设备和AMF之间已有的消息,能够节省信令的开销。
为了便于描述,下文中以第一消息为第一NAS消息为例进行描述,图4所示的方法流程还包括:
S420,第一终端设备向AMF发送第一NAS消息,或者说AMF接收来自第一终端设备的第一NAS消息。
该第一NAS消息中包括上述的第一PIN ID和会话建立请求消息(如,PDU session establishment request),该第一消息的实际功能为用于请求建立第一会话,该会话建立请求消息的功能也是用于请求建立第一会话。
可选地,第一NAS消息中还可以包括第一会话的标识(如,PDU session ID)。
上述的第一会话用于第一终端设备与第一PIN中的第二终端设备通信,该第二终端设备为属于第一PIN中的除第一终端设备之外的任意终端设备,第二终端设备可以是一个或者多个终端设备,例如,第一终端设备可以通过第一会话与第一PIN中的其他至少一个终端设备进行通信。
本申请中以“会话”为PDU会话为例,对方法进行说明,在实际应用中,PDU会话也可以被替换为其他的会话,本申请对此不做限定。
作为一种可能的实现方式,第一NAS消息中包括第一PIN ID和会话建立请求消息,该会话建立请求消息中也包括该第一PIN ID,该第一NAS消息中包括第一会话的标识(如,PDU session ID),该会话建立请求消息中也包括该第一会话的标识。
AMF接收到第一NAS消息之后对会话建立请求消息无需进行解析,转发给SMF即可。
例如,第一终端设备发起用于建立PDU session的NAS消息,NAS消息中携带PDU session ID,该PDU session ID用于标识该第一会话。NAS消息中还包括N1容器(container),如N1container为会话建立请求消息(PDU session establishment request),PDU session establishment request中包括PIN ID和PDU session ID,AMF对该N1container不做解析,发送给SMF。
第一终端设备可以根据获取的第二参数,确定第一会话的路由选择参数,图4所示的方法流程还包括:
S421,AMF接收来自PCF的第二参数,或者说PCF向AMF发送第二参数。
需要说明的是,该第二参数为PCF确定的,该PCF将第二参数发送给AMF,AMF再将第二参数发送给第一终端设备。
所述第二参数包括用于描述应用的参数、用于描述所述第一PIN的参数和用于确定所述第一会话的路由选择参数,其中,所述路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项。
S422,第一终端设备接收来自AMF的第二参数,或者说AMF向第一终端设备发送第二参数。
在所述描述应用的参数与所述第一终端运行的应用程序匹配,且所述用于描述所述第一PIN的参数与所述第一PIN ID匹配的情况下,第一终端根据所述第一终端运行的应用程序和所述第一PIN ID确定所述第一会话的路由选择参数,其中,所述第一会话的路由选择参数与所述第一终端运行的应用程序和所述第一PIN ID关联。
作为一种可能的实现方式,描述应用的参数与第一终端运行的应用程序匹配可以理解为描述应用的参数与第一终端运行的应用程序的参数相同或者部分相同。
作为一种可能的实现方式,用于描述所述第一PIN的参数与所述第一PIN ID匹配可以理解为用于描述所述第一PIN的参数与所述第一PIN ID相同或者部分相同。
作为一种可能的实现方式,第一会话的路由选择参数与第一终端运行的应用程序和第一PIN ID关联可以理解为配置映射关系:第一终端运行的应用程序的标识和第一PIN的标识与第一会话的路由选择参数对应,例如,APP ID+PIN ID->路由选择参数。
可选地,上述的服务连续性模式包括:mode#1,mode#2和mode#3三种模式,其中,mode#1是保证会话的IP地址不变,UPF不变;mode#2和mode#3可以通过重定向UPF的方式改变会话的IP地址。
示例性地,第二参数可以是第一终端设备发起了第一PIN建立流程或者加入第一PIN流程中确定的,下文将结合图5详细说明PCF如何在第一PIN建立流程中确定第二参数,这里不进行赘述。
AMF接收到第一NAS消息之后,可以基于第一NAS消息中包括的第一PIN ID确定用于第一PIN的组间通信的SMF,图4所示的方法流程还包括:
S430,AMF确定SMF。
作为一种可能的实现方式,AMF根据第一PIN的会话上下文确定第一终端设备属于第一PIN,选择该第一PIN已经建立的会话关联的网络设备作为SMF。
例如,AMF确定第一终端设备属于该第一PIN时,选择该第一PIN中已经建立的PDU session关联的SMF。
作为另一种可能的实现方式,AMF可以随机选择一个网络设备作为SMF。
作为又一种可能的实现方式,AMF可以选择支持PIN组间通信的一个网络设备作为SMF。
需要说明的是,本申请实施例中对于AMF确定SMF的方式不做限制。
示例性地,AMF可以在本地保存有上述的第一PIN的会话上下文;或者AMF可以从 其他的网络设备(如,另外的AMF或者UDM等)中获取上述的第一PIN的会话上下文。
示例性地,上述的第一PIN的会话上下文如下表1所示:
表1
Figure PCTCN2022112001-appb-000001
从表1中可以看出,PIN中包括UE#1和UE#2,其中,该PIN的标识为PIN ID,UE#1在PIN中的通信地址为IP地址#1,UE#1已建立的PDU session#1的标识为UE1 PDU session ID,该PDU session#1由SMF#1建立,SMF#1的标识为SMF ID#1,该UE#1的数据通过UPF#1发送,UPF#1的标识为UPF ID#1;UE#2在PIN中的通信地址为IP地址#2,UE#2已建立的PDU session#2的标识为UE2 PDU session ID,该PDU session#2由SMF#2建立,SMF#2的标识为SMF ID#2,该UE#2的数据通过UPF#2发送,UPF#2的标识为UPF ID#2。示例性地,SMF#1和SMF#2可以为同一个SMF,UPF#1和UPF#2可以为同一个UPF。
AMF确定SMF之后向SMF发送第七消息,请求建立第一会话。
可选地,第七消息可以是会话更新请求消息。
可选地,第七消息可以是建立会话的请求消息。
可选地,第七消息还可以是其他的包括了上述第一NAS消息中包括的第一PIN ID和会话建立请求消息的消息。
为了便于描述,下文中以第七消息为会话更新请求消息为例进行描述,图4所示的方法流程还包括:
S440,AMF向SMF发送会话更新请求消息,或者说SMF接收来自AMF的会话更新请求消息。
该会话更新请求消息中包括第一PIN ID和会话建立请求消息。
示例性地,会话更新请求消息为会话更新请求消息。
步骤S440中的会话更新请求消息中包括的第一PIN ID和会话建立请求消息如上文S420中涉及的第一NAS消息中包括的第一PIN ID和会话建立请求消息相同,这里不再赘述。
SMF接收到会话更新请求消息之后,可以基于会话更新请求消息中包括的第一PIN ID确定用于第一PIN的组间通信的UPF,图4所示的方法流程还包括:
S450,SMF确定UPF。
示例性地,SMF根据第一PIN的会话上下文确定用于第一PIN中终端设备之间通信的UPF。
作为一种可能的实现方式,SMF可以在本地保存有上述的第一PIN的会话上下文;
作为另一种可能的实现方式,SMF可以从其他的网络设备(如,另外的SMF或者UDM等)中获取上述的第一PIN的会话上下文。
示例性地,上述的第一PIN的会话上下文如上表1所示,这里不再赘述。
进一步地,SMF可以根据用于第一PIN的组间通信的UPF,确定第一PIN的组间通信方式,图4所示的方法流程还包括:
S460,SMF确定通信方式。
当UPF(如,UPF#1)与第一PIN内已经建立的PDU session的UPF#2相同时,执行UPF本地转发,通信方式为UPF本地转发:
例如,在UPF#1收到第一PIN内的一个设备(如,第一终端设备)要发往第一PIN内的另一个设备(如,第二终端设备)的数据的情况下,UPF#1直接将该数据发给另一个设备;或者
当UPF(如,UPF#1)与第一PIN内已经建立的PDU session的UPF#2不同时,创建UPF#1和UPF#2之间的数据传输接口(如,N9接口),执行UPF之间的转发,通信方式为UPF之间转发:
例如,第一终端设备和第二终端设备归属于同一个运营商,但第一终端设备由UPF#1进行数据传输,第二终端设备由UPF#2进行数据传输。在UPF#1收到第一PIN内的一个设备(如,第一终端设备)要发往第一PIN内的另一个设备(如,第二终端设备)的数据的情况下,UPF#1将数据发送给UPF#2(如,通过N9接口传输数据),UPF#2再将该数据发给另一个设备。
当UPF(如,UPF#1)与第一PIN内已经建立的PDU session的UPF#2不同,且UPF#1和UPF#2之间无法创建数据传输接口时,通过DN转发,通信方式为DN转发:
例如,第一终端设备和第二终端设备归属于不同的运营商,第一终端设备由UPF#1进行数据传输,第二终端设备由UPF#2进行数据传输。在UPF#1收到第一PIN内的一个设备(如,第一终端设备)要发往第一PIN内的另一个设备(如,第二终端设备)的数据的情况下,UPF#1将数据发送给DN(如,通过N6接口传输数据),DN将数据发送给UPF#2(如,通过N6接口传输数据),UPF#2再将该数据发给另一个设备。
上述的不同通信方式可以称为路由规则,示例性地,路由规则如下表2所示:
Figure PCTCN2022112001-appb-000002
具体地,SMF确定上述的通信方式之后,可以将该通信方式通知给UPF,以使得UPF能够知道数据传输方式,有利于后续的数据传输,图4所示的方法流程还可以包括:
S461,SMF向UPF发送第一指示信息,或者说UPF接收来自SMF的第一指示信息。
示例性地,SMF可以通过N4会话建立或修改消息向UPF发送该第一指示信息。
具体地,该第一指示信息用于指示上述的通信方式。
例如,第一指示信息为上述的表格2的指示信息。
本申请实施例中对于第一指示信息的具体形式不做限定,能够指示上述的通信方式的指示信息均在本申请的不保护范围之内。
在SMF确定第一PIN中的组间通信方式之后,SMF向AMF发送第二消息,示例性地,第二消息为会话建立接受(PDU session establishment accept)消息。
为了便于描述,下文中以第二消息为会话建立接受消息为例进行描述,图4所示的方法流程还包括:
S470,SMF向AMF发送会话建立接受消息,或者说AMF接收来自SMF的会话建立接受消息。
该会话建立接受消息用于指示接受建立第一会话的请求。
该会话建立接受消息中包括第一会话的标识(PDU session ID)。
进一步地,AMF需要将该会话建立接受消息发送给第一终端设备,以使得第一终端设备获知第一会话允许建立,图4所示的方法流程还包括:
S480,第一终端设备接收来自AMF的会话建立接受消息,或者说AMF向第一终端设备发送第一NAS消息。
第一会话建立之后,SMF可以要将该第一会话的相关信息注册至UDM,SMF向UDM发送第十消息,该第十消息用于将该第一会话的相关信息注册至UDM。
为了便于描述,下文中以第十消息为注册(register)消息为例进行描述,图4所示的方法流程还包括:
S490,SMF向UDM发送注册消息,或者说UDM接收来自SMF的注册消息。
该第十消息中包括第一PIN ID、第一终端设备的标识、第一会话的标识、UPF的标识和第一会话的IP地址,其中,第一会话的IP地址为SMF和/或UPF为第一会话分配的IP地址。
UDM获取到上述的第一会话的相关信息之后,向PIN function发送第一终端设备在第一PIN中的第一IP地址,图4所示的方法流程还包括:
S491,UDM向PIN function发送第一IP地址,或者说PIN function接收来自UDM的第一IP地址。
示例性地,PIN function为PIN function。
可选地,PIN function中保存的第一PIN相关的上下文信息如下表3所示:
表3
Figure PCTCN2022112001-appb-000003
具体地,表3中第一PIN中包括的终端设备的IP地址(如,表3中所示的IP address of each GPSI)信息可以通过上述的步骤S491获得,例如,第一PIN中的每个终端设备在请求建立组间通信的会话的流程中可以执行上述的步骤S491,PIN function可以获取第一PIN中包括的所有终端设备的用于组间通信的IP地址。
表3中除第一PIN中包括的终端设备的IP地址之外的参数,可以在第一PIN创建流程中确定,例如,PIN组数据(PIN group data)可以称为第一PIN信息,可以由PCF在创建第一PIN是确定;还例如,PIN组成员(PIN group membership)可以称为第一PIN内的终端设备的信息,可以由PIN function从需要创建或加入第一PIN的终端设备获得。下面将结合图5详细说明,这里不再赘述。
在第一会话建立之后,第一终端设备可以通过第一会话与第一PIN中的设备进行组间通信。
具体地,第一终端设备向AMF发送第三消息。
可选地,第三消息可以是NAS消息,通过第一终端设备和AMF之间的通信接口(如, N1)发送给AMF。
可选地,第三消息还可以是第一终端设备和AMF之间除NAS消息之外的其他新增或者已有的消息。
需要说明的是,如果第三消息复用第一终端设备和AMF之间已有的消息,能够节省信令的开销。
为了便于描述,下文中以第三消息为第二NAS消息为例进行描述,图4所示的方法流程还包括:
S492,第一终端设备向AMF发送第二NAS消息,或者说AMF接收来自第一终端设备的第二NAS消息。
具体地,在第一终端设备跟第二终端设备有通信需求的情况下,第一终端设备向AMF发送第二NAS消息。
该第二NAS消息用于请求获取第二终端设备在该第一PIN中的IP地址,该第二NAS消息中包括第二终端设备的标识和/或第一PIN ID。
作为一种可能的实现方式,第二终端设备的标识可以是用于指示第二终端设备的信息,例如,可以是第二终端设备的ID;还例如,可以是第二终端设备在第一PIN中的功能信息(如,实现调节温度功能的设备)。
需要说明的是,第一终端设备向AMF发送第二NAS消息的目的是需要将用于请求获取第二终端设备在该第一PIN中的IP地址的消息发送给PIN function。
进一步地,AMF接收到第二NAS消息之后,可以向PIN function发送第八消息,该第八消息用于请求获取第二终端设备在该第一PIN中的IP地址。
可选地,第八消息可以称为第二终端设备查询请求消息。
可选地,第八消息还可以为其他的用于请求获取第二终端设备在该第一PIN中的IP地址的消息。
为了便于描述,下文中以第八消息为第二终端设备查询请求消息为例进行描述,图4所示的方法流程还包括:
S493,AMF向PIN function发送第二终端设备查询请求消息,或者说PIN function接收来自AMF的第二终端设备查询请求消息。
示例性地,第二终端设备查询请求消息可以称为第二终端设备查询请求消息,用于请求获取第二终端设备在该第一PIN中的IP地址。
第二终端设备查询请求消息中包括所述第二终端设备的标识和所述第一PIN ID。
示例性地,第一终端设备通过AMF向PIN function发送第二终端设备查询请求消息包括:
第一终端设备向AMF发送第二NAS消息(如,NAS消息),该第二NAS消息中包括第一PIN ID和第二终端设备查询请求消息(如,第二终端设备查询请求消息),该第二NAS消息中包括第一PIN ID和第二终端设备的标识(如,第二终端设备的ID);AMF接收到该第二NAS消息之后,不解析第二终端设备查询请求消息,将该第二终端设备查询请求消息转发给PIN function。
PIN function接收到第二终端设备查询请求消息之后,确定第一终端设备属于第一PIN,图4所示的方法流程还包括:
S494,PIN function确定第一终端设备属于第一PIN。
具体地,PIN function可以根据本地保存的第一PIN的上下文信息确定第一终端设备属于该第一PIN。
在PIN function确定第一终端设备属于第一PIN的情况下,向AMF发送第二终端设备在该第一PIN中的IP地址,图4所示的方法流程还包括:
S495,PIN function向AMF发送IP地址,或者说AMF接收来自PIN function的IP地址。
该IP地址为第二终端设备在该第一PIN中的IP地址。
需要说明的是,PIN function向AMF发送IP地址包括:
PIN function向AMF发送第二终端设备查询响应消息,该第二终端设备查询响应消息中包括IP地址。
AMF接收到该第二终端设备查询响应消息之后,不解析第二终端设备查询响应消息,将该第二终端设备查询响应消息通过NAS消息转发给第一终端设备,图4所示的方法流程还包括:
S496,AMF向第一终端设备发送IP地址,或者说第一终端设备接收来自AMF的IP地址。
第一终端设备在获取到第二终端设备的IP地址之后,通过第一会话与第二终端设备通信,图4所示的方法流程还包括:
S497,第一终端设备与第二终端设备之间进行数据传输。
具体地,数据传输方式包括以下几种:
方式一:
第一终端设备的待传输的数据发送给UPF#1,由UPF#1转发给第二终端设备。
方式二:
第一终端设备的待传输的数据发送给UPF#1,由UPF#1通过N9接口转发给UPF#2,再由UPF#2转发给第二终端设备。
方式三:
第一终端设备的待传输的数据发送给UPF#1,由UPF#1通过N6接口转发给DN,再由DN通过N6接口转发给UPF#2,最后由UPF#2转发给第二终端设备。
上述结合图4说明了第一终端设备建与第一PIN中的设备进行组间通信的流程,由上述可知,第一终端设备属于第一PIN,下面结合图5说明第一终端设备请求创建第一PIN的流程,图5是本申请实施例提供的一种创建PIN的方法的示意性流程图,第一终端设备可以通过向AMF发送第四消息,请求建立上述的第一PIN。
可选地,第四消息可以是NAS消息,通过第一终端设备和AMF之间的通信接口(如,N1)发送给AMF。
可选地,第四消息还可以是第一终端设备和AMF之间除NAS消息之外的其他新增或者已有的消息。
需要说明的是,如果第四消息复用第一终端设备和AMF之间已有的消息,能够节省信令的开销。
为了便于描述,下文中以第四消息为第三NAS消息为例进行描述,图5所示的方法 流程5包括:
S510,第一终端设备向AMF发送第三NAS消息,或者说AMF接收来自第一终端设备的第三NAS消息。
该第三NAS消息中包括建立PIN请求消息,该建立PIN请求消息用于请求建立上述的第一PIN。
示例性地,第三NAS消息可以是NAS消息,第一终端设备向AMF发送NAS消息,该NAS消息中包括建立PIN请求消息(如,create PIN request),AMF接收到该NAS消息之后,AMF向PIN function发送建立PIN请求消息请求PIN function建立第一PIN。图5所示的方法流程还包括:
S511,AMF向PIN function发送建立PIN请求消息,或者说PIN function接收来自AMF的建立PIN请求消息。
示例性地,AMF接收到上述的第三NAS消息之后,无需对第三NAS消息中的包括的建立PIN请求消息进行解析,转发给PIN function即可。
可选地,该第三NAS消息和/或建立PIN请求消息中还包括第三参数,该第三参数用于指示第一终端设备在第一PIN中的功能。
示例性地,该第一终端设备在第一PIN中的功能包括:该第一终端设备在第一PIN作为网关设备、该第一终端设备在第一PIN作为管理设备、该第一终端设备在第一PIN作为普通的通信设备。
例如,第一PIN中包括多个UE,该多个UE中某个UE可以充当智能设备网关(如,图2中所示的智能设备网关),该智能设备网关可以称为具备网关功能的智能设备(PIN element with gateway capability)。
还例如,第一PIN中包括多个UE,该多个UE中某个UE可以充当智能设备管理者(如,该某个UE可以中继其他UE的数据),该智能设备管理者可以称为具备管理功能的智能设备(PIN element with management capability)。
又例如,第一PIN中包括多个UE,该多个UE中至少一个UE作为普通的UE(如,该至少一个设备作为普通的通信设备加入该PIN中),该普通的UE可以称为(PIN element)。
可选地,该第三NAS消息中还包括第一终端设备的标识。
作为一种可能的实现方式,第三NAS消息还包括第一终端设备的标识可以是:该第一终端设备的标识位于建立PIN请求消息之外,也就是说建立PIN请求消息中可以不包括第一终端设备的标识。
例如,第三NAS消息中包括第一终端设备的临时标识或永久性标识或其他外部标识,AMF能够根据该UE的标识确定第一终端设备的标识,并将该第一终端设备的标识和建立PIN请求消息发送给PIN function。
作为另一种可能的实现方式,第三NAS消息还包括第一终端设备的标识可以是:该第一终端设备的标识位于建立PIN请求消息中,也就是说建立PIN请求消息外可以不包括第一终端设备的标识。
例如,建立PIN请求消息中包括第一终端设备的永久性标识或其他外部标识,AMF能够将建立PIN请求消息转发给PIN function。
作为又一种可能的实现方式,第三NAS消息还包括第一终端设备的标识可以是:该 第一终端设备的标识位于建立PIN请求消息中和建立PIN请求消息之外。
例如,第三NAS消息中包括第一终端设备的临时标识或永久性标识或其他外部标识,建立PIN请求消息中包括第一终端设备的永久性标识或其他外部标识,AMF能够根据该第一终端设备的标识确定第一终端设备的标识,并将该第一终端设备的标识和建立PIN请求消息发送给PIN function。
需要说明的是,从节省信令开销和简化核心网设备操作的角度来说,上述的第一终端设备的标识可以携带在建立PIN请求消息中,这样AMF无需基于建立PIN请求消息外的第一终端设备的标识确定出需要发送给PIN function的第一终端设备的标识,直接将建立PIN请求消息转发给PIN function即可。
进一步地,PIN function接收到建立PIN请求消息之后,可以接受第一终端设备的创建第一PIN的请求,创建第一PIN,并为第一PIN分配用于标识该第一PIN的第一PIN ID,图5所示的方法流程还包括:
S520,PIN function创建第一PIN。
需要说明的是,对于新创建的第一PIN,PIN function需为第一PIN分配用于标识该第一PIN的第一PIN ID。
PIN function可以将第一PIN的相关参数提供给UDM,PIN function向UDM发送第十一消息,该第十一消息用于请求同步创建该第一PIN。
为了便于描述,下文中以第十一消息为请求同步创建第一PIN消息为例进行描述,图5所示的方法流程还包括:
S530,PIN function向UDM发送请求同步创建该第一PIN消息,或者说UDM接收来自PIN function的第请求同步创建该第一PIN消息。
该请求同步创建该第一PIN消息中包括该第一PIN ID、该第一PIN信息、位于该第一PIN内的终端设备的信息,
其中,该第一PIN的信息包括用于该第一PIN组间通信的信息和该第一PIN管理的应用的信息。
可选地,请求同步创建该第一PIN消息中包括的第一PIN信息和位于该第一PIN内的终端设备的信息分别为上述表3中的PIN group data和PIN group membership。
示例性地,用于该第一PIN组间通信的信息包括用于第一PIN组间通信的DNN、S-NSSAI、会话类型(如,PDU type)等信息。
示例性地,第一PIN管理的应用的信息(如,App descriptor)包括PIN APP ID,三元组等信息。
示例性地,位于该第一PIN内的终端设备的信息包括加入到PIN中的设备的信息(例如,list of GPSI,Role of each GPSI等)。
具体地,UDM获取到上述的第一PIN的相关参数之后,可以从UDR获取第一终端设备的签约信息,确定是否可以为该第一终端设备同步建立第一PIN,UDM向UDR发送第十二消息,该第十二消息用于查询第一终端设备的签约信息。
可选地,第十二消息可以是查询请求消息(query request)。
可选地,第十二消息还可以是其他的用于查询第一终端设备的签约信息的消息。
为了便于描述,下文中以第十二消息为查询请求消息为例进行描述,图4所示的方法 流程还包括:
S540,UDM向UDR发送查询请求消息,或者说UDR接收来自UDM的查询请求消息。
UDM确定可以为第一终端设备建立第一PIN之后,UDM向UDR发送第十三消息,用于指示同步创建第一PIN。
可选地,第十三消息可以是同步创建第一PIN指示消息。
可选地,第十三消息还可以是其他的用于指示同步创建第一PIN的消息。
为了便于描述,下文中以第十三消息为同步创建第一PIN指示消息为例进行描述,图5所示的方法流程还包括:
S550,UDM向UDR发送同步创建第一PIN指示消息,或者说UDR接收来自UDM的同步创建第一PIN指示消息。
该同步创建第一PIN指示消息中包括第一终端设备的标识、内部标识、上述的第一PIN的信息。
其中,对于新建第一PIN,UDM需要为第一PIN分配一个内部第一PIN标识(如,内部标识)。
示例性地,该内部标识保存在网络内部即可,无需下发给第一终端设备,该内部标识与上述第一PIN ID相关联(如,针对一个PIN存在一个内部标识,和与该内部标识对应的第一PIN ID)。
进一步地,在第一PIN创建完成之后,需要将创建的第一PIN的标识(如,上述的第一PIN ID)下发给第一终端设备,图5所示的方法流程还包括:
S560,PIN function向AMF发送第一PIN ID。
S570,AMF保存第一PIN ID与PIN function的关联关系。
如果第一PIN ID中包括PIN function的标识的话,AMF在第一PIN的创建流程中可以不生成第一PIN ID与PIN function的关联关系。后续会话建立流程中(如图4所示的流程),AMF接收到第一PIN ID能够根据第一PIN ID中包括的PIN function的标识确定对应的PIN function,所以无需额外保存第一PIN ID与PIN function的关联关系。
S580,AMF向第一终端设备发送第一PIN ID。
另外,作为一种可能,在第一PIN创建完成之后,第一终端设备还可以请求更新或者删除第一PIN。
可选地,在第一PIN创建完成之后,第一终端设备可以向AMF发送第五消息。
第五消息可以是NAS消息,通过第一终端设备和AMF之间的通信接口(如,N1)发送给AMF。
可选地,第五消息还可以是第一终端设备和AMF之间除NAS消息之外的其他新增或者已有的消息。
需要说明的是,如果第五消息复用第一终端设备和AMF之间已有的消息,能够节省信令的开销。
为了便于描述,下文中以第五消息为第四NAS消息为例进行描述。
在该可能下,图5所示的方法流程还包括:
S590,第一终端设备向AMF发送第四NAS消息,或者说AMF接收来自第一终端设 备的第四NAS消息。
该第四NAS消息用于请求更新或删除已创建的第一PIN。
进一步地,AMF接收到第四NAS消息之后,可以向PIN function发送第九消息用于请求更新或删除所述第一PIN。
为了便于描述,下文中以第九消息为请求更新或删除第一PIN的消息为例进行描述,图5所示的方法流程还包括:
S591,AMF向PIN function发送请求更新或删除第一PIN的消息,或者说PIN function接收来自AMF的请求更新或删除第一PIN的消息。
所述请求更新或删除第一PIN的消息中包括所述第一PIN ID,所述请求更新或删除第一PIN的消息用于请求更新或删除所述第一PIN。
示例性地,第一终端设备通过AMF向PIN function发送用于请求更新或删除所述第一PIN的消息包括:
第一终端设备向AMF发送第四NAS消息(如,NAS消息),该第四NAS消息中包括请求更新或删除第一PIN的消息(如,delete/updata PIN request),AMF接收到该第四NAS消息之后,AMF向PIN function发送请求更新或删除第一PIN的消息请求PIN function更新或删除已创建的第一PIN。
具体地,AMF接收到上述的第四NAS消息之后,无需对第四NAS消息中的包括的请求更新或删除第一PIN的消息进行解析,转发给PIN function即可。
可选地,在所述第四NAS消息用于请求更新所述第一PIN的情况下,所述第四NAS消息中还包括增加或删除终端设备的操作指示信息和所述增加或删除的终端设备的标识。
可选地,在所述请求更新或删除第一PIN的消息用于请求更新所述第一PIN的情况下,所述请求更新或删除第一PIN的消息中还包括增加或删除终端设备的操作指示信息和所述增加或删除的终端设备的标识。
可选地,该第四NAS消息还包括第一PIN ID,用于指示AMF将第四NAS消息发送给第一PIN ID关联的PIN function,如果该第四NAS消息中不携带第一PIN ID,则AMF选择一个PIN function发送请求更新或删除第一PIN的消息。
需要说明的是,第一PIN ID可以由PIN function分配,包括PIN function的标识以及用于在PIN function中标识第一PIN的部分,AMF也可以根据第一PIN ID中PCF的标识来确定PIN function,并将请求更新或删除第一PIN的消息转给确定的PIN function。
需要说明的是,如果是更新或者删除某个PIN的流程,上述的S560-S590过程中下发的是指示更新成功或者失败的指示,或者删除成功或者失败的指示。图5所示的方法流程还包括:
S592,AMF接收来自PIN function的第二指示信息,或者说,PIN function向AMF发送第二指示信息。
该第二指示信息用于指示更新成功或更新失败的信息,或者,指示删除成功或删除失败的信息。
进一步地,AMF可以通过第六消息通知第一终端设备更新成功或更新失败,或者,删除成功或删除失败。
可选地,第六消息可以是NAS消息,通过第一终端设备和AMF之间的通信接口(如, N1)发送给AMF。
可选地,第六消息还可以是第一终端设备和AMF之间除NAS消息之外的其他新增或者已有的消息。
需要说明的是,如果第六消息复用第一终端设备和AMF之间已有的消息,能够节省信令的开销。
为了便于描述,下文中以第六消息为第五NAS消息为例进行描述,图5所示的方法流程还包括:
S593,第一终端设备接收来自AMF第五NAS消息,或者说AMF向第一终端设备发送第五NAS消息。
该第五NAS消息响应于第四NAS消息的第五NAS消息,第五NAS消息中包括指示更新成功或更新失败的信息,或者,第五NAS消息中包括指示删除成功或删除失败的信息。
进一步地,在上述的第一PIN建立完成之后,PCF需要更新第一终端设备的路由选择策略,图5所示的方法流程还包括:
S594,UDR向PCF发送通知消息,或者说PCF接收来自UDR的通知消息。
该通知消息中包括第一终端设备的标识、第一PIN ID和第一PIN的信息。
S595,PCF确定第二参数。
所述第二参数包括用于描述应用的参数、用于描述所述第一PIN的参数和用于确定第一会话的路由选择参数,
其中,所述第一会话用于所述第一终端设备和所述第一PIN中的第二终端设备通信,所述路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项。
S594,PCF向AMF发送第二参数。
S597,AMF向第一终端设备发送第二参数。
可以理解为,PCF通过AMF将第二参数发送给第一终端设备。
具体地,SMF通过AMF将第二参数通过AMF发送给第一终端设备包括以下两种方式:
方式一:
SMF通过AMF向第一终端设备发送PIN URSP,其中,PIN URSP为增强的URSP,相比于不涉及创建PIN流程中的URSP,增加了PIN descriptor,App descriptor与PIN descriptor用于确定PDU参数。
URSP中增加Group descriptor(或者说PIN descriptor),若URSP中包括Group descriptor,则Application descriptors(上述的用于描述应用的参数)与Group descriptor(上述的用于描述所述第一PIN的参数)需要同时匹配,如下表4所示。
Figure PCTCN2022112001-appb-000004
Figure PCTCN2022112001-appb-000005
方式二:
SMF通过AMF向第一终端设备发送PIN rule(上述的用于描述所述第一PIN的参数),PIN rule中包括用于建立PIN通信的PDU session的DNN、切片等参数。
PIN rule可以作为单独的参数下发给第一终端设备,不对URSP做增强。
应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
还应理解,在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。
还应理解,在上述一些实施例中,主要以现有的网络架构中的设备为例进行了示例性说明(如网络设备、终端设备等等),应理解,对于设备的具体形式本申请实施例不作限定。例如,在未来可以实现同样功能的设备都适用于本申请实施例。
可以理解的是,上述各个方法实施例中,由设备(如上述第一终端设备、第二终端设备、第一核心网网元、服务供应商等)实现的方法和操作,也可以由设备的部件(例如芯片或者电路)实现。
以上,结合图4和图5详细说明了本申请实施例提供的中继通信的方法。上述中继通信的方法主要从各个网元之间交互的角度进行了介绍。可以理解的是,各个网元,为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。
本领域技术人员应该可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
以下,结合图6和图7详细说明本申请实施例提供的中继通信的装置。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文方法实施例,为了简洁,部分内容不再赘述。
本申请实施例可以根据上述方法示例对发射端设备或者接收端设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻 辑功能划分,实际实现时可以有另外的划分方式。下面以采用对应各个功能划分各个功能模块为例进行说明。
图6是本申请实施例提供的装置600的示意性框图。该装置600包括收发单元610和处理单元620。收发单元610可以实现相应的通信功能,处理单元620用于进行数据处理。收发单元610还可以称为通信接口或通信单元,收发单元610实现获取信息功能的情况下,还可以称为获取单元。
可选地,该装置600还可以包括存储单元,该存储单元可以用于存储指令和/或数据,处理单元620可以读取存储单元中的指令和/或数据,以使得装置实现前述方法实施例。
该装置600可以用于执行上文方法实施例中设备(如上述各个核心网网元、终端设备等)所执行的动作,这时,该装置600可以为设备或者可配置于设备的部件,收发单元610用于执行上文方法实施例中设备的收发相关的操作,处理单元620用于执行上文方法实施例中设备处理相关的操作。
作为一种设计,该装置600用于执行上文方法实施例中第一终端设备所执行的动作。
收发单元610,用于获取第一参数,该第一参数用于标识第一通信组,该用于设备间通信的装置备属于该第一通信组;
收发单元610,用于向第一网络设备发送第一消息,其中,该第一消息中包括该第一参数和会话建立请求消息,该会话建立请求消息用于请求建立第一会话,该第一会话用于该用于设备间通信的装置与该第一通信组中的第二终端设备通信;
收发单元610,用于接收来自该第一网络设备的第二消息,该第二消息用于指示接受建立该第一会话的请求。
可选地,收发单元610,还用于接收来自该第一网络设备的第二参数,该第二参数包括用于描述应用的参数、用于描述该第一通信组的参数和用于确定该第一会话的路由选择参数,其中,该路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项。
可选地,在该描述应用的参数对应的应用与该用于设备间通信的装置运行的应用匹配,且该用于描述该第一通信组的参数与该第一参数匹配的情况下,该装置还包括:处理单元620,用于根据该用于设备间通信的装置运行的应用和该第一参数确定该第一会话的路由选择参数,其中,该第一会话的路由选择参数与该用于设备间通信的装置运行的应用和该第一参数关联。
可选地,收发单元610,还用于向该第一网络设备发送第三消息,该第三消息用于请求获取互联网协议IP地址,该IP地址为该第二终端设备在该第一通信组中的IP地址;
收发单元610,还用于接收来自该第一网络设备的该IP地址,其中,该第三消息中包括该第二终端设备的标识和该第一参数。
可选地,收发单元610,还用于向该第一网络设备发送第四消息,其中,该第四消息中包括建立通信组请求消息,该建立通信组请求消息用于请求建立该第一通信组;
收发单元610,还用于接收来自该第一网络设备的该第一参数。
可选地,收发单元610,还用于向该第一网络设备发送第五消息,该第五消息用于请求更新或删除该第一通信组,其中,该第五消息包括该第一参数;
收发单元610,还用于接收来自该第一网络设备响应于该第五消息的第六消息,该第 六消息中包括指示更新成功或更新失败的信息,或者,该第六消息中包括指示删除成功或删除失败的信息。
可选地,收发单元610,还用于通过该第一会话与该第二终端设备通信。
该装置600可实现对应于根据本申请实施例的方法实施例中的第一终端设备执行的步骤或者流程,该装置600可以包括用于执行方法实施例中的第一终端设备执行的方法的单元。并且,该装置600中的各单元和上述其他操作和/或功能分别为了实现方法实施例中的第一终端设备中的方法实施例的相应流程。
其中,当该装置600用于执行图4中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S410、S420、S422、S480、S492、S496和S497;处理单元620可用于执行方法中的处理步骤。
当该装置600用于执行图5中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S510、S580、S590、S593和S597;处理单元620可用于执行方法中的处理步骤。
应理解,各单元执行上述相应步骤的具体过程在上述方法实施例中已经详细说明,为了简洁,在此不再赘述。
作为另一种设计,该装置600用于执行上文方法实施例中第一网络设备所执行的动作。
收发单元610,用于接收来自第一终端设备的第一消息,其中,该第一消息中包括第一参数和会话建立请求消息,该会话建立请求消息用于请求建立第一会话,该第一参数用于标识第一通信组,该第一终端设备属于该第一通信组,该第一会话用于该第一终端设备与该第一通信组中的第二终端设备通信;
收发单元610,还用于向第二网络设备发送第七消息,该第七消息中包括该第一参数和该会话建立请求消息;
收发单元610,还用于接收来自该第二网络设备的第二消息,该第二消息用于指示接受建立该第一会话的请求;该发送单元,还用于向该第一终端设备发送该第二消息。
可选地,处理单元620,用于根据该第一参数确定该第二网络设备。
可选地,收发单元610,还用于接收来自第三网络设备的第二参数,该第二参数包括用于描述应用的参数、用于描述该第一通信组的参数和用于确定该第一会话的路由选择参数,其中,该路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项;该发送单元,还用于向该第一终端设备发送该第二参数。
可选地,收发单元610,还用于接收来自该第一终端设备的第三消息,其中,该第三消息中包括该第二终端设备的标识和该第一参数,该第三消息用于请求获取互联网协议IP地址,该IP地址为第二终端设备在该第一通信组中的IP地址;
收发单元610,还用于向第四网络设备发送第八消息,该第八消息中包括该第二终端设备的标识和该第一参数;
收发单元610,还用于接收来自该第四网络设备的该IP地址;该发送单元,还用于向该第一终端发送该IP地址。
可选地,收发单元610,还用于接收来自该第一终端设备的第四消息,其中,该第四消息中包括建立通信组请求消息,该建立通信组请求消息用于请求建立该第一通信组;
收发单元610,还用于向第四网络设备发送该建立通信组请求消息;
收发单元610,还用于接收来自该第四网络设备的第一参数;该发送单元,还用于向该第一终端发送该第一参数。
可选地,收发单元610,还用于接收来自该第一终端的第五消息,该第五消息用于请求更新或删除该第一通信组,其中,该第五消息包括该第一参数;
收发单元610,还用于向第四网络设备发送第九消息,该第九消息中包括该第一参数,该第九消息用于请求更新或删除该第一通信组;
收发单元610,还用于接收来自该第四网络设备的指示更新成功或更新失败的信息,或者,指示删除成功或删除失败的信息;
收发单元610,还用于向该第一终端发送响应于该第五消息的第六消息,该第六消息中包括该指示更新成功或更新失败的信息,或者,该第六消息中包括该指示删除成功或删除失败的信息。
该装置600可实现对应于根据本申请实施例的方法实施例中的第一网络设备执行的步骤或者流程,该装置600可以包括用于执行方法实施例中的第一网络设备执行的方法的单元。并且,该装置600中的各单元和上述其他操作和/或功能分别为了实现方法实施例中的第一网络设备中的方法实施例的相应流程。
其中,当该装置600用于执行图4中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S420、S421、S422、S440、S470、S480、S492、S493、S495和S496;处理单元620可用于执行方法中的处理步骤,如步骤S430。
当该装置600用于执行图5中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S510、S511、S580、S590、S591、S593、S592、S596和S597;处理单元620可用于执行方法中的处理步骤,如步骤S570。
应理解,各单元执行上述相应步骤的具体过程在上述方法实施例中已经详细说明,为了简洁,在此不再赘述。
作为又一种设计,该装置600用于执行上文方法实施例中第二网络设备所执行的动作。
收发单元610,用于接收来自第一网络设备的第七消息,该第七消息中包括第一参数和会话建立请求消息,该会话建立请求消息用于请求建立第一会话;
收发单元610,还用于向该第一网络设备发送第二消息,该第二消息用于接受建立该第一会话的请求,其中,该第一参数用于标识第一通信组,该第一终端设备属于该第一通信组,该第一会话用于该第一终端设备与该第一通信组中的第二终端设备通信。
可选地,处理单元620,用于确定该第一终端设备与该第二终端设备之间的通信方式,其中,该通信方式包括以下任意一种:该第一终端设备与第二终端设备之间的数据通过一个第五网络设备传输;或者,该第一终端设备与第二终端设备之间的数据通过两个第五网络设备传输,该数据在该两个第五网络设备之间通过通信接口传输;或者,该第一终端设备与第二终端设备之间的数据通过数据网络转发。
可选地,收发单元610,还用于向该第五网络设备发送第一指示信息,该第一指示信息用于指示该通信方式。
可选地,处理单元620,用于根据该第一参数确定该第五网络设备。
可选地,收发单元610,还用于向第六网络设备发送第十消息,该第十消息中包括该第一参数、该第一终端设备的标识、该第一会话的标识、该第五网络设备的标识和该第一 会话的互联网协议IP地址。
该装置600可实现对应于根据本申请实施例的方法实施例中的第二网络设备执行的步骤或者流程,该装置600可以包括用于执行方法实施例中的第二网络设备执行的方法的单元。并且,该装置600中的各单元和上述其他操作和/或功能分别为了实现方法实施例中的第二网络设备中的方法实施例的相应流程。
其中,当该装置600用于执行图4中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S440、S461、S470、S490;处理单元620可用于执行方法中的处理步骤,如步骤S450和S460。
应理解,各单元执行上述相应步骤的具体过程在上述方法实施例中已经详细说明,为了简洁,在此不再赘述。
作为又一种设计,该装置600用于执行上文方法实施例中第三网络设备所执行的动作。
收发单元610,用于接收来自第七网络设备的通知消息,该通知消息中包括第一终端设备的标识、第一参数和第一通信组的信息,该第一参数用于标识该第一通信组,该第一终端设备属于该第一通信组;
处理单元620,用于根据该通知消息确定第二参数,该第二参数包括用于描述应用的参数、用于描述该第一通信组的参数和用于确定第一会话的路由选择参数,其中,该第一会话用于该第一终端设备和该第一通信组中的第二终端设备通信,该路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项。
可选地,收发单元610,还用于向第一网络设备发送该第二参数。
该装置600可实现对应于根据本申请实施例的方法实施例中的第三网络设备执行的步骤或者流程,该装置600可以包括用于执行方法实施例中的第三网络设备执行的方法的单元。并且,该装置600中的各单元和上述其他操作和/或功能分别为了实现方法实施例中的第三网络设备中的方法实施例的相应流程。
其中,当该装置600用于执行图4中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S421;处理单元620可用于执行方法中的处理步骤。
当该装置600用于执行图5中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S594;处理单元620可用于执行方法中的处理步骤,如步骤S595。
应理解,各单元执行上述相应步骤的具体过程在上述方法实施例中已经详细说明,为了简洁,在此不再赘述。
作为又一种设计,该装置600用于执行上文方法实施例中第四网络设备所执行的动作。
收发单元610,用于接收来自第一网络设备的第八消息,该第八消息用于请求获取第二终端设备在第一通信组中的互联网IP地址;
收发单元610,还用于向该第一网络设备发送该IP地址,其中,该第一终端设备和该第二终端设备属于该第一通信组,该第八消息中包括该第二终端设备的信息和用于标识该第一通信组的第一参数。
可选地,收发单元610,还用于接收来自该第一网络设备的建立通信组请求消息,该建立通信组请求消息用于请求建立该第一通信组;
处理单元620,还用于创建该第一通信组,为该第一通信组分配该第一参数;该发送单元,还用于向该第一网络设备发送该第一参数。
可选地,收发单元610,还用于向第六网络设备发送第十一消息,该第十一消息用于请求同步创建该第一通信组,该第十一消息中包括该第一参数、该第一通信组信息、位于该第一通信组内的终端设备的标识,其中,该第一通信组的信息包括用于该第一通信组组间通信的信息和该第一通信组管理的应用的信息。
该装置600可实现对应于根据本申请实施例的方法实施例中的第四网络设备执行的步骤或者流程,该装置600可以包括用于执行方法实施例中的第四网络设备执行的方法的单元。并且,该装置600中的各单元和上述其他操作和/或功能分别为了实现方法实施例中的第四网络设备中的方法实施例的相应流程。
其中,当该装置600用于执行图4中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S491、S493和S495;处理单元620可用于执行方法中的处理步骤,如步骤S494。
当该装置600用于执行图5中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S511、S530、S540、S560、S591和S592;处理单元620可用于执行方法中的处理步骤,如步骤S520。
应理解,各单元执行上述相应步骤的具体过程在上述方法实施例中已经详细说明,为了简洁,在此不再赘述。
作为又一种设计,该装置600用于执行上文方法实施例中第六网络设备所执行的动作。
收发单元610,用于接收来自第四网络设备的第十一消息,该第十一消息用于请求同步创建第一通信组,该第十一消息中包括用于标识该第一通信组的第一参数、该第一通信组的信息、位于该第一通信组内的终端设备的标识,
其中,该第一通信组的信息包括用于该第一通信组组间通信的信息和该第一通信组管理的应用的信息,
收发单元610,还用于向第七网络设备发送第十二消息,该第十二消息用于查询第一终端设备的签约信息,该第一终端设备为请求创建该第一通信组的终端设备;
处理单元620,用于根据该第一终端设备的签约信息确定建立该第一通信组。
可选地,处理单元620,还用于为该第一通信组分配内部标识,该内部标识与该第一参数相关联;
收发单元610,还用于向该第七网络设备发送第十三消息,该第十三消息中包括第一终端设备的标识、该内部标识、该第一通信组的信息。
可选地,收发单元610,还用于接收来自第二网络设备的第十消息,该第十消息中包括该第一参数、该第一终端设备的标识、该第一会话的标识、第五网络设备的标识和该第一会话的互联网协议IP地址。
该装置600可实现对应于根据本申请实施例的方法实施例中的第六网络设备执行的步骤或者流程,该装置600可以包括用于执行方法实施例中的第六网络设备执行的方法的单元。并且,该装置600中的各单元和上述其他操作和/或功能分别为了实现方法实施例中的第六网络设备中的方法实施例的相应流程。
其中,当该装置600用于执行图4中的方法时,收发单元610可用于执行方法中的收发步骤,如步骤S490和S491;处理单元620可用于执行方法中的处理步骤。
当该装置600用于执行图5中的方法时,收发单元610可用于执行方法中的收发步 骤,如步骤S530、S540和S5550;处理单元620可用于执行方法中的处理步骤。
应理解,各单元执行上述相应步骤的具体过程在上述方法实施例中已经详细说明,为了简洁,在此不再赘述。
上文实施例中的处理单元60可以由至少一个处理器或处理器相关电路实现。收发单元610可以由收发器或收发器相关电路实现。存储单元可以通过至少一个存储器实现。
如图7所示,本申请实施例还提供一种装置700。该装置700包括处理器710,还可以包括一个或多个存储器720。处理器710与存储器720耦合,存储器720用于存储计算机程序或指令和/或数据,处理器710用于执行存储器720存储的计算机程序或指令和/或数据,使得上文方法实施例中的方法被执行。可选地,该装置700包括的处理器710为一个或多个。
可选地,该存储器720可以与该处理器710集成在一起,或者分离设置。
可选地,如图7所示,该装置700还可以包括收发器730,收发器730用于信号的接收和/或发送。例如,处理器710用于控制收发器730进行信号的接收和/或发送。
作为一种方案,该装置700用于实现上文方法实施例中由设备(如上述各个核心网网元、终端设备等)执行的操作。
本申请实施例还提供一种计算机可读存储介质,其上存储有用于实现上述方法实施例中由设备(如上述各个核心网网元、终端设备等)执行的方法的计算机指令。
例如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法实施例中由网络设备执行的方法。
本申请实施例还提供一种包含指令的计算机程序产品,该指令被计算机执行时使得该计算机实现上述方法实施例中由设备(如上述各个核心网网元、终端设备等)执行的方法。
本申请实施例还提供一种通信***,该通信***包括上文实施例中的设备(如上述各个核心网网元、终端设备等)。
上述提供的任一种装置中相关内容的解释及有益效果均可参考上文提供的对应的方法实施例,此处不再赘述。
应理解,本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
还应理解,本申请实施例中提及的存储器可以是易失性存储器和/或非易失性存储器。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。例如,RAM可以用作外部高速缓存。作为示例而非限定,RAM可以包括如下多种形式:静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM, ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。
还需要说明的是,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的保护范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元实现本申请提供的方案。
另外,在本申请各个实施例中的各功能单元可以集成在一个单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。例如,所述计算机可以是个人计算机,服务器,或者网络设备等。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD)等。例如,前述的可用介质可以包括但不限于:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟 悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (30)

  1. 一种用于设备间通信的方法,其特征在于,包括:
    第一终端设备获取第一参数,所述第一参数用于标识第一通信组,所述第一终端设备属于所述第一通信组;
    所述第一终端设备向第一网络设备发送第一消息,
    其中,所述第一消息中包括所述第一参数和会话建立请求消息,所述会话建立请求消息用于请求建立第一会话,所述第一会话用于所述第一终端设备与所述第一通信组中的第二终端设备通信;
    所述第一终端设备接收来自所述第一网络设备的第二消息,所述第二消息用于指示接受建立所述第一会话的请求。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一终端设备接收来自所述第一网络设备的第二参数,所述第二参数包括用于描述应用的参数、用于描述所述第一通信组的参数和用于确定所述第一会话的路由选择参数,
    其中,所述路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项。
  3. 根据权利要求2所述的方法,其特征在于,在所述描述应用的参数对应的应用与所述第一终端设备运行的应用匹配,且所述用于描述所述第一通信组的参数与所述第一参数匹配的情况下,所述方法还包括:
    所述第一终端设备根据所述第一终端设备运行的应用和所述第一参数确定所述第一会话的路由选择参数,
    其中,所述第一会话的路由选择参数与所述第一终端设备运行的应用和所述第一参数关联。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一终端设备向所述第一网络设备发送第三消息,所述第三消息用于请求获取互联网协议IP地址,所述IP地址为所述第二终端设备在所述第一通信组中的IP地址;
    所述第一终端设备接收来自所述第一网络设备的所述IP地址,
    其中,所述第三消息中包括所述第二终端设备的标识和所述第一参数。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一终端设备向所述第一网络设备发送第四消息,其中,所述第四消息中包括建立通信组请求消息,所述建立通信组请求消息用于请求建立所述第一通信组;
    所述第一终端设备获取第一参数,包括:
    所述第一终端设备接收来自所述第一网络设备的所述第一参数。
  6. 根据权利要求5所述的方法,其特征在于,所述第四消息中还包括所述第一终端设备的标识和第三参数,所述第三参数用于指示第一终端设备在所述第一通信组中的功能。
  7. 根据权利要求5或6所述的方法,其特征在于,所述方法还包括:
    所述第一终端设备向所述第一网络设备发送第五消息,所述第五消息用于请求更新或删除所述第一通信组,
    其中,所述第五消息包括所述第一参数;
    所述第一终端设备接收来自所述第一网络设备响应于所述第五消息的第六消息,所述第六消息中包括指示更新成功或更新失败的信息,或者,所述第六消息中包括指示删除成功或删除失败的信息。
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一终端设备通过所述第一会话与所述第二终端设备通信。
  9. 一种用于设备间通信的方法,其特征在于,包括:
    第一网络设备接收来自第一终端设备的第一消息,
    其中,所述第一消息中包括第一参数和会话建立请求消息,所述会话建立请求消息用于请求建立第一会话,所述第一参数用于标识第一通信组,所述第一终端设备属于所述第一通信组,所述第一会话用于所述第一终端设备与所述第一通信组中的第二终端设备通信;
    所述第一网络设备向第二网络设备发送第七消息,所述第七消息中包括所述第一参数和所述会话建立请求消息;
    所述第一网络设备接收来自所述第二网络设备的第二消息,所述第二消息用于指示接受建立所述第一会话的请求;
    所述第一网络设备向所述第一终端设备发送所述第二消息。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备根据所述第一参数确定所述第二网络设备。
  11. 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备接收来自第三网络设备的第二参数,所述第二参数包括用于描述应用的参数、用于描述所述第一通信组的参数和用于确定所述第一会话的路由选择参数,
    其中,所述路由选择参数包括网络切片、服务连续性模式、数据网络名称、会话类型、接入类型中的至少一项;
    所述第一网络设备向所述第一终端设备发送所述第二参数。
  12. 根据权利要求9至11中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备接收来自所述第一终端设备的第三消息,
    其中,所述第三消息中包括所述第二终端设备的标识和所述第一参数,所述第三消息用于请求获取互联网协议IP地址,所述IP地址为第二终端设备在所述第一通信组中的IP地址;
    所述第一网络设备向第四网络设备发送第八消息,所述第八消息中包括所述第二终端设备的标识和所述第一参数;
    所述第一网络设备接收来自所述第四网络设备的所述IP地址;
    所述第一网络设备向所述第一终端发送所述IP地址。
  13. 根据权利要求9至12中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备接收来自所述第一终端设备的第四消息,其中,所述第四消息中包括建立通信组请求消息,所述建立通信组请求消息用于请求建立所述第一通信组;
    所述第一网络设备向第四网络设备发送所述建立通信组请求消息;
    所述第一网络设备接收来自所述第四网络设备的第一参数;
    所述第一网络设备向所述第一终端发送所述第一参数。
  14. 根据权利要求13所述的方法,其特征在于,所述第四消息和/或所述建立通信组请求消息中还包括所述第一终端设备的标识和第三参数,所述第三参数用于指示第一终端设备在所述第一通信组中的功能。
  15. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备接收来自所述第一终端的第五消息,所述第五消息用于请求更新或删除所述第一通信组,
    其中,所述第五消息包括所述第一参数;
    所述第一网络设备向第四网络设备发送第九消息,所述第九消息中包括所述第一参数,所述第九消息用于请求更新或删除所述第一通信组;
    所述第一网络设备接收来自所述第四网络设备的指示更新成功或更新失败的信息,或者,指示删除成功或删除失败的信息;
    所述第一网络设备向所述第一终端发送响应于所述第五消息的第六消息,所述第六消息中包括所述指示更新成功或更新失败的信息,或者,所述第六消息中包括所述指示删除成功或删除失败的信息。
  16. 根据权利要求9至15中任一项所述的方法,其特征在于,所述方法还包括:
    所述第二网络设备确定所述第一终端设备与所述第二终端设备之间的通信方式,
    其中,所述通信方式包括以下任意一种:
    所述第一终端设备与第二终端设备之间的数据通过一个第五网络设备传输;或者,
    所述第一终端设备与第二终端设备之间的数据通过两个第五网络设备传输,所述数据在所述两个第五网络设备之间通过通信接口传输;或者,
    所述第一终端设备与第二终端设备之间的数据通过数据网络转发。
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:
    所述第二网络设备向所述第五网络设备发送第一指示信息,所述第一指示信息用于指示所述通信方式。
  18. 根据权利要求16或17所述的方法,其特征在于,所述方法还包括:
    所述第二网络设备根据所述第一参数确定所述第五网络设备。
  19. 根据权利要求16至18中任一项所述的方法,其特征在于,所述方法还包括:
    所述第二网络设备向第六网络设备发送第十消息,所述第十消息中包括所述第一参数、所述第一终端设备的标识、所述第一会话的标识、所述第五网络设备的标识和所述第一会话的互联网协议IP地址。
  20. 一种用于设备间通信的方法,其特征在于,包括:
    第四网络设备接收来自第一网络设备的第八消息,所述第八消息用于请求获取第二终端设备在第一通信组中的互联网IP地址;
    所述第四网络设备向所述第一网络设备发送所述IP地址,
    其中,所述第一终端设备和所述第二终端设备属于所述第一通信组,所述第八消息中包括所述第二终端设备的信息和用于标识所述第一通信组的第一参数。
  21. 根据权利要求20所述的方法,其特征在于,在所述第四网络设备接收来自第一网络设备的第八消息之前,所述方法还包括:
    所述第四网络设备接收来自所述第一网络设备的建立通信组请求消息,所述建立通信 组请求消息用于请求建立所述第一通信组;
    所述第四网络设备创建所述第一通信组,为所述第一通信组分配所述第一参数;
    所述第四网络设备向所述第一网络设备发送所述第一参数。
  22. 根据权利要求21所述的方法,其特征在于,所述建立通信组请求消息中还包括所述第一终端设备的标识和第三参数,所述第三参数用于指示所述第一终端设备在所述第一通信组中的功能。
  23. 根据权利要求21或22所述的方法,其特征在于,所述方法还包括:
    所述第四网络设备向第六网络设备发送第十一消息,所述第十一消息用于请求同步创建所述第一通信组,
    所述第十一消息中包括所述第一参数、所述第一通信组信息、位于所述第一通信组内的终端设备的标识,
    其中,所述第一通信组的信息包括用于所述第一通信组组间通信的信息和所述第一通信组管理的应用的信息。
  24. 一种用于设备间通信的装置,其特征在于,包括用于执行如权利要求1至8中任意一项所述的方法的单元。
  25. 一种用于设备间通信的装置,其特征在于,包括用于执行如权利要求9至19中任意一项所述的方法的单元。
  26. 一种用于设备间通信的装置,其特征在于,包括用于执行如权利要求20至23中任意一项所述的方法的单元。
  27. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,当所述计算机程序运行时,使得装置执行如权利要求1至8中任意一项所述的方法,或者,使得装置执行如权利要求9至19中任意一项所述的方法,或者,使得装置执行如权利要求20至23中任意一项所述的方法。
  28. 一种芯片***,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片***的通信装置执行如权利要求1至8中任意一项所述的方法;或者,使得安装有所述芯片***的通信装置执行如权利要求9至19中任意一项所述的方法;或者,使得安装有所述芯片***的通信装置执行如权利要求20至23中任意一项所述的方法。
  29. 一种通信装置,其特征在于,包括:
    存储器,用于存储计算机程序;
    处理器,用于执行所述存储器中存储的计算机程序,以使得所述通信装置执行权利要求1至8中任一项所述的方法,或者,使得所述通信装置执行权利要求9至19中任一项所述的方法,或者,使得所述通信装置执行权利要求20至23中任一项所述的方法。
  30. 一种通信***,其特征在于,所述通信***包括至少一个如权利要求24所述的用于设备间通信的装置、至少一个如权利要求25所述的用于设备间通信的装置和至少一个如权利要求26所述的用于设备间通信的装置。
PCT/CN2022/112001 2021-08-25 2022-08-12 用于设备间通信的方法和装置 WO2023024931A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22860277.7A EP4391599A1 (en) 2021-08-25 2022-08-12 Inter-device communication method and apparatus
US18/586,164 US20240206012A1 (en) 2021-08-25 2024-02-23 Method and apparatus for inter-device communication

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110984188.8 2021-08-25
CN202110984188 2021-08-25
CN202111305009.XA CN115734173A (zh) 2021-08-25 2021-11-05 用于设备间通信的方法和装置
CN202111305009.X 2021-11-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/586,164 Continuation US20240206012A1 (en) 2021-08-25 2024-02-23 Method and apparatus for inter-device communication

Publications (1)

Publication Number Publication Date
WO2023024931A1 true WO2023024931A1 (zh) 2023-03-02

Family

ID=85292450

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/112001 WO2023024931A1 (zh) 2021-08-25 2022-08-12 用于设备间通信的方法和装置

Country Status (4)

Country Link
US (1) US20240206012A1 (zh)
EP (1) EP4391599A1 (zh)
CN (1) CN115734173A (zh)
WO (1) WO2023024931A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117500094A (zh) * 2022-07-25 2024-02-02 维沃移动通信有限公司 信息查询方法、装置、终端及网络侧设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140348061A1 (en) * 2013-05-21 2014-11-27 Motorola Mobility Llc Method for establishing device-to-device communication
CN110234115A (zh) * 2019-05-23 2019-09-13 深圳和而泰家居在线网络科技有限公司 多设备通信***和数据通信方法
CN110830925A (zh) * 2018-08-14 2020-02-21 华为技术有限公司 一种用户群组的会话管理方法及装置
WO2020150876A1 (zh) * 2019-01-21 2020-07-30 Oppo广东移动通信有限公司 会话建立方法、终端设备和网络设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140348061A1 (en) * 2013-05-21 2014-11-27 Motorola Mobility Llc Method for establishing device-to-device communication
CN110830925A (zh) * 2018-08-14 2020-02-21 华为技术有限公司 一种用户群组的会话管理方法及装置
WO2020150876A1 (zh) * 2019-01-21 2020-07-30 Oppo广东移动通信有限公司 会话建立方法、终端设备和网络设备
CN110234115A (zh) * 2019-05-23 2019-09-13 深圳和而泰家居在线网络科技有限公司 多设备通信***和数据通信方法

Also Published As

Publication number Publication date
US20240206012A1 (en) 2024-06-20
CN115734173A (zh) 2023-03-03
EP4391599A1 (en) 2024-06-26

Similar Documents

Publication Publication Date Title
US11800481B2 (en) Communication method and communication apparatus
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
WO2021031562A1 (zh) 一种获取信息的方法及装置
WO2023280121A1 (zh) 一种获取边缘服务的方法和装置
US20230319556A1 (en) Key obtaining method and communication apparatus
US20230029714A1 (en) Authorization method, policy control function device, and access and mobility management function device
US20230254922A1 (en) Multipath transmission method and communication apparatus
WO2020150876A1 (zh) 会话建立方法、终端设备和网络设备
US20230371111A1 (en) Communication method, apparatus, and system
US20230232196A1 (en) Data communication method and communication apparatus
US20240206012A1 (en) Method and apparatus for inter-device communication
US20220263879A1 (en) Multicast session establishment method and network device
WO2022199451A1 (zh) 会话切换的方法和装置
US20230388756A1 (en) Communication method and apparatus for multicast/broadcast service
WO2023185555A1 (zh) 群组通信的方法、装置和***
WO2023020481A1 (zh) 用于传输数据的方法和装置
WO2022170798A1 (zh) 确定策略的方法和通信装置
KR20240060670A (ko) 통신 방법 및 장치
WO2022160205A1 (zh) 一种数据传输方法、终端设备和网络设备
WO2020057497A1 (zh) 通信方法和装置
WO2021088090A1 (zh) 接入控制方法及通信装置
US20240155325A1 (en) Information obtaining method and apparatus, and system
WO2023103575A1 (zh) 组播/广播通信的方法与相关装置
WO2024027320A1 (zh) 无线通信的方法、装置和***
WO2024001897A1 (zh) 通信方法和装置

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: 22860277

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022860277

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022860277

Country of ref document: EP

Effective date: 20240321

NENP Non-entry into the national phase

Ref country code: DE