Generation method and analysis method for discovery message and device
View Patent ↗A generation method and apparatus and an analysis method for a discovery message are provided. The generation method is performed by a first User Equipment (UE), and includes: generating message content through at least one layer of a PC5-S layer and a PC5-Radio Resource Control (RRC) layer; and packaging the message content as the discovery message through the PC5-S layer.
1 . A generation method for a discovery message, wherein the method is performed by a first User Equipment (UE), and the method comprises:
generating message content through at least one layer of a PC5-S layer or a PC5-Radio Resource Control (RRC) layer; and
packaging the message content as the discovery message through the PC5-S layer, wherein
the generating message content through at least one layer of a PC5-S layer or a PC5-RRC layer comprises:
generating first message content through the PC5-S layer, wherein the first message content carries a first relaying-terminal-selection condition; and
generating second message content through the PC5-RRC layer, wherein the second message content carries a second relaying-terminal-selection condition:
the packaging the message content as the discovery message through the PC5-S layer comprises:
packaging the second message content in a PC5-RRC container through the PC5-RRC layer and transmitting the PC5-RRC container to the PC5-S layer; and
packaging the PC5-RRC container and the first message content as a third discovery message through the PC5-S layer:
wherein the first relaying-terminal-selection condition is a relaying-terminal-selection condition commonly used for layer-two relays and layer-three relays, and the relaying-terminal-selection condition is configured for a peer terminal of the first UE to perform a relaying selection;
or,
the generating message content through at least one layer of a PC5-S layer or a PC5-RRC layer, comprises:
generating second message content through the PC5-RRC layer, wherein the second message content carries a second relaying-terminal-selection condition;
the packaging the message content as the discovery message through the PC5-S layer, comprises:
packaging the second message content in a PC5-RRC container through the PC5-RRC layer and transmitting the PC5-RRC container to the PC5-S layer; and
packaging the PC5-RRC container as a second discovery message through the PC5-S layer;
wherein the second relaying-terminal-selection condition is a relaying-terminal-selection condition specially used for layer-two relays, and the relaying-terminal-selection condition is configured for the peer terminal of the first UE to perform a relaying selection.
2 . The method according to claim 1 , wherein the first message content and the second message content correspond to different layer-two identifiers.
3 . The method according to claim 1 , wherein the packaging the second message content in a PC5-RRC container through the PC5-RRC layer and transmitting the PC5-RRC container to the PC5-S layer, comprises:
packaging the second message content in the PC5-RRC container through the PC5-RRC layer and cutting the PC5-RRC container into at least two container fragments; and
transmitting the container fragments to the PC5-S layer through the PC5-RRC layer.
4 . The method according to claim 3 , wherein the transmitting the container fragments to the PC5-S layer through the PC5-RRC layer, comprises:
numbering the container fragments through the PC5-RRC layer; and
transmitting the container fragments carrying corresponding numbers to the PC5-S layer through the PC5-RRC layer.
5 . The method according to claim 4 , further comprising:
receiving, through a Physical Sidelink Feedback Channel (PSFCH), retransmission-indicating information fed back by a second UE, wherein the retransmission-indicating information carries a number corresponding to at least one of the container fragments; and
transmitting a fourth discovery message to the second UE through the PC5-S layer, wherein the at least one of the container fragments corresponding to the number is packaged in the fourth discovery message; and
wherein the second UE is the peer terminal of the first UE.
6 . The method according to claim 1 , wherein the first relaying-terminal-selection condition comprises at least one of:
a serving-cell identification;
a Public Land Mobile Network (PLMN) identification;
a supported-relaying-type indication;
a load condition indication;
a non-serving-cell identification; or
an inter-PLMN identification.
7 . The method according to claim 1 , wherein the second relaying-terminal-selection condition comprises at least one of:
a serving-cell identification;
a PLMN identification;
a supported-relaying-type indication;
a load condition indication;
a non-serving-cell identification; or
an inter-PLMN identification.
8 . The method according to claim 1 , further comprising:
broadcasting the discovery message through the PC5-S layer.
9 . The method according to claim 1 , wherein
the discovery message carrying a PC5-RRC container and the discovery message not carrying a PC5-RRC container correspond to different Sidelink-Single Radio Bearers (SL-SRBs); or
the discovery message packaged from the message content directly generated by the PC5-S layer and the discovery message packaged from the message content directly generated by the PC5-RRC layer correspond to different SL-SRBs.
10 . The method according to claim 1 , wherein
the discovery message carrying a PC5-RRC container and the discovery message not carrying a PC5-RRC container correspond to different transmitting-resource pools; or
the discovery message packaged from the message content directly generated by the PC5-S layer and the discovery message packaged from the message content directly generated by the PC5-RRC layer correspond to different transmitting-resource pools.
11 . An analysis method for a discovery message, wherein the method is performed by a second User Equipment (UE), and the method comprises:
receiving, through a PC5-S layer, the discovery message broadcast by a first UE; and
analyzing the discovery message through at least one layer of the PC5-S layer or a PC5-Radio Resource Control (RRC) layer,
wherein the analyzing the discovery message through at least one layer of the PC5-S layer or a PC5-RRC layer, comprises:
analyzing a first discovery message through the PC5-S layer and obtaining first message content, wherein the first message content carries a first relaying-terminal-selection condition,
wherein the first relaying-terminal-selection condition is a relaying-terminal-selection condition commonly used for layer-two relays and layer-three relays, and the relaying-terminal-selection condition is configured for a peer terminal of the second UE to perform a relaying selection;
or,
the analyzing the discovery message through at least one layer of the PC5-S layer or a PC5-RRC layer comprises:
analyzing a second discovery message through the PC5-S layer, obtaining a PC5-RRC container, and transmitting the PC5-RRC container to the PC5-RRC layer; and
analyzing the PC5-RRC container through the PC5-RRC layer and obtaining second message content, wherein the second message content carries a second relaying-terminal-selection condition,
wherein the second relaying-terminal-selection condition is a relaying-terminal-selection condition specially used for layer-two relays and the relaying-terminal-selection condition is configured for the peer terminal of the second UE to perform a relaying selection.
12 . The method according to claim 11 , wherein the PC5-RRC container comprises at least two container fragments; and the transmitting the PC5-RRC container to the PC5-RRC layer, comprises:
assembling the container fragments into the PC5-RRC container through the PC5-S layer and transmitting the PC5-RRC container to the PC5-RRC layer.
13 . The method according to claim 11 , wherein the first relaying-terminal-selection condition comprises at least one of:
a serving-cell identification;
a Public Land Mobile Network (PLMN) identification;
a supported-relaying-type indication;
a load condition indication;
a non-serving-cell identification; or
an inter-PLMN identification.
14 . The method according to claim 11 , wherein the second relaying-terminal-selection condition comprises at least one of:
a serving-cell identification;
a PLMN identification;
a supported-relaying-type indication;
a load condition indication;
a non-serving-cell identification; or
an inter-PLMN identification.
15 . A User Equipment (UE), wherein the UE comprises a processor;
the processor is configured to generate message content through at least one layer of a PC5-S layer or a PC5-Radio Resource Control (RRC) layer; and
the processor is configured to package the message content as a discovery message through the PC5-S layer,
wherein the processor is further configured to:
generate first message content through the PC5-S layer wherein the first message content carries a first relaying-terminal-selection condition;
generate second message content through the PC5-RRC layer, wherein the second message content carries a second relaying-terminal-selection condition;
package the second message content in a PC5-RRC container through the PC5-RRC layer and transmitting the PC5-RRC container to the PC5-S layer; and
package the PC5-RRC container and the first message content as a third discovery message through the PC5-S layer:
wherein the first relaying-terminal-selection condition is a relaying-terminal-selection condition commonly used for layer-two relays and layer-three relays, and the relaying-terminal-selection condition is configured for a peer terminal of the UE to perform a relaying selection;
or,
the processor is further configured to:
generate second message content through the PC5-RRC layer, wherein the second message content carries a second relaying-terminal-selection condition;
package the second message content in a PC5-RRC container through the PC5-RRC layer and transmitting the PC5-RRC container to the PC5-S layer; and
package the PC5-RRC container as a second discovery message through the PC5-S layer;
wherein the second relaying-terminal-selection condition is a relaying-terminal-selection condition specially used for layer-two relays, and the relaying-terminal-selection condition is configured for the peer terminal of the UE to perform a relaying selection.