WO2023137579A1 - Emergency service providing method and apparatus, device, and storage medium - Google Patents
Emergency service providing method and apparatus, device, and storage medium Download PDFInfo
- Publication number
- WO2023137579A1 WO2023137579A1 PCT/CN2022/072471 CN2022072471W WO2023137579A1 WO 2023137579 A1 WO2023137579 A1 WO 2023137579A1 CN 2022072471 W CN2022072471 W CN 2022072471W WO 2023137579 A1 WO2023137579 A1 WO 2023137579A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- relay
- terminal
- relay terminal
- emergency
- message
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 146
- 230000004044 response Effects 0.000 claims description 60
- 230000008859 change Effects 0.000 claims description 32
- 238000004590 computer program Methods 0.000 claims description 27
- 230000008569 process Effects 0.000 claims description 27
- 238000004891 communication Methods 0.000 abstract description 46
- 230000006870 function Effects 0.000 description 29
- 238000010586 diagram Methods 0.000 description 14
- 238000007726 management method Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000001413 cellular effect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
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
Definitions
- the embodiments of the present application relate to the technical field of communications, and in particular, to a method, device, device, and storage medium for providing emergency services.
- U2N (UE-to-network, terminal to network) relay is to relay and transmit data for remote (remote) UE through a Relay UE (User Equipment, terminal equipment), so that Remote UE can communicate with the network.
- Relay UE User Equipment, terminal equipment
- Relay Service Code represents the service.
- the core network element configures the corresponding relationship between RSC, DNN (Data Network Name, data network name) and slices for the Relay UE and Remote UE, so that the Remote UE can select the appropriate Relay UE for the service.
- RSC Relay Service Code
- DNN Data Network Name, data network name
- the Remote UE needs to select the Relay UE first.
- the core network element needs to configure whether the RSC can provide emergency services to the Relay UE and the Remote UE respectively.
- the Remote UE cannot select the Relay UE that can provide the emergency service to perform the emergency service.
- Embodiments of the present application provide a method, device, device, and storage medium for providing emergency services.
- a relay device can send an RSC to a remote device and mark the RSC as supporting the emergency service, so that the remote terminal can select the relay terminal to perform the emergency service. Described technical scheme is as follows:
- a method for providing an emergency service is provided, the method is performed by a relay terminal, and the method includes:
- the first emergency service indication is used to instruct the RSC to support the emergency service.
- a method for providing an emergency service is provided, the method is performed by a remote terminal, and the method includes:
- the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
- an emergency service providing device is provided, the device is used to implement a relay terminal, and the device includes:
- a first sending module configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;
- the first emergency service indication is used to instruct the RSC to support the emergency service.
- an emergency service providing device is provided, the device is used to implement a remote terminal, and the device includes:
- the second receiving module is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
- the second connection module is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
- a terminal device includes a transceiver
- the transceiver is configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;
- the first emergency service indication is used to instruct the RSC to support the emergency service.
- a terminal device includes a transceiver and a processor connected to the transceiver;
- the transceiver is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
- the processor is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
- a computer-readable storage medium is provided, and a computer program is stored in the storage medium, and the computer program is used for execution by a processor to implement the above-mentioned method for providing emergency services on the relay terminal side, or to implement the above-mentioned method for providing emergency services on the remote terminal side.
- a chip is provided, the chip includes a programmable logic circuit and/or program instructions, and when the chip is running, it is used to implement the above-mentioned method for providing emergency services on the relay terminal side, or to implement the above-mentioned method for providing emergency services on the remote terminal side.
- a computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and the processor reads and executes the computer instructions from the computer-readable storage medium, so as to realize the above-mentioned method for providing emergency services on the relay terminal side, or realize the above-mentioned method for providing emergency services on the remote terminal side.
- the first message By sending the first message from the relay terminal to the remote terminal, the first message carries the RSC provided by the relay terminal and the first emergency service indication, and uses the first emergency service indication to instruct the RSC to support the emergency service, so that the remote terminal can establish a connection with the relay terminal to perform emergency services when there is an emergency service demand.
- the remote terminal can select the relay terminal to perform emergency services according to the emergency service indication sent by the relay terminal.
- FIG. 1 is a schematic diagram of a communication system provided by an embodiment of the present application.
- FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of the present application.
- FIG. 3 is a system architecture diagram of a Layer 3 U2N relay provided by an embodiment of the present application.
- FIG. 4 is a system architecture diagram of a layer-2 U2N relay provided by an embodiment of the present application.
- FIG. 5 is a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- FIG. 6 is a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- FIG. 7 is a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- FIG. 8 is a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- FIG. 9 is a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- FIG. 10 is a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- Fig. 11 is a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- Fig. 12 is a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- Fig. 13 is a block diagram of an emergency service providing device provided by an embodiment of the present application.
- Fig. 14 is a block diagram of an emergency service providing device provided by an embodiment of the present application.
- Fig. 15 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- the network architecture and business scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application.
- Those of ordinary skill in the art know that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
- FIG. 1 shows a block diagram of a communication system provided by an exemplary embodiment of the present application.
- the communication system may include: a remote terminal 10 , a relay terminal 20 and a network device 30 .
- the remote terminal 10 refers to a terminal device that performs sidelink communication with the relay terminal 20 and can then communicate with network devices/other remote terminals via the relay of the relay terminal 20 .
- the number of remote terminals 10 is generally multiple, and one or more remote terminals 10 may be distributed in a cell managed by each network device 30 .
- the remote terminal 10 may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of user equipment, mobile stations (Mobile Station, MS) and the like. For convenience of description, the devices mentioned above are collectively referred to as remote terminals.
- the relay terminal 20 refers to a terminal device capable of performing sidelink communication with the remote terminal 10 .
- the number of relay terminals 20 is generally multiple, and one or more relay terminals 20 may be distributed in a cell managed by each network device 30 .
- the relay terminal 20 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment, mobile stations (Mobile Station, MS) and the like. For convenience of description, the devices mentioned above are collectively referred to as relay terminals.
- the network device 30 is a device for providing wireless communication functions for the remote terminal 10 and the relay terminal 20 .
- the network device 30 may include various forms of macro base stations, micro base stations, relay stations, access points and so on.
- the name of the network device 30 may be different, for example, in a 5G NR system, it is called a 5G base station (5G Node B, gNodeB/gNB).
- the connection between the remote terminal 10 and the relay terminal 20 is established through a side link, and can communicate with each other through a direct communication interface (such as a PC5 interface).
- the relay terminal 20 can broadcast network device messages to the remote terminal through the side link, thereby realizing network relay.
- the remote terminal 10 and the relay terminal 20 directly transmit communication data through the side link, which is different from receiving or sending communication data through network equipment in a traditional cellular system.
- This transmission process has the characteristics of short delay and low overhead, and is suitable for communication between two terminals with close geographical location (such as vehicle equipment and other peripheral equipment with close geographical location).
- the network device 30 and the relay terminal 20 communicate with each other through some air technology, such as Uu interface.
- the terminal devices (including the remote terminal 10 and the relay terminal 20 ) support broadcasting and sending discovery messages, so that other terminal devices can discover themselves by receiving the discovery messages.
- GSM Global System of Mobile Communication
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- GPRS General Packet Radio Service
- LTE Long Term Evolution
- FDD Frequency Division Duplex
- FDD Frequency Division Duplex
- TDD Time Division Duplex
- LTE-A New Radio
- NR New Radio
- NR Universal Mobile Telecommunication System
- WiMAX Worldwide Interoperability for Microwave Access
- WLAN Wireless Local Area Networks
- WiFi Wireless Fidelity
- mobile communication systems will not only support traditional communication, but also support, for example, device-to-device (Device to Device, D2D) communication, machine-to-machine (Machine to Machine, M2M) communication, machine type communication (Machine Type Communication, MTC), inter-vehicle (Vehicle to Vehicle, V2V) communication and Internet of Vehicles ( Vehicle to Everything, V2X) system, etc.
- D2D Device to Device
- M2M Machine to Machine
- MTC Machine Type Communication
- Vehicle to Vehicle V2V
- V2X Vehicle to Everything
- NCIS service as a new service form is introduced into the standard to carry out related standardized services.
- NCIS services are mainly aimed at applications such as AR (Augmented Reality)/VR (Virtual Reality), games, etc., and have high requirements on service quality such as speed, delay, packet loss rate, and high-speed codec.
- AR Augmented Reality
- VR Virtual Reality
- service quality such as speed, delay, packet loss rate, and high-speed codec.
- 10Gbps Giga bits per second, gigabits per second
- the session established for the NCIS service is an NCIS session, and UEs in the same NCIS session can be considered to form an NCIS group, for example: a team session in a game.
- ProSe Proximity Services, short-distance service
- NCIS Network-to-network relay scenario.
- the U2N relay transmits data to the Remote UE through a Relay UE, so that the Remote UE can communicate with the network.
- FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of the present application.
- the 5G network architecture released by the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) standard group includes:
- Access Network supporting 3GPP technology (including Radio Access Network, RAN or Access Network, AN), user plane function (User Plane Function, UPF) network element, access and mobility management function (Access and Mobility Management Function, AMF) network element, session management function (Session Management Function, SMF) network element, policy control function (Policy Control Function, PCF) network NE, Application Function (AF) NE, Data Network (DN) NE, Network Slice Selection Function (NSSF) NE, Authentication Server Function (AUSF) NE, and Unified Data Management (UDM) NE.
- 3GPP technology including Radio Access Network, RAN or Access Network, AN
- User Plane Function User Plane Function
- AMF Access and Mobility Management Function
- SMF Session Management Function
- Policy Control Function Policy Control Function
- PCF Policy Control Function
- AF Application Function
- DN Data Network
- NSSF Network Slice Selection Function
- AUSF Authentication Server Function
- UDM Unified Data Management
- the 5G network architecture shown in FIG. 5 does not constitute a limitation on the 5G network architecture. During specific implementation, the 5G network architecture may include more or less network elements than shown in the figure, or combine certain network elements. It should be understood that AN or RAN is represented in the form of (R)AN in FIG. 2 .
- the terminal can be user equipment (User Equipment, UE), handheld terminal, notebook computer, subscriber unit (Subscriber Unit), cellular phone (Cellular Phone), smart phone (Smart Phone), wireless data card, personal digital assistant (Personal Digital Assistant, PDA) computer, tablet computer, wireless modem (modem), handheld device (handheld), laptop computer (Laptop Computer), cordless phone (C Ordless Phone) or wireless local loop (Wireless Local Loop, WLL) station, machine type communication (Machine Type Communication, MTC) terminal, handheld device with wireless communication function, computing device, processing device connected to a wireless modem, unmanned aerial vehicle, vehicle-mounted device, wearable device, terminal in the Internet of Things, virtual reality device, terminal device in the future 5G network, future evolution of the public land mobile network (Public Land Mobile Network, PLMN) terminal etc.
- UE User Equipment
- handheld terminal notebook computer
- Subscriber unit Subscriber Unit
- cellular phone Cellular Phone
- Smart Phone Smart Phone
- wireless data card personal digital assistant (Personal Digital Assistant, P
- the access network device is the access device that the terminal accesses to the network architecture through wireless means. It is mainly responsible for wireless resource management, Quality of Service (QoS) management, data compression and encryption on the air interface side.
- QoS Quality of Service
- base station NodeB evolved base station eNodeB
- base station in 5G mobile communication system or new generation wireless (New Radio, NR) communication system base station in future mobile communication system, etc.
- the UPF network element, the AMF network element, the SMF network element, and the PCF network element are network elements of the 3GPP core network (referred to as core network elements).
- UPF network elements can be called user plane functional network elements, which are mainly responsible for the transmission of user data.
- Other network elements can be called control plane functional network elements, which are mainly responsible for authentication, authentication, registration management, session management, mobility management, and policy control, etc., to ensure reliable and stable transmission of user data.
- the UPF network element can be used to forward and receive terminal data.
- the UPF network element can receive service data from the data network and transmit it to the terminal through the access network device; the UPF network element can also receive user data from the terminal through the access network device and forward it to the data network.
- the transmission resource allocated and scheduled by the UPF network element for the terminal is managed and controlled by the SMF network element.
- the bearer between the terminal and the UPF network element may include: the user plane connection between the UPF network element and the access network device, and the establishment of a channel between the access network device and the terminal.
- the user plane connection is a quality of service (Quality of Service, QoS) flow (flow) that can establish transmission data between the UPF network element and the access network device.
- QoS Quality of Service
- the AMF network element can be used to manage the terminal's access to the core network, such as: terminal location update, network registration, access control, terminal mobility management, terminal attachment and detachment, etc.
- the AMF network element may also provide storage resources on the control plane for the session of the terminal when providing services for the session, so as to store the session identifier, the SMF network element identifier associated with the session identifier, and the like.
- the SMF network element can be used to select the user plane network element for the terminal, redirect the user plane network element for the terminal, assign an Internet Protocol (Internet Protocol, IP) address to the terminal, establish a bearer (also called a session) between the terminal and the UPF network element, modify and release the session, and control QoS.
- IP Internet Protocol
- PCF network elements are used to provide policies to AMF network elements and SMF network elements, such as QoS policies and slice selection policies.
- the AF network element is used to interact with the 3GPP core network element to support application-influenced data routing, access network open functions, and interact with the PCF network element for policy control, etc.
- the DN can provide users with data services such as the IP Multi-Media Service (IP Multi-Media Service, IMS) network and the Internet.
- IP Multi-Media Service IP Multi-Media Service
- IMS IP Multi-Media Service
- AS Application Server
- NSSF is used for the selection of network slices.
- the functions supported are: select the network slice instance set serving the UE; determine the allowed network slice selection assistance information (Network Slice Selection Assistance Information, NSSAI), and determine the mapping to the contracted single network slice selection assistance information (Single-Network Slice Selection Assistance Information, S-NSSAI) when necessary; determine the configured NSSAI, and determine the contracted S-NSSAI) if necessary NSSAI mapping; determine the AMF set that may be used to query the UE, or determine the list of candidate AMFs based on configuration.
- NSSAI Network Slice Selection Assistance Information
- S-NSSAI Single-Network Slice Selection Assistance Information
- the AUSF is used to receive the request from the AMF to authenticate the terminal, request a key from the UDM, and then forward the issued key to the AMF for authentication processing.
- UDM includes functions such as generation and storage of user subscription data, management of authentication data, and supports interaction with external third-party servers.
- Fig. 3 is a system architecture diagram of a Layer 3 U2N relay provided by the embodiment of the present application.
- a PC5 link is established between the remote terminal 10 and the relay terminal 20, and the relay terminal 20 uses a PDU (Protocol Data Unit, protocol data unit) session to relay data from the remote terminal 10 for the remote terminal 10.
- PDU Protocol Data Unit
- protocol data unit Protocol Data Unit
- each PDU session has a type, for example: IPv4, IPv6, Ethernet (Ethernet), Unstructured (unstructured). Only data of this type can be transmitted using the corresponding PDU session.
- FIG. 4 is a system architecture diagram of a Layer 2 (L2, layer 2) U2N relay provided by an embodiment of the present application.
- the remote terminal 10 and the relay terminal 20 have their own core network elements: AMF, SMF, UPF, etc.
- the configuration parameters can come from PCF (Policy Control Function, policy control network element) or application server, or the configuration parameters are pre-configured on the terminal or in the SIM card.
- PCF Policy Control Function, policy control network element
- application server or the configuration parameters are pre-configured on the terminal or in the SIM card.
- Relay discovery can have two methods: Model A (mode A) and Model B (mode B).
- Model A is that the Relay UE actively broadcasts the RSC that can provide relay services.
- UE1 is a Relay UE, and UE1 broadcasts an announcement message.
- the announcement message includes the RSC that UE1 can provide relay services.
- UE2, UE3, and UE4 are Remote UEs.
- the Remote UE listens to the announcement message broadcast by the Relay UE, and selects the Relay UE to establish a connection according to the RSC in the announcement message.
- the Remote UE first sends out the RSC it needs. If there is a Relay UE around that can support RSC, the Relay UE will reply to the Remote UE.
- UE5 is a Remote UE
- UE5 broadcasts a solicitation message
- the request message includes the RSC required by UE5
- UE2, UE3, and UE4 are Relay UEs
- the Relay UE listens to the request message broadcast by the Remote UE. If the Relay UE can provide the RSC required by the Remote UE, it sends a response message to the Remote UE.
- the Relay UE and the Remote UE establish a PC5 connection.
- the Relay Service Code can represent the service.
- the core network element configures the corresponding relationship between RSC, DNN (Data Network Name, and data network name) and slices for the UE, so that the Remote UE can select the appropriate relay for the service.
- the Remote UE needs to use emergency services, the Remote UE also needs to select a Relay UE first.
- the core network element In order to enable the Remote UE to select a suitable Relay UE, the core network element also needs to configure whether the RSC can provide emergency services.
- the network element of the core network pre-configures the RSC to the Remote UE and the Relay UE, and indicates whether the RSC supports emergency services.
- the Relay UE broadcasts the RSC.
- the Remote UE monitors the RSC, it determines whether the RSC supports emergency services according to the configuration of the core network elements. If it supports the emergency services, the Remote UE can establish a connection with the RelayUE to perform emergency services.
- the Remote UE broadcasts the RSC configured by the network elements of the core network to support emergency services.
- the Relay UE can provide the RSC, the Relay UE sends a response message to the Remote UE, and the Remote UE selects a Relay UE from the Relay UEs that sent the response message to establish a connection to perform emergency services.
- the core network element needs to configure the RSC corresponding to the emergency service for the Remote UE or the Relay UE, but the Remote UE may not be able to configure the RSC corresponding to the emergency service for the Remote UE in some scenarios (for example, the Remote UE is not inserted with a SIM (Subscriber Identity Module, Subscriber Identity Card)).
- the embodiment of the present application provides a method for providing emergency services, which can enable the remote terminal to select a relay terminal supporting emergency services to perform emergency services when the network element of the core network cannot configure an RSC supporting emergency services for the remote terminal.
- FIG. 7 shows a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- the method can be executed by a relay terminal in the communication system shown in FIG. 1 .
- the method may include the steps of:
- Step 210 Send a first message, where the first message includes the RSC and the first emergency service indication.
- the first emergency service indication (emergency service indication) is used to instruct the RSC to support emergency services.
- the first emergency service indication may also be used to indicate whether the RSC supports emergency services.
- the first emergency service indication may also be used to indicate the type of emergency service supported by the RSC.
- the first message includes an RSC, and the first emergency service indication is used to indicate that the RSC supports emergency services.
- the first message may also include multiple RSCs, where each RSC supporting the emergency service corresponds to a first emergency service indication, or, the first emergency service indication is used to indicate at least one RSC supporting the emergency service.
- the RSC in the first message is the RSC of the relay service that the relay terminal can provide.
- the relay terminal may send multiple first messages respectively, and each first message includes one RSC.
- the relay terminal may also send a first message, where the first message includes multiple RSCs.
- the relay discovery procedure is mode A
- the first message is a relay discovery announcement message
- the relay terminal broadcasts the relay discovery announcement message
- the relay discovery announcement message includes the RSC and the first emergency service indication.
- the relay terminal is an announcer (announcing), and the remote terminal is a monitor (monitoring).
- the relay discovery announcement message may also include announcer information (Announcer Info), and the announcer information includes relay terminal information.
- the first message is a relay discovery response message.
- the relay terminal receives the relay discovery request message sent by the remote terminal, where the relay discovery request message includes a second emergency service indication, and the second emergency service indication is used to indicate that the remote terminal has an emergency service demand.
- the relay terminal sends a relay discovery response message, where the relay discovery response message includes the RSC and the first emergency service indication.
- the relay terminal is a discoveree
- the remote terminal is a discoverer.
- the relay discovery request message can also include discoverer information (Discoverer Info), and the discoverer information includes remote terminal information;
- the relay discovery response message can also include discoveree information (Discoveree Info), and the discoverer information includes relay terminal information.
- the relay terminal may receive the configuration information sent by the core network equipment, the configuration information includes the RSC of the relay service that the relay terminal can provide, and an indication of whether the RSC supports emergency services. Or, if the relay terminal cannot receive the configuration information sent by the core network device, the relay terminal itself indicates that any RSC provided by itself supports emergency services. That is, the relay terminal sends an RSC of any relay service and carries the first emergency service indication.
- the first message by sending the first message from the relay terminal to the remote terminal, the first message carries the RSC provided by the relay terminal and the first emergency service indication, and uses the first emergency service indication to instruct the RSC to support the emergency service, so that the remote terminal can establish a connection with the relay terminal and perform emergency services when there is an emergency service demand.
- the remote terminal can select the relay terminal to perform emergency services according to the emergency service indication sent by the relay terminal.
- FIG. 8 shows a flowchart of a method for providing emergency services provided by an embodiment of the present application.
- the method can be executed by a remote terminal in the communication system shown in FIG. 1 .
- the method may include the steps of:
- Step 310 Receive the first message sent by the relay terminal, where the first message includes the RSC and the first emergency service indication.
- the remote terminal receives a message sent by at least one relay terminal, or, the remote terminal receives at least one message sent by a relay terminal.
- some messages carry emergency service indications (first emergency service indications).
- the first message is a relay discovery announcement message.
- the remote terminal monitors the relay discovery announcement message broadcast by the relay terminal.
- Step 320 When there is an emergency service demand, establish a connection with the relay terminal, and the relay terminal is determined according to the first emergency service indication.
- the remote terminal learns that the relay terminal can provide the relay service supporting the emergency service according to the first emergency service indication in the first message, and then the remote terminal may select the relay terminal to establish a connection to perform the emergency service.
- the remote terminal selects a relay terminal from at least one relay terminal sending the first emergency service indication, and establishes a connection with it to execute the emergency service.
- the first message by sending the first message from the relay terminal to the remote terminal, the first message carries the RSC provided by the relay terminal and the first emergency service indication, and uses the first emergency service indication to instruct the RSC to support the emergency service, so that the remote terminal can establish a connection with the relay terminal and perform emergency services when there is an emergency service demand.
- the remote terminal can select the relay terminal to perform emergency services according to the emergency service indication sent by the relay terminal.
- FIG. 9 shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. This method is applied to the communication system shown in FIG. 1 .
- the method may include the steps of:
- Step 401 the relay terminal broadcasts a relay discovery announcement message.
- the Relay UE sends a U2N relay discovery Announcement (relay discovery announcement) message;
- the U2N relay discovery Announcement message includes Announcer Info (used to indicate the information of the announcer), RSC, and emergency service indication (used to indicate that the RSC can provide emergency services).
- Relay UE allocates source Layer 2 ID (source layer 2 address) and destination Layer 2 ID (destination layer 2 address) for U2N relay discovery Announcement.
- the destination Layer 2 ID for sending the U2N relay discovery Announcement message can be a Layer 2 ID with all 1s (layer 2 address) or other Layer 2 IDs.
- the relay terminal allocates a first source layer 2 address and/or a first destination layer 2 address for the relay discovery announcement message; wherein, the first destination layer 2 address is all 1s, or, the first destination layer 2 address is all 0s, or, the first destination layer 2 address is any layer 2 address.
- the first source layer 2 address is the source address of the relay discovery announcement message.
- the first destination layer 2 address is the destination address of the relay discovery announcement message.
- the relay terminal assigns a destination address of the relay discovery announcement message, and the remote terminal monitors the relay discovery announcement message on the destination address.
- the Remote UE can select a Relay UE that supports the emergency service to access according to the emergency service indication in the U2N relay discovery Announcement message.
- the technical solution provided by the embodiment of this application uses the relay terminal to broadcast the relay discovery announcement message, carries the RSC provided by the relay terminal and the first emergency service indication in the relay discovery announcement message, and uses the first emergency service indication to instruct the RSC to support the emergency service, so that the remote terminal can establish a connection with the relay terminal and perform the emergency service when there is an emergency service demand.
- FIG. 10 shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. This method is applied to the communication system shown in FIG. 1 .
- the method may include the steps of:
- Step 501 The remote terminal broadcasts a relay discovery request message.
- the Remote UE sends a U2N relay discovery Solicitation (relay discovery request) message; the U2N relay discovery Solicitation message includes Discoverer Info (used to indicate the information of the discoverer), and emergency service indication (used to indicate that the Remote UE needs to initiate an emergency service).
- the U2N relay discovery Solicitation message includes Discoverer Info (used to indicate the information of the discoverer), and emergency service indication (used to indicate that the Remote UE needs to initiate an emergency service).
- the Remote UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Solicitation message, and the destination Layer 2 ID for sending the U2N relay discovery Solicitation message can be a Layer 2 ID of all 1s or another Layer 2 ID.
- the remote terminal allocates a second source layer 2 address and/or a second destination layer 2 address for the relay discovery request message; wherein, the second destination layer 2 address is all 1s, or, the second destination layer 2 address is all 0s, or, the second destination layer 2 address is any layer 2 address.
- the second source layer 2 address is the source address of the relay discovery request message.
- the second destination layer 2 address is the destination address of the relay discovery request message.
- the remote terminal allocates a destination address of the relay discovery request message, and the relay terminal monitors the relay discovery request message on the destination address.
- Step 502 the relay terminal sends a relay discovery response message to the remote terminal.
- the Relay UE that supports emergency services returns a U2N relay Discovery Response (relay discovery response) message to the Remote UE.
- the U2N relay Discovery Response message includes Discoveree Info (used to indicate the information of the discovered person), RSC, and emergency service indication (used to indicate that the RSC in the message can provide emergency services).
- the destination Layer 2 ID for sending the U2N relay Discovery Response message is the source Layer 2 ID of the U2N relay discovery Solicitation message in step 501, and the Relay UE allocates the source Layer 2 ID for sending the U2N relay Discovery Response message.
- the relay terminal determines the second source Layer 2 address of the relay discovery request message as the third destination Layer 2 address of the relay discovery response message; and allocates the third source Layer 2 address for the relay discovery response message.
- the third source layer 2 address is the source address of the relay discovery response message.
- the third destination layer 2 address is the destination address of the relay discovery response message.
- the source address of the relay discovery request message is the destination address of the relay discovery response message.
- the technical solution provided by the embodiment of this application uses the remote terminal to broadcast the relay discovery request message, and carries the second emergency service indication in the relay discovery request message.
- the second emergency service indication is used to indicate that the remote terminal has an emergency service demand.
- the relay terminal supporting the emergency service replies with the relay discovery response message.
- the relay discovery response message carries the RSC provided by the relay terminal and the first emergency service indication.
- the first emergency service indication is used to instruct the RSC to support the emergency service, so that the remote terminal selects a relay terminal supporting the emergency service to establish a connection and execute the emergency service.
- the relay terminal may also send an emergency registration indication to the remote terminal.
- FIG. 11 shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. This method is applied to the communication system shown in FIG. 1 .
- the method may include the steps of:
- Step 601 The relay terminal initiates a registration process and performs emergency registration.
- the Relay UE registers first. This registration process is an emergency registration.
- the emergency registration occurs when the authentication process fails, the Relay UE is in a forbidden area (restricted area), and the UE itself does not have a valid SIM card inserted.
- the relay terminal performs emergency registration; or, when the relay terminal is in a restricted area, the relay terminal performs emergency registration; or, when the relay terminal is not inserted with a valid SIM card, the relay terminal performs emergency registration.
- this embodiment provides a parameter: emergency registration indication, which is used to assist the remote terminal to select a relay terminal to establish a connection.
- the remote terminal can preferentially select a normally registered relay terminal to access to ensure communication security.
- Step 602 the relay terminal broadcasts a relay discovery announcement message.
- the Relay UE uses Model A to perform the U2N relay discovery process
- the Relay UE sends a U2N relay discovery Announcement message
- the Relay UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Announcement, and the destination Layer 2 ID for sending the U2N relay discovery Announcement message can be all 1
- the U2N relay discovery Announcement message includes Announcer Info, RSC, emergency service indication and emergency registration indication.
- the emergency registration indication is used to indicate that the Relay UE is an unauthenticated UE or that the registration process initiated by the Relay UE is an emergency registration.
- the first message also includes an emergency registration indication; the emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
- Step 603 the remote terminal broadcasts a relay discovery request message.
- the Remote UE sends a U2N relay discovery Solicitation message; the Remote UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Solicitation message, and sends a U2N relay discovery Solicitation message to the destination Layer 2
- the ID can be a Layer 2 ID of all 1s or other Layer 2 IDs; the U2N relay discovery Solicitation message includes Discoverer Info and emergency service instructions.
- Step 604 the relay terminal sends a relay discovery response message to the remote terminal.
- the Relay UE that supports emergency services returns a U2N relay Discovery Response message to the Remote UE, and the destination Layer 2 ID for sending the U2N relay Discovery Response message is the source Layer 2 ID in step 603, and the Relay UE assigns a source Layer 2 ID for sending the U2N relay Discovery Response message; U2N relay Discover y
- the Response message includes Discoveree Info, RSC, and emergency service instructions.
- the U2N relay Discovery Response message also includes an emergency registration indication, which is used to indicate that the Relay UE is an unauthenticated UE or that the registration process initiated by the Relay UE is an emergency registration.
- the first message also includes an emergency registration indication; the emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
- the emergency registration indication means that the signaling sent between the Remote UE and the Relay UE cannot be protected safely. In this way, the Remote UE can select the Relay UE according to the emergency registration indication. Since the emergency registration indication means that the security cannot be guaranteed, the Remote UE can preferentially select other Relay UEs to serve it when there are other Relay UEs providing emergency services.
- step 601 and step 602 are performed; when the relay discovery process is mode B, step 601, step 603 and step 604 are performed.
- the emergency registration indication is carried in the first message sent by the relay terminal to inform the remote terminal that the relay terminal is an emergency registered terminal, and communication security cannot be guaranteed, so that the remote terminal preferentially selects a normally registered relay terminal to perform emergency services.
- the relay terminal when the relay terminal becomes in an emergency registration state, the relay terminal may also send a state change indication to the remote terminal.
- FIG. 12 shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. This method is applied to the communication system shown in FIG. 1 .
- the method may include the steps of:
- Step 701 the relay terminal initiates a registration process.
- the Relay UE Before the Relay UE performs the U2N relay discovery process, it first registers, and this registration process is a normal registration.
- Step 702 the relay terminal broadcasts a relay discovery announcement message.
- the Relay UE uses Model A to perform the U2N relay discovery process
- the Relay UE sends a U2N relay discovery Announcement message
- the Relay UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Announcement message, and the destination Layer 2 ID for sending the U2N relay discovery Announcement message can be All 1 Layer 2 ID or other Layer 2 ID
- U2N relay discovery Announcement message includes Announcer Info, RSC, and emergency service indication.
- Step 703 The remote terminal broadcasts a relay discovery request message.
- the Remote UE sends a U2N relay discovery Solicitation message; the Remote UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Solicitation message, and sends a U2N relay discovery Solicitation message to the destination Layer 2
- the ID can be a Layer 2 ID of all 1s or other Layer 2 IDs; the U2N relay discovery Solicitation message includes Discoverer Info and emergency service instructions.
- Step 704 the relay terminal sends a relay discovery response message to the remote terminal.
- the Relay UE that supports emergency services returns a U2N relay Discovery Response message to the Remote UE, and the destination Layer 2 ID for sending the U2N relay Discovery Response message is the source Layer 2 ID in step 703, and the Relay UE allocates a source Layer 2 ID for sending the U2N relay Discovery Response message; U2N relay Discover y
- the Response message includes Discoveree Info, RSC, and emergency service instructions.
- the Remote UE selects the Relay UE to access and establish a PC5 connection. That is, the remote terminal establishes a connection with the relay terminal.
- Step 705 The relay terminal receives the terminal configuration instruction sent by the AMF.
- the state of the Relay UE changes to the emergency registration state.
- the AMF finds that the Relay UE moves to the forbidden area, the AMF notifies the Relay UE to enter the emergency registration state through a UE configuration command (configuration command) message.
- the relay terminal determines that the state of the relay terminal has changed to an emergency registration state
- the relay terminal receives the terminal configuration instruction sent by the core network element (AMF network element), the terminal configuration instruction is used to instruct the relay terminal to enter the emergency registration state, and the terminal configuration instruction is sent by the core network element when it is determined that the relay terminal moves to a restricted area.
- AMF network element AMF network element
- the relay terminal determines that the state of the relay terminal has changed to an emergency registration state
- the relay terminal receives the authentication rejection instruction sent by the core network element (AMF network element), the authentication rejection instruction is used to instruct the relay terminal to enter the emergency registration state, and the authentication rejection instruction is sent by the core network element when the authentication fails due to re-authentication.
- AMF network element AMF network element
- Step 706 the relay terminal sends a state change indication to the remote terminal.
- the relay terminal When the relay terminal enters the emergency registration state, the relay terminal sends a state change indication to the remote terminal, where the state change indication is used to instruct the relay terminal to enter the emergency registration state.
- the Relay UE informs the Remote UE that it has entered the emergency registration state through PC5 signaling. Since the emergency registration indication means that the security cannot be guaranteed, the Remote UE can decide whether to maintain the connection with the Relay UE according to the status change indication. If the Remote UE chooses to release the PC5 connection, the Remote UE can preferentially reselect other Relay UEs to serve it when there are other Relay UEs providing emergency services.
- the remote terminal sends a connection release instruction to the relay terminal based on the state change indication, and the relay terminal receives the connection release instruction sent by the remote terminal; the relay terminal releases the connection with the remote terminal.
- step 701, step 702, step 705 and step 706 are performed; when the relay discovery process is mode B, step 701, step 703, step 704, step 705 and step 706 are performed.
- the relay terminal after the remote terminal establishes a connection with the relay terminal, if the registration status of the relay terminal changes to the emergency registration status, the relay terminal sends a status change indication to the remote terminal to inform the remote terminal that the relay terminal is currently in the emergency registration status. If there are other relay terminals that can provide emergency services, the remote terminal can disconnect from the current relay terminal and establish connections with other relay terminals to perform emergency services to ensure communication security.
- the technical solutions of the present application are introduced and described mainly from the perspective of interaction between the relay terminal and the remote terminal.
- the above-mentioned steps performed by the relay terminal can be independently implemented as a method for providing emergency services on the relay terminal side; the above-mentioned steps performed by the remote terminal can be independently implemented as a method for providing emergency services on the remote terminal side.
- FIG. 13 shows a block diagram of an emergency service providing apparatus provided by an embodiment of the present application.
- the device has the function of implementing the above example method on the relay terminal side, and the function may be implemented by hardware, or by executing corresponding software on the hardware.
- the device may be the relay terminal described above, or may be set in the relay terminal. As shown in Figure 13, the device may include:
- the first sending module 801 is configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;
- the first emergency service indication is used to instruct the RSC to support the emergency service.
- the first message includes a relay discovery announcement message; the first sending module 801 is configured to broadcast the relay discovery announcement message.
- the first message includes a relay discovery response message; the first sending module 801 is configured to send the relay discovery response message to a remote terminal.
- the apparatus further includes: a first receiving module 802, configured to receive a relay discovery request message sent by the remote terminal, where the relay discovery request message includes a second emergency service indication, and the second emergency service indication is used to indicate that the remote terminal has an emergency service requirement; the first sending module 801 is configured to send the relay discovery response message to the remote terminal when the relay terminal supports the emergency service.
- the relay terminal is an announcer; the relay discovery announcement message further includes announcer information, and the announcer information includes information about the relay terminal.
- the relay terminal is a discovered person; the relay discovery response message further includes information about the discovered person, and the information about the discovered person includes information about the relay terminal.
- the remote terminal is a discoverer; the relay discovery request message further includes discoverer information, and the discoverer information includes information about the remote terminal.
- the device further includes: a first allocation module 804, configured to allocate a first source layer 2 address and/or a first destination layer 2 address for the relay discovery announcement message; wherein, the first destination layer 2 address is all 1s, or the first destination layer 2 address is all 0s, or the first destination layer 2 address is any layer 2 address.
- a first allocation module 804 configured to allocate a first source layer 2 address and/or a first destination layer 2 address for the relay discovery announcement message; wherein, the first destination layer 2 address is all 1s, or the first destination layer 2 address is all 0s, or the first destination layer 2 address is any layer 2 address.
- the apparatus further includes: a first assignment module 804, configured to determine the second source Layer 2 address of the relay discovery request message as the third destination Layer 2 address of the relay discovery response message; and allocate a third source Layer 2 address for the relay discovery response message.
- a first assignment module 804 configured to determine the second source Layer 2 address of the relay discovery request message as the third destination Layer 2 address of the relay discovery response message; and allocate a third source Layer 2 address for the relay discovery response message.
- the first message further includes an emergency registration indication; the emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
- the device further includes: a registration module 805, configured to perform emergency registration when the authentication fails; or, the registration module 805, configured to perform the emergency registration when the relay terminal is in a restricted area; or, the registration module 805, configured to perform the emergency registration when the relay terminal is not inserted into a valid user identification SIM card.
- the first sending module 801 is configured to send a state change indication to a remote terminal when the relay terminal enters an emergency registration state, and the state change indication is used to instruct the relay terminal to enter an emergency registration state.
- the apparatus further includes: a state module 806, configured to determine that the state of the relay terminal has changed to the emergency registration state when the relay terminal moves to a restricted area; or, a state module 806, configured to determine that the state of the relay terminal has changed to the emergency registration state when re-authentication on the network side results in an authentication failure.
- the device further includes: a first receiving module 802, configured to receive a terminal configuration instruction sent by a core network element, where the terminal configuration instruction is used to instruct the relay terminal to enter the emergency registration state, and the terminal configuration instruction is sent by the core network element when it is determined that the relay terminal moves to a restricted area.
- a first receiving module 802 configured to receive a terminal configuration instruction sent by a core network element, where the terminal configuration instruction is used to instruct the relay terminal to enter the emergency registration state, and the terminal configuration instruction is sent by the core network element when it is determined that the relay terminal moves to a restricted area.
- the apparatus further includes: a first receiving module 802, configured to receive an authentication rejection instruction sent by a core network element, the authentication rejection instruction being used to instruct the relay terminal to enter the emergency registration state, and the authentication rejection instruction is sent by the core network element when authentication fails due to re-authentication.
- a first receiving module 802 configured to receive an authentication rejection instruction sent by a core network element, the authentication rejection instruction being used to instruct the relay terminal to enter the emergency registration state, and the authentication rejection instruction is sent by the core network element when authentication fails due to re-authentication.
- the apparatus further includes: a first connection module 803, configured to establish a connection with the remote terminal.
- the apparatus further includes: a first receiving module 802, configured to receive a connection release instruction sent by the remote terminal; a first connection module 803, configured to release the connection with the remote terminal.
- FIG. 14 shows a block diagram of an emergency service providing apparatus provided by an embodiment of the present application.
- the device has the function of realizing the above-mentioned method example on the remote terminal side, and the function may be realized by hardware, or may be realized by executing corresponding software by hardware.
- the device may be the remote terminal described above, or may be set in the remote terminal. As shown in Figure 14, the device may include:
- the second receiving module 902 is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
- the second connection module 904 is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
- the first message includes a relay discovery announcement message; the second receiving module 902 is configured to receive the relay discovery announcement message broadcast by the relay terminal.
- the first message includes a relay discovery response message.
- the relay discovery response message is sent when the relay terminal supports the emergency service
- the apparatus further includes: a second sending module 901, configured to send a relay discovery request message to the relay terminal, where the relay discovery request message includes a second emergency service indication, and the second emergency service indication is used to indicate that the remote terminal has an emergency service demand.
- the relay terminal is an announcer; the relay discovery announcement message further includes announcer information, and the announcer information includes information about the relay terminal.
- the relay terminal is a discovered person; the relay discovery response message further includes information about the discovered person, and the information about the discovered person includes information about the relay terminal.
- the remote terminal is a discoverer; the relay discovery request message further includes discoverer information, and the discoverer information includes information about the remote terminal.
- the device further includes: a second allocation module 903, configured to allocate a second source layer 2 address and/or a second destination layer 2 address for the relay discovery request message; wherein, the second destination layer 2 address is all 1s, or the second destination layer 2 address is all 0s, or the second destination layer 2 address is any layer 2 address.
- a second allocation module 903 configured to allocate a second source layer 2 address and/or a second destination layer 2 address for the relay discovery request message; wherein, the second destination layer 2 address is all 1s, or the second destination layer 2 address is all 0s, or the second destination layer 2 address is any layer 2 address.
- the apparatus further includes: a selection module 905, configured to select the relay terminal supporting the emergency service according to the first emergency service indication when there is an emergency service demand; and the second connection module 904, configured to establish a connection with the relay terminal.
- the first message further includes an emergency registration indication; the emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
- the selection module 905 is configured to select the relay terminal supporting the emergency service according to the first emergency service indication and the emergency registration indication when there is an emergency service demand; the second connection module 904 is configured to establish a connection with the relay terminal.
- the second receiving module 902 is configured to receive a state change indication sent by the relay terminal, where the state change indication is used to instruct the relay terminal to enter an emergency registration state.
- the state change indication is sent by the relay terminal when the relay terminal moves to a restricted area; or, the state change indication is sent by the relay terminal when the network side re-authentication results in authentication failure.
- the second connection module 904 is configured to determine whether to maintain the connection with the relay terminal according to the state change indication.
- the apparatus further includes: a second sending module 901, configured to send a connection release instruction to the relay terminal according to the state change indication; and the second connection module 904, configured to release the connection with the relay terminal.
- the device provided in the above embodiment implements its functions, it only uses the division of the above-mentioned functional modules as an example for illustration.
- the above-mentioned function allocation can be completed by different functional modules according to actual needs, that is, the content structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
- FIG. 15 shows a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- the terminal device may include: a processor 1001 , a receiver 1002 , a transmitter 1003 , a memory 1004 and a bus 1005 .
- the processor 1001 includes one or more processing cores, and the processor 1001 executes various functional applications and information processing by running software programs and modules.
- the receiver 1002 and the transmitter 1003 can be realized as a transceiver 1006, and the transceiver 1006 can be a communication chip.
- the memory 1004 is connected to the processor 1001 through a bus 1005 .
- the memory 1004 may be used to store a computer program, and the processor 1001 is used to execute the computer program, so as to implement various steps performed by the terminal device in the foregoing method embodiments.
- the memory 1004 can be realized by any type of volatile or nonvolatile storage device or their combination.
- the volatile or nonvolatile storage device includes but is not limited to: RAM (Random-Access Memory, random access memory) and ROM (Read-Only Memory, read-only memory), EPROM (Erasable Programmable Read-Only Memory, erasable programmable read-only memory), EEPROM (Electrically Erasable Prog rammable Read-Only Memory, electrically erasable programmable read-only memory), flash memory or other solid-state storage technology, CD-ROM (Compact Disc Read-Only Memory, CD-ROM), DVD (Digital Video Disc, high-density digital video disc) or other optical storage, tape cartridges, tapes, disk storage or other magnetic storage devices.
- RAM Random-Access Memory, random access memory
- ROM Read-Only Memory, read-only memory
- EPROM Erasable Programmable Read-Only Memory, erasable programmable read-only memory
- the processor and the transceiver involved in the embodiment of the present application may execute the steps performed by the relay terminal in any of the methods shown in FIG. 7 to FIG. 12 above, which will not be repeated here.
- the terminal device when the terminal device is implemented as a relay terminal,
- the transceiver is configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;
- the first emergency service indication is used to instruct the RSC to support the emergency service.
- the processor and the transceiver involved in the embodiment of the present application may execute the steps performed by the remote terminal in any of the methods shown in FIG. 7 to FIG. 12 above, which will not be repeated here.
- the transceiver is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
- the processor is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
- the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is used to be executed by a processor of a relay terminal, so as to implement the above method for providing emergency services on the relay terminal side.
- the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is used to be executed by a processor of a remote terminal, so as to implement the above method for providing emergency services on the remote terminal side.
- the computer-readable storage medium may include: ROM (Read-Only Memory, read-only memory), RAM (Random-Access Memory, random access memory), SSD (Solid State Drives, solid state drive) or an optical disc, etc.
- the random access memory may include ReRAM (Resistance Random Access Memory, resistive random access memory) and DRAM (Dynamic Random Access Memory, dynamic random access memory).
- the embodiment of the present application also provides a chip, the chip includes a programmable logic circuit and/or program instructions, and when the chip runs on the relay terminal, it is used to implement the above method for providing emergency services on the relay terminal side.
- the embodiment of the present application also provides a chip, the chip includes a programmable logic circuit and/or program instructions, and when the chip runs on the remote terminal, it is used to implement the above method for providing emergency services on the remote terminal side.
- An embodiment of the present application also provides a computer program product or computer program, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and the processor of the relay terminal reads and executes the computer instructions from the computer-readable storage medium, so as to implement the above-mentioned method for providing emergency services on the relay terminal side.
- the embodiment of the present application also provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and the processor of the remote terminal reads and executes the computer instructions from the computer-readable storage medium, so as to implement the above method for providing emergency services on the remote terminal side.
- the "indication" mentioned in the embodiments of the present application may be a direct indication, may also be an indirect indication, and may also mean that there is an association relationship.
- a indicates B which may mean that A directly indicates B, for example, B can be obtained through A; it may also indicate that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it may also indicate that there is an association relationship between A and B.
- the term "corresponding" may indicate that there is a direct or indirect correspondence between the two, or that there is an association between the two, or that it indicates and is indicated, or configures and is configured.
- the "plurality” mentioned herein means two or more.
- “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently.
- the character “/” generally indicates that the contextual objects are an "or” relationship.
- the numbering of the steps described in this document only exemplifies a possible sequence of execution among the steps.
- the above-mentioned steps may not be performed in accordance with the sequence of numbers, for example, two steps with different numbers are performed at the same time, or steps with two different numbers are performed in the reverse order as shown in the illustration, which is not limited in this embodiment of the present application.
- the functions described in the embodiments of the present application may be implemented by hardware, software, firmware or any combination thereof.
- the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
- Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
- a storage media may be any available media that can be accessed by a general purpose or special purpose computer.
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
The present application relates to the technical field of communications, and discloses an emergency service providing method and apparatus, a device, and a storage medium. The method is performed by a relay terminal. The method comprises: sending a first message, the first message comprising a relay service code (RSC) and a first emergency service indication, and the first emergency service indication being used for indicating that the RSC supports the emergency service. In the method, a relay device sends the RSC to a remote device and it is annotated that the RSC supports the emergency service, so that a remote terminal selects a relay terminal to execute the emergency service.
Description
本申请实施例涉及通信技术领域,特别涉及一种紧急业务的提供方法、装置、设备及存储介质。The embodiments of the present application relate to the technical field of communications, and in particular, to a method, device, device, and storage medium for providing emergency services.
U2N(UE-to-network,终端到网络)relay(中继)是通过一个Relay UE(User Equipment,终端设备)为remote(远端)UE中继传输数据,从而使Remote UE可以与网络实现通信。U2N (UE-to-network, terminal to network) relay (relay) is to relay and transmit data for remote (remote) UE through a Relay UE (User Equipment, terminal equipment), so that Remote UE can communicate with the network.
Relay Service Code(RSC,中继服务码)代表业务,在L3(Layer3,层三)U2N relay架构中,核心网网元向Relay UE、Remote UE配置RSC与DNN(Data Network Name,数据网络名称)、切片的对应关系,如此Remote UE可以针对业务选择合适的Relay UE为其服务。当Remote UE需要使用紧急业务时,Remote UE需要先进行Relay UE的选择,为了能够使Remote UE进行合适的Relay UE的选择,核心网网元需要分别向Relay UE、Remote UE配置RSC是否可以提供紧急业务。Relay Service Code (RSC, relay service code) represents the service. In the L3 (Layer3, layer 3) U2N relay architecture, the core network element configures the corresponding relationship between RSC, DNN (Data Network Name, data network name) and slices for the Relay UE and Remote UE, so that the Remote UE can select the appropriate Relay UE for the service. When the Remote UE needs to use emergency services, the Remote UE needs to select the Relay UE first. In order to enable the Remote UE to select a suitable Relay UE, the core network element needs to configure whether the RSC can provide emergency services to the Relay UE and the Remote UE respectively.
若核心网网元无法向Remote UE和/或Relay UE配置紧急业务所对应的RSC,则Remote UE无法选择能够提供紧急业务的Relay UE来执行紧急业务。If the core network element cannot configure the RSC corresponding to the emergency service to the Remote UE and/or the Relay UE, the Remote UE cannot select the Relay UE that can provide the emergency service to perform the emergency service.
发明内容Contents of the invention
本申请实施例提供了一种紧急业务的提供方法、装置、设备及存储介质,可以由中继设备向远端设备发送RSC并标注RSC支持紧急业务,以便远端终端选择中继终端执行紧急业务。所述技术方案如下:Embodiments of the present application provide a method, device, device, and storage medium for providing emergency services. A relay device can send an RSC to a remote device and mark the RSC as supporting the emergency service, so that the remote terminal can select the relay terminal to perform the emergency service. Described technical scheme is as follows:
根据本申请实施例的一个方面,提供了一种紧急业务的提供方法,所述方法由中继终端执行,所述方法包括:According to an aspect of an embodiment of the present application, a method for providing an emergency service is provided, the method is performed by a relay terminal, and the method includes:
发送第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示;sending a first message, where the first message includes a relay service code RSC and a first emergency service indication;
其中,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务。Wherein, the first emergency service indication is used to instruct the RSC to support the emergency service.
根据本申请实施例的一个方面,提供了一种紧急业务的提供方法,所述方法由远端终端执行,所述方法包括:According to an aspect of an embodiment of the present application, a method for providing an emergency service is provided, the method is performed by a remote terminal, and the method includes:
接收中继终端发送的第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务;receiving a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
在存在紧急业务需求的情况下,与所述中继终端建立连接,所述中继终端是根据所述第一紧急业务指示确定出的。If there is an emergency service requirement, establish a connection with the relay terminal, where the relay terminal is determined according to the first emergency service indication.
根据本申请实施例的一个方面,提供了一种紧急业务的提供装置,所述装置用于实现中继终端,所述装置包括:According to an aspect of an embodiment of the present application, an emergency service providing device is provided, the device is used to implement a relay terminal, and the device includes:
第一发送模块,用于发送第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示;A first sending module, configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;
其中,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务。Wherein, the first emergency service indication is used to instruct the RSC to support the emergency service.
根据本申请实施例的一个方面,提供了一种紧急业务的提供装置,所述装置用于实现远端终端,所述装置包括:According to an aspect of an embodiment of the present application, an emergency service providing device is provided, the device is used to implement a remote terminal, and the device includes:
第二接收模块,用于接收中继终端发送的第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务;The second receiving module is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
第二连接模块,用于在存在紧急业务需求的情况下,与所述中继终端建立连接,所述中继终端是根据所述第一紧急业务指示确定出的。The second connection module is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
根据本申请实施例的一个方面,提供了一种终端设备,所述终端设备包括收发器;According to an aspect of an embodiment of the present application, a terminal device is provided, and the terminal device includes a transceiver;
所述收发器,用于发送第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示;The transceiver is configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;
其中,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务。Wherein, the first emergency service indication is used to instruct the RSC to support the emergency service.
根据本申请实施例的一个方面,提供了一种终端设备,所述终端设备包括收发器和与所述收发器相连的处理器;According to an aspect of an embodiment of the present application, a terminal device is provided, and the terminal device includes a transceiver and a processor connected to the transceiver;
所述收发器,用于接收中继终端发送的第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务;The transceiver is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
所述处理器,用于在存在紧急业务需求的情况下,与所述中继终端建立连接,所述中继终端是根据所述第一紧急业务指示确定出的。The processor is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
根据本申请实施例的一个方面,提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序用于处理器执行,以实现上述中继终端侧的紧急业务的提供方法,或实现上述远端终端侧的紧急业务的提供方法。According to an aspect of an embodiment of the present application, a computer-readable storage medium is provided, and a computer program is stored in the storage medium, and the computer program is used for execution by a processor to implement the above-mentioned method for providing emergency services on the relay terminal side, or to implement the above-mentioned method for providing emergency services on the remote terminal side.
根据本申请实施例的一个方面,提供了一种芯片,所述芯片包括可编程逻辑电路和/或程序指令,当所述芯片运行时,用于实现上述中继终端侧的紧急业务的提供方法,或实现上述远端终端侧的紧急业务的提供方法。According to an aspect of an embodiment of the present application, a chip is provided, the chip includes a programmable logic circuit and/or program instructions, and when the chip is running, it is used to implement the above-mentioned method for providing emergency services on the relay terminal side, or to implement the above-mentioned method for providing emergency services on the remote terminal side.
根据本申请实施例的一个方面,提供了一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,处理器从所述计算机可读存储介质读取并执行所述计算机指令,以实现上述中继终端侧的紧急业务的提供方法,或实现上述远端终端侧的紧急业务的提供方法。According to one aspect of the embodiments of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and the processor reads and executes the computer instructions from the computer-readable storage medium, so as to realize the above-mentioned method for providing emergency services on the relay terminal side, or realize the above-mentioned method for providing emergency services on the remote terminal side.
本申请实施例提供的技术方案可以带来如下有益效果:The technical solutions provided in the embodiments of the present application can bring the following beneficial effects:
通过由中继终端向远端终端发送第一消息,在第一消息中携带中继终端所提供的RSC,以及第一紧急业务指示,用第一紧急业务指示指示RSC支持紧急业务,以便远端终端在有紧急业务需求时,可以与该中继终端建立连接,执行紧急业务。在核心网网元无法为远端终端和/或中继终端配置支持紧急业务的RSC的情况下,远端终端可以根据中继终端发送的紧急业务指示,选择中继终端执行紧急业务。By sending the first message from the relay terminal to the remote terminal, the first message carries the RSC provided by the relay terminal and the first emergency service indication, and uses the first emergency service indication to instruct the RSC to support the emergency service, so that the remote terminal can establish a connection with the relay terminal to perform emergency services when there is an emergency service demand. In the case that the core network element cannot configure the remote terminal and/or the relay terminal with an RSC supporting emergency services, the remote terminal can select the relay terminal to perform emergency services according to the emergency service indication sent by the relay terminal.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other accompanying drawings can also be obtained based on these drawings without creative work.
图1是本申请一个实施例提供的通信系统的示意图;FIG. 1 is a schematic diagram of a communication system provided by an embodiment of the present application;
图2是本申请一个实施例提供的网络架构的示意图;FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of the present application;
图3是本申请一个实施例提供的层三U2N中继的系统架构图;FIG. 3 is a system architecture diagram of a Layer 3 U2N relay provided by an embodiment of the present application;
图4是本申请一个实施例提供的层二U2N中继的系统架构图;FIG. 4 is a system architecture diagram of a layer-2 U2N relay provided by an embodiment of the present application;
图5是本申请一个实施例提供的紧急业务的提供方法的流程图;FIG. 5 is a flowchart of a method for providing emergency services provided by an embodiment of the present application;
图6是本申请一个实施例提供的紧急业务的提供方法的流程图;FIG. 6 is a flowchart of a method for providing emergency services provided by an embodiment of the present application;
图7是本申请一个实施例提供的紧急业务的提供方法的流程图;FIG. 7 is a flowchart of a method for providing emergency services provided by an embodiment of the present application;
图8是本申请一个实施例提供的紧急业务的提供方法的流程图;FIG. 8 is a flowchart of a method for providing emergency services provided by an embodiment of the present application;
图9是本申请一个实施例提供的紧急业务的提供方法的流程图;FIG. 9 is a flowchart of a method for providing emergency services provided by an embodiment of the present application;
图10是本申请一个实施例提供的紧急业务的提供方法的流程图;FIG. 10 is a flowchart of a method for providing emergency services provided by an embodiment of the present application;
图11是本申请一个实施例提供的紧急业务的提供方法的流程图;Fig. 11 is a flowchart of a method for providing emergency services provided by an embodiment of the present application;
图12是本申请一个实施例提供的紧急业务的提供方法的流程图;Fig. 12 is a flowchart of a method for providing emergency services provided by an embodiment of the present application;
图13是本申请一个实施例提供的紧急业务的提供装置的框图;Fig. 13 is a block diagram of an emergency service providing device provided by an embodiment of the present application;
图14是本申请一个实施例提供的紧急业务的提供装置的框图;Fig. 14 is a block diagram of an emergency service providing device provided by an embodiment of the present application;
图15是本申请一个实施例提供的终端设备的结构示意图。Fig. 15 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
本申请实施例描述的网络架构以及业务场景是为了更加清楚地说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and business scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
请参考图1,其示出了本申请一个示例性实施例提供的通信系统的框图,该通信系统可以包括:远端终端10、中继终端20和网络设备30。Please refer to FIG. 1 , which shows a block diagram of a communication system provided by an exemplary embodiment of the present application. The communication system may include: a remote terminal 10 , a relay terminal 20 and a network device 30 .
远端终端10是指与中继终端20进行侧行链路通信并且继而可以经由中继终端20的中继而与网络设备/其他远端终端通信的终端设备。远端终端10的数量通常为多个,每一个网络设备30所管理的小区内可以分布一个或多个远端终端10。远端终端10可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备、移动台(Mobile Station,MS)等等。为方便描述,上面提到的设备统称为远端终端。The remote terminal 10 refers to a terminal device that performs sidelink communication with the relay terminal 20 and can then communicate with network devices/other remote terminals via the relay of the relay terminal 20 . The number of remote terminals 10 is generally multiple, and one or more remote terminals 10 may be distributed in a cell managed by each network device 30 . The remote terminal 10 may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of user equipment, mobile stations (Mobile Station, MS) and the like. For convenience of description, the devices mentioned above are collectively referred to as remote terminals.
中继终端20是指能够与远端终端10进行侧行链路通信的终端设备。中继终端20的数量通常为多个,每一个网络设备30所管理的小区内可以分布一个或多个中继终端20。中继终端20可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备、移动台(Mobile Station,MS)等等。为方便描述,上面提到的设备统称为中继终端。The relay terminal 20 refers to a terminal device capable of performing sidelink communication with the remote terminal 10 . The number of relay terminals 20 is generally multiple, and one or more relay terminals 20 may be distributed in a cell managed by each network device 30 . The relay terminal 20 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment, mobile stations (Mobile Station, MS) and the like. For convenience of description, the devices mentioned above are collectively referred to as relay terminals.
网络设备30是用于为远端终端10以及中继终端20提供无线通信功能的设备。网络设备30可以包括各种形式的宏基站,微基站,中继站,接入点等等。在采用不同的无线接入技术的系统中,网络设备30的名称可能会有所不同,例如在5G NR系统中,称为5G基站(5G Node B,gNodeB/gNB)。The network device 30 is a device for providing wireless communication functions for the remote terminal 10 and the relay terminal 20 . The network device 30 may include various forms of macro base stations, micro base stations, relay stations, access points and so on. In systems using different wireless access technologies, the name of the network device 30 may be different, for example, in a 5G NR system, it is called a 5G base station (5G Node B, gNodeB/gNB).
远端终端10与中继终端20之间通过侧行链路建立连接,可以通过直连通信接口(如PC5接口)互相通信,中继终端20可以通过侧行链路向远端终端广播网络设备的消息,从而实现网络中继。远端终端10与中继终端20之间通过侧行链路直接进行通信数据传输,不同于传统的蜂窝系统中通信数据通过网络设备接收或者发送,该传输过程具有时延短、开销小等特点,适合用于地理位置接近的两个终端(如车载设备和地理位置接近的其它周边设备)之间的通信。网络设备30与中继终端20之间通过某种空中技术互相通信,例如Uu接口。The connection between the remote terminal 10 and the relay terminal 20 is established through a side link, and can communicate with each other through a direct communication interface (such as a PC5 interface). The relay terminal 20 can broadcast network device messages to the remote terminal through the side link, thereby realizing network relay. The remote terminal 10 and the relay terminal 20 directly transmit communication data through the side link, which is different from receiving or sending communication data through network equipment in a traditional cellular system. This transmission process has the characteristics of short delay and low overhead, and is suitable for communication between two terminals with close geographical location (such as vehicle equipment and other peripheral equipment with close geographical location). The network device 30 and the relay terminal 20 communicate with each other through some air technology, such as Uu interface.
在本申请实施例中,终端设备(包括远端终端10、中继终端20)支持广播发送发现消息,以使得其他终端设备通过接收发现消息来发现自己。In the embodiment of the present application, the terminal devices (including the remote terminal 10 and the relay terminal 20 ) support broadcasting and sending discovery messages, so that other terminal devices can discover themselves by receiving the discovery messages.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile Communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)系统、先进的长期演进(Advanced Long Term Evolution,LTE-A)系统、新无线(New Radio,NR)系统、NR系统的演进系统、非授权频段上的LTE(LTE-based access to Unlicensed spectrum,LTE-U)系统、NR-U系统、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、全球互联微波接入(Worldwide Interoperability for Microwave Access,WiMAX)通信系统、无线局域网(Wireless Local Area Networks,WLAN)、无线保真(Wireless Fidelity,WiFi)、下一代通信系统或其他通信系统等。The technical solution of the embodiment of the present application can be applied to various communication systems, such as: Global System of Mobile Communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (General Packet Radio Service, GPRS), Long Term Evolution (Long Te rm Evolution, LTE) system, LTE Frequency Division Duplex (Frequency Division Duplex, FDD) system, LTE Time Division Duplex (Time Division Duplex, TDD) system, Advanced Long Term Evolution (LTE-A) system, New Radio (NR) system, NR system evolution system, LTE (LTE-based access to Unlicensed spectrum (LTE-U) system, NR-U system, Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, Wireless Local Area Networks (WLAN), Wireless Fidelity (Wireless Fidelity, WiFi), next-generation communication system or others communication systems, etc.
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,设备到设备(Device to Device,D2D)通信,机器到机器(Machine to Machine,M2M)通信,机器类型通信(Machine Type Communication,MTC),车辆间(Vehicle to Vehicle,V2V)通信以及车联网(Vehicle to Everything,V2X)系统等。本申请实施例也可以应用于这些通信系统。Generally speaking, the number of connections supported by traditional communication systems is limited and easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communication, but also support, for example, device-to-device (Device to Device, D2D) communication, machine-to-machine (Machine to Machine, M2M) communication, machine type communication (Machine Type Communication, MTC), inter-vehicle (Vehicle to Vehicle, V2V) communication and Internet of Vehicles ( Vehicle to Everything, V2X) system, etc. The embodiments of the present application may also be applied to these communication systems.
在介绍本申请技术方案之前,先对本申请涉及的一些背景技术知识进行介绍说明。Before introducing the technical solution of this application, some background technical knowledge involved in this application will be introduced.
随着移动通信技术应用的不断发展,NCIS业务作为一个新的业务形态被引入到标准中进行相关的标准化业务。With the continuous development of mobile communication technology applications, NCIS service as a new service form is introduced into the standard to carry out related standardized services.
NCIS业务主要针对AR(Augmented Reality,增强现实)/VR(Virtual Reality,虚拟现实)、游戏等应用,对速率、时延、丢包率、高速编解码等业务质量有很高的要求。例如:对于VR游戏,需要达到10Gbps(Giga bits per second,千兆比特每秒)速率,丢包率不可超过10E-4。针对NCIS业务建立的会话为NCIS会话,在相同NCIS会话的UE可以认为组成一个NCIS组,例如:游戏中组队会话。NCIS services are mainly aimed at applications such as AR (Augmented Reality)/VR (Virtual Reality), games, etc., and have high requirements on service quality such as speed, delay, packet loss rate, and high-speed codec. For example: For VR games, the rate of 10Gbps (Giga bits per second, gigabits per second) needs to be achieved, and the packet loss rate cannot exceed 10E-4. The session established for the NCIS service is an NCIS session, and UEs in the same NCIS session can be considered to form an NCIS group, for example: a team session in a game.
在3GPP(3rd Generation Partnership Project,第三代合作伙伴计划)R17(Release 17,第17版本)中,使用5G ProSe(Proximity Services,近距离服务)课题来进行对近距离业务通信的方案设计。ProSe包含NCIS。ProSe其中一个重要场景为UE-to-network relay的场景。如图1所示,U2N relay是通过一个Relay UE为Remote UE中继传输数据,从而使Remote UE可以与网络实现通信。In 3GPP (3rd Generation Partnership Project, 3rd Generation Partnership Project) R17 (Release 17, version 17), the 5G ProSe (Proximity Services, short-distance service) topic is used to design short-distance business communication solutions. ProSe includes NCIS. One of the important scenarios of ProSe is the UE-to-network relay scenario. As shown in Figure 1, the U2N relay transmits data to the Remote UE through a Relay UE, so that the Remote UE can communicate with the network.
图2为本申请实施例提供的一种网络架构示意图。如图2所示,第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)标准组发布的5G网络架构,包括:FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of the present application. As shown in Figure 2, the 5G network architecture released by the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) standard group includes:
终端、支持3GPP技术的接入网(包括Radio Access Network,RAN或Access Network,AN)、用户面功能(User Plane Function,UPF)网元、接入和移动性管理功能(Access and Mobility Management Function,AMF)网元、会话管理功能(Session Management Function,SMF)网元、策略控制功能(Policy Control Function,PCF)网元、应用功能(Application Function,AF)网元、数据网络(Data Network,DN)网元、网络切片选择功能(Network Slice Selection Function,NSSF)网元、鉴权服务功能(Authentication Server Function,AUSF)网元、统一数据管理功能(Unified Data Management,UDM)网元。Terminal, access network supporting 3GPP technology (including Radio Access Network, RAN or Access Network, AN), user plane function (User Plane Function, UPF) network element, access and mobility management function (Access and Mobility Management Function, AMF) network element, session management function (Session Management Function, SMF) network element, policy control function (Policy Control Function, PCF) network NE, Application Function (AF) NE, Data Network (DN) NE, Network Slice Selection Function (NSSF) NE, Authentication Server Function (AUSF) NE, and Unified Data Management (UDM) NE.
本领域技术人员可以理解,图5中示出的5G网络架构并不构成对该5G网络架构的限定,具体实现时,该5G网络架构可以包括比图示更多或更少的网元,或者组合某些网元等。应理解,图2中以(R)AN的方式表征AN或RAN。Those skilled in the art can understand that the 5G network architecture shown in FIG. 5 does not constitute a limitation on the 5G network architecture. During specific implementation, the 5G network architecture may include more or less network elements than shown in the figure, or combine certain network elements. It should be understood that AN or RAN is represented in the form of (R)AN in FIG. 2 .
终端可以是用户设备(User Equipment,UE)、手持终端、笔记本电脑、用户单元(Subscriber Unit)、蜂窝电话(Cellular Phone)、智能电话(Smart Phone)、无线数据卡、个人数字助理(Personal Digital Assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(Laptop Computer)、无绳电话(Cordless Phone)或者无线本地环路(Wireless Local Loop,WLL)台、机器类型通信(Machine Type Communication,MTC)终端、具有无线通信功能的手持设备、计算设备、连接到无线调制解调器的处理设备、无人机、车载设备、可穿戴设备、物联网中的终端、虚拟现实设备、未来5G网络中的终端设备、未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的终端等。The terminal can be user equipment (User Equipment, UE), handheld terminal, notebook computer, subscriber unit (Subscriber Unit), cellular phone (Cellular Phone), smart phone (Smart Phone), wireless data card, personal digital assistant (Personal Digital Assistant, PDA) computer, tablet computer, wireless modem (modem), handheld device (handheld), laptop computer (Laptop Computer), cordless phone (C Ordless Phone) or wireless local loop (Wireless Local Loop, WLL) station, machine type communication (Machine Type Communication, MTC) terminal, handheld device with wireless communication function, computing device, processing device connected to a wireless modem, unmanned aerial vehicle, vehicle-mounted device, wearable device, terminal in the Internet of Things, virtual reality device, terminal device in the future 5G network, future evolution of the public land mobile network (Public Land Mobile Network, PLMN) terminal etc.
接入网设备是终端通过无线方式接入到该网络架构中的接入设备,主要负责空口侧的无线资源管理、服务质量(Quality of Service,QoS)管理、数据压缩和加密等。例如:基站NodeB、演进型基站eNodeB、5G移动通信系统或新一代无线(New Radio,NR)通信系统中的基站、未来移动通信系统中的基站等。The access network device is the access device that the terminal accesses to the network architecture through wireless means. It is mainly responsible for wireless resource management, Quality of Service (QoS) management, data compression and encryption on the air interface side. For example: base station NodeB, evolved base station eNodeB, base station in 5G mobile communication system or new generation wireless (New Radio, NR) communication system, base station in future mobile communication system, etc.
UPF网元、AMF网元、SMF网元、PCF网元为3GPP核心网络的网元(简称:核心网网元)。UPF网元可以称为用户面功能网元,主要负责用户数据的传输,其他网元可以称为控制面功能网元,主要负责认证、鉴权、注册管理、会话管理、移动性管理以及策略控制等,以保障用户数据可靠稳定的传输。The UPF network element, the AMF network element, the SMF network element, and the PCF network element are network elements of the 3GPP core network (referred to as core network elements). UPF network elements can be called user plane functional network elements, which are mainly responsible for the transmission of user data. Other network elements can be called control plane functional network elements, which are mainly responsible for authentication, authentication, registration management, session management, mobility management, and policy control, etc., to ensure reliable and stable transmission of user data.
UPF网元可以用于转发和接收终端的数据。例如,UPF网元可以从数据网络接收业务的数据,通过接入网设备传输给终端;UPF网元还可以通过接入网设备从终端接收用户数据,转发到数据网络。其中,UPF网元为终端分配和调度的传输资源是由SMF网元管理控制的。终端与UPF网元之间的承载可以包括:UPF网元和接入网设备之间的用户面连接,以及在接 入网设备和终端之间建立信道。其中,用户面连接为可以在UPF网元和接入网设备之间建立传输数据的服务质量(Quality of Service,QoS)流(flow)。The UPF network element can be used to forward and receive terminal data. For example, the UPF network element can receive service data from the data network and transmit it to the terminal through the access network device; the UPF network element can also receive user data from the terminal through the access network device and forward it to the data network. Among them, the transmission resource allocated and scheduled by the UPF network element for the terminal is managed and controlled by the SMF network element. The bearer between the terminal and the UPF network element may include: the user plane connection between the UPF network element and the access network device, and the establishment of a channel between the access network device and the terminal. Wherein, the user plane connection is a quality of service (Quality of Service, QoS) flow (flow) that can establish transmission data between the UPF network element and the access network device.
AMF网元可以用于对终端接入核心网络进行管理,例如:终端的位置更新、注册网络、接入控制、终端的移动性管理、终端的附着与去附着等。AMF网元还可以在为终端的会话提供服务的情况下,为该会话提供控制面的存储资源,以存储会话标识、与会话标识关联的SMF网元标识等。The AMF network element can be used to manage the terminal's access to the core network, such as: terminal location update, network registration, access control, terminal mobility management, terminal attachment and detachment, etc. The AMF network element may also provide storage resources on the control plane for the session of the terminal when providing services for the session, so as to store the session identifier, the SMF network element identifier associated with the session identifier, and the like.
SMF网元可以用于为终端选择用户面网元、为终端重定向用户面网元、为终端分配因特网协议(Internet Protocol,IP)地址,建立终端与UPF网元之间的承载(也可以称为会话)、会话的修改、释放以及QoS控制。The SMF network element can be used to select the user plane network element for the terminal, redirect the user plane network element for the terminal, assign an Internet Protocol (Internet Protocol, IP) address to the terminal, establish a bearer (also called a session) between the terminal and the UPF network element, modify and release the session, and control QoS.
PCF网元用于向AMF网元、SMF网元提供策略,如QoS策略、切片选择策略等。PCF network elements are used to provide policies to AMF network elements and SMF network elements, such as QoS policies and slice selection policies.
AF网元用于与3GPP核心网网元交互支持应用影响数据的路由,访问网络开放功能,与PCF网元之间交互以进行策略控制等。The AF network element is used to interact with the 3GPP core network element to support application-influenced data routing, access network open functions, and interact with the PCF network element for policy control, etc.
DN可以为如IP多媒体服务(IP Multi-Media Service,IMS)网络、互联网等为用户提供数据服务。在DN中可以有多种应用服务器(Application Server,AS),提供不同的应用业务,比如运营商业务,互联网接入或者第三方业务等,AS可以实现AF的功能。The DN can provide users with data services such as the IP Multi-Media Service (IP Multi-Media Service, IMS) network and the Internet. There can be various application servers (Application Server, AS) in the DN, which provide different application services, such as operator services, Internet access or third-party services, etc., and the AS can realize the function of AF.
NSSF用于网络切片的选择,支持的功能有:选择为UE服务的网络切片实例集;确定允许的网络切片选择辅助信息(Network Slice Selection Assistance Information,NSSAI),以及在需要时确定到签约的单一网络切片选择辅助信息(Single-Network Slice Selection Assistance Information,S-NSSAI)的映射;确定已配置的NSSAI,以及在需要时确定到签约的S-NSSAI的映射;确定可能用于查询UE的AMF集,或基于配置确定候选AMF的列表。NSSF is used for the selection of network slices. The functions supported are: select the network slice instance set serving the UE; determine the allowed network slice selection assistance information (Network Slice Selection Assistance Information, NSSAI), and determine the mapping to the contracted single network slice selection assistance information (Single-Network Slice Selection Assistance Information, S-NSSAI) when necessary; determine the configured NSSAI, and determine the contracted S-NSSAI) if necessary NSSAI mapping; determine the AMF set that may be used to query the UE, or determine the list of candidate AMFs based on configuration.
AUSF用于接收AMF对终端进行身份验证的请求,通过向UDM请求密钥,再将下发的密钥转发给AMF进行鉴权处理。The AUSF is used to receive the request from the AMF to authenticate the terminal, request a key from the UDM, and then forward the issued key to the AMF for authentication processing.
UDM包括用户签约数据的产生和存储、鉴权数据的管理等功能,支持与外部第三方服务器交互。UDM includes functions such as generation and storage of user subscription data, management of authentication data, and supports interaction with external third-party servers.
图3为本申请实施例提供的一种Layer 3 U2N relay的系统架构图。远端终端10和中继终端20之间建立PC5链路,中继终端20使用PDU(Protocol Data Unit,协议数据单元)会话为远端终端10中继来自远端终端10的数据。由于每个PDU会话都有类型,例如:IPv4、IPv6、Ethernet(以太网)、Unstructured(非结构化)。只有使用该类型的数据才能使用对应的PDU会话来传输。Fig. 3 is a system architecture diagram of a Layer 3 U2N relay provided by the embodiment of the present application. A PC5 link is established between the remote terminal 10 and the relay terminal 20, and the relay terminal 20 uses a PDU (Protocol Data Unit, protocol data unit) session to relay data from the remote terminal 10 for the remote terminal 10. Since each PDU session has a type, for example: IPv4, IPv6, Ethernet (Ethernet), Unstructured (unstructured). Only data of this type can be transmitted using the corresponding PDU session.
图4为本申请实施例提供的一种Layer 2(L2,层二)U2N relay的系统架构图。在Layer 2 U2N relay架构中,远端终端10和中继终端20存在自身的核心网网元:AMF、SMF、UPF等。FIG. 4 is a system architecture diagram of a Layer 2 (L2, layer 2) U2N relay provided by an embodiment of the present application. In the Layer 2 U2N relay architecture, the remote terminal 10 and the relay terminal 20 have their own core network elements: AMF, SMF, UPF, etc.
为了实现中继通信,在进行中继通信之前,远端终端10和中继终端20需要获得必须的配置参数。配置参数可以来自PCF(Policy Control Function,策略控制网元)或应用服务器,或配置参数预配置在终端上或者SIM卡中。In order to realize the relay communication, the remote terminal 10 and the relay terminal 20 need to obtain necessary configuration parameters before performing the relay communication. The configuration parameters can come from PCF (Policy Control Function, policy control network element) or application server, or the configuration parameters are pre-configured on the terminal or in the SIM card.
Remote UE在传输数据之前,先发现合适的Relay UE,并与其建立PC5连接。在R17中,Relay discovery(中继发现)可以有两种方式:Model A(模式A)和Model B(模式B)。Before the Remote UE transmits data, it first finds a suitable Relay UE and establishes a PC5 connection with it. In R17, Relay discovery (relay discovery) can have two methods: Model A (mode A) and Model B (mode B).
Model A是Relay UE主动广播自己可以提供中继服务的RSC,例如,如图5所示,UE1为Relay UE,UE1广播宣告消息,宣告消息中包括UE1所能提供中继服务的RSC,UE2、UE3、UE4为Remote UE,Remote UE监听Relay UE广播的宣告消息,根据宣告消息中的RSC选择Relay UE建立连接。Model A is that the Relay UE actively broadcasts the RSC that can provide relay services. For example, as shown in Figure 5, UE1 is a Relay UE, and UE1 broadcasts an announcement message. The announcement message includes the RSC that UE1 can provide relay services. UE2, UE3, and UE4 are Remote UEs. The Remote UE listens to the announcement message broadcast by the Relay UE, and selects the Relay UE to establish a connection according to the RSC in the announcement message.
Model B是Remote UE先发出自己需要的RSC,如果周围有可以支持RSC的Relay UE,Relay UE回复Remote UE。例如,如图6所示,UE5为Remote UE,UE5广播请求(solicitation)消息,请求消息中包括UE5所需要的RSC,UE2、UE3、UE4为Relay UE,Relay UE监听Remote UE广播的请求消息,若Relay UE能够提供Remote UE所需要的RSC,则向Remote UE 发送响应消息。For Model B, the Remote UE first sends out the RSC it needs. If there is a Relay UE around that can support RSC, the Relay UE will reply to the Remote UE. For example, as shown in Figure 6, UE5 is a Remote UE, UE5 broadcasts a solicitation message, the request message includes the RSC required by UE5, UE2, UE3, and UE4 are Relay UEs, and the Relay UE listens to the request message broadcast by the Remote UE. If the Relay UE can provide the RSC required by the Remote UE, it sends a response message to the Remote UE.
发现流程之后,Relay UE和Remote UE建立PC5连接。After the discovery process, the Relay UE and the Remote UE establish a PC5 connection.
Relay Service Code可以代表业务,在L3 U2N relay架构中,核心网网元向UE配置RSC与DNN(Data Network Name,数据网络名称),切片的对应关系,这样Remote UE就可以针对业务来选择合适的relay为其服务。当Remote UE需要使用紧急业务时,Remote UE也需要先进行Relay UE的选择,为了能够使Remote UE进行合适的Relay UE的选择,核心网网元也需要配置RSC是否可以提供紧急业务。The Relay Service Code can represent the service. In the L3 U2N relay architecture, the core network element configures the corresponding relationship between RSC, DNN (Data Network Name, and data network name) and slices for the UE, so that the Remote UE can select the appropriate relay for the service. When the Remote UE needs to use emergency services, the Remote UE also needs to select a Relay UE first. In order to enable the Remote UE to select a suitable Relay UE, the core network element also needs to configure whether the RSC can provide emergency services.
示例性的,核心网网元预先向Remote UE和Relay UE配置RSC,并指示RSC是否支持紧急业务。在Model A中,Relay UE广播RSC,Remote UE在监听到RSC之后,根据核心网网元的配置确定该RSC是否支持紧急业务,若支持紧急业务,则Remote UE可以与该RelayUE建立连接执行紧急业务。在Model B中,Remote UE广播核心网网元所配置的支持紧急业务的RSC,若Relay UE能够提供该RSC,则Relay UE向Remote UE发送响应消息,Remote UE从发送响应消息的Relay UE中选择一个Relay UE建立连接执行紧急业务。Exemplarily, the network element of the core network pre-configures the RSC to the Remote UE and the Relay UE, and indicates whether the RSC supports emergency services. In Model A, the Relay UE broadcasts the RSC. After the Remote UE monitors the RSC, it determines whether the RSC supports emergency services according to the configuration of the core network elements. If it supports the emergency services, the Remote UE can establish a connection with the RelayUE to perform emergency services. In Model B, the Remote UE broadcasts the RSC configured by the network elements of the core network to support emergency services. If the Relay UE can provide the RSC, the Relay UE sends a response message to the Remote UE, and the Remote UE selects a Relay UE from the Relay UEs that sent the response message to establish a connection to perform emergency services.
上述方法中,核心网网元需要给Remote UE或者Relay UE配置紧急业务所对应的RSC,但是Remote UE可能在某些场景(例如,Remote UE没有插入SIM(Subscriber Identity Module,用户身份识别卡))下核心网网元无法给Remote UE配置紧急业务所对应的RSC,如此Remote UE无法选择能够提供紧急业务的Relay UE,也就无法进行紧急业务。针对该问题,本申请实施例提供了一种紧急业务的提供方法,能够在核心网网元无法为远端终端配置支持紧急业务的RSC的情况下,使远端终端能够选择支持紧急业务的中继终端执行紧急业务。In the above method, the core network element needs to configure the RSC corresponding to the emergency service for the Remote UE or the Relay UE, but the Remote UE may not be able to configure the RSC corresponding to the emergency service for the Remote UE in some scenarios (for example, the Remote UE is not inserted with a SIM (Subscriber Identity Module, Subscriber Identity Card)). To solve this problem, the embodiment of the present application provides a method for providing emergency services, which can enable the remote terminal to select a relay terminal supporting emergency services to perform emergency services when the network element of the core network cannot configure an RSC supporting emergency services for the remote terminal.
请参考图7,其示出了本申请一个实施例提供的紧急业务的提供方法的流程图。该方法可由图1所示的通信系统中的中继终端执行。该方法可以包括如下步骤:Please refer to FIG. 7 , which shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. The method can be executed by a relay terminal in the communication system shown in FIG. 1 . The method may include the steps of:
步骤210:发送第一消息,第一消息包括RSC和第一紧急业务指示。Step 210: Send a first message, where the first message includes the RSC and the first emergency service indication.
第一紧急业务指示(emergency service indication)用于指示RSC支持紧急业务。示例性的,第一紧急业务指示也可以用于指示RSC是否支持紧急业务。或,第一紧急业务指示也可以用于指示RSC所支持的紧急业务的类型。The first emergency service indication (emergency service indication) is used to instruct the RSC to support emergency services. Exemplarily, the first emergency service indication may also be used to indicate whether the RSC supports emergency services. Or, the first emergency service indication may also be used to indicate the type of emergency service supported by the RSC.
示例性的,第一消息中包括一个RSC,第一紧急业务指示用于指示该RSC支持紧急业务。或,第一消息中也可以包括多个RSC,其中支持紧急业务的每个RSC分别对应一个第一紧急业务指示,或,第一紧急业务指示用于指示至少一个支持紧急业务的RSC。Exemplarily, the first message includes an RSC, and the first emergency service indication is used to indicate that the RSC supports emergency services. Or, the first message may also include multiple RSCs, where each RSC supporting the emergency service corresponds to a first emergency service indication, or, the first emergency service indication is used to indicate at least one RSC supporting the emergency service.
第一消息中的RSC为中继终端所能够提供的中继服务的RSC。当中继终端所能够提供的中继服务有多个时,中继终端可以分别发送多个第一消息,每个第一消息中包括一个RSC。中继终端也可以发送一个第一消息,该第一消息中包括多个RSC。The RSC in the first message is the RSC of the relay service that the relay terminal can provide. When there are multiple relay services that the relay terminal can provide, the relay terminal may send multiple first messages respectively, and each first message includes one RSC. The relay terminal may also send a first message, where the first message includes multiple RSCs.
示例性的,当中继发现流程为模式A时,第一消息为中继发现宣告消息,中继终端广播中继发现宣告消息,中继发现宣告消息中包括RSC和第一紧急业务指示。Exemplarily, when the relay discovery procedure is mode A, the first message is a relay discovery announcement message, and the relay terminal broadcasts the relay discovery announcement message, and the relay discovery announcement message includes the RSC and the first emergency service indication.
在模式A中,中继终端为宣告者(announcing),远端终端为监听者(monitoring),示例性的,中继发现宣告消息中还可以包括宣告者信息(Announcer Info),宣告者信息包括中继终端的信息。In mode A, the relay terminal is an announcer (announcing), and the remote terminal is a monitor (monitoring). Exemplarily, the relay discovery announcement message may also include announcer information (Announcer Info), and the announcer information includes relay terminal information.
示例性的,当中继发现流程为模式B时,第一消息为中继发现响应消息。中继终端接收远端终端发送的中继发现请求消息,中继发现请求消息包括第二紧急业务指示,第二紧急业务指示用于指示远端终端存在紧急业务需求。在中继终端支持紧急业务的情况下,中继终端发送中继发现响应消息,中继发现响应消息包括RSC和第一紧急业务指示。Exemplarily, when the relay discovery process is in mode B, the first message is a relay discovery response message. The relay terminal receives the relay discovery request message sent by the remote terminal, where the relay discovery request message includes a second emergency service indication, and the second emergency service indication is used to indicate that the remote terminal has an emergency service demand. In the case that the relay terminal supports the emergency service, the relay terminal sends a relay discovery response message, where the relay discovery response message includes the RSC and the first emergency service indication.
在模式B中,中继终端为被发现者(discoveree),远端终端为发现者(discoverer),示例性的,中继发现请求消息还可以包括发现者信息(Discoverer Info),发现者信息包括远端终端的信息;中继发现响应消息还可以包括被发现者信息(Discoveree Info),被发现者信息包括中继终端的信息。In mode B, the relay terminal is a discoveree, and the remote terminal is a discoverer. Exemplarily, the relay discovery request message can also include discoverer information (Discoverer Info), and the discoverer information includes remote terminal information; the relay discovery response message can also include discoveree information (Discoveree Info), and the discoverer information includes relay terminal information.
示例性的,在步骤210之前,中继终端可以接收核心网设备发送的配置信息,配置信息 包括中继终端所能提供的中继服务的RSC,以及RSC是否支持紧急业务的指示。或者,中继终端无法接收核心网设备发送的配置信息,则中继终端自行指示自身所提供的任意RSC支持紧急业务。即,中继终端发送任意一个中继服务的RSC并携带第一紧急业务指示。Exemplarily, before step 210, the relay terminal may receive the configuration information sent by the core network equipment, the configuration information includes the RSC of the relay service that the relay terminal can provide, and an indication of whether the RSC supports emergency services. Or, if the relay terminal cannot receive the configuration information sent by the core network device, the relay terminal itself indicates that any RSC provided by itself supports emergency services. That is, the relay terminal sends an RSC of any relay service and carries the first emergency service indication.
综上所述,本申请实施例提供的技术方案,通过由中继终端向远端终端发送第一消息,在第一消息中携带中继终端所提供的RSC,以及第一紧急业务指示,用第一紧急业务指示指示RSC支持紧急业务,以便远端终端在有紧急业务需求时,可以与该中继终端建立连接,执行紧急业务。在核心网网元无法为远端终端和/或中继终端配置支持紧急业务的RSC的情况下,远端终端可以根据中继终端发送的紧急业务指示,选择中继终端执行紧急业务。To sum up, in the technical solution provided by the embodiment of the present application, by sending the first message from the relay terminal to the remote terminal, the first message carries the RSC provided by the relay terminal and the first emergency service indication, and uses the first emergency service indication to instruct the RSC to support the emergency service, so that the remote terminal can establish a connection with the relay terminal and perform emergency services when there is an emergency service demand. In the case that the core network element cannot configure the remote terminal and/or the relay terminal with an RSC supporting emergency services, the remote terminal can select the relay terminal to perform emergency services according to the emergency service indication sent by the relay terminal.
请参考图8,其示出了本申请一个实施例提供的紧急业务的提供方法的流程图。该方法可由图1所示的通信系统中的远端终端执行。该方法可以包括如下步骤:Please refer to FIG. 8 , which shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. The method can be executed by a remote terminal in the communication system shown in FIG. 1 . The method may include the steps of:
步骤310:接收中继终端发送的第一消息,第一消息包括RSC和第一紧急业务指示。Step 310: Receive the first message sent by the relay terminal, where the first message includes the RSC and the first emergency service indication.
示例性的,远端终端接收至少一个中继终端发送的消息,或,远端终端接收一个中继终端发送的至少一个消息。在这些消息中,部分消息中携带紧急业务指示(第一紧急业务指示)。Exemplarily, the remote terminal receives a message sent by at least one relay terminal, or, the remote terminal receives at least one message sent by a relay terminal. Among these messages, some messages carry emergency service indications (first emergency service indications).
在模式A中,第一消息为中继发现宣告消息。远端终端监听中继终端广播的中继发现宣告消息。In mode A, the first message is a relay discovery announcement message. The remote terminal monitors the relay discovery announcement message broadcast by the relay terminal.
步骤320:在存在紧急业务需求的情况下,与中继终端建立连接,中继终端是根据第一紧急业务指示确定出的。Step 320: When there is an emergency service demand, establish a connection with the relay terminal, and the relay terminal is determined according to the first emergency service indication.
远端终端根据第一消息中的第一紧急业务指示,获知该中继终端能够提供支持紧急业务的中继服务,则远端终端可以选择该中继终端建立连接,以执行紧急业务。The remote terminal learns that the relay terminal can provide the relay service supporting the emergency service according to the first emergency service indication in the first message, and then the remote terminal may select the relay terminal to establish a connection to perform the emergency service.
示例性的,远端终端从发送第一紧急业务指示的至少一个中继终端中选择一个中继终端,与之建立连接执行紧急业务。Exemplarily, the remote terminal selects a relay terminal from at least one relay terminal sending the first emergency service indication, and establishes a connection with it to execute the emergency service.
综上所述,本申请实施例提供的技术方案,通过由中继终端向远端终端发送第一消息,在第一消息中携带中继终端所提供的RSC,以及第一紧急业务指示,用第一紧急业务指示指示RSC支持紧急业务,以便远端终端在有紧急业务需求时,可以与该中继终端建立连接,执行紧急业务。在核心网网元无法为远端终端和/或中继终端配置支持紧急业务的RSC的情况下,远端终端可以根据中继终端发送的紧急业务指示,选择中继终端执行紧急业务。To sum up, in the technical solution provided by the embodiment of the present application, by sending the first message from the relay terminal to the remote terminal, the first message carries the RSC provided by the relay terminal and the first emergency service indication, and uses the first emergency service indication to instruct the RSC to support the emergency service, so that the remote terminal can establish a connection with the relay terminal and perform emergency services when there is an emergency service demand. In the case that the core network element cannot configure the remote terminal and/or the relay terminal with an RSC supporting emergency services, the remote terminal can select the relay terminal to perform emergency services according to the emergency service indication sent by the relay terminal.
示例性的,给出一种将本申请提供的方法应用于模式A的示例性实施例。Exemplarily, an exemplary embodiment of applying the method provided in this application to mode A is given.
请参考图9,其示出了本申请一个实施例提供的紧急业务的提供方法的流程图。该方法应用于图1所示的通信系统中。该方法可以包括如下步骤:Please refer to FIG. 9 , which shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. This method is applied to the communication system shown in FIG. 1 . The method may include the steps of:
步骤401:中继终端广播中继发现宣告消息。Step 401: the relay terminal broadcasts a relay discovery announcement message.
Relay UE发送U2N relay discovery Announcement(中继发现宣告)消息;U2N relay discovery Announcement消息包括Announcer Info(用于表示宣告者的信息)、RSC、紧急业务指示(用于表示RSC可以提供紧急业务)。The Relay UE sends a U2N relay discovery Announcement (relay discovery announcement) message; the U2N relay discovery Announcement message includes Announcer Info (used to indicate the information of the announcer), RSC, and emergency service indication (used to indicate that the RSC can provide emergency services).
Relay UE为U2N relay discovery Announcement分配source Layer 2 ID(源层二地址)和目的Layer 2 ID(目的层二地址)。发送U2N relay discovery Announcement消息的目的Layer 2 ID可以为全1的Layer 2 ID(层二地址)或者其他的Layer 2 ID。Relay UE allocates source Layer 2 ID (source layer 2 address) and destination Layer 2 ID (destination layer 2 address) for U2N relay discovery Announcement. The destination Layer 2 ID for sending the U2N relay discovery Announcement message can be a Layer 2 ID with all 1s (layer 2 address) or other Layer 2 IDs.
示例性的,中继终端为中继发现宣告消息分配第一源层二地址和/或第一目的层二地址;其中,第一目的层二地址为全1,或,第一目的层二地址为全0,或,第一目的层二地址为任一层二地址。Exemplarily, the relay terminal allocates a first source layer 2 address and/or a first destination layer 2 address for the relay discovery announcement message; wherein, the first destination layer 2 address is all 1s, or, the first destination layer 2 address is all 0s, or, the first destination layer 2 address is any layer 2 address.
第一源层二地址为中继发现宣告消息的源地址。第一目的层二地址为中继发现宣告消息的目的地址。示例性的,中继端终端分配中继发现宣告消息的目的地址,远端终端在目的地址上监听中继发现宣告消息。The first source layer 2 address is the source address of the relay discovery announcement message. The first destination layer 2 address is the destination address of the relay discovery announcement message. Exemplarily, the relay terminal assigns a destination address of the relay discovery announcement message, and the remote terminal monitors the relay discovery announcement message on the destination address.
Remote UE需要发起紧急业务时,Remote UE可以根据U2N relay discovery Announcement消息中的紧急业务指示,来选择支持紧急业务的Relay UE进行接入。When the Remote UE needs to initiate an emergency service, the Remote UE can select a Relay UE that supports the emergency service to access according to the emergency service indication in the U2N relay discovery Announcement message.
综上所述,本申请实施例提供的技术方案,通过由中继终端广播中继发现宣告消息,在 中继发现宣告消息中携带中继终端所提供的RSC,以及第一紧急业务指示,用第一紧急业务指示指示RSC支持紧急业务,以便远端终端在有紧急业务需求时,可以与该中继终端建立连接,执行紧急业务。To sum up, the technical solution provided by the embodiment of this application uses the relay terminal to broadcast the relay discovery announcement message, carries the RSC provided by the relay terminal and the first emergency service indication in the relay discovery announcement message, and uses the first emergency service indication to instruct the RSC to support the emergency service, so that the remote terminal can establish a connection with the relay terminal and perform the emergency service when there is an emergency service demand.
示例性的,给出一种将本申请提供的方法应用于模式B的示例性实施例。Exemplarily, an exemplary embodiment of applying the method provided in this application to mode B is given.
请参考图10,其示出了本申请一个实施例提供的紧急业务的提供方法的流程图。该方法应用于图1所示的通信系统中。该方法可以包括如下步骤:Please refer to FIG. 10 , which shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. This method is applied to the communication system shown in FIG. 1 . The method may include the steps of:
步骤501:远端终端广播中继发现请求消息。Step 501: The remote terminal broadcasts a relay discovery request message.
Remote UE发送U2N relay discovery Solicitation(中继发现请求)消息;U2N relay discovery Solicitation消息包括Discoverer Info(用于表示发现者的信息)、紧急业务指示(用于表示Remote UE需要发起紧急业务)。The Remote UE sends a U2N relay discovery Solicitation (relay discovery request) message; the U2N relay discovery Solicitation message includes Discoverer Info (used to indicate the information of the discoverer), and emergency service indication (used to indicate that the Remote UE needs to initiate an emergency service).
Remote UE为U2N relay discovery Solicitation消息分配source Layer 2 ID和目的Layer 2 ID,发送U2N relay discovery Solicitation消息的目的Layer 2 ID可以为全1的Layer 2 ID或者其他的Layer 2 ID。The Remote UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Solicitation message, and the destination Layer 2 ID for sending the U2N relay discovery Solicitation message can be a Layer 2 ID of all 1s or another Layer 2 ID.
远端终端为中继发现请求消息分配第二源层二地址和/或第二目的层二地址;其中,第二目的层二地址为全1,或,第二目的层二地址为全0,或,第二目的层二地址为任一层二地址。The remote terminal allocates a second source layer 2 address and/or a second destination layer 2 address for the relay discovery request message; wherein, the second destination layer 2 address is all 1s, or, the second destination layer 2 address is all 0s, or, the second destination layer 2 address is any layer 2 address.
第二源层二地址为中继发现请求消息的源地址。第二目的层二地址为中继发现请求消息的目的地址。示例性的,远端终端分配中继发现请求消息的目的地址,中继终端在目的地址上监听中继发现请求消息。The second source layer 2 address is the source address of the relay discovery request message. The second destination layer 2 address is the destination address of the relay discovery request message. Exemplarily, the remote terminal allocates a destination address of the relay discovery request message, and the relay terminal monitors the relay discovery request message on the destination address.
步骤502:中继终端向远端终端发送中继发现响应消息。Step 502: the relay terminal sends a relay discovery response message to the remote terminal.
支持紧急业务的Relay UE向Remote UE返回U2N relay Discovery Response(中继发现响应)消息,U2N relay Discovery Response消息中包括Discoveree Info(用于表示被发现者的信息)、RSC、紧急业务指示(用于表示消息中的RSC可以提供紧急业务)。The Relay UE that supports emergency services returns a U2N relay Discovery Response (relay discovery response) message to the Remote UE. The U2N relay Discovery Response message includes Discoveree Info (used to indicate the information of the discovered person), RSC, and emergency service indication (used to indicate that the RSC in the message can provide emergency services).
发送U2N relay Discovery Response消息的目的Layer 2 ID为步骤501中U2N relay discovery Solicitation消息的source Layer 2 ID,Relay UE为发送U2N relay Discovery Response 消息分配source Layer 2 ID。The destination Layer 2 ID for sending the U2N relay Discovery Response message is the source Layer 2 ID of the U2N relay discovery Solicitation message in step 501, and the Relay UE allocates the source Layer 2 ID for sending the U2N relay Discovery Response message.
中继终端将中继发现请求消息的第二源层二地址确定为中继发现响应消息的第三目的层二地址;为中继发现响应消息分配第三源层二地址。The relay terminal determines the second source Layer 2 address of the relay discovery request message as the third destination Layer 2 address of the relay discovery response message; and allocates the third source Layer 2 address for the relay discovery response message.
第三源层二地址为中继发现响应消息的源地址。第三目的层二地址为中继发现响应消息的目的地址。示例性的,中继发现请求消息的源地址为中继发现响应消息的目的地址。The third source layer 2 address is the source address of the relay discovery response message. The third destination layer 2 address is the destination address of the relay discovery response message. Exemplarily, the source address of the relay discovery request message is the destination address of the relay discovery response message.
综上所述,本申请实施例提供的技术方案,通过由远端终端广播中继发现请求消息,在中继发现请求消息中携带第二紧急业务指示,第二紧急业务指示用于指示远端终端有紧急业务需求,支持紧急业务的中继终端回复中继发现响应消息,在中继发现响应消息中携带中继终端所提供的RSC以及第一紧急业务指示,用第一紧急业务指示指示RSC支持紧急业务,以便远端终端选择支持紧急业务的中继终端建立连接,执行紧急业务。To sum up, the technical solution provided by the embodiment of this application uses the remote terminal to broadcast the relay discovery request message, and carries the second emergency service indication in the relay discovery request message. The second emergency service indication is used to indicate that the remote terminal has an emergency service demand. The relay terminal supporting the emergency service replies with the relay discovery response message. The relay discovery response message carries the RSC provided by the relay terminal and the first emergency service indication. The first emergency service indication is used to instruct the RSC to support the emergency service, so that the remote terminal selects a relay terminal supporting the emergency service to establish a connection and execute the emergency service.
示例性的,当中继终端执行的注册流程为紧急注册时,中继终端还可以向远端终端发送紧急注册指示。Exemplarily, when the registration procedure performed by the relay terminal is emergency registration, the relay terminal may also send an emergency registration indication to the remote terminal.
请参考图11,其示出了本申请一个实施例提供的紧急业务的提供方法的流程图。该方法应用于图1所示的通信系统中。该方法可以包括如下步骤:Please refer to FIG. 11 , which shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. This method is applied to the communication system shown in FIG. 1 . The method may include the steps of:
步骤601:中继终端发起注册流程,执行紧急注册。Step 601: The relay terminal initiates a registration process and performs emergency registration.
Relay UE在进行U2N relay discovery过程之前,先进行注册,此注册过程为紧急注册,紧急注册发生在鉴权过程失败、Relay UE处于forbidden area(禁区)、UE本身没有插入有效的SIM卡的情况下。Before the U2N relay discovery process, the Relay UE registers first. This registration process is an emergency registration. The emergency registration occurs when the authentication process fails, the Relay UE is in a forbidden area (restricted area), and the UE itself does not have a valid SIM card inserted.
在鉴权失败的情况下,中继终端执行紧急注册;或,在中继终端处于禁区的情况下,中继终端执行紧急注册;或,在中继终端未插入有效SIM卡的情况下,中继终端执行紧急注册。If the authentication fails, the relay terminal performs emergency registration; or, when the relay terminal is in a restricted area, the relay terminal performs emergency registration; or, when the relay terminal is not inserted with a valid SIM card, the relay terminal performs emergency registration.
示例性的,紧急注册的中继终端,其通信安全不具有保障,因此,本实施例提供了一种 参数:紧急注册指示,用于辅助远端终端选择建立连接的中继终端。远端终端可以优先选择正常注册的中继终端进行接入,来保障通信安全。Exemplarily, the communication security of the emergency registered relay terminal is not guaranteed. Therefore, this embodiment provides a parameter: emergency registration indication, which is used to assist the remote terminal to select a relay terminal to establish a connection. The remote terminal can preferentially select a normally registered relay terminal to access to ensure communication security.
步骤602:中继终端广播中继发现宣告消息。Step 602: the relay terminal broadcasts a relay discovery announcement message.
当Relay UE使用Model A进行U2N relay discovery过程时,Relay UE发送U2N relay discovery Announcement消息;Relay UE为U2N relay discovery Announcement分配source Layer 2 ID和目的Layer 2 ID,发送U2N relay discovery Announcement消息的目的Layer 2 ID可以为全1的Layer 2 ID或者其他的Layer 2 ID;U2N relay discovery Announcement消息包括Announcer Info、RSC、紧急业务指示和紧急注册指示,紧急注册指示用于表示Relay UE是一个未鉴权的UE或者表示Relay UE发起的注册过程为紧急注册。When the Relay UE uses Model A to perform the U2N relay discovery process, the Relay UE sends a U2N relay discovery Announcement message; the Relay UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Announcement, and the destination Layer 2 ID for sending the U2N relay discovery Announcement message can be all 1 The Layer 2 ID or other Layer 2 ID; the U2N relay discovery Announcement message includes Announcer Info, RSC, emergency service indication and emergency registration indication. The emergency registration indication is used to indicate that the Relay UE is an unauthenticated UE or that the registration process initiated by the Relay UE is an emergency registration.
即,第一消息(中继发现宣告消息)还包括紧急注册指示;紧急注册指示用于指示中继终端为未鉴权终端,或,用于指示中继终端发起的注册过程为紧急注册。That is, the first message (relay discovery announcement message) also includes an emergency registration indication; the emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
步骤603:远端终端广播中继发现请求消息。Step 603: the remote terminal broadcasts a relay discovery request message.
当Remote UE及Relay UE使用Model B进行U2N relay discovery过程时,Remote UE发送U2N relay discovery Solicitation消息;Remote UE为U2N relay discovery Solicitation消息分配source Layer 2 ID和目的Layer 2 ID,发送U2N relay discovery Solicitation消息的目的Layer 2 ID可以为全1的Layer 2 ID或者其他的Layer 2 ID;U2N relay discovery Solicitation消息包括Discoverer Info和紧急业务指示。When the Remote UE and the Relay UE use Model B to perform the U2N relay discovery process, the Remote UE sends a U2N relay discovery Solicitation message; the Remote UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Solicitation message, and sends a U2N relay discovery Solicitation message to the destination Layer 2 The ID can be a Layer 2 ID of all 1s or other Layer 2 IDs; the U2N relay discovery Solicitation message includes Discoverer Info and emergency service instructions.
步骤604:中继终端向远端终端发送中继发现响应消息。Step 604: the relay terminal sends a relay discovery response message to the remote terminal.
支持紧急业务的Relay UE向Remote UE返回U2N relay Discovery Response消息,发送U2N relay Discovery Response消息的目的Layer 2 ID为步骤603中的source Layer 2 ID,Relay UE为发送U2N relay Discovery Response消息分配source Layer 2 ID;U2N relay Discovery Response消息中包括Discoveree Info、RSC、紧急业务指示。U2N relay Discovery Response消息还包括紧急注册指示,紧急注册指示用于表示Relay UE是一个未鉴权的UE或者表示Relay UE发起的注册过程为紧急注册。The Relay UE that supports emergency services returns a U2N relay Discovery Response message to the Remote UE, and the destination Layer 2 ID for sending the U2N relay Discovery Response message is the source Layer 2 ID in step 603, and the Relay UE assigns a source Layer 2 ID for sending the U2N relay Discovery Response message; U2N relay Discover y The Response message includes Discoveree Info, RSC, and emergency service instructions. The U2N relay Discovery Response message also includes an emergency registration indication, which is used to indicate that the Relay UE is an unauthenticated UE or that the registration process initiated by the Relay UE is an emergency registration.
即,第一消息(中继发现响应消息)还包括紧急注册指示;紧急注册指示用于指示中继终端为未鉴权终端,或,用于指示中继终端发起的注册过程为紧急注册。That is, the first message (relay discovery response message) also includes an emergency registration indication; the emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
紧急注册指示意味着Remote UE与Relay UE之间发送的信令得不到安全保护。如此Remote UE可以根据紧急注册指示来选择Relay UE,由于紧急注册指示意味着安全性得不到保证,Remote UE可以在存在提供紧急业务的其他Relay UE的时候,优先选择其他的Relay UE为其服务。The emergency registration indication means that the signaling sent between the Remote UE and the Relay UE cannot be protected safely. In this way, the Remote UE can select the Relay UE according to the emergency registration indication. Since the emergency registration indication means that the security cannot be guaranteed, the Remote UE can preferentially select other Relay UEs to serve it when there are other Relay UEs providing emergency services.
示例性的,当中继发现过程为模式A时,执行步骤601和步骤602;当中继发现过程为模式B时,执行步骤601、步骤603和步骤604。Exemplarily, when the relay discovery process is mode A, step 601 and step 602 are performed; when the relay discovery process is mode B, step 601, step 603 and step 604 are performed.
综上所述,本申请实施例提供的技术方案,当中继终端是紧急注册的终端时,在中继终端发送的第一消息中携带紧急注册指示,来告知远端终端该中继终端为紧急注册的终端,通信安全无法保障,以便远端终端优先选择正常注册的中继终端执行紧急业务。To sum up, in the technical solution provided by the embodiment of this application, when the relay terminal is an emergency registered terminal, the emergency registration indication is carried in the first message sent by the relay terminal to inform the remote terminal that the relay terminal is an emergency registered terminal, and communication security cannot be guaranteed, so that the remote terminal preferentially selects a normally registered relay terminal to perform emergency services.
示例性的,当中继终端变为紧急注册状态时,中继终端还可以向远端终端发送状态变化指示。Exemplarily, when the relay terminal becomes in an emergency registration state, the relay terminal may also send a state change indication to the remote terminal.
请参考图12,其示出了本申请一个实施例提供的紧急业务的提供方法的流程图。该方法应用于图1所示的通信系统中。该方法可以包括如下步骤:Please refer to FIG. 12 , which shows a flowchart of a method for providing emergency services provided by an embodiment of the present application. This method is applied to the communication system shown in FIG. 1 . The method may include the steps of:
步骤701:中继终端发起注册流程。Step 701: the relay terminal initiates a registration process.
Relay UE在进行U2N relay discovery过程之前,先进行注册,该注册过程为正常注册。Before the Relay UE performs the U2N relay discovery process, it first registers, and this registration process is a normal registration.
步骤702:中继终端广播中继发现宣告消息。Step 702: the relay terminal broadcasts a relay discovery announcement message.
当Relay UE使用Model A进行U2N relay discovery过程时,Relay UE发送U2N relay discovery Announcement消息;Relay UE为U2N relay discovery Announcement消息分配source Layer 2 ID和目的Layer 2 ID,发送U2N relay discovery Announcement消息的目的Layer 2 ID 可以为全1的Layer 2 ID或者其他的Layer 2 ID;U2N relay discovery Announcement消息包括Announcer Info、RSC、紧急业务指示。When the Relay UE uses Model A to perform the U2N relay discovery process, the Relay UE sends a U2N relay discovery Announcement message; the Relay UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Announcement message, and the destination Layer 2 ID for sending the U2N relay discovery Announcement message can be All 1 Layer 2 ID or other Layer 2 ID; U2N relay discovery Announcement message includes Announcer Info, RSC, and emergency service indication.
步骤703:远端终端广播中继发现请求消息。Step 703: The remote terminal broadcasts a relay discovery request message.
当Remote UE及Relay UE使用Model B进行U2N relay discovery过程时,Remote UE发送U2N relay discovery Solicitation消息;Remote UE为U2N relay discovery Solicitation消息分配source Layer 2 ID和目的Layer 2 ID,发送U2N relay discovery Solicitation消息的目的Layer 2 ID可以为全1的Layer 2 ID或者其他的Layer 2 ID;U2N relay discovery Solicitation消息包括Discoverer Info、紧急业务指示。When the Remote UE and the Relay UE use Model B to perform the U2N relay discovery process, the Remote UE sends a U2N relay discovery Solicitation message; the Remote UE allocates a source Layer 2 ID and a destination Layer 2 ID for the U2N relay discovery Solicitation message, and sends a U2N relay discovery Solicitation message to the destination Layer 2 The ID can be a Layer 2 ID of all 1s or other Layer 2 IDs; the U2N relay discovery Solicitation message includes Discoverer Info and emergency service instructions.
步骤704:中继终端向远端终端发送中继发现响应消息。Step 704: the relay terminal sends a relay discovery response message to the remote terminal.
支持紧急业务的Relay UE向Remote UE返回U2N relay Discovery Response消息,发送U2N relay Discovery Response消息的目的Layer 2 ID为步骤703中的source Layer 2 ID,Relay UE为发送U2N relay Discovery Response消息分配source Layer 2 ID;U2N relay Discovery Response消息中包括Discoveree Info、RSC、紧急业务指示。The Relay UE that supports emergency services returns a U2N relay Discovery Response message to the Remote UE, and the destination Layer 2 ID for sending the U2N relay Discovery Response message is the source Layer 2 ID in step 703, and the Relay UE allocates a source Layer 2 ID for sending the U2N relay Discovery Response message; U2N relay Discover y The Response message includes Discoveree Info, RSC, and emergency service instructions.
Remote UE选择Relay UE进行接入并建立PC5连接。即,远程终端与中继终端建立连接。The Remote UE selects the Relay UE to access and establish a PC5 connection. That is, the remote terminal establishes a connection with the relay terminal.
步骤705:中继终端接收AMF发送的终端配置指令。Step 705: The relay terminal receives the terminal configuration instruction sent by the AMF.
当Relay UE发生移动导致Relay UE移动至forbidden area,或者网络侧进行重新鉴权导致鉴权失败,Relay UE的状态变为紧急注册状态。示例性的,如果AMF发现Relay UE移动至forbidden area,AMF通过UE configuration command(配置指令)消息通知Relay UE进入紧急注册状态。When the Relay UE moves and the Relay UE moves to the forbidden area, or the network side re-authenticates and the authentication fails, the state of the Relay UE changes to the emergency registration state. Exemplarily, if the AMF finds that the Relay UE moves to the forbidden area, the AMF notifies the Relay UE to enter the emergency registration state through a UE configuration command (configuration command) message.
在中继终端移动至禁区的情况下,中继终端确定中继终端的状态变为紧急注册状态;When the relay terminal moves to the restricted area, the relay terminal determines that the state of the relay terminal has changed to an emergency registration state;
即,中继终端接收核心网网元(AMF网元)发送的终端配置指令,终端配置指令用于指示中继终端进入紧急注册状态,终端配置指令是核心网网元在确定中继终端移动至禁区的情况下发送的。That is, the relay terminal receives the terminal configuration instruction sent by the core network element (AMF network element), the terminal configuration instruction is used to instruct the relay terminal to enter the emergency registration state, and the terminal configuration instruction is sent by the core network element when it is determined that the relay terminal moves to a restricted area.
在网络侧重新鉴权导致鉴权失败的情况下,中继终端确定中继终端的状态变为紧急注册状态;In the case that the authentication fails due to re-authentication on the network side, the relay terminal determines that the state of the relay terminal has changed to an emergency registration state;
即,中继终端接收核心网网元(AMF网元)发送的认证拒绝指令,认证拒绝指令用于指示中继终端进入紧急注册状态,认证拒绝指令是核心网网元在重新鉴权导致的鉴权失败的情况下发送的。That is, the relay terminal receives the authentication rejection instruction sent by the core network element (AMF network element), the authentication rejection instruction is used to instruct the relay terminal to enter the emergency registration state, and the authentication rejection instruction is sent by the core network element when the authentication fails due to re-authentication.
步骤706:中继终端向远端终端发送状态变化指示。Step 706: the relay terminal sends a state change indication to the remote terminal.
中继终端在中继终端进入紧急注册状态的情况下,向远端终端发送状态变化指示,状态变化指示用于指示中继终端进入紧急注册状态。When the relay terminal enters the emergency registration state, the relay terminal sends a state change indication to the remote terminal, where the state change indication is used to instruct the relay terminal to enter the emergency registration state.
Relay UE通过PC5信令通知Remote UE自身进入了紧急注册状态,由于紧急注册指示意味着安全性得不到保证,如此Remote UE可以根据状态变化指示,来决定是否保持与Relay UE之间的连接,如果Remote UE选择释放PC5连接,Remote UE可以在存在提供紧急业务其他Relay UE的时候,优先重新选择其他的Relay UE为其服务。The Relay UE informs the Remote UE that it has entered the emergency registration state through PC5 signaling. Since the emergency registration indication means that the security cannot be guaranteed, the Remote UE can decide whether to maintain the connection with the Relay UE according to the status change indication. If the Remote UE chooses to release the PC5 connection, the Remote UE can preferentially reselect other Relay UEs to serve it when there are other Relay UEs providing emergency services.
示例性的,远端终端基于状态变化指示向中继终端发送连接释放指示,中继终端接收远端终端发送的连接释放指示;中继终端释放与远端终端的连接。Exemplarily, the remote terminal sends a connection release instruction to the relay terminal based on the state change indication, and the relay terminal receives the connection release instruction sent by the remote terminal; the relay terminal releases the connection with the remote terminal.
示例性的,当中继发现过程为模式A时,执行步骤701、步骤702、步骤705和步骤706;当中继发现过程为模式B时,执行步骤701、步骤703、步骤704、步骤705和步骤706。Exemplarily, when the relay discovery process is mode A, step 701, step 702, step 705 and step 706 are performed; when the relay discovery process is mode B, step 701, step 703, step 704, step 705 and step 706 are performed.
综上所述,本申请实施例提供的技术方案,在远程终端与中继终端建立连接后,若中继终端的注册状态变为紧急注册状态,使中继终端向远程终端发送状态变化指示,以告知远端终端中继终端目前为紧急注册状态,若存在其他中继终端能够提供紧急业务,则远端终端可以断开与当前中继终端的连接,与其他中继终端建立连接执行紧急业务,以保证通信安全。In summary, in the technical solution provided by the embodiment of the present application, after the remote terminal establishes a connection with the relay terminal, if the registration status of the relay terminal changes to the emergency registration status, the relay terminal sends a status change indication to the remote terminal to inform the remote terminal that the relay terminal is currently in the emergency registration status. If there are other relay terminals that can provide emergency services, the remote terminal can disconnect from the current relay terminal and establish connections with other relay terminals to perform emergency services to ensure communication security.
需要说明的是,在上述方法实施例中,主要从中继终端和远端终端交互的角度,对本申请技术方案进行了介绍说明。上述有关中继终端执行的步骤,可以单独实现成为中继终端侧 的紧急业务的提供方法;上述有关远端终端执行的步骤,可以单独实现成为远端终端侧的紧急业务的提供方法。It should be noted that, in the foregoing method embodiments, the technical solutions of the present application are introduced and described mainly from the perspective of interaction between the relay terminal and the remote terminal. The above-mentioned steps performed by the relay terminal can be independently implemented as a method for providing emergency services on the relay terminal side; the above-mentioned steps performed by the remote terminal can be independently implemented as a method for providing emergency services on the remote terminal side.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参考图13,其示出了本申请一个实施例提供的紧急业务的提供装置的框图。该装置具有实现上述中继终端侧的方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的中继终端,也可以设置在中继终端中。如图13所示,该装置可以包括:Please refer to FIG. 13 , which shows a block diagram of an emergency service providing apparatus provided by an embodiment of the present application. The device has the function of implementing the above example method on the relay terminal side, and the function may be implemented by hardware, or by executing corresponding software on the hardware. The device may be the relay terminal described above, or may be set in the relay terminal. As shown in Figure 13, the device may include:
第一发送模块801,用于发送第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示;The first sending module 801 is configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;
其中,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务。Wherein, the first emergency service indication is used to instruct the RSC to support the emergency service.
在一个可选的实施例中,所述第一消息包括中继发现宣告消息;所述第一发送模块801,用于广播所述中继发现宣告消息。In an optional embodiment, the first message includes a relay discovery announcement message; the first sending module 801 is configured to broadcast the relay discovery announcement message.
在一个可选的实施例中,所述第一消息包括中继发现响应消息;所述第一发送模块801,用于向远端终端发送所述中继发现响应消息。In an optional embodiment, the first message includes a relay discovery response message; the first sending module 801 is configured to send the relay discovery response message to a remote terminal.
在一个可选的实施例中,所述装置还包括:第一接收模块802,用于接收所述远端终端发送的中继发现请求消息,所述中继发现请求消息包括第二紧急业务指示,所述第二紧急业务指示用于指示所述远端终端存在紧急业务需求;所述第一发送模块801,用于在所述中继终端支持所述紧急业务的情况下,向所述远端终端发送所述中继发现响应消息。In an optional embodiment, the apparatus further includes: a first receiving module 802, configured to receive a relay discovery request message sent by the remote terminal, where the relay discovery request message includes a second emergency service indication, and the second emergency service indication is used to indicate that the remote terminal has an emergency service requirement; the first sending module 801 is configured to send the relay discovery response message to the remote terminal when the relay terminal supports the emergency service.
在一个可选的实施例中,所述中继终端为宣告者;所述中继发现宣告消息还包括宣告者信息,所述宣告者信息包括所述中继终端的信息。In an optional embodiment, the relay terminal is an announcer; the relay discovery announcement message further includes announcer information, and the announcer information includes information about the relay terminal.
在一个可选的实施例中,所述中继终端为被发现者;所述中继发现响应消息还包括被发现者信息,所述被发现者信息包括所述中继终端的信息。In an optional embodiment, the relay terminal is a discovered person; the relay discovery response message further includes information about the discovered person, and the information about the discovered person includes information about the relay terminal.
在一个可选的实施例中,所述远端终端为发现者;所述中继发现请求消息还包括发现者信息,所述发现者信息包括所述远端终端的信息。In an optional embodiment, the remote terminal is a discoverer; the relay discovery request message further includes discoverer information, and the discoverer information includes information about the remote terminal.
在一个可选的实施例中,所述装置还包括:第一分配模块804,用于为所述中继发现宣告消息分配第一源层二地址和/或第一目的层二地址;其中,所述第一目的层二地址为全1,或,所述第一目的层二地址为全0,或,所述第一目的层二地址为任一层二地址。In an optional embodiment, the device further includes: a first allocation module 804, configured to allocate a first source layer 2 address and/or a first destination layer 2 address for the relay discovery announcement message; wherein, the first destination layer 2 address is all 1s, or the first destination layer 2 address is all 0s, or the first destination layer 2 address is any layer 2 address.
在一个可选的实施例中,所述装置还包括:第一分配模块804,用于将所述中继发现请求消息的第二源层二地址确定为所述中继发现响应消息的第三目的层二地址;为所述中继发现响应消息分配第三源层二地址。In an optional embodiment, the apparatus further includes: a first assignment module 804, configured to determine the second source Layer 2 address of the relay discovery request message as the third destination Layer 2 address of the relay discovery response message; and allocate a third source Layer 2 address for the relay discovery response message.
在一个可选的实施例中,所述第一消息还包括紧急注册指示;所述紧急注册指示用于指示所述中继终端为未鉴权终端,或,用于指示所述中继终端发起的注册过程为紧急注册。In an optional embodiment, the first message further includes an emergency registration indication; the emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
在一个可选的实施例中,所述装置还包括:注册模块805,用于在鉴权失败的情况下,执行紧急注册;或,所述注册模块805,用于在所述中继终端处于禁区的情况下,执行所述紧急注册;或,所述注册模块805,用于在所述中继终端未插入有效用户识别SIM卡的情况下,执行所述紧急注册。In an optional embodiment, the device further includes: a registration module 805, configured to perform emergency registration when the authentication fails; or, the registration module 805, configured to perform the emergency registration when the relay terminal is in a restricted area; or, the registration module 805, configured to perform the emergency registration when the relay terminal is not inserted into a valid user identification SIM card.
在一个可选的实施例中,所述第一发送模块801,用于在所述中继终端进入紧急注册状态的情况下,向远端终端发送状态变化指示,所述状态变化指示用于指示所述中继终端进入紧急注册状态。In an optional embodiment, the first sending module 801 is configured to send a state change indication to a remote terminal when the relay terminal enters an emergency registration state, and the state change indication is used to instruct the relay terminal to enter an emergency registration state.
在一个可选的实施例中,所述装置还包括:状态模块806,用于在所述中继终端移动至禁区的情况下,确定所述中继终端的状态变为所述紧急注册状态;或,状态模块806,用于在网络侧重新鉴权导致鉴权失败的情况下,确定所述中继终端的状态变为所述紧急注册状态。In an optional embodiment, the apparatus further includes: a state module 806, configured to determine that the state of the relay terminal has changed to the emergency registration state when the relay terminal moves to a restricted area; or, a state module 806, configured to determine that the state of the relay terminal has changed to the emergency registration state when re-authentication on the network side results in an authentication failure.
在一个可选的实施例中,所述装置还包括:第一接收模块802,用于接收核心网网元发送的终端配置指令,所述终端配置指令用于指示所述中继终端进入所述紧急注册状态,所述 终端配置指令是所述核心网网元在确定所述中继终端移动至禁区的情况下发送的。In an optional embodiment, the device further includes: a first receiving module 802, configured to receive a terminal configuration instruction sent by a core network element, where the terminal configuration instruction is used to instruct the relay terminal to enter the emergency registration state, and the terminal configuration instruction is sent by the core network element when it is determined that the relay terminal moves to a restricted area.
在一个可选的实施例中,所述装置还包括:第一接收模块802,用于接收核心网网元发送的认证拒绝指令,所述认证拒绝指令用于指示所述中继终端进入所述紧急注册状态,所述认证拒绝指令是所述核心网网元在重新鉴权导致的鉴权失败的情况下发送的。In an optional embodiment, the apparatus further includes: a first receiving module 802, configured to receive an authentication rejection instruction sent by a core network element, the authentication rejection instruction being used to instruct the relay terminal to enter the emergency registration state, and the authentication rejection instruction is sent by the core network element when authentication fails due to re-authentication.
在一个可选的实施例中,所述装置还包括:第一连接模块803,用于与所述远端终端建立连接。In an optional embodiment, the apparatus further includes: a first connection module 803, configured to establish a connection with the remote terminal.
在一个可选的实施例中,所述装置还包括:第一接收模块802,用于接收所述远端终端发送的连接释放指示;第一连接模块803,用于释放与所述远端终端的连接。In an optional embodiment, the apparatus further includes: a first receiving module 802, configured to receive a connection release instruction sent by the remote terminal; a first connection module 803, configured to release the connection with the remote terminal.
请参考图14,其示出了本申请一个实施例提供的紧急业务的提供装置的框图。该装置具有实现上述远端终端侧的方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的远端终端,也可以设置在远端终端中。如图14所示,该装置可以包括:Please refer to FIG. 14 , which shows a block diagram of an emergency service providing apparatus provided by an embodiment of the present application. The device has the function of realizing the above-mentioned method example on the remote terminal side, and the function may be realized by hardware, or may be realized by executing corresponding software by hardware. The device may be the remote terminal described above, or may be set in the remote terminal. As shown in Figure 14, the device may include:
第二接收模块902,用于接收中继终端发送的第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务;The second receiving module 902 is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
第二连接模块904,用于在存在紧急业务需求的情况下,与所述中继终端建立连接,所述中继终端是根据所述第一紧急业务指示确定出的。The second connection module 904 is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
在一个可选的实施例中,所述第一消息包括中继发现宣告消息;所述第二接收模块902,用于接收所述中继终端广播的所述中继发现宣告消息。In an optional embodiment, the first message includes a relay discovery announcement message; the second receiving module 902 is configured to receive the relay discovery announcement message broadcast by the relay terminal.
在一个可选的实施例中,所述第一消息包括中继发现响应消息。In an optional embodiment, the first message includes a relay discovery response message.
在一个可选的实施例中,所述中继发现响应消息是在所述中继终端支持所述紧急业务的情况下发送的,所述装置还包括:第二发送模块901,用于向所述中继终端发送中继发现请求消息,所述中继发现请求消息包括第二紧急业务指示,所述第二紧急业务指示用于指示所述远端终端存在紧急业务需求。In an optional embodiment, the relay discovery response message is sent when the relay terminal supports the emergency service, and the apparatus further includes: a second sending module 901, configured to send a relay discovery request message to the relay terminal, where the relay discovery request message includes a second emergency service indication, and the second emergency service indication is used to indicate that the remote terminal has an emergency service demand.
在一个可选的实施例中,所述中继终端为宣告者;所述中继发现宣告消息还包括宣告者信息,所述宣告者信息包括所述中继终端的信息。In an optional embodiment, the relay terminal is an announcer; the relay discovery announcement message further includes announcer information, and the announcer information includes information about the relay terminal.
在一个可选的实施例中,所述中继终端为被发现者;所述中继发现响应消息还包括被发现者信息,所述被发现者信息包括所述中继终端的信息。In an optional embodiment, the relay terminal is a discovered person; the relay discovery response message further includes information about the discovered person, and the information about the discovered person includes information about the relay terminal.
在一个可选的实施例中,所述远端终端为发现者;所述中继发现请求消息还包括发现者信息,所述发现者信息包括所述远端终端的信息。In an optional embodiment, the remote terminal is a discoverer; the relay discovery request message further includes discoverer information, and the discoverer information includes information about the remote terminal.
在一个可选的实施例中,所述装置还包括:第二分配模块903,用于为所述中继发现请求消息分配第二源层二地址和/或第二目的层二地址;其中,所述第二目的层二地址为全1,或,所述第二目的层二地址为全0,或,所述第二目的层二地址为任一层二地址。In an optional embodiment, the device further includes: a second allocation module 903, configured to allocate a second source layer 2 address and/or a second destination layer 2 address for the relay discovery request message; wherein, the second destination layer 2 address is all 1s, or the second destination layer 2 address is all 0s, or the second destination layer 2 address is any layer 2 address.
在一个可选的实施例中,所述装置还包括:选择模块905,用于在存在紧急业务需求的情况下,根据所述第一紧急业务指示选择支持所述紧急业务的所述中继终端;所述第二连接模块904,用于与所述中继终端建立连接。In an optional embodiment, the apparatus further includes: a selection module 905, configured to select the relay terminal supporting the emergency service according to the first emergency service indication when there is an emergency service demand; and the second connection module 904, configured to establish a connection with the relay terminal.
在一个可选的实施例中,所述第一消息还包括紧急注册指示;所述紧急注册指示用于指示所述中继终端为未鉴权终端,或,用于指示所述中继终端发起的注册过程为紧急注册。In an optional embodiment, the first message further includes an emergency registration indication; the emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
在一个可选的实施例中,选择模块905,用于在存在紧急业务需求的情况下,根据所述第一紧急业务指示和所述紧急注册指示选择支持所述紧急业务的所述中继终端;所述第二连接模块904,用于与所述中继终端建立连接。In an optional embodiment, the selection module 905 is configured to select the relay terminal supporting the emergency service according to the first emergency service indication and the emergency registration indication when there is an emergency service demand; the second connection module 904 is configured to establish a connection with the relay terminal.
在一个可选的实施例中,第二接收模块902,用于接收所述中继终端发送的状态变化指示,所述状态变化指示用于指示所述中继终端进入紧急注册状态。In an optional embodiment, the second receiving module 902 is configured to receive a state change indication sent by the relay terminal, where the state change indication is used to instruct the relay terminal to enter an emergency registration state.
在一个可选的实施例中,所述状态变化指示是所述中继终端在所述中继终端移动至禁区的情况下发送的;或,所述状态变化指示是所述中继终端在网络侧重新鉴权导致鉴权失败的情况下发送的。In an optional embodiment, the state change indication is sent by the relay terminal when the relay terminal moves to a restricted area; or, the state change indication is sent by the relay terminal when the network side re-authentication results in authentication failure.
在一个可选的实施例中,所述第二连接模块904,用于根据所述状态变化指示确定是否保持与所述中继终端的连接。In an optional embodiment, the second connection module 904 is configured to determine whether to maintain the connection with the relay terminal according to the state change indication.
在一个可选的实施例中,所述装置还包括:第二发送模块901,用于根据所述状态变化指示,向所述中继终端发送连接释放指令;所述第二连接模块904,用于释放与所述中继终端的连接。In an optional embodiment, the apparatus further includes: a second sending module 901, configured to send a connection release instruction to the relay terminal according to the state change indication; and the second connection module 904, configured to release the connection with the relay terminal.
需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that when the device provided in the above embodiment implements its functions, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to actual needs, that is, the content structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
请参考图15,其示出了本申请一个实施例提供的终端设备的结构示意图。该终端设备可以包括:处理器1001、接收器1002、发射器1003、存储器1004和总线1005。Please refer to FIG. 15 , which shows a schematic structural diagram of a terminal device provided by an embodiment of the present application. The terminal device may include: a processor 1001 , a receiver 1002 , a transmitter 1003 , a memory 1004 and a bus 1005 .
处理器1001包括一个或者一个以上处理核心,处理器1001通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 1001 includes one or more processing cores, and the processor 1001 executes various functional applications and information processing by running software programs and modules.
接收器1002和发射器1003可以实现为一个收发器1006,该收发器1006可以是一块通信芯片。The receiver 1002 and the transmitter 1003 can be realized as a transceiver 1006, and the transceiver 1006 can be a communication chip.
存储器1004通过总线1005与处理器1001相连。The memory 1004 is connected to the processor 1001 through a bus 1005 .
存储器1004可用于存储计算机程序,处理器1001用于执行该计算机程序,以实现上述方法实施例中终端设备执行的各个步骤。The memory 1004 may be used to store a computer program, and the processor 1001 is used to execute the computer program, so as to implement various steps performed by the terminal device in the foregoing method embodiments.
此外,存储器1004可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:RAM(Random-Access Memory,随机存储器)和ROM(Read-Only Memory,只读存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦写可编程只读存储器)、闪存或其他固态存储其技术,CD-ROM(Compact Disc Read-Only Memory,只读光盘)、DVD(Digital Video Disc,高密度数字视频光盘)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。In addition, the memory 1004 can be realized by any type of volatile or nonvolatile storage device or their combination. The volatile or nonvolatile storage device includes but is not limited to: RAM (Random-Access Memory, random access memory) and ROM (Read-Only Memory, read-only memory), EPROM (Erasable Programmable Read-Only Memory, erasable programmable read-only memory), EEPROM (Electrically Erasable Prog rammable Read-Only Memory, electrically erasable programmable read-only memory), flash memory or other solid-state storage technology, CD-ROM (Compact Disc Read-Only Memory, CD-ROM), DVD (Digital Video Disc, high-density digital video disc) or other optical storage, tape cartridges, tapes, disk storage or other magnetic storage devices.
其中,当终端设备实现为中继终端时,本申请实施例涉及的处理器和收发器,可以执行上述图7至图12任一所示的方法中,由中继终端执行的步骤,此处不再赘述。Wherein, when the terminal device is implemented as a relay terminal, the processor and the transceiver involved in the embodiment of the present application may execute the steps performed by the relay terminal in any of the methods shown in FIG. 7 to FIG. 12 above, which will not be repeated here.
在一种可能的实现方式中,当终端设备实现为中继终端时,In a possible implementation manner, when the terminal device is implemented as a relay terminal,
所述收发器,用于发送第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示;The transceiver is configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;
其中,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务。Wherein, the first emergency service indication is used to instruct the RSC to support the emergency service.
其中,当终端设备实现为远端终端时,本申请实施例涉及的处理器和收发器,可以执行上述图7至图12任一所示的方法中,由远端终端执行的步骤,此处不再赘述。Wherein, when the terminal device is implemented as a remote terminal, the processor and the transceiver involved in the embodiment of the present application may execute the steps performed by the remote terminal in any of the methods shown in FIG. 7 to FIG. 12 above, which will not be repeated here.
所述收发器,用于接收中继终端发送的第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务;The transceiver is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;
所述处理器,用于在存在紧急业务需求的情况下,与所述中继终端建立连接,所述中继终端是根据所述第一紧急业务指示确定出的。The processor is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序用于被中继终端的处理器执行,以实现上述中继终端侧的紧急业务的提供方法。The embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is used to be executed by a processor of a relay terminal, so as to implement the above method for providing emergency services on the relay terminal side.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序用于被远端终端的处理器执行,以实现上述远端终端侧的紧急业务的提供方 法。The embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is used to be executed by a processor of a remote terminal, so as to implement the above method for providing emergency services on the remote terminal side.
可选地,该计算机可读存储介质可以包括:ROM(Read-Only Memory,只读存储器)、RAM(Random-Access Memory,随机存储器)、SSD(Solid State Drives,固态硬盘)或光盘等。其中,随机存取记忆体可以包括ReRAM(Resistance Random Access Memory,电阻式随机存取记忆体)和DRAM(Dynamic Random Access Memory,动态随机存取存储器)。Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory, read-only memory), RAM (Random-Access Memory, random access memory), SSD (Solid State Drives, solid state drive) or an optical disc, etc. Wherein, the random access memory may include ReRAM (Resistance Random Access Memory, resistive random access memory) and DRAM (Dynamic Random Access Memory, dynamic random access memory).
本申请实施例还提供了一种芯片,所述芯片包括可编程逻辑电路和/或程序指令,当所述芯片在中继终端上运行时,用于实现上述中继终端侧的紧急业务的提供方法。The embodiment of the present application also provides a chip, the chip includes a programmable logic circuit and/or program instructions, and when the chip runs on the relay terminal, it is used to implement the above method for providing emergency services on the relay terminal side.
本申请实施例还提供了一种芯片,所述芯片包括可编程逻辑电路和/或程序指令,当所述芯片在远端终端上运行时,用于实现上述远端终端侧的紧急业务的提供方法。The embodiment of the present application also provides a chip, the chip includes a programmable logic circuit and/or program instructions, and when the chip runs on the remote terminal, it is used to implement the above method for providing emergency services on the remote terminal side.
本申请实施例还提供了一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,中继终端的处理器从所述计算机可读存储介质读取并执行所述计算机指令,以实现上述中继终端侧的紧急业务的提供方法。An embodiment of the present application also provides a computer program product or computer program, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and the processor of the relay terminal reads and executes the computer instructions from the computer-readable storage medium, so as to implement the above-mentioned method for providing emergency services on the relay terminal side.
本申请实施例还提供了一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,远端终端的处理器从所述计算机可读存储介质读取并执行所述计算机指令,以实现上述远端终端侧的紧急业务的提供方法。The embodiment of the present application also provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and the processor of the remote terminal reads and executes the computer instructions from the computer-readable storage medium, so as to implement the above method for providing emergency services on the remote terminal side.
应理解,在本申请的实施例中提到的“指示”可以是直接指示,也可以是间接指示,还可以是表示具有关联关系。举例说明,A指示B,可以表示A直接指示B,例如B可以通过A获取;也可以表示A间接指示B,例如A指示C,B可以通过C获取;还可以表示A和B之间具有关联关系。It should be understood that the "indication" mentioned in the embodiments of the present application may be a direct indication, may also be an indirect indication, and may also mean that there is an association relationship. For example, A indicates B, which may mean that A directly indicates B, for example, B can be obtained through A; it may also indicate that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it may also indicate that there is an association relationship between A and B.
在本申请实施例的描述中,术语“对应”可表示两者之间具有直接对应或间接对应的关系,也可以表示两者之间具有关联关系,也可以是指示与被指示、配置与被配置等关系。In the description of the embodiments of the present application, the term "corresponding" may indicate that there is a direct or indirect correspondence between the two, or that there is an association between the two, or that it indicates and is indicated, or configures and is configured.
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。The "plurality" mentioned herein means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.
另外,本文中描述的步骤编号,仅示例性示出了步骤间的一种可能的执行先后顺序,在一些其它实施例中,上述步骤也可以不按照编号顺序来执行,如两个不同编号的步骤同时执行,或者两个不同编号的步骤按照与图示相反的顺序执行,本申请实施例对此不作限定。In addition, the numbering of the steps described in this document only exemplifies a possible sequence of execution among the steps. In some other embodiments, the above-mentioned steps may not be performed in accordance with the sequence of numbers, for example, two steps with different numbers are performed at the same time, or steps with two different numbers are performed in the reverse order as shown in the illustration, which is not limited in this embodiment of the present application.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the foregoing one or more examples, the functions described in the embodiments of the present application may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only exemplary embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included within the protection scope of the present application.
Claims (69)
- 一种紧急业务的提供方法,其特征在于,所述方法由中继终端执行,所述方法包括:A method for providing emergency services, characterized in that the method is executed by a relay terminal, and the method includes:发送第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示;sending a first message, where the first message includes a relay service code RSC and a first emergency service indication;其中,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务。Wherein, the first emergency service indication is used to instruct the RSC to support the emergency service.
- 根据权利要求1所述的方法,其特征在于,所述第一消息包括中继发现宣告消息;The method according to claim 1, wherein the first message comprises a relay discovery announcement message;所述发送第一消息,包括:The sending the first message includes:广播所述中继发现宣告消息。broadcasting the relay discovery announcement message.
- 根据权利要求1所述的方法,其特征在于,所述第一消息包括中继发现响应消息;The method according to claim 1, wherein the first message comprises a relay discovery response message;所述发送第一消息,包括:The sending the first message includes:向远端终端发送所述中继发现响应消息。Send the relay discovery response message to the remote terminal.
- 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, characterized in that the method further comprises:接收所述远端终端发送的中继发现请求消息,所述中继发现请求消息包括第二紧急业务指示,所述第二紧急业务指示用于指示所述远端终端存在紧急业务需求;receiving a relay discovery request message sent by the remote terminal, where the relay discovery request message includes a second emergency service indication, where the second emergency service indication is used to indicate that the remote terminal has an emergency service demand;所述向远程终端发送所述中继发现响应消息,包括:The sending the relay discovery response message to the remote terminal includes:在所述中继终端支持所述紧急业务的情况下,向所述远端终端发送所述中继发现响应消息。If the relay terminal supports the emergency service, send the relay discovery response message to the remote terminal.
- 根据权利要求2所述的方法,其特征在于,所述中继终端为宣告者;The method according to claim 2, wherein the relay terminal is an announcer;所述中继发现宣告消息还包括宣告者信息,所述宣告者信息包括所述中继终端的信息。The relay discovery announcement message further includes announcer information, and the announcer information includes information about the relay terminal.
- 根据权利要求3或4所述的方法,其特征在于,所述中继终端为被发现者;The method according to claim 3 or 4, wherein the relay terminal is the discovered person;所述中继发现响应消息还包括被发现者信息,所述被发现者信息包括所述中继终端的信息。The relay discovery response message further includes the information of the discovered person, and the information of the discovered person includes the information of the relay terminal.
- 根据权利要求4所述的方法,其特征在于,所述远端终端为发现者;The method according to claim 4, wherein the remote terminal is a discoverer;所述中继发现请求消息还包括发现者信息,所述发现者信息包括所述远端终端的信息。The relay discovery request message further includes discoverer information, and the discoverer information includes the information of the remote terminal.
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, further comprising:为所述中继发现宣告消息分配第一源层二地址和/或第一目的层二地址;allocating a first source layer 2 address and/or a first destination layer 2 address for the relay discovery announcement message;其中,所述第一目的层二地址为全1,或,所述第一目的层二地址为全0,或,所述第一目的层二地址为任一层二地址。Wherein, the first destination layer 2 address is all 1s, or, the first destination layer 2 address is all 0s, or, the first destination layer 2 address is any layer 2 address.
- 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises:将所述中继发现请求消息的第二源层二地址确定为所述中继发现响应消息的第三目的层二地址;determining the second source layer 2 address of the relay discovery request message as the third destination layer 2 address of the relay discovery response message;为所述中继发现响应消息分配第三源层二地址。Allocating a third source layer 2 address for the relay discovery response message.
- 根据权利要求1至9任一所述的方法,其特征在于,所述第一消息还包括紧急注册指示;The method according to any one of claims 1 to 9, wherein the first message further includes an emergency registration indication;所述紧急注册指示用于指示所述中继终端为未鉴权终端,或,用于指示所述中继终端发起的注册过程为紧急注册。The emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
- 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, characterized in that the method further comprises:在鉴权失败的情况下,执行紧急注册;In case of authentication failure, perform emergency registration;或,在所述中继终端处于禁区的情况下,执行所述紧急注册;Or, when the relay terminal is in a restricted area, perform the emergency registration;或,在所述中继终端未插入有效用户识别SIM卡的情况下,执行所述紧急注册。Or, when the relay terminal is not inserted with a valid subscriber identification SIM card, perform the emergency registration.
- 根据权利要求1至9任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 9, wherein the method further comprises:在所述中继终端进入紧急注册状态的情况下,向远端终端发送状态变化指示,所述状态变化指示用于指示所述中继终端进入紧急注册状态。When the relay terminal enters the emergency registration state, sending a state change indication to the remote terminal, where the state change indication is used to instruct the relay terminal to enter the emergency registration state.
- 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method according to claim 12, characterized in that the method further comprises:在所述中继终端移动至禁区的情况下,确定所述中继终端的状态变为所述紧急注册状态;When the relay terminal moves to a restricted area, determine that the state of the relay terminal has changed to the emergency registration state;或,在网络侧重新鉴权导致鉴权失败的情况下,确定所述中继终端的状态变为所述紧急 注册状态。Or, in the case that the re-authentication on the network side results in an authentication failure, it is determined that the state of the relay terminal has changed to the emergency registration state.
- 根据权利要求12所述的方法,其特征在于,所述在所述中继终端移动至进去的情况下,确定所述中继终端的状态变为所述紧急注册状态,包括:The method according to claim 12, wherein the determining that the state of the relay terminal has changed to the emergency registration state when the relay terminal moves in includes:接收核心网网元发送的终端配置指令,所述终端配置指令用于指示所述中继终端进入所述紧急注册状态,所述终端配置指令是所述核心网网元在确定所述中继终端移动至禁区的情况下发送的。receiving a terminal configuration instruction sent by a core network element, the terminal configuration instruction is used to instruct the relay terminal to enter the emergency registration state, and the terminal configuration instruction is sent by the core network element when it is determined that the relay terminal moves to a restricted area.
- 根据权利要求12所述的方法,其特征在于,所述在网络侧重新鉴权导致鉴权失败的情况下,确定所述中继终端的状态变为所述紧急注册状态,包括:The method according to claim 12, wherein the determining that the state of the relay terminal has changed to the emergency registration state in the case that re-authentication on the network side results in an authentication failure comprises:接收核心网网元发送的认证拒绝指令,所述认证拒绝指令用于指示所述中继终端进入所述紧急注册状态,所述认证拒绝指令是所述核心网网元在重新鉴权导致的鉴权失败的情况下发送的。receiving an authentication rejection instruction sent by a core network element, where the authentication rejection instruction is used to instruct the relay terminal to enter the emergency registration state, and the authentication rejection instruction is sent by the core network element when authentication fails due to re-authentication.
- 根据权利要求12所述的方法,其特征在于,所述在所述中继终端进入紧急注册状态的情况下,向远端终端发送状态变化指示之前,还包括:The method according to claim 12, wherein when the relay terminal enters the emergency registration state, before sending the status change indication to the remote terminal, further comprising:与所述远端终端建立连接。Establish a connection with the remote terminal.
- 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method according to claim 12, characterized in that the method further comprises:接收所述远端终端发送的连接释放指示;receiving a connection release indication sent by the remote terminal;释放与所述远端终端的连接。Release the connection with the remote terminal.
- 一种紧急业务的提供方法,其特征在于,所述方法由远端终端执行,所述方法包括:A method for providing emergency services, characterized in that the method is executed by a remote terminal, and the method includes:接收中继终端发送的第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务;receiving a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;在存在紧急业务需求的情况下,与所述中继终端建立连接,所述中继终端是根据所述第一紧急业务指示确定出的。If there is an emergency service requirement, establish a connection with the relay terminal, where the relay terminal is determined according to the first emergency service indication.
- 根据权利要求18所述的方法,其特征在于,所述第一消息包括中继发现宣告消息;The method according to claim 18, wherein the first message comprises a relay discovery announcement message;所述接收中继终端发送的第一消息,包括:The receiving the first message sent by the relay terminal includes:接收所述中继终端广播的所述中继发现宣告消息。receiving the relay discovery announcement message broadcast by the relay terminal.
- 根据权利要求18所述的方法,其特征在于,所述第一消息包括中继发现响应消息。The method according to claim 18, wherein the first message comprises a relay discovery response message.
- 根据权利要求20所述的方法,其特征在于,所述中继发现响应消息是在所述中继终端支持所述紧急业务的情况下发送的,所述方法还包括:The method according to claim 20, wherein the relay discovery response message is sent when the relay terminal supports the emergency service, and the method further comprises:向所述中继终端发送中继发现请求消息,所述中继发现请求消息包括第二紧急业务指示,所述第二紧急业务指示用于指示所述远端终端存在紧急业务需求。Sending a relay discovery request message to the relay terminal, where the relay discovery request message includes a second emergency service indication, where the second emergency service indication is used to indicate that the remote terminal has an emergency service demand.
- 根据权利要求19所述的方法,其特征在于,所述中继终端为宣告者;The method according to claim 19, wherein the relay terminal is an announcer;所述中继发现宣告消息还包括宣告者信息,所述宣告者信息包括所述中继终端的信息。The relay discovery announcement message further includes announcer information, and the announcer information includes information about the relay terminal.
- 根据权利要求20或21所述的方法,其特征在于,所述中继终端为被发现者;The method according to claim 20 or 21, wherein the relay terminal is the discovered person;所述中继发现响应消息还包括被发现者信息,所述被发现者信息包括所述中继终端的信息。The relay discovery response message further includes the information of the discovered person, and the information of the discovered person includes the information of the relay terminal.
- 根据权利要求21所述的方法,其特征在于,所述远端终端为发现者;The method according to claim 21, wherein the remote terminal is a discoverer;所述中继发现请求消息还包括发现者信息,所述发现者信息包括所述远端终端的信息。The relay discovery request message further includes discoverer information, and the discoverer information includes the information of the remote terminal.
- 根据权利要求21所述的方法,其特征在于,所述方法还包括:The method according to claim 21, further comprising:为所述中继发现请求消息分配第二源层二地址和/或第二目的层二地址;assigning a second source layer 2 address and/or a second destination layer 2 address for the relay discovery request message;其中,所述第二目的层二地址为全1,或,所述第二目的层二地址为全0,或,所述第二目的层二地址为任一层二地址。Wherein, the second destination layer 2 address is all 1s, or, the second destination layer 2 address is all 0s, or, the second destination layer 2 address is any layer 2 address.
- 根据权利要求18至25任一所述的方法,其特征在于,所述在存在紧急业务需求的情况下,与所述中继终端建立连接,包括:The method according to any one of claims 18 to 25, wherein the establishing a connection with the relay terminal when there is an emergency service demand includes:在存在紧急业务需求的情况下,根据所述第一紧急业务指示选择支持所述紧急业务的所述中继终端;Selecting the relay terminal that supports the emergency service according to the first emergency service indication when there is an emergency service demand;与所述中继终端建立连接。Establish a connection with the relay terminal.
- 根据权利要求18至26任一所述的方法,其特征在于,所述第一消息还包括紧急注册指示;The method according to any one of claims 18 to 26, wherein the first message further includes an emergency registration indication;所述紧急注册指示用于指示所述中继终端为未鉴权终端,或,用于指示所述中继终端发起的注册过程为紧急注册。The emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
- 根据权利要求27所述的方法,其特征在于,所述在存在紧急业务需求的情况下,与所述中继终端建立连接,包括:The method according to claim 27, wherein the establishing a connection with the relay terminal when there is an emergency service demand comprises:在存在紧急业务需求的情况下,根据所述第一紧急业务指示和所述紧急注册指示选择支持所述紧急业务的所述中继终端;When there is an emergency service demand, select the relay terminal that supports the emergency service according to the first emergency service indication and the emergency registration indication;与所述中继终端建立连接。Establish a connection with the relay terminal.
- 根据权利要求18至26任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 18 to 26, further comprising:接收所述中继终端发送的状态变化指示,所述状态变化指示用于指示所述中继终端进入紧急注册状态。receiving a state change indication sent by the relay terminal, where the state change indication is used to instruct the relay terminal to enter an emergency registration state.
- 根据权利要求29所述的方法,其特征在于,所述状态变化指示是所述中继终端在所述中继终端移动至禁区的情况下发送的;The method according to claim 29, wherein the state change indication is sent by the relay terminal when the relay terminal moves to a restricted area;或,所述状态变化指示是所述中继终端在网络侧重新鉴权导致鉴权失败的情况下发送的。Or, the state change indication is sent by the relay terminal when the network side re-authentication results in authentication failure.
- 根据权利要求29所述的方法,其特征在于,所述方法还包括:The method according to claim 29, further comprising:根据所述状态变化指示确定是否保持与所述中继终端的连接。Determine whether to maintain the connection with the relay terminal according to the state change indication.
- 根据权利要求29所述的方法,其特征在于,所述方法还包括:The method according to claim 29, further comprising:根据所述状态变化指示,向所述中继终端发送连接释放指令;sending a connection release instruction to the relay terminal according to the state change indication;释放与所述中继终端的连接。Release the connection with the relay terminal.
- 一种紧急业务的提供装置,其特征在于,所述装置用于实现中继终端,所述装置包括:An emergency service providing device, characterized in that the device is used to implement a relay terminal, and the device includes:第一发送模块,用于发送第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示;A first sending module, configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;其中,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务。Wherein, the first emergency service indication is used to instruct the RSC to support the emergency service.
- 根据权利要求33所述的装置,其特征在于,所述第一消息包括中继发现宣告消息;The device according to claim 33, wherein the first message includes a relay discovery announcement message;所述第一发送模块,用于广播所述中继发现宣告消息。The first sending module is configured to broadcast the relay discovery announcement message.
- 根据权利要求33所述的装置,其特征在于,所述第一消息包括中继发现响应消息;The apparatus according to claim 33, wherein the first message comprises a relay discovery response message;所述第一发送模块,用于向远端终端发送所述中继发现响应消息。The first sending module is configured to send the relay discovery response message to the remote terminal.
- 根据权利要求35所述的装置,其特征在于,所述装置还包括:The device according to claim 35, further comprising:第一接收模块,用于接收所述远端终端发送的中继发现请求消息,所述中继发现请求消息包括第二紧急业务指示,所述第二紧急业务指示用于指示所述远端终端存在紧急业务需求;A first receiving module, configured to receive a relay discovery request message sent by the remote terminal, where the relay discovery request message includes a second emergency service indication, and the second emergency service indication is used to indicate that the remote terminal has an emergency service demand;所述第一发送模块,用于在所述中继终端支持所述紧急业务的情况下,向所述远端终端发送所述中继发现响应消息。The first sending module is configured to send the relay discovery response message to the remote terminal when the relay terminal supports the emergency service.
- 根据权利要求34所述的装置,其特征在于,所述中继终端为宣告者;The device according to claim 34, wherein the relay terminal is an announcer;所述中继发现宣告消息还包括宣告者信息,所述宣告者信息包括所述中继终端的信息。The relay discovery announcement message further includes announcer information, and the announcer information includes information about the relay terminal.
- 根据权利要求35或36所述的装置,其特征在于,所述中继终端为被发现者;The device according to claim 35 or 36, wherein the relay terminal is the discovered person;所述中继发现响应消息还包括被发现者信息,所述被发现者信息包括所述中继终端的信息。The relay discovery response message further includes the information of the discovered person, and the information of the discovered person includes the information of the relay terminal.
- 根据权利要求36所述的装置,其特征在于,所述远端终端为发现者;The device according to claim 36, wherein the remote terminal is a discoverer;所述中继发现请求消息还包括发现者信息,所述发现者信息包括所述远端终端的信息。The relay discovery request message further includes discoverer information, and the discoverer information includes the information of the remote terminal.
- 根据权利要求34所述的装置,其特征在于,所述装置还包括:The device according to claim 34, further comprising:第一分配模块,用于为所述中继发现宣告消息分配第一源层二地址和/或第一目的层二地址;A first allocation module, configured to allocate a first source layer 2 address and/or a first destination layer 2 address for the relay discovery announcement message;其中,所述第一目的层二地址为全1,或,所述第一目的层二地址为全0,或,所述第一 目的层二地址为任一层二地址。Wherein, the first destination layer 2 address is all 1s, or, the first destination layer 2 address is all 0s, or, the first destination layer 2 address is any layer 2 address.
- 根据权利要求36所述的装置,其特征在于,所述装置还包括:The device according to claim 36, further comprising:第一分配模块,用于将所述中继发现请求消息的第二源层二地址确定为所述中继发现响应消息的第三目的层二地址;A first allocation module, configured to determine the second source layer 2 address of the relay discovery request message as the third destination layer 2 address of the relay discovery response message;为所述中继发现响应消息分配第三源层二地址。Allocating a third source layer 2 address for the relay discovery response message.
- 根据权利要求33至41任一所述的装置,其特征在于,所述第一消息还包括紧急注册指示;The device according to any one of claims 33 to 41, wherein the first message further includes an emergency registration indication;所述紧急注册指示用于指示所述中继终端为未鉴权终端,或,用于指示所述中继终端发起的注册过程为紧急注册。The emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
- 根据权利要求42所述的装置,其特征在于,所述装置还包括:The device according to claim 42, further comprising:注册模块,用于在鉴权失败的情况下,执行紧急注册;A registration module, configured to perform emergency registration in case of authentication failure;或,所述注册模块,用于在所述中继终端处于禁区的情况下,执行所述紧急注册;Or, the registration module is configured to perform the emergency registration when the relay terminal is in a restricted area;或,所述注册模块,用于在所述中继终端未插入有效用户识别SIM卡的情况下,执行所述紧急注册。Or, the registration module is configured to perform the emergency registration when the relay terminal is not inserted with a valid subscriber identification SIM card.
- 根据权利要求33至41任一所述的装置,其特征在于,Apparatus according to any one of claims 33 to 41 wherein,所述第一发送模块,用于在所述中继终端进入紧急注册状态的情况下,向远端终端发送状态变化指示,所述状态变化指示用于指示所述中继终端进入紧急注册状态。The first sending module is configured to send a state change indication to a remote terminal when the relay terminal enters an emergency registration state, where the state change indication is used to instruct the relay terminal to enter an emergency registration state.
- 根据权利要求44所述的装置,其特征在于,所述装置还包括:The device according to claim 44, further comprising:状态模块,用于在所述中继终端移动至禁区的情况下,确定所述中继终端的状态变为所述紧急注册状态;A state module, configured to determine that the state of the relay terminal has changed to the emergency registration state when the relay terminal moves to a restricted area;或,状态模块,用于在网络侧重新鉴权导致鉴权失败的情况下,确定所述中继终端的状态变为所述紧急注册状态。Or, a state module, configured to determine that the state of the relay terminal has changed to the emergency registration state when the re-authentication on the network side results in an authentication failure.
- 根据权利要求44所述的装置,其特征在于,所述装置还包括:The device according to claim 44, further comprising:第一接收模块,用于接收核心网网元发送的终端配置指令,所述终端配置指令用于指示所述中继终端进入所述紧急注册状态,所述终端配置指令是所述核心网网元在确定所述中继终端移动至禁区的情况下发送的。The first receiving module is configured to receive a terminal configuration instruction sent by a core network element, the terminal configuration instruction is used to instruct the relay terminal to enter the emergency registration state, and the terminal configuration instruction is sent by the core network element when it is determined that the relay terminal moves to a restricted area.
- 根据权利要求44所述的装置,其特征在于,所述装置还包括:The device according to claim 44, further comprising:第一接收模块,用于接收核心网网元发送的认证拒绝指令,所述认证拒绝指令用于指示所述中继终端进入所述紧急注册状态,所述认证拒绝指令是所述核心网网元在重新鉴权导致的鉴权失败的情况下发送的。The first receiving module is configured to receive an authentication rejection instruction sent by a network element of the core network, where the authentication rejection instruction is used to instruct the relay terminal to enter the emergency registration state, and the authentication rejection instruction is sent by the core network element when authentication fails due to re-authentication.
- 根据权利要求44所述的装置,其特征在于,所述装置还包括:The device according to claim 44, further comprising:第一连接模块,用于与所述远端终端建立连接。A first connection module, configured to establish a connection with the remote terminal.
- 根据权利要求44所述的装置,其特征在于,所述装置还包括:The device according to claim 44, further comprising:第一接收模块,用于接收所述远端终端发送的连接释放指示;A first receiving module, configured to receive a connection release indication sent by the remote terminal;第一连接模块,用于释放与所述远端终端的连接。The first connection module is configured to release the connection with the remote terminal.
- 一种紧急业务的提供装置,其特征在于,所述装置用于实现远端终端,所述装置包括:A device for providing emergency services, characterized in that the device is used to implement a remote terminal, and the device includes:第二接收模块,用于接收中继终端发送的第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务;The second receiving module is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;第二连接模块,用于在存在紧急业务需求的情况下,与所述中继终端建立连接,所述中继终端是根据所述第一紧急业务指示确定出的。The second connection module is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
- 根据权利要求50所述的装置,其特征在于,所述第一消息包括中继发现宣告消息;The device according to claim 50, wherein the first message includes a relay discovery announcement message;所述第二接收模块,用于接收所述中继终端广播的所述中继发现宣告消息。The second receiving module is configured to receive the relay discovery announcement message broadcast by the relay terminal.
- 根据权利要求50所述的装置,其特征在于,所述第一消息包括中继发现响应消息。The apparatus according to claim 50, wherein the first message comprises a relay discovery response message.
- 根据权利要求52所述的装置,其特征在于,所述中继发现响应消息是在所述中继终 端支持所述紧急业务的情况下发送的,所述装置还包括:The device according to claim 52, wherein the relay discovery response message is sent when the relay terminal supports the emergency service, and the device further comprises:第二发送模块,用于向所述中继终端发送中继发现请求消息,所述中继发现请求消息包括第二紧急业务指示,所述第二紧急业务指示用于指示所述远端终端存在紧急业务需求。The second sending module is configured to send a relay discovery request message to the relay terminal, where the relay discovery request message includes a second emergency service indication, and the second emergency service indication is used to indicate that the remote terminal has an emergency service demand.
- 根据权利要求51所述的装置,其特征在于,所述中继终端为宣告者;The device according to claim 51, wherein the relay terminal is an announcer;所述中继发现宣告消息还包括宣告者信息,所述宣告者信息包括所述中继终端的信息。The relay discovery announcement message further includes announcer information, and the announcer information includes information about the relay terminal.
- 根据权利要求52或53所述的装置,其特征在于,所述中继终端为被发现者;The device according to claim 52 or 53, wherein the relay terminal is the discovered person;所述中继发现响应消息还包括被发现者信息,所述被发现者信息包括所述中继终端的信息。The relay discovery response message further includes the information of the discovered person, and the information of the discovered person includes the information of the relay terminal.
- 根据权利要求53所述的装置,其特征在于,所述远端终端为发现者;The device according to claim 53, wherein the remote terminal is a discoverer;所述中继发现请求消息还包括发现者信息,所述发现者信息包括所述远端终端的信息。The relay discovery request message further includes discoverer information, and the discoverer information includes the information of the remote terminal.
- 根据权利要求53所述的装置,其特征在于,所述装置还包括:The device according to claim 53, further comprising:第二分配模块,用于为所述中继发现请求消息分配第二源层二地址和/或第二目的层二地址;A second allocation module, configured to allocate a second source layer 2 address and/or a second destination layer 2 address for the relay discovery request message;其中,所述第二目的层二地址为全1,或,所述第二目的层二地址为全0,或,所述第二目的层二地址为任一层二地址。Wherein, the second destination layer 2 address is all 1s, or, the second destination layer 2 address is all 0s, or, the second destination layer 2 address is any layer 2 address.
- 根据权利要求50至57任一所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 50 to 57, wherein the device further comprises:选择模块,用于在存在紧急业务需求的情况下,根据所述第一紧急业务指示选择支持所述紧急业务的所述中继终端;A selection module, configured to select the relay terminal supporting the emergency service according to the first emergency service indication when there is an emergency service demand;所述第二连接模块,用于与所述中继终端建立连接。The second connection module is configured to establish a connection with the relay terminal.
- 根据权利要求50至58任一所述的装置,其特征在于,所述第一消息还包括紧急注册指示;The device according to any one of claims 50 to 58, wherein the first message further includes an emergency registration indication;所述紧急注册指示用于指示所述中继终端为未鉴权终端,或,用于指示所述中继终端发起的注册过程为紧急注册。The emergency registration indication is used to indicate that the relay terminal is an unauthenticated terminal, or is used to indicate that the registration process initiated by the relay terminal is an emergency registration.
- 根据权利要求59所述的装置,其特征在于,选择模块,用于在存在紧急业务需求的情况下,根据所述第一紧急业务指示和所述紧急注册指示选择支持所述紧急业务的所述中继终端;The device according to claim 59, wherein the selection module is configured to select the relay terminal supporting the emergency service according to the first emergency service indication and the emergency registration indication when there is an emergency service demand;所述第二连接模块,用于与所述中继终端建立连接。The second connection module is configured to establish a connection with the relay terminal.
- 根据权利要求50至58任一所述的装置,其特征在于,Apparatus according to any one of claims 50 to 58 wherein,第二接收模块,用于接收所述中继终端发送的状态变化指示,所述状态变化指示用于指示所述中继终端进入紧急注册状态。The second receiving module is configured to receive a state change indication sent by the relay terminal, where the state change indication is used to instruct the relay terminal to enter an emergency registration state.
- 根据权利要求61所述的装置,其特征在于,所述状态变化指示是所述中继终端在所述中继终端移动至禁区的情况下发送的;The device according to claim 61, wherein the state change indication is sent by the relay terminal when the relay terminal moves to a restricted area;或,所述状态变化指示是所述中继终端在网络侧重新鉴权导致鉴权失败的情况下发送的。Or, the state change indication is sent by the relay terminal when the network side re-authentication results in authentication failure.
- 根据权利要求61所述的装置,其特征在于,The apparatus of claim 61 wherein,所述第二连接模块,用于根据所述状态变化指示确定是否保持与所述中继终端的连接。The second connection module is configured to determine whether to maintain the connection with the relay terminal according to the state change indication.
- 根据权利要求61所述的装置,其特征在于,所述装置还包括:The device according to claim 61, further comprising:第二发送模块,用于根据所述状态变化指示,向所述中继终端发送连接释放指令;A second sending module, configured to send a connection release instruction to the relay terminal according to the state change indication;所述第二连接模块,用于释放与所述中继终端的连接。The second connection module is configured to release the connection with the relay terminal.
- 一种终端设备,其特征在于,所述终端设备包括收发器;A terminal device, characterized in that the terminal device includes a transceiver;所述收发器,用于发送第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示;The transceiver is configured to send a first message, where the first message includes a relay service code RSC and a first emergency service indication;其中,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务。Wherein, the first emergency service indication is used to instruct the RSC to support the emergency service.
- 一种终端设备,其特征在于,所述终端设备包括收发器和与所述收发器相连的处理器;A terminal device, characterized in that the terminal device includes a transceiver and a processor connected to the transceiver;所述收发器,用于接收中继终端发送的第一消息,所述第一消息包括中继服务码RSC和第一紧急业务指示,所述第一紧急业务指示用于指示所述RSC支持所述紧急业务;The transceiver is configured to receive a first message sent by a relay terminal, where the first message includes a relay service code RSC and a first emergency service indication, where the first emergency service indication is used to indicate that the RSC supports the emergency service;所述处理器,用于在存在紧急业务需求的情况下,与所述中继终端建立连接,所述中继终端是根据所述第一紧急业务指示确定出的。The processor is configured to establish a connection with the relay terminal when there is an emergency service demand, and the relay terminal is determined according to the first emergency service indication.
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现如权利要求1至17任一项所述的紧急业务的提供方法,或者如权利要求18至32任一项所述的紧急业务的提供方法。A computer-readable storage medium, wherein a computer program is stored in the storage medium, and the computer program is used to be executed by a processor to implement the method for providing emergency services according to any one of claims 1 to 17, or the method for providing emergency services according to any one of claims 18 to 32.
- 一种芯片,其特征在于,所述芯片包括可编程逻辑电路和/或程序指令,当所述芯片运行时,用于实现如权利要求1至17任一项所述的紧急业务的提供方法,或者如权利要求18至32任一项所述的紧急业务的提供方法。A chip, characterized in that the chip includes a programmable logic circuit and/or program instructions, and when the chip is running, it is used to implement the method for providing emergency services according to any one of claims 1 to 17, or the method for providing emergency services according to any one of claims 18 to 32.
- 一种计算机程序产品或计算机程序,其特征在于,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,处理器从所述计算机可读存储介质读取并执行所述计算机指令,以实现如权利要求1至17任一项所述的紧急业务的提供方法,或者如权利要求18至32任一项所述的紧急业务的提供方法。A computer program product or computer program, characterized in that the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and the processor reads and executes the computer instructions from the computer-readable storage medium, so as to realize the method for providing emergency services according to any one of claims 1 to 17, or the method for providing emergency services according to any one of claims 18 to 32.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2022/072471 WO2023137579A1 (en) | 2022-01-18 | 2022-01-18 | Emergency service providing method and apparatus, device, and storage medium |
CN202280077185.9A CN118235448A (en) | 2022-01-18 | 2022-01-18 | Emergency service providing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2022/072471 WO2023137579A1 (en) | 2022-01-18 | 2022-01-18 | Emergency service providing method and apparatus, device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023137579A1 true WO2023137579A1 (en) | 2023-07-27 |
Family
ID=87347559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/072471 WO2023137579A1 (en) | 2022-01-18 | 2022-01-18 | Emergency service providing method and apparatus, device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN118235448A (en) |
WO (1) | WO2023137579A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109819428A (en) * | 2017-11-20 | 2019-05-28 | 华为技术有限公司 | The method and apparatus of processing business |
US20190230723A1 (en) * | 2016-09-05 | 2019-07-25 | Lg Electronics Inc. | Method for performing service request procedure in wireless communication system and device therefor |
WO2021146685A1 (en) * | 2020-01-19 | 2021-07-22 | Talebi Fard Peyman | Relay node selection |
US20210282195A1 (en) * | 2020-03-06 | 2021-09-09 | Qualcomm Incorporated | Layer 2 relay unicast link setup |
US20210289391A1 (en) * | 2020-03-13 | 2021-09-16 | Qualcomm Incorporated | Quality of service support for sidelink relay service |
-
2022
- 2022-01-18 WO PCT/CN2022/072471 patent/WO2023137579A1/en active Application Filing
- 2022-01-18 CN CN202280077185.9A patent/CN118235448A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190230723A1 (en) * | 2016-09-05 | 2019-07-25 | Lg Electronics Inc. | Method for performing service request procedure in wireless communication system and device therefor |
CN109819428A (en) * | 2017-11-20 | 2019-05-28 | 华为技术有限公司 | The method and apparatus of processing business |
WO2021146685A1 (en) * | 2020-01-19 | 2021-07-22 | Talebi Fard Peyman | Relay node selection |
US20210282195A1 (en) * | 2020-03-06 | 2021-09-09 | Qualcomm Incorporated | Layer 2 relay unicast link setup |
US20210289391A1 (en) * | 2020-03-13 | 2021-09-16 | Qualcomm Incorporated | Quality of service support for sidelink relay service |
Also Published As
Publication number | Publication date |
---|---|
CN118235448A (en) | 2024-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6813673B2 (en) | Message sending method and device | |
EP3965440A1 (en) | Sidelink communication method and apparatus, and storage medium | |
US11758002B2 (en) | Session processing method, apparatus, and system | |
WO2018201506A1 (en) | Communication method and related device | |
KR102469973B1 (en) | Communication method and device | |
WO2020150876A1 (en) | Session establishment method, terminal device, and network device | |
KR20220044341A (en) | Method and device for determining security protection mode | |
US20230371111A1 (en) | Communication method, apparatus, and system | |
CN109845389B (en) | Communication method and device | |
US20230156833A1 (en) | Packet Forwarding Method, Apparatus, and System | |
EP4109975A1 (en) | Communication related to network slice | |
EP4156795A1 (en) | Network slice rejection at tai and amf level | |
US20220070967A1 (en) | Communications method, apparatus, and system | |
US20240155418A1 (en) | Method and apparatus for connecting qos flow based terminal in wireless communication system | |
TWI836707B (en) | Method for cross-sim calling using network slice with qos and user equipment | |
WO2023207357A1 (en) | Communication method and communication apparatus | |
WO2023137579A1 (en) | Emergency service providing method and apparatus, device, and storage medium | |
WO2021042381A1 (en) | Communication method, apparatus and system | |
KR20210105197A (en) | Method and apparatus for supporing quality of service in a wireless communication system | |
WO2023184193A1 (en) | Wireless communication methods and apparatus, device, storage medium and program product | |
WO2023125259A1 (en) | Network function creation method and communication device | |
WO2024016173A1 (en) | Relay bearer configuration determination method and apparatus, device, and storage medium | |
WO2023164849A9 (en) | Wireless communication method and apparatus, and device, storage medium and program product | |
WO2023142887A1 (en) | Communication method and communication apparatus | |
WO2024074148A1 (en) | Communication method, apparatus, and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22921029 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202280077185.9 Country of ref document: CN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |