Data transmission method and device, service switching method and device

By obtaining Sidelink's service quality information for bearer configuration and data packet mapping, the problem of lack of Sidelink service quality assurance and bearer solutions in new wireless communications is solved, and the performance requirements of advanced services in V2X communication scenarios are realized.

CN110831075BActive Publication Date: 2024-08-27ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810912164.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-08-10
Publication Date
2024-08-27
Estimated Expiration
2038-09-01

AI Technical Summary

Technical Problem

There is a lack of existing technology suitable for Sidelink service quality assurance and bearer solutions in new wireless communications. In particular, it is difficult to meet the high-performance requirements of advanced services for packet size, transmission rate, delay and reliability in V2X communication scenarios.

Method used

By obtaining the service quality QoS information of the data packets to be transmitted on the direct link Sidelink, the Sidelink bearer is configured, and based on this information, the data packets to be transmitted are mapped to the Sidelink bearer and transmitted to the second terminal to realize the service between the Uu interface and the PC5 interface. switching to ensure service quality.

Benefits of technology

It provides solutions suitable for Sidelink service quality assurance and bearer configuration and mapping in new wireless communications, solving the problem of lack of suitable solutions in related technologies and meeting the performance requirements of advanced V2X services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110831075B
    Figure CN110831075B
Patent Text Reader

Abstract

The present application provides a data transmission method and device, a service switching method and device, wherein the data transmission method includes: a first terminal obtains first information of the quality of service QoS of a data packet to be transmitted on a direct link Sidelink, the first terminal performs sidelink bearer configuration, and maps the data packet to be transmitted to the Sidelink bearer and transmits it to the second terminal based on the first information. By adopting the above scheme, Sidelink service transmission is performed based on the first information related to QoS, and a scheme for Sidelink service quality assurance and bearer configuration applicable to new wireless is provided, which solves the problem of lack of Sidelink service quality assurance and bearer configuration scheme applicable to new wireless in related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to the field of communications, and specifically, to a data transmission method and device, and a service switching method and device. Background Art

[0002] In related technologies, the Internet of Vehicles refers to a large-scale system network that conducts wireless communication and information exchange between vehicles and X (X: vehicles, pedestrians, roadside equipment, and the Internet, etc.) in accordance with agreed communication protocols and data interaction standards. Through Internet of Vehicles communication, vehicles can achieve driving safety, improve traffic efficiency, and obtain convenient or entertainment information. Classified by the objects of wireless communication, Internet of Vehicles communication includes three different types: vehicle-to-vehicle communication (V2V for short), vehicle-to-roadside equipment / network infrastructure communication (V2I / V2N for short), and vehicle-to-pedestrian communication (V2P for short), collectively referred to as V2X communication. Figure 1 It is a scenario diagram of V2X Sidelink service in related technologies, such as Figure 1 As shown, a base station, UE1, UE2 and UE3 are included, and Sidelink service transmission is performed between the three terminals.

[0003] In the V2X communication research based on LTE (Long Term Evolution) organized by 3GPP (3rd Generation Partnership Project), the V2X communication method based on the direct / sidelink link between user equipment (UE) is one of the ways to implement the V2X standard, that is, the service data is directly transmitted from the source user equipment to the target user equipment through the air interface without being forwarded by the base station and the core network, such as Figure 1 As shown, this V2X communication mode is referred to as PC5-based V2X communication or V2X sidelink communication.

[0004] With the advancement of technology and the development of the automation industry, V2X communication scenarios have been further extended and have higher performance requirements. Advanced V2X services are mainly divided into four categories: vehicle platooning, extended sensors, advanced driving (semi-automated or full-automated driving) and remote driving. Required performance requirements: data packet size supports 50 to 12,000 bytes, transmission rate 2 to 50 messages per second, maximum end-to-end delay 3-500 milliseconds, reliability 90%-99.999%, data rate 0.5-1000Mbps, and transmission range supports 50-1000 meters. 3GPP has launched a project to study vehicle network communication based on the fifth generation of mobile communication technology (5G, 5th Generation), including vehicle network communication based on 5G air interface and vehicle network communication based on 5G direct link (sidelink).

[0005] There is currently no effective solution to the problem that there is a lack of sidelink service quality assurance and bearer solutions suitable for new wireless networks in related technologies. Summary of the invention

[0006] The embodiments of the present application provide a data transmission method and device, and a service switching method and device, so as to at least solve the problem in the related art of lacking a solution suitable for determining the Sidelink service quality assurance and bearing in the new wireless.

[0007] According to one embodiment of the present application, a data transmission method is provided, including: a first terminal obtains first information on the quality of service QoS of a data packet to be transmitted on a direct link Sidelink; performs a sidelink bearer configuration; and based on the first information, maps the data packet to be transmitted to a Sidelink bearer and transmits it to a second terminal.

[0008] According to another embodiment of the present application document, a service switching method is also provided, including: a first terminal obtains service switching information; and performs service switching according to the service switching information, wherein the service switching is used to switch the data packet to be transmitted between the Uu interface and the PC5 interface.

[0009] According to another embodiment of the present application document, a data transmission device is also provided, including: a first acquisition module, used to obtain first information on the quality of service QoS of a data packet to be transmitted on a direct link Sidelink; a first configuration module, used to perform sidelink bearer configuration; and a first mapping module, used to map the data packet to be transmitted to a Sidelink bearer and transmit it to a second terminal based on the first information.

[0010] According to another embodiment of the present application document, a service switching device is also provided, including: a second acquisition module, used by a first terminal to obtain service switching information; a second switching module, used to perform service switching based on the service switching information, wherein the service switching is used to switch the data packet to be transmitted between the Uu interface and the PC5 interface.

[0011] According to another embodiment of the present application, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0012] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0013] Through this application, the first terminal obtains the first information of the quality of service QoS of the data packet to be transmitted in the direct link Sidelink, and the first terminal performs the sidelink bearer configuration. According to the first information, the data packet to be transmitted is mapped to the Sidelink bearer and transmitted to the second terminal. By adopting the above scheme, the Sidelink service transmission is performed according to the first information related to QoS, and a scheme for Sidelink service quality assurance, bearer configuration and mapping applicable to the new wireless is provided, which solves the problem of the lack of Sidelink service quality assurance and determination of Sidelink bearer scheme applicable to the new wireless in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0015] Figure 1 It is a scenario diagram of V2X Sidelink service in the related technology;

[0016] Figure 2 It is a hardware structure block diagram of a mobile terminal of a data transmission method according to an embodiment of the present application;

[0017] Figure 3 is a flow chart of a data transmission method according to an embodiment of the present application;

[0018] Figure 4 It is a schematic diagram of UE data mapping according to specific embodiment 2 of this application document;

[0019] Figure 5 It is a schematic diagram of Sidelink unicast bearer configuration according to specific embodiment 2 of this application document;

[0020] Figure 6 It is a schematic diagram of service switching based on V2X data packets according to specific embodiment 3 of this application document;

[0021] Figure 7 It is a flow chart of the service switching from the Uu interface service to the PC5 according to the specific embodiment 3 of the present application document;

[0022] Figure 8 It is a flow chart of switching services from the PC5 interface to the Uu interface according to the specific embodiment 3 of the present application document;

[0023] Fig. 9 It is a schematic diagram of service switching based on V2X data packets according to specific embodiment 4 of the present application document;

[0024] Fig.10 is a schematic diagram of service switching based on QoS flow according to specific embodiment 4 of the present application document;

[0025] Fig.11 This is a schematic diagram of the service switching process from the Uu interface to the PC5 according to the specific embodiment 5 of the present application. Figure 1 ;

[0026] Fig.12 This is a schematic diagram of the service switching process from the Uu interface to the PC5 according to the specific embodiment 5 of the present application. Figure 2 ;

[0027] Fig.13 This is a schematic diagram of the PC5 to Uu service switching process according to specific embodiment 5 of the present application. DETAILED DESCRIPTION

[0028] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0030] Embodiment 1

[0031] In the embodiment of the present application, a mobile communication network (including but not limited to a 5G mobile communication network) is provided, and the network architecture of the network may include network-side devices (such as base stations) and terminals. In the present embodiment, an information transmission method that can be run on the above network architecture is provided. It should be noted that the operating environment of the above information transmission method provided in the embodiment of the present application is not limited to the above network architecture.

[0032] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 2 1 is a hardware structure block diagram of a mobile terminal of a data transmission method according to an embodiment of the present application. Figure 2 As shown, the mobile terminal 20 may include one or more ( Figure 2 Only one is shown in the figure) a processor 202 (the processor 202 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 204 for storing data. Optionally, the mobile terminal may also include a transmission device 206 for communication functions and an input and output device 208. It can be understood by those skilled in the art that Figure 2 The structure shown is for illustration only and does not limit the structure of the mobile terminal. Figure 2 More or fewer components as shown, or with Figure 2 Different configurations are shown.

[0033] The memory 204 can be used to store software programs and modules of application software, such as program instructions / modules corresponding to the data transmission method in the embodiment of the present application. The processor 202 executes various functional applications and data processing by running the software programs and modules stored in the memory 204, that is, to implement the above method. The memory 204 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include a memory remotely arranged relative to the processor 202, and these remote memories may be connected to the mobile terminal 20 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0034] The transmission device 206 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal 20. In one example, the transmission device 206 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 206 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0035] In this embodiment, a data transmission method running on the above mobile terminal is provided. Figure 3 is a flow chart of a data transmission method according to an embodiment of the present application, such as Figure 3 As shown, the process includes the following steps:

[0036] Step S302, the first terminal obtains first information of quality of service QoS of a data packet to be transmitted on the through link Sidelink;

[0037] Step S304, performing sidelink bearer configuration;

[0038] Step S306: Map the data packet to be transmitted to a Sidelink bearer and transmit it to the second terminal according to the first information.

[0039] The above-mentioned data packet to be transmitted may be a Sidelink data packet.

[0040] Through the above steps, the first terminal obtains the first information of the quality of service QoS of the data packet to be transmitted on the direct link Sidelink, and the first terminal performs sidelink bearer configuration, and maps the data packet to be transmitted to the Sidelink bearer and transmits it to the second terminal according to the first information. By adopting the above scheme, the Sidelink service transmission is performed according to the first information related to QoS, and a scheme suitable for mapping Sidelink bearers in new wireless is provided, which solves the problem of lack of schemes suitable for determining Sidelink bearers in new wireless in related technologies.

[0041] The technical solution regarding Sidelink bearer in this application document can be applied to logical channels.

[0042] Optionally, the execution subject of the above steps may be a mobile terminal such as a vehicle, but is not limited thereto.

[0043] Optionally, the first information includes at least one of the following: second information, including the fifth generation mobile system service quality identifier 5QI and / or transmission range corresponding to the data packet to be transmitted; third information, including at least one of the following information corresponding to the data packet to be transmitted: priority, reliability, transmission delay, data rate, packet error rate, transmission range; fourth information, including Sidelink QoS rules; fifth information, including Sidelink QoS profile profile.

[0044] Optionally, when the first information is the second information or the third information, the first terminal obtains the first information about the quality of service QoS of the direct link Sidelink, including: the first terminal obtains the second information or the third information from the V2X application layer. V2X can be data transmission between a vehicle and an X element, including vehicle-to-vehicle communication, vehicle-to-person communication, vehicle-to-device communication, etc.

[0045] Optionally, when the first information is the fourth information and / or the fifth information, the first terminal obtains first information about the quality of service QoS of the direct link Sidelink, including one of the following: the first terminal obtains the fourth information and / or the fifth information from the V2X control function entity; the first terminal obtains the fourth information and / or the fifth information from the pre-configuration information; the first terminal obtains the fourth information from the network side access and mobility management function entity.

[0046] The fourth information includes at least one of the following information: 5QI, guaranteed flow bit rate (Guaranteed Flow Bit Rate, referred to as GFBR), maximum flow bit rate (Maximum Flow Bit Rate, referred to as MFBR), and average window.

[0047] Optionally, the QoS rules of the Sidelink are the same as the QoS rules of a Uu (User equipment / user device, referred to as Uu interface) of the first terminal, or are different from the QoS rules of the Uu interface of the first terminal.

[0048] Optionally, sidelink bearer configuration is performed, including one of the following: the first terminal autonomously configures the sidelink bearer based on the fourth information and / or the fifth information; the first terminal sends the Sidelink bearer configuration information to the second terminal, and receives the Sidelink bearer configuration response information fed back by the second terminal, and configures the Sidelink bearer based on the Sidelink bearer configuration response information.

[0049] Optionally, the Sidelink bearer configuration information includes at least one of the following: bearer identifier, SDAP (Service Data Adaptation Protocol) configuration, PDCP (Packet Data Convergence Protocol) configuration, RLC (Radio Link Control) configuration, logical channel configuration, mirror QoS indication, QoS parameters. QoS parameters include multiple information 5QI, GFBR, MFBR, averagingwindow

[0050] Optionally, at least one of the following is also included:

[0051] The SDAP configuration includes at least one of the following: NULL, default bearer indication, a list of QoS flows mapped to the bearer, and whether the SDAP subheader is included;

[0052] PDCP configuration includes at least one of the following: packet discard timer, PDCP sequence number length, header compression, reordering timer;

[0053] The RLC configuration includes at least one of the following: unconfirmed mode or confirmed mode, polling related configuration in confirmed mode, maximum number of retransmissions in confirmed mode, and whether out-of-order delivery is supported;

[0054] The logical channel configuration includes at least one of the following: a logical channel identifier, a logical channel priority, a priority guaranteed bit rate, a bucket size duration, a subcarrier spacing, an associated sidelink bandwidth part (BandWidth Part, referred to as BWP) index, and an associated carrier indication;

[0055] The QoS parameters include at least one of the following: 5QI, allocation reservation priority, UE PC5 interface maximum aggregate bit rate UE-PC5-AMBR, PC5 guaranteed flow bit rate GFBR, PC5 maximum flow bit rate MFBR, PC5 mirror QoS indication, priority, packet delay, packet error rate, reliability, and resource type.

[0056] Optionally, the sidelink bearer configuration response information includes at least one of the following: a list of sidelink bearers supported by the second terminal; a list of sidelink bearers not supported by the second terminal. It may also include the reason why the second terminal does not support the sidelink bearer.

[0057] Optionally, performing sidelink bearer configuration includes: the first terminal receiving Sidelink bearer configuration information sent by a base station; and configuring the Sidelink bearer according to the Sidelink bearer configuration information.

[0058] Optionally, based on the first information, the data packet to be transmitted is mapped to the Sidelink bearer for transmission, including one of the following: when the first information is the second information, the data packet to be transmitted associated with the first 5QI is mapped to the Sidelink bearer associated with the first 5QI for transmission; when the first information is the fourth information, based on the Sidelink rules and Sidelink bearer configuration information, the data packet to be transmitted is mapped to the corresponding Sidelink bearer for transmission.

[0059] Optionally, mapping the data packet to be transmitted to a corresponding Sidelink bearer for transmission according to the Sidelink rules, including: the first terminal mapping the data packet to be transmitted to a QoS flow according to the Sidelink rules; and the Sidelink SDAP entity of the first terminal mapping the QoS flow to a Sidelink bearer for transmission.

[0060] Optionally, it includes: in the first terminal, the Sidelink SDAP entity is the same as the Uu SDAP entity, or the Sidelink SDAP entity is different from the Uu SDAP entity.

[0061] Optionally, the Sidelink SDAP entity of the first terminal maps the QoS flow to a Sidelink bearer for transmission, including:

[0062] When NULL is indicated in the SDAP configuration information in the Sidelink bearer configuration information or the QoS flow list mapped to the Sidelink bearer is empty, the first terminal determines a mapping rule between the QoS flow and the Sidelink bearer;

[0063] When the QoS flow list indicated in the SDAP configuration information in the Sidelink bearer configuration information and mapped to the Sidelink bearer is non-empty, the first terminal maps the QoS flow to the Sidelink bearer for transmission according to the mapping relationship of the non-empty list;

[0064] When the QoS flow list mapped to the Sidelink bearer indicated in the SDAP configuration information in the Sidelink bearer configuration information is non-empty and there is an indication of supporting mirrored QoS, the first terminal SDAP entity marks the QoS flow identifier QFI corresponding to the QoS flow data packet.

[0065] Optionally, the QFI and QoS flow are used to provide a basis for the opposite end UE to update a first mapping relationship, wherein the first mapping relationship is a mapping relationship between the QFI and the Sidelink bearer stored by the opposite end UE.

[0066] Optionally, according to the first information, after mapping the data packet to be transmitted to the Sidelink bearer and transmitting it to the second terminal, the first terminal obtains service switching information; performs service switching according to the service switching information, wherein the service switching is used to switch the data packet to be transmitted between the Uu interface and the PC5 interface.

[0067] Optionally, the service switching information includes at least one of the following: application layer information, access layer information, and service switching indication information configured by the base station.

[0068] Optionally, at least one of the following is included:

[0069] The application layer information includes at least one of the following: data packet service type, QoS flow service type, QoS requirement information, wherein the QoS requirement information includes at least one of: priority, delay, reliability, transmission rate, data rate, and transmission range;

[0070] The access layer information includes at least one of the following: Uu interface link quality, Uu interface reference signal receiving power, Uu interface bearer and QoS parameters, Uu interface congestion level, PC5 interface link quality, PC5 connection establishment status, PC5 interface channel busy-idle rate, PC5 interface discovery signal receiving power, PC5 interface synchronization signal receiving power, PC5 interface resource conflict probability, PC5 interface congestion, PC5 interface bearer and QoS parameters;

[0071] The service switching indication information configured by the base station includes at least one of the following: service switching indication, Uu link quality threshold, PC5 link quality threshold, delay threshold, reliability threshold, data rate threshold, service type, application type, switched PC5QoS flow service quality flow identifier QFI, the mapping relationship between the switched PC5QoS flow and DRB, the switched Uu QoSflow information, and the mapping relationship between the switched Uu QoS flow and the sidelink bearer.

[0072] Optionally, the Uu QoS flow information includes: PDU session identifier, QFI.

[0073] Optionally, performing service switching according to the service switching information includes one of the following:

[0074] When the first terminal application layer determines that the fourth data packet is transmitted through the Uu interface, the first terminal maps the fourth data packet to a fourth QoS flow through the Uu interface QoS rules, and the first terminal SDAP entity maps the fourth QoS flow to DRB transmission;

[0075] When the first terminal application layer determines that the fifth data packet is transmitted through the PC5 interface, the first terminal application layer sets a fifth 5QI corresponding to the fifth data packet, and the first terminal maps the fifth data packet to a Sidelink bearer associated with the fifth 5QI;

[0076] The first terminal switches and maps the QoS flow of the fourth QFI transmitted by the Uu interface to the Sidelink bearer associated with the same 5QI or the fourth QFI in the PC5 interface;

[0077] The first terminal obtains the sixth data packet of the sixth 5QI associated with the PC5 interface, and maps the sixth data packet to the sixth QoS flow of the sixth 5QI in the Uu interface, or maps it to the newly established seventh QoS flow; the first terminal SDAP entity maps the sixth QoS flow or the seventh QoS flow to the DRB;

[0078] When the first terminal determines that the seventh data packet is transmitted on the PC5 interface according to the service switching information, the first terminal maps the seventh data packet to the PC5QoS flow through the PC5QoS rules, and the SDAP entity of the first terminal maps the PC5QoS flow to the Sidelink bearer for transmission;

[0079] After the first terminal maps the data packet to the eighth QoS flow according to the QoS rules, when determining to transmit the eighth QoS flow through the Uu interface, the first terminal SDAP entity indicates the eighth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the eighth QoS flow to the DRB transmission according to the eighth information;

[0080] After the first terminal maps the data packet to the ninth QoS flow according to the QoS rules, when determining to transmit the ninth QoS flow through the PC5 interface, the first terminal SDAP entity indicates the ninth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the ninth QoS flow to the Sidelink bearer for transmission based on the ninth information.

[0081] Optionally, after performing service switching according to the service switching information, the method also includes at least one of the following: the first terminal sends a first notification message to the base station, and the base station updates the mapping relationship between DRB and QFI according to the first notification message; the first terminal sends a second notification message to the second terminal, wherein the second terminal updates the mapping relationship between the Sidelink bearer and QFI according to the second notification message, or releases the PC5 connection with the first terminal.

[0082] According to another embodiment of the present application document, a service switching method is also provided, comprising the following steps:

[0083] Step 1: The first terminal obtains service switching information;

[0084] Step 2: Perform service switching according to the service switching information, wherein the service switching is used to switch the data packet to be transmitted between the Uu interface and the PC5 interface.

[0085] By adopting the above scheme, the first terminal obtains the service switching information and switches according to the service switching information, providing a service switching method between the Uu interface and the PC5 interface suitable for the new wireless, thereby solving the problem in the related technology of lack of a solution for switching services between the Uu interface and the PC5 interface suitable for the new wireless.

[0086] Optionally, the service switching information includes at least one of the following: application layer information, access layer information, and service switching indication information configured by the base station.

[0087] Optionally, at least one of the following is included:

[0088] The application layer information includes at least one of the following: data packet service type, QoS flow service type, QoS requirement information, wherein the QoS requirement information includes at least one of: priority, delay, reliability, transmission rate, data rate, and transmission range;

[0089] The access layer information includes at least one of the following: Uu interface link quality, Uu interface reference signal receiving power, Uu interface bearer and QoS parameters, Uu interface congestion level, PC5 interface link quality, PC5 connection establishment status, PC5 interface channel busy-idle rate, PC5 interface discovery signal receiving power, PC5 interface synchronization signal receiving power, PC5 interface resource conflict probability, PC5 interface congestion, PC5 interface bearer and QoS parameters;

[0090] The service switching indication information configured by the base station includes at least one of the following: service switching indication, Uu link quality threshold, PC5 link quality threshold, delay threshold, reliability threshold, data rate threshold, service type, application type, switched PC5QoS flow service quality flow identifier QFI, the mapping relationship between the switched PC5QoS flow and DRB, the switched Uu QoSflow information, and the mapping relationship between the switched Uu QoS flow and the sidelink bearer.

[0091] Uu QoS flow information includes: PDU session identifier, QFI

[0092] Optionally, performing service switching according to the service switching information includes one of the following:

[0093] The first terminal autonomously decides to switch the service according to the service switching information;

[0094] The first terminal obtains the service switching indication information sent by the base station, and performs service switching according to the service switching indication information.

[0095] Optionally, performing service switching according to the service switching information includes one of the following:

[0096] Performing service switching for each data packet according to the service switching information;

[0097] Perform service switching for each QoS flow according to the service switching information.

[0098] Optionally, performing service switching according to the service switching information includes one of the following:

[0099] When the first terminal application layer determines that the fourth data packet is transmitted through the Uu interface, the first terminal maps the fourth data packet to a fourth QoS flow through the Uu interface QoS rules, and the first terminal SDAP entity maps the fourth QoS flow to DRB transmission;

[0100] When the first terminal application layer determines that the fifth data packet is transmitted through the PC5 interface, the first terminal application layer sets a fifth 5QI corresponding to the fifth data packet, and the first terminal maps the fifth data packet to a Sidelink bearer associated with the fifth 5QI;

[0101] The first terminal switches and maps the QoS flow of the fourth QFI transmitted by the Uu interface to the Sidelink bearer associated with the same 5QI or the fourth QFI in the PC5 interface;

[0102] The first terminal obtains the sixth data packet of the sixth 5QI associated with the PC5 interface, and maps the sixth data packet to the sixth QoS flow of the sixth 5QI in the Uu interface, or maps it to the newly established seventh QoS flow; the first terminal SDAP entity maps the sixth QoS flow or the seventh QoS flow to the DRB;

[0103] When the first terminal determines that the seventh data packet is transmitted on the PC5 interface according to the service switching information, the first terminal maps the seventh data packet to the PC5QoS flow through the PC5QoS rules, and the SDAP entity of the first terminal maps the PC5QoS flow to the Sidelink bearer for transmission;

[0104] After the first terminal maps the data packet to the eighth QoS flow according to the QoS rules, when determining to transmit the eighth QoS flow through the Uu interface, the first terminal SDAP entity indicates the eighth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the eighth QoS flow to the DRB transmission according to the eighth information;

[0105] After the first terminal maps the data packet to the ninth QoS flow according to the QoS rules, when determining to transmit the ninth QoS flow through the PC5 interface, the first terminal SDAP entity indicates the ninth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the ninth QoS flow to the Sidelink bearer for transmission according to the ninth information;

[0106] Optionally, the first terminal determines to transmit data on the Uu interface based on the service switching information, maps the data packet to be transmitted to the QoS flow according to QoS rules, and the SDAP entity of the first terminal maps the QoS flow to the data radio bearer DRB for transmission.

[0107] Optionally, mapping the sixth QoS flow, the seventh QoS flow, or the eighth QoS flow to a DRB by the first terminal SDAP entity includes one of the following:

[0108] The SDAP entity of the first terminal maps the sixth or seventh or eighth QoS flow to the DRB transmission according to the mapping relationship between the QoS flow and the DRB in the sidelink bearer configuration;

[0109] When the mapping relationship between the QoS flow and the DRB is not configured, the SDAP entity of the first terminal maps the sixth or seventh or eighth QoS flow to a default DRB transmission;

[0110] When the QoS flow and DRB mapping relationship is not configured, the first terminal initiates a session request to establish a new session and configures the QoS flow and DRB mapping relationship, or the first terminal initiates a session request to modify the current session and configures the QoS flow and DRB mapping relationship.

[0111] Optionally, before the first terminal SDAP entity maps the PC5QoS flow to a Sidelink bearer for transmission, the method further includes the first terminal acquiring a second mapping relationship between the PC5QoS flow and the Sidelink bearer in one of the following ways:

[0112] The first terminal autonomously determines the second mapping relationship;

[0113] Receive the second mapping relationship configured by the base station;

[0114] The first terminal negotiates with the opposite terminal to determine the second mapping relationship;

[0115] Mirror mapping is performed according to the third mapping relationship between the PC5QoS flow of the opposite terminal and the Sidelink bearer to obtain the second mapping relationship.

[0116] Optionally, after performing service switching according to the service switching information, the method further includes at least one of the following:

[0117] The first terminal sends a first notification message to the base station, indicating that the tenth QoS flow transmitted on the Uu interface is switched to the PC5 interface, and the base station updates the mapping relationship between the DRB and the QFI according to the first notification message, that is, the first notification message can indicate which QoS flows in the Uu interface are switched; the base station configures a sidelink bearer for the first terminal according to the QoS parameters of the QoS flow in the indicated first notification message;

[0118] The first terminal sends a second notification message to the second terminal, wherein the second terminal updates a mapping relationship between the Sidelink bearer and the QFI according to the second notification message, or releases a PC5 connection with the first terminal.

[0119] Optionally, the first notification message includes an indication that the tenth QoS flow transmitted on the Uu interface is switched to the PC5 interface.

[0120] Optionally, after sending the first notification information to the base station, the first terminal receives a Sidelink bearer configuration configured by the base station for the first terminal according to the QoS parameters of the tenth QoS flow.

[0121] The following are specific embodiments of the present application document.

[0122] Specific embodiment 1: QoS mechanism based on 5QI

[0123] Solution 1: The V2X application layer associates the V2X packet with the corresponding 5QI. The V2X application layer carries the 5QI corresponding to the packet when passing the V2X packet to the AS layer. Each SL LCH is associated with one or more 5QIs (the mapping relationship between SL LCH and 5QI is implemented by the UE or configured by the eNB). The UE maps the packet to the SLLCH associated with the same 5QI based on the 5QI associated with the V2X packet.

[0124] 5QI can be standardized, preconfigured or dynamically allocated. Each 5QI contains at least one of the following: priority, latency, false alarm rate, resource type, averaging window. In addition, when the V2X application layer passes the V2X packet to the AS layer, it can also carry the required transmission range.

[0125] Another solution 2 of the specific embodiment 1, in R14V2X SL, when the upper layer sends a V2X data packet to the AS layer, it carries its PPPP (PDB can be derived) and PPPR. Each SL LCH is associated with a priority, and the UE maps the data packet to the SL LCH with the same priority for transmission. After the UE AS obtains the delay according to the priority, it tells the physical layer the delay requirement, and the physical layer considers the delay when selecting resources.

[0126] It can be considered that based on the R14 mechanism, when the V2X application layer passes the V2X data packet to the AS layer, it also carries the data transmission rate and transmission range in addition to PPPP and PPPR.

[0127] Compared with Solution 2, Solution 1 requires the V2X application layer to only provide a 5QI value instead of a set of parameters, thus reducing overhead.

[0128] Specific embodiment 2: QoS mechanism based on QoS flow

[0129] The UE is pre-configured with or obtains sidelink QoS rules from the V2X control function for mapping V2X packets to sidelink QoS flows; the UE is pre-configured with or obtains sidelink QoS profiles from the V2X control function for reference in establishing SL RB (sidelink radio bearer).

[0130] Figure 4 is a schematic diagram of UE data mapping according to specific embodiment 2 of this application document, such as Figure 4 As shown in the figure, the UE maps V2X packets to QoS flows according to the sidelink QoS rules (each QoS flow is associated with a QFI). The UE finds the QoS parameters in the corresponding QoS profile according to the QFI of the QoS flow, and then establishes the SL RB according to the QoS parameters; multiple QoS flows can be transmitted through one SL RB, and the mapping relationship between QFI and SL RB can be implemented by the UE. The sidelink adds an SDAP layer, and maps the QoS flow to the SL RB through the SDAP layer, with one SDAP entity for each UE. For sidelink broadcast / multicast communications, the UE autonomously establishes a sidelink bearer based on the arriving data packets and their corresponding QoS parameters. This method can also be used for sidelink unicast communications.

[0131] In addition, for sidelink unicast communication, UEs can negotiate to establish a sidelink bearer. Specifically:

[0132] The source UE sends sidelink bearer related configuration information to the target UE, including at least one of the following: bearer identifier, SDAP configuration, PDCP configuration, RLC configuration, logical channel configuration, mirror QoS indication, and QoS parameters; wherein the SDAP configuration includes at least one of the following: NULL, default bearer indication, QoS flow list (QFIs) mapped to the bearer, and whether to include an SDAP subheader; the PDCP configuration includes at least one of the following: packet discard timer, PDCP sequence number length, header compression, and reordering timer; the RLC configuration includes at least one of the following: non-confirmation mode or confirmation mode, polling related configuration in confirmation mode, maximum number of retransmissions in confirmation mode, and whether to deliver out of order; the logical channel configuration includes at least one of the following: logical channel identifier, logical channel priority, priority guaranteed bit rate, bucket size duration, subcarrier spacing, associated sidelink BWP index, and associated carrier indication. If the SDAP configuration indicates NULL or the QoS flow list mapped to the bearer is empty, the mapping relationship between QoS flow and SL RB is implemented by the sending UE itself; if the QoS flow list mapped to the bearer is not empty, the UE and the UE will map QoS flow to SL RB according to the mapping relationship; if the QoS flow list mapped to the bearer is not empty and there is an indication of supporting mirrored QoS, the UE SDAP entity marks the QFI corresponding to the data packet, and the peer UE can update the mapping relationship between SL RB and QFI (QoS flow) according to the QFI mark of the data packet and its sending SL RB. QoS parameters include at least one of the following: 5QI, allocation reservation priority, UE PC5 interface maximum aggregate bit rate UE-PC5-AMBR, PC5 guaranteed flow bit rate GFBR, PC5 maximum flow bit rate MFBR, PC5 mirrored QoS indication, priority, packet delay, packet error rate, reliability, resource type.

[0133] After receiving the sidelink bearer configuration information, the target UE evaluates whether it can support these sidelink bearer configurations and feeds back sidelink bearer configuration response information, including: a list of supported sidelink bearers, a list of unsupported sidelink bearers, reasons for unsupport, etc. The reasons for unsupport may be: failure to guarantee QoS requirements, insufficient sidelink resources, high probability of sidelink resource conflicts, etc.

[0134] The sidelink bearer related configuration information and the sidelink bearer configuration response information may be independent PC5 signaling messages, or may be carried in PC5 connection establishment and response messages. Figure 5 It is a schematic diagram of the Sidelink unicast bearer configuration according to the specific embodiment 2 of this application document.

[0135] In addition, for connected UEs, the base station can configure the sidelink bearer for the UE. UE NAS obtains the sidelink QoS rules from AMF and maps the V2X packet to the QoS flow; the gNB obtains the QoS profiles from AMF to configure the sidelink bearer for the UE, as well as the optional mapping relationship between SL RB and QoS flow (QFI); the UE SDAP entity maps the QoS flow to SL RB transmission. Among them, the sidelink QoS rules can be common with the Uu QoS rules. The gNB configures the sidelink bearer for the UE, including at least one of the following: bearer identifier, SDAP configuration, PDCP configuration, RLC configuration, logical channel configuration, mirror QoS indication, and QoS parameters.

[0136] Regarding the SL RB related configuration of the receiving UE: 1) The gNB broadcasts the SL RB related configuration information of the sending UE (identified by its dest ID) through a broadcast message; 2) If the gNB knows the peer UE (connected state) of the sending UE, the gNB can configure SL RB for the peer UE; 3) The sending UE sends the SL RB configuration to the receiving UE.

[0137] Specific embodiment 3, traffic switch:

[0138] Service switching based on the QoS framework of specific embodiment 1:

[0139] Traffic switch from Uu to PC5:

[0140] UE1 is within coverage, UE1 sends V2X messages (V2V / V2I / V2N / V2P) through the NR air interface, and then the network sends certain V2X messages to interested UEs.

[0141] If the UE can obtain PC5 communication resources, when the Uu interface is heavily loaded or congested, or some service delay QoS cannot be met, or the Uu interface link quality deteriorates, and the PC5 interface is lightly loaded, resources are sufficient, and the channel busy / idle rate is low, you can consider switching some V2V services to the PC5 interface for transmission.

[0142] If the UE detects that a peer UE that was originally communicating through the Uu interface moves to the adjacent service range, and discovers the peer UE through sidelink discovery, the application layer can identify that the UE discovered through Uu communication and SL discovery is the same UE, and the UE establishes a PC5 connection with the peer UE. When the Uu interface is heavily loaded or congested, or some service delay QoS cannot be met, or the Uu interface link quality deteriorates, some V2V services are switched to the PC5 interface for transmission.

[0143] For PC5 to Uu service switching, when the UE detects that it has entered coverage, it establishes an RRC connection with the base station. If the PC5 interface is congested or the channel busy / idle rate is high or the probability of resource conflict is high or the PC5 link quality deteriorates, the UE can switch the PC5 interface service to the Uu interface transmission.

[0144] There are two methods for traffic switch:

[0145] 1) Based on V2X packet switching,

[0146] Figure 6 is a schematic diagram of service switching based on V2X data packets according to specific embodiment 3 of this application document, such as Figure 6 As shown in the figure, for Uu to PC5, the application layer switches the V2V packet originally transmitted through Uu to the PC5 interface for transmission according to the service type, latency, reliability, etc., associates the packet with 5QI, and provides it to the AS layer. Each SL LCH is associated with one or more 5QIs, and the AS layer maps the packet to the SL LCH associated with the same 5QI. The AS layer needs to provide information such as Uu interface load, Uu link quality, PC5 interface status (connected / available), PC5 resource utilization, PC5 channel busy / idle ratio, and PC5 link quality.

[0147] Similarly, for PC5 to Uu, the UE application layer switches the packet originally transmitted by PC5 to Uu, maps the packet to the QoS flow through Uu QoS rules, and then the UE SDAP entity maps the QoS flow to the corresponding DRB transmission.

[0148] 2) Based on QoS flow or 5QI switching,

[0149] Figure 7 is a flow chart of the service switching from the Uu interface service to the PC5 according to the specific embodiment 3 of the present application document, such as Figure 7As shown, for Uu to PC5, the QoS flow originally transmitted through the Uu interface (each QoS flow has a corresponding QFI and 5QI) is switched / mapped to the SL LCH (SL LCH is associated with 5QI). In this way, the application layer needs to provide the service type corresponding to the QoS flow to determine which QoS flow to switch. The AS layer provides the connection status, congestion, resource status, link quality, etc. of the Uu interface and the PC5 interface; the UE combines the application layer and AS layer information to comprehensively decide which QoS flow to switch to the PC5 interface.

[0150] Figure 8 It is a switching flow chart of the PC5 interface to Uu interface service according to the specific embodiment 3 of the present application document. For PC5 to Uu, based on 5QI, the V2X packets associated with a certain 5QI originally transmitted through the PC5 interface are mapped to the QoS flow with the same 5QI of the Uu interface or as a new QoS flow, and then mapped to the DRB transmission according to the mapping relationship between the QoS flow of the Uu interface and the DRB. If the mapping relationship between the QoS flow and the DRB is not configured, the QoS flow is mapped to the default DRB, or a PDU session modification / request process is initiated to establish a new DRB or update the mapping relationship between the QoS flow and the DRB to transmit the QoS flow.

[0151] Specific embodiment 4, the service switching based on the QoS framework of specific embodiment 2 is described as follows:

[0152] As above, there are two methods for switching services between the Uu interface and the PC5 interface:

[0153] 1) Switching based on packet granularity,

[0154] Fig. 9 is a schematic diagram of service switching based on V2X data packets according to specific embodiment 4 of the present application document, such as Fig. 9As shown in the figure, for the Uu to PC5 service switching, the application layer determines which are V2V services, and selects to switch some V2V services to PC5 interface transmission based on the service QoS requirements. The application layer maps the V2X packet to QoS flow (PC5) according to PC5QoS rules and submits it to the AS layer (PC5). The UE SDAP entity maps the PC5QoS flow to SL RB transmission, where the mapping relationship between PC5QoSflow and SL RB can be implemented by the UE or configured by the gNB. The AS layer is required to provide information such as the Uu interface and PC5 interface status (whether it is RRC / PC5 connection status), congestion, resource usage, link quality, etc.

[0155] Similarly, for PC5 to Uu service switching, the application layer switches some PC5 interface services to Uu interface transmission based on service QoS requirements, and then maps them to QoS flow (Uu) through Uu QoS rules and conventional Uu interface data routing processing.

[0156] 2) Switching based on QoS flow granularity,

[0157] Fig.10 is a schematic diagram of service switching based on QoS flow according to specific embodiment 4 of the present application document, such as Fig.10 As shown, for the switching of services from Uu to PC5, the UE application layer provides the service type and QoS requirements corresponding to the QoS flow, and the ASlayer provides the Uu interface and / or PC5 interface status, congestion, resource usage, link quality, PC5 interface SL RB and Uu interface DRB. The UE combines the application layer information and the AS layer information to decide whether to switch some services from the Uu interface to the PC5 interface for transmission and which QoS flow services to switch. The UE upper layer indicates to the SDAP layer whether the QoS flow is transmitted through Uu or PC5. For the QoS flow transmitted through PC5, the UE SDAP entity maps the QoS flow to the sidelink bearer for transmission. The mapping relationship between the QoS flow and the SL RB can be implemented by the UE or configured by the gNB. If there is no suitable SL RB for some QoS flows switched from Uu to PC5, it is necessary to establish a suitable SL RB first.

[0158] Similarly, for the switching of PC5 to Uu services, the UE comprehensively considers the application layer information and the AS layer information to decide whether to switch some services of the PC5 interface to the Uu interface for transmission and which QoS flow services to switch. The UE upper layer indicates to the SDAP layer whether the QoS flow is transmitted through Uu or PC5. For the QoS flow transmitted through Uu, the UE SDAP entity maps the QoS flow to DRB transmission according to the configured mapping relationship between QoS flow and DRB, and marks the data packet with QFI. If the Uu interface does not configure the mapping relationship between the QoS flow and DRB, the QoS flow is mapped to the default DRB, or a PDU session modification / request process is initiated to establish a new DRB or update the mapping relationship between QoS flow and DRB to transmit the QoS flow.

[0159] Specific embodiment 5, service switching signaling process:

[0160] This embodiment takes the switching of V2V service from Uu interface to PC5 interface for sidelink unicast communication as an example to illustrate the service switching signaling process. UE1 and UE2 originally communicated with each other through Uu interface. If UE1 detects that UE2 moves to the adjacent service range, it discovers the opposite UE2 through sidelink discovery. The application layer can recognize that the UE discovered through Uu communication and SLdiscovery is the same UE. After UE1 discovers UE2 through sidelink discovery, it switches the service by autonomous decision or base station control. Specifically:

[0161] 1) UE1 autonomously decides to switch some V2V services of the Uu interface to PC5 interface transmission to relieve the Uu load. Optionally, UE1 obtains service switching related information from the base station, including at least one of the following: Uu link quality threshold, PC5 link quality threshold, delay threshold, reliability threshold, data rate threshold; for example, when the Uu link quality is lower than the threshold, or the PC5 link quality is higher than the threshold, service switching can be considered, or for services with delay requirements higher than the threshold, or reliability requirements lower than the threshold, switching to PC5 interface transmission can be considered. UE1 measures the Uu link quality and PC5 link quality, establishes a PC5 connection and bearer configuration negotiation with UE2, and autonomously decides (refer to the base station configuration) to switch some V2V services transmitted by the Uu interface to PC5 interface transmission. The specific service switching is based on the sidelink QoS mechanism (Solution 1-based on 5QI QoS mechanism, or Solution 2-based on QoSflow QoS mechanism) and there are two methods (based on packet switching, or based on QoS flow switching). This embodiment takes QoS flow switching based on Solution 2 as an example. UE maps the switched Uu QoS flow to the sidelink bearer transmission and notifies gNB which QoS flow (PDU session ID, QFI) is switched to PC5. Optionally, UE1 and gNB update the mapping relationship between QFI and DRB. The specific process is as follows Fig.11 As shown, Fig.11 This is a schematic diagram of the service switching process from the Uu interface to the PC5 according to the specific embodiment 5 of the present application. Figure 1 .

[0162] 2) The base station controls service switching. Specifically, after UE1 discovers UE2 through sidelink discovery, UE1 reports the discovery of UE2 and the PC5 link quality to the gNB, and the base station sends a traffic switch indication. UE1 performs Uu to PC5 service switching. UE1 combines application layer information and access layer information to decide which QoS flows (QFI) of the Uu interface to switch to the PC5 interface (Uu QFI->SL RB). Optionally, UE1 reports to the gNB which QoS flows (PDU session ID, QFI) to switch, and the eNB configures the sidelink bearer for UE1 based on the QoS parameters of these QoS flows. UE1 establishes a PC5 connection with UE2 and sends the sidelink bearer configuration to UE2. UE1 maps the switched Uu QoS flow to SL RB transmission. The specific process is as follows: Fig.12 As shown, Fig.12 This is a schematic diagram of the service switching process from the Uu interface to the PC5 according to the specific embodiment 5 of the present application. Figure 2 .

[0163] This embodiment takes the switching of V2V service from PC5 interface sidelink unicast communication to Uu interface transmission as an example to illustrate the service switching signaling process. After UE1 and UE2 are discovered through sidelink discovery, they establish a PC5 connection and negotiate the sidelink bearer before performing sidelink communication. After a period of time, UE1 detects network coverage and establishes an RRC connection with the gNB. After UE1 enters the RRC connection state, it can independently decide whether and when to switch the PC5 interface V2V service to the Uu interface transmission. Optionally, UE1 reports PC5 interface status information to the gNB, such as: PC5 link quality, PC5 congestion, PC5 channel busy and idle rate, PC5 resource conflict, PC5 bearer and corresponding QoS parameter information, PC5 bearer and PC5 QoS flow mapping relationship, etc. The base station sends service switching indication information, including at least one of the following: service switching indication, Uu link quality threshold, PC5 link quality threshold, delay threshold, reliability threshold, switched PC5 QoS flow information (QFI), and switched PC5 QoS flow and DRB mapping relationship. UE1 decides autonomously or according to the gNB configuration information to switch PC5QoS flow to Uu interface transmission. If the gNB does not configure the mapping relationship between the switched PC5QoS flow (or the same QFI) and DRB, or there is no suitable DRB, UE1 initiates a PDUsession modification / request message to update the mapping relationship between DRB and QoS flow or create a new DRB and configure the mapped QoS flow. Optionally, UE1 and UE2 update the mapping relationship between PC5QoS flow and SL RB or release the PC5 connection. The specific process is as follows: Fig.13 As shown, Fig.13 This is a schematic diagram of the PC5 to Uu service switching process according to specific embodiment 5 of the present application.

[0164] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0165] Embodiment 2

[0166] In this embodiment, a device for data transmission and a service switching device are also provided, which are used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0167] According to an embodiment of the present application document, a data transmission device is provided, including:

[0168] A first acquisition module, used for acquiring first information of quality of service QoS of a data packet to be transmitted on a through link Sidelink;

[0169] A first configuration module is used to perform sidelink bearer configuration;

[0170] The first mapping module is used to map the data packet to be transmitted to the Sidelink bearer and transmit it to the second terminal according to the first information.

[0171] By adopting the above solution, Sidelink service transmission is performed according to the first information related to QoS, a solution suitable for mapping Sidelink bearers in new wireless networks is provided, which solves the problem of lack of a solution suitable for determining Sidelink bearers in new wireless networks in related technologies.

[0172] The technical solution regarding Sidelink bearer in this application document can be applied to logical channels.

[0173] Optionally, the execution subject of the above steps may be a mobile terminal such as a vehicle, but is not limited thereto.

[0174] Optionally, the first information includes at least one of the following: second information, including the fifth generation mobile system service quality identifier 5QI and / or transmission range corresponding to the data packet to be transmitted; third information, including at least one of the following information corresponding to the data packet to be transmitted: priority, reliability, transmission delay, data rate, packet error rate, transmission range; fourth information, including Sidelink QoS rules; fifth information, including Sidelink QoS profile profile.

[0175] Optionally, when the first information is the second information or the third information, the first terminal obtains first information about the quality of service QoS of the direct link Sidelink, including: the first terminal obtains the second information or the third information from the V2X application layer.

[0176] Optionally, when the first information is the fourth information and / or the fifth information, the first terminal obtains first information about the quality of service QoS of the direct link Sidelink, including one of the following: the first terminal obtains the fourth information and / or the fifth information from the V2X control function entity; the first terminal obtains the fourth information and / or the fifth information from the pre-configuration information; the first terminal obtains the fourth information from the network side access and mobility management function entity.

[0177] The fourth information includes at least one of the following information: 5QI, guaranteed flow bit rate (Guaranteed Flow Bit Rate, referred to as GFBR), maximum flow bit rate (Maximum Flow Bit Rate, referred to as MFBR), and average window.

[0178] Optionally, the QoS rules of the Sidelink are the same as the QoS rules of the Uu interface of the first terminal, or are different from the QoS rules of the Uu interface of the first terminal.

[0179] Optionally, sidelink bearer configuration is performed, including one of the following: the first terminal autonomously configures the sidelink bearer based on the fourth information and / or the fifth information; the first terminal sends the Sidelink bearer configuration information to the second terminal, and receives the Sidelink bearer configuration response information fed back by the second terminal, and configures the Sidelink bearer based on the Sidelink bearer configuration response information.

[0180] Optionally, the Sidelink bearer configuration information includes at least one of the following: bearer identifier, SDAP configuration, PDCP configuration, RLC configuration, logical channel configuration, mirror QoS indication, QoS parameters. QoS parameters include multiple information such as 5QI, GFBR, MFBR, averaging window

[0181] Optionally, at least one of the following is also included:

[0182] The SDAP configuration includes at least one of the following: NULL, default bearer indication, a list of QoS flows mapped to the bearer, and whether the SDAP subheader is included;

[0183] PDCP configuration includes at least one of the following: packet discard timer, PDCP sequence number length, header compression, reordering timer;

[0184] The RLC configuration includes at least one of the following: unconfirmed mode or confirmed mode, polling related configuration in confirmed mode, maximum number of retransmissions in confirmed mode, and whether out-of-order delivery is supported;

[0185] The logical channel configuration includes at least one of the following: a logical channel identifier, a logical channel priority, a priority guaranteed bit rate, a bucket size duration, a subcarrier spacing, an associated sidelink bandwidth part (BandWidth Part, referred to as BWP) index, and an associated carrier indication;

[0186] The QoS parameters include at least one of the following: 5QI, allocation reservation priority, UE PC5 interface maximum aggregate bit rate UE-PC5-AMBR, PC5 guaranteed flow bit rate GFBR, PC5 maximum flow bit rate MFBR, PC5 mirror QoS indication, priority, packet delay, packet error rate, reliability, and resource type.

[0187] Optionally, the sidelink bearer configuration response information includes at least one of the following: a list of sidelink bearers supported by the second terminal; a list of sidelink bearers not supported by the second terminal. It may also include the reason why the second terminal does not support the sidelink bearer.

[0188] Optionally, performing sidelink bearer configuration includes: the first terminal receiving Sidelink bearer configuration information sent by a base station; and configuring the Sidelink bearer according to the Sidelink bearer configuration information.

[0189] Optionally, based on the first information, the data packet to be transmitted is mapped to the Sidelink bearer for transmission, including one of the following: when the first information is the second information, the data packet to be transmitted associated with the first 5QI is mapped to the Sidelink bearer associated with the first 5QI for transmission; when the first information is the fourth information, based on the Sidelink rules and Sidelink bearer configuration information, the data packet to be transmitted is mapped to the corresponding Sidelink bearer for transmission.

[0190] Optionally, mapping the data packet to be transmitted to a corresponding Sidelink bearer for transmission according to the Sidelink rules, including: the first terminal mapping the data packet to be transmitted to a QoS flow according to the Sidelink rules; and the Sidelink SDAP entity of the first terminal mapping the QoS flow to a Sidelink bearer for transmission.

[0191] Optionally, it includes: in the first terminal, the Sidelink SDAP entity is the same as the Uu SDAP entity, or the Sidelink SDAP entity is different from the Uu SDAP entity.

[0192] Optionally, the Sidelink SDAP entity of the first terminal maps the QoS flow to a Sidelink bearer for transmission, including:

[0193] When NULL is indicated in the SDAP configuration information in the Sidelink bearer configuration information or the QoS flow list mapped to the Sidelink bearer is empty, the first terminal determines a mapping rule between the QoS flow and the Sidelink bearer;

[0194] When the QoS flow list indicated in the SDAP configuration information in the Sidelink bearer configuration information and mapped to the Sidelink bearer is non-empty, the first terminal maps the QoS flow to the Sidelink bearer for transmission according to the mapping relationship of the non-empty list;

[0195] When the QoS flow list mapped to the Sidelink bearer indicated in the SDAP configuration information in the Sidelink bearer configuration information is non-empty and there is an indication of supporting mirrored QoS, the first terminal SDAP entity marks the QoS flow identifier QFI corresponding to the QoS flow data packet.

[0196] Optionally, the QFI and QoS flow are used to provide a basis for the opposite end UE to update a first mapping relationship, wherein the first mapping relationship is a mapping relationship between the QFI and the Sidelink bearer stored by the opposite end UE.

[0197] Optionally, according to the first information, after mapping the data packet to be transmitted to the Sidelink bearer and transmitting it to the second terminal, the first terminal obtains service switching information; performs service switching according to the service switching information, wherein the service switching is used to switch the data packet to be transmitted between the Uu interface and the PC5 interface.

[0198] Optionally, the service switching information includes at least one of the following: application layer information, access layer information, and service switching indication information configured by the base station.

[0199] Optionally, at least one of the following is included:

[0200] The application layer information includes at least one of the following: data packet service type, QoS flow service type, QoS requirement information, wherein the QoS requirement information includes at least one of: priority, delay, reliability, transmission rate, data rate, and transmission range;

[0201] The access layer information includes at least one of the following: Uu interface link quality, Uu interface reference signal receiving power, Uu interface bearer and QoS parameters, Uu interface congestion level, PC5 interface link quality, PC5 connection establishment status, PC5 interface channel busy-idle rate, PC5 interface discovery signal receiving power, PC5 interface synchronization signal receiving power, PC5 interface resource conflict probability, PC5 interface congestion, PC5 interface bearer and QoS parameters;

[0202] The service switching indication information configured by the base station includes at least one of the following: service switching indication, Uu link quality threshold, PC5 link quality threshold, delay threshold, reliability threshold, data rate threshold, service type, application type, switched PC5QoS flow service quality flow identifier QFI, the mapping relationship between the switched PC5QoS flow and DRB, the switched Uu QoSflow information, and the mapping relationship between the switched Uu QoS flow and the sidelink bearer.

[0203] Optionally, the Uu QoS flow information includes: PDU session identifier, QFI.

[0204] Optionally, performing service switching according to the service switching information includes one of the following:

[0205] When the first terminal application layer determines that the fourth data packet is transmitted through the Uu interface, the first terminal maps the fourth data packet to a fourth QoS flow through the Uu interface QoS rules, and the first terminal SDAP entity maps the fourth QoS flow to DRB transmission;

[0206] When the first terminal application layer determines that the fifth data packet is transmitted through the PC5 interface, the first terminal application layer sets a fifth 5QI corresponding to the fifth data packet, and the first terminal maps the fifth data packet to a Sidelink bearer associated with the fifth 5QI;

[0207] The first terminal switches and maps the QoS flow of the fourth QFI transmitted by the Uu interface to the Sidelink bearer associated with the same 5QI or the fourth QFI in the PC5 interface;

[0208] The first terminal obtains the sixth data packet of the sixth 5QI associated with the PC5 interface, and maps the sixth data packet to the sixth QoS flow of the sixth 5QI in the Uu interface, or maps it to the newly established seventh QoS flow; the first terminal SDAP entity maps the sixth QoS flow or the seventh QoS flow to the DRB;

[0209] When the first terminal determines that the seventh data packet is transmitted on the PC5 interface according to the service switching information, the first terminal maps the seventh data packet to the PC5QoS flow through the PC5QoS rules, and the SDAP entity of the first terminal maps the PC5QoS flow to the Sidelink bearer for transmission;

[0210] After the first terminal maps the data packet to the eighth QoS flow according to the QoS rules, when determining to transmit the eighth QoS flow through the Uu interface, the first terminal SDAP entity indicates the eighth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the eighth QoS flow to the DRB transmission according to the eighth information;

[0211] After the first terminal maps the data packet to the ninth QoS flow according to the QoS rules, when determining to transmit the ninth QoS flow through the PC5 interface, the first terminal SDAP entity indicates the ninth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the ninth QoS flow to the Sidelink bearer for transmission based on the ninth information.

[0212] Optionally, after performing service switching according to the service switching information, the method also includes at least one of the following: the first terminal sends a first notification message to the base station, and the base station updates the mapping relationship between DRB and QFI according to the first notification message; the first terminal sends a second notification message to the second terminal, wherein the second terminal updates the mapping relationship between the Sidelink bearer and QFI according to the second notification message, or releases the PC5 connection with the first terminal.

[0213] According to another embodiment of the present application document, a service switching device is also provided, including:

[0214] A second acquisition module, used for the first terminal to acquire service switching information;

[0215] The second switching module is used to perform service switching according to the service switching information, wherein the service switching is used to switch the data packet to be transmitted between the Uu interface and the PC5 interface.

[0216] By adopting the above scheme, the first terminal obtains the service switching information and switches according to the service switching information, providing a service switching method between the Uu interface and the PC5 interface suitable for the new wireless, thereby solving the problem in the related technology of lack of a solution for switching services between the Uu interface and the PC5 interface suitable for the new wireless.

[0217] Optionally, the service switching information includes at least one of the following: application layer information, access layer information, and service switching indication information configured by the base station.

[0218] Optionally, at least one of the following is included:

[0219] The application layer information includes at least one of the following: data packet service type, QoS flow service type, QoS requirement information, wherein the QoS requirement information includes at least one of: priority, delay, reliability, transmission rate, data rate, and transmission range;

[0220] The access layer information includes at least one of the following: Uu interface link quality, Uu interface reference signal receiving power, Uu interface bearer and QoS parameters, Uu interface congestion level, PC5 interface link quality, PC5 connection establishment status, PC5 interface channel busy-idle rate, PC5 interface discovery signal receiving power, PC5 interface synchronization signal receiving power, PC5 interface resource conflict probability, PC5 interface congestion, PC5 interface bearer and QoS parameters;

[0221] The service switching indication information configured by the base station includes at least one of the following: service switching indication, Uu link quality threshold, PC5 link quality threshold, delay threshold, reliability threshold, data rate threshold, service type, application type, switched PC5QoS flow service quality flow identifier QFI, the mapping relationship between the switched PC5QoS flow and DRB, the switched Uu QoSflow information, and the mapping relationship between the switched Uu QoS flow and the sidelink bearer.

[0222] Uu QoS flow information includes: PDU session identifier, QFI

[0223] Optionally, performing service switching according to the service switching information includes one of the following:

[0224] The first terminal autonomously decides to switch the service according to the service switching information;

[0225] The first terminal obtains the service switching indication information sent by the base station, and performs service switching according to the service switching indication information.

[0226] Optionally, performing service switching according to the service switching information includes one of the following:

[0227] Performing service switching for each data packet according to the service switching information;

[0228] Perform service switching for each QoS flow according to the service switching information.

[0229] Optionally, performing service switching according to the service switching information includes one of the following:

[0230] When the first terminal application layer determines that the fourth data packet is transmitted through the Uu interface, the first terminal maps the fourth data packet to a fourth QoS flow through the Uu interface QoS rules, and the first terminal SDAP entity maps the fourth QoS flow to DRB transmission;

[0231] When the first terminal application layer determines that the fifth data packet is transmitted through the PC5 interface, the first terminal application layer sets a fifth 5QI corresponding to the fifth data packet, and the first terminal maps the fifth data packet to a Sidelink bearer associated with the fifth 5QI;

[0232] The first terminal switches and maps the QoS flow of the fourth QFI transmitted by the Uu interface to the Sidelink bearer associated with the same 5QI or the fourth QFI in the PC5 interface;

[0233] The first terminal obtains the sixth data packet of the sixth 5QI associated with the PC5 interface, and maps the sixth data packet to the sixth QoS flow of the sixth 5QI in the Uu interface, or maps it to the newly established seventh QoS flow; the first terminal SDAP entity maps the sixth QoS flow or the seventh QoS flow to the DRB;

[0234] When the first terminal determines that the seventh data packet is transmitted on the PC5 interface according to the service switching information, the first terminal maps the seventh data packet to the PC5QoS flow through the PC5QoS rules, and the SDAP entity of the first terminal maps the PC5QoS flow to the Sidelink bearer for transmission;

[0235] After the first terminal maps the data packet to the eighth QoS flow according to the QoS rules, when determining to transmit the eighth QoS flow through the Uu interface, the first terminal SDAP entity indicates the eighth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the eighth QoS flow to the DRB transmission according to the eighth information;

[0236] After the first terminal maps the data packet to the ninth QoS flow according to the QoS rules, when determining to transmit the ninth QoS flow through the PC5 interface, the first terminal SDAP entity indicates the ninth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the ninth QoS flow to the Sidelink bearer for transmission according to the ninth information;

[0237] Optionally, the first terminal determines to transmit data on the Uu interface based on the service switching information, maps the data packet to be transmitted to the QoS flow according to QoS rules, and the SDAP entity of the first terminal maps the QoS flow to the data radio bearer DRB for transmission.

[0238] Optionally, mapping the sixth QoS flow, the seventh QoS flow, or the eighth QoS flow to a DRB by the first terminal SDAP entity includes one of the following:

[0239] The SDAP entity of the first terminal maps the sixth or seventh or eighth QoS flow to the DRB transmission according to the mapping relationship between the QoS flow and the DRB in the sidelink bearer configuration;

[0240] When the mapping relationship between the QoS flow and the DRB is not configured, the SDAP entity of the first terminal maps the sixth or seventh or eighth QoS flow to a default DRB transmission;

[0241] When the QoS flow and DRB mapping relationship is not configured, the first terminal initiates a session request to establish a new session and configures the QoS flow and DRB mapping relationship, or the first terminal initiates a session request to modify the current session and configures the QoS flow and DRB mapping relationship.

[0242] Optionally, before the first terminal SDAP entity maps the PC5QoS flow to a Sidelink bearer for transmission, the method further includes the first terminal acquiring a second mapping relationship between the PC5QoS flow and the Sidelink bearer in one of the following ways:

[0243] The first terminal autonomously determines the second mapping relationship;

[0244] Receive the second mapping relationship configured by the base station;

[0245] The first terminal negotiates with the opposite terminal to determine the second mapping relationship;

[0246] Mirror mapping is performed according to the third mapping relationship between the PC5QoS flow of the opposite terminal and the Sidelink bearer to obtain the second mapping relationship.

[0247] Optionally, after performing service switching according to the service switching information, the method further includes at least one of the following:

[0248] The first terminal sends a first notification message to the base station, indicating that the tenth QoS flow transmitted on the Uu interface is switched to the PC5 interface, and the base station updates the mapping relationship between the DRB and the QFI according to the first notification message, that is, the first notification message can indicate which QoS flows in the Uu interface are switched; the base station configures a sidelink bearer for the first terminal according to the QoS parameters of the QoS flow in the indicated first notification message;

[0249] The first terminal sends a second notification message to the second terminal, wherein the second terminal updates a mapping relationship between the Sidelink bearer and the QFI according to the second notification message, or releases a PC5 connection with the first terminal.

[0250] Optionally, the first notification message includes an indication that the tenth QoS flow transmitted on the Uu interface is switched to the PC5 interface.

[0251] Optionally, after sending the first notification information to the base station, the first terminal receives a Sidelink bearer configuration configured by the base station for the first terminal according to the QoS parameters of the tenth QoS flow.

[0252] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0253] Embodiment 3

[0254] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:

[0255] S1, step S302, the first terminal obtains first information of quality of service QoS of a data packet to be transmitted on a direct link Sidelink;

[0256] S2, step S304, performing sidelink bearer configuration;

[0257] S3, step S306, mapping the data packet to be transmitted to a Sidelink bearer and transmitting it to the second terminal according to the first information.

[0258] Optionally, the storage medium is further configured to store program codes for executing the following steps:

[0259] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0260] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0261] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0262] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0263] S1, step S302, the first terminal obtains first information of quality of service QoS of a data packet to be transmitted on a direct link Sidelink;

[0264] S2, step S304, performing sidelink bearer configuration;

[0265] S3, step S306, mapping the data packet to be transmitted to a Sidelink bearer and transmitting it to the second terminal according to the first information.

[0266] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0267] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0268] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0269] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A data transmission method, characterized in that: include: The first terminal obtains first information of quality of service QoS of a data packet to be transmitted on the through link Sidelink; Perform Sidelink bearer configuration; According to the first information, mapping the data packet to be transmitted to the Sidelink bearer and transmitting it to the second terminal; The first information includes second information and fourth information, the second information includes the fifth generation mobile system service quality identifier 5QI and the transmission range corresponding to the data packet to be transmitted; the fourth information includes Sidelink QoS rules; The performing of the Sidelink bearer configuration includes: the first terminal receiving the Sidelink bearer configuration information sent by the base station; configuring the Sidelink bearer according to the Sidelink bearer configuration information, wherein the Sidelink bearer configuration information includes: a bearer identifier and a service data adaptation protocol SDAP configuration, and the SDAP configuration includes a QoS flow list mapped to the bearer; When the first information is the second information, mapping the data packet to be transmitted to the Sidelink bearer and transmitting it to the second terminal according to the first information includes: mapping the data packet to be transmitted associated with the 5QI to the Sidelink bearer associated with the 5QI for transmission; and When the first information is the fourth information, mapping the data packet to be transmitted to the Sidelink bearer and transmitting it to the second terminal according to the first information includes: mapping the data packet to be transmitted to the corresponding Sidelink bearer for transmission according to the Sidelink QoS rules and Sidelink bearer configuration information.

2. The method according to claim 1, characterized in that The first information includes at least one of the following: The third information includes at least one of the following information corresponding to the data packet to be transmitted: priority, reliability, transmission delay, data rate, packet error rate, and transmission range; The fifth information includes the QoS profile of the Sidelink.

3. The method according to claim 2, characterized in that When the first information is the second information or the third information, the first terminal acquires first information about quality of service QoS of the through link Sidelink, including: The first terminal obtains the second information or the third information from the V2X application layer.

4. The method according to claim 2, characterized in that: When the first information is the fourth information and / or the fifth information, the first terminal obtains first information about the quality of service QoS of the through link Sidelink, including one of the following: The first terminal obtains the fourth information and / or the fifth information from the V2X control function entity; The first terminal obtains the fourth information and / or the fifth information from the pre-configuration information; The first terminal obtains the fourth information from an access and mobility management function entity on the network side.

5. The method according to claim 2, characterized in that: The QoS rules of the Sidelink are the same as the QoS rules of the Uu interface of the user equipment of the first terminal, or are different from the QoS rules of the Uu interface of the first terminal.

6. The method according to claim 2, characterized in that Perform sidelink bearer configuration, including one of the following: The first terminal autonomously configures the Sidelink bearer according to the fourth information and / or the fifth information; The first terminal sends Sidelink bearer configuration information to the second terminal, receives Sidelink bearer configuration response information fed back by the second terminal, and configures the Sidelink bearer according to the Sidelink bearer configuration response information.

7. The method according to claim 6, characterized in that The Sidelink bearer configuration information includes at least one of the following: Packet Data Convergence Protocol PDCP configuration, Radio Link Control RLC configuration, logical channel configuration, mirror QoS indication, QoS parameters.

8. The method according to claim 7, characterized in that Also includes at least one of the following: The SDAP configuration includes at least one of the following: NULL, default bearer indication, whether to include the SDAP subheader; PDCP configuration includes at least one of the following: packet discard timer, PDCP sequence number length, header compression, reordering timer; The RLC configuration includes at least one of the following: unconfirmed mode or confirmed mode, polling related configuration in confirmed mode, maximum number of retransmissions in confirmed mode, and whether out-of-order delivery is supported; The logical channel configuration includes at least one of the following: a logical channel identifier, a logical channel priority, a priority guaranteed bit rate, a bucket size duration, a subcarrier spacing, an associated Sidelink BWP index, and an associated carrier indication; The QoS parameters include at least one of the following: 5QI, allocation reservation priority, UE PC5 interface maximum aggregate bit rate UE-PC5-AMBR, PC5 guaranteed flow bit rate GFBR, PC5 maximum flow bit rate MFBR, PC5 mirror QoS indication, priority, packet delay, packet error rate, reliability, and resource type.

9. The method according to claim 6, characterized in that The Sidelink bearer configuration response information includes at least one of the following: a list of Sidelink bearers supported by the second terminal; A list of Sidelink bearers not supported by the second terminal.

10. The method according to claim 1, characterized in that Mapping the data packet to be transmitted to a corresponding Sidelink bearer for transmission according to the Sidelink rules includes: The first terminal maps the data packet to be transmitted to a QoS flow according to the Sidelink rules; The Sidelink SDAP entity of the first terminal maps the QoS flow to a Sidelink bearer for transmission.

11. The method according to claim 10, characterized in that include: In the first terminal, the Sidelink SDAP entity is the same as the Uu SDAP entity, or the Sidelink SDAP entity is different from the Uu SDAP entity.

12. The method according to claim 10, characterized in that The Sidelink SDAP entity of the first terminal maps the QoS flow to a Sidelink bearer for transmission, including: When NULL is indicated in the SDAP configuration information in the Sidelink bearer configuration information or the QoS flow list mapped to the Sidelink bearer is empty, the first terminal determines a mapping rule between the QoS flow and the Sidelink bearer; When the QoS flow list indicated in the SDAP configuration information in the Sidelink bearer configuration information and mapped to the Sidelink bearer is non-empty, the first terminal maps the QoS flow to the Sidelink bearer for transmission according to the mapping relationship of the non-empty list; When the QoS flow list mapped to the Sidelink bearer indicated in the SDAP configuration information in the Sidelink bearer configuration information is non-empty and there is an indication of supporting mirrored QoS, the first terminal SDAP entity marks the QoS flow identifier QFI corresponding to the QoS flow data packet.

13. The method according to claim 12, characterized in that The QFI is used to provide a basis for the opposite end UE to update a first mapping relationship, wherein the first mapping relationship is a mapping relationship between the QFI and the Sidelink bearer stored in the opposite end UE.

14. The method according to claim 1, characterized in that After mapping the data packet to be transmitted to the Sidelink bearer and transmitting it to the second terminal according to the first information, the method further includes: The first terminal obtains service switching information; The service switching is performed according to the service switching information, wherein the service switching is used to switch the data packet to be transmitted between the Uu interface and the PC5 interface.

15. The method according to claim 14, characterized in that The service switching information includes at least one of the following: Application layer information, access layer information, and service switching indication information configured by the base station.

16. The method according to claim 15, characterized in that Include at least one of the following: The application layer information includes at least one of the following: data packet service type, QoS flow service type, QoS requirement information; The access layer information includes at least one of the following: Uu interface link quality, Uu interface reference signal receiving power, Uu interface bearer and QoS parameters, Uu interface congestion level, PC5 interface link quality, PC5 connection establishment status, PC5 interface channel busy-idle rate, PC5 interface discovery signal receiving power, PC5 interface synchronization signal receiving power, PC5 interface resource conflict probability, PC5 interface congestion, PC5 interface bearer and QoS parameters; The service switching indication information configured by the base station includes at least one of the following: service switching indication, Uu link quality threshold, PC5 link quality threshold, delay threshold, reliability threshold, data rate threshold, service type, application type, switched PC5QoS flow service quality flow identifier QFI, the mapping relationship between the switched PC5 QoS flow and DRB, the switched Uu QoS flow information, and the mapping relationship between the switched Uu QoS flow and Sidelink bearer.

17. The method according to claim 14, characterized in that Performing service switching according to the service switching information includes one of the following: When the first terminal application layer determines that the fourth data packet is transmitted through the Uu interface, the first terminal maps the fourth data packet to a fourth QoS flow through the Uu interface QoS rules, and the first terminal SDAP entity maps the fourth QoS flow to DRB transmission; When the first terminal application layer determines that the fifth data packet is transmitted through the PC5 interface, the first terminal application layer sets a corresponding fifth 5QI for the fifth data packet, and the first terminal maps the fifth data packet to a Sidelink bearer transmission associated with the fifth 5QI; The first terminal switches and maps the QoS flow of the fourth QFI transmitted by the Uu interface to the Sidelink bearer associated with the same 5QI or the fourth QFI in the PC5 interface; The first terminal obtains the sixth data packet of the sixth 5QI associated with the PC5 interface, and maps the sixth data packet to the sixth QoS flow of the sixth 5QI in the Uu interface, or maps it to the newly established seventh QoS flow; the first terminal SDAP entity maps the sixth QoS flow or the seventh QoS flow to the DRB; When the first terminal determines that the seventh data packet is transmitted on the PC5 interface according to the service switching information, the first terminal maps the seventh data packet to the PC5 QoS flow through the PC5 QoS rules, and the first terminal SDAP entity maps the PC5 QoS flow to the Sidelink bearer for transmission; After the first terminal maps the data packet to the eighth QoS flow according to the QoS rules, when determining to transmit the eighth QoS flow through the Uu interface, the first terminal SDAP entity indicates the eighth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the eighth QoS flow to the DRB transmission according to the eighth information; After the first terminal maps the data packet to the ninth QoS flow according to the QoS rules, when determining to transmit the ninth QoS flow through the PC5 interface, the first terminal SDAP entity indicates the ninth information of the transmission path to the first terminal SDAP entity, and the first terminal SDAP entity maps the ninth QoS flow to the Sidelink bearer for transmission based on the ninth information.

18. The method according to claim 14, characterized in that After performing service switching according to the service switching information, the method further includes at least one of the following: The first terminal sends first notification information to the base station, and the base station updates the mapping relationship between the DRB and the QFI according to the first notification information; The first terminal sends a second notification message to the second terminal, wherein the second terminal updates a mapping relationship between the Sidelink bearer and the QFI according to the second notification message, or releases a PC5 connection with the first terminal.

19. A data transmission device, characterized in that: include: A first acquisition module, used for acquiring first information of quality of service QoS of a data packet to be transmitted on a through link Sidelink; A first configuration module, used for performing Sidelink bearer configuration; A first mapping module, configured to map the data packet to be transmitted to a Sidelink bearer and transmit the data packet to the second terminal according to the first information; The first information includes second information and fourth information, the second information includes the fifth generation mobile system service quality identifier 5QI and the transmission range corresponding to the data packet to be transmitted; the fourth information includes Sidelink QoS rules; The performing of the Sidelink bearer configuration includes: the first terminal receiving the Sidelink bearer configuration information sent by the base station; configuring the Sidelink bearer according to the Sidelink bearer configuration information, wherein the Sidelink bearer configuration information includes: a bearer identifier and a service data adaptation protocol SDAP configuration, and the SDAP configuration includes a QoS flow list mapped to the bearer; When the first information is the second information, mapping the data packet to be transmitted to the Sidelink bearer and transmitting it to the second terminal according to the first information includes: mapping the data packet to be transmitted associated with the 5QI to the Sidelink bearer associated with the 5QI for transmission; and When the first information is the fourth information, mapping the data packet to be transmitted to the Sidelink bearer and transmitting it to the second terminal according to the first information includes: mapping the data packet to be transmitted to the corresponding Sidelink bearer for transmission according to the Sidelink QoS rules and Sidelink bearer configuration information.

20. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 18 when executed.

21. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 18.