Method and electronic device for session establishment, and storage medium
View Patent ↗A session establishment method, including: determining, by an electronic device, Relay Service Code (RSC) information; and determining, based on the RSC information, parameter information used to establish a relay session. An electronic device and a non-transitory storage medium are further provided.
1 . A method for session establishment, comprising:
receiving, by a relay device, Relay Service Code (RSC) information sent by a remote device during establishment of a PC5 connection; and
determining, based on the RSC information, parameter information used to establish a relay session,
wherein the parameter information of the relay session comprises a Protocol Data Unit (PDU) session type; and
determining, based on the RSC information, the parameter information used to establish the relay session comprises:
determining, by the relay device according to a pre-configured rule, the parameter information used to establish the relay session corresponding to the RSC information,
wherein the parameter information of the relay session further comprises network slice information and Data Network Name (DNN) information, the network slice information and the DNN information are determined respectively according to highest Nbit information and next highest Mbit information in the RSC information, wherein N and M are positive integers greater than or equal to 1.
2 . The method of claim 1 , wherein the relay device establishes a connection with the remote device through a sidelink.
3 . The method of claim 1 , wherein the pre-configured rule comprises at least one of:
a first number of bits of information in the RSC information corresponding to the first network slice information in the parameter information used to establish the relay session;
a second number of bits of information in the RSC information corresponding to the DNN information in the parameter information used to establish the relay session;
a third number of bits of information in the RSC information corresponding to Session Service Continuity (SSC) information in the parameter information used to establish the relay session; or
a fourth number of bits of information in the RSC information corresponding to the PDU session type in the parameter information used to establish the relay session.
4 . The method of claim 3 , wherein a format of the RSC information is predetermined by a protocol, or configured through subscription information, or configured by a Public Land Mobile Network (PLMN).
5 . The method of claim 1 , wherein the pre-configured rule comprises at least one of:
RSC information configured in a service description information field of a User Equipment Routing Selection Policy (URSP) rule; or
the parameter information used to establish the relay session configured in a route selection descriptor.
6 . A relay device, comprising: a processor, a transceiver, and a memory configured to store a computer program executable by the processor,
wherein the processor is configured to perform operations of:
controlling the transceiver to receive Relay Service Code (RSC) information sent by a remote device during establishment of a PC5 connection; and
determining, based on the RSC information, parameter information used to establish a relay session,
wherein the parameter information of the relay session comprises a Protocol Data Unit (PDU) session type; and
determining, based on the RSC information, the parameter information used to establish the relay session comprises:
determining, by the relay device according to a pre-configured rule, the parameter information used to establish the relay session corresponding to the RSC information,
wherein the parameter information of the relay session further comprises network slice information and Data Network Name (DNN) information, the network slice information and the DNN information are determined respectively according to highest Nbit information and next highest Mbit information in the RSC information, wherein N and M are positive integers greater than or equal to 1.
7 . The relay device of claim 6 , wherein the processor establishes a connection with the remote device through a sidelink.
8 . The relay device of claim 6 , wherein the pre-configured rule comprises at least one of:
a first number of bits of information in the RSC information corresponding to the network slice information in the parameter information used to establish the relay session;
a second number of bits of information in the RSC information corresponding to the DNN information in the parameter information used to establish the relay session;
a third number of bits of information in the RSC information corresponding to Session Service Continuity (SSC) information in the parameter information used to establish the relay session; or
a fourth number of bits of information in the RSC information corresponding to the PDU session type in the parameter information used to establish the relay session.
9 . The relay device of claim 8 , wherein a format of the RSC information is predetermined by a protocol, or configured through subscription information, or configured by a Public Land Mobile Network (PLMN).
10 . The relay device of claim 6 , wherein the pre-configured rule comprises at least one of:
RSC information configured in a service description information field of a User Equipment Routing Selection Policy (URSP) rule; or
the parameter information used to establish the relay session configured in a route selection descriptor.
11 . A non-transitory storage medium having stored thereon computer-executable instructions that, when executed by a processor of a relay device, cause the processor to perform operations of:
receive Relay Service Code (RSC) information sent by a remote device during establishment of a PC5 connection; and
determining, based on the RSC information, parameter information used to establish a relay session,
wherein the parameter information of the relay session comprises a Protocol Data Unit (PDU) session type; and
determining, based on the RSC information, the parameter information used to establish the relay session comprises:
determining, by the relay device according to a pre-configured rule, the parameter information used to establish the relay session corresponding to the RSC information,
wherein the parameter information of the relay session further comprises network slice information and Data Network Name (DNN) information, the network slice information and the DNN information are determined respectively according to highest Nbit information and next highest Mbit information in the RSC information, wherein N and M are positive integers greater than or equal to 1.
12 . The non-transitory storage medium of claim 11 , wherein the relay device establishes a connection with the remote device through a sidelink.
13 . The non-transitory storage medium of claim 11 , wherein the pre-configured rule comprises at least one of:
a first number of bits of information in the RSC information corresponding to the network slice information in the parameter information used to establish the relay session;
a second number of bits of information in the RSC information corresponding to the DNN information in the parameter information used to establish the relay session;
a third number of bits of information in the RSC information corresponding to Session Service Continuity (SSC) information in the parameter information used to establish the relay session; or
a fourth number of bits of information in the RSC information corresponding to the PDU session type in the parameter information used to establish the relay session.
14 . The non-transitory storage medium of claim 13 , wherein a format of the RSC information is predetermined by a protocol, or configured through subscription information, or configured by a Public Land Mobile Network (PLMN).
15 . The non-transitory storage medium of claim 11 , wherein the pre-configured rule comprises at least one of:
RSC information configured in a service description information field of a User Equipment Routing Selection Policy (URSP) rule; or
the parameter information used to establish the relay session configured in a route selection descriptor.
16 . The method of claim 1 , wherein the parameter information of the relay session further comprises Session Service Continuity (SSC) information.
17 . The relay device of claim 6 , wherein the parameter information of the relay session further comprises Session Service Continuity (SSC) information.
18 . The non-transitory storage medium of claim 11 , wherein the parameter information of the relay session further comprises Session Service Continuity (SSC) information.