A message transmission method and terminal

By transmitting discovery messages between the upper layer and the MAC layer or through a logical channel, and prioritizing them based on their use for public safety and logical channel carrying, the problem of poor terminal discovery performance is solved, and the priority processing of important messages and the overall performance of the communication system are improved.

CN116528210BActive Publication Date: 2026-03-03VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-06
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing communication systems, terminal discovery is ineffective and the transmission of discovery messages cannot be achieved efficiently.

Method used

Discovery messages are transmitted between the upper layer and the MAC layer or through a logical channel. Their priority is determined based on whether the message is used for public safety and the logical channel bearer, and then the transmission is processed according to the priority.

Benefits of technology

It improves terminal discovery, ensures priority sending or receiving of important messages, and enhances the overall performance of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116528210B_ABST
    Figure CN116528210B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a message transmission method and terminal, the method comprises the following steps: transmitting a first discovery message of SL; wherein, the first discovery message is transmitted between an upper layer and a MAC layer in a transparent mode, and the priority of the first discovery message is determined according to whether the first discovery message is used for public safety; or the first discovery message is transmitted between the upper layer and the MAC layer through a logical channel, and the priority of the first discovery message is determined according to the logical channel and / or a corresponding bearer. Since the discovery message is supported and the priorities of various messages can be defined, the terminal can preferentially transmit or receive important messages, thereby improving the communication performance of the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a message transmission method and terminal. Background Technology

[0002] Current communication systems support sidelink (SL) communication, in which terminals can directly transmit data. Some communication systems also plan to introduce discovery messages, which can be used to discover devices, such as a terminal finding nearby terminals that can be directly connected. However, some related technologies only plan to introduce discovery messages but cannot yet implement their transmission, resulting in poor terminal discovery performance. Summary of the Invention

[0003] This invention provides a message transmission method and a terminal to address the problem of poor terminal discovery performance.

[0004] In a first aspect, embodiments of the present invention provide a message transmission method, applied to a terminal, comprising:

[0005] Transmit the first discovery message of SL;

[0006] The first discovery message is transparently transmitted between the upper layer and the Media Access Control (MAC) layer, and the priority of the first discovery message is determined based on whether the first discovery message is used for public safety; or

[0007] The first discovery message is transmitted between the upper layer and the MAC layer via a logical channel, and the priority of the first discovery message is determined based on the logical channel and / or the corresponding bearer.

[0008] Secondly, embodiments of the present invention provide a message transmission method applied to a terminal, comprising:

[0009] The priorities of UL messages and SL messages are determined based on the first and second threshold values.

[0010] The UL message and the SL message are processed for transmission according to their priorities.

[0011] Thirdly, embodiments of the present invention provide a terminal, including:

[0012] The transmission module is used to transmit the first discovery message of SL;

[0013] The first discovery message is transmitted between the upper layer and the MAC layer, and the priority of the first discovery message is determined based on whether the first discovery message is used for public safety; or

[0014] The first discovery message is transmitted between the upper layer and the MAC layer via a logical channel, and the priority of the first discovery message is determined based on the logical channel and / or the corresponding bearer.

[0015] Fourthly, embodiments of the present invention provide a terminal, including:

[0016] The determination module is used to determine the priority of UL messages and SL messages based on the first threshold value and the second threshold value;

[0017] The processing module is used to perform transmission processing on the UL message and the SL message according to their priorities.

[0018] Fifthly, embodiments of the present invention provide a terminal, including: a memory, a processor, and a program stored in the memory and executable on the processor. When the program is executed by the processor, it implements the steps in the message transmission method provided in the first aspect above, or, when the program is executed by the processor, it implements the steps in the message transmission method provided in the second aspect above.

[0019] In a sixth aspect, embodiments of the present invention provide a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps in the message transmission method provided in the first aspect, or when the computer program is executed by a processor, it implements the steps in the message transmission method provided in the second aspect.

[0020] In this embodiment of the invention, a first discovery message of the SL is transmitted; wherein, the first discovery message is transparently transmitted between the upper layer and the MAC layer, and the priority of the first discovery message is determined based on whether the first discovery message is used for public safety; or the first discovery message is transmitted between the upper layer and the MAC layer through a logical channel, and the priority of the first discovery message is determined based on the logical channel and / or the corresponding bearer. By supporting discovery messages, the discovery effect of the terminal is improved. Attached Figure Description

[0021] Figure 1 This is a structural diagram of a network system applicable to an embodiment of the present invention;

[0022] Figure 2 This is a flowchart of a message transmission method provided in an embodiment of the present invention;

[0023] Figure 3 This is a flowchart of another message transmission method provided in an embodiment of the present invention;

[0024] Figure 4 This is a structural diagram of a terminal provided in an embodiment of the present invention;

[0025] Figure 5 This is a structural diagram of another terminal provided in an embodiment of the present invention;

[0026] Figure 6 This is a structural diagram of another terminal provided in an embodiment of the present invention. Detailed Implementation

[0027] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0028] The term "comprising," and any variations thereof, used in the specification and claims of this application, is intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or apparatus. Furthermore, the use of "and / or" in the specification and claims indicates at least one of the connected objects, such as A and / or B, indicating the inclusion of A alone, B alone, or both A and B.

[0029] In embodiments of the present invention, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in embodiments of the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0030] The embodiments of the present invention are described below with reference to the accompanying drawings. The message transmission method and terminal provided in the embodiments of the present invention can be applied to a wireless communication system. The wireless communication system can be a 5G system, an Evolved Long Term Evolution (eLTE) system, a Long Term Evolution (LTE) system, or a subsequent evolution communication system, etc.

[0031] Please see Figure 1 , Figure 1 This is a structural diagram of a network system applicable to an embodiment of the present invention, such as... Figure 1 As shown, the system includes terminal 11, terminal 12, and control node 13. Terminal 11 and terminal 12 can communicate via a PC5 interface using sidelin (SL). Control node 13 and the terminals (including terminals 11 and 12) can communicate via an air interface using uplink and downlink. Terminal 11 and terminal 12 can be user equipment (UE) or other terminal-side devices, such as mobile phones, tablet computers, laptop computers, personal digital assistants (PDAs), mobile internet devices (MIDs), wearable devices, smart cars, in-vehicle devices, or robots. It should be noted that the specific type of terminal is not limited in this embodiment of the invention. The aforementioned control node 13 can be a network device, such as a 4G base station, a 5G base station, a later version of a base station, or a base station in other communication systems, or referred to as a node B, evolved node B, transmission reception point (TRP), access point (AP), or other terms in the field, as long as the same technical effect is achieved. The network device is not limited to specific technical terms. Alternatively, the aforementioned control node 13 can be some integrated access backhaul (IAB), or some sidelink terminals, relays, road side units (RSUs), or other network facilities similar to RSUs or IABs.

[0032] Please see Figure 2 , Figure 2This is a flowchart of a message transmission method provided in an embodiment of the present invention. This method is applied to a terminal, such as... Figure 2 As shown, it includes the following steps:

[0033] Step 201: Transmit the first discovery message of SL;

[0034] The first discovery message is transmitted between the upper layer and the MAC layer, and the priority of the first discovery message is determined based on whether the first discovery message is used for public safety; or

[0035] The first discovery message is transmitted between the upper layer and the MAC layer via a logical channel, and the priority of the first discovery message is determined based on the logical channel and / or the corresponding bearer.

[0036] The aforementioned transmission of the first discovery message on the SL can be either sending the first discovery message on the SL or receiving the first discovery message on the SL.

[0037] In addition, the aforementioned first discovery message can be a discovery message sent by the terminal making the discovery, or a discovery message sent by the terminal that has been discovered; such as a request for discovery, that is, the terminal sending the message uses the message to request the discovery of other devices, or an active (such as broadcast) discovery, that is, the terminal sending the message actively informs other devices.

[0038] Furthermore, the aforementioned first discovery message can be a discovery-related message, applicable to various discovery scenarios for multiple purposes. For example, it could be a message related to group discovery in Network Controlled Interactive Services (NCIS) services, group discovery in other services, relay discovery (including terminal-to-network relay and terminal-to-terminal relay), or terminal discovery. Specifically, the aforementioned first discovery message can be a discovery-related message already defined in the communication protocol, or a discovery-related message newly defined in subsequent protocol versions.

[0039] The aforementioned transmission of the first discovery message between the upper layer and the MAC layer can mean either the first discovery message is transmitted from the upper layer to the MAC layer, or vice versa. In other words, the access stratum (AS) protocol stack only includes the MAC layer and the physical layer, and the first discovery message does not have a corresponding logical channel. In this case, the priority of the first discovery message is determined based on whether it is used for public safety; for example, a discovery message used for public safety has a higher priority than a discovery message used for non-public safety.

[0040] The aforementioned transmission of the first discovery message between the upper layer and the MAC layer via a logical channel can mean that the first discovery message is transmitted from the upper layer to the MAC layer via the logical channel, or vice versa. That is, the AS layer protocol stack, in addition to the MAC layer and the physical layer, can also include a Packet Data Convergence Protocol (PDCP) layer and a RadioLink Control (RLC) layer. The logical channel can be a data logical channel, which may include a Sidelink Traffic Channel (STCH); or the logical channel can be a signaling logical channel, which may include a Sidelink Control Channel (SCCH). In this case, the priority of the first discovery message is determined based on the logical channel and / or the corresponding bearer. For example, the priority of the first discovery message follows the logical channel or the corresponding bearer, or the priority of the first discovery message is determined by the logical channel and the corresponding bearer. If the priorities of the logical channel and the corresponding bearer are inconsistent, one of the priorities is selected as the priority of the first discovery message. In addition, the aforementioned corresponding bearer can be the bearer for transmitting the aforementioned discovery message.

[0041] In addition, after the first discovery message is transmitted to the MAC layer, it can be transmitted through a physical channel, or it can be received from the physical channel and then transmitted to the MAC layer.

[0042] In this embodiment of the invention, the above steps enable the transmission of discovery messages, thereby allowing the terminal to perform discovery and improving the terminal's discovery effectiveness. Furthermore, the transmission of the first discovery message (SL) can be based on the priority of the first discovery message.

[0043] As an optional implementation, when the first discovery message is transparently transmitted between the upper layer and the MAC layer, the priority of the first discovery message is determined according to the following:

[0044] The first message of the uplink (UL) has the first priority, the first message of the SL has the second priority, and the second messages of the UL and SL have the third priority. The first priority is higher than or equal to the second priority, and the second priority is higher than the third priority.

[0045] Among them, the priority of discovery messages used for public safety is higher than or equal to the second priority, or higher than the third priority, or lower than the third priority;

[0046] Discovery messages used for non-public safety purposes have a higher or lower priority than the third priority.

[0047] The priority of discovery messages used for public safety is higher than that of discovery messages used for non-public safety.

[0048] It should be noted that the higher priority of discovery messages used for public safety compared to those used for non-public safety can mean that the priority of discovery messages used for public safety is always higher than that used for non-public safety. For example, if both the public safety and non-public safety discovery messages have a lower priority than the public safety discovery message, the non-public safety discovery message has an even lower priority. For instance, if the non-public safety discovery message has a priority of fifth, while the public safety discovery message has a priority of fourth, then the fourth priority is higher than the fifth priority.

[0049] The priority of the aforementioned discovery message for public safety may be higher than or equal to the second priority, or lower than or equal to the first priority but higher than or equal to the second priority. The priority of the aforementioned discovery message for public safety may be higher than the third priority, or lower than or equal to the second priority but higher than the third priority.

[0050] The priority of the discovery message used for non-public safety may be higher than the third priority, or lower than or equal to the second priority, but higher than the third priority.

[0051] By defining the priorities mentioned above, terminals can prioritize sending or receiving important messages, thus improving the overall performance of the communication system.

[0052] For example, the first discovery message is transparently transmitted to the MAC layer, where resource scheduling is performed before transmission via the Physical Sidelink Discovery Channel (PSDCH). The priority order of the discovery message compared to other messages may be directly configured by the network or specified in the protocol. Without considering the discovery gap (SL), a possible order is as follows:

[0053] First priority: Transmissions via Uu port RACH random access and transmissions related to emergency PDU connections.

[0054] Second priority: Non-RACH related data transmission on the Uu port, and related data transmission on the SL PC5 port (based on a comprehensive consideration of QoS for both).

[0055] Third priority: SL PC5 port discovery related message transmission.

[0056] Optionally, if the SL is configured with a discovery gap, discovery messages for public safety and discovery messages for non-public safety within the discovery gap have a higher priority than the third priority.

[0057] The aforementioned discovery gap can be the interval used for sending and receiving discovery messages.

[0058] The priority of discovery messages for public safety and discovery messages for non-public safety within the discovery gap can be higher than the third priority. This could mean that discovery messages for public safety are higher than the third priority but lower than the first or second priority. Alternatively, the priority of discovery messages for non-public safety can be the highest within the gap, with discovery messages for non-public safety being higher than the third priority but lower than the first or second priority.

[0059] In this implementation, discovery messages can be transmitted preferentially during the aforementioned discovery gap.

[0060] Optionally, the first discovery message includes indication information, which indicates whether the first discovery message is a discovery message for public safety or a discovery message for non-public safety or commercial purposes.

[0061] The aforementioned indication information can be understood as indicating the type of the first discovery message. For example, it could indicate that the first discovery message is for public safety, or that it is for non-public safety or commercial purposes. A discovery message for commercial purposes can also be classified as a discovery message for non-public safety. In other words, a discovery message for non-public safety could be one that the aforementioned indication information indicates is for non-security or commercial purposes.

[0062] Furthermore, the indication information can also be used to indicate the discovery content of the first discovery message.

[0063] The discovery content can refer to the discovery message being used for group discovery in NCIS-related services, group discovery in other services, relay discovery (including terminal-to-network relay and terminal-to-terminal relay), or terminal discovery, etc.

[0064] In this implementation, the aforementioned indication information can indicate the type and content of the first discovery message, thereby enabling the terminal to accurately determine its priority.

[0065] Optionally, the first message of the UL includes at least one of the following: the UL's random access message, the UL's emergency communication message, and the UL's first service message; the second message of the UL is any message in the UL other than the first message of the UL.

[0066] The aforementioned random access message can be a random access message of the Random Access Channel (RACH), such as msg1 or msg3 (or msgA). The aforementioned emergency communication message can be an emergency communication message defined in protocols such as the Protocol Data Unit (PDU).

[0067] The first service message mentioned above can be a message for some special services, such as messages for services like UltraReliable Low Latency Communications (URLLC), or specifically, a predefined service.

[0068] The second message in the aforementioned UL can be other services besides the first service message, such as a second service message. This second service message could be related to Enhanced Mobile Broadband (eMBB) or Massive Machine Type Communication (mMTC), etc. Furthermore, the second message in the aforementioned UL can also be UL data.

[0069] It should be noted that the message in the embodiments of the present invention can be data or signaling. Furthermore, the message priority can be the priority of the message transmission.

[0070] Optionally, the first message of the SL includes: Radio Resource Control (RRC) signaling of the SL, and the second message of the SL includes: data of the SL and at least one of PC5 signaling message of the SL; or, the first message of the SL includes: at least one of RRC signaling of the SL and PC5 signaling message of the SL, and the second message of the SL includes: data of the SL.

[0071] Among them, the aforementioned RRC signaling can be RRC-related signaling.

[0072] It should be noted that, in the embodiments of the present invention, the messages or data of UL can also be referred to as the messages or data of Uu port, and the messages or data of SL can also be referred to as the messages or data of PC5 port.

[0073] Optionally, if the first message of the SL includes the RRC signaling of the SL and the PC5 signaling message of the SL:

[0074] The RRC signaling and PC5 signaling messages of the SL are transmitted through the same signaling radio bearer (SRB), and the RRC signaling and PC5 signaling messages of the SL have the same priority; or

[0075] The RRC signaling and PC5 signaling messages of the SL are transmitted through different SRBs. The SRB for the PC5 signaling messages of the SL is configured through the RRC signaling of the SL. If the SRB for the PC5 signaling messages of the SL is established, the PC5 signaling messages of the SL are transmitted on the established SRB, and the priority of the RRC signaling of the SL is higher than the priority of the PC5 signaling messages of the SL.

[0076] For example, if there is only one SRB (such as the default SRB) on the SL PC5 of the terminal, then the SL RRC signaling and the SL PC5 signaling messages have the same priority.

[0077] If there is more than one SRB, consider placing the RRC signaling and PC5 signaling messages of the SL on different SRBs, with the priority of the SL's RRC signaling messages > the SL's PC5 signaling messages. Additionally, if the SRB used for the PC5 signaling messages of the SL is configured through the SL's RRC signaling, once the dedicated SRB for PC5 signaling messages is established, the PC5 signaling messages will be transmitted on that newly created SRB.

[0078] In this implementation, the terminal can transmit PC5 signaling messages and RRC signaling messages of SL according to their respective priorities.

[0079] It should be noted that the RRC signaling of the SRB used to configure the PC5 signaling message of the SL is not limited to the RRC signaling included in the first message of the SL. That is, it may or may not be the RRC signaling included in the first message of the SL. In other words, the SRB that can be used to configure the PC5 signaling message is not necessarily configured by the RRC signaling included in the first message of the SL. There are many types of SL RRC, and not all RRC transmitted on the SRB is used to configure the SRB.

[0080] Optionally, the third priority messages are transmitted on a Data Radio Bearer (DRB).

[0081] At least two of the messages of the third priority have different priorities;

[0082] When it is not possible to send multiple messages of the third priority at the same time, messages with higher priority are sent first, or some of the messages of the third priority are discarded first, according to the priority order.

[0083] Among them, the aforementioned third priority messages can be the second messages of SL and the second messages of UL, such as: UL data, SL data and SL PC5 signaling messages. The UL data can be data related to non-RACH random access transmission and emergency communication, which can be data depending on the quality of service (QoS).

[0084] Taking the above three as examples, since all three are transmitted on the data channel, a special Logical Channel Identifier (LCID) or QoS-related parameters can be assigned to the SL PC5 signaling message. The QoS-related parameters can include at least one of the following: Quality of Service Flow ID (QFI), PC5 QoS flow ID (PFI), and PC5 QoS identifier (PQI). The PQI may also be called VQI (V2X QoS flow ID). Thus, when the terminal cannot send all three simultaneously, it will prioritize transmitting the highest priority message or discard the lowest priority message or two of them, according to their priority order.

[0085] In this embodiment, when transmitting the aforementioned third-priority messages, the terminal can prioritize transmitting messages with higher priority or prioritize discarding some messages among the multiple third-priority messages, thereby improving the terminal's transmission performance.

[0086] Optionally, the second message of the UL and the second message of the SL have different priorities, wherein;

[0087] If the priority of the second message of the UL is lower than the first threshold, then the second message of the UL takes precedence; if the priority of the second message of the UL is not lower than the first threshold, and the priority of the second message of the SL is lower than the second threshold, then the second message of the SL takes precedence; if the priority of the second message of the UL is not lower than the first threshold, and the priority of the second message of the SL is not lower than the second threshold, then the second message of the UL takes precedence.

[0088] or,

[0089] If the priority of the second message of the SL is lower than the first threshold, then the second message of the SL takes priority; if the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is lower than the second threshold, then the second message of the UL takes priority; if the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is not lower than the second threshold, then the second message of the SL takes priority.

[0090] or,

[0091] If the priority of the second message of the SL is lower than the first threshold, and the priority of the second message of the UL is not lower than the second threshold, then the second message of the SL takes precedence; otherwise, the second message of the UL takes precedence.

[0092] or,

[0093] If the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is lower than the second threshold, then the second message of the UL takes precedence; otherwise, the second message of the SL takes precedence.

[0094] or,

[0095] In the first case, the second message of the SL takes priority; in the second case, the second message of the UL takes priority; in cases other than the first and second cases, the priority of the second message of the SL and the second message of the UL is determined by the terminal. In the first case, the priority of the second message of the SL is lower than a first threshold value, and the priority of the second message of the UL is not lower than a second threshold value; in the second case, the priority of the second message of the SL is not lower than the first threshold value, and the priority of the second message of the UL is lower than the second threshold value.

[0096] The phrase "not less than" includes "higher than or equal to".

[0097] The first and second threshold values ​​can be configured or pre-configured on the network side, and the first threshold value can be greater than the second threshold value, or vice versa. Furthermore, in the above embodiments, the first threshold value can be determined first, followed by the second threshold value. Of course, in some embodiments, both threshold values ​​can be used simultaneously. For example, if the priority of the second message in the SL is higher than the first threshold value, and the priority of the second message in the UL is lower than the second threshold value, then in the implementation where the second message of the UL has priority, both threshold values ​​can be determined simultaneously.

[0098] If the priority of the second message of the SL is lower than the first threshold, and the priority of the second message of the UL is higher than the second threshold, then the second message of the SL takes precedence. Otherwise, the priority of the second message of the UL can be determined by the following: if the priority of the second message of the SL is sufficiently high and the priority of the second message of the UL is sufficiently low, then the SL is transmitted first; otherwise, the UL is transmitted first. Specifically, a second message being lower than the first threshold indicates that the priority of the second message is sufficiently high.

[0099] If the priority of the second message of the SL is higher than the first threshold and the priority of the second message of the UL is lower than the second threshold, then the second message of the UL takes precedence. Otherwise, the priority of the second message of the SL can be: if the priority of the second message of the SL is sufficiently low and the priority of the second message of the UL is sufficiently high, then the UL is transmitted first; otherwise, the SL is transmitted first.

[0100] In cases other than the first and second scenarios, the priority of the second message of SL and the second message of UL can be determined by the terminal. If the priority of the second message of SL is high enough and the priority of the second message of UL is low enough, then SL is transmitted first. If the priority of the second message of SL is low enough and the priority of the second message of UL is high enough, then UL is transmitted first. The rest is left to the terminal to implement, that is, determined by the terminal.

[0101] It should be noted that, in this embodiment of the invention, the priority of each message can be the UL logical channel (LCH) priority, SL LCH priority, ProSe Per-Packet Priority (PPPP), QoS identifier (PC5 QoS identifier, PQI) for PC5 or QoS identifier (5G QoS identifier, 5QI) for 5G Uu, or the priority field in PQI / 5QI.

[0102] As an optional implementation, when the first discovery message is transmitted between the upper layer and the MAC layer via a control logic channel, the priority of the first discovery message is the priority of the SRB that transmits the first discovery message or the priority of the control logic channel.

[0103] The aforementioned SRB can be transmitted on a control logic channel, and this control logic channel can transmit one or more SRBs. Even if the control logic channel has only one SRB, the priority of the first discovery message can be determined by the priority of the SRB, but the priority of the SRB may be determined by the control logic channel.

[0104] In this embodiment, when the first discovery message is transmitted through the control logic channel, the priority of the discovery message is the priority of the SRB that transmits the first discovery message or the priority of the control logic channel.

[0105] For example, the first discovery message is transmitted via SCCH. In this case, Discovery-related messages and SL RRC signaling (or PC5-RRC messages) are transmitted on the SCCH. The priority of the first discovery message follows the priority of the SCCH logical channel or the corresponding SRB. For instance, since the SCCH is likely similar to the CCCH of the Uu interface, transmitting signaling messages with the highest priority (e.g., priority 1), the first discovery message also has the highest priority. Furthermore, if there are SRBs with different priorities, it's possible to further consider placing the first discovery message and PC5-RRC messages or PC5 signaling messages (PC5-S messages) (if PC5-S messages are also uploaded to the SRB) on different priority SRBs to achieve further priority subdivision.

[0106] One approach is as follows: when the control logic channel includes SRBs of different priorities, the first discovery message and the SL message can be transmitted on SRBs of different priorities of the control logic channel, and the priority of the first discovery message is the priority of the SRB that transmits the first discovery message, and the SL message includes at least one of the SL's RRC signaling and the SL's PC5 signaling message.

[0107] This allows for a more reasonable prioritization, thereby improving the transmission performance of the terminal.

[0108] As an optional implementation, in the case where the first discovery message is transmitted between the upper layer and the MAC layer via a data logic channel:

[0109] The first discovery message is assigned QoS parameters, and the terminal maps the first discovery message to the corresponding data logical channel according to the QoS parameters. The priority of the first discovery message is the priority of the DRB or the data logical channel through which the first discovery message is transmitted; or

[0110] The first discovery message is assigned an LCID, and the priority of the first discovery message is the priority of the logical channel corresponding to the LCID.

[0111] The aforementioned QoS parameters can be QoS-related parameters, such as at least one of QFI, PFI, PQI, and VQI. Furthermore, these QoS parameters can be configured by the terminal for the first discovery message, or specified by network configuration or protocol agreements.

[0112] For example, QoS-related parameters (QFI / PFI, PQI / VQI) are assigned to the first discovery message. The first discovery message is mapped to different logical channels through terminal-side QoS rules. The priority of the logical channel is compared with other data. The parameters and mapping methods in this implementation can be based on predefined methods or network configuration.

[0113] The aforementioned DRB can be transmitted on the aforementioned data logical channel, and the data logical channel can transmit one or more DRBs. Even if the data logical channel has only one DRB, the priority of the first discovery message can be determined by the priority of the DRB, but the priority of the DRB may be determined by the control logical channel.

[0114] Furthermore, the priority of the logical channel corresponding to the aforementioned LCID can also be understood as the priority of that LCID. Additionally, it can correspond to a specific type of priority; for example, assigning an LCID to the first discovery message would result in a specific type of priority for that LCID.

[0115] In addition, the priority of the first discovery message can also be found in the priority of other messages described in the previous implementation, which will not be repeated here.

[0116] As an optional implementation, when the first discovery message is transmitted between the upper layer and the MAC layer via a control logic channel, the priority of the first discovery message is determined according to the following:

[0117] The first message of UL has the first priority, the first message of SL and the first discovery message have the second priority, the second message of UL and the second message of SL have the third priority, the first priority is higher than or equal to the second priority, and the second priority is higher than the third priority;

[0118] or,

[0119] When the first discovery message is transmitted between the upper layer and the MAC layer via a data logic channel, the priority of the first discovery message is determined as follows:

[0120] The first message from UL has the first priority, the first message from SL has the second priority, and the second message from UL, the second message from SL, and the first discovery message have the third priority. The first priority is higher than or equal to the second priority, and the second priority is higher than the third priority.

[0121] The first and second messages of the UL mentioned above can be found in the description of the above implementation method, and will not be repeated here.

[0122] In this implementation, corresponding priorities can be defined when transmitting through the control logic channel and the data logic channel to achieve reasonable transmission.

[0123] In one implementation: transmitting the first discovery message between the upper layer and the MAC layer via a control logic channel can mean transmitting the first discovery message between the upper layer and the MAC layer via an SRB;

[0124] The first message of the SL includes: the RRC signaling of the SL and the PC5 signaling message of the SL, and the second message of the SL includes: the data of the SL; or, the first message of the SL includes: the RRC signaling of the SL, and the second message of the SL includes the data of the SL and the PC5 signaling message of the SL.

[0125] The first and second messages of SL mentioned above can be found in the description of the above implementation method, and will not be repeated here.

[0126] Optionally, the first discovery message and the first message of the SL can be transmitted through the same SRB, and the first discovery message and the first message of the SL have the same priority; or

[0127] The first discovery message and the first message of the SL can be transmitted on at least two SRBs, and the priority of the RRC signaling of the SL is higher than or equal to the priority of the first discovery message, and the priority of the first discovery message is higher than or equal to the PC5 signaling message of the SL.

[0128] For example: If there is only one SRB on SL PC5 (such as the default SRB), then the SL RRC signaling, the SL PC5 signaling messages, and the first discovery-related messages have the same priority. If there is more than one SRB, consider placing the SL RRC signaling, the SL PC5 signaling messages, and the first discovery message on two or three different SRBs, with the priority as follows: RRC signaling >= first discovery-related messages > PC5 signaling messages.

[0129] Optionally, the first discovery message is transmitted on the first SRB, the RRC signaling of the SL is transmitted on the first SRB or the second SRB, and the third SRB for the PC5 signaling message of the SL is configured through the RRC signaling of the SL. If the third SRB is established, the PC5 signaling message of the SL is transmitted on the third SRB.

[0130] Among them, the first SRB and the second SRB have the highest priority in the control logic channel, and the third SRB has a lower priority than the first SRB and the second SRB.

[0131] It should be noted that the RRC signaling of the SL in the third SRB mentioned above is not limited to the RRC signaling included in the first message of the SL. That is, it may or may not be the RRC signaling included in the first message of the SL. In other words, the RRC signaling that can be used to configure the third SRB is not necessarily configured by the RRC signaling included in the first message of the SL. There are many types of SL RRC, and not all RRC transmitted on the SRB is used to configure the SRB.

[0132] For example: the first discovery-related message is transmitted using the default SRB with the highest priority; RRC signaling is transmitted using the default SRB or a dedicated SRB with the highest priority; the SRB for PC5 signaling messages used by SL is configured through PC5-RRC; once the dedicated SRB for PC5 signaling messages is established, the PC5 signaling messages of SL are transmitted on the newly established SRB, which has a slightly lower priority.

[0133] In another implementation: transmitting the first discovery message between the upper layer and the MAC layer via a data logic channel can mean transmitting the first discovery message between the upper layer and the MAC layer via DRB;

[0134] The first message of the SL includes: the RRC signaling of the SL and the PC5 signaling message of the SL, and the second message of the SL includes: the data of the SL; or, the first message of the SL includes: the RRC signaling of the SL, and the second message of the SL includes the data of the SL and the PC5 signaling message of the SL.

[0135] The first and second messages of SL mentioned above can be found in the description of the above implementation method, and will not be repeated here.

[0136] In this implementation, the priority of each message can be reasonably divided when the first discovery message is transmitted between the upper layer and the MAC layer via DRB, so that the terminal can send or receive important messages first, and the overall performance of the communication system can be better.

[0137] Optionally, in an implementation where the first discovery message is transmitted via a control logic channel or a data logic channel, the multiple messages of the third priority are transmitted on the DRB.

[0138] At least two of the messages of the third priority have different priorities;

[0139] When it is not possible to send multiple messages of the third priority at the same time, messages with higher priority are sent first, or some of the messages of the third priority are discarded first, according to the priority order.

[0140] The aforementioned third priority messages may include: the second message of UL and the second message of SL, or may include: the second message of UL, the second message of SL, and the first discovery message. Taking the second message of SL, which includes PC5 signaling messages, as an example, special LCID or QoS-related parameters (e.g., QFI / PFI, PQI / VQI) can be assigned to the PC5 signaling messages and / or the first discovery message. When the terminal cannot simultaneously send SL data, the second message of UL, the PC5 signaling messages, and the first discovery message, it can prioritize sending the higher priority messages or prioritize discarding the lower priority messages one, two, or three.

[0141] For details of this implementation, please refer to the corresponding description of the first discovery message pass-through implementation described above. It will not be repeated here, and the same beneficial effects can be achieved.

[0142] Optionally, in an implementation where the first discovery message is transmitted via a control logic channel or a data logic channel, the second message of the UL and the second message of the SL have different priorities, wherein;

[0143] If the priority of the second message of the UL is lower than the first threshold, then the second message of the UL takes precedence; if the priority of the second message of the UL is not lower than the first threshold, and the priority of the second message of the SL is lower than the second threshold, then the second message of the SL takes precedence; if the priority of the second message of the UL is not lower than the first threshold, and the priority of the second message of the SL is not lower than the second threshold, then the second message of the UL takes precedence.

[0144] or,

[0145] If the priority of the second message of the SL is lower than the first threshold, then the second message of the SL takes priority; if the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is lower than the second threshold, then the second message of the UL takes priority; if the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is not lower than the second threshold, then the second message of the SL takes priority.

[0146] or,

[0147] If the priority of the second message of the SL is lower than the first threshold, and the priority of the second message of the UL is not lower than the second threshold, then the second message of the SL takes precedence; otherwise, the second message of the UL takes precedence.

[0148] or,

[0149] If the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is lower than the second threshold, then the second message of the UL takes precedence; otherwise, the second message of the SL takes precedence.

[0150] or,

[0151] In the first case, the second message of the SL takes priority; in the second case, the second message of the UL takes priority; in cases other than the first and second cases, the priority of the second message of the SL and the second message of the UL is determined by the terminal. In the first case, the priority of the second message of the SL is lower than a first threshold value, and the priority of the second message of the UL is not lower than a second threshold value; in the second case, the priority of the second message of the SL is not lower than the first threshold value, and the priority of the second message of the UL is lower than the second threshold value.

[0152] For details of this implementation, please refer to the corresponding description of the first discovery message pass-through implementation described above. It will not be repeated here, and the same beneficial effects can be achieved.

[0153] As an optional implementation, in the priority of the first discovery message, the priority of sending the first discovery message is higher than the priority of receiving the first discovery message; and / or

[0154] In the priority of the second message from the UL, sending the second message from the UL has a higher priority than receiving the second message from the UL; and / or

[0155] In the priority of the second message of the SL, the priority of sending the second message of the SL is higher than the priority of receiving the second message of the SL.

[0156] In this implementation, the priorities of sending and receiving messages can be further distinguished, thereby making the sending and receiving of messages more reasonable and improving the overall performance of the communication system.

[0157] It should be noted that, in this embodiment of the invention, in addition to transmitting the first discovery message mentioned above, other messages can also be transmitted according to the priority defined above, such as the first and second messages of SL, and the first and second messages of UL.

[0158] In this embodiment of the invention, a first discovery message of the SL is transmitted; wherein, the first discovery message is transparently transmitted between the upper layer and the MAC layer, and the priority of the first discovery message is determined based on whether the first discovery message is used for public safety; or the first discovery message is transmitted between the upper layer and the MAC layer through a logical channel, and the priority of the first discovery message is determined based on the logical channel and / or the corresponding bearer. Supporting discovery messages improves the terminal's discovery performance. Furthermore, this embodiment of the invention defines the priorities of various types of messages, enabling the terminal to prioritize the sending or receiving of important messages, thereby improving the terminal's communication performance.

[0159] The following examples illustrate... Figure 2The message transmission method provided in the illustrated embodiment is illustrated by example. In the following embodiments, the transmission of msg1 / 3 (msgA) for Uu interface RACH random access and the transmission related to emergency communication (such as emergency PDU connection) represent the first message of the above-mentioned SL, the PC5-RRC related signaling of the SL PC5 interface represents the RRC signaling of the above-mentioned SL, the data of the SL PC5 interface represents the data of the above-mentioned SL, the data of the transmission of msg1 / 3 (msgA) for Uu interface non-RACH random access and the transmission related to emergency communication (such as emergency PDU connection) represent the second message of the above-mentioned SL, and the PC5-S signaling of the SL PC5 interface represents the PC5 signaling message.

[0160] Example 1:

[0161] In this embodiment, the discovery message does not have a corresponding logical channel and is transmitted through a physical channel; PC5-S signaling is transmitted via DRB.

[0162] Priorities can be defined as follows:

[0163] 1. Transmission of msg1 / 3 (msgA) via Uu port RACH random access and transmission related to emergency communication (such as emergency PDU connection);

[0164] 1.5.SL PC5 port for transmitting or receiving discovery information for public safety (optional);

[0165] 2. PC5-RRC related signaling for PC5 port SL;

[0166] 2.5.SL PC5 port for transmitting or receiving public safety discovery information (optional);

[0167] 3. Data transmissions related to the SL PC5 port, non-RACH random access msg1 / 3 (msgA) transmissions on the Uu port, and emergency communication (such as emergency PDU connections) transmissions (depending on the data's QoS), and PC5-S signaling on the SL PC5 port.

[0168] 3.5.SL PC5 port for transmitting or receiving discovery information for public safety (optional);

[0169] 4. SL PC5 port for non-public safety discovery information.

[0170] The general principle is: 1>2>3>4. However, public safety-related discovery information may be higher than PC5-RRC, may be between PC5-RRC and PC5 data / Uu other data / PC5-S signaling, or may be lower than PC5 data / Uu other data / PC5-S signaling. In other words, any one of the above 1.5, 2.5 and 3.5 can be chosen.

[0171] If there is a similar configuration for a discovery gap, then additionally, within the gap, both public safety and non-public safety discovery messages are prioritized over PC5 data / Uu other data / PC5-S signaling.

[0172] The non-public safety discovery information may simply indicate non-public safety or commercial. It can also be further specified as to what type of discovery it is used for, such as for NCIS, group discovery, or relay discovery, etc.

[0173] Furthermore, for priority 3, since all three can be transmitted on the data channel, special LCID or QoS-related parameters (QFI / PFI, PQI / VQI) can be assigned to the PC5-S signaling of the SLPC5 port. When the terminal cannot transmit all three simultaneously, it will prioritize transmitting the one or two with higher priority or discarding the one or two with lower priority, according to the priority order.

[0174] Example 2:

[0175] In this embodiment, the discovery message does not have a corresponding logical channel and is transmitted through a physical channel; PC5-S signaling is transmitted via SRB.

[0176] Priorities can be defined as follows:

[0177] 1. Transmission of msg1 / 3 (msgA) via Uu port RACH random access and transmission related to emergency communication (such as emergency PDU connection);

[0178] 1.5.SL PC5 port for transmitting or receiving discovery information for public safety (optional);

[0179] 2. PC5-RRC related signaling for SL PC5 port, PC5-S signaling for SL PC5 port;

[0180] 2.5.SL PC5 port for transmitting or receiving discovery information for public safety (optional);

[0181] 3. Data transmission related to PC5 port data / Uu port non-RACH random access msg1 / 3 (msgA) transmission and emergency communication (such as emergency PDU connection) transmission (depending on the data QoS);

[0182] 3.5.SL PC5 port for transmitting or receiving discovery information for public safety (optional);

[0183] 4. SL PC5 port for non-public safety discovery information.

[0184] The general principle remains 1>2>3>4. Additionally, points 1.5, 2.5, and 3.5 above can be found in the corresponding descriptions in Example 1.

[0185] For priority 2, if there is only one SRB on SL PC5 (such as the default SRB), then the PC5-RRC related signaling and the PC5-S signaling on SL PC5 have the same priority. If there is more than one SRB, consider placing the PC5-RRC related signaling and the PC5-S signaling on SL PC5 on different SRBs, with priority PC5-RRC related signaling > PC5-S signaling on SL PC5.

[0186] For example, the SRB for PC5-S signaling on the SL PC5 port is configured through PC5-RRC. Once the SRB dedicated to PC5-S signaling is established, the PC5-S signaling on the SL PC5 port is transmitted on the newly established SRB.

[0187] For priority 3, the priority determination of data transmission on SL PC5 port and Uu port non-RACH random access msg1 / 3 (msgA) and data transmission related to emergency communication (such as emergency PDU connection) needs to take into account the QoS of both.

[0188] One possible approach is:

[0189] Option 1 (Two-level threshold):

[0190] Define two threshold values ​​for judging the data of SL PC5 port and the data of Uu port (here referring to other Uu port data determined by excluding Uu port data in priority 1).

[0191] If the data priority of Uu port is lower than threshold 1, then Uu port data takes priority; otherwise (if the data priority of Uu port is not lower than threshold 1), PC5 port data takes priority. Alternatively, if the data priority of Uu port is not lower than threshold 1 and the data priority of PC5 port is lower than threshold 2, then PC5 port data takes priority.

[0192] If the data priority of PC5 port is lower than threshold 1, then the data of PC5 port shall be given priority; otherwise, the data of Uu port shall be given priority. Alternatively, if the data priority of PC5 port is not lower than threshold 1 and the data priority of Uu port is lower than threshold 2, then the data of Uu port shall be given priority.

[0193] Option 2 (Two-level threshold):

[0194] If the data priority of port SL is lower than threshold 1, then port SL data takes priority; otherwise (if the data priority of port SL is not lower than threshold 1), then port Uu data takes priority. Alternatively, if the data priority of port SL is not lower than threshold 1 and the data priority of port Uu is lower than threshold 2, then port Uu data takes priority.

[0195] If the data priority of Uu port is lower than threshold 1, then the data of Uu port shall be given priority; otherwise, the data of PC5 port shall be given priority. Alternatively, if the data priority of Uu port is not lower than threshold 1 and the data priority of PC5 port is lower than threshold 2, then the data of PC5 port shall be given priority.

[0196] Option 3 (Comprehensive Consideration)

[0197] If the SL priority is high enough and the UL priority is low enough, then SL transmission takes precedence; otherwise, UL transmission takes precedence.

[0198] Option 4 (Comprehensive Consideration)

[0199] If the SL priority is low enough and the UL priority is high enough, then UL transmission takes precedence; otherwise, SL transmission takes precedence.

[0200] Option 5 (Comprehensive Consideration)

[0201] If the SL priority is high enough and the UL priority is low enough, then SL transmission takes precedence.

[0202] If the SL priority is low enough and the UL priority is high enough, then UL transmission takes precedence.

[0203] The rest is left to the terminal implementation.

[0204] The aforementioned priority may be the UL / SL LCH priority configured or pre-configured on the network side, or PPPP, or PQI / 5QI, or the priority field in PQI / 5QI.

[0205] Example 3:

[0206] In this embodiment, the discovery message is transmitted on the SRB, and the PC5-S signaling is transmitted on the SRB.

[0207] Define the following priorities:

[0208] 1. Transmission of msg1 / 3 (msgA) via Uu port RACH random access and transmission related to emergency communication (such as emergency PDU connection).

[0209] 2. PC5-RRC related signaling for SL PC5 port, PC5-S signaling for SL PC5 port, and Discovery related messages.

[0210] 3. Data transmission related to PC5 port data / Uu port non-RACH random access msg1 / 3 (msgA) transmission and emergency communication (such as emergency PDU connection) (depending on data QoS)

[0211] For priority 2, if there is only one SRB on SL PC5 (such as the default SRB), then the PC5-RRC related signaling, PC5-S signaling, and Discovery related messages on SL PC5 have the same priority. If there is more than one SRB, consider placing the PC5-RRC related signaling, PC5-S signaling, and Discovery related messages on two or three different SRBs, with the priority as follows: PC5-RRC related signaling >= Discovery related messages > PC5-S signaling on SL PC5.

[0212] For example, one possible scenario is that Discovery-related messages are transmitted using the default SRB with the highest priority, and PC5-RRC-related signaling is transmitted using either the default SRB or a dedicated SRB with the highest priority. The SRB for PC5-S signaling on the SL PC5 port is configured through PC5-RRC. Once the dedicated SRB for PC5-S signaling is established, the PC5-S signaling on the SL PC5 port is transmitted on this newly created SRB, which has a slightly lower priority.

[0213] Example 4:

[0214] In this embodiment, the discovery message is transmitted on the SRB, and the PC5-S signaling is transmitted on the DRB.

[0215] Define the following priorities:

[0216] 1. Transmission of msg1 / 3 (msgA) via Uu port RACH random access and transmission related to emergency communication (such as emergency PDU connection).

[0217] 2. SL PC5 port PC5-RRC related signaling, Discovery related messages

[0218] 3. Data transmission related to SL PC5 port data / Uu port non-RACH random access msg1 / 3 (msgA) and emergency communication (such as emergency PDU connection) (depending on data QoS), SL PC5 port PC5-S signaling.

[0219] For priority 2, the implementation method can be the same as that of priority 2 in embodiment 3, except that the three are replaced with two.

[0220] For priority 3, the implementation methods of priority 3 in Embodiment 1 and Embodiment 2 are analyzed.

[0221] Example 5:

[0222] In this embodiment, the discovery message is transmitted on the DRB, and the PC5-S signaling is transmitted on the SRB.

[0223] Define the following priorities:

[0224] 1. Transmission of msg1 / 3 (msgA) via Uu port RACH random access and transmission related to emergency communication (such as emergency PDU connection).

[0225] 2. PC5-RRC related signaling for SL PC5 port, PC5-S signaling for SL PC5 port

[0226] 3. Data transmission related to SL PC5 port data / Uu port non-RACH random access msg1 / 3 (msgA) transmission and emergency communication (such as emergency PDU connection) transmission (depending on data QoS), Discovery related messages.

[0227] This embodiment can be found in Embodiment 4, except that the PC5-S signaling and Discovery-related messages of the SL PC5 port are swapped.

[0228] Example 5:

[0229] In this embodiment, the discovery message is transmitted on the DRB, and the PC5-S signaling is also transmitted on the DRB.

[0230] Define the following priorities:

[0231] 1. Transmission and reception of msg1 / 3 (msgA) via Uu port RACH random access and emergency communication (such as emergency PDU connection).

[0232] 2. SL PC5 port PC5-RRC related signaling,

[0233] 3. Data transmissions related to SL PC5 port data / Uu port non-RACH random access msg1 / 3 (msgA) and emergency communications (such as emergency PDU connections) (depending on data QoS), SL PC5 port PC5-S signaling, and Discovery-related messages.

[0234] In this embodiment, priority 3 can refer to the implementation methods for priority 3 in Embodiments 1 and 2. Special LCID or QoS-related parameters (QFI / PFI, PQI / VQI) can be assigned to the PC5-S signaling and / or discreet related messages of the SL PC5 port. When the UE cannot send all four at the same time, the first, second, or third messages with lower priority are discarded according to the priority order.

[0235] Example 6:

[0236] This embodiment further distinguishes the priorities of receiving and sending different signaling messages:

[0237] Furthermore, the transmission and reception of Uu port data (including priority 1 data which always has priority and priority 3 data which needs to be compared with SL port data), the transmission and reception of SL port data, and the transmission and reception of discovery information can be further differentiated and assigned different priorities. Some possible scenarios include:

[0238] For example, the definition for Embodiment 2 is as follows:

[0239] 1. Transmission and reception of msg1 / 3 (msgA) via Uu port RACH random access and emergency communication (such as emergency PDU connection).

[0240] 1.5.SL PC5 port for transmitting discovery information for public safety

[0241] 2. Sending or receiving PC5-RRC related signaling on the SL PC5 port, and sending or receiving PC5-S signaling on the SL PC5 port.

[0242] 3. Transmission of data (depending on the data QoS) related to the transmission of msg1 / 3 (msgA) from the SL PC5 port and non-RACH random access msg1 / 3 (msgA) from the Uu port, and emergency communication (such as emergency PDU connection).

[0243] 3.5.SL PC5 port reception for public safety discovery information

[0244] 3.6. SL PC5 port data / Uu port non-RACH random access msg1 / 3 (msgA) transmission and emergency communication (such as emergency PDU connection) related data transmission (depending on the data QoS) reception.

[0245] 4. SL PC5 port for sending or receiving discovery information for non-public safety purposes.

[0246] Where 1.5 < 2 or 1.5 = 2. For 2, it can be further subdivided, see the implementation of priority 2 in Example 1.

[0247] The priority defined in Embodiments 1 to 6 above can be explained as follows:

[0248] One approach is to define priorities for individual messages, such as different LCIDs (LCIDs correspond to different priorities) or QoS-related parameters (QFI / PFI, PQI / VQI) for different messages, ultimately achieving priority by comparing the priorities associated with the messages (such as logical channel priorities). In this case, for logical channels of different priorities, if the terminal cannot transmit all types of logical channels simultaneously, it will prioritize transmitting higher-priority logical channels or prioritize discarding lower-priority logical channels.

[0249] Another scenario is that it's not necessary to define a separate priority for each message. Since messages are transmitted on different bearer / logical channels, the priority of the message follows the priority of the bearer / logical channel. (For example, if a discovery message is mapped to the default SRB and then transmitted on the SCCH, and the priority of the SCCH is 1, then the priority of the discovery message is also 1).

[0250] The embodiments of the present invention can achieve the following:

[0251] Priority comparison of multiple types of UL / SL messages, including PC5-discovery messages, PC5-S signaling, PC5-RRC signaling, PC5 interface data, and Uu interface data, is taken into account.

[0252] Consider further differentiating PC5-discovery messages based on whether they are related to public safety and assigning them different priorities;

[0253] Consider using two threshold values ​​to determine the priority of data from the SL PC5 port and the Uu port;

[0254] Consider sending and receiving data from the Uu port, sending and receiving data from the PC5 port, and sending and receiving discovery information. Further distinguish one or more of these three categories and assign different priorities.

[0255] In this embodiment of the invention, by defining priorities, the terminal can prioritize sending or receiving important messages, thereby improving the overall performance of the communication system.

[0256] Please see Figure 3 , Figure 3 This is a flowchart of a message transmission method provided in an embodiment of the present invention. This method is applied to a terminal, such as... Figure 3 As shown, it includes the following steps:

[0257] Step 301: Determine the priority of UL messages and SL messages based on the first threshold value and the second threshold value.

[0258] The first and second threshold values ​​mentioned above can be configured by the network or agreed upon by the protocol. Additionally, the first and second threshold values ​​can be found in [reference needed]. Figure 2 The corresponding descriptions of the embodiments shown are not repeated here.

[0259] Step 302: Based on the priority of the UL message and the SL message, perform transmission processing on the UL message and the SL message.

[0260] The transmission processing of the UL message and the SL message can be performed by prioritizing the transmission of higher-priority messages before lower-priority messages, or by transmitting higher-priority messages while discarding lower-priority messages. Of course, if the terminal can transmit multiple messages simultaneously, it can transmit both the UL message and the SL message at the same time. This transmission can be either sending or receiving.

[0261] In addition, the aforementioned UL message and the SL message can be Figure 2 The illustrated embodiment shows the second message of UL and the second message of SL, but this is not a limitation. For example, the UL message and the SL message can be messages on the UL and messages on the SL that are transmitted on the same logical channel.

[0262] In this embodiment, the above steps can be used to transmit the UL message and SL message reasonably according to the above priority, so as to improve the terminal transmission performance and solve the problem of poor terminal transmission performance caused by the inability to distinguish the priority of UL message and SL message in related technologies.

[0263] Optionally, the UL message and the SL message have different priorities, wherein;

[0264] If the priority of the UL message is lower than the first threshold, then the UL message takes precedence; if the priority of the UL message is not lower than the first threshold and the priority of the SL message is lower than the second threshold, then the SL message takes precedence; if the priority of the UL message is not lower than the first threshold and the priority of the SL message is not lower than the second threshold, then the UL message takes precedence.

[0265] or,

[0266] If the priority of the SL message is lower than the first threshold, then the SL message takes precedence; if the priority of the SL message is not lower than the first threshold and the priority of the UL message is lower than the second threshold, then the UL message takes precedence; if the priority of the SL message is not lower than the first threshold and the priority of the UL message is not lower than the second threshold, then the SL message takes precedence.

[0267] or,

[0268] If the priority of the SL message is lower than the first threshold value and the priority of the UL message is not lower than the second threshold value, then the SL message takes precedence; otherwise, the UL message takes precedence.

[0269] or,

[0270] If the priority of the SL message is not lower than the first threshold value and the priority of the UL message is lower than the second threshold value, then the UL message takes precedence; otherwise, the SL message takes precedence.

[0271] or,

[0272] In the first case, the SL message takes priority; in the second case, the UL message takes priority; in cases other than the first and second cases, the priority of the SL message and the UL message is determined by the terminal. In the first case, the priority of the SL message is lower than the first threshold value, and the priority of the UL message is not lower than the second threshold value. In the second case, the priority of the SL message is higher than the first threshold value, and the priority of the UL message is lower than the second threshold value.

[0273] Optionally, the SL message includes at least one of the following: the data of the SL, the PC5 signaling message of the SL, and the discovery message;

[0274] The UL message refers to any message in the UL other than random access messages, emergency communication messages, and first service messages.

[0275] The priorities of the aforementioned UL messages and SL messages can be found in [reference needed]. Figure 2 The implementation methods of the first and second threshold values ​​provided in the illustrated embodiments will not be described in detail here, and can achieve the same beneficial effects.

[0276] Please see Figure 4 , Figure 4 This is a structural diagram of a terminal provided in an embodiment of the present invention, such as... Figure 6 As shown, terminal 400 includes:

[0277] Transmission module 401 is used to transmit the first discovery message of SL;

[0278] The first discovery message is transmitted between the upper layer and the MAC layer, and the priority of the first discovery message is determined based on whether the first discovery message is used for public safety; or

[0279] The first discovery message is transmitted between the upper layer and the MAC layer via a logical channel, and the priority of the first discovery message is determined based on the logical channel and / or the corresponding bearer.

[0280] Optionally, when the first discovery message is transparently transmitted between the upper layer and the MAC layer, the priority of the first discovery message is determined as follows:

[0281] The first message of the uplink UL has the first priority, the first message of the SL has the second priority, and the second messages of the UL and SL have the third priority. The first priority is higher than or equal to the second priority, and the second priority is higher than the third priority.

[0282] Among them, the priority of discovery messages used for public safety is higher than or equal to the second priority, or higher than the third priority, or lower than the third priority;

[0283] Discovery messages used for non-public safety purposes have a higher or lower priority than the third priority.

[0284] The priority of discovery messages used for public safety is higher than that of discovery messages used for non-public safety.

[0285] Optionally, when the SL is configured with a discovery gap, discovery messages for public safety and discovery messages for non-public safety within the discovery gap have a higher priority than the third priority.

[0286] Optionally, the first discovery message includes indication information, which indicates whether the first discovery message is a discovery message for public safety or a discovery message for non-public safety or commercial purposes.

[0287] Optionally, the indication information is also used to indicate the discovery content of the first discovery message.

[0288] Optionally, the first message of the UL includes at least one of the following: the UL's random access message, the UL's emergency communication message, and the UL's first service message; the second message of the UL is any message in the UL other than the UL's first message.

[0289] The first message of the SL includes: Radio Resource Control (RRC) signaling of the SL; the second message of the SL includes: data of the SL and at least one of PC5 signaling messages of the SL; or, the first message of the SL includes: at least one of RRC signaling of the SL and PC5 signaling messages of the SL; the second message of the SL includes: data of the SL.

[0290] Optionally, if the first message of the SL includes the RRC signaling of the SL and the PC5 signaling message of the SL:

[0291] The RRC signaling and PC5 signaling messages of the SL are transmitted through the same signaling radio bearer (SRB), and the RRC signaling and PC5 signaling messages of the SL have the same priority; or

[0292] The RRC signaling and PC5 signaling messages of the SL are transmitted through different SRBs. The SRB for the PC5 signaling messages of the SL is configured through the RRC signaling of the SL. If the SRB for the PC5 signaling messages of the SL is established, the PC5 signaling messages of the SL are transmitted on the established SRB, and the priority of the RRC signaling of the SL is higher than the priority of the PC5 signaling messages of the SL.

[0293] Optionally, when the first discovery message is transmitted between the upper layer and the MAC layer via a control logic channel, the priority of the first discovery message is the priority of the SRB that transmits the first discovery message or the priority of the control logic channel.

[0294] Optionally, when the control logic channel includes SRBs of different priorities, the first discovery message and the SL message are transmitted on the SRBs of different priorities of the control logic channel, and the priority of the first discovery message is the priority of the SRB that transmits the first discovery message. The SL message includes at least one of the SL's RRC signaling and the SL's PC5 signaling message.

[0295] Optionally, if the first discovery message is transmitted between the upper layer and the MAC layer via a data logic channel:

[0296] The first discovery message is assigned a Quality of Service (QoS) parameter. The terminal maps the first discovery message to a corresponding data logical channel based on the QoS parameter. The priority of the first discovery message is the priority of the DRB or the data logical channel through which the first discovery message is transmitted; or...

[0297] The first discovery message is assigned a logical channel identifier (LCID), and the priority of the first discovery message is the priority of the logical channel corresponding to the LCID.

[0298] Optionally, when the first discovery message is transmitted between the upper layer and the MAC layer via a control logic channel, the priority of the first discovery message is determined as follows:

[0299] The first message of UL has the first priority, the first message of SL and the first discovery message have the second priority, the second message of UL and the second message of SL have the third priority, the first priority is higher than or equal to the second priority, and the second priority is higher than the third priority;

[0300] or,

[0301] When the first discovery message is transmitted between the upper layer and the MAC layer via a data logic channel, the priority of the first discovery message is determined as follows:

[0302] The first message from UL has the first priority, the first message from SL has the second priority, and the second message from UL, the second message from SL, and the first discovery message have the third priority. The first priority is higher than or equal to the second priority, and the second priority is higher than the third priority.

[0303] Optionally, transmitting the first discovery message between the upper layer and the MAC layer via the control logic channel means transmitting the first discovery message between the upper layer and the MAC layer via SRB.

[0304] The first message of the SL includes: the RRC signaling of the SL and the PC5 signaling message of the SL, and the second message of the SL includes: the data of the SL; or, the first message of the SL includes: the RRC signaling of the SL, and the second message of the SL includes the data of the SL and the PC5 signaling message of the SL.

[0305] Optionally, the first discovery message and the first message of the SL are transmitted through the same SRB, and the first discovery message and the first message of the SL have the same priority; or

[0306] The first discovery message and the first message of the SL are transmitted on at least two SRBs, and the priority of the RRC signaling of the SL is higher than or equal to the priority of the first discovery message, and the priority of the first discovery message is higher than or equal to the PC5 signaling message of the SL.

[0307] Optionally, the first discovery message is transmitted on the first SRB, the RRC signaling of the SL is transmitted on the first SRB or the second SRB, and the third SRB for the PC5 signaling message of the SL is configured through the RRC signaling of the SL. If the third SRB is established, the PC5 signaling message of the SL is transmitted on the third SRB.

[0308] Among them, the first SRB and the second SRB have the highest priority in the control logic channel, and the third SRB has a lower priority than the first SRB and the second SRB.

[0309] Optionally, transmitting the first discovery message between the upper layer and the MAC layer via a data logic channel means transmitting the first discovery message between the upper layer and the MAC layer via a data radio bearer (DRB).

[0310] The first message of the SL includes: the RRC signaling of the SL and the PC5 signaling message of the SL, and the second message of the SL includes: the data of the SL; or, the first message of the SL includes: the RRC signaling of the SL, and the second message of the SL includes the data of the SL and the PC5 signaling message of the SL.

[0311] Optionally, the third priority messages are transmitted on the DRB;

[0312] At least two of the messages of the third priority have different priorities;

[0313] When it is not possible to send multiple messages of the third priority at the same time, messages with higher priority are sent first, or some of the messages of the third priority are discarded first, according to the priority order.

[0314] Optionally, the second message of the UL and the second message of the SL have different priorities, wherein;

[0315] If the priority of the second message of the UL is lower than the first threshold, then the second message of the UL takes precedence; if the priority of the second message of the UL is not lower than the first threshold, and the priority of the second message of the SL is lower than the second threshold, then the second message of the SL takes precedence; if the priority of the second message of the UL is not lower than the first threshold, and the priority of the second message of the SL is not lower than the second threshold, then the second message of the UL takes precedence.

[0316] or,

[0317] If the priority of the second message of the SL is lower than the first threshold, then the second message of the SL takes priority; if the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is lower than the second threshold, then the second message of the UL takes priority; if the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is not lower than the second threshold, then the second message of the SL takes priority.

[0318] or,

[0319] If the priority of the second message of the SL is lower than the first threshold, and the priority of the second message of the UL is not lower than the second threshold, then the second message of the SL takes precedence; otherwise, the second message of the UL takes precedence.

[0320] or,

[0321] If the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is lower than the second threshold, then the second message of the UL takes precedence; otherwise, the second message of the SL takes precedence.

[0322] or,

[0323] In the first case, the second message of the SL takes priority; in the second case, the second message of the UL takes priority; in cases other than the first and second cases, the priority of the second message of the SL and the second message of the UL is determined by the terminal. In the first case, the priority of the second message of the SL is lower than a first threshold value, and the priority of the second message of the UL is not lower than a second threshold value; in the second case, the priority of the second message of the SL is not lower than the first threshold value, and the priority of the second message of the UL is lower than the second threshold value.

[0324] Optionally, in the priority of the first discovery message, the priority of sending the first discovery message is higher than the priority of receiving the first discovery message; and / or

[0325] In the priority of the second message from the UL, sending the second message from the UL has a higher priority than receiving the second message from the UL; and / or

[0326] In the priority of the second message of the SL, the priority of sending the second message of the SL is higher than the priority of receiving the second message of the SL.

[0327] The terminal provided in this embodiment of the invention can achieve Figure 2 The various processes implemented by the terminal in the method embodiment will not be described again here to avoid repetition, and this can improve the terminal discovery effect.

[0328] Please see Figure 5 , Figure 5 This is a structural diagram of another terminal provided in an embodiment of the present invention, such as... Figure 5 As shown, terminal 500 includes:

[0329] The determination module 501 is used to determine the priority of UL messages and SL messages based on the first threshold value and the second threshold value;

[0330] The processing module 502 is used to perform transmission processing on the UL message and the SL message according to their priorities.

[0331] Optionally, the UL message and the SL message have different priorities, wherein;

[0332] If the priority of the UL message is lower than the first threshold, then the UL message takes precedence; if the priority of the UL message is not lower than the first threshold and the priority of the SL message is lower than the second threshold, then the SL message takes precedence; if the priority of the UL message is not lower than the first threshold and the priority of the SL message is not lower than the second threshold, then the UL message takes precedence.

[0333] or,

[0334] If the priority of the SL message is lower than the first threshold, then the SL message takes precedence; if the priority of the SL message is not lower than the first threshold and the priority of the UL message is lower than the second threshold, then the UL message takes precedence; if the priority of the SL message is not lower than the first threshold and the priority of the UL message is not lower than the second threshold, then the SL message takes precedence.

[0335] or,

[0336] If the priority of the SL message is lower than the first threshold value and the priority of the UL message is not lower than the second threshold value, then the SL message takes precedence; otherwise, the UL message takes precedence.

[0337] or,

[0338] If the priority of the SL message is not lower than the first threshold value and the priority of the UL message is lower than the second threshold value, then the UL message takes precedence; otherwise, the SL message takes precedence.

[0339] or,

[0340] In the first case, the SL message takes priority; in the second case, the UL message takes priority; in cases other than the first and second cases, the priority of the SL message and the UL message is determined by the terminal. In the first case, the priority of the SL message is lower than the first threshold value, and the priority of the UL message is not lower than the second threshold value. In the second case, the priority of the SL message is higher than the first threshold value, and the priority of the UL message is lower than the second threshold value.

[0341] Optionally, the SL message includes at least one of the following: the data of the SL, the PC5 signaling message of the SL, and the discovery message;

[0342] The UL message refers to any message in the UL other than random access messages, emergency communication messages, and first service messages.

[0343] The terminal provided in this embodiment of the invention can achieve Figure 2The various processes implemented by the terminal in the method embodiment will not be described again here to avoid repetition, and can improve the transmission performance of the terminal.

[0344] Figure 6 This is a schematic diagram of the hardware structure of a terminal to implement various embodiments of the present invention.

[0345] The terminal 600 includes, but is not limited to, components such as: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will understand that... Figure 6 The terminal structure shown does not constitute a limitation on the terminal. A terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements. In embodiments of the present invention, the terminal includes, but is not limited to, mobile phones, tablet computers, laptops, PDAs, in-vehicle terminals, robots, wearable devices, and pedometers.

[0346] In one embodiment:

[0347] Radio frequency unit 601 is used to transmit the first discovery message of SL;

[0348] The first discovery message is transmitted between the upper layer and the MAC layer, and the priority of the first discovery message is determined based on whether the first discovery message is used for public safety; or

[0349] The first discovery message is transmitted between the upper layer and the MAC layer via a logical channel, and the priority of the first discovery message is determined based on the logical channel and / or the corresponding bearer.

[0350] Optionally, when the first discovery message is transparently transmitted between the upper layer and the MAC layer, the priority of the first discovery message is determined as follows:

[0351] The first message of the uplink UL has the first priority, the first message of the SL has the second priority, and the second messages of the UL and SL have the third priority. The first priority is higher than or equal to the second priority, and the second priority is higher than the third priority.

[0352] Among them, the priority of discovery messages used for public safety is higher than or equal to the second priority, or higher than the third priority, or lower than the third priority;

[0353] Discovery messages used for non-public safety purposes have a higher or lower priority than the third priority.

[0354] The priority of discovery messages used for public safety is higher than that of discovery messages used for non-public safety.

[0355] Optionally, when the SL is configured with a discovery gap, discovery messages for public safety and discovery messages for non-public safety within the discovery gap have a higher priority than the third priority.

[0356] Optionally, the first discovery message includes indication information, which indicates whether the first discovery message is a discovery message for public safety or a discovery message for non-public safety or commercial purposes.

[0357] Optionally, the indication information is also used to indicate the discovery content of the first discovery message.

[0358] Optionally, the first message of the UL includes at least one of the following: the UL's random access message, the UL's emergency communication message, and the UL's first service message; the second message of the UL is any message in the UL other than the UL's first message.

[0359] The first message of the SL includes: Radio Resource Control (RRC) signaling of the SL; the second message of the SL includes: data of the SL and at least one of PC5 signaling messages of the SL; or, the first message of the SL includes: at least one of RRC signaling of the SL and PC5 signaling messages of the SL; the second message of the SL includes: data of the SL.

[0360] Optionally, if the first message of the SL includes the RRC signaling of the SL and the PC5 signaling message of the SL:

[0361] The RRC signaling and PC5 signaling messages of the SL are transmitted through the same signaling radio bearer (SRB), and the RRC signaling and PC5 signaling messages of the SL have the same priority; or

[0362] The RRC signaling and PC5 signaling messages of the SL are transmitted through different SRBs. The SRB for the PC5 signaling messages of the SL is configured through the RRC signaling of the SL. If the SRB for the PC5 signaling messages of the SL is established, the PC5 signaling messages of the SL are transmitted on the established SRB, and the priority of the RRC signaling of the SL is higher than the priority of the PC5 signaling messages of the SL.

[0363] Optionally, when the first discovery message is transmitted between the upper layer and the MAC layer via a control logic channel, the priority of the first discovery message is the priority of the SRB that transmits the first discovery message or the priority of the control logic channel.

[0364] Optionally, when the control logic channel includes SRBs of different priorities, the first discovery message and the SL message are transmitted on the SRBs of different priorities of the control logic channel, and the priority of the first discovery message is the priority of the SRB that transmits the first discovery message. The SL message includes at least one of the SL's RRC signaling and the SL's PC5 signaling message.

[0365] Optionally, if the first discovery message is transmitted between the upper layer and the MAC layer via a data logic channel:

[0366] The first discovery message is assigned a Quality of Service (QoS) parameter. The terminal maps the first discovery message to a corresponding data logical channel based on the QoS parameter. The priority of the first discovery message is the priority of the DRB or the data logical channel through which the first discovery message is transmitted; or...

[0367] The first discovery message is assigned a logical channel identifier (LCID), and the priority of the first discovery message is the priority of the logical channel corresponding to the LCID.

[0368] Optionally, when the first discovery message is transmitted between the upper layer and the MAC layer via a control logic channel, the priority of the first discovery message is determined as follows:

[0369] The first message of UL has the first priority, the first message of SL and the first discovery message have the second priority, the second message of UL and the second message of SL have the third priority, the first priority is higher than or equal to the second priority, and the second priority is higher than the third priority;

[0370] or,

[0371] When the first discovery message is transmitted between the upper layer and the MAC layer via a data logic channel, the priority of the first discovery message is determined as follows:

[0372] The first message from UL has the first priority, the first message from SL has the second priority, and the second message from UL, the second message from SL, and the first discovery message have the third priority. The first priority is higher than or equal to the second priority, and the second priority is higher than the third priority.

[0373] Optionally, transmitting the first discovery message between the upper layer and the MAC layer via the control logic channel means transmitting the first discovery message between the upper layer and the MAC layer via SRB.

[0374] The first message of the SL includes: the RRC signaling of the SL and the PC5 signaling message of the SL, and the second message of the SL includes: the data of the SL; or, the first message of the SL includes: the RRC signaling of the SL, and the second message of the SL includes the data of the SL and the PC5 signaling message of the SL.

[0375] Optionally, the first discovery message and the first message of the SL are transmitted through the same SRB, and the first discovery message and the first message of the SL have the same priority; or

[0376] The first discovery message and the first message of the SL are transmitted on at least two SRBs, and the priority of the RRC signaling of the SL is higher than or equal to the priority of the first discovery message, and the priority of the first discovery message is higher than or equal to the PC5 signaling message of the SL.

[0377] Optionally, the first discovery message is transmitted on the first SRB, the RRC signaling of the SL is transmitted on the first SRB or the second SRB, and the third SRB for the PC5 signaling message of the SL is configured through the RRC signaling of the SL. If the third SRB is established, the PC5 signaling message of the SL is transmitted on the third SRB.

[0378] Among them, the first SRB and the second SRB have the highest priority in the control logic channel, and the third SRB has a lower priority than the first SRB and the second SRB.

[0379] Optionally, transmitting the first discovery message between the upper layer and the MAC layer via a data logic channel means transmitting the first discovery message between the upper layer and the MAC layer via a data radio bearer (DRB).

[0380] The first message of the SL includes: the RRC signaling of the SL and the PC5 signaling message of the SL, and the second message of the SL includes: the data of the SL; or, the first message of the SL includes: the RRC signaling of the SL, and the second message of the SL includes the data of the SL and the PC5 signaling message of the SL.

[0381] Optionally, the third priority messages are transmitted on the DRB;

[0382] At least two of the messages of the third priority have different priorities;

[0383] When it is not possible to send multiple messages of the third priority at the same time, messages with higher priority are sent first, or some of the messages of the third priority are discarded first, according to the priority order.

[0384] Optionally, the second message of the UL and the second message of the SL have different priorities, wherein;

[0385] If the priority of the second message of the UL is lower than the first threshold, then the second message of the UL takes precedence; if the priority of the second message of the UL is not lower than the first threshold, and the priority of the second message of the SL is lower than the second threshold, then the second message of the SL takes precedence; if the priority of the second message of the UL is not lower than the first threshold, and the priority of the second message of the SL is not lower than the second threshold, then the second message of the UL takes precedence.

[0386] or,

[0387] If the priority of the second message of the SL is lower than the first threshold, then the second message of the SL takes priority; if the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is lower than the second threshold, then the second message of the UL takes priority; if the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is not lower than the second threshold, then the second message of the SL takes priority.

[0388] or,

[0389] If the priority of the second message of the SL is lower than the first threshold, and the priority of the second message of the UL is not lower than the second threshold, then the second message of the SL takes precedence; otherwise, the second message of the UL takes precedence.

[0390] or,

[0391] If the priority of the second message of the SL is not lower than the first threshold, and the priority of the second message of the UL is lower than the second threshold, then the second message of the UL takes precedence; otherwise, the second message of the SL takes precedence.

[0392] or,

[0393] In the first case, the second message of the SL takes priority; in the second case, the second message of the UL takes priority; in cases other than the first and second cases, the priority of the second message of the SL and the second message of the UL is determined by the terminal. In the first case, the priority of the second message of the SL is lower than a first threshold value, and the priority of the second message of the UL is not lower than a second threshold value; in the second case, the priority of the second message of the SL is not lower than the first threshold value, and the priority of the second message of the UL is lower than the second threshold value.

[0394] Optionally, in the priority of the first discovery message, the priority of sending the first discovery message is higher than the priority of receiving the first discovery message; and / or

[0395] In the priority of the second message from the UL, sending the second message from the UL has a higher priority than receiving the second message from the UL; and / or

[0396] In the priority of the second message of the SL, the priority of sending the second message of the SL is higher than the priority of receiving the second message of the SL.

[0397] The aforementioned terminals improve the detection effectiveness of terminals.

[0398] In another embodiment:

[0399] Processor 610 is used to determine the priority of UL messages and SL messages based on a first threshold value and a second threshold value;

[0400] Radio frequency unit 601 is used to perform transmission processing on the UL message and the SL message according to their priorities.

[0401] Optionally, the UL message and the SL message have different priorities, wherein;

[0402] If the priority of the UL message is lower than the first threshold, then the UL message takes precedence; if the priority of the UL message is not lower than the first threshold and the priority of the SL message is lower than the second threshold, then the SL message takes precedence; if the priority of the UL message is not lower than the first threshold and the priority of the SL message is not lower than the second threshold, then the UL message takes precedence.

[0403] or,

[0404] If the priority of the SL message is lower than the first threshold, then the SL message takes precedence; if the priority of the SL message is not lower than the first threshold and the priority of the UL message is lower than the second threshold, then the UL message takes precedence; if the priority of the SL message is not lower than the first threshold and the priority of the UL message is not lower than the second threshold, then the SL message takes precedence.

[0405] or,

[0406] If the priority of the SL message is lower than the first threshold value and the priority of the UL message is not lower than the second threshold value, then the SL message takes precedence; otherwise, the UL message takes precedence.

[0407] or,

[0408] If the priority of the SL message is not lower than the first threshold value and the priority of the UL message is lower than the second threshold value, then the UL message takes precedence; otherwise, the SL message takes precedence.

[0409] or,

[0410] In the first case, the SL message takes priority; in the second case, the UL message takes priority; in cases other than the first and second cases, the priority of the SL message and the UL message is determined by the terminal. In the first case, the priority of the SL message is lower than the first threshold value, and the priority of the UL message is not lower than the second threshold value. In the second case, the priority of the SL message is higher than the first threshold value, and the priority of the UL message is lower than the second threshold value.

[0411] Optionally, the SL message includes at least one of the following: the data of the SL, the PC5 signaling message of the SL, and the discovery message;

[0412] The UL message refers to any message in the UL other than random access messages, emergency communication messages, and first service messages.

[0413] The aforementioned terminals improve the terminal's transmission performance.

[0414] It should be understood that, in this embodiment of the invention, the radio frequency unit 601 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink data from the base station and processes it with the processor 610; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Furthermore, the radio frequency unit 601 can also communicate with networks and other devices through a wireless communication system.

[0415] The terminal provides users with wireless broadband internet access through network module 602, such as helping users send and receive emails, browse web pages, and access streaming media.

[0416] The audio output unit 603 can convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output them as sound. Furthermore, the audio output unit 603 can also provide audio output related to specific functions performed by the terminal 600 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, and a receiver, etc.

[0417] Input unit 604 is used to receive audio or video signals. Input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042. GPU 6041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on display unit 606. The image frames processed by GPU 6041 can be stored in memory 609 (or other storage medium) or transmitted via radio frequency unit 601 or network module 602. Microphone 6042 can receive sound and process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via radio frequency unit 601 in telephone call mode.

[0418] The terminal 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 6061 according to the ambient light level, and the proximity sensor can turn off the display panel 6061 and / or backlight when the terminal 600 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used to identify the terminal's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. The sensor 605 may also include a fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be described in detail here.

[0419] The display unit 606 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0420] User input unit 607 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the terminal. Specifically, user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 6071). Touch panel 6071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 610, which receives and executes commands from the processor 610. In addition, touch panel 6071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. Besides touch panel 6071, user input unit 607 may also include other input devices 6072. Specifically, other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here.

[0421] Furthermore, the touch panel 6071 can cover the display panel 6061. When the touch panel 6071 detects a touch operation on or near it, it transmits the information to the processor 610 to determine the type of touch event. Subsequently, the processor 610 provides corresponding visual output on the display panel 6061 based on the type of touch event. Although in Figure 6 In this embodiment, the touch panel 6071 and the display panel 6061 are two independent components to realize the input and output functions of the terminal. However, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated to realize the input and output functions of the terminal. The specific implementation is not limited here.

[0422] Interface unit 608 serves as an interface for connecting external devices to terminal 600. For example, external devices may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 608 can be used to receive input from external devices (e.g., data, power, etc.) and transmit the received input to one or more elements within terminal 600, or it can be used to transmit data between terminal 600 and external devices.

[0423] The memory 609 can be used to store software programs and various data. The memory 609 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 609 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0424] The processor 610 is the control center of the terminal, connecting various parts of the terminal through various interfaces and lines. It executes software programs and / or modules stored in the memory 609, and calls data stored in the memory 609 to perform various functions and process data, thereby providing overall monitoring of the terminal. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 610.

[0425] The terminal 600 may also include a power supply 611 (such as a battery) that supplies power to various components. Preferably, the power supply 611 can be logically connected to the processor 610 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0426] In addition, terminal 600 includes some functional modules not shown, which will not be described in detail here.

[0427] Preferably, this embodiment of the invention also provides a terminal, including a processor 610, a memory 609, and a computer program stored in the memory 609 and executable on the processor 610, wherein the computer program is executed by the processor 610 to implement... Figure 2 or Figure 3 The various processes of the message transmission method provided in the illustrated embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.

[0428] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements... Figure 2 or Figure 3 The illustrated embodiment provides a message transmission method that achieves the same technical effect, and therefore will not be described again here to avoid repetition. The computer-readable storage medium mentioned includes, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0429] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0430] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0431] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.

Claims

1. A message transmission method applied to a terminal, characterized in that, The method comprises: transmitting a first discovery message of a sidelink (SL); wherein the first discovery message is transmitted between an upper layer and a MAC layer through a control logical channel, and a priority of the first discovery message is determined according to a bearer corresponding to the logical channel; wherein the first discovery message and a first message of the SL are transmitted on at least two SRBs, the first message of the SL comprises RRC signaling of the SL and PC5 signaling messages of the SL, and a priority of the RRC signaling of the SL is higher than or equal to a priority of the first discovery message, and the priority of the first discovery message is higher than or equal to a priority of the PC5 signaling messages of the SL.

2. The method of claim 1, wherein, The method further comprises: determining priorities of UL messages and SL messages according to a first threshold value and a second threshold value; performing transmission processing on the UL messages and the SL messages according to the priorities of the UL messages and the SL messages, the SL messages comprising at least one of data of the SL, PC5 signaling messages of the SL and the first discovery message.

3. The method of claim 2, wherein, The performing transmission processing on the UL messages and the SL messages according to the priorities of the UL messages and the SL messages comprises: if the priority of the UL message is not lower than the first threshold value and the priority of the SL message is lower than the second threshold value, the SL message is prioritized.

4. The method of claim 1, wherein, The first discovery message is transmitted on a first SRB, the RRC signaling of the SL is transmitted on the first SRB or a second SRB, a third SRB for the PC5 signaling messages of the SL is configured through the RRC signaling of the SL, and if the third SRB is established, the PC5 signaling messages of the SL are transmitted on the third SRB.

5. The method according to any one of claims 1 to 4, wherein In the priority of the first discovery message, a priority of transmitting the first discovery message is higher than a priority of receiving the first discovery message.

6. A terminal, characterized by comprising: The terminal comprises: a transmission module configured to transmit a first discovery message of a sidelink (SL); wherein the first discovery message is transmitted between an upper layer and a MAC layer through a control logical channel, and a priority of the first discovery message is determined according to a bearer corresponding to the logical channel; wherein the first discovery message and a first message of the SL are transmitted on at least two SRBs, the first message of the SL comprises RRC signaling of the SL and PC5 signaling messages of the SL, and a priority of the RRC signaling of the SL is higher than or equal to a priority of the first discovery message, and the priority of the first discovery message is higher than or equal to a priority of the PC5 signaling messages of the SL.

7. The terminal according to claim 6, characterized by The terminal further comprises: a determination module configured to determine priorities of UL messages and SL messages according to a first threshold value and a second threshold value; The processing module is configured to perform transmission processing on the UL message and the SL message according to priorities of the UL message and the SL message, wherein the SL message comprises at least one of data of the SL, a PC5 signaling message of the SL, and the first discovery message.

8. The terminal of claim 7, wherein, The transmission processing on the UL message and the SL message according to the priorities of the UL message and the SL message comprises: If the priority of the UL message is not lower than the first threshold value and the priority of the SL message is lower than the second threshold value, the SL message is prioritized.

9. A terminal, characterized by comprising: comprises: A memory, a processor, and a program stored in the memory and executable on the processor, and the program, when executed by the processor, implements the steps in the message transmission method according to any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that, The computer program is stored in the computer readable storage medium and, when executed by the processor, implements the steps in the message transmission method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Methods and apparatuses for transmission scheduling in a wireless communication system

    CN109891987A

  • D2d peer discovery and data transmission

    US20170041863A1