WO2023207357A1 - 一种通信方法和通信装置 - Google Patents
一种通信方法和通信装置 Download PDFInfo
- Publication number
- WO2023207357A1 WO2023207357A1 PCT/CN2023/080566 CN2023080566W WO2023207357A1 WO 2023207357 A1 WO2023207357 A1 WO 2023207357A1 CN 2023080566 W CN2023080566 W CN 2023080566W WO 2023207357 A1 WO2023207357 A1 WO 2023207357A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- relay terminal
- relay
- emergency
- message
- terminal
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 268
- 238000004891 communication Methods 0.000 title claims abstract description 157
- 230000004044 response Effects 0.000 claims abstract description 79
- 230000006870 function Effects 0.000 claims description 227
- 238000013475 authorization Methods 0.000 claims description 151
- 230000015654 memory Effects 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 21
- 230000008569 process Effects 0.000 abstract description 64
- 230000005540 biological transmission Effects 0.000 abstract description 26
- 238000007726 management method Methods 0.000 description 94
- 238000012545 processing Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 17
- 238000005516 engineering process Methods 0.000 description 7
- 230000000737 periodic effect Effects 0.000 description 7
- 238000010295 mobile communication Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000003190 augmentative effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 101150045592 RSC1 gene Proteins 0.000 description 2
- 101100094096 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RSC2 gene Proteins 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013523 data management Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001568 sexual effect Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 101100094098 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RSC3 gene Proteins 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/90—Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/22—Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/50—Connection management for emergency connections
Definitions
- the embodiments of the present application relate to the field of communication, and more specifically, to a communication method and a communication device.
- D2D communication allows direct communication between terminals and can share spectrum resources with cell users under the control of the cell network, effectively improving the utilization of spectrum resources.
- the terminal can communicate with the network through assistance from other terminals. That is, communication between the terminal and the network is realized through D2D communication between the terminal and other terminals, and communication between other terminals and the network.
- This communication scenario can be called a relay scenario, in which a terminal that is outside network coverage or has poor communication signals with the network can be called a remote terminal, and a terminal that assists the remote terminal in communicating with the network can be called a middle terminal.
- a relay scenario in which a terminal that is outside network coverage or has poor communication signals with the network can be called a remote terminal, and a terminal that assists the remote terminal in communicating with the network can be called a middle terminal.
- This application provides a communication method and communication device, which facilitates the transmission of emergency services in relay scenarios.
- a communication method is provided.
- the method can be executed by a relay terminal or by a module or unit in the relay terminal.
- a relay terminal For convenience of description, it will be collectively referred to as the relay terminal below.
- the method includes: the relay terminal determines that the network accessed by the relay terminal supports emergency services; the relay terminal sends a first message, and the first message is used by a remote terminal to discover the relay terminal; Wherein, the first message is a first discovery message, and the first discovery message includes a relay service code corresponding to the emergency service; or, the first message is a response message, and the response message is used to respond to the request from The second discovery message of the remote terminal includes the relay service code corresponding to the emergency service.
- the emergency service here can generally refer to a service type (which can be called an emergency service type), or it can refer to a specific emergency service.
- the network accessed by the relay terminal participating in the relay discovery process of the emergency service supports the emergency service, thereby ensuring that the relay terminal selected by the remote terminal desiring to access the emergency service can provide intermediate services for the emergency service.
- relay service thereby facilitating the transmission of emergency services in relay scenarios.
- the relay terminal sends the first message, including: when the network accessed by the relay terminal supports the During emergency services, the relay terminal sends the first message. Or, in another way of describing it, after determining that the network accessed by the relay terminal supports the emergency service, the relay terminal sends the first message.
- the relay terminal will not participate in the relay discovery process of emergency services when the network to which the relay terminal is connected does not support emergency services. This is possible only when the network to which the relay terminal is connected supports emergency services. Participate in the relay discovery process of the emergency service (for example, send a first discovery message to the remote terminal or respond to a second discovery message sent by the remote terminal). This ensures that the network accessed by the relay terminal participating in the relay discovery process of the emergency service supports the emergency service.
- the method further includes: the relay terminal determines that the first message includes the emergency service corresponding to the emergency service.
- Relay service code the relay terminal determines that the first message includes the emergency service corresponding to the emergency service.
- the relay terminal may determine whether the network accessed by the relay terminal supports the emergency service. If the relay service code included in the first message does not correspond to the emergency service, the relay terminal may not determine whether the network accessed by the relay terminal supports the emergency service.
- the relay terminal determines that the network accessed by the relay terminal supports emergency services, including: when at least one of the following conditions is met, the relay The terminal determines that the network accessed by the relay terminal supports the emergency service: the relay terminal receives an emergency service support indication from the access and mobility management function network element or access network equipment; the relay terminal The emergency service support indication is saved; or the relay terminal has established an emergency protocol data unit (PDU) session; wherein the emergency service support indication is used to indicate that the relay terminal is accessed The network supports the emergency services.
- PDU emergency protocol data unit
- the relay terminal is in an emergency registration state
- the first message includes an emergency registration indication and/or emergency registration time information
- the The emergency registration indication is used to indicate that the relay terminal is in the emergency registration state
- the emergency registration time information is used to indicate the duration or remaining duration of the relay terminal in the emergency registration state.
- the remote terminal is helped to select a more appropriate relay terminal.
- the remote terminal preferentially selects the relay terminal in the non-emergency registration state.
- the remote terminal preferentially selects the relay terminal that has a longer remaining time in the emergency registration state.
- the method further includes: the relay terminal receiving first configuration information from the policy control function network element, the first configuration The information includes the relay service code corresponding to the emergency service.
- the policy control function network element configures the relay service code corresponding to the emergency service for the relay terminal.
- the first configuration information further includes the priority of the relay service code corresponding to the emergency service
- the method further includes: The relay terminal maintains or releases a connection between the relay terminal and the remote terminal according to the priority, and the connection is used to transmit the emergency service.
- the policy control function network element configures multiple relay service codes including the relay service code corresponding to the emergency service, and each relay service in the multiple relay service codes for the relay terminal through the first configuration information. code priority.
- the relay terminal has established multiple connections with the remote terminal, and the multiple connections correspond to multiple relay service codes one-to-one (for example, connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 ), connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)).
- connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 )
- connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)
- the relay terminal releases some of the established connections, for example, when the relay terminal has limited transmission resources or capabilities, the relay terminal can release relay services from multiple established connections. code for lower priority connections.
- the method further includes: the relay terminal receiving a direct communication request message from the remote terminal, the direct communication request The message is used to request the establishment of a direct communication connection, and the direct communication connection is used to transmit the emergency service; the relay terminal sends a second message to the access and mobility management function network element, and the second message is used to request Authorize the remote terminal to access the emergency service; the relay terminal receives an authorization result from the access and mobility management function network element; if the authorization result indicates that the remote terminal is authorized to access the emergency service, If the emergency service is successful, the relay terminal sends a direct communication acceptance message to the remote terminal; or, if the authorization result indicates that authorizing the remote terminal to access the emergency service fails, the relay terminal The terminal sends a direct communication rejection message to the remote terminal.
- the relay terminal determines whether the network authorizes the remote terminal to access the emergency service.
- the relay terminal establishes the connection with the remote terminal. connections between remote terminals to provide emergency service relay services for remote terminals. This ensures that the relay terminal selected by the remote terminal that desires to access the emergency service can provide relay services for the emergency service, while preventing unauthorized remote terminals from accessing the emergency service.
- the method further includes: the relay terminal receiving the second discovery message from the remote terminal; The relay terminal sends a second message to the access and mobility management function network element, where the second message is used to request authorization of the remote terminal to access the emergency service; the relay terminal receives data from the access and mobility management function network element.
- the authorization result of the mobility management function network element the relay terminal determines that the network accessed by the relay terminal supports the emergency service, including: when the authorization result indicates that the remote terminal is authorized to access the emergency service When successful, the relay terminal performs the determining that the network accessed by the relay terminal supports the emergency service.
- the relay terminal after receiving the second discovery message from the remote terminal, the relay terminal first determines whether the network authorizes the remote terminal to access the emergency service. If the network authorizes the remote terminal to access the emergency service successfully, Next, further determine whether the network connected to the relay terminal supports emergency services. Subsequently, the relay terminal sends or does not send a response message to the second discovery message according to whether the network to which the relay terminal is connected supports the emergency service. This ensures that the relay terminal selected by the remote terminal that desires to access the emergency service can provide relay services for the emergency service, while preventing unauthorized remote terminals from accessing the emergency service.
- the method further includes: The relay terminal receives the second discovery message from the remote terminal; after the relay terminal determines that the network accessed by the relay terminal supports emergency services, the method further includes: The relay terminal sends a second message to the access and mobility management function network element, where the second message is used to request authorization of the remote terminal to access the emergency service; the relay terminal receives data from the access and mobility management function network element.
- the authorization result of the mobility management function network element the relay terminal sends a first message, including: when the authorization result indicates that the remote terminal is authorized to access the emergency service successfully, the relay terminal sends a message to the The remote terminal sends the response message.
- the relay terminal after receiving the second discovery message from the remote terminal, the relay terminal first determines whether the network connected to the relay terminal supports emergency services. In this case, it is further determined whether the network authorizes the remote terminal to access the emergency service. Subsequently, the relay terminal determines whether the network authorizes the remote terminal. Access the emergency service and send or not send a response message to the second discovery message. This ensures that the relay terminal selected by the remote terminal that desires to access the emergency service can provide relay services for the emergency service, while preventing unauthorized remote terminals from accessing the emergency service.
- the method further includes: the relay terminal sending first information to the access and mobility management function network element, and the third A piece of information is used to instruct the relay terminal that the relay service is used for emergency services, or the first information is used to instruct the relay terminal to provide emergency services for remote terminals.
- the relay terminal reports to the access and mobility management function network element that the relay terminal is in a state of providing relay services for emergency services or that the relay terminal provides emergency services for remote terminals to facilitate access and mobility.
- the network element with the sexual management function does not impose restrictions on access management or mobility management of relay terminals.
- relay terminals can provide relay services for remote terminals in non-permitted areas.
- the access and mobility management function network element stores the first information in the context of the relay terminal.
- the first information may be carried in a service request (service request) message, a PDU session establishment (PDU session establishment) message or a registration (registration) message.
- service request service request
- PDU session establishment PDU session establishment
- registration registration
- the access and mobility management function network element selects a session management function network element that can provide emergency services according to the first information, or the access and mobility management function network element provides a session management function to the session management function network element.
- the network element sends the first information.
- the session management function network element selects a user plane function that can provide emergency services based on the first information. network element.
- the party further includes: the relay terminal sending second information to the access and mobility management function network element, wherein: The second information is used to instruct the relay terminal to cancel the emergency service provided by the remote terminal, or the second information is used to instruct the relay terminal not to provide the emergency service for the remote terminal.
- the relay terminal reports to the access and mobility management function network element that the relay terminal is not in a state of providing relay services for emergency services or that the relay terminal does not provide emergency services for remote terminals in order to facilitate access. and mobility management function network elements impose access management or mobility management restrictions on relay terminals.
- the access and mobility management function network element deletes the first information from the context of the relay terminal.
- the relay terminal sends the second information to the access and mobility management function network element, including: after the relay terminal releases a connection for transmitting emergency services, the relay terminal sends the second information to the access and mobility management function network element.
- the access and mobility management function network element sends the second information, or, if the relay terminal no longer has a connection for transmitting emergency services, the relay terminal sends a request to the access and mobility management function The network element sends the second information.
- the method further includes: the relay terminal receiving a seventh message from the remote terminal, and the seventh message is Upon requesting to establish a connection with the relay terminal, the connection is used to transmit emergency services; after receiving the seventh message, if the relay terminal does not have an emergency PDU session, the relay terminal Requests the establishment of an emergency PDU session. In addition, if the relay terminal has established an emergency PDU session, the relay terminal may not request to establish an emergency PDU session.
- connection is a direct communication connection
- seventh message is a direct communication request message
- a communication method is provided.
- the method can be executed by the policy control function network element or by a module or unit in the policy control function network element.
- the policy control function network For convenience of description, it will be collectively referred to as the policy control function network below. Yuan.
- the method includes: the policy control function network element obtains the relay service code corresponding to the emergency service; the policy control function network element sends first configuration information to the relay terminal, and the first configuration information includes the emergency service corresponding to the relay service code.
- Relay service code
- the emergency service here can generally refer to a service type (which can be called an emergency service type), or it can refer to a specific emergency service.
- the policy control function network element configures the relay service code corresponding to the emergency service for the relay terminal, so that the relay terminal can participate in the relay discovery process of the emergency service, which is helpful for the emergency service in the relay scenario. transmission.
- the first configuration information further includes the priority of the relay service code corresponding to the emergency service.
- the policy control function network element configures multiple relay service codes including the relay service code corresponding to the emergency service, and each relay service in the multiple relay service codes for the relay terminal through the first configuration information. code priority.
- the relay terminal has established multiple connections with the remote terminal, and the multiple connections correspond to multiple relay service codes one-to-one (for example, connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 ), connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)).
- connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 )
- connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)
- the relay terminal releases some of the established connections, for example, when the relay terminal has limited transmission resources or capabilities, the relay terminal can release the connection with a lower priority of the relay service code from the multiple established connections.
- the policy control function network element sends the first configuration information to the relay terminal, including: when the relay terminal is accessed When the network supports the emergency service, the policy control function network element sends the first configuration information to the relay terminal.
- the policy control function network element when the network connected to the relay terminal supports emergency services, the policy control function network element provides the relay service code corresponding to the emergency service to the relay terminal. In other words, when the network connected to the relay terminal does not support emergency services, the policy control function network element does not provide the relay terminal with the relay service code corresponding to the emergency service, so the relay terminal does not participate in supporting emergency services.
- relay discovery process This ensures that the network accessed by the relay terminal participating in the relay discovery process of the emergency service supports the emergency service, thereby ensuring that the relay terminal selected by the remote terminal that wishes to access the emergency service can provide relay services for the emergency service. Conducive to the transmission of emergency services in relay scenarios.
- the method further includes: when at least one of the following conditions is met, the policy control function network element determines that the relay terminal The accessed network supports the emergency service: the policy control function network element receives an emergency service support indication from the access and mobility management function network element; or the policy control function network element stores or pre-configures the emergency service.
- the emergency service support indication wherein the emergency service support indication is used to indicate that the network accessed by the relay terminal supports the emergency service.
- the method further includes: the policy control function network element sending second configuration information to the remote terminal, the second configuration information Includes the relay service code corresponding to the emergency service.
- the policy control function network element configures the relay service code corresponding to the emergency service for the remote terminal.
- the second configuration information also Including the priority of the relay service code corresponding to the emergency service.
- the policy control function network element configures multiple relay service codes including the relay service code corresponding to the emergency service and each relay service in the multiple relay service codes for the remote terminal through the second configuration information. code priority.
- the remote terminal has established multiple connections with the relay terminal, and the multiple connections correspond to multiple relay service codes one-to-one (for example, connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 ), connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)).
- connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 )
- connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)
- the remote terminal releases part of the established connections, for example, when the remote terminal has limited transmission resources or capabilities, the remote terminal can release the connection with a lower priority of the relay service code from the multiple established connections. .
- the policy control function network element obtains the relay service code corresponding to the emergency service, including: the policy control function network element obtains the relay service code corresponding to the emergency service from the application function The network element obtains the relay service code corresponding to the emergency service.
- a communication method is provided.
- the method can be executed by a remote terminal or by a module or unit in the remote terminal.
- a remote terminal For convenience of description, it will be collectively referred to as the remote terminal below.
- the method includes: a remote terminal receives a first message from a first relay terminal, the first message is used for the remote device to discover the first relay terminal, and the first message includes an emergency registration indication. and/or emergency registration time information, the emergency registration indication is used to indicate that the first relay terminal is in the emergency registration state, and the emergency registration time information is used to indicate the length of time that the first relay terminal is in the emergency registration state.
- the remote terminal selects a relay terminal according to the first message; wherein the first message is a first discovery message, and the first discovery message includes a relay service code corresponding to the emergency service; Alternatively, the first message is a response message, and the response message is used to respond to a second discovery message sent by the remote terminal, where the second discovery message includes a relay service code corresponding to the emergency service.
- the remote terminal selects a more appropriate relay terminal, thereby facilitating the transmission of emergency services in relay scenarios. For example, the remote terminal preferentially selects the relay terminal in the non-emergency registration state. For another example, if all relay terminals that send discovery messages or response messages are in the emergency registration state, the remote terminal preferentially selects the relay terminal that has a longer remaining time in the emergency registration state.
- the method further includes: the remote terminal receiving second configuration information from the policy control function network element, the second configuration information including the emergency service correspondence relay service code.
- the policy control function network element configures the relay service code corresponding to the emergency service for the remote terminal.
- the second configuration information further includes the priority of the relay service code corresponding to the emergency service
- the method further includes: The remote terminal maintains or releases the connection between the remote terminal and the relay terminal according to the priority of the relay service code corresponding to the emergency service, and the connection is used to transmit the emergency service.
- the policy control function network element configures multiple relay service codes including the relay service code corresponding to the emergency service and each relay service in the multiple relay service codes for the remote terminal through the second configuration information. code priority.
- the remote terminal has established multiple connections with the relay terminal, and the multiple connections correspond to multiple relay service codes one-to-one (for example, connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 ), connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)).
- connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 )
- connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)
- the remote terminal releases part of an established connection, e.g. When the transmission resources or capabilities of the remote terminal are limited, the remote terminal can release the connection with a lower priority of the relay service code from the multiple established connections.
- a communication method is provided.
- the method can be executed by a relay terminal or by a module or unit in the relay terminal.
- a relay terminal For convenience of description, it will be collectively referred to as the relay terminal below.
- the method includes: a relay terminal generating a first message, the relay terminal is in an emergency registration state, the first message includes an emergency registration indication and/or emergency registration time information, the emergency registration indication is used to indicate the The relay terminal is in the emergency registration state, and the emergency registration time information is used to indicate the duration or remaining duration of the relay terminal in the emergency registration state; the relay terminal sends the first message, and the first message is The remote terminal discovers the relay terminal; wherein the first message is a first discovery message, and the first discovery message includes a relay service code corresponding to the emergency service; or the first message is a response message , the response message is used to respond to a second discovery message from the remote terminal, where the second discovery message includes a relay service code corresponding to the emergency service.
- the remote terminal selects a more appropriate relay terminal, thereby facilitating the transmission of emergency services in relay scenarios. For example, the remote terminal preferentially selects the relay terminal in the non-emergency registration state. For another example, if all relay terminals that send discovery messages or response messages are in the emergency registration state, the remote terminal preferentially selects the relay terminal that has a longer remaining time in the emergency registration state.
- the method further includes: the relay terminal receiving first configuration information from the policy control function network element, where the first configuration information includes the emergency service correspondence relay service code.
- the policy control function network element configures the relay service code corresponding to the emergency service for the relay terminal.
- the first configuration information further includes the priority of the relay service code corresponding to the emergency service
- the method further includes: The relay terminal maintains or releases a connection between the relay terminal and the remote terminal according to the priority of the relay service code corresponding to the emergency service, and the connection is used to transmit the emergency service.
- the policy control function network element configures multiple relay service codes including the relay service code corresponding to the emergency service, and each relay service in the multiple relay service codes for the relay terminal through the first configuration information. code priority.
- the relay terminal has established multiple connections with the remote terminal, and the multiple connections correspond to multiple relay service codes one-to-one (for example, connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 ), connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)).
- connection 1 corresponds to relay service code 1 (the context of connection 1 includes relay service code 1 )
- connection 2 corresponds to relay service code 2 (the context of connection 2 includes relay service code 2)
- the relay terminal releases some of the established connections, for example, when the relay terminal has limited transmission resources or capabilities, the relay terminal can release the connection with a lower priority of the relay service code from the multiple established connections.
- the method further includes: the relay terminal receiving a direct communication request message from the remote terminal, the direct communication request The message is used to request the establishment of a direct communication connection, and the direct communication connection is used to transmit the emergency service; the relay terminal sends a second message to the access and mobility management function network element, and the second message is used to request Authorize the remote terminal to access the emergency service; the relay terminal receives an authorization result from the access and mobility management function network element; if the authorization result indicates that the remote terminal is authorized to access the emergency service, If the emergency service is successful, the relay terminal sends a direct communication acceptance message to the remote terminal; or, if the authorization result indicates that authorizing the remote terminal to access the emergency service fails, Then, the relay terminal sends a direct communication rejection message to the remote terminal.
- the relay terminal determines whether the network authorizes the remote terminal to access the emergency service.
- the relay terminal establishes the connection with the remote terminal. connections between remote terminals to provide emergency service relay services for remote terminals. This helps prevent unauthorized remote terminals from accessing emergency services.
- the method further includes: the relay terminal receiving the second discovery message from the remote terminal; The relay terminal sends a second message to the access and mobility management function network element, where the second message is used to request authorization of the remote terminal to access the emergency service; the relay terminal receives data from the access and mobility management function network element.
- the authorization result of the mobility management function network element the relay terminal sends a first message, including: when the authorization result indicates that the remote terminal is authorized to access the emergency service successfully, the relay terminal sends a message to the The remote terminal sends the response message.
- the relay terminal determines whether the network authorizes the remote terminal to access the emergency service. If the network authorizes the remote terminal to access the emergency service successfully, , sending a response message to the second discovery message. This helps prevent unauthorized remote terminals from accessing emergency services.
- the method further includes: the relay terminal sending first information to the access and mobility management function network element, and the third A piece of information is used to instruct the relay terminal that the relay service is used for emergency services, or the first information is used to instruct the relay terminal to provide emergency services for remote terminals.
- the relay terminal reports to the access and mobility management function network element that the relay terminal is in a state of providing relay services for emergency services or that the relay terminal provides emergency services for remote terminals to facilitate access and mobility.
- the network element with the sexual management function does not impose restrictions on access management or mobility management of relay terminals.
- relay terminals can provide relay services in non-permitted areas.
- the access and mobility management function network element stores the first information in the context of the relay terminal.
- the first information may be carried in a service request (service request) message, a PDU session establishment (PDU session establishment) message or a registration (registration) message.
- service request service request
- PDU session establishment PDU session establishment
- registration registration
- the access and mobility management function network element selects a session management function network element that can provide emergency services according to the first information, or the access and mobility management function network element provides a session management function to the session management function network element.
- the network element sends the first information.
- the session management function network element selects a user plane function that can provide emergency services based on the first information. network element.
- the party further includes: the relay terminal sending second information to the access and mobility management function network element, wherein: The second information is used to instruct the relay terminal to cancel the emergency service provided by the remote terminal, or the second information is used to instruct the relay terminal not to provide the emergency service for the remote terminal.
- the relay terminal reports to the access and mobility management function network element that the relay terminal is not in a state of providing relay services for emergency services or that the relay terminal does not provide emergency services for remote terminals in order to facilitate access. and mobility management function network elements impose access management or mobility management restrictions on relay terminals.
- the access and mobility management function network element deletes the first information from the context of the relay terminal.
- the relay terminal sends the second information to the access and mobility management function network element, including: after the relay terminal releases a connection for transmitting emergency services, the relay terminal sends the second information to the access and mobility management function network element.
- the access and mobility management function network element sends the second information, or, if the relay terminal no longer has a connection for transmitting emergency services, the relay terminal sends a request to the access and mobility management function The network element sends the second information.
- the method further includes: the relay terminal receiving a seventh message from the remote terminal, and the seventh message is Upon requesting to establish a connection with the relay terminal, the connection is used to transmit emergency services; after receiving the seventh message, if the relay terminal does not have an emergency PDU session, the relay terminal Requests the establishment of an emergency PDU session. In addition, if the relay terminal has established an emergency PDU session, the relay terminal may not request to establish an emergency PDU session.
- connection is a direct communication connection
- seventh message is a direct communication request message
- a communication method is provided.
- the method can be executed by an application function network element or by a module or unit in the application function network element.
- the application function network element For convenience of description, it will be collectively referred to as the application function network element below.
- the method includes: applying the function network element to determine the relay service code corresponding to the emergency service; and the application function network element sending the relay service code corresponding to the emergency service to the policy control function network element.
- a sixth aspect provides a communication device, which is used to perform the method provided by any of the above aspects or its implementation.
- the device may include units and/or modules, such as a processing unit and/or a communication unit, for executing the method provided by any of the above aspects or implementations thereof.
- the device is a relay terminal, a policy control function network element, a remote terminal or an application function network element.
- the communication unit may be a transceiver, or an input/output interface, or a communication interface; the processing unit may be at least one processor .
- the transceiver is a transceiver circuit.
- the input/output interface is an input/output circuit.
- the device is a chip, chip system or circuit used in a relay terminal, a policy control function network element, a remote terminal or an application function network element.
- the communication unit may be an input/output on the chip, chip system or circuit Interface, interface circuit, output circuit, input circuit, pin or related circuit, etc.; the processing unit can be at least one processor, processing circuit or logic circuit, etc.
- a seventh aspect provides a communication device, which includes: a memory for storing programs; at least one processor for executing computer programs or instructions stored in the memory to execute any one of the above aspects or the implementation provided by them. method.
- the device is a relay terminal, a policy control function network element, a remote terminal or an application function network element.
- the device is a chip, chip system or circuit used in a relay terminal, a policy control function network element, a remote terminal or an application function network element.
- a communication device in an eighth aspect, includes: at least one processor and a communication interface.
- the at least one processor is used to obtain computer programs or instructions stored in a memory through the communication interface to execute any of the above.
- the communication interface can be implemented by hardware or software.
- the device further includes the memory.
- a ninth aspect provides a processor for executing the methods provided in the above aspects.
- processor output, reception, input and other operations can be understood as processor output, reception, input and other operations.
- transmitting and receiving operations performed by the radio frequency circuit and the antenna, which is not limited in this application.
- a computer-readable storage medium stores program code for device execution.
- the program code includes a method for executing any of the above aspects or its implementation.
- a computer program product containing instructions is provided.
- the computer program product When the computer program product is run on a computer, it causes the computer to execute the method provided by any of the above aspects or its implementation.
- a chip in a twelfth aspect, includes a processor and a communication interface.
- the processor reads instructions stored in the memory through the communication interface and executes the method provided by any of the above aspects or its implementation.
- the communication interface can be implemented by hardware or software.
- the chip also includes a memory, in which computer programs or instructions are stored.
- the processor is used to execute the computer programs or instructions stored in the memory.
- the processor is used to execute Methods provided by any of the above aspects or their implementations.
- a thirteenth aspect provides a communication system, including at least one of the above relay terminal, policy control function network element, remote terminal or application function network element.
- Figure 1 is a schematic diagram of a network architecture to which the technical solution of this application can be applied.
- FIG. 2 is a schematic diagram of another network architecture to which the technical solution of the present application can be applied.
- Figure 3 is a schematic flow chart of connection establishment for layer 3 relay.
- FIG. 4 is a schematic diagram of the communication method 400 provided by this application.
- FIG. 5 is a schematic diagram of the communication method 500 provided by this application.
- Figure 6 is a schematic diagram of the communication method 600 provided by this application.
- Figure 7 is a schematic diagram of the communication method 700 provided by this application.
- FIG 8 is a schematic diagram of the communication method 800 provided by this application.
- Figure 9 is a schematic structural diagram of a device provided by an embodiment of the present application.
- Figure 10 is another schematic structural diagram of a device provided by an embodiment of the present application.
- for indicating” or “instructing” may include direct indicating and indirect indicating, or “for indicating” or “instructing” may indicate explicitly and/or implicitly.
- an implicit indication may be based on the location and/or resources used for transmission; an explicit indication may be based on one or more parameters. number, and/or one or more indices, and/or one or more bit patterns it represents.
- the first, second, third, fourth and various numerical numbers are only for convenience of description and are not used to limit the scope of the embodiments of the present application. For example, distinguish different fields, different information, etc.
- Pre-definition can be achieved by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in devices (for example, including terminals or network devices).
- devices for example, including terminals or network devices.
- saving may refer to saving in one or more memories.
- the type of memory can be any form of storage medium, and this application is not limited thereto.
- the "protocol” involved in the embodiments of this application may refer to standard protocols in the communication field, which may include, for example, long term evolution (LTE) protocols, new radio (NR) protocols, and applications in future communication systems. related agreements, this application does not limit this.
- LTE long term evolution
- NR new radio
- At least one means one or more, and “plurality” means two or more.
- “And/or” describes the association of associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural.
- the character “/” generally indicates that the related objects are in an "or” relationship.
- “At least one of the following” or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items).
- At least one of a, b and c can mean: a, or, b, or, c, or, a and b, or, a and c, or, b and c, or, a , b and c.
- a, b and c can be single or multiple respectively.
- the technical solution provided by this application can be applied to various communication systems.
- the fifth generation ( 5th generation, 5G) or NR system LTE system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) system, etc.
- the technical solution provided by this application can also be applied to non-terrestrial network (NTN) communication systems such as satellite communication systems.
- NTN non-terrestrial network
- the technical solution provided by this application can also be applied to device-to-device (D2D) communication, vehicle-to-everything (V2X) communication, machine-to-machine (M2M) communication, machine type Communication (machine type communication, MTC), and Internet of things (Internet of things, IoT) communication systems or other communication systems.
- D2D device-to-device
- V2X vehicle-to-everything
- M2M machine-to-machine
- MTC machine type Communication
- Internet of things Internet of things
- Figure 1 shows a schematic diagram of a network architecture.
- the network architecture takes the 5th generation system (5GS) as an example.
- the network architecture can include three parts, namely the user equipment (UE) part and the data network (data network).
- DN network part and the operator network part.
- the operator network may include one or more of the following network elements: (radio) access network (R)AN) equipment, user plane function (UPF) network element, Authentication server function (AUSF) network element, access and mobility management function (AMF) network element, session management function (SMF) network element, network slice selection function ( network slice selection function (NSSF) network element, network exposure function (NEF) network element, network repository function (NRF) network element, policy control function (PCF) network element, Unified data management (UDM) network element and application function (AF) network element.
- R radio access network
- UPF user plane function
- AUSF Authentication server function
- AMF access and mobility management function
- SMF session management function
- SMF session management function
- NEF network slice selection function
- NEF network exposure function
- user equipment In this application, user equipment, (wireless) access network equipment, UPF network element, AUSF network element, AMF network element, SMF network element, NSSF network element, NEF network element, NRF network element, PCF network element, UDM Network elements and AF network elements are referred to as UE, (R)AN, UPF, AUSF, UDR, AMF, SMF, NSSF, NEF, NRF, PCF, UDM, and AF respectively.
- the UE, (R)AN, UPF and DN in Figure 1 are generally called data plane network functions or entities.
- UE data can be transmitted through the PDU session established between the UE and the DN.
- the following is a brief description of each network element involved in Figure 1.
- the UE in this application may also be called terminal, user, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal equipment, wireless communication equipment, user agent Or user equipment, etc., for convenience of description, they are collectively referred to as terminals below.
- a terminal is a device that can access the network.
- the terminal and (R)AN can communicate with each other using some air interface technology (such as NR or LTE technology). Terminals can also communicate with each other using some air interface technology (such as NR or LTE technology).
- the terminal can be a mobile phone (mobile phone), tablet computer (pad), computer with wireless transceiver function, virtual reality (VR) terminal, augmented reality (AR) terminal, terminal in satellite communication, access Terminals in integrated access and backhaul (IAB) systems, terminals in WiFi communication systems, terminals in industrial control, terminals in self-driving, telemedicine ( Terminals in remote medical, terminals in smart grid, terminals in transportation safety, terminals in smart city, terminals in smart home, etc.
- the (R)AN in this application may be a device used to communicate with a terminal, or may be a device that connects the terminal to a wireless network.
- (R)AN may be a node in a wireless access network.
- (R)AN can be a base station (base station), an evolved base station (evolved NodeB, eNodeB), a transmission reception point (TRP), a home base station (for example, home evolved NodeB, or home Node B, HNB), Wi-Fi access point (AP), mobile switching center, next generation NodeB (gNB) in 5G mobile communication system, next generation NodeB (gNB) in sixth generation ( 6th generation, 6G) mobile communication system First-generation base stations, or base stations in future mobile communication systems, etc.
- the network device can also be a module or unit that completes some functions of the base station.
- RAN can be a centralized Unit (central unit, CU), distributed unit (DU), remote radio unit (RRU) or baseband unit (BBU), etc.
- R)AN can also be equipment that assumes base station functions in D2D communication systems, V2X communication systems, M2M communication systems, and IoT communication systems.
- R)AN can also be a network device in NTN, that is, (R)AN can be deployed on high-altitude platforms or satellites.
- R)AN can be a macro base station, a micro base station or an indoor station, or a relay node or a donor node.
- (R)AN does not limit the specific technology, equipment form, and name used by (R)AN.
- (R)AN will be collectively referred to as access network equipment below.
- UPF is mainly responsible for forwarding and receiving user data in the terminal.
- UPF can receive user plane data from the DN and send the user plane data to the terminal through the access network equipment.
- UPF can also receive user plane data from the terminal through the access network equipment and forward it to the DN.
- the transmission resources and scheduling functions in UPF network elements that provide services for terminals are managed and controlled by SMF.
- DN is mainly used in operator networks that provide data services to terminals.
- the Internet a third-party business network, or an IP multi-media service (IMS) network, etc.
- IMS IP multi-media service
- AMF is mainly responsible for signaling processing, such as: access control, mobility management, attachment and detachment, gateway selection and other functions.
- AMF When providing services for a session in a terminal, AMF will provide control plane storage resources for the session to store the session identifier, the SMF network element identifier associated with the session identifier, etc.
- SMF is mainly responsible for user plane network element selection, user plane network element redirection, Internet protocol (internet protocol, IP) address allocation, bearer establishment, modification and release, and quality of service (QoS) control.
- IP Internet protocol
- QoS quality of service
- NSSF is mainly responsible for network slice selection and determines the network slice instances that the terminal is allowed to access based on the terminal's slice selection auxiliary information, subscription information, etc.
- NEF mainly supports secure interaction between 3GPP networks and third-party applications.
- NRF is mainly used to store network functional entities and description information of the services they provide.
- PCF Policy and Charging Function
- UDM is mainly responsible for terminal contract data management, including the storage and management of terminal identification, terminal access authorization, etc.
- AF mainly supports interaction with the 3GPP core network to provide services, such as affecting data routing decisions, policy control functions or providing third-party services to the network.
- AF can be the AF deployed by the operator's network itself, or it can be a third-party AF.
- each network element can communicate with each other through interfaces.
- the interface between each network element can be a point-to-point interface or a service-based interface, which is not limited by this application.
- network architecture shown above is only an illustrative description, and the network architecture applicable to the embodiments of the present application is not limited thereto. Any network architecture that can realize the functions of each of the above network elements is applicable to the embodiments of the present application.
- functions or network elements such as AMF, SMF, UPF, PCF, UDM, AUSF, NSSF, NEF, NRF, and AF shown in Figure 1 can be understood as network elements used to implement different functions. For example, they can be Need to be combined into network slices. These network elements can be independent devices, or they can be integrated into the same device to implement different functions, or they can be network elements in hardware devices, software functions running on dedicated hardware, or platforms (for example, cloud The virtualization function instantiated on the platform), this application does not limit the specific form of the above network elements.
- Figure 2 shows a schematic diagram of a network architecture in a relay scenario.
- the network architecture shown in Figure 2 can be based on the 5G architecture shown in Figure 1, but is not limited thereto.
- the network architecture includes remote terminals, relay terminals, access network equipment, UPF and data networks.
- the remote terminal can also be called remote UE (remote UE) or remote terminal, which is a terminal that obtains relay services, such as watches, bracelets, augmented reality (AR) glasses/virtual reality , VR) glasses, etc.
- Relay terminals can also be called relay UEs (relay UEs), which are terminals that provide relay services, such as smartphones, customer-premises equipment (CPE), etc.
- the remote terminal can interact with the data network through relay terminals, access network equipment, and UPF.
- the remote terminal and the relay terminal can communicate through, for example, the PC5 interface.
- the relay terminal and the UPF can communicate through the PDU session of the relay terminal, where the relay terminal and the access network device can communicate through the Uu interface.
- the UPF can communicate with the data network via, for example, the N6 interface.
- indirect communication that is, the communication mode in which a remote terminal accesses the network through a relay terminal
- layer-3 relay layer-3relay, L3relay
- the relay terminal establishes a PDU session with the UPF and forwards the uplink and downlink data of the remote terminal according to IP routing.
- Figure 3 is a schematic flow chart of connection establishment for layer 3 relay.
- the remote terminal is described as remote UE, and the relay terminal is described as proximity based services (ProSe) UE-to-NW relay.
- ProSe proximity based services
- Step 1 The remote terminal and the relay terminal register with the network respectively and obtain authorization information and parameter information for D2D communication.
- the authorization information includes information indicating whether to authorize the terminal to serve as a remote terminal and access the network through the relay terminal.
- the authorization information includes information indicating whether the terminal is authorized to serve as a relay terminal and provide relay services for the remote terminal.
- Parameter information used for D2D communication includes: QoS mapping configuration, relay service code (RSC), and PDU session parameters corresponding to each RSC.
- RSC is used to identify the relay connection (such as PC5 connection).
- RSC can identify the connection service provided by the relay terminal to the remote terminal.
- RSC can identify the remote terminal.
- the PDU session parameters corresponding to RSC can include at least one of the following: PDU session type (PDU session type), data network name (data network name, DNN), session and service continuity (session and service continuity, SSC) mode (mode), Single network slice selection assistance information (S-NSSAI), or access type preference.
- Step 2 The relay terminal establishes a PDU session.
- the SMF can allocate an IP address to the relay terminal, and the relay terminal can transmit data between the relay terminal and the UPF through the PDU session.
- the PDU session may be a PDU session dedicated to relay services.
- step 2 is an optional step.
- Step 3 The remote terminal and the relay terminal execute the relay discovery process.
- the relay discovery process can be divided into two methods, namely model A (model A) and model B (model B).
- the relay terminal actively sends a discovery message (for example, an announcement message), and the remote terminal listens to and receives the discovery message, where the discovery message includes the RSC(s) of the connection service that the relay terminal can provide.
- a discovery message for example, an announcement message
- the remote terminal can match the RSC of the desired connection service with the RSC in the discovery message, and select the relay terminal with a matching RSC.
- the RSC(s) of the connection service that the relay terminal can provide may be configured by the PCF.
- the remote terminal actively sends a discovery message (for example, a solicitation message), and the relay terminal listens to and receives the discovery message, where the discovery message includes the RSC of the connection service expected by the remote terminal.
- the relay terminal can match the RSC of the connection service that can be provided with the RSC in the discovery message. If the RSC of the connection service that the relay terminal can provide matches the RSC in the discovery message, the relay terminal responds to the discovery message, That is, the relay terminal can send a response message to the remote terminal.
- the remote terminal can select a relay terminal from one or more relay terminals that send response messages.
- the remote terminal can determine the RSC of the desired connection service according to the corresponding relationship between the application and the RSC. This correspondence can be configured by PCF.
- the RSC(s) of connection services that the relay terminal can provide may be configured by the PCF.
- Step 4 The remote terminal establishes a PC5 connection with the relay terminal.
- PC5 is the interface between terminals, and the PC5 connection is used for communication between terminals.
- the relay terminal determines whether to create a new PDU session based on the corresponding relationship between RSC and PDU session parameters, that is, whether the PDU session established by the relay terminal (for example, the PDU session established in step 2) meets the session requirements of the remote terminal. . If the PDU session established by the relay terminal does not meet the session requirements of the remote terminal, the relay terminal establishes a new PDU session for the remote terminal.
- This new PDU session can be dedicated to the relay service, and its session parameters can be the relay terminal Determined based on the corresponding relationship between RSC and PDU session parameters.
- Step 5 The relay terminal allocates an IP address for PC5 communication to the remote terminal.
- Step 6 The relay terminal reports the identifier and IP information (IP information, IP info) of the remote terminal to the AMF and SMF.
- IP information IP information, IP info
- the IP information includes the address assigned by the relay terminal to the remote terminal for network-side communication.
- the IP information is a specific port number (for example, transmission control protocol (transmission control protocol, TCP)/user datagram protocol (UDP) port ( ports)), which means that the relay terminal transmits the data of the remote terminal through the IPv4 address and the specific port number.
- the IP address assigned by the SMF to the relay terminal is an IPv6 prefix
- the IP information is a longer IPv6 prefix, which means that the relay terminal transmits the data of the remote terminal through the longer IPv6 prefix.
- the relay terminal can report the identity and IP information of the remote terminal to the AMF and SMF through the PDU session modification process.
- the relay terminal can forward the uplink and downlink data of the remote terminal according to the IP address.
- the remote terminal sends data to the data network through IP3; the data network sends data to the remote terminal through IP1-1; and the relay terminal generates an association between IP3 and IP1-1.
- the relay terminal changes the IP address from IP3 to IP1-1, sends it to UPF through the PDU session corresponding to IP1, and then sends it to the data network.
- the relay terminal receives the data with IP address IP1-1 from UPF, it determines that the data belongs to the remote terminal, changes the IP address from IP-1 to IP3, and sends it to the remote terminal through the PC5 connection.
- layer 3 relay For a more detailed description of layer 3 relay, reference may be made to the prior art and will not be described in detail here.
- the PC5 connection may also be called a PC5 communication connection, a PC5 link, or a PC5 communication link.
- the PC5 connection is uniformly used below.
- the embodiments of the present application can be applied to the above-mentioned layer 3 relay scenario, and can also be applied to other relay scenarios, such as the layer 2 relay scenario, without limitation.
- layer 2 relay reference can be made to the existing technology and will not be described in detail here.
- abnormal business can be understood as business other than normal service.
- abnormal services can be emergency services, multimedia priority services (multimedia priority services) or mission critical services (mission critical services), etc., without restrictions.
- the technical solution of this application will be described below by taking abnormal business as emergency business as an example.
- business in this application can also be replaced by “service”.
- service for example, emergency business can also be described as emergency services.
- Figure 4 is a schematic diagram of the communication method 400 provided by this application.
- Method 400 may include at least part of the following.
- Step 401 The relay terminal determines that the network accessed by the relay terminal supports emergency services.
- Network may include access networks and/or core networks.
- the network supports emergency services can be understood to mean that access network equipment and/or core network elements support emergency services.
- the access network equipment and/or core network elements here may refer to all access network equipment and/or all core network equipment, or may refer to all core network elements and/or all core network elements related to the DN that provides emergency services. All access network equipment may also refer to core network elements and/or access network equipment related to the DN that provides emergency services and used to transmit emergency services for relay terminals, which is not limited by this application.
- the network supports emergency services, which can be understood as the network supports the transmission of emergency services, or the network supports the configuration or control of emergency services, or the network has the ability or resources to transmit emergency services, etc.
- the emergency service can generally refer to a service type, which can be called an emergency service type.
- the emergency service type may include one or more emergency services.
- emergency service types include emergency voice services, emergency video services, and emergency text message services.
- the network connected to the relay terminal supports the emergency service, which can be understood to mean that the network connected to the relay terminal supports any emergency service among the emergency service types.
- emergency services may also refer to a specific emergency service.
- emergency voice service emergency video service or emergency text message service.
- the network connected to the relay terminal supports the emergency service, which can be understood to mean that the network connected to the relay terminal supports a specific emergency service.
- the network connected to the relay terminal supports emergency voice services.
- the method 400 before the relay terminal determines that the network accessed by the relay terminal supports the emergency service, the method 400 further includes: the relay terminal determines that the first message includes a relay service code corresponding to the emergency service.
- the relay terminal may determine whether the network accessed by the relay terminal supports the emergency service. If the relay service code included in the first message does not correspond to the emergency service, the relay terminal may not determine whether the network accessed by the relay terminal supports the emergency service.
- the relay terminal determine whether the network to which the relay terminal is connected supports emergency services, which are not limited.
- the relay terminal determines that the network accessed by the relay terminal supports emergency services when at least one of the following conditions is met: the relay terminal receives an emergency service support indication from the AMF or access network device ( emergency services support indicator), the relay terminal stores emergency service support indicators, or the relay terminal has established an emergency PDU session.
- the relay terminal determines that the network connected to the relay terminal does not support emergency services when none of the following conditions are met: the relay terminal receives an emergency service support indication from the AMF or access network equipment, The relay terminal stores an emergency service support indication, or the relay terminal has established an emergency PDU session.
- the emergency service support indication is used to indicate that the network accessed by the relay terminal supports emergency services.
- the "emergency PDU session” here can be understood as a PDU session used to transmit emergency services, or it can also be understood as a PDU session corresponding to the emergency data network name (data network name, DNN).
- the relay terminal is a layer 3 relay terminal or a layer 2 relay terminal.
- Step 402 The relay terminal sends the first message to the remote terminal.
- the remote terminal receives the first message from the relay terminal.
- the first message is used for the remote terminal to discover the relay terminal.
- the first message is a first discovery message, where the first discovery message includes an RSC corresponding to the emergency service.
- the first message is the first discovery message.
- the description of the relay discovery process of Mode A can refer to the relevant description in Figure 3, which will not be used here. Again.
- the first message is a response message, where the response message is used to respond to a second discovery message from the remote terminal, and the second discovery message includes a relay service code corresponding to the emergency service.
- the first message is a response message, and the relay discovery process of Mode B
- the relay discovery process of Mode B The description of can refer to the relevant description in Figure 3 and will not be repeated here.
- the RSC corresponding to the emergency service can also be described as the RSC used for emergency services, or the RSC used for emergency services, etc.
- the RSC corresponding to emergency services can also have different meanings.
- the RSC corresponding to the emergency service refers to the RSC corresponding to the emergency service type.
- services belonging to the emergency service type correspond to the same RSC.
- the emergency service type includes emergency voice service, emergency video service and emergency SMS service
- the RSC corresponding to the emergency voice service, emergency video service and emergency SMS service is the same.
- the RSC corresponding to the emergency service may also refer to the RSC corresponding to the specific emergency service.
- different services belonging to the emergency service type may correspond to the same or different RSCs.
- the emergency service type includes emergency voice service, emergency video service and emergency SMS service
- the emergency voice service corresponds to RSC1
- the emergency video service corresponds to RSC2
- the emergency SMS service corresponds to RSC3
- the emergency voice service corresponds to RSC1
- Emergency video services and emergency SMS services correspond to RSC2 and are not restricted.
- the first message when the relay terminal is in the emergency registration state, includes the emergency registration indication and/or emergency registration time information.
- the emergency registration indication is used to indicate that the relay terminal is in an emergency registration state.
- the emergency registration time information is used to indicate at least one of the length of time the relay terminal is in the emergency registration state, the remaining time the relay terminal is in the emergency registration state, or the length of time the relay terminal has been in the emergency registration state.
- the length of time that the relay terminal is in the emergency registration state can be understood as the total time that the relay terminal can maintain the emergency registration state.
- the total time the relay terminal can maintain the emergency registration state is 5s
- the remaining time the relay terminal is in the emergency registration state is 3s
- the time the relay terminal has been in the emergency registration state is 2s
- the emergency registration time information can indicate 5s, At least one of 3s or 2s.
- the terminal will carry the registration type in the registration request message.
- Emergency registration is one of the registration types. Therefore, the relay terminal is in the emergency registration state. It can be understood that the relay terminal is in the emergency registration state. in process.
- the method 400 further includes: the relay terminal generates or determines the first message.
- Step 403 The remote terminal selects a relay terminal according to the first message.
- the remote terminal receives one or more first messages and selects a relay terminal from the relay terminals that sent the one or more first messages.
- the one or more first messages received by the remote terminal include a first message from the first relay terminal, and the first message from the first relay terminal includes an emergency registration indication and/or emergency registration.
- Time information when the remote terminal selects the relay terminal from the relay terminals that send the one or more first messages, consider that the first message from the first relay terminal includes emergency registration indication and/or emergency registration time information .
- the emergency registration indication is used to indicate that the first relay terminal is in an emergency registration state.
- the emergency registration time information is used to indicate at least one of the duration of the first relay terminal being in the emergency registration state, the remaining duration of the first relay terminal being in the emergency registration state, or the duration of the first relay terminal being in the emergency registration state.
- the remote terminal preferentially selects the relay terminal in the non-emergency registration state.
- the remote terminal preferentially selects the relay terminal that is in the emergency registration state with a longer remaining time.
- the first relay terminal may be one relay terminal or multiple relay terminals.
- step 401 and step 402 is not limited.
- step 401 is performed before step 402, that is, after determining that the network accessed by the relay terminal supports the emergency service, the relay terminal sends the first message to the remote terminal.
- the relay terminal determines that the network accessed by the relay terminal supports the emergency service
- the relay terminal sends the first message to the remote terminal.
- the relay terminal determines that the network accessed by the relay terminal supports emergency services
- the relay terminal sends a first discovery message to the remote terminal.
- the relay terminal may not send the first discovery message to the remote terminal, or the relay terminal may send the first discovery message to the remote terminal. , but the first discovery message does not carry the RSC corresponding to the emergency service.
- the relay terminal determines that the network accessed by the relay terminal supports emergency services, and also determines that other conditions are met (for example, the RSC of the connection service that the relay terminal can provide and the discovery message received from the remote terminal RSC matches, etc.), the relay terminal sends the first message to the remote terminal. For example, in the relay discovery process in Mode B, if the relay terminal determines that the network accessed by the relay terminal supports emergency services, and the RSC of the connection service that the relay terminal can provide is consistent with the discovery message received from the remote terminal, If the RSC matches, the relay terminal sends a response message of the second discovery message to the remote terminal.
- the relay terminal determines that the network accessed by the relay terminal supports emergency services, and also determines that other conditions are met (for example, the RSC of the connection service that the relay terminal can provide and the discovery message received from the remote terminal RSC matches, etc.
- the relay terminal will not participate in the relay discovery process of emergency services when the network to which the relay terminal is connected does not support emergency services. This is possible only when the network to which the relay terminal is connected supports emergency services. Participate in the relay discovery process of emergency services (for example, send a first discovery message to the remote terminal, or respond to a second discovery message sent by the remote terminal).
- the relay terminal may also determine whether the network authorizes the remote terminal to access the emergency service, so as to prevent unauthorized remote terminals from accessing the emergency service.
- "access emergency service” can also be replaced by “use emergency service” or “acquire emergency service”, etc.
- One possible implementation manner is that during the process of establishing a connection with the remote terminal, the relay terminal determines whether the network authorizes the remote terminal to access the emergency service.
- method 400 further includes: the remote terminal sends a third message to the relay terminal, and accordingly, the relay terminal receives a third message from the remote terminal, where the third message is used to request establishment and relaying.
- the connection between terminals is used to transmit emergency services; after receiving the third message, the relay terminal sends the second message to the AMF, and accordingly, the AMF receives the second message from the relay terminal, where the second The message is used to request authorization of the remote terminal to access the emergency service; after receiving the second message, the AMF sends the authorization result to the relay terminal.
- the relay terminal receives the authorization result from the AMF; if the authorization result indicates that the remote terminal is authorized If the terminal successfully accesses the emergency service, the relay terminal sends the fifth message to the remote terminal.
- the remote terminal receives the fifth message from the relay terminal, where the fifth message includes information indicating that the connection is successfully established. , or if the authorization result indicates that authorizing the remote terminal to access the emergency service fails, the relay terminal sends the sixth message to the remote terminal.
- the remote terminal receives the sixth message from the relay terminal, wherein, the sixth message The message includes information indicating that connection establishment failed.
- the sixth message also includes a cause value, and the cause value is authorization failure.
- connection between the remote terminal and the relay terminal is a direct communication connection
- the third message is a direct communication request (direct communication request, DCR) message
- the fifth message is a direct communication accept (direct communication accept) message
- the sixth message is a direct communication reject message.
- the second message and the fourth message are authorization request messages, and the authorization result is carried in the authorization response message.
- the relay terminal determines whether the network authorizes the remote terminal to access the emergency service. It should be noted that this application does not limit the order in which the relay terminal determines whether the network accessed by the relay terminal supports emergency services and determines whether the network authorizes the remote terminal to access emergency services.
- method 400 further includes: the remote terminal sends a second discovery message to the relay terminal, and accordingly, the relay terminal receives the second discovery message from the remote terminal, where the second discovery message includes the emergency service corresponding RSC; after receiving the second discovery message, the relay terminal sends the second message to the AMF.
- the AMF receives the second message from the relay terminal, where the second message is used to request authorization of the remote terminal to access the emergency Service; after receiving the second message, the AMF sends the authorization result to the relay terminal, and accordingly, the relay terminal receives the authorization result from the AMF.
- Step 401 may specifically include: when the authorization result indicates that the remote terminal is authorized to access the emergency service successfully, the relay terminal performs step 401.
- the relay terminal may not perform step 401.
- the relay terminal after receiving the second discovery message from the remote terminal, the relay terminal first determines whether the network authorizes the remote terminal to access the emergency service. If the network successfully authorizes the remote terminal to access the emergency service, it further determines whether the network authorizes the remote terminal to access the emergency service. Whether the network connected to the relay terminal supports emergency services. Subsequently, the relay terminal sends or does not send a response message to the second discovery message according to whether the network to which the relay terminal is connected supports the emergency service. Of course, the relay terminal may also consider other factors when determining whether to send a response message to the second discovery message, such as whether the RSC matches.
- method 400 further includes: the remote terminal sends a second discovery message to the relay terminal, and accordingly, the relay terminal receives the second discovery message from the remote terminal, where the second discovery message includes the emergency service response RSC; after receiving the second discovery message, the relay terminal determines whether the network connected to the relay terminal supports the emergency service; if the network connected to the relay terminal supports the emergency service, the relay terminal sends the third discovery message to the AMF.
- the AMF receives the second message from the relay terminal, where the second message is used to request authorization of the remote terminal to access the emergency service; after receiving the second message, the AMF sends the authorization result to the relay terminal , correspondingly, the relay terminal receives the authorization result from the AMF.
- Step 402 may specifically include: when the authorization result indicates that the remote terminal is successfully authorized to access the emergency service, the relay terminal sends a response message of the second discovery message to the remote terminal. In addition, when the authorization result indicates that authorizing the remote terminal to access the emergency service fails, the relay terminal may not send a response message to the second discovery message to the remote terminal. Of course, the relay terminal may also consider other factors when determining whether to send a response message to the second discovery message, such as whether the RSC matches.
- the relay terminal may not send the second message to the AMF.
- the relay terminal after receiving the second discovery message from the remote terminal, the relay terminal first determines whether the network connected to the relay terminal supports emergency services. If the network connected to the relay terminal supports emergency services, , to further determine whether the network authorizes the remote terminal to access emergency services. Subsequently, the relay terminal determines whether the network authorizes the remote terminal to access emergency Business, send or not send a response message to the second discovery message.
- method 400 further includes: the remote terminal sends a second discovery message to the relay terminal, and accordingly, the relay terminal receives the second discovery message from the remote terminal, where the second discovery message includes the emergency service response RSC; after receiving the second discovery message, the relay terminal determines whether the network accessed by the relay terminal supports emergency services, and sends a second message to the AMF, where the second message is used to request authorization for the remote terminal to access Enter the emergency service; after receiving the second message, the AMF sends the authorization result to the relay terminal, and accordingly, the relay terminal receives the authorization result from the AMF.
- Step 402 may specifically include: when the network accessed by the relay terminal supports the emergency service and the authorization result indicates that the remote terminal is authorized to access the emergency service successfully, the relay terminal sends a response message of the second discovery message to the remote terminal.
- the relay terminal may also consider other factors when determining whether to send a response message to the second discovery message, such as whether the RSC matches.
- the relay terminal may not send a response message to the second discovery message to the remote terminal.
- the relay terminal determines whether the network accessed by the relay terminal supports the emergency service and determines whether the network authorizes the remote terminal to access the emergency service. Subsequently, the relay terminal comprehensively considers factors such as whether the network to which the relay terminal is connected supports emergency services and whether the network authorizes the remote terminal to access emergency services, so as to send or not send a response message to the second discovery message.
- the method 400 further includes: before the AMF sends the authorization result to the relay terminal, the AMF obtains the authorization result, where the authorization result is used to indicate success or failure in authorizing the remote terminal to access the emergency service.
- the AMF obtains the authorization result from the authorized network element. Specifically, the AMF sends the fourth message to the authorized network element.
- the authorized network element receives the fourth message from the AMF, where the fourth message is used to request authorization of the remote terminal to access the emergency service; the authorized network element sends to the AMF Authorization result.
- the AMF receives the authorization result from the authorized network element.
- the authorized network element can be UDM, PCF or AUSF, etc.
- method 400 further includes: the remote terminal sends a seventh message to the relay terminal, and accordingly, the relay terminal receives a seventh message from the remote terminal, where the seventh message is used to request establishment of a connection with the relay terminal.
- the connection between the two is used to transmit emergency services; after receiving the seventh message, if the relay terminal does not have an emergency PDU session, the relay terminal requests to establish an emergency PDU session. If the relay terminal has established an emergency PDU session , then the relay terminal may not request to establish an emergency PDU session.
- connection between the remote terminal and the relay terminal is a direct communication connection
- the seventh message is a direct communication request message
- the seventh message and the third message may be the same message or different messages, without limitation.
- the method 400 may also include: the PCF obtains the relay service code corresponding to the emergency service; the PCF sends the first configuration information to the relay terminal, and accordingly, the relay terminal receives the first configuration information from the PCF.
- Configuration information where the first configuration information includes a relay service code corresponding to the emergency service; and/or the PCF sends the second configuration information to the remote terminal, and accordingly, the remote terminal receives the second configuration information from the PCF, where , the second configuration information includes the relay service code corresponding to the emergency service. That is, the PCF configures the relay service code corresponding to the emergency service for the relay terminal and/or the remote terminal.
- the steps here only indicate that the PCF configures the relay service code corresponding to the emergency service for the relay terminal and the remote terminal.
- the PCF configures the relay service code corresponding to the emergency service for the relay terminal and the PCF is Configuring the relay service code corresponding to the emergency service is an independent process for the relay terminal and the remote terminal. During the configuration process, the PCF does not consider whether the subsequent relay terminal and the remote terminal establish a connection.
- the PCF obtains the relay service code corresponding to the emergency service, including: the PCF obtains the relay service code corresponding to the emergency service from the local or AF.
- the relay service code corresponding to the PCF's local emergency service may be preconfigured or predefined.
- the PCF When the PCF obtains the RSC corresponding to the emergency service from the AF, it can ensure that the RSCs of different public land mobile networks (PLMN) are consistent, so it can better support cross-PLMN relay services for emergency services (i.e. The relay terminal and the remote terminal access different PLMNs, and the relay terminal provides emergency service relay services to the remote terminal).
- PLMN public land mobile networks
- the first configuration information also includes the priority of the relay service code corresponding to the emergency service.
- the method 400 further includes: the relay terminal maintains or releases a connection between the relay terminal and the remote terminal according to the priority of the relay service code corresponding to the emergency service, and the connection is used to transmit the emergency service.
- the connection is used to transmit emergency services. It can be understood that the RSC included in the context of the connection corresponds to the emergency services.
- the connection can be understood as a PC5 connection.
- the PCF configures multiple RSCs including the RSC corresponding to the emergency service and the priority of each RSC in the multiple RSCs for the relay terminal through the first configuration information.
- the relay terminal has established multiple connections with the remote terminal, and the multiple connections correspond to multiple RSCs one-to-one (for example, connection 1 corresponds to RSC 1 (the context of connection 1 includes RSC 1), and connection 2 corresponds to RSC 2 ( The context of connection 2 includes RSC 2)).
- connection 1 corresponds to RSC 1 (the context of connection 1 includes RSC 1)
- connection 2 corresponds to RSC 2 ( The context of connection 2 includes RSC 2)
- the relay terminal releases some of the established connections, for example, when the relay terminal has limited transmission resources or capabilities, the relay terminal can release the lower-priority connection of the RSC from the multiple established connections.
- the second configuration information also includes the priority of the relay service code corresponding to the emergency service.
- the method 400 further includes: the remote terminal maintains or releases a connection between the relay terminal and the remote terminal according to the priority of the relay service code corresponding to the emergency service, and the connection is used to transmit the emergency service.
- the connection is used to transmit emergency services. It can be understood that the RSC included in the context of the connection corresponds to the emergency services.
- the connection can be understood as a PC5 connection.
- the PCF configures multiple RSCs including the RSC corresponding to the emergency service and the priority of each RSC in the multiple RSCs for the remote terminal through the second configuration information.
- the remote terminal and the relay terminal have established multiple connections, and the multiple connections correspond to multiple RSCs one-to-one (for example, connection 1 corresponds to RSC 1 (the context of connection 1 includes RSC 1), and connection 2 corresponds to RSC 2 ( The context of connection 2 includes RSC 2)).
- connection 1 corresponds to RSC 1 (the context of connection 1 includes RSC 1)
- connection 2 corresponds to RSC 2 ( The context of connection 2 includes RSC 2)
- the remote terminal releases some of the established connections, for example, when the transmission resources or capabilities of the relay terminal are limited, the remote terminal can release the lower priority connection of the RSC from the multiple established connections.
- method 400 further includes: the relay terminal sends first information to the AMF, and accordingly, the AMF receives the first information from the relay terminal, where the first information is used to indicate the relay terminal
- the relay service is used for emergency service (relay service for emergency service), or the first information is used to instruct the relay terminal to provide emergency services for the remote terminal.
- the relay terminal reports to the AMF that the relay terminal is in a state of providing relay services for emergency services or that the relay terminal provides emergency services for remote terminals, so that the AMF does not perform access management or movement of the relay terminals.
- Management restrictions for example, relay terminals can provide relay services for emergency services in non-allowed areas.
- the emergency service here can generally refer to a service type, or it can refer to a specific emergency service.
- the AMF stores the first information in the context of the relay terminal.
- the first information may be carried in a service request (service request) message, PDU session establishment (PDU session establishment message or registration message.
- service request service request
- PDU session establishment message PDU session establishment message or registration message.
- the first information is used to indicate that the PDU session is used to transmit emergency services.
- the AMF selects an SMF that can provide emergency services according to the first information, or the AMF sends the first information to the SMF.
- the SMF learns that the PDU session is used to transmit emergency services based on the first information, and then selects a UPF that can provide emergency services.
- method 400 further includes: the relay terminal sends second information to the AMF.
- the AMF receives the second information from the relay terminal, where the second information is used to indicate the cancellation of the relay.
- the terminal provides emergency services to the remote terminal, or the second information is used to instruct the relay terminal not to provide emergency services to the remote terminal.
- the relay terminal reports to the AMF that the relay terminal is not in a state of providing relay services for emergency services or that the relay terminal does not provide emergency services for remote terminals, so that the AMF can perform access management on the relay terminals. Or restrictions on mobile management.
- the AMF deletes the first information from the context of the relay terminal.
- the relay terminal sends the second information to the AMF.
- the relay terminal sends the second information to the AMF.
- the network connected to the relay terminal supports emergency services in method 400 can also be replaced by “the network supports emergency services”.
- the relay terminal determines whether the network accessed by the relay terminal supports emergency services.
- the PCF can also determine whether the network connected to the relay terminal supports emergency services, and when the network connected to the relay terminal supports emergency services, provide emergency services to the relay terminal.
- the corresponding RSC is described in detail below in conjunction with Figure 5.
- Figure 5 is a schematic diagram of the communication method 500 provided by this application.
- Method 500 may include at least part of the following.
- Step 501 The PCF determines that the network connected to the relay terminal supports emergency services.
- step 401 For descriptions of "network supports emergency services” and “emergency services”, please refer to step 401, which will not be described again here.
- the PCF determines that the network accessed by the relay terminal supports emergency services when at least one of the following conditions is met: the PCF receives an emergency service support indication from the AMF, or the PCF stores or pre-configures emergency services. Support instructions.
- Another possible implementation method is that the PCF determines that the network connected to the relay terminal does not support emergency services when none of the following conditions are met: the PCF receives an emergency service support indication from the AMF, or the PCF does not store or pre-configure the emergency service.
- Emergency business support instructions is also possible implementation method.
- the emergency service support indication is used to indicate that the network accessed by the relay terminal supports emergency services.
- the emergency service support indication stored or preconfigured in the PCF belongs to network capability information.
- the network capability information comes from operation administration and maintenance (OAM) network elements.
- OAM operation administration and maintenance
- Step 502 When the network connected to the relay terminal supports emergency services, the PCF sends the first configuration information to the relay terminal.
- the relay terminal receives the first configuration information from the PCF.
- the first configuration information includes the RSC corresponding to the emergency service.
- step 402 For the description of "RSC corresponding to emergency services", reference can be made to step 402, which will not be described again here.
- the method 500 also includes: the PCF obtains the relay service code corresponding to the emergency service.
- the PCF obtains the relay service code corresponding to the emergency service, including: the PCF obtains the relay service code corresponding to the emergency service from the local or AF.
- the relay service code corresponding to the PCF's local emergency service may be preconfigured or predefined.
- the PCF When the PCF obtains the RSC corresponding to the emergency service from the AF, it can ensure that the RSCs of different PLMNs are consistent, so it can better support cross-PLMN relay services for emergency services (that is, relay terminals and remote terminals access different PLMNs) , the relay terminal provides emergency service relay services to the remote terminal).
- emergency services that is, relay terminals and remote terminals access different PLMNs
- the PCF configures the relay service code corresponding to the emergency service for the relay terminal so that the relay terminal can participate in the relay discovery process of the emergency service.
- Step 503 The relay terminal sends the first message to the remote terminal.
- the remote terminal receives the first message from the relay terminal.
- the first message is used for the remote terminal to discover the relay terminal.
- the first message is a first discovery message, where the first discovery message includes an RSC corresponding to the emergency service.
- the first message is the first discovery message.
- the description of the relay discovery process of Mode A can refer to the relevant description in Figure 3, which will not be repeated here. Repeat.
- the first message is a response message, where the response message is used to respond to a second discovery message from the remote terminal, and the second discovery message includes a relay service code corresponding to the emergency service.
- the first message is a response message.
- the description of the relay discovery process in Mode B may refer to the relevant description in Figure 3, which will not be described again here.
- the first message when the relay terminal is in the emergency registration state, includes the emergency registration indication and/or emergency registration time information.
- the emergency registration indication is used to indicate that the relay terminal is in an emergency registration state.
- the emergency registration time information is used to indicate at least one of the length of time the relay terminal is in the emergency registration state, the remaining time the relay terminal is in the emergency registration state, or the length of time the relay terminal has been in the emergency registration state.
- the length of time that the relay terminal is in the emergency registration state can be understood as the total time that the relay terminal can maintain the emergency registration state.
- the total time the relay terminal can maintain the emergency registration state is 5s
- the remaining time the relay terminal is in the emergency registration state is 3s
- the time the relay terminal has been in the emergency registration state is 2s
- the emergency registration time information can indicate 5s, At least one of 3s or 2s.
- the terminal will carry the registration type in the registration request message.
- Emergency registration is one of the registration types. Therefore, the relay terminal is in the emergency registration state. It can be understood that the relay terminal is in the emergency registration state. in process.
- the method 500 further includes: the relay terminal generates or determines the first message.
- Step 504 The remote terminal selects a relay terminal according to the first message.
- step 504 is the same as the implementation of step 403. Please refer to the description of step 403, which will not be described again here.
- the relay terminal can also determine whether the network authorizes the remote terminal to access the emergency service. services to prevent unauthorized remote terminals from accessing emergency services.
- One possible implementation manner is that during the process of establishing a connection with the remote terminal, the relay terminal determines whether the network authorizes the remote terminal to access the emergency service.
- the method 500 further includes: the remote terminal sends a third message to the relay terminal, and accordingly, the relay terminal receives the third message from the remote terminal, where the third message is used to request establishment and relaying.
- the connection between terminals is used to transmit emergency services; after receiving the third message, the relay terminal sends the second message to the AMF, and accordingly, the AMF receives the second message from the relay terminal, where the second The message is used to request authorization of the remote terminal to access the emergency service; after receiving the second message, the AMF sends the authorization result to the relay terminal.
- the relay terminal receives the authorization result from the AMF; if the authorization result indicates that the remote terminal is authorized If the terminal successfully accesses the emergency service, the relay terminal sends the fifth message to the remote terminal.
- the remote terminal receives the fifth message from the relay terminal, where the fifth message includes information indicating that the connection is successfully established. , or if the authorization result indicates that authorizing the remote terminal to access the emergency service fails, the relay terminal sends the sixth message to the remote terminal.
- the remote terminal receives the sixth message from the relay terminal, wherein, the sixth message The message includes information indicating that connection establishment failed.
- the sixth message also includes a cause value, and the cause value is authorization failure.
- connection between the remote terminal and the relay terminal is a direct communication connection
- the third message is a direct communication request message
- the fifth message is a direct communication acceptance message
- the sixth message is a direct communication rejection message.
- the second message and the fourth message are authorization request messages, and the authorization result is carried in the authorization response message.
- the relay terminal determines whether the network authorizes the remote terminal to access the emergency service.
- the method 500 further includes: the remote terminal sends a second discovery message to the relay terminal, and accordingly, the relay terminal receives the second discovery message from the remote terminal, where the second discovery message includes the emergency service response RSC; after receiving the second discovery message, the relay terminal sends the second message to the AMF.
- the AMF receives the second message from the relay terminal, where the second message is used to request authorization of remote terminal access. Emergency service; after receiving the second message, the AMF sends the authorization result to the relay terminal, and accordingly, the relay terminal receives the authorization result from the AMF.
- Step 503 may specifically include: when the authorization result indicates that the remote terminal is successfully authorized to access the emergency service, the relay terminal sends a response message of the second discovery message to the remote terminal.
- the relay terminal may also consider other factors when determining whether to send a response message to the second discovery message, such as whether the RSC matches.
- the relay terminal may not send a response message to the second discovery message to the remote terminal.
- the method 500 further includes: before the AMF sends the authorization result to the relay terminal, the AMF obtains the authorization result, where the authorization result is used to indicate success or failure in authorizing the remote terminal to access the emergency service.
- the AMF obtains the authorization result from the authorized network element. Specifically, the AMF sends the fourth message to the authorized network element.
- the authorized network element receives the fourth message from the AMF, where the fourth message is used to request authorization of the remote terminal to access the emergency service; the authorized network element sends to the AMF Authorization result.
- the AMF receives the authorization result from the authorized network element.
- the authorized network element can be UDM, PCF or AUSF, etc.
- method 500 further includes: the remote terminal sends a seventh message to the relay terminal, and accordingly, the relay terminal receives a seventh message from the remote terminal, where the seventh message is used to request establishment of a connection with the relay terminal.
- connection between the remote terminal and the relay terminal is a direct communication connection
- the seventh message is a direct communication request message
- the seventh message and the third message may be the same message or different messages, without limitation.
- the first configuration information also includes the priority of the relay service code corresponding to the emergency service.
- the method 500 further includes: the relay terminal maintains or releases a connection between the relay terminal and the remote terminal according to the priority of the relay service code corresponding to the emergency service, and the connection is used to transmit the emergency service.
- the connection is used to transmit emergency services. It can be understood that the RSC included in the context of the connection corresponds to the emergency services.
- the connection can be understood as a PC5 connection.
- the PCF configures multiple RSCs including the RSC corresponding to the emergency service and the priority of each RSC in the multiple RSCs for the relay terminal through the first configuration information.
- the relay terminal has established multiple connections with the remote terminal, and the multiple connections correspond to multiple RSCs one-to-one (for example, connection 1 corresponds to RSC 1 (the context of connection 1 includes RSC 1), and connection 2 corresponds to RSC 2 ( The context of connection 2 includes RSC 2)).
- connection 1 corresponds to RSC 1 (the context of connection 1 includes RSC 1)
- connection 2 corresponds to RSC 2 ( The context of connection 2 includes RSC 2)
- the relay terminal releases some of the established connections, for example, when the relay terminal has limited transmission resources or capabilities, the relay terminal can release the lower-priority connection of the RSC from the multiple established connections.
- method 500 further includes: PCF sending second configuration information to the remote terminal, and accordingly, the remote terminal receives the second configuration information from PCF, where the second configuration information includes emergency services The corresponding relay service code.
- the second configuration information also includes the priority of the relay service code corresponding to the emergency service.
- method 500 further includes: the remote terminal maintains or releases a connection between the relay terminal and the remote terminal according to the priority of the relay service code corresponding to the emergency service, and the connection is used to transmit the emergency service.
- the connection is used to transmit emergency services. It can be understood that the RSC included in the context of the connection corresponds to the emergency services.
- the connection can be understood as a PC5 connection.
- the PCF configures multiple RSCs including the RSC corresponding to the emergency service and the priority of each RSC in the multiple RSCs for the remote terminal through the second configuration information.
- the remote terminal and the relay terminal have established multiple connections, and the multiple connections correspond to multiple RSCs one-to-one (for example, connection 1 corresponds to RSC 1 (the context of connection 1 includes RSC 1), and connection 2 corresponds to RSC 2 ( The context of connection 2 includes RSC 2)).
- connection 1 corresponds to RSC 1 (the context of connection 1 includes RSC 1)
- connection 2 corresponds to RSC 2 ( The context of connection 2 includes RSC 2)
- the remote terminal releases some of the established connections, for example, when the transmission resources or capabilities of the relay terminal are limited, the remote terminal can release the lower priority connection of the RSC from the multiple established connections.
- method 500 further includes: the relay terminal sends first information to the AMF, and accordingly, the AMF receives the first information from the relay terminal, where the first information is used to indicate the relay terminal
- the relay service is used for emergency services, or the first information is used to instruct the relay terminal to provide emergency services for the remote terminal.
- the relay terminal reports to the AMF that the relay terminal is in a state of providing relay services for emergency services or that the relay terminal provides emergency services for remote terminals, so that the AMF does not perform access management or movement of the relay terminals.
- Management restrictions for example, relay terminals can provide relay services for emergency services in non-permitted areas.
- the emergency service here can generally refer to a service type, or it can refer to a specific emergency service.
- the AMF stores the first information in the context of the relay terminal.
- the first information may be carried in a service request (service request) message or a PDU session establishment (PDU session establishment message or registration message.
- service request service request
- PDU session establishment message or registration message PDU session establishment message
- the first information is used to indicate that the PDU session is used to transmit emergency services.
- the AMF selects an SMF that can provide emergency services according to the first information, or the AMF sends the first information to the SMF.
- the SMF learns that the PDU session is used to transmit emergency services based on the first information, and then selects a UPF that can provide emergency services.
- method 500 further includes: the relay terminal sends second information to the AMF.
- the AMF receives the second information from the relay terminal, where the second information is used to indicate the cancellation of the relay.
- the terminal provides emergency services to the remote terminal, or the second information is used to instruct the relay terminal not to provide emergency services to the remote terminal.
- the relay terminal reports to the AMF that the relay terminal is not in a state of providing relay services for emergency services or that the relay terminal does not provide emergency services for remote terminals, so that the AMF can perform access management on the relay terminals. Or restrictions on mobile management.
- the AMF deletes the first information from the context of the relay terminal.
- the relay terminal sends the second information to the AMF.
- the relay terminal sends the second information to the AMF.
- the network connected to the relay terminal supports emergency services in method 500 can also be replaced by “the network supports emergency services”.
- Example 1 the relay terminal determines a relay discovery process to participate in the emergency service according to the emergency service supported by the network to which the relay terminal is connected.
- Figure 6 is a schematic diagram of the communication method 600 provided by this application.
- Step 601 AF provides emergency service parameters to PCF.
- the emergency service parameters include the RSC corresponding to the emergency service.
- One possible implementation method is that AF provides emergency service parameters to PCF through NEF.
- the emergency service parameters provided by the AF to the PCF can ensure that the RSCs of different PLMNs are consistent, so that cross-PLMN relay services for emergency services can be better supported.
- step 601 is an optional step, and the PCF can also obtain the RSC corresponding to the emergency service through other methods.
- the RSC corresponding to the emergency service in the PCF can be predefined or preconfigured.
- Step 602 The PCF provides the RSC corresponding to the emergency service to the remote terminal.
- the PCF also provides priorities of different RSCs to the remote terminal, so that the remote terminal preferentially releases the PC5 connection corresponding to the low-priority RSC when resources are limited.
- the PC5 connection corresponding to RSC can also be understood as the PC5 connection identified by RSC.
- the "different RSCs" here are the RSCs provided by the PCF for the remote terminal, which may include RSCs corresponding to normal services and/or RSCs corresponding to emergency services.
- a possible implementation method, as shown in Figure 6, is that when the PCF provides the UE policy (UE policy) to the remote terminal, it provides the RSC corresponding to the emergency service to the remote terminal.
- the RSC corresponding to the emergency service is carried in the UE policy container (UE policy). policy container).
- Step 603 The PCF provides the RSC corresponding to the emergency service to the relay terminal.
- the PCF also provides priorities of different RSCs to the relay terminal, so that the relay terminal preferentially releases the PC5 connection corresponding to the low-priority RSC when resources are limited.
- the “different RSCs” here are the RSCs provided by the PCF for the relay terminal, which may include RSCs corresponding to normal services and/or RSCs corresponding to emergency services.
- the PCF provides the RSC corresponding to the emergency service to the relay terminal when providing the UE policy to the relay terminal.
- the RSC corresponding to the emergency service is carried in the UE policy container (UE policy container) .
- Step 604 The network notifies the relay terminal that the network supports emergency services.
- the AMF sends an emergency service support indication to the relay terminal.
- the emergency service support indication is used to indicate that the network accessed by the relay terminal supports emergency services.
- the AMF sends an emergency service support indication to the relay terminal during the registration process of the relay terminal.
- the AMF includes the emergency service support indication in the registration acceptance message (registration accept message).
- the RAN device sends an emergency service support indication to the relay terminal.
- the emergency service support indication is used to indicate that the network accessed by the relay terminal supports emergency services.
- the access network device sends an emergency service support indication to the relay terminal during the relay terminal's access to the network.
- the access network device includes emergency service support in the RRC configuration message (radio resource control configuration message) instruct.
- the access network device sends an emergency service support indication in a broadcast message, and the relay terminal receives the emergency service support indication included in the broadcast message.
- the relay terminal receives the emergency service support indication, it means that the relay terminal can establish an emergency PDU session to obtain the emergency service.
- the "emergency PDU session” here can be understood as a PDU session used to transmit emergency services, or it can also be understood as a PDU session corresponding to emergency DNN.
- step 603 and step 604 may be two independent steps, or may be merged and executed together.
- the PCF provides the RSC corresponding to the emergency service to the relay terminal through the AMF during the registration process of the relay terminal
- the AMF may simultaneously provide the RSC corresponding to the emergency service and the emergency service support indication to the relay terminal.
- the remote terminal and the relay terminal can perform the relay discovery process.
- the relay discovery process can also be divided into two modes: mode A and mode B. If the relay discovery process of Mode A is adopted, the following steps 605-606 are performed. If the relay discovery process of Mode B is adopted, the following steps 607-609 are performed.
- Step 605 The relay terminal determines that the network accessed by the relay terminal supports emergency services.
- One possible implementation manner is that when the emergency service support indication is received, the emergency service support indication is stored locally, or the emergency PDU session is established, the relay terminal determines that the network accessed by the relay terminal supports the emergency service.
- Step 606 The relay terminal actively sends a discovery message (for example, an announcement message).
- a discovery message for example, an announcement message
- the remote terminal listens and receives the discovery message.
- the discovery message carries the RSC corresponding to the emergency service.
- This discovery message may correspond to the first discovery message above.
- the discovery message also carries an emergency registration indication and/or emergency registration time information for the remote terminal to select a relay.
- the discovery message does not carry the emergency registration indication and/or emergency registration time information.
- the emergency registration indication is used to indicate that the relay terminal is in an emergency registration state.
- the terminal will carry the registration type in the registration request message.
- Emergency registration is one of the registration types. Therefore, the relay terminal In the emergency registration state, it can be understood that the relay terminal is in the process of emergency registration.
- the emergency registration time information is used to indicate at least one of the time the relay terminal is in the emergency registration state, the remaining time (left time) of the relay terminal being in the emergency registration state, or the time the relay terminal has been in the emergency registration state.
- the AMF allocates a periodic registration update timer (periodic registration update timer) to the relay terminal.
- the periodic registration update timer is the maximum value of the remaining time.
- Step 607 If the remote terminal obtains the emergency service, the remote terminal actively sends a discovery message (for example, a solicitation message).
- a discovery message for example, a solicitation message
- the relay terminal listens and receives the discovery message.
- the discovery message carries the RSC corresponding to the emergency service.
- This discovery message may correspond to the second discovery message above.
- Step 608 The relay terminal determines that the accessed network supports emergency services.
- One possible implementation manner is that when the emergency service support indication is received, the emergency service support indication is stored locally, or the emergency PDU session is established, the relay terminal determines that the network accessed by the relay terminal supports the emergency service.
- step 607 does not limit the order of step 607 and step 608.
- Step 609 If the network accessed by the relay terminal supports emergency services and the RSC of the relay terminal matches the RSC in the discovery message, the relay terminal sends a response message to the remote terminal.
- the remote terminal receives the response message from the relay terminal.
- the response message here may correspond to the response message above.
- the response message also carries an emergency registration indication and/or emergency registration time information for the remote terminal to perform relay selection.
- the response message does not carry the emergency registration indication and/or emergency registration time information.
- Step 610 The remote terminal performs relay selection.
- the remote terminal can match the expected RSC with the RSC in the discovery message, thereby selecting a relay terminal with a matching RSC from one or more relay terminals that send the discovery message, or the remote terminal can select a relay terminal with a matching RSC from the discovery message. Select the relay terminal from one or more relay terminals that send the response message.
- the relay terminal also selects the relay terminal based on the emergency registration indication and/or emergency registration time information carried in the discovery message or response message. For example, the remote terminal preferentially selects the relay terminal in the non-emergency registration state. For another example, if all relay terminals that send discovery messages or response messages are in the emergency registration state, the remote terminal preferentially selects the relay terminal that has a longer remaining time in the emergency registration state.
- Example 1 when the network accessed by the relay terminal supports emergency services, the relay terminal participates in the relay discovery process of the emergency services, including: sending the RSC corresponding to the emergency services in the discovery message, or responding with the emergency service. Discovery message of the RSC corresponding to the service, which helps to avoid the situation where the relay terminal discovered by the remote terminal does not support emergency services.
- Example 2 the PCF determines the RSC corresponding to the emergency service provided to the relay terminal according to the emergency service supported by the network accessed by the relay terminal, so that the relay terminal participates in the relay discovery process that supports the emergency service.
- Figure 7 is a schematic diagram of the communication method 700 provided by this application.
- Step 701 AF provides emergency service parameters to PCF.
- the emergency service parameters include the RSC corresponding to the emergency service.
- Step 702 The PCF provides the RSC corresponding to the emergency service to the remote terminal.
- steps 701-702 is the same as steps 601-602. Please refer to the description of steps 601-602, which will not be described again here.
- Step 703 The relay terminal registers with the network.
- the relay terminal sends a registration request message to the AMF.
- the AMF receives the registration request message from the relay terminal.
- Step 704 After receiving the registration request message, the AMF obtains the subscription information of the relay terminal from the UDM.
- the subscription information includes information indicating whether to authorize the relay terminal to serve as a relay terminal.
- Step 705 If the relay terminal is authorized to serve as the relay terminal, the AMF sends an emergency service support instruction to the PCF.
- the emergency service support indication is used to indicate that the network accessed by the relay terminal supports emergency services.
- One possible implementation method is that the AMF sends an emergency service support instruction to the PCF during the access management policy association (AM policy association).
- step 705 is an optional step.
- Step 706 The PCF determines that the network connected to the relay terminal supports emergency services.
- the PCF determines that the network accessed by the relay terminal supports the emergency service according to the emergency service support indication in step 705.
- the PCF determines that the network connected to the relay terminal supports emergency services based on locally preconfigured network capability information, where the network capability information indicates that the network connected to the relay terminal supports emergency services.
- Step 707 If the network connected to the relay terminal supports the emergency service, the PCF provides the RSC corresponding to the emergency service to the relay terminal.
- the PCF also provides priorities of different RSCs to the relay terminal, so that the relay terminal preferentially releases the PC5 connection corresponding to the low-priority RSC when resources are limited.
- the “different RSCs” here are the RSCs provided by the PCF for the relay terminal, which may include RSCs corresponding to normal services and/or RSCs corresponding to emergency services.
- the PCF provides the RSC corresponding to the emergency service to the relay terminal when providing the UE policy to the relay terminal, and the RSC corresponding to the emergency service is carried in the UE policy container.
- the remote terminal and the relay terminal can perform the relay discovery process.
- the relay discovery process can also be divided into two modes: mode A and mode B. If the relay discovery process of Mode A is adopted, the following step 708 is performed. If the relay discovery process of Mode B is adopted, the following steps 709-710 are performed.
- Step 708 The relay terminal actively sends a discovery message (for example, an announcement message).
- a discovery message for example, an announcement message
- the remote terminal listens and receives the discovery message.
- the discovery message carries the RSC corresponding to the emergency service.
- This discovery message may correspond to the first discovery message above.
- the discovery message also carries an emergency registration indication and/or emergency registration time information for the remote terminal to perform relay selection.
- the discovery message does not carry the emergency registration indication and/or emergency registration time information.
- the emergency registration indication is used to indicate that the relay terminal is in an emergency registration state.
- the emergency registration time information is used to indicate at least one of the time the relay terminal is in the emergency registration state, the remaining time (left time) of the relay terminal being in the emergency registration state, or the time the relay terminal has been in the emergency registration state.
- the AMF allocates a periodic registration update timer to the relay terminal.
- the periodic registration update timer is the maximum value of the remaining time. After the periodic registration update timer expires, the relay terminal enters Go to registration status.
- Step 709 If the remote terminal obtains the emergency service, the remote terminal actively sends a discovery message (for example, a solicitation message).
- a discovery message for example, a solicitation message
- the relay terminal listens and receives the discovery message.
- the discovery message carries the RSC corresponding to the emergency service.
- This discovery message may correspond to the second discovery message above.
- Step 710 If the RSC of the relay terminal matches the RSC in the discovery message, the relay terminal sends a response message to the remote terminal.
- the remote terminal receives the response message from the relay terminal.
- the response message also carries an emergency registration indication and/or emergency registration time information for the remote terminal to perform relay selection.
- the response message does not carry the emergency registration indication and/or emergency registration time information.
- Step 711 The remote terminal performs relay selection.
- step 711 is the same as that of step 610, and reference may be made to the description of step 610, which will not be described again here.
- Example 2 when the network accessed by the relay terminal supports the emergency service, the PCF determines to provide the RSC corresponding to the emergency service to the relay terminal. Since the PCF does not provide the RSC corresponding to the emergency service to the relay terminal when the network connected to the relay terminal does not support the emergency service, the relay terminal does not participate in the relay discovery process that supports the emergency service. This helps This avoids the situation where the relay terminal discovered by the remote terminal does not support emergency services.
- the method shown in Example 2 can simplify the judgment logic of the relay terminal.
- FIG 8 is a schematic diagram of the communication method 800 provided by this application.
- the steps in method 800 may be steps performed after the remote terminal selects the relay terminal.
- the steps in method 800 may be performed after the process of Example 1 or Example 2.
- Step 801 The remote terminal sends a direct communication request message to the relay terminal.
- the relay terminal receives the direct communication request message from the remote terminal.
- the direct communication request message includes the identifier of the remote terminal and the RSC.
- the identity of the remote terminal includes at least one of the following: user permanent identifier (SUPI), subscriber concealed identifier (SUCI), general public user identifier (GPSI), permanent device identifier (permanent equipment identifier, PEI) or (mobile subscriber international ISDN/PSTN number, MSISDN) or the application layer identifier of the remote terminal (such as user information (user information, user info)).
- SUPI user permanent identifier
- SUCI subscriber concealed identifier
- GPSI general public user identifier
- PEI permanent device identifier
- MSISDN mobile subscriber international ISDN/PSTN number
- MSISDN mobile subscriber international ISDN/PSTN number
- MSISDN mobile subscriber international ISDN/PSTN number
- MSISDN can be understood as the identity of the terminal that can be disclosed to the outside world, such as the terminal's phone number, etc.
- the RSC here is the RSC corresponding
- Step 802 After receiving the direct communication request message, the relay terminal sends an authorization request message to the AMF.
- the AMF receives the authorization request message from the relay terminal.
- the authorization request message here may be a NAS message.
- the authorization request message includes the identity of the remote terminal and the RSC.
- the authorization request message is used to request authorization for the remote terminal to access services corresponding to the RSC. If the authorization is successful (success), it means that the remote terminal can access the services corresponding to the RSC; if the authorization fails (failure), it means that the remote terminal cannot access the services corresponding to the RSC.
- the RSC here is the RSC carried in the direct communication request message.
- the relay terminal when it is determined that the RSC in the direct communication request message corresponds to the emergency service, the relay terminal sends an authorization request message to the AMF to request authorization for the remote terminal to access the service corresponding to the RSC.
- Step 803 AMF sends an authorization request message to the authorized network element.
- the authorized network element receives the authorization request message from the AMF.
- the authorization request message here includes the identity of the remote terminal and the RSC.
- the authorization request message is used to request authorization for the remote terminal to access services corresponding to the RSC.
- the RSC here is the RSC carried in the authorization request message from the AMF.
- the authorized network element can be UDM, PCF or AUSF, etc.
- Step 804 The authorized network element sends an authorization response message to the AMF.
- the AMF receives the authorization response message from the authorized network element.
- the authorization response message includes the authorization result.
- Authorization results include: authorization success or authorization failure. If the authorization result is authorization successful, it indicates that the remote terminal can access the services corresponding to the RSC; if the authorization result is authorization failure, it indicates that the remote terminal cannot access the services corresponding to the RSC.
- the authorization network element stores the subscription data of the remote terminal, and the authorization network element authorizes the remote terminal to access services corresponding to the RSC based on the subscription data of the remote terminal.
- the subscription data of the remote terminal includes: whether the remote terminal is allowed to access the emergency service, or whether the remote terminal is allowed to access the service corresponding to the RSC.
- Step 805 AMF sends an authorization response message to the relay terminal.
- the relay terminal receives the authorization response message from the AMF.
- the authorization response message includes the authorization result.
- Authorization results include: authorization success or authorization failure. If the authorization result is authorization successful, it indicates that the remote terminal can access the services corresponding to the RSC; if the authorization result is authorization failure, it indicates that the remote terminal cannot access the services corresponding to the RSC.
- Step 806 The relay terminal determines whether to establish a PC5 connection with the remote terminal based on the authorization result.
- the relay terminal determines to establish the PC5 connection with the remote terminal. If the authorization result is authorization failure, the relay terminal determines not to establish a PC5 connection with the remote terminal.
- Step 807 If it is determined that the PC5 connection with the remote terminal is established, the relay terminal sends a direct communication acceptance message to the remote terminal.
- the remote terminal receives the direct communication accept message from the relay terminal.
- Step 808 If it is determined that the PC5 connection with the remote terminal is not established, the relay terminal sends a direct communication rejection message to the remote terminal.
- the remote terminal receives the direct communication rejection message from the relay terminal.
- the direct communication rejection message includes a reason value, and the reason value is authorization failure.
- the method 800 further includes step 809.
- Step 809 The relay terminal sends the first information to the AMF.
- the AMF receives the first information from the relay terminal.
- the first information is used to indicate that the relay service of the relay terminal is used for emergency services. That is, the relay terminal informs the network The relay terminal is processing, executing or relaying emergency services.
- the first information may be carried in a service request (service request) message, a PDU session establishment (PDU session establishment) message, or a registration (registration) message.
- service request service request
- PDU session establishment PDU session establishment
- registration registration
- the method 800 when the method 800 is applied to the scenario of layer 2 relay, the method 800 may include step 809.
- the method 800 when the method 800 is applied to other relay scenarios (eg, layer 3 relay scenarios), the method 800 may also include step 809.
- the relay terminal performs step 809 in the authorization process for authorizing the remote terminal to access the emergency service (for example, as shown in FIG. 8 , step 809 may be performed after step 802).
- the relay terminal initiates step 809 after executing step 801.
- the relay terminal initiates step 809 after executing step 806.
- the relay terminal after receiving the discovery message (mode B) from the remote terminal, the relay terminal initiates step 809.
- step 809 is initiated.
- step 809 is initiated.
- Example 3 after it is determined that the remote terminal is authorized to access emergency services, the relay terminal establishes a PC5 connection with the remote terminal in order to provide the remote terminal with emergency service relay services. This helps Prevent unauthorized remote terminals from accessing emergency services.
- the device in Figure 9 or Figure 10 includes corresponding hardware structures and/or software modules for executing each function.
- the units and method steps of each example described in conjunction with the embodiments disclosed in this 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 driving the hardware depends on the specific application scenarios and design constraints of the technical solution.
- Figures 9 and 10 are schematic structural diagrams of possible devices provided by embodiments of the present application. These devices can be used to implement the functions of relay terminals, policy control function network elements, remote terminals or application function network elements in the above method embodiments, and therefore can also achieve the beneficial effects of the above method embodiments.
- the device 900 includes a transceiver unit 910 and a processing unit 920.
- the processing unit 920 is used to: determine that the network accessed by the relay terminal supports emergency services.
- the transceiver unit 910 is configured to send a first message, where the first message is used by a remote terminal to discover the relay terminal.
- the first message is a first discovery message, and the first discovery message includes a relay service code corresponding to the emergency service; or, the first message is a response message, and the response message is used to respond to the request from The second discovery message of the remote terminal includes the relay service code corresponding to the emergency service.
- the processing unit 920 is specifically configured to: determine that the network accessed by the relay terminal supports the emergency service when at least one of the following conditions is met: the relay terminal accesses the emergency service from access and mobility management
- the functional network element or access network equipment receives the emergency service support indication; the relay terminal stores the emergency service support indication; or the relay terminal has established an emergency protocol data unit PDU session.
- the emergency service support indication is used to indicate that the network accessed by the relay terminal supports the emergency service.
- the relay terminal is in an emergency registration state
- the first message includes an emergency registration indication and/or emergency registration time information
- the emergency registration indication is used to indicate that the relay terminal is in an emergency registration state
- the emergency registration time information is used to indicate the duration or remaining duration that the relay terminal is in the emergency registration state.
- the transceiver unit 910 is also configured to receive first configuration information from the policy control function network element, where the first configuration information includes the relay service code corresponding to the emergency service.
- the first configuration information also includes the priority of the relay service code corresponding to the emergency service
- the processing unit 920 is further configured to maintain or release the relay terminal and the remote connection according to the priority.
- the connection between end terminals is used to transmit the emergency service.
- the transceiver unit 910 is also configured to receive a direct communication request message from the remote terminal, the direct communication request message is used to request the establishment of a direct communication connection, and the direct communication connection is used to transmit the emergency service; Send a second message to the access and mobility management function network element, where the second message is used to request authorization of the remote terminal to access the emergency service; receive a message from the access and mobility management function network element.
- Authorization result if the authorization result indicates that the remote terminal is authorized to access the emergency service successfully, then send a direct communication acceptance message to the remote terminal; or, if the authorization result indicates that the remote terminal is authorized to access the emergency service, If access to the emergency service fails, a direct communication rejection message is sent to the remote terminal.
- the transceiver unit 910 is also configured to receive the second discovery message from the remote terminal; and send a second message to the access and mobility management function network element, where the second message is used to request authorization of all
- the remote terminal accesses the emergency service and receives an authorization result from the access and mobility management function network element.
- the processing unit 920 is specifically configured to: when the authorization result indicates that the remote terminal is successfully authorized to access the emergency service, perform the determination that the network accessed by the relay terminal supports the emergency service.
- the transceiving unit 910 is further configured to receive the second discovery message from the remote terminal. After determining that the network accessed by the relay terminal supports emergency services, the transceiver unit 910 is further configured to send a second message to the access and mobility management function network element, where the second message is used to request authorization of the remote.
- the end terminal accesses the emergency service and receives an authorization result from the access and mobility management function network element.
- the transceiver unit 910 is specifically configured to: when the authorization result indicates that the remote terminal is successfully authorized to access the emergency service, send the response message to the remote terminal.
- the transceiver unit 910 is also configured to send first information to the access and mobility management function network element, where the first information is used to indicate that the relay service of the relay terminal is used for emergency services.
- the processing unit 920 is used to: generate a first message, the relay terminal is in an emergency registration state, and the first The message includes an emergency registration indication and/or emergency registration time information, the emergency registration indication is used to indicate that the relay terminal is in an emergency registration state, and the emergency registration time information is used to indicate that the relay terminal is in an emergency registration state. duration or remaining duration.
- the transceiver unit 910 is configured to send the first message, where the first message is used by a remote terminal to discover the relay terminal.
- the first message is a first discovery message, and the first discovery message includes a relay service code corresponding to the emergency service; or, the first message is a response message, and the response message is used to respond to the request from the emergency service.
- the second discovery message of the remote terminal, the second discovery message includes the relay service code corresponding to the emergency service
- the transceiver unit 910 is also configured to receive first configuration information from the policy control function network element, where the first configuration information includes the relay service code corresponding to the emergency service.
- the first configuration information also includes the priority of the relay service code corresponding to the emergency service.
- the processing unit 920 is also configured to maintain or release a connection between the relay terminal and the remote terminal according to the priority of the relay service code corresponding to the emergency service, and the connection is used to transmit the emergency service. .
- the transceiver unit 910 is also configured to receive a direct communication request message from the remote terminal, the direct communication request message is used to request the establishment of a direct communication connection, and the direct communication connection is used to transmit the emergency service; Send a second message to the access and mobility management function network element, where the second message is used to request authorization of the remote terminal to access the emergency service; receive a message from the access and mobility management function network element.
- Authorization result if the authorization result indicates that the remote terminal is authorized to access the emergency service successfully, then send a direct communication acceptance message to the remote terminal; or, if the authorization result indicates that the remote terminal is authorized to access the emergency service, If access to the emergency service fails, a direct communication rejection message is sent to the remote terminal.
- the transceiver unit 910 is also configured to receive the second discovery message from the remote terminal; and send a second message to the access and mobility management function network element, where the second message is used to request authorization of all
- the remote terminal accesses the emergency service and receives an authorization result from the access and mobility management function network element.
- the transceiver unit 910 is specifically configured to: when the authorization result indicates that the remote terminal is successfully authorized to access the emergency service, send the response message to the remote terminal.
- the transceiver unit 910 is also configured to send first information to the access and mobility management function network element, where the first information is used to indicate that the relay service of the relay terminal is used for emergency services.
- the transceiver unit 910 or the processing unit 920 is used to obtain the relay service code corresponding to the emergency service.
- the transceiver unit 910 is configured to send first configuration information to the relay terminal, where the first configuration information includes the relay service code corresponding to the emergency service.
- the first configuration information also includes the priority of the relay service code corresponding to the emergency service.
- the transceiver unit 910 is specifically configured to: when the network to which the relay terminal is connected supports the emergency service, send the first configuration information to the relay terminal.
- the processing unit 920 is further configured to: determine that the network accessed by the relay terminal supports the emergency service when at least one of the following conditions is met: the policy control function network element switches from access and mobility to The policy control function network element receives the emergency service support indication; or the policy control function network element stores or is pre-configured with the emergency service support indication.
- the emergency service support indication is used to indicate that the network accessed by the relay terminal supports the emergency service.
- the transceiver unit 910 is also configured to send second configuration information to the remote terminal, where the second configuration information includes the relay service code corresponding to the emergency service.
- the second configuration information also includes the priority of the relay service code corresponding to the emergency service.
- the transceiver unit 910 is specifically configured to obtain the relay service code corresponding to the emergency service from the application function network element.
- the transceiving unit 910 is used to: receive a first message from the first relay terminal, the first message is used for the remote device to discover the The first relay terminal, the first message includes an emergency registration indication and/or emergency registration time information, the emergency registration indication is used to indicate that the first relay terminal is in an emergency registration state, and the emergency registration time information Used to indicate the duration or remaining duration of the first relay terminal being in the emergency registration state.
- the processing unit 920 is configured to: select a relay terminal according to the first message.
- the first message is a first discovery message, and the first discovery message includes a relay service corresponding to the emergency service. service code; or, the first message is a response message, and the response message is used to respond to a second discovery message sent by the remote terminal, where the second discovery message includes a relay service code corresponding to the emergency service.
- the transceiver unit 910 is also configured to receive second configuration information from the policy control function network element, where the second configuration information includes the relay service code corresponding to the emergency service.
- the second configuration information also includes the priority of the relay service code corresponding to the emergency service.
- the processing unit 920 is further configured to maintain or release a connection between the remote terminal and the relay terminal according to the priority of the relay service code corresponding to the emergency service, and the connection is used to transmit the emergency service. .
- the processing unit 920 is used to: determine the relay service code corresponding to the emergency service; the transceiver unit 910 is used to: send the emergency service response to the policy control function network element relay service code.
- transceiver unit 910 and processing unit 920, reference may be made to the relevant descriptions in the above-mentioned method embodiments, which will not be described again here.
- device 1000 includes processor 1010 .
- Processor 1010 is coupled to memory 1030 for storing instructions.
- the processor 1010 is used to execute instructions in the memory 1030 to implement the functions of the above-mentioned processing unit 920.
- the device 1000 further includes a memory 1030.
- the device 1000 further includes an interface circuit 1020.
- the processor 1010 and the interface circuit 1020 are coupled to each other.
- the interface circuit 1020 may be a transceiver or an input-output interface.
- the processor 1010 is used to execute instructions to realize the functions of the above-mentioned processing unit 920, and the interface circuit 1020 is used to realize the functions of the above-mentioned transceiver unit 910.
- the chip implements the functions of the relay terminal in the above method embodiment.
- the chip receives information from other modules (such as radio frequency modules or antennas) in the relay terminal, and the information is sent to the relay terminal by other devices; or, the chip sends information to other modules (such as radio frequency modules or antennas) in the relay terminal. Send information that the relay terminal sends to other devices.
- the chip when the device 1000 is a chip applied to a policy control function network element, the chip implements the functions of the policy control function network element in the above method embodiment.
- the chip receives information from other modules (such as radio frequency modules or antennas) in the policy control function network element.
- the information is sent to the policy control function network element by other devices; or, the chip sends information to other modules in the policy control function network element. (such as radio frequency module or antenna) sends information, which is sent by the policy control function network element to other devices.
- the chip implements the functions of the remote terminal in the above method embodiment.
- the chip receives information from other modules (such as radio frequency modules or antennas) in the remote terminal that are sent to the remote terminal by other devices; or, the chip sends information to other modules (such as radio frequency modules or antennas) in the remote terminal. ) sends information that is sent by the remote terminal to other devices.
- the chip when the device 1000 is a chip applied to an application function network element, the chip implements the functions of the application function network element in the above method embodiment.
- the chip receives information from other modules (such as radio frequency modules or antennas) in the application function network element, and the information is sent to the application function network element by other devices; or, the chip sends information to other modules (such as radio frequency) in the application function network element. module or antenna) to send information, which is sent to other devices by the application function network element.
- the application also provides a communication device, including a processor, the processor is coupled to a memory, the memory is used to store computer programs or instructions and/or data, and the processor is used to execute the computer programs or instructions stored in the memory, or read The data stored in the memory is used to execute the methods in the above method embodiments.
- a communication device including a processor, the processor is coupled to a memory, the memory is used to store computer programs or instructions and/or data, and the processor is used to execute the computer programs or instructions stored in the memory, or read The data stored in the memory is used to execute the methods in the above method embodiments.
- the communication device includes memory.
- the memory is integrated with the processor, or is provided separately.
- This application also provides a computer-readable storage medium on which are stored computer instructions for implementing the methods executed by the relay terminal, policy control function network element, remote terminal or application function network element in each of the above method embodiments.
- the present application also provides a computer program product that includes instructions that, when executed by a computer, implement the methods executed by relay terminals, policy control function network elements, remote terminals, or application function network elements in each of the above method embodiments.
- the present application also provides a communication system, which includes at least one of the relay terminal, policy control function network element, remote terminal or application function network element in the above embodiments.
- processor in the embodiment of the present application can be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), or application-specific integrated circuit (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
- CPU central processing unit
- DSP digital signal processor
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- a general-purpose processor can be a microprocessor or any conventional processor.
- the method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions.
- Software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory In memory, register, hard disk, mobile hard disk, compact disc read-only memory (CD-ROM) or any other form of storage medium well known in the art.
- An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to the storage medium.
- the storage medium can also be an integral part of the processor.
- the processor and storage media may be located in an ASIC.
- the ASIC can be located in a relay terminal, a policy control function network element, a remote terminal or an application function network element.
- the processor and the storage medium can also exist as discrete components in a relay terminal, a policy control function network element, a remote terminal or an application function network element.
- the computer program product includes one or more computer programs or instructions.
- the computer may be a general purpose computer, a special purpose computer, a computer network, a network device, a user equipment, or other programmable device.
- the computer program or instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another.
- the computer program or instructions may be transmitted from a website, computer, A server or data center transmits via wired or wireless means to another website site, computer, server, or data center.
- 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 data center that integrates one or more available media.
- the available media may be magnetic media, such as floppy disks, hard disks, and tapes; optical media, such as digital video optical disks; or semiconductor media, such as solid-state hard drives.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Emergency Management (AREA)
- Environmental & Geological Engineering (AREA)
- Public Health (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请提供了一种通信方法和通信装置,在该方法中,中继终端确定中继终端所接入的网络支持紧急业务;中继终端发送第一消息,第一消息用于远端终端发现中继终端;其中,第一消息为第一发现消息,第一发现消息包括紧急业务对应的中继服务码;或者,第一消息为响应消息,响应消息用于响应来自远端终端的第二发现消息,第二发现消息包括紧急业务对应的中继服务码。通过上述技术方案,可以保证参与紧急业务的中继发现流程的中继终端所接入的网络支持紧急业务,从而保证期望接入紧急业务的远端终端选择的中继终端能够为紧急业务提供中继服务,从而有助于中继场景下的紧急业务的传输。
Description
本申请要求于2022年04月26日提交中国国家知识产权局、申请号为202210443631.5、申请名称为“一种通信方法和通信装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及通信领域,并且更具体地,涉及一种通信方法和通信装置。
随着移动通信的高速发展,新业务类型(例如,视频聊天、虚拟现实(virtual reality,VR)/增强现实(augmented reality,AR)等数据业务)的普遍使用提高了用户对带宽的需求。设备到设备(device-to-device,D2D)通信允许终端之间直接进行通信,可以在小区网络的控制下与小区用户共享频谱资源,有效的提高频谱资源的利用率。
当终端处于网络覆盖之外或终端与网络之间的通信信号不好时,终端可以通过其他终端进行辅助,与网络进行通信。即通过终端与其他终端间的D2D通信、以及其他终端与网络的通信,实现终端与网络的通信。该通信场景可以称为中继场景,其中,处于网络覆盖之外或与网络之间的通信信号不好的终端可以称为远端终端,辅助远端终端与网络进行通信的终端可以称为中继终端。
目前,中继场景下的业务传输未考虑到紧急业务(emergency service)。
发明内容
本申请提供了一种通信方法和通信装置,有助于中继场景下的紧急业务的传输。
第一方面,提供了一种通信方法,所述方法可以由中继终端执行,也可以由中继终端中的模块或单元执行,为了描述方便,下文统一称为中继终端。
所述方法包括:中继终端确定所述中继终端所接入的网络支持紧急业务;所述中继终端发送第一消息,所述第一消息用于远端终端发现所述中继终端;其中,所述第一消息为第一发现消息,所述第一发现消息包括所述紧急业务对应的中继服务码;或者,所述第一消息为响应消息,所述响应消息用于响应来自所述远端终端的第二发现消息,所述第二发现消息包括所述紧急业务对应的中继服务码。
这里的紧急业务可以泛指一种业务类型(可以称之为紧急业务类型),也可以指一种特定的紧急业务。
通过上述技术方案,可以保证参与紧急业务的中继发现流程的中继终端所接入的网络支持紧急业务,从而保证期望接入紧急业务的远端终端选择的中继终端能够为紧急业务提供中继服务,从而有助于中继场景下的紧急业务的传输。
可选地,所述中继终端发送第一消息,包括:当所述中继终端所接入的网络支持所述
紧急业务时,所述中继终端发送所述第一消息。或者,换一种描述方式,在确定所述中继终端所接入的网络支持所述紧急业务之后,所述中继终端发送所述第一消息。
换句话说,中继终端在中继终端所接入的网络不支持紧急业务的情况不会参与紧急业务的中继发现流程,在中继终端所接入的网络支持紧急业务的情况下才可能参与紧急业务的中继发现流程(例如,向远端终端发送第一发现消息或者响应远端终端发送的第二发现消息)。这样可以保证参与紧急业务的中继发现流程的中继终端所接入的网络支持紧急业务。
可选地,在所述中继终端确定所述中继终端所接入的网络支持紧急业务之前,所述方法还包括:所述中继终端确定所述第一消息包括所述紧急业务对应的中继服务码。
换句话说,如果第一消息包括的中继服务码对应于紧急业务,那么中继终端可以执行确定中继终端所接入的网络是否支持紧急业务。如果第一消息包括的中继服务码不对应于紧急业务,那么中继终端可以不执行确定中继终端所接入的网络是否支持紧急业务。
结合第一方面,在一种可能的实现方式中,所述中继终端确定所述中继终端所接入的网络支持紧急业务,包括:在满足以下情况中的至少一个时,所述中继终端确定所述中继终端所接入的网络支持所述紧急业务:所述中继终端从接入和移动性管理功能网元或接入网设备接收到紧急业务支持指示;所述中继终端保存有所述紧急业务支持指示;或者,所述中继终端已建立紧急协议数据单元(protocol data unit,PDU)会话;其中,所述紧急业务支持指示用于指示所述中继终端所接入的网络支持所述紧急业务。
结合第一方面或其任一实现方式,在另一种可能的实现方式中,所述中继终端处于紧急注册状态,所述第一消息包括紧急注册指示和/或紧急注册时间信息,所述紧急注册指示用于指示所述中继终端处于紧急注册状态,所述紧急注册时间信息用于指示所述中继终端处于紧急注册状态的时长或剩余时长。
通过上述技术方案,有助于远端终端选择更合适的中继终端。例如,远端终端优先选择处于非紧急注册状态的中继终端。又例如,若发送发现消息或响应消息的所有中继终端都处于紧急注册状态,则远端终端优先选择处于紧急注册状态的剩余时长较长的中继终端。
结合第一方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述中继终端接收来自策略控制功能网元的第一配置信息,所述第一配置信息包括所述紧急业务对应的中继服务码。
即由策略控制功能网元为中继终端配置紧急业务对应的中继服务码。
结合第一方面或其任一实现方式,在另一种可能的实现方式中,所述第一配置信息还包括所述紧急业务对应的中继服务码的优先级,所述方法还包括:所述中继终端根据所述优先级,维持或释放所述中继终端与所述远端终端之间的连接,所述连接用于传输所述紧急业务。
例如,策略控制功能网元通过第一配置信息为中继终端配置了包括紧急业务对应的中继服务码在内的多个中继服务码、以及多个中继服务码中每个中继服务码的优先级。中继终端与远端终端建立了多个连接,多个连接与多个中继服务码一一对应(例如,连接1与中继服务码1对应(连接1的上下文中包括中继服务码1),连接2与中继服务码2对应(连接2的上下文中包括中继服务码2))。当中继终端释放部分已建立的连接时,例如,中继终端的传输资源或能力有限时,中继终端可以从已建立的多个连接中,释放中继服务
码的优先级较低的连接。
通过上述技术方案,有助于中继终端进行连接管理。
结合第一方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述中继终端接收来自所述远端终端的直接通信请求消息,所述直接通信请求消息用于请求建立直接通信连接,所述直接通信连接用于传输所述紧急业务;所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;若所述授权结果指示授权所述远端终端接入所述紧急业务成功,则所述中继终端向所述远端终端发送直接通信接受消息;或者,若所述授权结果指示授权所述远端终端接入所述紧急业务失败,则所述中继终端向所述远端终端发送直接通信拒绝消息。
通过上述技术方案,在与远端终端建立连接的流程中,中继终端确定网络是否授权远端终端接入紧急业务,在远端终端被授权接入紧急业务时,中继终端才建立与远端终端之间的连接,以便为远端终端提供紧急业务的中继服务。这样可以在保证期望接入紧急业务的远端终端选择的中继终端能够为紧急业务提供中继服务的同时,避免非授权的远端终端接入紧急业务。
结合第一方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述中继终端接收来自所述远端终端的所述第二发现消息;所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;所述中继终端确定所述中继终端所接入的网络支持紧急业务,包括:当所述授权结果指示授权所述远端终端接入所述紧急业务成功时,所述中继终端执行所述确定所述中继终端所接入的网络支持紧急业务。
在上述技术方案中,在接收到远端终端的第二发现消息后,中继终端先确定网络是否授权远端终端接入紧急业务,在网络授权远端终端接入所述紧急业务成功的情况下,进一步确定中继终端所接入的网络是否支持紧急业务。后续,中继终端根据中继终端所接入的网络是否支持紧急业务,发送或不发送第二发现消息的响应消息。这样可以在保证期望接入紧急业务的远端终端选择的中继终端能够为紧急业务提供中继服务的同时,避免非授权的远端终端接入紧急业务。
结合第一方面或其任一实现方式,在另一种可能的实现方式中,在所述中继终端确定所述中继终端所接入的网络支持紧急业务之前,所述方法还包括:所述中继终端接收来自所述远端终端的所述第二发现消息;在所述中继终端确定所述中继终端所接入的网络支持紧急业务之后,所述方法还包括:所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;所述中继终端发送第一消息,包括:当所述授权结果指示授权所述远端终端接入所述紧急业务成功时,所述中继终端向所述远端终端发送所述响应消息。
在上述技术方案中,在接收到远端终端的第二发现消息后,中继终端先确定中继终端所接入的网络是否支持紧急业务,在中继终端所接入的网络支持紧急业务的情况下,进一步确定网络是否授权远端终端接入紧急业务。后续,中继终端根据网络是否授权远端终端
接入紧急业务,发送或不发送第二发现消息的响应消息。这样可以在保证期望接入紧急业务的远端终端选择的中继终端能够为紧急业务提供中继服务的同时,避免非授权的远端终端接入紧急业务。
结合第一方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述中继终端向接入和移动性管理功能网元发送第一信息,所述第一信息用于指示所述中继终端的中继服务用于紧急业务,或者所述第一信息用于指示所述中继终端为远端终端提供紧急业务。
换句话说,中继终端向接入和移动性管理功能网元上报中继终端处于为紧急业务提供中继服务的状态或中继终端为远端终端提供紧急业务的状态,以便接入和移动性管理功能网元不对中继终端进行接入管理方面或移动管理方面的限定,例如,中继终端可以在非允许区域内为远端终端提供中继服务。
可选地,在接收所述第一信息后,所述接入和移动性管理功能网元在所述中继终端的上下文中储存所述第一信息。
可选地,所述第一信息可以承载在业务请求(service request)消息、PDU会话建立(PDU session establishment)消息或注册(registration)消息。
可选地,当在PDU会话建立消息承载所述第一信息时,所述第一信息用于指示PDU会话用于传输紧急业务。在此情况下,所述接入和移动性管理功能网元根据所述第一信息选择能够提供紧急业务的会话管理功能网元,或者所述接入和移动性管理功能网元向会话管理功能网元发送所述第一信息。当所述接入和移动性管理功能网元向所述会话管理功能网元发送所述第一信息时,所述会话管理功能网元根据所述第一信息选择能够提供紧急业务的用户面功能网元。
结合第一方面或其任一实现方式,在另一种可能的实现方式中,所述方还包括:所述中继终端向接入和移动性管理功能网元发送第二信息,其中,第二信息用于指示撤销所述中继终端为远端终端提供紧急业务,或者第二信息用于指示所述中继终端不为远端终端提供紧急业务。
换句话说,中继终端向接入和移动性管理功能网元上报中继终端不处于为紧急业务提供中继服务的状态或中继终端不为远端终端提供紧急业务的状态,以便接入和移动性管理功能网元对中继终端进行接入管理方面或移动管理方面的限定。
可选地,在接收所述第二信息后,所述接入和移动性管理功能网元从所述中继终端的上下文中删除所述第一信息。
可选地,所述中继终端向接入和移动性管理功能网元发送第二信息,包括:在所述中继终端释放用于传输紧急业务的连接后,所述中继终端向所述接入和移动性管理功能网元发送所述第二信息,或者,若所述中继终端不再有用于传输紧急业务的连接,则所述中继终端向所述接入和移动性管理功能网元发送所述第二信息。
结合第一方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述中继终端接收来自所述远端终端的第七消息,所述第七消息用于请求建立与所述中继终端之间的连接,所述连接用于传输紧急业务;在接收到所述第七消息后,若所述中继终端没有紧急PDU会话,则所述中继终端请求建立紧急PDU会话。此外,若所述中继终端已建立了紧急PDU会话,则所述中继终端可以不请求建立紧急PDU会话。
可选地,所述连接为直接通信连接,第七消息为直接通信请求消息。
第二方面,提供了一种通信方法,所述方法可以由策略控制功能网元执行,也可以由策略控制功能网元中的模块或单元执行,为了描述方便,下文统一称为策略控制功能网元。
所述方法包括:策略控制功能网元获取紧急业务对应的中继服务码;所述策略控制功能网元向中继终端发送第一配置信息,所述第一配置信息包括所述紧急业务对应的中继服务码。
这里的紧急业务可以泛指一种业务类型(可以称之为紧急业务类型),也可以指一种特定的紧急业务。
在上述技术方案中,由策略控制功能网元为中继终端配置紧急业务对应的中继服务码,使得中继终端可以参与紧急业务的中继发现流程,有助于中继场景下的紧急业务的传输。
结合第二方面,在一种可能的实现方式中,所述第一配置信息还包括所述紧急业务对应的中继服务码的优先级。
通过上述技术方案,有助于中继终端进行连接管理。例如,策略控制功能网元通过第一配置信息为中继终端配置了包括紧急业务对应的中继服务码在内的多个中继服务码、以及多个中继服务码中每个中继服务码的优先级。中继终端与远端终端建立了多个连接,多个连接与多个中继服务码一一对应(例如,连接1与中继服务码1对应(连接1的上下文中包括中继服务码1),连接2与中继服务码2对应(连接2的上下文中包括中继服务码2))。当中继终端释放部分已建立的连接时,例如,中继终端的传输资源或能力有限时,中继终端可以从已建立的多个连接中,释放中继服务码的优先级较低的连接。
结合第二方面或其任一实现方式,在另一种可能的实现方式中,所述策略控制功能网元向中继终端发送第一配置信息,包括:当所述中继终端所接入的网络支持所述紧急业务时,所述策略控制功能网元向中继终端发送所述第一配置信息。
通过上述技术方案,在中继终端所接入的网络支持紧急业务的情况下,策略控制功能网元才向中继终端提供紧急业务对应的中继服务码。换句话说,在中继终端所接入的网络不支持紧急业务的情况下,策略控制功能网元不向中继终端提供紧急业务对应的中继服务码,因此中继终端不参与支持紧急业务的中继发现流程。这样可以保证参与紧急业务的中继发现流程的中继终端所接入的网络支持紧急业务,从而保证期望接入紧急业务的远端终端选择的中继终端能够为紧急业务提供中继服务,从而有助于中继场景下的紧急业务的传输。
结合第二方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:在满足以下情况中的至少一个时,所述策略控制功能网元确定所述中继终端所接入的网络支持所述紧急业务:所述策略控制功能网元从接入和移动性管理功能网元接收到紧急业务支持指示;或者,所述策略控制功能网元存储或预配置有所述紧急业务支持指示;其中,所述紧急业务支持指示用于指示所述中继终端所接入的网络支持所述紧急业务。
结合第二方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述策略控制功能网元向远端终端发送第二配置信息,所述第二配置信息包括所述紧急业务对应的中继服务码。
即由策略控制功能网元为远端终端配置紧急业务对应的中继服务码。
结合第二方面或其任一实现方式,在另一种可能的实现方式中,所述第二配置信息还
包括所述紧急业务对应的中继服务码的优先级。
通过上述技术方案,有助于远端终端进行连接管理。例如,策略控制功能网元通过第二配置信息为远端终端配置了包括紧急业务对应的中继服务码在内的多个中继服务码、以及多个中继服务码中每个中继服务码的优先级。远端终端与中继终端建立了多个连接,多个连接与多个中继服务码一一对应(例如,连接1与中继服务码1对应(连接1的上下文中包括中继服务码1),连接2与中继服务码2对应(连接2的上下文中包括中继服务码2))。当远端终端释放部分已建立的连接时,例如,远端终端的传输资源或能力有限时,远端终端可以从已建立的多个连接中,释放中继服务码的优先级较低的连接。
结合第二方面或其任一实现方式,在另一种可能的实现方式中,所述策略控制功能网元获取紧急业务对应的中继服务码,包括:所述策略控制功能网元从应用功能网元获取所述紧急业务对应的中继服务码。
通过上述技术方案,可以保证不同公共陆地移动网(public land mobile network,PLMN)的中继服务码一致,因此可以更好地支持跨PLMN的用于紧急业务的中继服务。
第三方面,提供了一种通信方法,所述方法可以由远端终端执行,也可以由远端终端中的模块或单元执行,为了描述方便,下文统一称为远端终端。
所述方法包括:远端终端接收来自第一中继终端的第一消息,所述第一消息用于所述远端设备发现所述第一中继终端,所述第一消息包括紧急注册指示和/或紧急注册时间信息,所述紧急注册指示用于指示所述第一中继终端处于紧急注册状态,所述紧急注册时间信息用于指示所述第一中继终端处于紧急注册状态的时长或剩余时长;所述远端终端根据所述第一消息,选择中继终端;其中,所述第一消息为第一发现消息,所述第一发现消息包括紧急业务对应的中继服务码;或者,所述第一消息为响应消息,所述响应消息用于响应所述远端终端发送的第二发现消息,所述第二发现消息包括紧急业务对应的中继服务码。
通过上述技术方案,有助于远端终端选择更合适的中继终端,从而有助于中继场景下的紧急业务的传输。例如,远端终端优先选择处于非紧急注册状态的中继终端。又例如,若发送发现消息或响应消息的所有中继终端都处于紧急注册状态,则远端终端优先选择处于紧急注册状态的剩余时长较长的中继终端。
结合第三方面,在一种可能的实现方式中,所述方法还包括:所述远端终端接收来自策略控制功能网元的第二配置信息,所述第二配置信息包括所述紧急业务对应的中继服务码。
即由策略控制功能网元为远端终端配置紧急业务对应的中继服务码。
结合第三方面或其任一实现方式,在另一种可能的实现方式中,所述第二配置信息还包括所述紧急业务对应的中继服务码的优先级,所述方法还包括:所述远端终端根据所述紧急业务对应的中继服务码的优先级,维持或释放所述远端终端与所述中继终端之间的连接,所述连接用于传输所述紧急业务。
例如,策略控制功能网元通过第二配置信息为远端终端配置了包括紧急业务对应的中继服务码在内的多个中继服务码、以及多个中继服务码中每个中继服务码的优先级。远端终端与中继终端建立了多个连接,多个连接与多个中继服务码一一对应(例如,连接1与中继服务码1对应(连接1的上下文中包括中继服务码1),连接2与中继服务码2对应(连接2的上下文中包括中继服务码2))。当远端终端释放部分已建立的连接时,例如,
远端终端的传输资源或能力有限时,远端终端可以从已建立的多个连接中,释放中继服务码的优先级较低的连接。
通过上述技术方案,有助于远端终端进行连接管理。
第四方面,提供了一种通信方法,所述方法可以由中继终端执行,也可以由中继终端中的模块或单元执行,为了描述方便,下文统一称为中继终端。
所述方法包括:中继终端生成第一消息,所述中继终端处于紧急注册状态,所述第一消息包括紧急注册指示和/或紧急注册时间信息,所述紧急注册指示用于指示所述中继终端处于紧急注册状态,所述紧急注册时间信息用于指示所述中继终端处于紧急注册状态的时长或剩余时长;所述中继终端发送所述第一消息,所述第一消息用于远端终端发现所述中继终端;其中,所述第一消息为第一发现消息,所述第一发现消息包括紧急业务对应的中继服务码;或者,所述第一消息为响应消息,所述响应消息用于响应来自所述远端终端的第二发现消息,所述第二发现消息包括紧急业务对应的中继服务码。
通过上述技术方案,有助于远端终端选择更合适的中继终端,从而有助于中继场景下的紧急业务的传输。例如,远端终端优先选择处于非紧急注册状态的中继终端。又例如,若发送发现消息或响应消息的所有中继终端都处于紧急注册状态,则远端终端优先选择处于紧急注册状态的剩余时长较长的中继终端。
结合第四方面,在一种可能的实现方式中,所述方法还包括:所述中继终端接收来自策略控制功能网元的第一配置信息,所述第一配置信息包括所述紧急业务对应的中继服务码。
即由策略控制功能网元为中继终端配置紧急业务对应的中继服务码。
结合第四方面或其任一实现方式,在另一种可能的实现方式中,所述第一配置信息还包括所述紧急业务对应的中继服务码的优先级,所述方法还包括:所述中继终端根据所述紧急业务对应的中继服务码的优先级,维持或释放所述中继终端与所述远端终端之间的连接,所述连接用于传输所述紧急业务。
例如,策略控制功能网元通过第一配置信息为中继终端配置了包括紧急业务对应的中继服务码在内的多个中继服务码、以及多个中继服务码中每个中继服务码的优先级。中继终端与远端终端建立了多个连接,多个连接与多个中继服务码一一对应(例如,连接1与中继服务码1对应(连接1的上下文中包括中继服务码1),连接2与中继服务码2对应(连接2的上下文中包括中继服务码2))。当中继终端释放部分已建立的连接时,例如,中继终端的传输资源或能力有限时,中继终端可以从已建立的多个连接中,释放中继服务码的优先级较低的连接。
通过上述技术方案,有助于中继终端进行连接管理。
结合第四方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述中继终端接收来自所述远端终端的直接通信请求消息,所述直接通信请求消息用于请求建立直接通信连接,所述直接通信连接用于传输所述紧急业务;所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;若所述授权结果指示授权所述远端终端接入所述紧急业务成功,则所述中继终端向所述远端终端发送直接通信接受消息;或者,若所述授权结果指示授权所述远端终端接入所述紧急业务失败,
则所述中继终端向所述远端终端发送直接通信拒绝消息。
通过上述技术方案,在与远端终端建立连接的流程中,中继终端确定网络是否授权远端终端接入紧急业务,在远端终端被授权接入紧急业务时,中继终端才建立与远端终端之间的连接,以便为远端终端提供紧急业务的中继服务。这样有助于避免非授权的远端终端接入紧急业务。
结合第四方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述中继终端接收来自所述远端终端的所述第二发现消息;所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;所述中继终端发送第一消息,包括:当所述授权结果指示授权所述远端终端接入所述紧急业务成功时,所述中继终端向所述远端终端发送所述响应消息。
在上述技术方案中,在接收到远端终端的第二发现消息后,中继终端确定网络是否授权远端终端接入紧急业务,在网络授权远端终端接入所述紧急业务成功的情况下,发送第二发现消息的响应消息。这样有助于避免非授权的远端终端接入紧急业务。
结合第四方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述中继终端向接入和移动性管理功能网元发送第一信息,所述第一信息用于指示所述中继终端的中继服务用于紧急业务,或者所述第一信息用于指示所述中继终端为远端终端提供紧急业务。
换句话说,中继终端向接入和移动性管理功能网元上报中继终端处于为紧急业务提供中继服务的状态或中继终端为远端终端提供紧急业务的状态,以便接入和移动性管理功能网元不对中继终端进行接入管理方面或移动管理方面的限定,例如,中继终端可以在非允许区域内提供中继服务。
可选地,在接收所述第一信息后,所述接入和移动性管理功能网元在所述中继终端的上下文中储存所述第一信息。
可选地,所述第一信息可以承载在业务请求(service request)消息、PDU会话建立(PDU session establishment)消息或注册(registration)消息。
可选地,当在PDU会话建立消息承载所述第一信息时,所述第一信息用于指示PDU会话用于传输紧急业务。在此情况下,所述接入和移动性管理功能网元根据所述第一信息选择能够提供紧急业务的会话管理功能网元,或者所述接入和移动性管理功能网元向会话管理功能网元发送所述第一信息。当所述接入和移动性管理功能网元向所述会话管理功能网元发送所述第一信息时,所述会话管理功能网元根据所述第一信息选择能够提供紧急业务的用户面功能网元。
结合第四方面或其任一实现方式,在另一种可能的实现方式中,所述方还包括:所述中继终端向接入和移动性管理功能网元发送第二信息,其中,第二信息用于指示撤销所述中继终端为远端终端提供紧急业务,或者第二信息用于指示所述中继终端不为远端终端提供紧急业务。
换句话说,中继终端向接入和移动性管理功能网元上报中继终端不处于为紧急业务提供中继服务的状态或中继终端不为远端终端提供紧急业务的状态,以便接入和移动性管理功能网元对中继终端进行接入管理方面或移动管理方面的限定。
可选地,在接收所述第二信息后,所述接入和移动性管理功能网元从所述中继终端的上下文中删除所述第一信息。
可选地,所述中继终端向接入和移动性管理功能网元发送第二信息,包括:在所述中继终端释放用于传输紧急业务的连接后,所述中继终端向所述接入和移动性管理功能网元发送所述第二信息,或者,若所述中继终端不再有用于传输紧急业务的连接,则所述中继终端向所述接入和移动性管理功能网元发送所述第二信息。
结合第四方面或其任一实现方式,在另一种可能的实现方式中,所述方法还包括:所述中继终端接收来自所述远端终端的第七消息,所述第七消息用于请求建立与所述中继终端之间的连接,所述连接用于传输紧急业务;在接收到所述第七消息后,若所述中继终端没有紧急PDU会话,则所述中继终端请求建立紧急PDU会话。此外,若所述中继终端已建立了紧急PDU会话,则所述中继终端可以不请求建立紧急PDU会话。
可选地,所述连接为直接通信连接,第七消息为直接通信请求消息。
第五方面,提供了一种通信方法,所述方法可以由应用功能网元执行,也可以由应用功能网元中的模块或单元执行,为了描述方便,下文统一称为应用功能网元。
所述方法包括:应用功能网元确定紧急业务对应的中继服务码;所述应用功能网元向策略控制功能网元发送所述紧急业务对应的中继服务码。
通过上述技术方案,可以保证不同PLMN的中继服务码一致,因此可以更好地支持跨PLMN的用于紧急业务的中继服务。
第六方面,提供了一种通信装置,该装置用于执行上述任意一方面或其实现方式提供的方法。具体地,该装置可以包括用于执行上述任意一方面或其实现方式提供的方法的单元和/或模块,如处理单元和/或通信单元。
在一种实现方式中,该装置为中继终端、策略控制功能网元、远端终端或应用功能网元。当该装置为中继终端、策略控制功能网元、远端终端或应用功能网元时,通信单元可以是收发器,或,输入/输出接口,或者通信接口;处理单元可以是至少一个处理器。可选地,收发器为收发电路。可选地,输入/输出接口为输入/输出电路。
在另一种实现方式中,该装置为用于中继终端、策略控制功能网元、远端终端或应用功能网元中的芯片、芯片***或电路。当该装置为用于中继终端、策略控制功能网元、远端终端或应用功能网元中的芯片、芯片***或电路时,通信单元可以是该芯片、芯片***或电路上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等;处理单元可以是至少一个处理器、处理电路或逻辑电路等。
第七方面,提供了一种通信装置,该装置包括:存储器,用于存储程序;至少一个处理器,用于执行存储器存储的计算机程序或指令,以执行上述任意一方面或其实现方式提供的方法。
在一种实现方式中,该装置为中继终端、策略控制功能网元、远端终端或应用功能网元。
在另一种实现方式中,该装置为用于中继终端、策略控制功能网元、远端终端或应用功能网元中的芯片、芯片***或电路。
第八方面,提供了一种通信装置,该装置包括:至少一个处理器和通信接口,该至少一个处理器用于通过该通信接口获取存储在存储器的计算机程序或指令,以执行上述任意
一方面或其实现方式提供的方法。该通信接口可以由硬件或软件实现。
在一种实现方式中,该装置还包括该存储器。
第九方面,提供了一种处理器,用于执行上述各方面提供的方法。
对于处理器所涉及的发送和获取/接收等操作,如果没有特殊说明,或者,如果未与其在相关描述中的实际作用或者内在逻辑相抵触,那么可以理解为处理器输出和接收、输入等操作,也可以理解为由射频电路和天线所进行的发送和接收操作,本申请对此不做限定。
第十方面,提供了一种计算机可读存储介质,该计算机可读介质存储用于设备执行的程序代码,该程序代码包括用于执行上述任意一方面或其实现方式提供的方法。
第十一方面,提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述任意一方面或其实现方式提供的方法。
第十二方面,提供了一种芯片,芯片包括处理器与通信接口,处理器通过通信接口读取存储器上存储的指令,执行上述任意一方面或其实现方式提供的方法。该通信接口可以由硬件或软件实现。
可选地,作为一种实现方式,芯片还包括存储器,存储器中存储有计算机程序或指令,处理器用于执行存储器上存储的计算机程序或指令,当计算机程序或指令被执行时,处理器用于执行上述任意一方面或其实现方式提供的方法。
第十三方面,提供了一种通信***,包括上文的中继终端、策略控制功能网元、远端终端或应用功能网元中的至少一个。
图1是可以应用本申请的技术方案的一个网络架构的示意图。
图2是可以应用本申请的技术方案的另一网络架构的示意图。
图3是层3中继的建立连接的示意性流程图。
图4是本申请提供的通信方法400的示意图。
图5是本申请提供的通信方法500的示意图。
图6是本申请提供的通信方法600的示意图。
图7是本申请提供的通信方法700的示意图。
图8是本申请提供的通信方法800的示意图。
图9是本申请的实施例提供的装置的一种结构示意图。
图10是本申请的实施例提供的装置的另一结构示意图。
下面将结合附图,对本申请中的技术方案进行描述。
为便于理解本申请实施例,在介绍本申请的实施例之前,先做出以下几点说明。
在本申请中,“用于指示”或“指示”可以包括用于直接指示和用于间接指示,或者说“用于指示”或“指示”可以显式地和/或隐式地指示。例如,当描述某一信息用于指示信息I时,可以包括该信息直接指示I或间接指示I,而并不代表该信息中一定携带有I。又例如,隐式指示可以基于用于传输的位置和/或资源;显式指示可以基于一个或多个参
数,和/或一个或多个索引,和/或一个或多个它所表示的位模式。
本申请对很多特性所列出的定义仅用于以举例方式来解释该特性的功能,其详细内容可以参考现有技术。
下文示出的实施例中,第一、第二、第三、第四以及各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围。例如,区分不同的字段、不同的信息等。
“预先定义”可以通过在设备(例如,包括终端或网络设备)中预先保存相应的代码、表格或其他可用于指示相关信息的方式来实现,本申请对于其具体的实现方式不做限定。其中,“保存”可以是指,保存在一个或者多个存储器中。存储器的类型可以是任意形式的存储介质,本申请并不对此限定。
本申请实施例中涉及的“协议”可以是指通信领域的标准协议,例如可以包括长期演进(long term evolution,LTE)协议、新无线(new radio,NR)协议以及应用于未来的通信***中的相关协议,本申请对此不做限定。
本申请将围绕包括多个设备、组件、模块等的***来呈现各个方面、实施例或特征。应当理解和明白的是,各个***可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。
在本申请实施例中,“示例的”、“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。
术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b和c中的至少一项(个),可以表示:a,或,b,或,c,或,a和b,或,a和c,或,b和c,或,a、b和c。其中a、b和c分别可以是单个,也可以是多个。
本申请提供的技术方案可以应用于各种通信***。例如,第五代(5thgeneration,5G)或NR***、LTE***、LTE频分双工(frequency division duplex,FDD)***、LTE时分双工(time division duplex,TDD)***等。本申请提供的技术方案还还可以应用于卫星通信***等非陆地通信网络(non-terrestrial network,NTN)通信***。本申请提供的技术方案还可以应用于设备到设备(device to device,D2D)通信、车到万物(vehicle-to-everything,V2X)通信、机器到机器(machine to machine,M2M)通信、机器类型通信(machine type communication,MTC)、以及物联网(internet of things,IoT)通信***或者其他通信***。本申请提供的技术方案还可以应用于未来的通信***,如第六代移动通信***。
作为示例,图1示出了一种网络架构的示意图。
如图1所示,该网络架构以5G***(the 5th generation system,5GS)为例。该网络架构中可包括三部分,分别是用户设备(user equipment,UE)部分、数据网络(data network,
DN)部分和运营商网络部分。其中,运营商网络可包括以下网元中的一个或多个:(无线)接入网((radio)access network,(R)AN)设备、用户面功能(user plane function,UPF)网元、认证服务器功能(authentication server function,AUSF)网元、接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、网络切片选择功能(network slice selection function,NSSF)网元、网络开放功能(network exposure function,NEF)网元、网络功能库功能(network repository function,NRF)网元、策略控制功能(policy control function,PCF)网元、统一数据管理(unified data management,UDM)网元和应用功能(application function,AF)网元。上述运营商网络中,除RAN部分之外的部分可以称为核心网部分。
在本申请中,将用户设备、(无线)接入网设备、UPF网元、AUSF网元、AMF网元、SMF网元、NSSF网元、NEF网元、NRF网元、PCF网元、UDM网元、AF网元分别简称为UE、(R)AN、UPF、AUSF、UDR、AMF、SMF、NSSF、NEF、NRF、PCF、UDM、AF。
图1中的UE、(R)AN、UPF和DN一般被称为数据面网络功能或实体,UE的数据可以通过UE和DN之间建立的PDU会话进行传输。下面对图1中涉及的各网元进行简单描述。
1、UE
本申请中的UE也可以称为终端、用户、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端设备、无线通信设备、用户代理或用户装置等,为了描述方便,下文统一称为终端。
终端是一种可以接入网络的设备。终端与(R)AN之间可以采用某种空口技术(如NR或LTE技术)相互通信。终端与终端之间也可以采用某种空口技术(如NR或LTE技术)相互通信。终端可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、卫星通信中的终端、接入回传一化链路(integrated access and backhaul,IAB)***中的终端、WiFi通信***中的终端、工业控制(industrial control)中的终端、无人驾驶(self driving)中的终端、远程医疗(remote medical)中的终端、智能电网(smart grid)中的终端、运输安全(transportation safety)中的终端、智慧城市(smart city)中的终端、智慧家庭(smart home)中的终端等。
本申请的实施例对UE所采用的具体技术和具体设备形态不做限定。
2、(R)AN
本申请中的(R)AN可以是用于与终端通信的设备,也可以是一种将终端接入到无线网络的设备。
(R)AN可以为无线接入网中的节点。(R)AN可以是基站(base station)、演进型基站(evolved NodeB,eNodeB)、发送接收点(transmission reception point,TRP)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、Wi-Fi接入点(access point,AP)、移动交换中心、5G移动通信***中的下一代基站(next generation NodeB,gNB)、第六代(6th generation,6G)移动通信***中的下一代基站、或未来移动通信***中的基站等。网络设备还可以是完成基站部分功能的模块或单元,例如,可以是集中式
单元(central unit,CU)、分布式单元(distributed unit,DU)、射频拉远单元(remote radio unit,RRU)或基带单元(baseband unit,BBU)等。(R)AN还可以是D2D通信***、V2X通信***、M2M通信***以及IoT通信***中承担基站功能的设备等。(R)AN还可以是NTN中的网络设备,即(R)AN可以部署于高空平台或者卫星。(R)AN可以是宏基站,也可以是微基站或室内站,还可以是中继节点或施主节点等。
本申请的实施例对(R)AN所采用的具体技术、设备形态以及名称不做限定。为了描述方便,下文将(R)AN统一称为接入网设备。
3、UPF
UPF主要负责终端中的用户数据的转发和接收。例如,UPF可以从DN接收用户面数据,并通过接入网设备将用户面数据发送给终端。UPF还可以通过接入网设备从终端接收用户面数据,并转发到DN。UPF网元中为终端提供服务的传输资源和调度功能由SMF管理控制。
4、DN
DN主要用于为终端提供数据服务的运营商网络。例如,因特网(Internet)、第三方的业务网络、或IP多媒体服务业务(IP multi-media service,IMS)网络等。
5、AUSF
支持第三代合作伙伴计划(3rd generation partnership project,3GPP)和非3GPP的接入认证。
6、AMF
AMF主要负责信令处理部分,例如:接入控制、移动性管理、附着与去附着以及网关选择等功能。在为终端中的会话提供服务的情况下,AMF会为该会话提供控制面的存储资源,以存储会话标识、与会话标识关联的SMF网元标识等。
7、SMF
SMF主要负责用户面网元选择、用户面网元重定向、因特网协议(internet protocol,IP)地址分配、承载的建立、修改和释放以及服务质量(quality of service,QoS)控制等。
8、NSSF
NSSF主要负责网络切片选择,根据终端的切片选择辅助信息、签约信息等确定终端允许接入的网络切片实例。
9、NEF
NEF主要支持3GPP网络和第三方应用安全的交互。
10、NRF
NRF主要用于保存网络功能实体以及其提供服务的描述信息等。
11、PCF
PCF主要负责策略控制的决策、提供控制平面功能的策略规则、以及基于流量的计费控制功能等。
12、UDM
UDM主要负责终端的签约数据管理,包括终端标识的存储和管理、终端的接入授权等。
13、AF
AF主要支持与3GPP核心网交互来提供服务,例如影响数据路由决策、策略控制功能或者向网络提供第三方的服务。AF可是运营商网络自身部署的AF,也可以是第三方AF。
在图1所示的网络架构中,各网元之间可以接口通信。各网元之间的接口可以是点对点接口,也可以是服务化接口,本申请不予限制。
应理解,上述所示的网络架构仅是示例性说明,适用本申请实施例的网络架构并不局限于此,任何能够实现上述各个网元的功能的网络架构都适用于本申请实施例。
还应理解,图1中所示的AMF、SMF、UPF、PCF、UDM、AUSF、NSSF、NEF、NRF、AF等功能或者网元,可以理解为用于实现不同功能的网元,例如可以按需组合成网络切片。这些网元可以各自独立的设备,也可以集成于同一设备中实现不同的功能,或者可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能,本申请对于上述网元的具体形态不作限定。
还应理解,上述命名仅为便于区分不同的功能而定义,不应对本申请构成任何限定。本申请并不排除在6G网络以及未来其它的网络中采用其他命名的可能。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能采用其他名称等。
本申请提供的技术方案可以应用在远端终端通过中继终端连接网络的中继场景。
作为示例,图2示出了中继场景下的一种网络架构的示意图。图2所示的网络架构可以基于图1所示的5G架构,但不局限于此。
如图2所示,该网络架构包括远端终端、中继终端、接入网设备、UPF和数据网络。其中,远端终端也可以称为远端UE(remote UE)或远程终端,是获取中继服务的终端,例如,手表、手环、增强现实(augmented reality,AR)眼镜/虚拟现实(virtual reality,VR)眼镜等。中继终端也可以称为中继UE(relay UE),是提供中继服务的终端,例如智能手机、客户端设备(customer-premises equipment,CPE)等。远端终端可以通过中继终端、接入网设备、UPF与数据网络进行数据交互。远端终端与中继终端可以通过例如PC5接口进行通信。中继终端与UPF可以通过中继终端的PDU会话进行通信,其中,中继终端与接入网设备可以通过Uu接口进行通信。UPF可以通过例如N6接口与数据网络进行通信。
需要说明的是,本申请的实施例可以应用于图1所示的网络架构或图2所示的网络架构,但不局限于此。
为了便于理解本申请的技术方案,首先对本申请涉及的层3中继进行描述。
在5G***中,非直接通信(即远端终端通过中继终端接入网络的通信模式)支持层3中继(layer-3relay,L3relay)方式。在层3中继中,中继终端与UPF建立PDU会话,并根据IP路由转发远端终端的上下行数据。
图3是层3中继的建立连接的示意性流程图。
在层3中继场景中,远端终端描述为remote UE,中继终端描述为基于近场的服务(proximity based services,ProSe)UE-to-NW relay。为了简洁,下文仍采用远端终端和中继终端的描述方式。
步骤1,远端终端和中继终端分别注册到网络,获取授权信息和用于D2D通信的参数信息。
其中,对于远端终端来说,授权信息包括用于指示是否授权终端作为远端终端,通过中继终端接入网络的信息。对于中继终端来说,授权信息包括用于指示是否授权终端作为中继终端,为远端终端提供中继服务的信息。
用于D2D通信的参数信息包括:QoS映射配置、中继服务码(relay service code,RSC)、以及每个RSC对应的PDU会话参数。其中,RSC用于标识中继连接(例如PC5连接),对于中继终端来说,RSC可以标识中继终端提供给远端终端的连接服务,对于远端终端来说,RSC可以标识远端终端感兴趣的或期望的连接服务。RSC对应的PDU会话参数可以包括以下至少一个:PDU会话类型(PDU session type)、数据网络名称(data network name,DNN)、会话和服务连续性(session and service continuity,SSC)模式(mode)、单一网络切片选择辅助信息(single network slice selection assistance information,S-NSSAI)、或接入类型偏好(access type preference)。
步骤2,中继终端建立PDU会话。
在建立PDU会话后,SMF可以为中继终端分配IP地址,中继终端可以通过该PDU会话在中继终端与UPF之间传输数据。该PDU会话可以是专为中继服务的PDU会话。
需要说明的是,步骤2为可选步骤。
步骤3,远端终端与中继终端执行中继发现流程。
通过中继发现流程,远端终端与中继终端可以相互发现。中继发现流程可以分为两种方式,即模式A(model A)和模式B(modelB)。
1)模式A的中继发现流程
由中继终端主动发送发现消息(例如,通知消息(announcement message)),远端终端收听并接收发现消息,其中,发现消息中包括中继终端可提供的连接服务的RSC(s)。
这样,远端终端可以将期望的连接服务的RSC与发现消息中的RSC进行匹配,选取RSC相匹配的中继终端。
其中,中继终端可提供的连接服务的RSC(s)可以是由PCF配置的。
2)模式B的中继发现流程
由远端终端主动发送发现消息(例如,征求消息(solicitation message)),中继终端收听并接收发现消息,其中,发现消息中包括远端终端期望的连接服务的RSC。中继终端可以将可提供的连接服务的RSC与发现消息中的RSC进行匹配,若中继终端可提供的连接服务的RSC与发现消息中的RSC相匹配,则中继终端响应该发现消息,即中继终端可以向远端终端发送响应消息。
这样,远端终端可以从发送响应消息的一个或多个中继终端中选择中继终端。
其中,远端终端可以根据应用和RSC的对应关系,确定期望的连接服务的RSC。该对应关系可以由PCF配置。中继终端可提供的连接服务的RSC(s)可以是由PCF配置的。
步骤4,远端终端与中继终端建立PC5连接。
其中,PC5是终端与终端之间的接口,PC5连接用于终端与终端之间的通信。
可选地,中继终端根据RSC和PDU会话参数的对应关系,确定是否新建PDU会话,即中继终端已建立的PDU会话(例如步骤2中建立的PDU会话)是否满足远端终端的会话需求。若中继终端已建立的PDU会话不满足远端终端的会话需求,则中继终端为远端终端建立新的PDU会话。该新的PDU会话可专为中继服务,其会话参数可以是中继终端
根据RSC与PDU会话参数的对应关系确定的。
步骤5,中继终端为远端终端分配用于PC5通信的IP地址。
步骤6,中继终端将远端终端的标识和IP信息(IP information,IP info)上报至AMF和SMF。
其中,IP信息包括中继终端为远端终端分配的用于网络侧通信的地址。例如,若SMF为中继终端分配的IP地址为IPv4,则IP信息为特定的端口号(例如,传输控制协议(transmission control protocol,TCP)/用户数据报协议(user datagram protocol,UDP)端口(ports)),这意味着中继终端通过该IPv4地址和该特定的端口号传输远端终端的数据。又例如,若SMF为中继终端分配的IP地址为IPv6前缀(prefix),则IP信息为更长的IPv6前缀,这意味着中继终端通过该更长的IPv6前缀传输远端终端的数据。
一种实现方式中,中继终端可以通过PDU会话修改流程向AMF和SMF上报远端终端的标识和IP信息。
后续,中继终端可以根据IP地址转发远端终端的上下行数据。
例如,假设远端终端在PC5连接上使用的IP地址为IP3,中继终端的PDU会话对应的IP地址为IP1,中继终端为远端终端分配的IP信息为IP1-1。这样,远端终端通过IP3向数据网络发送数据;数据网络通过IP1-1向远端终端发送数据;中继终端生成IP3和IP1-1的关联关系。在上行方向,中继终端收到IP地址为IP3的数据后,将IP地址由IP3修改为IP1-1,通过IP1对应的PDU会话发送至UPF,进而发送至数据网络。在下行方向,中继终端从UPF收到IP地址为IP1-1的数据后,确定该数据为远端终端的,将IP地址由IP-1修改为IP3,通过PC5连接发送至远端终端。
层3中继的更详细的描述可以参考现有技术,在此不再详述。
在本申请中,PC5连接也可以称为PC5通信连接、PC5链路、或PC5通信链路,下文统一采用PC5连接。
需要说明的是,本申请的实施例可以应用于上述的层3中继的场景,也可以是其他的中继场景,例如,层2中继的场景,不予限制。层2中继的描述可以参考现有技术,在此不再详述。
下文将结合附图详细说明本申请提供的通信方法。
本申请的技术方案可以适用于中继场景下的非正常业务的传输。非正常业务,可以理解为,正常业务(normal service)以外的业务。例如,非正常业务可以是紧急业务、多媒体优先业务(multimedia priority service)或关键任务业务(mission critical service)等,不予限制。下文将以非正常业务为紧急业务为例,对本申请的技术方案进行描述。
此外,本申请中的“业务”也可以替换为“服务”。例如,紧急业务也可以描述为紧急服务。
图4是本申请提供的通信方法400的示意图。方法400可以包括以下内容的至少部分内容。
步骤401,中继终端确定中继终端所接入的网络支持紧急业务。
“网络”可以包括接入网和/或核心网。“网络支持紧急业务”可以理解为接入网设备和/或核心网网元支持紧急业务。这里的接入网设备和/或核心网网元可以指全部接入网设备和/或全部核心网设备,也可以指与提供紧急业务的DN相关的全部核心网网元和/或
全部接入网设备,也可以指与提供紧急业务的DN相关、且用于为中继终端传输紧急业务的核心网网元和/或接入网设备,本申请不予限制。
网络支持紧急业务,可以理解为,网络支持紧急业务的传输、或网络支持紧急业务的配置或控制、或网络具备传输紧急业务的能力或资源等。
其中,紧急业务可以泛指一种业务类型,可以称之为紧急业务类型。紧急业务类型可以包括一种或多种紧急业务。例如,紧急业务类型包括紧急语音业务、紧急视频业务和紧急短信业务。在此情况下,中继终端所接入的网络支持紧急业务,可以理解为,中继终端所接入的网络支持紧急业务类型中的任意一种紧急业务。
或者,紧急业务也可以指一种特定的紧急业务。例如,紧急语音业务、紧急视频业务或紧急短信业务。在此情况下,中继终端所接入的网络支持紧急业务,可以理解为,中继终端所接入的网络支持一种特定的紧急业务。例如,中继终端所接入的网络支持紧急语音业务。
一种可能的实现方式,在中继终端确定中继终端所接入的网络支持紧急业务之前,方法400还包括:中继终端确定第一消息包括紧急业务对应的中继服务码。
换句话说,如果第一消息包括的中继服务码对应于紧急业务,那么中继终端可以执行确定中继终端所接入的网络是否支持紧急业务。如果第一消息包括的中继服务码不对应于紧急业务,那么中继终端可以不执行确定中继终端所接入的网络是否支持紧急业务。
在本申请中,中继终端确定中继终端所接入的网络是否支持紧急业务的方式有很多,不予限制。
一种可能的实现方式,在满足以下情况中的至少一个时,中继终端确定中继终端所接入的网络支持紧急业务:中继终端从AMF或接入网设备接收到紧急业务支持指示(emergency services support indicator)、中继终端保存有紧急业务支持指示、或者中继终端已建立紧急PDU会话。
另一种可能的实现方式,在以下情况均不满足时,中继终端确定中继终端所接入的网络不支持紧急业务:中继终端从AMF或接入网设备接收到紧急业务支持指示、中继终端保存有紧急业务支持指示、或者中继终端已建立紧急PDU会话。
其中,紧急业务支持指示用于指示中继终端所接入的网络支持紧急业务。
这里的“紧急PDU会话”可以理解为用于传输紧急业务的PDU会话,或者还可以理解为紧急数据网络名称(data network name,DNN)对应的PDU会话。
可选地,中继终端是层3中继终端或层2中继终端。
步骤402,中继终端向远端终端发送第一消息。
相应地,远端终端接收来自中继终端的第一消息。
其中,第一消息用于远端终端发现中继终端。
一种可能的实现方式,第一消息为第一发现消息,其中,第一发现消息包括紧急业务对应的RSC。例如,在远端终端和中继终端采用模式A的中继发现流程时,第一消息为第一发现消息,模式A的中继发现流程的描述可以参考图3中的相关描述,在此不再赘述。
另一种可能的实现方式,第一消息为响应消息,其中,响应消息用于响应来自远端终端的第二发现消息,第二发现消息包括紧急业务对应的中继服务码。例如,在远端终端和中继终端采用模式B的中继发现流程时,第一消息为响应消息,模式B的中继发现流程
的描述可以参考图3中的相关描述,在此不再赘述。
其中,紧急业务对应的RSC(RSC for emergency service),也可以描述为,紧急业务所使用的RSC、或用于紧急业务的RSC等。
基于紧急业务的不同含义,相应地,紧急业务对应的RSC也可以有不同的含义。
具体地,当紧急业务指的是一种业务类型时,那么紧急业务对应的RSC指的是紧急业务类型对应的RSC。在此情况下,属于紧急业务类型的业务对应相同的RSC。例如,假设紧急业务类型包括紧急语音业务、紧急视频业务和紧急短信业务,那么紧急语音业务、紧急视频业务和紧急短信业务所对应的RSC相同。
当紧急业务指的是一种特定的紧急业务时,那么紧急业务对应的RSC也可以指该特定紧急业务对应的RSC。在此情况下,属于紧急业务类型的不同业务可以对应于相同或不同的RSC。例如,假设紧急业务类型包括紧急语音业务、紧急视频业务和紧急短信业务,那么紧急语音业务对应于RSC1,紧急视频业务对应于RSC2,紧急短信业务对应于RSC3;或者,紧急语音业务对应于RSC1,紧急视频业务和紧急短信业务对应于RSC2,不予限制。
可选地,当中继终端处于紧急注册状态时,第一消息包括紧急注册指示和/或紧急注册时间信息。其中,紧急注册指示用于指示中继终端处于紧急注册状态。紧急注册时间信息用于指示中继终端处于紧急注册状态的时长、中继终端处于紧急注册状态的剩余时长或中继终端已处于紧急注册状态的时长中的至少一个。中继终端处于紧急注册状态的时长,可以理解为,中继终端可保持紧急注册状态的总时长。
例如,中继终端可保持紧急注册状态的总时长为5s,中继终端处于紧急注册状态的剩余时长为3s,中继终端已处于紧急注册状态的时长为2s,紧急注册时间信息可以指示5s、3s或2s中的至少一个。
在注册过程中时,终端会在注册请求消息中携带注册的类型,紧急注册为注册的类型中的一种,因此,中继终端处于紧急注册状态,可以理解为,中继终端处于紧急注册的过程中。
可选地,方法400还包括:中继终端生成或确定第一消息。
步骤403,远端终端根据第一消息选择中继终端。
一种可能的实现方式中,远端终端接收到一个或多个第一消息,从发送该一个或多个第一消息的中继终端中选择中继终端。
可选地,远端终端接收到的一个或多个第一消息中包括来自第一中继终端的第一消息,并且来自第一中继终端的第一消息包括紧急注册指示和/或紧急注册时间信息,远端终端在从发送该一个或多个第一消息的中继终端中选择中继终端时,考虑来自第一中继终端的第一消息包括紧急注册指示和/或紧急注册时间信息。其中,紧急注册指示用于指示第一中继终端处于紧急注册状态。紧急注册时间信息用于指示第一中继终端处于紧急注册状态的时长、第一中继终端处于紧急注册状态的剩余时长或第一中继终端已处于紧急注册状态的时长中的至少一个。
例如,远端终端优先选择处于非紧急注册状态的中继终端。
又例如,若发送第一消息的所有中继终端都处于紧急注册状态,则远端终端优先选择处于紧急注册状态的剩余时长较长的中继终端。
在本申请中,第一中继终端可以是一个中继终端,也可以是多个中继终端。
需要说明的是,在本申请中,不限定步骤401和步骤402的先后顺序。
一种可能的实现方式中,步骤401在步骤402之前执行,即在确定中继终端所接入的网络支持紧急业务之后,中继终端向远端终端发送第一消息。
作为一个示例,若中继终端确定中继终端所接入的网络支持紧急业务,则中继终端向远端终端发送第一消息。例如,在模式A的中继发现流程中,若中继终端确定中继终端所接入的网络支持紧急业务,则中继终端向远端终端发送第一发现消息。此外,若中继终端确定中继终端所接入的网络不支持紧急业务,则中继终端可以不向远端终端发送第一发现消息,或者,中继终端向远端终端发送第一发现消息,但第一发现消息不携带紧急业务对应的RSC。
作为另一个示例,若中继终端确定中继终端所接入的网络支持紧急业务,同时确定满足其他条件(例如,中继终端可提供的连接服务的RSC与从远端终端接收的发现消息中的RSC相匹配等),则中继终端向远端终端发送第一消息。例如,在模式B的中继发现流程中,若中继终端确定中继终端所接入的网络支持紧急业务、且中继终端可提供的连接服务的RSC与从远端终端接收的发现消息中的RSC相匹配,则中继终端向远端终端发送第二发现消息的响应消息。
换句话说,中继终端在中继终端所接入的网络不支持紧急业务的情况不会参与紧急业务的中继发现流程,在中继终端所接入的网络支持紧急业务的情况下才可能参与紧急业务的中继发现流程(例如,向远端终端发送第一发现消息,或者响应远端终端发送的第二发现消息)。
通过上述技术方案,可以保证参与紧急业务的中继发现流程的中继终端所接入的网络支持紧急业务,从而保证期望接入紧急业务的远端终端选择的中继终端能够为紧急业务提供中继服务,从而有助于中继场景下的紧急业务的传输。
在本申请的另一些实施例中,中继终端还可以确定网络是否授权远端终端接入紧急业务,以避免非授权的远端终端接入紧急业务。在本申请中,“接入(access)紧急业务”也可以替换为“使用(use)紧急业务”或“获取(acquire)紧急业务”等。
一种可能的实现方式,在与远端终端建立连接的流程中,中继终端确定网络是否授权远端终端接入紧急业务。
在此情况下,方法400还包括:远端终端向中继终端发送第三消息,相应地,中继终端接收来远端终端的第三消息,其中,第三消息用于请求建立与中继终端之间的连接,该连接用于传输紧急业务;在接收到第三消息后,中继终端向AMF发送第二消息,相应地,AMF接收来自中继终端的第二消息,其中,第二消息用于请求授权远端终端接入紧急业务;在接收到第二消息后,AMF向中继终端发送授权结果,相应地,中继终端接收来自AMF的授权结果;若授权结果指示授权远端终端接入紧急业务成功,则中继终端向远端终端发送第五消息,相应地,远端终端接收来自中继终端的第五消息,其中,第五消息包括用于指示连接建立成功的信息,或者,若授权结果指示授权远端终端接入紧急业务失败,则中继终端向远端终端发送第六消息,相应地,远端终端接收来自中继终端的第六消息,其中,第六消息包括用于指示连接建立失败的信息。可选地,第六消息还包括原因值,该原因值为授权失败。
可选地,远端终端与中继终端之间的连接为直接通信连接,第三消息为直接通信请求(direct communication request,DCR)消息,第五消息为直接通信接受(direct communication accept)消息,第六消息为直接通信拒绝(direct communication reject)消息。
可选地,第二消息和第四消息为授权请求(authorization request)消息,授权结果承载于授权响应(authorization response)消息中。
另一种可能的实现方式,在中继发现流程(例如,模式B的中继发现流程)中,中继终端确定网络是否授权远端终端接入紧急业务。需要说明的是,本申请并不限定中继终端确定中继终端所接入的网络是否支持紧急业务与确定网络是否授权远端终端接入紧急业务的先后顺序。
作为一个示例,方法400还包括:远端终端向中继终端发送第二发现消息,相应地,中继终端接收来自远端终端的第二发现消息,其中,第二发现消息包括紧急业务对应的RSC;在接收到第二发现消息后,中继终端向AMF发送第二消息,相应地,AMF接收来自中继终端的第二消息,其中,第二消息用于请求授权远端终端接入紧急业务;在接收到第二消息后,AMF向中继终端发送授权结果,相应地,中继终端接收来自AMF的授权结果。步骤401具体可以包括:当授权结果指示授权远端终端接入紧急业务成功时,中继终端执行步骤401。
此外,当授权结果指示授权远端终端接入紧急业务失败时,中继终端可以不执行步骤401。
也就是说,在接收到远端终端的第二发现消息后,中继终端先确定网络是否授权远端终端接入紧急业务,在网络授权远端终端接入紧急业务成功的情况下,进一步确定中继终端所接入的网络是否支持紧急业务。后续,中继终端根据中继终端所接入的网络是否支持紧急业务,发送或不发送第二发现消息的响应消息。当然,中继终端在确定是否发送第二发现消息的响应消息时还可以考虑其他因素,例如,RSC是否匹配等。
作为另一个示例,方法400还包括:远端终端向中继终端发送第二发现消息,相应地,中继终端接收来自远端终端的第二发现消息,其中,第二发现消息包括紧急业务对应的RSC;在接收到第二发现消息后,中继终端确定中继终端所接入的网络是否支持紧急业务;若中继终端所接入的网络支持紧急业务,则中继终端向AMF发送第二消息,相应地,AMF接收来自中继终端的第二消息,其中,第二消息用于请求授权远端终端接入紧急业务;在接收到第二消息后,AMF向中继终端发送授权结果,相应地,中继终端接收来自AMF的授权结果。步骤402具体可以包括:当授权结果指示授权远端终端接入紧急业务成功时,中继终端向远端终端发送第二发现消息的响应消息。此外,当授权结果指示授权远端终端接入紧急业务失败时,中继终端可以不向远端终端发送第二发现消息的响应消息。当然,中继终端在确定是否发送第二发现消息的响应消息时还可以考虑其他因素,例如,RSC是否匹配等。
此外,若中继终端所接入的网络不支持紧急业务,则中继终端可以不向AMF发送第二消息。
也就是说,在接收到远端终端的第二发现消息后,中继终端先确定中继终端所接入的网络是否支持紧急业务,在中继终端所接入的网络支持紧急业务的情况下,进一步确定网络是否授权远端终端接入紧急业务。后续,中继终端根据网络是否授权远端终端接入紧急
业务,发送或不发送第二发现消息的响应消息。
作为又一个示例,方法400还包括:远端终端向中继终端发送第二发现消息,相应地,中继终端接收来自远端终端的第二发现消息,其中,第二发现消息包括紧急业务对应的RSC;在接收到第二发现消息后,中继终端确定中继终端所接入的网络是否支持紧急业务、以及向AMF发送第二消息,其中,第二消息用于请求授权远端终端接入紧急业务;在接收到第二消息后,AMF向中继终端发送授权结果,相应地,中继终端接收来自AMF的授权结果。步骤402具体可以包括:当中继终端所接入的网络支持紧急业务,且授权结果指示授权远端终端接入紧急业务成功时,中继终端向远端终端发送第二发现消息的响应消息。当然,中继终端在确定是否发送第二发现消息的响应消息时还可以考虑其他因素,例如,RSC是否匹配等。
此外,当中继终端所接入的网络不支持紧急业务,和/或,授权结果指示授权远端终端接入紧急业务失败时,中继终端可以不向远端终端发送第二发现消息的响应消息。
也就是说,在接收到远端终端的第二发现消息后,中继终端确定中继终端所接入的网络是否支持紧急业务、以及确定网络是否授权远端终端接入紧急业务。后续,中继终端综合考虑中继终端所接入的网络是否支持紧急业务、以及网络是否授权远端终端接入紧急业务等因素,以实现发送或不发送第二发现消息的响应消息。
可选地,方法400还包括:在AMF向中继终端发送授权结果之前,AMF获取授权结果,其中,授权结果用于指示授权远端终端接入紧急业务成功或失败。
一种可能的实现方式,AMF从授权网元获取授权结果。具体地,AMF向授权网元发送第四消息,相应地,授权网元接收来自AMF的第四消息,其中,第四消息用于请求授权远端终端接入紧急业务;授权网元向AMF发送授权结果,相应地,AMF接收来自授权网元的授权结果。
本申请不限定授权网元的具体类型,例如,授权网元可以是UDM、PCF或AUSF等。
可选地,方法400还包括:远端终端向中继终端发送第七消息,相应地,中继终端接收来远端终端的第七消息,其中,第七消息用于请求建立与中继终端之间的连接,该连接用于传输紧急业务;在接收到第七消息后,若中继终端没有紧急PDU会话,则中继终端请求建立紧急PDU会话,若中继终端已建立了紧急PDU会话,则中继终端可以不请求建立紧急PDU会话。
可选地,远端终端与中继终端之间的连接为直接通信连接,第七消息为直接通信请求消息。
需要说明的是,第七消息与第三消息可以为同一消息,也可以为不同的消息,不予限制。
在本申请的另一些实施例中,方法400还可以包括:PCF获取紧急业务对应的中继服务码;PCF向中继终端发送第一配置信息,相应地,中继终端接收来自PCF的第一配置信息,其中,第一配置信息包括紧急业务对应的中继服务码;和/或,PCF向远端终端发送第二配置信息,相应地,远端终端接收来自PCF的第二配置信息,其中,第二配置信息包括紧急业务对应的中继服务码。即由PCF为中继终端和/或远端终端配置紧急业务对应的中继服务码。需要说明的是,这里的步骤仅表明由PCF为中继终端和远端终端配置紧急业务对应的中继服务码。PCF为中继终端配置紧急业务对应的中继服务码与PCF为
中继终端和远端终端配置紧急业务对应的中继服务码是独立的过程,在配置过程中PCF并不考虑后续中继终端和远端终端是否建立连接。
可选地,PCF获取紧急业务对应的中继服务码,包括:PCF从本地或AF获取紧急业务对应的中继服务码。其中,PCF本地的紧急业务对应的中继服务码可以是预配置或预定义的。
当PCF从AF获取紧急业务对应的RSC时,可以保证不同公共陆地移动网(public land mobile network,PLMN)的RSC一致,因此可以更好地支持跨PLMN的用于紧急业务的中继服务(即中继终端和远端终端接入不同PLMN,中继终端向远端终端提供紧急业务的中继服务)。
可选地,第一配置信息还包括紧急业务对应的中继服务码的优先级。在此情况下,方法400还包括:中继终端根据紧急业务对应的中继服务码的优先级,维持或释放中继终端与远端终端之间的连接,该连接用于传输紧急业务。连接用于传输紧急业务,可以理解为,连接的上下文中包括的RSC对应于紧急业务。连接可以理解为PC5连接。
例如,PCF通过第一配置信息为中继终端配置了包括紧急业务对应的RSC在内的多个RSC、以及多个RSC中每个RSC的优先级。中继终端与远端终端建立了多个连接,多个连接与多个RSC一一对应(例如,连接1与RSC 1对应(连接1的上下文中包括RSC 1),连接2与RSC 2对应(连接2的上下文中包括RSC 2))。当中继终端释放部分已建立的连接时,例如,中继终端的传输资源或能力有限时,中继终端可以从已建立的多个连接中,释放RSC的优先级较低的连接。
可选地,第二配置信息还包括紧急业务对应的中继服务码的优先级。在此情况下,方法400还包括:远端终端根据紧急业务对应的中继服务码的优先级,维持或释放中继终端与远端终端之间的连接,该连接用于传输紧急业务。连接用于传输紧急业务,可以理解为,连接的上下文中包括的RSC对应于紧急业务。连接可以理解为PC5连接。
例如,PCF通过第二配置信息为远端终端配置了包括紧急业务对应的RSC在内的多个RSC、以及多个RSC中每个RSC的优先级。远端终端与中继终端建立了多个连接,多个连接与多个RSC一一对应(例如,连接1与RSC 1对应(连接1的上下文中包括RSC 1),连接2与RSC 2对应(连接2的上下文中包括RSC 2))。当远端终端释放部分已建立的连接时,例如,中继终端的传输资源或能力有限时,远端终端可以从已建立的多个连接中,释放RSC的优先级较低的连接。
在本申请的另一些实施例中,方法400还包括:中继终端向AMF发送第一信息,相应地,AMF接收来自中继终端的第一信息,其中,第一信息用于指示中继终端的中继服务用于紧急业务(relay service for emergency service),或者第一信息用于指示中继终端为远端终端提供紧急业务。换句话说,中继终端向AMF上报中继终端处于为紧急业务提供中继服务的状态或中继终端为远端终端提供紧急业务的状态,以便AMF不对中继终端进行接入管理方面或移动管理方面的限定,例如,中继终端可以在非允许区域(non-allowed)内为紧急业务提供中继服务。同样,这里的紧急业务可以泛指一种业务类型,也可以指一种特定的紧急业务。
可选地,AMF接收第一信息后,AMF在中继终端的上下文中储存第一信息。
可选地,第一信息可以承载在业务请求(service request)消息、PDU会话建立(PDU
session establishment)消息或注册(registration)消息。
可选地,当在PDU会话建立消息承载第一信息时,第一信息用于指示PDU会话用于传输紧急业务。在此情况下,AMF根据第一信息选择能够提供紧急业务的SMF,或者AMF向SMF发送第一信息。当AMF向SMF发送第一信息时,SMF根据第一信息获知该PDU会话用于传输紧急业务,进而选择能够提供紧急业务的UPF。
在本申请的另一些实施例中,方法400还包括:中继终端向AMF发送第二信息,相应地,AMF接收来自中继终端的第二信息,其中,第二信息用于指示撤销中继终端为远端终端提供紧急业务,或者第二信息用于指示中继终端不为远端终端提供紧急业务。换句话说,中继终端向AMF上报中继终端不处于为紧急业务提供中继服务的状态或中继终端不为远端终端提供紧急业务的状态,以便AMF对中继终端进行接入管理方面或移动管理方面的限定。
可选地,在AMF接收第二信息后,AMF从中继终端的上下文中删除第一信息。
可选地,在中继终端释放用于传输紧急业务的连接后,中继终端向AMF发送第二信息。或者,若中继终端不再有用于传输紧急业务的连接,则中继终端向AMF发送第二信息。
需要说明的是,方法400中的“中继终端所接入的网络支持紧急业务”也可以替换为“网络支持紧急业务”。
在方法400中由中继终端确定中继终端所接入的网络是否支持紧急业务。在本申请的另一些实施例中,还可以由PCF确定中继终端所接入的网络是否支持紧急业务,并在中继终端所接入的网络支持紧急业务时,向中继终端提供紧急业务对应的RSC,下面结合图5进行详细描述。
图5是本申请提供的通信方法500的示意图。方法500可以包括以下内容的至少部分内容。
步骤501,PCF确定中继终端所接入的网络支持紧急业务。
“网络支持紧急业务”和“紧急业务”的描述可以参考步骤401,在此不再赘述。
在本申请中,PCF确定中继终端所接入的网络是否支持紧急业务的方式有很多,不予限制。
一种可能的实现方式,在满足以下情况中的至少一个时,PCF确定中继终端所接入的网络支持紧急业务:PCF从AMF接收到紧急业务支持指示、或者PCF存储或预配置有紧急业务支持指示。另一种可能的实现方式,在以下情况均不满足时,PCF确定中继终端所接入的网络不支持紧急业务:PCF从AMF接收到紧急业务支持指示、或者PCF未存储或未预配置有紧急业务支持指示。
其中,紧急业务支持指示用于指示中继终端所接入的网络支持紧急业务。
可选地,PCF中存储或预配置的紧急业务支持指示属于网络能力信息。
可选地,网络能力信息来自运行管理和维护(operation administration and maintenance,OAM)网元。
步骤502,当中继终端所接入的网络支持紧急业务时,PCF向中继终端发送第一配置信息。
相应地,中继终端接收来自PCF的第一配置信息。
其中,第一配置信息包括紧急业务对应的RSC。
“紧急业务对应的RSC”的描述可以参考步骤402,在此不再赘述。
可选地,方法500还包括:PCF获取紧急业务对应的中继服务码。一种可能的实现方式,PCF获取紧急业务对应的中继服务码,包括:PCF从本地或AF获取紧急业务对应的中继服务码。其中,PCF本地的紧急业务对应的中继服务码可以是预配置或预定义的。
当PCF从AF获取紧急业务对应的RSC时,可以保证不同PLMN的RSC一致,因此可以更好地支持跨PLMN的用于紧急业务的中继服务(即中继终端和远端终端接入不同PLMN,中继终端向远端终端提供紧急业务的中继服务)。
换句话说,在中继终端所接入的网络支持紧急业务的情况下,PCF才为中继终端配置紧急业务对应的中继服务码,以便中继终端参与紧急业务的中继发现流程。
步骤503,中继终端向远端终端发送第一消息。
相应地,远端终端接收来自中继终端的第一消息。
其中,第一消息用于远端终端发现中继终端。
一种可能的实现方式,第一消息为第一发现消息,其中,第一发现消息包括紧急业务对应的RSC。例如,在远端终端和中继终端采用模式A的中继发现流程时第一消息为第一发现消息,模式A的中继发现流程的描述可以参考图3中的相关描述,在此不再赘述。
另一种可能的实现方式,第一消息为响应消息,其中,响应消息用于响应来自远端终端的第二发现消息,第二发现消息包括紧急业务对应的中继服务码。例如,在远端终端和中继终端采用模式B的中继发现流程时第一消息为响应消息,模式B的中继发现流程的描述可以参考图3中的相关描述,在此不再赘述。
可选地,当中继终端处于紧急注册状态时,第一消息包括紧急注册指示和/或紧急注册时间信息。其中,紧急注册指示用于指示中继终端处于紧急注册状态。紧急注册时间信息用于指示中继终端处于紧急注册状态的时长、中继终端处于紧急注册状态的剩余时长或中继终端已处于紧急注册状态的时长中的至少一个。中继终端处于紧急注册状态的时长,可以理解为,中继终端可保持紧急注册状态的总时长。
例如,中继终端可保持紧急注册状态的总时长为5s,中继终端处于紧急注册状态的剩余时长为3s,中继终端已处于紧急注册状态的时长为2s,紧急注册时间信息可以指示5s、3s或2s中的至少一个。
在注册过程中时,终端会在注册请求消息中携带注册的类型,紧急注册为注册的类型中的一种,因此,中继终端处于紧急注册状态,可以理解为,中继终端处于紧急注册的过程中。
可选地,方法500还包括:中继终端生成或确定第一消息。
步骤504,远端终端根据第一消息选择中继终端。
步骤504的实现方式与步骤403的实现方式相同,可以参考步骤403的描述,在此不再赘述。
通过上述技术方案,可以保证参与紧急业务的中继发现流程的中继终端所接入的网络支持紧急业务,从而保证期望接入紧急业务的远端终端选择的中继终端能够为紧急业务提供中继服务,从而有助于中继场景下的紧急业务的传输。
在本申请的另一些实施例中,中继终端还可以确定网络是否授权远端终端接入紧急业
务,以避免非授权的远端终端接入紧急业务。
一种可能的实现方式,在与远端终端建立连接的流程中,中继终端确定网络是否授权远端终端接入紧急业务。
在此情况下,方法500还包括:远端终端向中继终端发送第三消息,相应地,中继终端接收来远端终端的第三消息,其中,第三消息用于请求建立与中继终端之间的连接,该连接用于传输紧急业务;在接收到第三消息后,中继终端向AMF发送第二消息,相应地,AMF接收来自中继终端的第二消息,其中,第二消息用于请求授权远端终端接入紧急业务;在接收到第二消息后,AMF向中继终端发送授权结果,相应地,中继终端接收来自AMF的授权结果;若授权结果指示授权远端终端接入紧急业务成功,则中继终端向远端终端发送第五消息,相应地,远端终端接收来自中继终端的第五消息,其中,第五消息包括用于指示连接建立成功的信息,或者,若授权结果指示授权远端终端接入紧急业务失败,则中继终端向远端终端发送第六消息,相应地,远端终端接收来自中继终端的第六消息,其中,第六消息包括用于指示连接建立失败的信息。可选地,第六消息还包括原因值,该原因值为授权失败。
可选地,远端终端与中继终端之间的连接为直接通信连接,第三消息为直接通信请求消息,第五消息为直接通信接受消息,第六消息为直接通信拒绝消息。
可选地,第二消息和第四消息为授权请求消息,授权结果承载于授权响应消息中。
另一种可能的实现方式,在中继发现流程(例如,模式B的中继发现流程)中,中继终端确定网络是否授权远端终端接入紧急业务。
在此情况下,方法500还包括:远端终端向中继终端发送第二发现消息,相应地,中继终端接收来自远端终端的第二发现消息,其中,第二发现消息包括紧急业务对应的RSC;在接收到第二发现消息后,中继终端向AMF发送第二消息,相应地,AMF接收来自中继终端的第二消息,其中,第二消息用于请求授权远端终端接入紧急业务;在接收到第二消息后,AMF向中继终端发送授权结果,相应地,中继终端接收来自AMF的授权结果。步骤503具体可以包括:当授权结果指示授权远端终端接入紧急业务成功时,中继终端向远端终端发送第二发现消息的响应消息。当然,中继终端在确定是否发送第二发现消息的响应消息时还可以考虑其他因素,例如,RSC是否匹配等。
此外,当授权结果指示授权远端终端接入紧急业务失败时,中继终端可以不向远端终端发送第二发现消息的响应消息。
可选地,方法500还包括:在AMF向中继终端发送授权结果之前,AMF获取授权结果,其中,授权结果用于指示授权远端终端接入紧急业务成功或失败。
一种可能的实现方式,AMF从授权网元获取授权结果。具体地,AMF向授权网元发送第四消息,相应地,授权网元接收来自AMF的第四消息,其中,第四消息用于请求授权远端终端接入紧急业务;授权网元向AMF发送授权结果,相应地,AMF接收来自授权网元的授权结果。
本申请不限定授权网元的具体类型,例如,授权网元可以是UDM、PCF或AUSF等。
可选地,方法500还包括:远端终端向中继终端发送第七消息,相应地,中继终端接收来远端终端的第七消息,其中,第七消息用于请求建立与中继终端之间的连接,该连接用于传输紧急业务;在接收到第七消息后,若中继终端没有紧急PDU会话,则中继终端
请求建立紧急PDU会话,若中继终端已建立了有紧急PDU会话,则中继终端可以不请求建立紧急PDU会话。
可选地,远端终端与中继终端之间的连接为直接通信连接,第七消息为直接通信请求消息。
需要说明的是,第七消息与第三消息可以为同一消息,也可以为不同的消息,不予限制。
在本申请的另一些实施例中,第一配置信息还包括紧急业务对应的中继服务码的优先级。在此情况下,方法500还包括:中继终端根据紧急业务对应的中继服务码的优先级,维持或释放中继终端与远端终端之间的连接,该连接用于传输紧急业务。连接用于传输紧急业务,可以理解为,连接的上下文中包括的RSC对应于紧急业务。连接可以理解为PC5连接。
例如,PCF通过第一配置信息为中继终端配置了包括紧急业务对应的RSC在内的多个RSC、以及多个RSC中每个RSC的优先级。中继终端与远端终端建立了多个连接,多个连接与多个RSC一一对应(例如,连接1与RSC 1对应(连接1的上下文中包括RSC 1),连接2与RSC 2对应(连接2的上下文中包括RSC 2))。当中继终端释放部分已建立的连接时,例如,中继终端的传输资源或能力有限时,中继终端可以从已建立的多个连接中,释放RSC的优先级较低的连接。
在本申请的另一些实施例中,方法500还包括:PCF向远端终端发送第二配置信息,相应地,远端终端接收来自PCF的第二配置信息,其中,第二配置信息包括紧急业务对应的中继服务码。
可选地,第二配置信息还包括紧急业务对应的中继服务码的优先级。在此情况下,方法500还包括:远端终端根据紧急业务对应的中继服务码的优先级,维持或释放中继终端与远端终端之间的连接,该连接用于传输紧急业务。连接用于传输紧急业务,可以理解为,连接的上下文中包括的RSC对应于紧急业务。连接可以理解为PC5连接。
例如,PCF通过第二配置信息为远端终端配置了包括紧急业务对应的RSC在内的多个RSC、以及多个RSC中每个RSC的优先级。远端终端与中继终端建立了多个连接,多个连接与多个RSC一一对应(例如,连接1与RSC 1对应(连接1的上下文中包括RSC 1),连接2与RSC 2对应(连接2的上下文中包括RSC 2))。当远端终端释放部分已建立的连接时,例如,中继终端的传输资源或能力有限时,远端终端可以从已建立的多个连接中,释放RSC的优先级较低的连接。
在本申请的另一些实施例中,方法500还包括:中继终端向AMF发送第一信息,相应地,AMF接收来自中继终端的第一信息,其中,第一信息用于指示中继终端的中继服务用于紧急业务,或者第一信息用于指示中继终端为远端终端提供紧急业务。换句话说,中继终端向AMF上报中继终端处于为紧急业务提供中继服务的状态或中继终端为远端终端提供紧急业务的状态,以便AMF不对中继终端进行接入管理方面或移动管理方面的限定,例如,中继终端可以在非允许区域内为紧急业务提供中继服务。这里的紧急业务可以泛指一种业务类型,也可以指一种特定的紧急业务。
可选地,AMF接收第一信息后,AMF在中继终端的上下文中储存第一信息。
可选地,第一信息可以承载在业务请求(service request)消息或PDU会话建立(PDU
session establishment)消息或注册(registration)消息。
可选地,当在PDU会话建立消息承载第一信息时,第一信息用于指示PDU会话用于传输紧急业务。在此情况下,AMF根据第一信息选择能够提供紧急业务的SMF,或者AMF向SMF发送第一信息。当AMF向SMF发送第一信息时,SMF根据第一信息获知该PDU会话用于传输紧急业务,进而选择能够提供紧急业务的UPF。
在本申请的另一些实施例中,方法500还包括:中继终端向AMF发送第二信息,相应地,AMF接收来自中继终端的第二信息,其中,第二信息用于指示撤销中继终端为远端终端提供紧急业务,或者第二信息用于指示中继终端不为远端终端提供紧急业务。换句话说,中继终端向AMF上报中继终端不处于为紧急业务提供中继服务的状态或中继终端不为远端终端提供紧急业务的状态,以便AMF对中继终端进行接入管理方面或移动管理方面的限定。
可选地,在AMF接收第二信息后,AMF从中继终端的上下文中删除第一信息。
可选地,在中继终端释放用于传输紧急业务的连接后,中继终端向AMF发送第二信息。或者,若中继终端不再有用于传输紧急业务的连接,则中继终端向AMF发送第二信息。
需要说明的是,方法500中的“中继终端所接入的网络支持紧急业务”也可以替换为“网络支持紧急业务”。
下面结合具体的示例,对本申请的技术方案进行描述。
示例1
在示例1中,由中继终端根据中继终端所接入的网络支持紧急业务,确定参与紧急业务的中继发现流程。
图6是本申请提供的通信方法600的示意图。
步骤601,AF向PCF提供紧急业务参数。
其中,紧急业务参数包括紧急业务对应的RSC。
一种可能的实现方式,AF通过NEF向PCF提供紧急业务参数。
由AF向PCF提供紧急业务参数可以保证不同PLMN的RSC一致,因此可以更好地支持跨PLMN的用于紧急业务的中继服务。
需要说明的是,步骤601为可选步骤,PCF还可以通过其他方式获取紧急业务对应的RSC,例如,PCF中的紧急业务对应的RSC可以是预定义或预配置的。
步骤602,PCF向远端终端提供紧急业务对应的RSC。
可选地,PCF还向远端终端提供不同RSC的优先级,用于远端终端在资源受限时优先释放低优先级的RSC对应的PC5连接。
RSC对应的PC5连接,也可以理解为,由RSC标识的PC5连接。
这里的“不同RSC”为PCF为远端终端提供的RSC,可以包括正常业务对应的RSC和/或紧急业务对应的RSC。
一种可能的实现方式,如图6所示,PCF在向远端终端提供UE策略(UE policy)时向远端终端提供紧急业务对应的RSC,紧急业务对应的RSC携带在UE策略容器(UE policy container)中。
步骤603,PCF向中继终端提供紧急业务对应的RSC。
可选地,PCF还向中继终端提供不同RSC的优先级,用于中继终端在资源受限时优先释放低优先级的RSC对应的PC5连接。
这里的“不同RSC”为PCF为中继终端提供的RSC,可以包括正常业务对应的RSC和/或紧急业务对应的RSC。
一种可能的实现方式,如图6所示,PCF在向中继终端提供UE策略时向中继终端提供紧急业务对应的RSC,紧急业务对应的RSC携带在UE策略容器(UE policy container)中。
步骤604,网络向中继终端通知网络支持紧急业务。
一种可能的实现方式,AMF向中继终端发送紧急业务支持指示。其中,紧急业务支持指示用于指示中继终端所接入的网络支持紧急业务。作为一个示例,AMF在中继终端的注册过程中向中继终端发送紧急业务支持指示,例如,AMF在注册接受消息(registration accept message)中包括紧急业务支持指示。
一种可能的实现方式,RAN设备向中继终端发送紧急业务支持指示。其中,紧急业务支持指示用于指示中继终端所接入的网络支持紧急业务。作为一个示例,接入网设备在中继终端的接入网络过程中向中继终端发送紧急业务支持指示,例如,接入网设备在RRC配置消息(radio resource control configuration message)中包括紧急业务支持指示。作为另一个示例,接入网设备在广播消息中发送紧急业务支持指示,中继终端接收广播消息中包括的紧急业务支持指示。
这样,若中继终端接收到紧急业务支持指示,则意味着中继终端能够建立紧急PDU会话来获取紧急业务。这里的“紧急PDU会话”可以理解为用于传输紧急业务的PDU会话,或者还可以理解为紧急DNN对应的PDU会话。
需要说明的是,步骤603和步骤604可以是两个独立的步骤,也可以合并在一起执行。例如,当PCF在中继终端的注册过程中通过AMF向中继终端提供紧急业务对应的RSC时,AMF可以同时向中继终端提供紧急业务对应的RSC和紧急业务支持指示。
之后,远端终端和中继终端可以执行中继发现流程。在方法600中,中继发现流程同样可以分为模式A和模式B两种方式。若采用模式A的中继发现流程,则执行以下步骤605-606。若采用模式B的中继发现流程,则执行以下步骤607-609。
步骤605,中继终端确定中继终端所接入的网络支持紧急业务。
一种可能的实现方式,当已接收到紧急业务支持指示、本地存储有紧急业务支持指示、或者已建立紧急PDU会话时,中继终端确定中继终端所接入的网络支持紧急业务。
步骤606,中继终端主动发送发现消息(例如,通知消息(announcement message))。
相应地,远端终端收听并接收发现消息。
其中,发现消息中携带紧急业务对应的RSC。该发现消息可以对应于上文的第一发现消息。
可选地,若中继终端处于紧急注册(emergency registration)状态,则发现消息中还携带紧急注册指示和/或紧急注册时间信息,用于远端终端进行中继选择。当然,若中继终端处于非紧急注册状态,则发现消息中不携带紧急注册指示和/或紧急注册时间信息。
其中,紧急注册指示用于指示中继终端处于紧急注册状态。在注册过程中时,终端会在注册请求消息中携带注册的类型,紧急注册为注册的类型中的一种,因此,中继终端处
于紧急注册状态,可以理解为,中继终端处于紧急注册的过程中。
其中,紧急注册时间信息用于指示中继终端处于紧急注册状态的时长、中继终端处于紧急注册状态的剩余时长(left time)或中继终端已处于紧急注册状态的时长中的至少一个。在中继终端进行紧急注册时,AMF为中继终端分配周期性注册更新定时器(periodic registration update timer),周期性注册更新定时器为剩余时长的最大值,在周期性注册更新定时器到期后,中继终端进入去注册状态(deregistered state)。
步骤607,若远端终端获取紧急业务,则远端终端主动发送发现消息(例如,征求消息(solicitation message))。
相应地,中继终端收听并接收发现消息。
其中,发现消息中携带紧急业务对应的RSC。该发现消息可以对应于上文的第二发现消息。
步骤608,中继终端确定接入的网络支持紧急业务。
一种可能的实现方式,当已接收到紧急业务支持指示、本地存储有紧急业务支持指示、或者已建立紧急PDU会话时,中继终端确定中继终端所接入的网络支持紧急业务。
需要说明的是,本申请不限定步骤607和步骤608的先后顺序。
步骤609,若中继终端所接入的网络支持紧急业务、且中继终端的RSC与发现消息中的RSC相匹配,则中继终端向远端终端发送响应消息。
相应地,远端终端接收来自中继终端的响应消息。
这里的响应消息可以对应于上文的响应消息。
可选地,若中继终端处于紧急注册状态,则响应消息中还携带紧急注册指示和/或紧急注册时间信息,用于远端终端进行中继选择。当然,若中继终端处于非紧急注册状态,则响应消息中不携带紧急注册指示和/或紧急注册时间信息。其中,紧急注册指示和紧急注册时间信息的描述可以参考步骤606,在此不再赘述。
步骤610,远端终端进行中继选择。
具体地,远端终端可以将期望的RSC与发现消息中的RSC进行匹配,从而从发送发现消息的一个或多个中继终端中选择RSC相匹配的中继终端,或者,远端终端可以从发送响应消息的一个或多个中继终端中选择中继终端。
可选地,中继终端还根据发现消息或响应消息中携带的紧急注册指示和/或紧急注册时间信息,选择中继终端。例如,远端终端优先选择处于非紧急注册状态的中继终端。又例如,若发送发现消息或响应消息的所有中继终端都处于紧急注册状态,则远端终端优先选择处于紧急注册状态的剩余时长较长的中继终端。
在示例1中,在中继终端所接入的网络支持紧急业务的情况下,中继终端参与紧急业务的中继发现流程,包括:在发现消息中发送紧急业务对应的RSC,或者响应携带紧急业务对应的RSC的发现消息,这样有助于避免出现远端终端发现的中继终端不支持紧急业务的情况。
示例2
在示例2中,由PCF根据中继终端所接入的网络支持紧急业务,确定向中继终端提供紧急业务对应的RSC,以便中继终端参与支持紧急业务的中继发现流程。
图7是本申请提供的通信方法700的示意图。
步骤701,AF向PCF提供紧急业务参数。
其中,紧急业务参数包括紧急业务对应的RSC。
步骤702,PCF向远端终端提供紧急业务对应的RSC。
步骤701-702的实现方式与步骤601-602相同,可以参考步骤601-602的描述,在此不再赘述。
步骤703,中继终端注册到网络。
具体地,中继终端向AMF发送注册请求消息。相应地,AMF接收来自中继终端的注册请求消息。
步骤704,在接收到注册请求消息后,AMF从UDM获取中继终端的签约信息。
其中,签约信息包括用于指示是否授权中继终端作为中继终端的信息。
步骤705,若授权中继终端作为中继终端,则AMF向PCF发送紧急业务支持指示。
其中,紧急业务支持指示用于指示中继终端所接入的网络支持紧急业务。
一种可能的实现方式,AMF在接入管理策略关联过程(access management policy association,AM policy association)中向PCF发送紧急业务支持指示。
需要说明的是,步骤705为可选步骤。
步骤706,PCF确定中继终端所接入的网络支持紧急业务。
一种可能的实现方式,PCF根据步骤705中的紧急业务支持指示,确定中继终端所接入的网络支持紧急业务。
另一种可能的实现方式,PCF根据本地预配置的网络能力信息,确定中继终端所接入的网络支持紧急业务,其中,网络能力信息指示中继终端所接入的网络支持紧急业务。
步骤707,若中继终端所接入的网络支持紧急业务,则PCF向中继终端提供紧急业务对应的RSC。
可选地,PCF还向中继终端提供不同RSC的优先级,用于中继终端在资源受限时优先释放低优先级的RSC对应的PC5连接。
这里的“不同RSC”为PCF为中继终端提供的RSC,可以包括正常业务对应的RSC和/或紧急业务对应的RSC。
一种可能的实现方式,如图7所示,PCF在向中继终端提供UE策略时向中继终端提供紧急业务对应的RSC,紧急业务对应的RSC携带在UE策略容器中。
之后,远端终端和中继终端可以执行中继发现流程。在方法700中,中继发现流程同样可以分为模式A和模式B两种方式。若采用模式A的中继发现流程,则执行以下步骤708。若采用模式B的中继发现流程,则执行以下步骤709-710。
步骤708,中继终端主动发送发现消息(例如,通知消息(announcement message))。
相应地,远端终端收听并接收发现消息。
其中,发现消息中携带紧急业务对应的RSC。该发现消息可以对应于上文的第一发现消息。
可选地,若中继终端处于紧急注册状态,则发现消息中还携带紧急注册指示和/或紧急注册时间信息,用于远端终端进行中继选择。当然,若中继终端处于非紧急注册状态,则发现消息中不携带紧急注册指示和/或紧急注册时间信息。
其中,紧急注册指示用于指示中继终端处于紧急注册状态。
其中,紧急注册时间信息用于指示中继终端处于紧急注册状态的时长、中继终端处于紧急注册状态的剩余时长(left time)或中继终端已处于紧急注册状态的时长中的至少一个。在中继终端进行紧急注册时,AMF为中继终端分配周期性注册更新定时器,周期性注册更新定时器为剩余时长的最大值,在周期性注册更新定时器到期后,中继终端进入去注册状态。
步骤709,若远端终端获取紧急业务,则远端终端主动发送发现消息(例如,征求消息(solicitation message))。
相应地,中继终端收听并接收发现消息。
其中,发现消息中携带紧急业务对应的RSC。该发现消息可以对应于上文的第二发现消息。
步骤710,若中继终端的RSC与发现消息中的RSC相匹配,则中继终端向远端终端发送响应消息。
相应地,远端终端接收来自中继终端的响应消息。
可选地,若中继终端处于紧急注册状态,则响应消息中还携带紧急注册指示和/或紧急注册时间信息,用于远端终端进行中继选择。当然,若中继终端处于非紧急注册状态,则响应消息中不携带紧急注册指示和/或紧急注册时间信息。其中,紧急注册指示和紧急注册时间信息的描述可以参考步骤708,在此不再赘述。
步骤711,远端终端进行中继选择。
步骤711的实现方式与步骤610相同,可以参考步骤610的描述,在此不再赘述。
在示例2中,在中继终端所接入的网络支持紧急业务的情况下,PCF确定向中继终端提供紧急业务对应的RSC。由于在中继终端所接入的网络不支持紧急业务的情况下,PCF不向中继终端提供紧急业务对应的RSC,因此中继终端不参与支持紧急业务的中继发现流程,这样有助于避免出现远端终端发现的中继终端不支持紧急业务的情况。此外,示例2所示的方法可以简化中继终端的判断逻辑。
示例3
图8是本申请提供的通信方法800的示意图。
方法800中的步骤可以是在远端终端选择中继终端之后执行的步骤。例如,如图8所示,方法800中的步骤可以在示例1或示例2的流程之后执行。
步骤801,远端终端向中继终端发送直接通信请求消息。
相应地,中继终端接收来自远端终端的直接通信请求消息。
其中,直接通信请求消息包括远端终端的标识和RSC。远端终端的标识包括以下至少一个:用户永久标识(subscription permanent identifier,SUPI)、用户隐藏标识符(subscription concealed identifier,SUCI)、通用公共用户标识(generic public subscription identifier,GPSI)、永久设备标识符(permanent equipment identifier,PEI)或(mobile subscriber international ISDN/PSTN number,MSISDN)或远端终端的应用层标识(如用户信息(user information,user info))。其中,ISDN即是综合业务数字网(integrated service digital network),PSTN即是公共交换电话网(public switched telephone network)等。MSISDN可以理解为终端对外可以公开的身份标识,比如终端的电话号码等。这里的RSC为紧急业务对应的RSC。
步骤802,在接收到直接通信请求消息后,中继终端向AMF发送授权请求消息。
相应地,AMF接收来自中继终端的授权请求消息。
这里的授权请求消息可以为NAS消息。授权请求消息包括远端终端的标识和RSC。授权请求消息用于请求对远端终端接入RSC对应的业务进行授权。若授权成功(success),则表明远端终端可以接入RSC对应的业务;若授权失败(failure),则表明远端终端不可以接入RSC对应的业务。这里的RSC为携带在直接通信请求消息中的RSC。
可选地,在确定直接通信请求消息中RSC对应于紧急业务时,中继终端向AMF发送授权请求消息,用于请求对远端终端接入RSC对应的业务进行授权。
步骤803,AMF向授权网元发送授权请求消息。
相应地,授权网元接收来自AMF的授权请求消息。
这里的授权请求消息包括远端终端的标识和RSC。授权请求消息用于请求对远端终端接入RSC对应的业务进行授权。这里的RSC为携带在来自AMF的授权请求消息中的RSC。
本申请不限定授权网元的具体类型,例如,授权网元可以是UDM、PCF或AUSF等。
步骤804,授权网元向AMF发送授权响应消息。
相应地,AMF接收来自授权网元的授权响应消息。
其中,授权响应消息包括授权结果。授权结果包括:授权成功或授权失败。若授权结果为授权成功,则表明远端终端可以接入RSC对应的业务;若授权结果为授权失败,则表明远端终端不可以接入RSC对应的业务。
一种可能的实现方式,授权网元中存储有远端终端的签约数据,授权网元根据远端终端的签约数据对远端终端接入RSC对应的业务进行授权。其中,远端终端的签约数据包括:远端终端是否允许接入紧急业务、或远端终端是否允许接入RSC对应的业务。
步骤805,AMF向中继终端发送授权响应消息。
相应地,中继终端接收来自AMF的授权响应消息。
其中,授权响应消息包括授权结果。授权结果包括:授权成功或授权失败。若授权结果为授权成功,则表明远端终端可以接入RSC对应的业务;若授权结果为授权失败,则表明远端终端不可以接入RSC对应的业务。
步骤806,中继终端根据授权结果,确定是否建立与远端终端之间的PC5连接。
具体地,若授权结果为授权成功,则中继终端确定建立与远端终端之间的PC5连接。若授权结果为授权失败,则中继终端确定不建立与远端终端之间的PC5连接。
步骤807,若确定建立与远端终端之间的PC5连接,则中继终端向远端终端发送直接通信接受消息。
相应地,远端终端接收来自中继终端的直接通信接受消息。
步骤808,若确定不建立与远端终端之间的PC5连接,则中继终端向远端终端发送直接通信拒绝消息。
相应地,远端终端接收来自中继终端的直接通信拒绝消息。
可选地,直接通信拒绝消息中包括原因值,该原因值为授权失败。
可选地,方法800还包括步骤809。
步骤809,中继终端向AMF发送第一信息。
相应地,AMF接收来自中继终端的第一信息。
其中,第一信息用于指示中继终端的中继服务用于紧急业务。即中继终端告知网络中
继终端正在处理、执行或中继紧急业务。
可选地,第一信息可以承载在业务请求(service request)消息或PDU会话建立(PDU session establishment)消息或注册(registration)消息。
例如,当方法800应用于层2中继的场景时,方法800可以包括步骤809。当然,当方法800应用于其他中继场景(例如层3中继的场景)时,方法800也可以包括步骤809。
需要说明的是,本申请不限定执行步骤809的时机。
例如,中继终端在授权远端终端接入紧急业务的授权流程中执行步骤809(例如,如图8所示,步骤809可以在步骤802后执行)。
又例如,中继终端在执行步骤801后发起步骤809。
又例如,中继终端在执行步骤806后发起步骤809。
又例如,中继终端接收到远端终端的发现消息(模式B)后,发起步骤809。
又例如,中继终端接收到远端终端的发现消息(模式B)并确定中继终端所接入的网络支持紧急业务后,发起步骤809。
又例如,中继终端发送发现消息(模式A)后,发起步骤809。
在示例3中,在确定远端终端被授权接入紧急业务后,中继终端才建立与远端终端之间的PC5连接,以便为远端终端提供紧急业务的中继服务,这样有助于避免非授权的远端终端接入紧急业务。
上文结合图4至图8,详细描述了本申请提供的方法,下面将结合图9至图10,详细描述本申请的装置实施例。
可以理解的是,为了实现上述实施例中功能,图9或图10中的装置包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本申请中所公开的实施例描述的各示例的单元及方法步骤,本申请能够以硬件或硬件和计算机软件相结合的形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用场景和设计约束条件。
图9和图10为本申请的实施例提供的可能的装置的结构示意图。这些装置可以用于实现上述方法实施例中中继终端、策略控制功能网元、远端终端或应用功能网元的功能,因此也能实现上述方法实施例所具备的有益效果。
如图9所示,装置900包括收发单元910和处理单元920。
在一些实现方式中,当装置900用于实现上述方法实施例中中继终端的功能时,处理单元920用于:确定所述中继终端所接入的网络支持紧急业务。收发单元910,用于发送第一消息,所述第一消息用于远端终端发现所述中继终端。
其中,所述第一消息为第一发现消息,所述第一发现消息包括所述紧急业务对应的中继服务码;或者,所述第一消息为响应消息,所述响应消息用于响应来自所述远端终端的第二发现消息,所述第二发现消息包括所述紧急业务对应的中继服务码。
可选地,处理单元920具体用于:在满足以下情况中的至少一个时,确定所述中继终端所接入的网络支持所述紧急业务:所述中继终端从接入和移动性管理功能网元或接入网设备接收到紧急业务支持指示;所述中继终端保存有所述紧急业务支持指示;或者,所述中继终端已建立紧急协议数据单元PDU会话。
其中,所述紧急业务支持指示用于指示所述中继终端所接入的网络支持所述紧急业务。
可选地,所述中继终端处于紧急注册状态,所述第一消息包括紧急注册指示和/或紧急注册时间信息,所述紧急注册指示用于指示所述中继终端处于紧急注册状态,所述紧急注册时间信息用于指示所述中继终端处于紧急注册状态的时长或剩余时长。
可选地,收发单元910还用于接收来自策略控制功能网元的第一配置信息,所述第一配置信息包括所述紧急业务对应的中继服务码。
可选地,所述第一配置信息还包括所述紧急业务对应的中继服务码的优先级,处理单元920还用于根据所述优先级,维持或释放所述中继终端与所述远端终端之间的连接,所述连接用于传输所述紧急业务。
可选地,收发单元910还用于接收来自所述远端终端的直接通信请求消息,所述直接通信请求消息用于请求建立直接通信连接,所述直接通信连接用于传输所述紧急业务;向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;接收来自所述接入和移动性管理功能网元的授权结果;若所述授权结果指示授权所述远端终端接入所述紧急业务成功,则向所述远端终端发送直接通信接受消息;或者,若所述授权结果指示授权所述远端终端接入所述紧急业务失败,则向所述远端终端发送直接通信拒绝消息。
可选地,收发单元910还用于接收来自所述远端终端的所述第二发现消息;向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;接收来自所述接入和移动性管理功能网元的授权结果。处理单元920具体用于:当所述授权结果指示授权所述远端终端接入所述紧急业务成功时,执行所述确定所述中继终端所接入的网络支持紧急业务。
可选地,在确定所述中继终端所接入的网络支持紧急业务之前,收发单元910还用于接收来自所述远端终端的所述第二发现消息。在确定所述中继终端所接入的网络支持紧急业务之后,收发单元910还用于向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;接收来自所述接入和移动性管理功能网元的授权结果。收发单元910具体用于:当所述授权结果指示授权所述远端终端接入所述紧急业务成功时,向所述远端终端发送所述响应消息。
可选地,收发单元910还用于向接入和移动性管理功能网元发送第一信息,所述第一信息用于指示所述中继终端的中继服务用于紧急业务。
在另一些实现方式中,当装置900用于实现上述方法实施例中中继终端的功能时,处理单元920用于:生成第一消息,所述中继终端处于紧急注册状态,所述第一消息包括紧急注册指示和/或紧急注册时间信息,所述紧急注册指示用于指示所述中继终端处于紧急注册状态,所述紧急注册时间信息用于指示所述中继终端处于紧急注册状态的时长或剩余时长。收发单元910用于:发送所述第一消息,所述第一消息用于远端终端发现所述中继终端。
其中,所述第一消息为第一发现消息,所述第一发现消息包括紧急业务对应的中继服务码;或者,所述第一消息为响应消息,所述响应消息用于响应来自所述远端终端的第二发现消息,所述第二发现消息包括紧急业务对应的中继服务码
可选地,收发单元910还用于接收来自策略控制功能网元的第一配置信息,所述第一配置信息包括所述紧急业务对应的中继服务码。
可选地,所述第一配置信息还包括所述紧急业务对应的中继服务码的优先级。处理单元920还用于根据所述紧急业务对应的中继服务码的优先级,维持或释放所述中继终端与所述远端终端之间的连接,所述连接用于传输所述紧急业务。
可选地,收发单元910还用于接收来自所述远端终端的直接通信请求消息,所述直接通信请求消息用于请求建立直接通信连接,所述直接通信连接用于传输所述紧急业务;向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;接收来自所述接入和移动性管理功能网元的授权结果;若所述授权结果指示授权所述远端终端接入所述紧急业务成功,则向所述远端终端发送直接通信接受消息;或者,若所述授权结果指示授权所述远端终端接入所述紧急业务失败,则向所述远端终端发送直接通信拒绝消息。
可选地,收发单元910还用于接收来自所述远端终端的所述第二发现消息;向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;接收来自所述接入和移动性管理功能网元的授权结果。收发单元910具体用于:当所述授权结果指示授权所述远端终端接入所述紧急业务成功时,向所述远端终端发送所述响应消息。
可选地,收发单元910还用于向接入和移动性管理功能网元发送第一信息,所述第一信息用于指示所述中继终端的中继服务用于紧急业务。
当装置900用于实现上述方法实施例中PCF的功能时,收发单元910或处理单元920用于:获取紧急业务对应的中继服务码。收发单元910,用于向中继终端发送第一配置信息,所述第一配置信息包括所述紧急业务对应的中继服务码。
可选地,所述第一配置信息还包括所述紧急业务对应的中继服务码的优先级。
可选地,收发单元910具体用于:当所述中继终端所接入的网络支持所述紧急业务时,向中继终端发送所述第一配置信息。
可选地,处理单元920还用于:在满足以下情况中的至少一个时,确定所述中继终端所接入的网络支持所述紧急业务:所述策略控制功能网元从接入和移动性管理功能网元接收到紧急业务支持指示;或者,所述策略控制功能网元存储或预配置有所述紧急业务支持指示。
其中,所述紧急业务支持指示用于指示所述中继终端所接入的网络支持所述紧急业务。
可选地,收发单元910还用于向远端终端发送第二配置信息,所述第二配置信息包括所述紧急业务对应的中继服务码。
可选地,所述第二配置信息还包括所述紧急业务对应的中继服务码的优先级。
可选地,收发单元910具体用于从应用功能网元获取所述紧急业务对应的中继服务码。
当装置900用于实现上述方法实施例中远端终端的功能时,收发单元910用于:接收来自第一中继终端的第一消息,所述第一消息用于所述远端设备发现所述第一中继终端,所述第一消息包括紧急注册指示和/或紧急注册时间信息,所述紧急注册指示用于指示所述第一中继终端处于紧急注册状态,所述紧急注册时间信息用于指示所述第一中继终端处于紧急注册状态的时长或剩余时长。处理单元920用于:根据所述第一消息,选择中继终端。
其中,所述第一消息为第一发现消息,所述第一发现消息包括紧急业务对应的中继服
务码;或者,所述第一消息为响应消息,所述响应消息用于响应所述远端终端发送的第二发现消息,所述第二发现消息包括紧急业务对应的中继服务码。
可选地,收发单元910还用于接收来自策略控制功能网元的第二配置信息,所述第二配置信息包括所述紧急业务对应的中继服务码。
可选地,所述第二配置信息还包括所述紧急业务对应的中继服务码的优先级。处理单元920还用于根据所述紧急业务对应的中继服务码的优先级,维持或释放所述远端终端与所述中继终端之间的连接,所述连接用于传输所述紧急业务。
当装置900用于实现上述方法实施例中AF的功能时,处理单元920用于:确定紧急业务对应的中继服务码;收发单元910用于:向策略控制功能网元发送所述紧急业务对应的中继服务码。
关于上述收发单元910和处理单元920更详细的描述,可参考上述方法实施例中的相关描述,在此不再说明。
如图10示,装置1000包括处理器1010。处理器1010与存储器1030耦合,存储器1030用于存储指令。当装置1000用于实现上文所述的方法时,处理器1010用于执行存储器1030中的指令,以实现上述处理单元920的功能。
可选地,装置1000还包括存储器1030。
可选地,装置1000还包括接口电路1020。处理器1010和接口电路1020之间相互耦合。可以理解的是,接口电路1020可以为收发器或输入输出接口。当装置1000用于实现上文所述的方法时,处理器1010用于执行指令,以实现上述处理单元920的功能,接口电路1020用于实现上述收发单元910的功能。
示例性地,当装置1000为应用于中继终端的芯片时,该芯片实现上述方法实施例中中继终端的功能。该芯片从中继终端中的其它模块(如射频模块或天线)接收信息,该信息是其他装置发送给中继终端的;或者,该芯片向中继终端中的其它模块(如射频模块或天线)发送信息,该信息是中继终端发送给其他装置的。
示例性地,当装置1000为应用于策略控制功能网元的芯片时,该芯片实现上述方法实施例中策略控制功能网元的功能。该芯片从策略控制功能网元中的其它模块(如射频模块或天线)接收信息,该信息是其他装置发送给策略控制功能网元的;或者,该芯片向策略控制功能网元中的其它模块(如射频模块或天线)发送信息,该信息是策略控制功能网元发送给其他装置的。
示例性地,当装置1000为应用于远端终端的芯片时,该芯片实现上述方法实施例中远端终端的功能。该芯片从远端终端中的其它模块(如射频模块或天线)接收信息,该信息是其他装置发送给远端终端的;或者,该芯片向远端终端中的其它模块(如射频模块或天线)发送信息,该信息是远端终端发送给其他装置的。
示例性地,当装置1000为应用于应用功能网元的芯片时,该芯片实现上述方法实施例中应用功能网元的功能。该芯片从应用功能网元中的其它模块(如射频模块或天线)接收信息,该信息是其他装置发送给应用功能网元的;或者,该芯片向应用功能网元中的其它模块(如射频模块或天线)发送信息,该信息是应用功能网元发送给其他装置的。
本申请还提供一种通信装置,包括处理器,该处理器与存储器耦合,存储器用于存储计算机程序或指令和/或数据,处理器用于执行存储器存储的计算机程序或指令,或读取
存储器存储的数据,以执行上文各方法实施例中的方法。可选地,处理器为一个或多个。可选地,该通信装置包括存储器。可选地,存储器为一个或多个。可选地,该存储器与该处理器集成在一起,或者分离设置。
本申请还提供一种计算机可读存储介质,其上存储有用于实现上述各方法实施例中由中继终端、策略控制功能网元、远端终端或应用功能网元执行的方法的计算机指令。
本申请还提供一种计算机程序产品,包含指令,该指令被计算机执行时以实现上述各方法实施例中由中继终端、策略控制功能网元、远端终端或应用功能网元执行的方法。
本申请还提供一种通信***,该通信***包括上文各实施例中的中继终端、策略控制功能网元、远端终端或应用功能网元中至少一个。
上述提供的任一种装置中相关内容的解释及有益效果均可参考上文提供的对应的方法实施例,此处不再赘述。
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(central processing unit,CPU),还可以是其它通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器、闪存、只读存储器、可编程只读存储器、可擦除可编程只读存储器、电可擦除可编程只读存储器、寄存器、硬盘、移动硬盘、只读光盘存储器(compact disc read-only memory,CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于中继终端、策略控制功能网元、远端终端或应用功能网元中。当然,处理器和存储介质也可以作为分立组件存在于中继终端、策略控制功能网元、远端终端或应用功能网元中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行所述计算机程序或指令时,全部或部分地执行本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其它可编程装置。所述计算机程序或指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序或指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,数字视频光盘;还可以是半导体介质,例如,固态硬盘。
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术
语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。
除非另有说明,本申请实施例所使用的所有技术和科学术语与本申请的技术领域的技术人员通常理解的含义相同。本申请中所使用的术语只是为了描述具体的实施例的目的,不是旨在限制本申请的范围。应理解,上述为举例说明,上文的例子仅仅是为了帮助本领域技术人员理解本申请实施例,而非要将申请实施例限制于所示例的具体数值或具体场景。本领域技术人员根据上文所给出的例子,显然可以进行各种等价的修改或变化,这样的修改和变化也落入本申请实施例的范围内。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (38)
- 一种通信方法,其特征在于,所述方法包括:中继终端确定所述中继终端所接入的网络支持紧急业务;所述中继终端发送第一消息,所述第一消息用于远端终端发现所述中继终端;其中,所述第一消息为第一发现消息,所述第一发现消息包括所述紧急业务对应的中继服务码;或者,所述第一消息为响应消息,所述响应消息用于响应来自所述远端终端的第二发现消息,所述第二发现消息包括所述紧急业务对应的中继服务码。
- 根据权利要求1所述的方法,其特征在于,所述中继终端确定所述中继终端所接入的网络支持紧急业务,包括:在满足以下情况中的至少一个时,所述中继终端确定所述中继终端所接入的网络支持所述紧急业务:所述中继终端从接入和移动性管理功能网元或接入网设备接收到紧急业务支持指示;所述中继终端保存有所述紧急业务支持指示;或者,所述中继终端已建立紧急协议数据单元PDU会话;其中,所述紧急业务支持指示用于指示所述中继终端所接入的网络支持所述紧急业务。
- 根据权利要求1或2所述的方法,其特征在于,所述中继终端处于紧急注册状态,所述第一消息包括紧急注册指示和/或紧急注册时间信息,所述紧急注册指示用于指示所述中继终端处于紧急注册状态,所述紧急注册时间信息用于指示所述中继终端处于紧急注册状态的时长和/或剩余时长。
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:所述中继终端接收来自策略控制功能网元的第一配置信息,所述第一配置信息包括所述紧急业务对应的中继服务码。
- 根据权利要求4所述的方法,其特征在于,所述第一配置信息还包括所述紧急业务对应的中继服务码的优先级,所述方法还包括:所述中继终端根据所述优先级,维持或释放所述中继终端与所述远端终端之间的连接,所述连接用于传输所述紧急业务。
- 根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:所述中继终端接收来自所述远端终端的直接通信请求消息,所述直接通信请求消息用于请求建立直接通信连接,所述直接通信连接用于传输所述紧急业务;所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;若所述授权结果指示授权所述远端终端接入所述紧急业务成功,则所述中继终端向所述远端终端发送直接通信接受消息;或者,若所述授权结果指示授权所述远端终端接入所述紧急业务失败,则所述中继终端向所述远端终端发送直接通信拒绝消息。
- 根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:所述中继终端接收来自所述远端终端的所述第二发现消息;所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;所述中继终端确定所述中继终端所接入的网络支持紧急业务,包括:当所述授权结果指示授权所述远端终端接入所述紧急业务成功时,所述中继终端执行所述确定所述中继终端所接入的网络支持紧急业务。
- 根据权利要求1至5中任一项所述的方法,其特征在于,在所述中继终端确定所述中继终端所接入的网络支持紧急业务之前,所述方法还包括:所述中继终端接收来自所述远端终端的所述第二发现消息;在所述中继终端确定所述中继终端所接入的网络支持紧急业务之后,所述方法还包括:所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;所述中继终端发送第一消息,包括:当所述授权结果指示授权所述远端终端接入所述紧急业务成功时,所述中继终端向所述远端终端发送所述响应消息。
- 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:所述中继终端向接入和移动性管理功能网元发送第一信息,所述第一信息用于指示所述中继终端的中继服务用于紧急业务。
- 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:所述中继终端接收来自所述远端终端的第七消息,所述第七消息用于请求建立与所述中继终端之间的连接,所述连接用于传输紧急业务;在接收到所述第七消息后,若所述中继终端没有紧急协议数据单元PDU会话,则所述中继终端请求建立紧急PDU会话。
- 根据权利要求10所述的方法,其特征在于,所述第七消息为直接通信请求消息。
- 一种通信方法,其特征在于,所述方法包括:策略控制功能网元获取紧急业务对应的中继服务码;所述策略控制功能网元向中继终端发送第一配置信息,所述第一配置信息包括所述紧急业务对应的中继服务码。
- 根据权利要求12所述的方法,其特征在于,所述第一配置信息还包括所述紧急业务对应的中继服务码的优先级。
- 根据权利要求12或13所述的方法,其特征在于,所述策略控制功能网元向中继终端发送第一配置信息,包括:当所述中继终端所接入的网络支持所述紧急业务时,所述策略控制功能网元向中继终端发送所述第一配置信息。
- 根据权利要求14所述的方法,其特征在于,所述方法还包括:在满足以下情况中的至少一个时,所述策略控制功能网元确定所述中继终端所接入的 网络支持所述紧急业务:所述策略控制功能网元从接入和移动性管理功能网元接收到紧急业务支持指示;或者,所述策略控制功能网元存储或预配置有所述紧急业务支持指示;其中,所述紧急业务支持指示用于指示所述中继终端所接入的网络支持所述紧急业务。
- 根据权利要求12至15中任一项所述的方法,其特征在于,所述方法还包括:所述策略控制功能网元向远端终端发送第二配置信息,所述第二配置信息包括所述紧急业务对应的中继服务码。
- 根据权利要求16所述的方法,其特征在于,所述第二配置信息还包括所述紧急业务对应的中继服务码的优先级。
- 根据权利要求12至17中任一项所述的方法,其特征在于,所述策略控制功能网元获取紧急业务对应的中继服务码,包括:所述策略控制功能网元从应用功能网元获取所述紧急业务对应的中继服务码。
- 一种通信方法,其特征在于,所述方法包括:远端终端接收来自第一中继终端的第一消息,所述第一消息用于所述远端设备发现所述第一中继终端,所述第一消息包括紧急注册指示和/或紧急注册时间信息,所述紧急注册指示用于指示所述第一中继终端处于紧急注册状态,所述紧急注册时间信息用于指示所述第一中继终端处于紧急注册状态的时长和/或剩余时长;所述远端终端根据所述第一消息,选择中继终端;其中,所述第一消息为第一发现消息,所述第一发现消息包括紧急业务对应的中继服务码;或者,所述第一消息为响应消息,所述响应消息用于响应所述远端终端发送的第二发现消息,所述第二发现消息包括紧急业务对应的中继服务码。
- 根据权利要求19所述的方法,其特征在于,所述方法还包括:所述远端终端接收来自策略控制功能网元的第二配置信息,所述第二配置信息包括所述紧急业务对应的中继服务码。
- 根据权利要求20所述的方法,其特征在于,所述第二配置信息还包括所述紧急业务对应的中继服务码的优先级,所述方法还包括:所述远端终端根据所述紧急业务对应的中继服务码的优先级,维持或释放所述远端终端与所述中继终端之间的连接,所述连接用于传输所述紧急业务。
- 一种通信方法,其特征在于,所述方法包括:中继终端生成第一消息,所述中继终端处于紧急注册状态,所述第一消息包括紧急注册指示和/或紧急注册时间信息,所述紧急注册指示用于指示所述中继终端处于紧急注册状态,所述紧急注册时间信息用于指示所述中继终端处于紧急注册状态的时长和/或剩余时长;所述中继终端发送所述第一消息,所述第一消息用于远端终端发现所述中继终端;其中,所述第一消息为第一发现消息,所述第一发现消息包括紧急业务对应的中继服务码;或者,所述第一消息为响应消息,所述响应消息用于响应来自所述远端终端的第二发现消息,所述第二发现消息包括紧急业务对应的中继服务码。
- 根据权利要求22所述的方法,其特征在于,所述方法还包括:所述中继终端接收来自策略控制功能网元的第一配置信息,所述第一配置信息包括所 述紧急业务对应的中继服务码。
- 根据权利要求23所述的方法,其特征在于,所述第一配置信息还包括所述紧急业务对应的中继服务码的优先级,所述方法还包括:所述中继终端根据所述紧急业务对应的中继服务码的优先级,维持或释放所述中继终端与所述远端终端之间的连接,所述连接用于传输所述紧急业务。
- 根据权利要求22至24中任一项所述的方法,其特征在于,所述方法还包括:所述中继终端接收来自所述远端终端的直接通信请求消息,所述直接通信请求消息用于请求建立直接通信连接,所述直接通信连接用于传输所述紧急业务;所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;若所述授权结果指示授权所述远端终端接入所述紧急业务成功,则所述中继终端向所述远端终端发送直接通信接受消息;或者,若所述授权结果指示授权所述远端终端接入所述紧急业务失败,则所述中继终端向所述远端终端发送直接通信拒绝消息。
- 根据权利要求22至24中任一项所述的方法,其特征在于,所述方法还包括:所述中继终端接收来自所述远端终端的所述第二发现消息;所述中继终端向接入和移动性管理功能网元发送第二消息,所述第二消息用于请求授权所述远端终端接入所述紧急业务;所述中继终端接收来自所述接入和移动性管理功能网元的授权结果;所述中继终端发送第一消息,包括:当所述授权结果指示授权所述远端终端接入所述紧急业务成功时,所述中继终端向所述远端终端发送所述响应消息。
- 根据权利要求22至26中任一项所述的方法,其特征在于,所述方法还包括:所述中继终端向接入和移动性管理功能网元发送第一信息,所述第一信息用于指示所述中继终端的中继服务用于紧急业务。
- 根据权利要求22至27中任一项所述的方法,其特征在于,所述方法还包括:所述中继终端接收来自所述远端终端的第七消息,所述第七消息用于请求建立与所述中继终端之间的连接,所述连接用于传输紧急业务;在接收到所述第七消息后,若所述中继终端没有紧急协议数据单元PDU会话,则所述中继终端请求建立紧急PDU会话。
- 根据权利要求28所述的方法,其特征在于,所述第七消息为直接通信请求消息。
- 一种通信装置,其特征在于,包括:处理器,用于执行存储器中存储的计算机程序,以使得所述装置执行如权利要求1至11中任一项所述的方法,或者执行如权利要求12至18中任一项所述的方法,或者执行如权利要求19至21中任一项所述的方法,或者执行如权利要求22至29中任一项所述的方法。
- 根据权利要求30所述的装置,其特征在于,所述装置还包括所述存储器。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至11中任一项所述的方法,或者执行如权利要求12至18中任一项所述的方法,或者执行如权利要求19至21中任一项所述的方法,或者执行如权利要求22至29中任一项所述的方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括用于执行如权利要求1至11中任一项所述的方法的指令,或者包括执行如权利要求12至18中任一项所述的方法的指令,或者包括执行如权利要求19至21中任一项所述的方法的指令,或者包括执行如权利要求22至29中任一项所述的方法的指令。
- 一种通信***,其特征在于,包括:中继终端和远端终端;所述中继终端,用于执行如权利要求1至11中任一项所述的方法。
- 根据权利要求34所述的***,其特征在于,所述远端终端,用于执行如权利要求19至21中任一项所述的方法。
- 根据权利要求34或35所述的***,其特征在于,所述通信***还包括:策略控制功能网元;所述策略控制功能网元,用于执行如权利要求12至18中任一项所述的方法。
- 一种通信***,其特征在于,包括:中继终端和远端终端;所述中继终端,用于执行如权利要求22至29中任一项所述的方法;所述远端终端,用于执行如权利要求18至21中任一项所述的方法。
- 根据权利要求37所述的***,其特征在于,所述通信***还包括:策略控制功能网元;所述策略控制功能网元,用于执行如权利要求14至18中任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210443631.5 | 2022-04-26 | ||
CN202210443631.5A CN116996859A (zh) | 2022-04-26 | 2022-04-26 | 一种通信方法和通信装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023207357A1 true WO2023207357A1 (zh) | 2023-11-02 |
Family
ID=88517275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/080566 WO2023207357A1 (zh) | 2022-04-26 | 2023-03-09 | 一种通信方法和通信装置 |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN116996859A (zh) |
TW (1) | TW202410713A (zh) |
WO (1) | WO2023207357A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118283742A (zh) * | 2022-12-29 | 2024-07-02 | 华为技术有限公司 | 通信方法、装置及*** |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150296481A1 (en) * | 2012-10-31 | 2015-10-15 | Zte Corporation | Method And Corresponding Apparatus For Sending And Receiving Trunking Paging In LTE System |
CN113518319A (zh) * | 2020-04-09 | 2021-10-19 | 华为技术有限公司 | 一种临近服务的业务处理方法、设备及*** |
CN113596804A (zh) * | 2020-04-30 | 2021-11-02 | 维沃移动通信有限公司 | 状态指示方法、设备及*** |
CN114258085A (zh) * | 2020-09-23 | 2022-03-29 | 华硕电脑股份有限公司 | 无线通信***中服务质量(QoS)信息修改的方法和设备 |
-
2022
- 2022-04-26 CN CN202210443631.5A patent/CN116996859A/zh active Pending
-
2023
- 2023-03-09 WO PCT/CN2023/080566 patent/WO2023207357A1/zh unknown
- 2023-04-25 TW TW112115367A patent/TW202410713A/zh unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150296481A1 (en) * | 2012-10-31 | 2015-10-15 | Zte Corporation | Method And Corresponding Apparatus For Sending And Receiving Trunking Paging In LTE System |
CN113518319A (zh) * | 2020-04-09 | 2021-10-19 | 华为技术有限公司 | 一种临近服务的业务处理方法、设备及*** |
CN113596804A (zh) * | 2020-04-30 | 2021-11-02 | 维沃移动通信有限公司 | 状态指示方法、设备及*** |
CN114258085A (zh) * | 2020-09-23 | 2022-03-29 | 华硕电脑股份有限公司 | 无线通信***中服务质量(QoS)信息修改的方法和设备 |
Non-Patent Citations (1)
Title |
---|
ZTE: "Clause 6.3.2 Add Type of Discovery Message Parameter in ProSe Direct Discovery Messages", 3GPP SA WG2 MEETING #146E (E-MEETING), S2-2106909, 27 August 2021 (2021-08-27), XP052059424 * |
Also Published As
Publication number | Publication date |
---|---|
TW202410713A (zh) | 2024-03-01 |
CN116996859A (zh) | 2023-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112514422B (zh) | 支持组通信的***与方法 | |
EP4042830B1 (en) | Releasing of multiple pdu sessions | |
WO2022033558A1 (zh) | 一种中继管理方法及通信装置 | |
WO2021249430A1 (zh) | 一种通信方法及相关设备 | |
WO2022017285A1 (zh) | 报文转发方法、装置及*** | |
WO2022033543A1 (zh) | 一种中继通信方法及通信装置 | |
WO2021238882A1 (zh) | 一种实现业务连续性的方法及装置 | |
WO2023207357A1 (zh) | 一种通信方法和通信装置 | |
US20220070967A1 (en) | Communications method, apparatus, and system | |
WO2022021435A1 (zh) | 数据传输方法、设备及存储介质 | |
US20220360969A1 (en) | Communication method and apparatus | |
WO2023087965A1 (zh) | 一种通信方法及装置 | |
US20220182910A1 (en) | Data Processing Method, Apparatus, And System | |
CN114731731A (zh) | 通信方法及装置 | |
WO2023241467A1 (zh) | 通信方法及通信装置 | |
WO2023020046A1 (zh) | 一种通信方法及通信装置 | |
WO2024074148A1 (zh) | 通信方法、装置及*** | |
US20240244107A1 (en) | Method for determining application server | |
WO2023137579A1 (zh) | 紧急业务的提供方法、装置、设备及存储介质 | |
US20240155343A1 (en) | Method and device for authorization based on upf in wireless communication system | |
WO2023143212A1 (zh) | 一种通信方法及装置 | |
WO2024032555A1 (zh) | 一种通信方法和通信装置 | |
WO2023197789A1 (zh) | 通信方法和通信装置 | |
WO2023169225A1 (zh) | 一种pin管理方法、通信装置及通信*** | |
WO2023124932A1 (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: 23794793 Country of ref document: EP Kind code of ref document: A1 |