WO2021012939A1 - Method and device for sidelink - Google Patents

Method and device for sidelink Download PDF

Info

Publication number
WO2021012939A1
WO2021012939A1 PCT/CN2020/100477 CN2020100477W WO2021012939A1 WO 2021012939 A1 WO2021012939 A1 WO 2021012939A1 CN 2020100477 W CN2020100477 W CN 2020100477W WO 2021012939 A1 WO2021012939 A1 WO 2021012939A1
Authority
WO
WIPO (PCT)
Prior art keywords
direct communication
application layer
identifier
receiving terminal
terminal
Prior art date
Application number
PCT/CN2020/100477
Other languages
French (fr)
Chinese (zh)
Inventor
邓强
Original Assignee
大唐移动通信设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大唐移动通信设备有限公司 filed Critical 大唐移动通信设备有限公司
Publication of WO2021012939A1 publication Critical patent/WO2021012939A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections

Definitions

  • This application relates to the field of communication technology, and in particular to a method and device for direct communication.
  • the third generation of mobile communications standardization organization (3rd Generation Partnership Project, 3GPP) standard defines a way for two user equipment (User Equipment, UE) to directly communicate with vehicle wireless communication technology (vehicle to X, V2X), V2X
  • UE User Equipment
  • V2X vehicle wireless communication technology
  • V2X vehicle to X
  • UE A and UE B send and receive V2X messages through the PC5 interface, and the transmission of V2X messages does not go through the network.
  • the PC5 unicast link is identified by the Layer-2 identification (ID) of two UEs, and multiple PC5 unicast links may be established between the two UEs.
  • Different PC5 unicast links may contain the same quality of service (Quality of Service, QoS) flow (Flow), and these QoS flows will be mapped to different side-chain radio bearers (SideLink Radio Bearer, SLRB), resulting in radio resources Waste.
  • QoS Quality of Service
  • Flow Quality of Service
  • SLRB Side-chain radio bearers
  • the existing method of establishing direct communication between terminals is likely to cause a waste of wireless resources.
  • the present application provides a method and device for direct connection communication, which are used to solve the problem of wireless resource waste caused by the way of establishing direct connection communication between existing terminals.
  • a direct communication method provided by an embodiment of the present application includes:
  • the sending terminal sends a direct communication request message
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the sending terminal and the receiving terminal establish a direct communication connection according to their own corresponding car networking layer identification. If there is a new application layer service requirement when the sending terminal and the receiving terminal perform data transmission, the sending terminal can use it to meet the new application
  • the established QoS flow required by the layer service transmits V2X messages with the receiving terminal, which avoids the waste of wireless resources caused by repeatedly establishing a QoS flow with the same QoS parameters between the sending terminal and the receiving terminal.
  • the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layers of the receiving terminal Logo.
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes:
  • the application layer identifier of the receiving terminal is a part of the receiving terminal.
  • the application layer identifier of the receiving terminal includes:
  • the target application layer identifier requested by the sending terminal or
  • the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal are not limited to the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  • establishing a direct communication connection between the sending terminal and the receiving terminal further includes:
  • the sending terminal establishes a direct communication flow with the receiving terminal.
  • the method further includes:
  • the sending terminal determines that there is a new application layer service quality requirement
  • the sending terminal sends an update request message
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • the method before the sending terminal sends the update request message, the method further includes:
  • the sending terminal determines the vehicle networking layer identifier of the receiving terminal corresponding to other application layer identifiers supported by the receiving terminal and the direct communication flow identifier corresponding to the new application layer service quality requirement.
  • the sending terminal determining the direct communication flow identifier corresponding to the update request message includes:
  • the sending terminal determines the direct communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow.
  • the sending terminal determines the direct communication corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow Flow identification, including:
  • the sending terminal determines that the established direct communication flow identifier that meets the application layer service quality requirements corresponds to the new application layer service quality requirements The direct connection communication flow identifier; otherwise, the sending terminal establishes a new direct communication flow identifier as the direct communication flow identifier corresponding to the new application layer service quality requirement.
  • the method further includes:
  • the sending terminal determines that there is a new application layer service quality requirement
  • the sending terminal broadcasts a new direct connection communication request message, the direct connection communication request message including the application layer identification of the sending terminal, the Internet of Vehicles layer identification of the sending terminal, the new target application layer identification, and the new direct connection
  • the communication flow identifier and the quality of service parameter corresponding to the directly connected communication flow identifier are included in the direct connection communication request message.
  • the target application layer identifier is an application layer identifier supported by the receiving terminal
  • the method further includes:
  • the sending terminal receives the direct communication response message sent by the receiving terminal; wherein the direct communication response message includes the vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal.
  • the method further includes:
  • the receiving terminal establishes a corresponding direct communication flow according to the direct communication flow identifier in the direct communication response message fed back by the sending terminal.
  • the establishment of the corresponding direct communication flow by the receiving terminal according to the direct communication flow identifier in the direct communication response message fed back by the sending terminal includes:
  • the sending terminal reuses the direct communication flow corresponding to the established direct communication flow identifier
  • the sending terminal establishes the new direct connection
  • the communication flow identifier corresponds to the direct communication flow.
  • a direct communication method provided by an embodiment of the present application includes:
  • the receiving terminal receives the fixed direct communication request message sent by the sending terminal;
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layers of the receiving terminal Logo.
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes:
  • the application layer identifier of the receiving terminal is a part of the receiving terminal.
  • the application layer identifier of the receiving terminal includes:
  • the target application layer identifier requested by the sending terminal or
  • the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal are not limited to the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  • the establishment of a direct communication connection between the receiving terminal and the sending terminal further includes:
  • the receiving terminal performs data transmission through a direct communication stream established with the sending terminal.
  • the method further includes:
  • the receiving terminal feeds back an update response message to the sending terminal
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • the method further includes:
  • the receiving terminal receives the direct communication request message broadcast by the sending terminal; wherein the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, and the new target application layer ID, the new direct communication flow ID and the quality of service parameters corresponding to the direct communication flow ID;
  • the receiving terminal After the receiving terminal determines that the target application layer identifier is an application layer identifier supported by itself, it sends a direct communication response message to the sending terminal; wherein the direct communication response message includes the car networking layer of the receiving terminal Identification and direct communication flow identification.
  • the method before the receiving terminal sends a direct communication response message to the sending terminal, the method further includes:
  • the receiving terminal determines the direct communication flow identifier.
  • the determining of the direct connection communication flow identifier by the receiving terminal includes:
  • the receiving terminal determines the direct communication flow identifier according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
  • the receiving terminal determines the direct communication flow identifier according to the quality of service parameters in the direct communication request message broadcast by the sending terminal and the quality of service with the established direct communication flow, include:
  • the sending terminal reuses the established direct communication flow identifier; otherwise, the The sending terminal establishes a new direct communication flow identifier.
  • an embodiment of the present application also provides a sending terminal for direct communication.
  • the sending terminal includes a processor and a memory, wherein the memory stores program codes, and when one or more When the computer program is executed by the processor, the sending terminal is caused to execute the following process:
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the vehicle networking layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the vehicle networking layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal .
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes the application layer identifier of the receiving terminal.
  • the application layer identifier of the receiving terminal includes the target application layer identifier requested by the sending terminal; or the target application layer identifier requested by the sending terminal and the receiving terminal support Other application layer IDs.
  • the processor is further configured to:
  • the processor is further configured to:
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • the processor is further configured to:
  • the processor is specifically configured to:
  • the processor is specifically configured to:
  • the service quality of the established direct communication flow meets the application layer service quality requirements, then determine the established direct communication flow identifier that meets the application layer service quality requirements as the direct communication flow corresponding to the new application layer service quality requirements Flow identifier; otherwise, a new direct communication flow identifier is established as the direct communication flow identifier corresponding to the new application layer service quality requirement.
  • the processor is further configured to:
  • the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, the new target application layer identifier, and the new direct communication flow Identifies the quality of service parameter corresponding to the direct communication flow identifier.
  • the processor is further configured to:
  • the target application layer identifier is an application layer identifier supported by the receiving terminal, after broadcasting a new direct communication request message, receive a direct communication response message sent by the receiving terminal; wherein, the direct communication response message
  • the vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal are included.
  • the processor is specifically configured to:
  • the direct connection corresponding to the established direct communication flow identifier is reused Communication flow
  • the new direct communication flow identifier fed back by the receiving terminal is the new direct communication flow identifier included in the new direct communication request message sent by the sending terminal, then the new direct communication flow identifier correspondence is established Direct communication flow.
  • an embodiment of the present application also provides a receiving terminal for direct communication.
  • the receiving terminal includes a processor and a memory, wherein the memory stores program codes, and when one or more When the computer program is executed by the processor, the receiving terminal executes the following process:
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the vehicle networking layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the vehicle networking layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal .
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes the application layer identifier of the receiving terminal.
  • the application layer identifier of the receiving terminal includes the target application layer identifier requested by the sending terminal; or the target application layer identifier requested by the sending terminal and the receiving terminal support Other application layer IDs.
  • the application layer identifier of the receiving terminal includes:
  • the target application layer identifier requested by the sending terminal or
  • the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal are not limited to the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  • the processor is further configured to:
  • Data transmission is performed through a direct communication stream established with the sending terminal.
  • the processor is further configured to:
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • the processor is further configured to:
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • the processor is further configured to:
  • the processor is specifically configured to:
  • the direct communication flow identifier is determined according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
  • the processor is specifically configured to:
  • the established direct communication flow identifier is reused; otherwise, a new direct communication is established Flow ID.
  • an embodiment of the present application also provides a sending terminal for direct communication, and the sending terminal includes:
  • the first sending module used to send a direct communication request message
  • the first receiving module used to receive the direct communication response message fed back by the receiving terminal;
  • the first processing module used to establish a direct communication connection with the receiving terminal; wherein the direct communication request message includes the vehicle networking layer identifier of the sending terminal; the direct communication response message includes all The vehicle networking layer identification of the receiving terminal.
  • an embodiment of the present application also provides a receiving terminal for direct communication, and the receiving terminal includes:
  • the second receiving module used to receive the fixed direct communication request message sent by the sending terminal;
  • the second sending module used to send a direct communication response message to the sending terminal;
  • the second processing module used to establish a direct communication connection with the sending terminal
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the present application also provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.
  • FIG. 1 is a schematic diagram of communication between terminals through a PC5 interface according to an embodiment of the application
  • Figure 2 is a schematic diagram of establishing a PC5 unicast link between terminals according to an embodiment of the application
  • FIG. 3 is a schematic diagram of the mapping relationship of various protocol layers involved in establishing direct communication with a terminal according to an embodiment of the application;
  • FIG. 4 is a schematic diagram of the structure of a direct communication system according to an embodiment of this application.
  • FIG. 5 is a schematic diagram of a related process operation for establishing direct communication provided by an embodiment of this application.
  • FIG. 6 is a schematic diagram of an established PC5 unicast link and QoS flow provided by an embodiment of this application;
  • FIG. 7 is a schematic diagram of a related process operation for establishing and updating QoS flow according to an embodiment of this application.
  • FIG. 8 is a schematic diagram of a comparison before and after establishing a new QoS flow according to an embodiment of the application.
  • FIG. 9 is a schematic diagram of related process operations for reusing an established QoS flow provided by an embodiment of the application.
  • FIG. 10 is a schematic diagram of before and after reusing an established QoS flow provided by an embodiment of the application.
  • FIG. 11 is a schematic diagram of another process operation related to establishing a new QoS flow provided by an embodiment of the application.
  • FIG. 12 is a schematic diagram of another related process operation of reusing an established QoS flow provided by an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of a sending terminal provided by an embodiment of this application.
  • FIG. 14 is a schematic structural diagram of another sending terminal provided by an embodiment of this application.
  • FIG. 15 is a schematic structural diagram of a receiving terminal provided by an embodiment of this application.
  • FIG. 16 is a schematic structural diagram of another receiving terminal provided by an embodiment of this application.
  • FIG. 17 is a schematic flowchart of a method on the sending terminal side in a direct communication method provided by an embodiment of this application;
  • FIG. 18 is a schematic flowchart of a method on the receiving terminal side in a direct communication method provided by an embodiment of this application.
  • the terminal establishes corresponding application layer identifiers by different organizations of its own application layer, and initiates V2X communication with the peer device through the application layer identifier, that is, establishes a PC5 unicast link between the two terminals.
  • the current standard defines that the granularity of PC5 unicast link corresponds to a pair of application layer identifiers, that is, a PC5 unicast link can be established between an application layer identifier of the sending terminal and an application layer identifier of the receiving terminal.
  • the PC5 unicast link is composed of the sending terminal and A pair of layer 2 IDs of the receiving terminal are identified, and an application layer ID of the terminal corresponds to a layer 2 ID.
  • the layer 2 ID of the terminal is used to identify the PC5 unicast link
  • the PC5 unicast link corresponding to each pair of application layer IDs needs to be A pair of layer 2 IDs are identified, that is, a pair of application layer (Application Layer) IDs corresponds to a pair of Layer-2 IDs.
  • PC5 unicast link1 is used for the transmission of V2X messages between UEA's application layer ID 1 and UEB's application layer ID 2;
  • PC5 unicast link2 is used for UEA's application layer ID 3 and UEB's application layer ID 4 for transmission of V2X messages .
  • PC5 unicast link1 contains QoS Flow#1, QoS Flow#2 and QoS Flow#3;
  • PC5 unicast link2 contains QoS Flow#4 and QoS Flow#5; each QoS Flow is mapped to a different SLRB, if PC5 unicast link1 and PC5
  • the QoS Flow contained in unicast link2 has the same or associated QoS parameter, which will cause repeated mapping of QoS Flow.
  • QoS Flow#1 and QoS Flow#4 have exactly the same QoS parameter, that is, they have the same QoS guarantee.
  • QoS Flow#1 and QoS Flow#4 belong to different PC5 unicast links, two QoS Flows need to be established, and further need to be mapped to two different SLRBs, which causes a waste of wireless resources.
  • the embodiments of this application define a new UE identity, namely, the vehicle networking layer identity (V2X Layer ID), and the sending terminal and the receiving terminal establish PC5 unicast link and QoS Flow through the V2X Layer ID.
  • V2X Layer ID vehicle networking layer identity
  • the IoV layer identifier of the terminal can be a preset public identifier or an identifier corresponding to the IP/Non-IP layer of the terminal.
  • Each terminal has a unique IoV layer identifier, and multiple application layer identifiers of the terminal can be mapped To the same IoV layer identifier of the terminal, the IoV layer identifier of the terminal corresponds to the layer 2 identifier of the terminal one to one.
  • FIG. 3 it is a schematic diagram of the application layer identification of UEA and UEB, the correspondence between the vehicle networking layer identification and the layer 2 identification, and the schematic diagram of the establishment of PC5 unicast link between UEA and UEB according to the vehicle networking layer identification, where the application layer identification of UEA includes Application Layer ID-1 and Application Layer ID-3, Application Layer ID-1 and Application Layer ID-3 correspond to UEA's vehicle networking layer identification UEA V2X Layer ID, and UEA's vehicle networking layer identification UEA V2X Layer ID corresponds to UEA's layer 2 Identifies UEA Layer-2 ID; UEB’s application layer ID includes Application Layer ID-2 and Application Layer ID-4.
  • Application Layer ID-2 and Application Layer ID-4 correspond to UEB’s vehicle networking layer identity UEB V2X Layer ID, UEB’s
  • the IoV layer identifier UEB V2X Layer ID corresponds to the layer 2 identifier UEB Layer-2 ID of UEB;
  • the identification of the PC5 unicast link corresponding to the Application Layer ID-1 of UEA and the Application Layer ID-2 of UEB is UEA Layer-2 ID and UEB Layer-2 ID; UEA's Application Layer ID-3 and UEB's Application Layer ID
  • the identification of the PC5 unicast link corresponding to -4 is also the UEA Layer-2 ID and the UEB Layer-2 ID. Therefore, there is no need to repeatedly establish the PC5 unicast link, and just update the QoS flow according to the new application layer QoS requirements.
  • the PC5 unicast link Since the granularity of the PC5 unicast link has not changed, when the PC5 unicast link is established according to the terminal’s IoV layer identification, a unique PC5 unicast link will be established between the sending terminal and the receiving terminal, and the sending terminal and the receiving terminal have new QoS requirements At this time, the established QoS flow that meets the new QoS requirements can be used for transmission of V2X messages, that is, transmission on the same SLRB, which avoids the waste of wireless resources caused by repeatedly establishing QoS flows with the same QoS parameters between two terminals.
  • the embodiment of the present application provides a direct communication system including: a sending terminal 10 and a receiving terminal 20.
  • the sending terminal 10 is configured to send a direct communication request message; receive a direct communication response message fed back by a receiving terminal; establish a direct communication connection with the receiving terminal;
  • the receiving terminal 20 is configured to receive a fixed direct communication request message sent by the sending terminal; send a direct communication response message to the sending terminal; and establish a direct communication connection with the sending terminal.
  • the sending terminal and the receiving terminal establish a direct communication connection according to their own corresponding car networking layer identification. If the sending terminal and the receiving terminal have new application layer service requirements during data transmission, the sending terminal can use the new The established QoSflow required by the application layer service transmits V2X messages to the receiving terminal, which avoids the waste of wireless resources caused by repeatedly establishing QoSflow with the same QoS parameters between the sending terminal and the receiving terminal.
  • the embodiments of this application mainly involve two aspects, including: the first aspect: the sending terminal and the receiving terminal establish a PC5 unicast link and QoS flow; the second aspect: the sending terminal updates the communication between the sending terminal and the receiving terminal according to the new application layer service quality requirements QoS flow:
  • the first aspect the sending terminal and the receiving terminal establish a PC5 unicast link and QoS flow
  • the second aspect the sending terminal updates the communication between the sending terminal and the receiving terminal according to the new application layer service quality requirements QoS flow:
  • the application layer ID of UE-1 includes Application Layer ID-1 and Application Layer ID-3
  • the Internet of Vehicles layer (IP/Non-IP) ID of UE-1 is UE-1 V2X Layer ID
  • UE-1's application layer, IP/Non-IP, and Service Data Adaptation Protocol (SDAP) layers make up layer 2
  • UE-1's layer 2 identification is UE-1 Layer-2 ID
  • Multiple application layer identifiers of UE-1 can be mapped to the same vehicle networking layer identifier, and the vehicle networking layer identifier of UE-1 corresponds to the layer 2 identifier one to one.
  • UE-2 is the receiving terminal. It is assumed that the application layer ID of UE-2 includes Application Layer ID-2 and Application Layer ID-4, and the Internet of Vehicles layer (IP/Non-IP) ID of UE-1 is UE-2 V2X Layer ID , UE-2’s application layer, IP/Non-IP and SDAP layers form layer 2, and the layer 2 identifier of UE-2 is UE-2 Layer-2 ID; among them, multiple application layer identifiers of UE-2 can be mapped to With the same IoV layer identifier, the IoV layer identifier of UE-2 corresponds to the layer 2 identifier one to one.
  • IP/Non-IP Internet of Vehicles layer
  • the Application Layer ID-1 of UE-1 initiates a direct connection communication connection request for Application Layer ID-2. Since UE-1 is not sure about the terminal that supports Application Layer ID-2, UE-1 broadcasts the direct connection Communication request message: UE-2 receives the direct communication request message sent by UE-1, UE-2 determines that it supports Application Layer ID-2, UE-2 feeds back the direct communication response message to UE-1, and UE-1 communicates with UE-2 establishes PC5 unicast link and QoS flow;
  • the sending terminal and the receiving terminal establish PC5 unicast link, QoS flow, and update QoS flow in different ways.
  • UE-2 puts other application layer identifiers supported by itself in the direct communication response message
  • Application Layer ID-3 initiates direct communication with other application layers of UE-2, it does not need to be reconnected. Establish a PC5 unicast link with UE-2, and send a request to update QoS flow directly to UE-2; if UE-2 does not put other application layer identifiers supported by itself in the direct communication response message, the Application of UE-1
  • Layer ID-3 initiates direct communication to other application layers, since UE-1 cannot determine the peer device, UE-1 needs to broadcast a new direct communication connection request.
  • Embodiment 1 PC5 unicast link and QoS flow are established between UE-1 and UE-2;
  • the Application Layer ID-1 of UE-1 initiates a direct communication connection to Application Layer ID-2.
  • the PC5 unicast link and QoS flow#1 are established between UE-1 and UE-2 provided in this application example.
  • Schematic diagram of the interactive process mainly including the following steps:
  • Step 500 UE-1 broadcasts a direct communication request message (Direct Communication Request);
  • the direct communication request message includes the vehicle networking layer identification (UE-1 V2X Layer ID) of UE-1 and the target application layer identification Application Layer ID-2.
  • the direct communication request information also includes part or all of the following information: service type, Application Layer ID-1, UE-1 Layer-2 ID, and QoS Flow Identifier (QFI)#1
  • service type Application Layer ID-1
  • UE-1 Layer-2 ID UE-1 Layer-2 ID
  • QoS Flow Identifier (QFI)#1 The PC5 QoS parameter corresponding to QFI#1, where the target application layer identifier is the application layer identifier of the opposite end to which the sending terminal establishes a direct communication connection.
  • UE-2, UE-3, and UE-4 After UE-2, UE-3, and UE-4 receive the direct connection communication request message sent by UE-1, they determine whether they support the target application layer identifier in the direct connection communication request message.
  • Step 501 UE-2 feeds back a direct communication response message (Direct Communication Accept) to UE-1;
  • the direct communication response message includes the vehicle networking layer ID of UE-2 (UE-2V2X Layer ID), and the direct communication response message may also include some or all of the following information: Application Layer ID-1, UE- 1 V2X Layer ID, UE-1 Layer-2 ID, Application Layer ID-2, UE-2 Layer-2 ID, and PC5 QoS parameter and Application Layer ID-4 corresponding to QFI#1 and QFI#1.
  • Application Layer ID-4 is the ID of other application layers supported by UE-2 fed back to UE-1.
  • Step 502 UE-1 and UE-2 establish PC5 unicast link and QoS Flow#1 to transmit V2X messages;
  • this is a schematic diagram of the PC5 unicast link and QoS Flow#1 established between UE-1 and UE-2 provided by the embodiments of this application, the Application Layer ID-1 of UE-1 and the Application Layer of UE-2 V2X messages are transmitted between ID-2 through QoS Flow#1.
  • PC5 unicast link is identified by the Layer-2 ID of UE-1 and UE-2, and QoS flow#1 is identified by QFI#1.
  • PC5 unicast link and QoS flow#1 are established between UE-1 and UE-2.
  • the Application Layer ID-3 of UE-1 initiates direct communication to Application Layer ID-4, as in step 503 in the above implementation 1, because UE-2 has reported to UE-1 that it supports Application Layer ID-4, and UE-1 Layer-2 ID and UE-2 Layer-2 ID identified PC5 unicast have been established between UE-1 and UE-2 link, therefore, UE-1 only needs to update the QoS flow with UE-2 according to the new application layer QoS requirements.
  • the first possible situation is the PC5 unicast between UE-1 and UE-2. There is no QoS flow that meets the new application layer QoS requirements on the link. UE-1 creates a new QoS flow that meets the new application layer QoS requirements; another possible situation is the PC5 unicast link between UE-1 and UE-2 Contains QoS flow that meets the new application layer QoS requirements, such as the established QoS flow#1, UE-1 reuses QoS flow#1 to transmit UE-1’s Application Layer ID-3 and UE-2’s Application Layer ID- 4 direct communication between.
  • Embodiment 2 The following describes the update method corresponding to the first possible situation through Embodiment 2.
  • Embodiment 2 A new QoS flow is established between UE-1 and UE-2;
  • the Application Layer ID-3 of UE-1 initiates direct communication with the Application Layer ID-4 of UE-2.
  • UE-1 determines the QoS update this time according to the new application layer service quality requirements and the established QoS flow service quality Direct communication flow identifier corresponding to flow.
  • UE-1 determines that the service quality of the established direct communication flow QoS flow#1 does not meet the new application layer service direct connection requirements, UE-1 establishes a new direct communication flow identification QFI#2.
  • the interaction flow diagram for establishing a new QoS flow between UE-1 and UE-2 mainly includes the following steps:
  • Step 700 UE-1 sends an update request message (Link Update Request) to UE-2;
  • the update request message includes but is not limited to some or all of the following information:
  • Step 701 UE-2 feeds back an update response message (Link Update Response) to UE-1;
  • the update response message includes but is not limited to part or all of the following information:
  • UE-1 and UE-2 have established PC5 QoS Flow#2 for the transmission of V2X messages between Application Layer ID-3 and Application Layer ID-4 .
  • FIG. 8 does not indicate that there are two PC5 unicast links between UE-1 and UE-2 at the same time, but indicates the comparison diagram before and after establishing QoS Flow#2 between UE-1 and UE-2.
  • Embodiment 3 Reuse the established QoS Flow
  • the Application Layer ID-3 of UE-1 initiates direct communication with the Application Layer ID-4 of UE-2.
  • UE-1 determines the QoS update this time according to the new application layer service quality requirements and the established QoS flow service quality Direct communication flow identifier corresponding to flow.
  • UE-1 determines that the service quality of the established QoS flow#1 meets the direct connection requirements of the new application layer service
  • UE-1 reuses the established direct communication flow identification QFI#1 and uses the QoS identified by QFI#1 Flow#1 performs V2X message transmission between Application Layer ID-3 and Application Layer ID-4.
  • FIG. 9 it is a schematic diagram of the interaction process of QoS flow#1 between UE-1 reuse and UE-2, which mainly includes the following steps:
  • Step 900 UE-1 sends an update request message (Link Update Request) to UE-2;
  • the update request message includes but is not limited to some or all of the following information:
  • Step 901 UE-2 feeds back an update response message (Link Update Response) to UE-1;
  • the update response message includes but is not limited to part or all of the following information:
  • FIG. 10 it is a schematic diagram of before and after reusing QoS Flow#1.
  • UE-1 and UE-2 use QoS Flow#1 to transmit V2X messages between Application Layer ID-3 and Application Layer ID-4.
  • FIG. 10 does not indicate that there are two PC5 unicast links between UE-1 and UE-2 at the same time, but indicates that UE-1 and UE-2 reuse QoS Flow#1 before and after the comparison.
  • UE-2 feeds back to UE-1 the interaction mode between UE-1 and UE-2 corresponding to other application layer identifiers that it supports.
  • Embodiment 4 PC5 unicast link and QoS flow are established between UE-1 and UE-2;
  • UE-1 After the establishment of PC5 unicast link and PC5 QoS Flow#1 between UE-1 and UE-2, when UE-1 has a new application layer service quality requirement, for example: UE-1’s Application Layer ID-3 initiates a pair Application Layer ID-4 direct communication request message, because UE-2 does not feed back other application layer IDs supported by UE-1, UE-1 cannot determine the receiving terminal corresponding to Application Layer ID-4, and UE-1 needs Send the direct communication request message in broadcast mode.
  • UE-1 has a new application layer service quality requirement, for example: UE-1’s Application Layer ID-3 initiates a pair Application Layer ID-4 direct communication request message, because UE-2 does not feed back other application layer IDs supported by UE-1, UE-1 cannot determine the receiving terminal corresponding to Application Layer ID-4, and UE-1 needs Send the direct communication request message in broadcast mode.
  • UE-1 Before broadcasting the new direct communication request message, UE-1 establishes a new direct communication flow identifier according to the new application layer service quality requirements, and places the newly-created direct communication flow identifier in the direct connection Broadcast in the communication request message.
  • UE-2 After UE-2 receives the new direct communication request message broadcast by UE-1, it determines that a PC5 unicast link has been established between UE-2 and UE-1, and UE-2 determines that it supports the application layer requested by UE-1 ID, UE-2 determines the direct communication flow identifier according to the QoS parameter included in the new direct communication request message and the service quality of the established direct communication flow identifier.
  • UE-2 determines the direct communication flow identifier according to the QoS parameter contained in the new direct communication request message and the service quality of the established direct communication flow identifier.
  • the first possible situation is UE-2 determines that the PC5 unicast link with UE-1 does not meet the QoS parameter contained in the new direct communication request message, and UE-2 feeds back the direct communication flow identifier contained in the direct communication request message to UE-1;
  • Another possible situation is that UE-2 determines that the PC5 unicast link with UE-1 contains the QoS flow corresponding to the QoS parameter contained in the new direct communication request message, such as the established QoS flow#1, then UE-2 reuses QoS flow#1, and feeds back the identifier QF#1 of QoS flow#1 to UE-1;
  • Embodiment 5 establishing a new QoS flow between UE-1 and UE-2;
  • UE-1 Before UE-1's Application Layer ID-3 initiates direct communication with Application Layer ID-4, UE-1 establishes a new direct communication flow identifier according to the new application layer service quality requirements.
  • Application Layer ID-4 is the application layer identifier of the opposite end of the new direct communication connection to be established by UE-1.
  • UE-1 establishes a new QoS flow with the peer according to the new application layer service quality requirements, which mainly includes the following steps:
  • Step 1100 UE-1 broadcasts a new direct communication connection request message
  • the direct communication request message includes the UE-1 V2X Layer ID of UE-1 and the target application layer ID Application Layer ID-4, and the direct communication request message also includes but is not limited to some or all of the following information: service type, Application Layer ID-3, UE-1 Layer-2 ID and QFI#2 and PC5 QoS Flow Index (PC5 QoS Flow Identifier, PFI)#2 corresponding to PC5 QoS parameter.
  • Step 1101 UE-2, UE-3, and UE-4 receive the direct communication request message broadcast by UE-1;
  • UE-2 After UE-2 receives the new direct communication request message broadcast by UE-1, it determines that it supports Application Layer ID-4, and UE-2 determines that it has established a PC5 unicast link with UE-1, so there is no need to create a new PC5 unicast link.
  • UE-2 determines whether the established QoS flow can be reused according to the new application layer QoS requirements (PC5 QoS parameter corresponding to PFI#2) and the established QoS flow included in the direct communication request message.
  • the established QoS flow meets the PC5 QoS parameter corresponding to PFI#2, the established QoS flow is reused, otherwise, it is determined to establish the QoS flow identified by QFI#2 with UE-1.
  • UE-2 determines that the service quality of the established direct communication flow QoS flow#1 does not meet the direct connection requirements of the new application layer service
  • UE-2 places QFI#2 in the direct communication response message and feeds it back to UE- 1.
  • Step 1102 UE-2 feeds back a direct communication response message to UE-1;
  • the direct communication response message includes UE-2V2X Layer ID of UE-2, and the direct communication response information also includes but is not limited to some or all of the following information: Application Layer ID-3, Application Layer ID-4, UE-1 V2X Layer ID, UE-2 V2X Layer ID, UE-1 Layer-2 ID, UE-2 Layer-2 ID, QFI#2.
  • UE-1 establishes QoS Flow#2 for the transmission of V2X messages between Application Layer ID-3 and UE-2 Application Layer ID-4.
  • FIG. 11 does not show that there are two PC5 unicast links between UE-1 and UE-2 at the same time, but shows a schematic diagram of before and after establishing QoS Flow#2 between UE-1 and UE-2.
  • Embodiment 6 reuse the established direct communication flow
  • UE-1 Before UE-1's Application Layer ID-3 initiates direct communication with Application Layer ID-4, UE-1 establishes a new direct communication flow identifier according to the new application layer service quality requirements.
  • Application Layer ID-4 is the application layer identifier of the opposite end of the new direct communication connection to be established by UE-1.
  • UE-1 is based on the new application layer quality of service requirements and reuse of the established QoS flow interaction flow diagram, which mainly includes the following steps:
  • Step 1200 UE-1 broadcasts a new direct communication connection request message
  • the direct communication request message includes the UE-1 V2X Layer ID of UE-1 and the target application layer ID Application Layer ID-4, and the direct communication request message also includes but is not limited to some or all of the following information: service Type, Application Layer ID-3, UE-1 Layer-2 ID, and PC5 QoS parameter corresponding to QFI#2 and PFI#2.
  • Step 1201 UE-2, UE-3 and UE-4 receive the direct communication request message broadcast by UE-1;
  • UE-2 After UE-2 receives the new direct communication request message broadcast by UE-1, it determines that it supports Application Layer ID-4, and UE-2 determines that it has established a PC5 unicast link with UE-1, so there is no need to create a new PC5 unicast link.
  • UE-2 determines whether the established QoS flow can be reused according to the new application layer QoS requirements (PC5 QoS parameter corresponding to PFI#2) and the established QoS flow included in the direct communication request message.
  • the established QoS flow meets the PC5 QoS parameter corresponding to PFI#2, the established QoS flow is reused, otherwise, it is determined to establish the QoS flow identified by QFI#2 with UE-1.
  • UE-2 places QFI#1 in the direct communication response message and feeds it back to UE-1 .
  • Step 1202 UE-2 feeds back a direct communication response message to UE-1;
  • the direct communication response message includes UE-2V2X Layer ID of UE-2, and the direct communication response information also includes but is not limited to some or all of the following information: Application Layer ID-3, Application Layer ID-4, UE-1 V2X Layer ID, UE-2 V2X Layer ID, UE-1 Layer-2 ID, UE-2 Layer-2 ID, QFI#1.
  • UE-1 reuses QoS Flow#1 for the transmission of V2X messages between Application Layer ID-3 and UE-2 Application Layer ID-4.
  • Fig. 12 does not mean that there are two PC5 unicast links between UE-1 and UE-2 at the same time, but a schematic diagram of the before and after reusing QoS Flow#1 between UE-1 and UE-2.
  • the embodiment of the application also provides a sending terminal for direct communication. Because the device is the sending terminal in the system of the embodiment of the application for direct communication, and the principle of the receiving terminal to solve the problem is similar to the method. Therefore, the implementation of the receiving terminal can refer to the implementation of the method, and the repetition will not be repeated.
  • the first direct communication sending terminal in the embodiment of the present application includes a processor 1300, a memory 1301, and a transceiver 1302;
  • the processor 1300 is responsible for managing the bus architecture and general processing, and the memory 1301 may store data used by the processor 1300 when performing operations.
  • the transceiver 1302 is used to receive and send data under the control of the processor 1300.
  • the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 1300 and various circuits of the memory represented by the memory 1301 are linked together.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further descriptions are provided herein.
  • the bus interface provides the interface.
  • the processor 1300 is responsible for managing the bus architecture and general processing, and the memory 1301 may store data used by the processor 1300 when performing operations.
  • the process disclosed in the embodiment of the present application may be applied to the processor 1300 or implemented by the processor 1300.
  • each step of the signal processing flow can be completed by an integrated logic circuit of hardware in the processor 1300 or instructions in the form of software.
  • the processor 1300 may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the embodiments of the present application The disclosed methods, steps and logic block diagrams.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory 1301, and the processor 1300 reads the information in the memory 1301 and completes the steps of the signal processing flow in combination with its hardware.
  • the processor 1300 is configured to read a program in the memory 1301 and execute:
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes the application layer identifier of the receiving terminal.
  • the application layer identifier of the receiving terminal includes the target application layer identifier requested by the sending terminal; or the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal .
  • processor 1300 is further configured to:
  • processor 1300 is further configured to:
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • processor 1300 is further configured to:
  • the processor 1300 is specifically configured to:
  • the processor 1300 is specifically configured to:
  • the service quality of the established direct communication flow meets the application layer service quality requirements, then determine the established direct communication flow identifier that meets the application layer service quality requirements as the direct communication flow corresponding to the new application layer service quality requirements Flow identifier; otherwise, a new direct communication flow identifier is established as the direct communication flow identifier corresponding to the new application layer service quality requirement.
  • processor 1300 is further configured to:
  • the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, the new target application layer identifier, and the new direct communication flow Identifies the quality of service parameter corresponding to the direct communication flow identifier.
  • processor 1300 is further configured to:
  • the target application layer identifier is an application layer identifier supported by the receiving terminal, after broadcasting a new direct communication request message, receive a direct communication response message sent by the receiving terminal; wherein, the direct communication response message
  • the vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal are included.
  • the processor 1300 is specifically configured to:
  • the direct connection corresponding to the established direct communication flow identifier is reused Communication flow
  • the new direct communication flow identifier fed back by the receiving terminal is the new direct communication flow identifier included in the new direct communication request message sent by the sending terminal, then the new direct communication flow identifier correspondence is established Direct communication flow.
  • an embodiment of the present application provides a schematic structural diagram of another sending terminal for direct communication.
  • the sending terminal includes: a first sending module 1400, a first receiving module 1401, and a first processing module 1402 :
  • the first sending module 1400 used to send a direct communication request message
  • the first receiving module 1401 used to receive the direct communication response message fed back by the receiving terminal;
  • the first processing module 1402 establishing a direct communication connection with the receiving terminal;
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes the application layer identifier of the receiving terminal.
  • the application layer identifier of the receiving terminal includes the target application layer identifier requested by the sending terminal; or the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal .
  • the first processing module 1402 is further configured to:
  • the first processing module 1402 is further configured to:
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • the first processing module 1402 is further configured to:
  • the first processing module 1402 is specifically configured to:
  • the first processing module 1402 is specifically configured to:
  • the service quality of the established direct communication flow meets the application layer service quality requirements, then determine the established direct communication flow identifier that meets the application layer service quality requirements as the direct communication flow corresponding to the new application layer service quality requirements Flow identifier; otherwise, a new direct communication flow identifier is established as the direct communication flow identifier corresponding to the new application layer service quality requirement.
  • the first processing module 1402 is further configured to:
  • the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, the new target application layer identifier, and the new direct communication flow Identifies the quality of service parameter corresponding to the direct communication flow identifier.
  • the first processing module 1402 is further configured to:
  • the target application layer identifier is an application layer identifier supported by the receiving terminal, after broadcasting a new direct communication request message, receive a direct communication response message sent by the receiving terminal; wherein, the direct communication response message
  • the vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal are included.
  • the first processing module 1402 is specifically configured to:
  • the direct connection corresponding to the established direct communication flow identifier is reused Communication flow
  • the new direct communication flow identifier fed back by the receiving terminal is the new direct communication flow identifier included in the new direct communication request message sent by the sending terminal, then the new direct communication flow identifier correspondence is established Direct communication flow.
  • the embodiment of the application also provides a receiving terminal for direct communication. Because the device is the receiving terminal in the system of the embodiment of the application for direct communication, and the principle of the receiving terminal to solve the problem is similar to the method. Therefore, the implementation of the receiving terminal can refer to the implementation of the method, and the repetition will not be repeated.
  • the first direct communication receiving terminal in the embodiment of the present application includes a processor 1500, a memory 1501, and a transceiver 1502;
  • the processor 1500 is responsible for managing the bus architecture and general processing, and the memory 1501 can store data used by the processor 1500 when performing operations.
  • the transceiver 1502 is used to receive and transmit data under the control of the processor 1500.
  • the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 1500 and various circuits of the memory represented by the memory 1501 are linked together.
  • the bus architecture can also link various other circuits such as peripherals, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further descriptions are provided herein.
  • the bus interface provides the interface.
  • the processor 1500 is responsible for managing the bus architecture and general processing, and the memory 1501 can store data used by the processor 1500 when performing operations.
  • the process disclosed in the embodiment of the present application may be applied to the processor 1500 or implemented by the processor 1500.
  • each step of the signal processing flow can be completed by an integrated logic circuit of hardware in the processor 1500 or instructions in the form of software.
  • the processor 1500 may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the embodiments of the present application The disclosed methods, steps and logic block diagrams.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory 1501, and the processor 1500 reads the information in the memory 1501, and completes the steps of the signal processing flow in combination with its hardware.
  • the processor 1500 is configured to read a program in the memory 1501 and execute:
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes the application layer identifier of the receiving terminal.
  • the application layer identifier of the receiving terminal includes:
  • the target application layer identifier requested by the sending terminal or
  • the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal are not limited to the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  • processor 1500 is further configured to:
  • Data transmission is performed through a direct communication stream established with the sending terminal.
  • processor 1500 is further configured to:
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • processor 1500 is further configured to:
  • the direct communication request message broadcast by the sending terminal is received; wherein the direct communication request message includes the application layer identifier of the sending terminal, and the sending terminal Terminal car networking layer identification, new target application layer identification, new direct communication flow identification and service quality parameters corresponding to the direct communication flow identification;
  • the target application layer identifier After determining that the target application layer identifier is an application layer identifier supported by itself, send a direct communication response message to the sending terminal; wherein, the direct communication response message includes the IoV layer identifier and the direct connection of the receiving terminal Communication flow ID.
  • processor 1500 is further configured to:
  • processor 1500 is specifically configured to:
  • the direct communication flow identifier is determined according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
  • processor 1500 is specifically configured to:
  • the established direct communication flow identifier is reused; otherwise, a new direct communication is established Flow ID.
  • an embodiment of the present application provides a schematic structural diagram of another receiving terminal for direct communication.
  • the sending terminal includes: a second sending module 1600, a second receiving module 1601, and a second processing module 1602 :
  • the second sending module 1600 used to receive the fixed direct communication request message sent by the sending terminal;
  • the second receiving module 1601 used to send a direct communication response message to the sending terminal;
  • the second processing module 1602 used to establish a direct communication connection with the sending terminal
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes the application layer identifier of the receiving terminal.
  • the application layer identifier of the receiving terminal includes:
  • the target application layer identifier requested by the sending terminal or
  • the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal are not limited to the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  • the second processing module 1602 is further configured to:
  • Data transmission is performed through a direct communication stream established with the sending terminal.
  • the second processing module 1602 is further configured to:
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • the second processing module 1602 is further configured to:
  • the direct communication request message broadcast by the sending terminal is received; wherein the direct communication request message includes the application layer identifier of the sending terminal, and the sending terminal Terminal car networking layer identification, new target application layer identification, new direct communication flow identification and service quality parameters corresponding to the direct communication flow identification;
  • the target application layer identifier After determining that the target application layer identifier is an application layer identifier supported by itself, send a direct communication response message to the sending terminal; wherein, the direct communication response message includes the IoV layer identifier and the direct connection of the receiving terminal Communication flow ID.
  • the second processing module 1602 is further configured to:
  • the second processing module 1602 is specifically configured to:
  • the direct communication flow identifier is determined according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
  • the second processing module 1602 is specifically configured to:
  • the established direct communication flow identifier is reused; otherwise, a new direct communication is established Flow ID.
  • the embodiment of this application also provides a method of direct communication, because this method corresponds to the method corresponding to the sending terminal directly communicating in the embodiment of this application, and the principle of the method to solve the problem is the same as that of the sending terminal. Similar, so the implementation of this method can refer to the implementation of the sending terminal, and the repetition will not be repeated.
  • a flow chart of a direct communication method provided by an embodiment of this application specifically includes the following steps:
  • Step 1700 The sending terminal sends a direct communication request message
  • Step 1701 The sending terminal receives the direct communication response message fed back by the receiving terminal;
  • Step 1702 The sending terminal establishes a direct communication connection with the receiving terminal;
  • the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  • the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes:
  • the application layer identifier of the receiving terminal is a part of the receiving terminal.
  • the application layer identifier of the receiving terminal includes:
  • the target application layer identifier requested by the sending terminal or
  • the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal are not limited to the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  • establishing a direct communication connection between the sending terminal and the receiving terminal further includes:
  • the sending terminal establishes a direct communication flow with the receiving terminal.
  • the method further includes:
  • the sending terminal determines that there is a new application layer service quality requirement
  • the sending terminal sends an update request message
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • the method before the sending terminal sends the update request message, the method further includes:
  • the sending terminal determines the vehicle networking layer identifier of the receiving terminal corresponding to other application layer identifiers supported by the receiving terminal and the direct communication flow identifier corresponding to the new application layer service quality requirement.
  • the sending terminal determining the direct communication flow identifier corresponding to the update request message includes:
  • the sending terminal determines the direct communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow.
  • the sending terminal determines the direct communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow, including:
  • the sending terminal determines that the established direct communication flow identifier that meets the application layer service quality requirements corresponds to the new application layer service quality requirements The direct connection communication flow identifier; otherwise, the sending terminal establishes a new direct communication flow identifier as the direct communication flow identifier corresponding to the new application layer service quality requirement.
  • the method further includes:
  • the sending terminal determines that there is a new application layer service quality requirement
  • the sending terminal broadcasts a new direct connection communication request message, the direct connection communication request message including the application layer identification of the sending terminal, the Internet of Vehicles layer identification of the sending terminal, the new target application layer identification, and the new direct connection
  • the communication flow identifier and the quality of service parameter corresponding to the directly connected communication flow identifier are included in the direct connection communication request message.
  • the target application layer identifier is an application layer identifier supported by the receiving terminal
  • the method further includes:
  • the sending terminal receives the direct communication response message sent by the receiving terminal; wherein the direct communication response message includes the vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal.
  • the method further includes:
  • the sending terminal reuses the direct communication flow corresponding to the established direct communication flow identifier
  • the sending terminal establishes the new direct connection
  • the communication flow identifier corresponds to the direct communication flow.
  • the embodiment of this application also provides a method of direct communication, because this method corresponds to the method corresponding to the receiving terminal directly communicating in the embodiment of this application, and the principle of the method to solve the problem is the same as that of the receiving terminal. Similar, so the implementation of this method can refer to the implementation of the receiving terminal, and the repetition will not be repeated.
  • a flow chart of a method for direct communication provided by an embodiment of this application specifically includes the following steps:
  • Step 1800 The receiving terminal receives the fixed direct communication request message sent by the sending terminal;
  • Step 1801 The receiving terminal sends a direct communication response message to the sending terminal;
  • Step 1802 the receiving terminal establishes a direct communication connection with the sending terminal; wherein the direct communication request message includes the IoV layer identification of the sending terminal; the direct communication response message includes all The vehicle networking layer identification of the receiving terminal.
  • the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
  • the direct communication request message further includes some or all of the following:
  • the direct communication response message further includes:
  • the application layer identifier of the receiving terminal is a part of the receiving terminal.
  • the application layer identifier of the receiving terminal includes:
  • the target application layer identifier requested by the sending terminal or
  • the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal are not limited to the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  • establishing a direct communication connection between the receiving terminal and the sending terminal further includes:
  • the receiving terminal performs data transmission through a direct communication stream established with the sending terminal.
  • the method further includes:
  • the receiving terminal feeds back an update response message to the sending terminal
  • the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal.
  • Networking layer identification and direct communication flow identification includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  • the method further includes:
  • the receiving terminal receives the direct communication request message broadcast by the sending terminal; wherein the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, and the new target application layer ID, the new direct communication flow ID and the quality of service parameters corresponding to the direct communication flow ID;
  • the receiving terminal After the receiving terminal determines that the target application layer identifier is an application layer identifier supported by itself, it sends a direct communication response message to the sending terminal; wherein the direct communication response message includes the car networking layer of the receiving terminal Identification and direct communication flow identification.
  • the method before the receiving terminal sends the direct communication response message to the sending terminal, the method further includes:
  • the receiving terminal determines the direct communication flow identifier.
  • the determination of the direct connection communication flow identifier by the receiving terminal includes:
  • the receiving terminal determines the direct communication flow identifier according to the service quality parameters corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
  • the receiving terminal determines the direct communication flow identifier according to the service quality parameter in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow, including:
  • the sending terminal reuses the established direct communication flow identifier; otherwise, the The sending terminal establishes a new direct communication flow identifier.
  • An embodiment of the present application further provides a computer-readable non-volatile storage medium, including program code, when the program code runs on a computing terminal, the program code is used to make the computing terminal execute the implementation of the present application.
  • program code when the program code runs on a computing terminal, the program code is used to make the computing terminal execute the implementation of the present application. Example of the steps of the direct communication method.
  • this application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium to be used by the instruction execution system or Used in conjunction with the instruction execution system.
  • a computer-usable or computer-readable medium can be any medium that can contain, store, communicate, transmit, or transmit a program for use by an instruction execution system, device, or device, or in combination with an instruction execution system, Device or equipment use.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a method and device for a sidelink, which are used to solve the problem of wasting of radio resources being easily caused by an existing method for building a sidelink between terminals. According to the embodiments of the present application, a sending terminal and a receiving terminal build a sidelink connection according to respectively corresponding Internet of Vehicles layer identifiers; and if there is a new application layer service requirement during data transmission between the sending terminal and the receiving terminal, the sending terminal can use a built QoS flow that meets the new application layer service requirement to transmit a V2X message with the receiving terminal, thereby avoiding wasting of radio resources caused by repeatedly building QoS flows, having the same QoS parameters, between the sending terminal and the receiving terminal.

Description

一种直连通信的方法和设备Method and equipment for direct communication
相关申请的交叉引用Cross references to related applications
本申请要求在2019年07月25日提交中国专利局、申请号为201910677518.1、申请名称为“一种直连通信的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on July 25, 2019, with an application number of 201910677518.1, and the application title is "a method and device for direct communication", the entire content of which is incorporated herein by reference Applying.
技术领域Technical field
本申请涉及通信技术领域,特别涉及一种直连通信的方法和设备。This application relates to the field of communication technology, and in particular to a method and device for direct communication.
背景技术Background technique
第三代移动通信标准化组织(3rd Generation Partnership Project,3GPP)标准中定义了两个用户设备(User Equipment,UE)之间直接进行车用无线通信技术(vehicle to X,V2X)通信的方式,V2X消息的传输不经过网络而是通过UE之间的PC5接口进行,当两个UE通过单播(unicast)方式进行通信时,两个UE之间建立单播链路(unicast link)。如图1所示,UE A和UE B之间通过PC5接口进行V2X消息的发送和接收,V2X消息的传输不经过网络。The third generation of mobile communications standardization organization (3rd Generation Partnership Project, 3GPP) standard defines a way for two user equipment (User Equipment, UE) to directly communicate with vehicle wireless communication technology (vehicle to X, V2X), V2X The transmission of the message does not go through the network but through the PC5 interface between the UEs. When two UEs communicate in a unicast mode, a unicast link is established between the two UEs. As shown in Figure 1, UE A and UE B send and receive V2X messages through the PC5 interface, and the transmission of V2X messages does not go through the network.
现有技术中,PC5 unicast link(链路)由两个UE的层(Layer)-2身份标识(identification,ID)来标识,两个UE之间可能建立多个PC5 unicast link。不同的PC5 unicast link可能包含相同的服务质量要求(Quality of Service,QoS)流(Flow),而这些QoS Flow将映射到不同的侧链无线承载(SideLink Radio Bearer,SLRB)上,造成了无线资源的浪费。In the prior art, the PC5 unicast link (link) is identified by the Layer-2 identification (ID) of two UEs, and multiple PC5 unicast links may be established between the two UEs. Different PC5 unicast links may contain the same quality of service (Quality of Service, QoS) flow (Flow), and these QoS flows will be mapped to different side-chain radio bearers (SideLink Radio Bearer, SLRB), resulting in radio resources Waste.
综上所述,现有终端之间建立直连通信的方式易造成无线资源浪费。In summary, the existing method of establishing direct communication between terminals is likely to cause a waste of wireless resources.
发明内容Summary of the invention
本申请提供一种直连通信的方法和设备,用以解决现有终端之间建立直连通信的方式易造成无线资源浪费的问题。The present application provides a method and device for direct connection communication, which are used to solve the problem of wireless resource waste caused by the way of establishing direct connection communication between existing terminals.
第一方面,本申请实施例提供的一种直连通信的方法包括:In the first aspect, a direct communication method provided by an embodiment of the present application includes:
发送终端发送直连通信请求消息;The sending terminal sends a direct communication request message;
所述发送终端接收接收终端反馈的直连通信应答消息;Receiving, by the sending terminal, a direct communication response message fed back by the receiving terminal;
所述发送终端建立与所述接收终端之间的直连通信连接;Establishing a direct communication connection between the sending terminal and the receiving terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
上述方法,发送终端与接收终端根据自身对应的车联网层标识建立直连通信连接,若发送终端与接收终端进行数据传输时,有新的应用层服务需求,则发送终端可以使用满足新的应用层服务需求的已建立的QoS flow与接收终端进行V2X消息的传输,避免了发送终端与接收终端之间重复建立具有相同QoS参数的QoS flow造成的无线资源的浪费。In the above method, the sending terminal and the receiving terminal establish a direct communication connection according to their own corresponding car networking layer identification. If there is a new application layer service requirement when the sending terminal and the receiving terminal perform data transmission, the sending terminal can use it to meet the new application The established QoS flow required by the layer service transmits V2X messages with the receiving terminal, which avoids the waste of wireless resources caused by repeatedly establishing a QoS flow with the same QoS parameters between the sending terminal and the receiving terminal.
在一种可选的实施方式中,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。In an optional implementation manner, the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layers of the receiving terminal Logo.
在一种可选的实施方式中,所述直连通信请求消息还包括下列中的部分或全部:In an optional implementation manner, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
在一种可选的实施方式中,所述直连通信应答消息还包括:In an optional implementation manner, the direct communication response message further includes:
所述接收终端的应用层标识。The application layer identifier of the receiving terminal.
在一种可选的实施方式中,所述接收终端的应用层标识包括:In an optional implementation manner, the application layer identifier of the receiving terminal includes:
所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
在一种可选的实施方式中,所述发送终端建立与所述接收终端之间的直 连通信连接,还包括:In an optional implementation manner, establishing a direct communication connection between the sending terminal and the receiving terminal further includes:
所述发送终端建立与所述接收终端之间的直连通信流。The sending terminal establishes a direct communication flow with the receiving terminal.
在一种可选的实施方式中,所述发送终端建立与所述接收终端之间的直连通信连接之后,还包括:In an optional implementation manner, after the sending terminal establishes a direct communication connection with the receiving terminal, the method further includes:
所述发送终端确定有新的应用层服务质量需求;The sending terminal determines that there is a new application layer service quality requirement;
所述发送终端发送更新请求消息;The sending terminal sends an update request message;
所述发送终端接收所述接收终端反馈的更新应答消息;Receiving, by the sending terminal, an update response message fed back by the receiving terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
在一种可选的实施方式中,在所述发送终端发送更新请求消息之前,还包括:In an optional implementation manner, before the sending terminal sends the update request message, the method further includes:
所述发送终端确定所述接收终端支持的其他应用层标识对应的所述接收终端的车联网层标识和所述新的应用层服务质量需求对应的直连通信流标识。The sending terminal determines the vehicle networking layer identifier of the receiving terminal corresponding to other application layer identifiers supported by the receiving terminal and the direct communication flow identifier corresponding to the new application layer service quality requirement.
在一种可选的实施方式中,所述发送终端确定所述更新请求消息对应的直连通信流标识,包括:In an optional implementation manner, the sending terminal determining the direct communication flow identifier corresponding to the update request message includes:
所述发送终端根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识。The sending terminal determines the direct communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow.
在一种可选的实施方式中,所述发送终端根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识,包括:In an optional implementation manner, the sending terminal determines the direct communication corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow Flow identification, including:
若已建立的直连通信流的服务质量满足应用层服务质量需求,则所述发送终端确定满足应用层服务质量需求的已建立的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识;否则,所述发送终端建立新的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识。If the service quality of the established direct communication flow meets the application layer service quality requirements, the sending terminal determines that the established direct communication flow identifier that meets the application layer service quality requirements corresponds to the new application layer service quality requirements The direct connection communication flow identifier; otherwise, the sending terminal establishes a new direct communication flow identifier as the direct communication flow identifier corresponding to the new application layer service quality requirement.
在一种可选的实施方式中,所述发送终端建立与所述接收终端之间的直连通信连接之后,还包括:In an optional implementation manner, after the sending terminal establishes a direct communication connection with the receiving terminal, the method further includes:
所述发送终端确定有新的应用层服务质量需求;The sending terminal determines that there is a new application layer service quality requirement;
所述发送终端广播新的直连通信请求消息,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和所述直连通信流标识对应的服务质量参数。The sending terminal broadcasts a new direct connection communication request message, the direct connection communication request message including the application layer identification of the sending terminal, the Internet of Vehicles layer identification of the sending terminal, the new target application layer identification, and the new direct connection The communication flow identifier and the quality of service parameter corresponding to the directly connected communication flow identifier.
在一种可选的实施方式中,若所述目标应用层标识为所述接收终端支持的应用层标识;In an optional implementation manner, if the target application layer identifier is an application layer identifier supported by the receiving terminal;
所述发送终端广播新的直连通信请求消息之后,还包括:After the sending terminal broadcasts the new direct communication request message, the method further includes:
所述发送终端接收所述接收终端发送的直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。The sending terminal receives the direct communication response message sent by the receiving terminal; wherein the direct communication response message includes the vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal.
在一种可选的实施方式中,所述发送终端接收所述接收终端发送的直连通信响应消息之后,还包括:In an optional implementation manner, after the sending terminal receives the direct communication response message sent by the receiving terminal, the method further includes:
所述接收终端根据所述发送终端反馈的所述直连通信响应消息中的直连通信流标识建立对应的直连通信流。The receiving terminal establishes a corresponding direct communication flow according to the direct communication flow identifier in the direct communication response message fed back by the sending terminal.
在一种可选的实施方式中,所述接收终端根据所述发送终端反馈的所述直连通信响应消息中的直连通信流标识建立对应的直连通信流,包括:In an optional implementation manner, the establishment of the corresponding direct communication flow by the receiving terminal according to the direct communication flow identifier in the direct communication response message fed back by the sending terminal includes:
若所述接收终端反馈的直连通信流标识为已建立的直连通信流标识,则所述发送终端重用已建立的直连通信流标识对应的直连通信流;If the direct communication flow identifier fed back by the receiving terminal is an established direct communication flow identifier, the sending terminal reuses the direct communication flow corresponding to the established direct communication flow identifier;
若所述接收终端反馈的直连通信流标识为所述发送终端发送的新的直连通信请求消息包含的所述新的直连通信流标识,则所述发送终端建立所述新的直连通信流标识对应的直连通信流。If the direct communication stream identifier fed back by the receiving terminal is the new direct communication stream identifier included in the new direct communication request message sent by the sending terminal, the sending terminal establishes the new direct connection The communication flow identifier corresponds to the direct communication flow.
第二方面,本申请实施例提供的一种直连通信的方法包括:In the second aspect, a direct communication method provided by an embodiment of the present application includes:
接收终端接收发送终端发送固定直连通信请求消息;The receiving terminal receives the fixed direct communication request message sent by the sending terminal;
所述接收终端向所述发送终端发送直连通信应答消息;Sending, by the receiving terminal, a direct communication response message to the sending terminal;
所述接收终端建立与所述发送终端之间的直连通信连接;Establishing a direct communication connection between the receiving terminal and the sending terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目 标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
在一种可选的实施方式中,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。In an optional implementation manner, the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layers of the receiving terminal Logo.
在一种可选的实施方式中,所述直连通信请求消息还包括下列中的部分或全部:In an optional implementation manner, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
在一种可选的实施方式中,所述直连通信应答消息还包括:In an optional implementation manner, the direct communication response message further includes:
所述接收终端的应用层标识。The application layer identifier of the receiving terminal.
在一种可选的实施方式中,所述接收终端的应用层标识包括:In an optional implementation manner, the application layer identifier of the receiving terminal includes:
所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
在一种可选的实施方式中,所述接收终端建立与所述发送终端之间的直连通信连接,还包括:In an optional implementation manner, the establishment of a direct communication connection between the receiving terminal and the sending terminal further includes:
所述接收终端通过与所述发送终端之间建立的直连通信流进行数据传输。The receiving terminal performs data transmission through a direct communication stream established with the sending terminal.
在一种可选的实施方式中,所述接收终端建立与所述发送终端之间的直连通信连接之后,还包括:In an optional implementation manner, after the receiving terminal establishes a direct communication connection with the sending terminal, the method further includes:
所述接收终端接收所述发送终端发送的更新请求消息;Receiving, by the receiving terminal, an update request message sent by the sending terminal;
所述接收终端向所述发送终端反馈更新应答消息;The receiving terminal feeds back an update response message to the sending terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通 信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
在一种可选的实施方式中,所述接收终端建立与所述发送终端之间的直连通信连接之后,还包括:In an optional implementation manner, after the receiving terminal establishes a direct communication connection with the sending terminal, the method further includes:
所述接收终端接收所述发送终端广播的直连通信请求消息;其中,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和直连通信流标识对应的服务质量参数;The receiving terminal receives the direct communication request message broadcast by the sending terminal; wherein the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, and the new target application layer ID, the new direct communication flow ID and the quality of service parameters corresponding to the direct communication flow ID;
所述接收终端确定所述目标应用层标识为自身支持的应用层标识之后,向所述发送终端发送直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。After the receiving terminal determines that the target application layer identifier is an application layer identifier supported by itself, it sends a direct communication response message to the sending terminal; wherein the direct communication response message includes the car networking layer of the receiving terminal Identification and direct communication flow identification.
在一种可选的实施方式中,所述接收终端向所述发送终端发送直连通信响应消息之前,还包括:In an optional implementation manner, before the receiving terminal sends a direct communication response message to the sending terminal, the method further includes:
所述接收终端确定直连通信流标识。The receiving terminal determines the direct communication flow identifier.
在一种可选的实施方式中,所述接收终端确定直连通信流标识,包括:In an optional implementation manner, the determining of the direct connection communication flow identifier by the receiving terminal includes:
所述接收终端根据所述发送终端广播的直连通信请求消息中的直连通信流标识对应的服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识。The receiving terminal determines the direct communication flow identifier according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
在一种可选的实施方式中,所述接收终端根据所述发送终端广播的直连通信请求消息中的服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识,包括:In an optional implementation manner, the receiving terminal determines the direct communication flow identifier according to the quality of service parameters in the direct communication request message broadcast by the sending terminal and the quality of service with the established direct communication flow, include:
若已建立的直连通信流的服务质量满足所述发送终端广播的直连通信请求消息中的服务质量参数,则所述发送终端重用所述已建立的直连通信流标识;否则,所述发送终端建立新的直连通信流标识。If the service quality of the established direct communication flow meets the quality of service parameters in the direct communication request message broadcast by the sending terminal, the sending terminal reuses the established direct communication flow identifier; otherwise, the The sending terminal establishes a new direct communication flow identifier.
第三方面,本申请实施例还提供了一种直连通信的发送终端,该发送终端包括:处理器以及存储器,其中,所述存储器存储有程序代码,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述发送终端执行下列过程:In a third aspect, an embodiment of the present application also provides a sending terminal for direct communication. The sending terminal includes a processor and a memory, wherein the memory stores program codes, and when one or more When the computer program is executed by the processor, the sending terminal is caused to execute the following process:
发送直连通信请求消息;Send a direct communication request message;
接收接收终端反馈的直连通信应答消息;Receive a direct communication response message fed back by the receiving terminal;
建立与所述接收终端之间的直连通信连接;Establishing a direct communication connection with the receiving terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
在一种可能的实现方式中,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。In a possible implementation, the vehicle networking layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the vehicle networking layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal .
在一种可能的实现方式中,所述直连通信请求消息还包括下列中的部分或全部:In a possible implementation, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
在一种可能的实现方式中,所述直连通信应答消息还包括所述接收终端的应用层标识。In a possible implementation manner, the direct communication response message further includes the application layer identifier of the receiving terminal.
在一种可能的实现方式中,所述接收终端的应用层标识包括所述发送终端请求的所述目标应用层标识;或所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。In a possible implementation, the application layer identifier of the receiving terminal includes the target application layer identifier requested by the sending terminal; or the target application layer identifier requested by the sending terminal and the receiving terminal support Other application layer IDs.
在一种可能的实现方式中,所述处理器还用于:In a possible implementation manner, the processor is further configured to:
建立与所述接收终端之间的直连通信流。Establish a direct communication flow with the receiving terminal.
在一种可能的实现方式中,所述处理器还用于:In a possible implementation manner, the processor is further configured to:
确定有新的应用层服务质量需求;Determine the new application layer service quality requirements;
发送更新请求消息;Send update request message;
接收所述接收终端反馈的更新应答消息;Receiving an update response message fed back by the receiving terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标 识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
在一种可能的实现方式中,所述处理器还用于:In a possible implementation manner, the processor is further configured to:
确定所述接收终端支持的其他应用层标识对应的所述接收终端的车联网层标识和所述新的应用层服务质量需求对应的直连通信流标识。Determine the vehicle networking layer identifier of the receiving terminal corresponding to other application layer identifiers supported by the receiving terminal and the direct communication flow identifier corresponding to the new application layer service quality requirement.
在一种可能的实现方式中,所述处理器具体用于:In a possible implementation manner, the processor is specifically configured to:
根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识。Determine the direct connection communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow.
在一种可能的实现方式中,所述处理器具体用于:In a possible implementation manner, the processor is specifically configured to:
若已建立的直连通信流的服务质量满足应用层服务质量需求,则确定满足应用层服务质量需求的已建立的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识;否则,建立新的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识。If the service quality of the established direct communication flow meets the application layer service quality requirements, then determine the established direct communication flow identifier that meets the application layer service quality requirements as the direct communication flow corresponding to the new application layer service quality requirements Flow identifier; otherwise, a new direct communication flow identifier is established as the direct communication flow identifier corresponding to the new application layer service quality requirement.
在一种可能的实现方式中,所述处理器还用于:In a possible implementation manner, the processor is further configured to:
确定有新的应用层服务质量需求;Determine the new application layer service quality requirements;
广播新的直连通信请求消息;其中,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和所述直连通信流标识对应的服务质量参数。Broadcast a new direct communication request message; wherein, the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, the new target application layer identifier, and the new direct communication flow Identifies the quality of service parameter corresponding to the direct communication flow identifier.
在一种可能的实现方式中,所述处理器还用于:In a possible implementation manner, the processor is further configured to:
若所述目标应用层标识为所述接收终端支持的应用层标识,广播新的直连通信请求消息之后,接收所述接收终端发送的直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。If the target application layer identifier is an application layer identifier supported by the receiving terminal, after broadcasting a new direct communication request message, receive a direct communication response message sent by the receiving terminal; wherein, the direct communication response message The vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal are included.
在一种可能的实现方式中,所述处理器具体用于:In a possible implementation manner, the processor is specifically configured to:
接收所述接收终端发送的直连通信响应消息之后,若所述接收终端反馈的直连通信流标识为已建立的直连通信流标识,则重用已建立的直连通信流标识对应的直连通信流;After receiving the direct communication response message sent by the receiving terminal, if the direct communication flow identifier fed back by the receiving terminal is an established direct communication flow identifier, the direct connection corresponding to the established direct communication flow identifier is reused Communication flow
若所述接收终端反馈的直连通信流标识为所述发送终端发送的新的直连通信请求消息包含的所述新的直连通信流标识,则建立所述新的直连通信流标识对应的直连通信流。If the direct communication flow identifier fed back by the receiving terminal is the new direct communication flow identifier included in the new direct communication request message sent by the sending terminal, then the new direct communication flow identifier correspondence is established Direct communication flow.
第四方面,本申请实施例还提供了一种直连通信的接收终端,该接收终端包括:处理器以及存储器,其中,所述存储器存储有程序代码,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述接收终端执行下列过程:In a fourth aspect, an embodiment of the present application also provides a receiving terminal for direct communication. The receiving terminal includes a processor and a memory, wherein the memory stores program codes, and when one or more When the computer program is executed by the processor, the receiving terminal executes the following process:
接收发送终端发送固定直连通信请求消息;Receive a fixed direct communication request message sent by the sending terminal;
向所述发送终端发送直连通信应答消息;Sending a direct communication response message to the sending terminal;
建立与所述发送终端之间的直连通信连接;Establishing a direct communication connection with the sending terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
在一种可能的实现方式中,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。In a possible implementation, the vehicle networking layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the vehicle networking layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal .
在一种可能的实现方式中,所述直连通信请求消息还包括下列中的部分或全部:In a possible implementation, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
在一种可能的实现方式中,所述直连通信应答消息还包括所述接收终端的应用层标识。In a possible implementation manner, the direct communication response message further includes the application layer identifier of the receiving terminal.
在一种可能的实现方式中,所述接收终端的应用层标识包括所述发送终端请求的所述目标应用层标识;或所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。In a possible implementation, the application layer identifier of the receiving terminal includes the target application layer identifier requested by the sending terminal; or the target application layer identifier requested by the sending terminal and the receiving terminal support Other application layer IDs.
在一种可能的实现方式中,所述接收终端的应用层标识包括:In a possible implementation manner, the application layer identifier of the receiving terminal includes:
所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
在一种可能的实现方式中,所述处理器还用于:In a possible implementation manner, the processor is further configured to:
通过与所述发送终端之间建立的直连通信流进行数据传输。Data transmission is performed through a direct communication stream established with the sending terminal.
在一种可能的实现方式中,所述处理器还用于:In a possible implementation manner, the processor is further configured to:
建立与所述发送终端之间的直连通信连接之后,接收所述发送终端发送的更新请求消息;After establishing a direct communication connection with the sending terminal, receiving an update request message sent by the sending terminal;
向所述发送终端反馈更新应答消息;Feedback an update response message to the sending terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
在一种可能的实现方式中,所述处理器还用于:In a possible implementation manner, the processor is further configured to:
建立与所述发送终端之间的直连通信连接之后,接收所述发送终端发送的更新请求消息;After establishing a direct communication connection with the sending terminal, receiving an update request message sent by the sending terminal;
向所述发送终端反馈更新应答消息;Feedback an update response message to the sending terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
在一种可能的实现方式中,所述处理器还用于:In a possible implementation manner, the processor is further configured to:
向所述发送终端发送直连通信响应消息之前,确定直连通信流标识。Before sending the direct communication response message to the sending terminal, determine the direct communication flow identifier.
在一种可能的实现方式中,所述处理器具体用于:In a possible implementation manner, the processor is specifically configured to:
根据所述发送终端广播的直连通信请求消息中的直连通信流标识对应的 服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识。The direct communication flow identifier is determined according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
在一种可能的实现方式中,所述处理器具体用于:In a possible implementation manner, the processor is specifically configured to:
若已建立的直连通信流的服务质量满足所述发送终端广播的直连通信请求消息中的服务质量参数,则重用所述已建立的直连通信流标识;否则,建立新的直连通信流标识。If the quality of service of the established direct communication flow meets the quality of service parameters in the direct communication request message broadcast by the sending terminal, the established direct communication flow identifier is reused; otherwise, a new direct communication is established Flow ID.
第五方面,本申请实施例还提供一种直连通信的发送终端,该发送终端包括:In a fifth aspect, an embodiment of the present application also provides a sending terminal for direct communication, and the sending terminal includes:
第一发送模块:用于发送直连通信请求消息;The first sending module: used to send a direct communication request message;
第一接收模块:用于接收接收终端反馈的直连通信应答消息;The first receiving module: used to receive the direct communication response message fed back by the receiving terminal;
第一处理模块:用于建立与所述接收终端之间的直连通信连接;其中,所述直连通信请求消息包含所述发送终端的车联网层标识;所述直连通信应答消息包含所述接收终端的车联网层标识。The first processing module: used to establish a direct communication connection with the receiving terminal; wherein the direct communication request message includes the vehicle networking layer identifier of the sending terminal; the direct communication response message includes all The vehicle networking layer identification of the receiving terminal.
第六方面,本申请实施例还提供一种直连通信的接收终端,该接收终端包括:In a sixth aspect, an embodiment of the present application also provides a receiving terminal for direct communication, and the receiving terminal includes:
第二接收模块:用于接收发送终端发送固定直连通信请求消息;The second receiving module: used to receive the fixed direct communication request message sent by the sending terminal;
第二发送模块:用于向所述发送终端发送直连通信应答消息;The second sending module: used to send a direct communication response message to the sending terminal;
第二处理模块:用于建立与所述发送终端之间的直连通信连接;The second processing module: used to establish a direct communication connection with the sending terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
第七方面,本申请还提供一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面或第二方面所述方法的步骤。In a seventh aspect, the present application also provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.
另外,第二方面至第六方面中任一一种实现方式所带来的技术效果可参见第一方面或第二方面中不同实现方式所带来的技术效果,此处不再赘述。In addition, the technical effects brought about by any one of the implementations of the second aspect to the sixth aspect can be referred to the technical effects brought about by the different implementations of the first aspect or the second aspect, which will not be repeated here.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中 所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings may be obtained from these drawings without creative labor.
图1为本申请实施例提供的一种终端之间通过PC5接口进行通信的示意图;FIG. 1 is a schematic diagram of communication between terminals through a PC5 interface according to an embodiment of the application;
图2为本申请实施例提供的一种终端之间建立PC5 unicast link的示意图;Figure 2 is a schematic diagram of establishing a PC5 unicast link between terminals according to an embodiment of the application;
图3为本申请实施例提供的一种终端建立直连通信涉及的各协议层映射关系示意图;FIG. 3 is a schematic diagram of the mapping relationship of various protocol layers involved in establishing direct communication with a terminal according to an embodiment of the application;
图4为本申请实施例一种直接通信的系统结构示意图;4 is a schematic diagram of the structure of a direct communication system according to an embodiment of this application;
图5为本申请实施例提供的一种建立直连通信的相关流程操作示意图;FIG. 5 is a schematic diagram of a related process operation for establishing direct communication provided by an embodiment of this application;
图6为本申请实施例提供的一种建立的PC5 unicast link和QoS flow的示意图;FIG. 6 is a schematic diagram of an established PC5 unicast link and QoS flow provided by an embodiment of this application;
图7为本申请实施例提供的一种建立更新QoS flow的相关流程操作示意图;FIG. 7 is a schematic diagram of a related process operation for establishing and updating QoS flow according to an embodiment of this application;
图8为本申请实施例提供的一种建立新的QoS flow的前后对比示意图;FIG. 8 is a schematic diagram of a comparison before and after establishing a new QoS flow according to an embodiment of the application;
图9为本申请实施例提供的一种重用已建立的QoS flow的相关流程操作示意图;FIG. 9 is a schematic diagram of related process operations for reusing an established QoS flow provided by an embodiment of the application;
图10为本申请实施例提供的一种建重用已建立的QoS flow的前后对比示意图;FIG. 10 is a schematic diagram of before and after reusing an established QoS flow provided by an embodiment of the application;
图11为本申请实施例提供的另一种建立新的QoS flow的相关流程操作示意图;FIG. 11 is a schematic diagram of another process operation related to establishing a new QoS flow provided by an embodiment of the application;
图12为本申请实施例提供的另一种重用已建立的QoS flow的相关流程操作示意图;FIG. 12 is a schematic diagram of another related process operation of reusing an established QoS flow provided by an embodiment of the application;
图13为本申请实施例提供的一种发送终端的结构示意图;FIG. 13 is a schematic structural diagram of a sending terminal provided by an embodiment of this application;
图14为本申请实施例提供的另一种发送终端的结构示意图;FIG. 14 is a schematic structural diagram of another sending terminal provided by an embodiment of this application;
图15为本申请实施例提供的一种接收终端的结构示意图;FIG. 15 is a schematic structural diagram of a receiving terminal provided by an embodiment of this application;
图16为本申请实施例提供的另一种接收终端的结构示意图;FIG. 16 is a schematic structural diagram of another receiving terminal provided by an embodiment of this application;
图17为本申请实施例提供的一种直接通信的方法中发送终端侧的方法流程示意图;FIG. 17 is a schematic flowchart of a method on the sending terminal side in a direct communication method provided by an embodiment of this application;
图18为本申请实施例提供的一直接通信的方法中接收终端侧的方法流程示意图。FIG. 18 is a schematic flowchart of a method on the receiving terminal side in a direct communication method provided by an embodiment of this application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部份实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the application more clear, the application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the application, rather than all the embodiments. . Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
下面对文中出现的一些词语进行解释:The following explains some words that appear in the text:
1、本申请实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。1. The term "and/or" in the embodiments of the present application describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean that there is A alone, and both A and B exist. There are three cases of B. The character "/" generally indicates that the associated objects are in an "or" relationship.
2、本申请实施例中术语“多个”是指两个或两个以上,其它量词与之类似。2. The term "plurality" in the embodiments of this application refers to two or more than two, and other quantifiers are similar.
本申请实施例描述的应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。其中,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。The application scenarios described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those of ordinary skill in the art will know that with the development of new application scenarios It appears that the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems. Wherein, in the description of the present application, unless otherwise specified, "multiple" means two or more.
现有,终端由自身应用层的不同组织建立对应的应用层标识,通过该应用层标识发起与对端设备之间的V2X通信,即两个终端之间建立PC5 unicast link。At present, the terminal establishes corresponding application layer identifiers by different organizations of its own application layer, and initiates V2X communication with the peer device through the application layer identifier, that is, establishes a PC5 unicast link between the two terminals.
目前标准中定义PC5 unicast link的粒度与一对应用层标识对应,即发送 终端的一个应用层标识与接收终端的一个应用层标识之间可以建立一条PC5 unicast link,该PC5 unicast link由发送终端和接收终端的一对层2 ID来标识,终端的一个应用层标识对应一个层2 ID,因此,若用终端的层2ID来标识PC5 unicast link,则每对应用层标识对应的PC5 unicast link都需要一对层2 ID来标识,也即一对应用层(Application Layer)ID对应一对Layer-2 ID。The current standard defines that the granularity of PC5 unicast link corresponds to a pair of application layer identifiers, that is, a PC5 unicast link can be established between an application layer identifier of the sending terminal and an application layer identifier of the receiving terminal. The PC5 unicast link is composed of the sending terminal and A pair of layer 2 IDs of the receiving terminal are identified, and an application layer ID of the terminal corresponds to a layer 2 ID. Therefore, if the layer 2 ID of the terminal is used to identify the PC5 unicast link, the PC5 unicast link corresponding to each pair of application layer IDs needs to be A pair of layer 2 IDs are identified, that is, a pair of application layer (Application Layer) IDs corresponds to a pair of Layer-2 IDs.
如图2所示,UEA与UEB之间建立了两条PC5 unicast link,分别为:PC5 unicast link1和PC5 unicast link2。其中PC5 unicast link1用于UEA的application layer ID 1与UEB的application layer ID 2之间V2X消息的传输;PC5 unicast link2用于UEA的application layer ID 3与UEB的application layer ID 4之间V2X消息的传输。As shown in Figure 2, two PC5 unicast links are established between UEA and UEB, namely: PC5 unicast link1 and PC5 unicast link2. PC5 unicast link1 is used for the transmission of V2X messages between UEA's application layer ID 1 and UEB's application layer ID 2; PC5 unicast link2 is used for UEA's application layer ID 3 and UEB's application layer ID 4 for transmission of V2X messages .
PC5 unicast link1包含QoS Flow#1,QoS Flow#2和QoS Flow#3;PC5 unicast link2包含QoS Flow#4和QoS Flow#5;每个QoS Flow映射到不同的SLRB上,若PC5 unicast link1与PC5 unicast link2中包含的QoS Flow具有相同或相关联的QoS parameter,则会造成QoS Flow的重复映射,比如:QoS Flow#1和QoS Flow#4具有完全相同的QoS parameter,也即具有相同QoS保障。但是,因为QoS Flow#1和QoS Flow#4属于不同的PC5 unicast link,所以需要建立2个QoS Flow,进一步的需要映射到2个不同的SLRB上,造成了无线资源的浪费。PC5 unicast link1 contains QoS Flow#1, QoS Flow#2 and QoS Flow#3; PC5 unicast link2 contains QoS Flow#4 and QoS Flow#5; each QoS Flow is mapped to a different SLRB, if PC5 unicast link1 and PC5 The QoS Flow contained in unicast link2 has the same or associated QoS parameter, which will cause repeated mapping of QoS Flow. For example, QoS Flow#1 and QoS Flow#4 have exactly the same QoS parameter, that is, they have the same QoS guarantee. However, because QoS Flow#1 and QoS Flow#4 belong to different PC5 unicast links, two QoS Flows need to be established, and further need to be mapped to two different SLRBs, which causes a waste of wireless resources.
本申请实施例定义了一种新的UE标识,即车联网层标识(V2X Layer ID),发送终端与接收终端通过V2X Layer ID建立PC5 unicast link和QoS Flow。The embodiments of this application define a new UE identity, namely, the vehicle networking layer identity (V2X Layer ID), and the sending terminal and the receiving terminal establish PC5 unicast link and QoS Flow through the V2X Layer ID.
其中,终端的车联网层标识可以是预设的公共标识也可以是终端的IP/Non-IP层对应的标识,每个终端有唯一的车联网层标识,终端的多个应用层标识可以映射到本终端的同一个车联网层标识,终端的车联网层标识与本终端的层2标识一一对应。Among them, the IoV layer identifier of the terminal can be a preset public identifier or an identifier corresponding to the IP/Non-IP layer of the terminal. Each terminal has a unique IoV layer identifier, and multiple application layer identifiers of the terminal can be mapped To the same IoV layer identifier of the terminal, the IoV layer identifier of the terminal corresponds to the layer 2 identifier of the terminal one to one.
如图3所示,为UEA与UEB的应用层标识、车联网层标识与层2标识的对应关系以及UEA与UEB根据车联网层标识建立PC5 unicast link的示意图,其中,UEA的应用层标识包含Application Layer ID-1和Application Layer  ID-3,Application Layer ID-1和Application Layer ID-3对应UEA的车联网层标识UEA V2X Layer ID,UEA的车联网层标识UEA V2X Layer ID对应UEA的层2标识UEA Layer-2 ID;UEB的应用层标识包含Application Layer ID-2和Application Layer ID-4,Application Layer ID-2和Application Layer ID-4对应UEB的车联网层标识UEB V2X Layer ID,UEB的车联网层标识UEB V2X Layer ID对应UEB的层2标识UEB Layer-2 ID;As shown in Figure 3, it is a schematic diagram of the application layer identification of UEA and UEB, the correspondence between the vehicle networking layer identification and the layer 2 identification, and the schematic diagram of the establishment of PC5 unicast link between UEA and UEB according to the vehicle networking layer identification, where the application layer identification of UEA includes Application Layer ID-1 and Application Layer ID-3, Application Layer ID-1 and Application Layer ID-3 correspond to UEA's vehicle networking layer identification UEA V2X Layer ID, and UEA's vehicle networking layer identification UEA V2X Layer ID corresponds to UEA's layer 2 Identifies UEA Layer-2 ID; UEB’s application layer ID includes Application Layer ID-2 and Application Layer ID-4. Application Layer ID-2 and Application Layer ID-4 correspond to UEB’s vehicle networking layer identity UEB V2X Layer ID, UEB’s The IoV layer identifier UEB V2X Layer ID corresponds to the layer 2 identifier UEB Layer-2 ID of UEB;
因此,UEA的Application Layer ID-1和UEB的Application Layer ID-2对应的PC5 unicast link的标识为UEA Layer-2 ID和UEB Layer-2 ID;UEA的Application Layer ID-3和UEB的Application Layer ID-4对应的PC5 unicast link的标识也为UEA Layer-2 ID和UEB Layer-2 ID,因此,不需要重复建立PC5 unicast link,根据新的应用层QoS需求更新QoS flow即可。Therefore, the identification of the PC5 unicast link corresponding to the Application Layer ID-1 of UEA and the Application Layer ID-2 of UEB is UEA Layer-2 ID and UEB Layer-2 ID; UEA's Application Layer ID-3 and UEB's Application Layer ID The identification of the PC5 unicast link corresponding to -4 is also the UEA Layer-2 ID and the UEB Layer-2 ID. Therefore, there is no need to repeatedly establish the PC5 unicast link, and just update the QoS flow according to the new application layer QoS requirements.
由于PC5 unicast link的粒度没有改变,因此在根据终端的车联网层标识建立PC5 unicast link时,发送终端与接收终端之间将建立唯一的PC5 unicast link,发送终端与接收终端在有新的QoS需求时,可以使用满足新的QoS需求的已建立的QoSflow进行V2X消息的传输,也即在同一个SLRB上传输,避免了两终端之间重复建立具有相同QoS参数的QoSflow造成的无线资源的浪费。Since the granularity of the PC5 unicast link has not changed, when the PC5 unicast link is established according to the terminal’s IoV layer identification, a unique PC5 unicast link will be established between the sending terminal and the receiving terminal, and the sending terminal and the receiving terminal have new QoS requirements At this time, the established QoS flow that meets the new QoS requirements can be used for transmission of V2X messages, that is, transmission on the same SLRB, which avoids the waste of wireless resources caused by repeatedly establishing QoS flows with the same QoS parameters between two terminals.
下面结合说明书附图对本申请实施例做进一步详细描述。The embodiments of the present application will be described in further detail below in conjunction with the accompanying drawings of the specification.
如图4所示,本申请实施例提供的是一种直连通信的系统包括:发送终端10和接收终端20。As shown in FIG. 4, the embodiment of the present application provides a direct communication system including: a sending terminal 10 and a receiving terminal 20.
发送终端10,用于发送直连通信请求消息;接收接收终端反馈的直连通信应答消息;建立与所述接收终端之间的直连通信连接;The sending terminal 10 is configured to send a direct communication request message; receive a direct communication response message fed back by a receiving terminal; establish a direct communication connection with the receiving terminal;
接收终端20,用于接收发送终端发送固定直连通信请求消息;向所述发送终端发送直连通信应答消息;建立与所述发送终端之间的直连通信连接。The receiving terminal 20 is configured to receive a fixed direct communication request message sent by the sending terminal; send a direct communication response message to the sending terminal; and establish a direct communication connection with the sending terminal.
通过上述方案,发送终端与接收终端根据自身对应的车联网层标识建立直连通信连接,若发送终端与接收终端进行数据传输时,有新的应用层服务需求,则发送终端可以使用满足新的应用层服务需求的已建立的QoSflow与 接收终端进行V2X消息的传输,避免了发送终端与接收终端之间重复建立具有相同QoS参数的QoSflow造成的无线资源的浪费。Through the above solution, the sending terminal and the receiving terminal establish a direct communication connection according to their own corresponding car networking layer identification. If the sending terminal and the receiving terminal have new application layer service requirements during data transmission, the sending terminal can use the new The established QoSflow required by the application layer service transmits V2X messages to the receiving terminal, which avoids the waste of wireless resources caused by repeatedly establishing QoSflow with the same QoS parameters between the sending terminal and the receiving terminal.
本申请实施例主要涉及两个方面,包括:第一方面:发送终端与接收终端建立PC5 unicast link以及QoS flow;第二方面:发送终端根据新的应用层服务质量需求更新与接收终端之间的QoS flow;下面通过具体的实施例对上述两个方面的内容进行介绍说明:The embodiments of this application mainly involve two aspects, including: the first aspect: the sending terminal and the receiving terminal establish a PC5 unicast link and QoS flow; the second aspect: the sending terminal updates the communication between the sending terminal and the receiving terminal according to the new application layer service quality requirements QoS flow: The following describes the above two aspects through specific embodiments:
假设UE-1为发送终端,假设UE-1的应用层标识包含Application Layer ID-1和Application Layer ID-3,UE-1的车联网层(IP/Non-IP)标识为UE-1 V2X Layer ID,UE-1的应用层、IP/Non-IP和服务数据适配协议(Service Data Adaptation Protocol,SDAP)层组成层2,UE-1的层2标识为UE-1 Layer-2 ID;其中,UE-1的多个应用层标识可以映射到同一个车联网层标识,UE-1的车联网层标识与层2标识一一对应。Assuming that UE-1 is the sending terminal, the application layer ID of UE-1 includes Application Layer ID-1 and Application Layer ID-3, and the Internet of Vehicles layer (IP/Non-IP) ID of UE-1 is UE-1 V2X Layer ID, UE-1's application layer, IP/Non-IP, and Service Data Adaptation Protocol (SDAP) layers make up layer 2, UE-1's layer 2 identification is UE-1 Layer-2 ID; , Multiple application layer identifiers of UE-1 can be mapped to the same vehicle networking layer identifier, and the vehicle networking layer identifier of UE-1 corresponds to the layer 2 identifier one to one.
UE-2为接收终端,假设UE-2的应用层标识包含Application Layer ID-2和Application Layer ID-4,UE-1的车联网层(IP/Non-IP)标识为UE-2 V2X Layer ID,UE-2的应用层、IP/Non-IP和SDAP层组成层2,UE-2的层2标识为UE-2 Layer-2 ID;其中,UE-2的多个应用层标识可以映射到同一个车联网层标识,UE-2的车联网层标识与层2标识一一对应。UE-2 is the receiving terminal. It is assumed that the application layer ID of UE-2 includes Application Layer ID-2 and Application Layer ID-4, and the Internet of Vehicles layer (IP/Non-IP) ID of UE-1 is UE-2 V2X Layer ID , UE-2’s application layer, IP/Non-IP and SDAP layers form layer 2, and the layer 2 identifier of UE-2 is UE-2 Layer-2 ID; among them, multiple application layer identifiers of UE-2 can be mapped to With the same IoV layer identifier, the IoV layer identifier of UE-2 corresponds to the layer 2 identifier one to one.
本申请实施例中UE-1的Application Layer ID-1发起对Application Layer ID-2的直连通信连接请求,由于UE-1不确定支持Application Layer ID-2的终端,因此UE-1广播直连通信请求消息,UE-2接收到UE-1发送的直连通信请求消息,UE-2确定自身支持Application Layer ID-2,UE-2反馈给UE-1直连通信应答消息,UE-1与UE-2建立PC5 unicast link以及QoS flow;In the example of this application, the Application Layer ID-1 of UE-1 initiates a direct connection communication connection request for Application Layer ID-2. Since UE-1 is not sure about the terminal that supports Application Layer ID-2, UE-1 broadcasts the direct connection Communication request message: UE-2 receives the direct communication request message sent by UE-1, UE-2 determines that it supports Application Layer ID-2, UE-2 feeds back the direct communication response message to UE-1, and UE-1 communicates with UE-2 establishes PC5 unicast link and QoS flow;
基于UE-2反馈的直连通信自身支持的其他应用层标识,对应的,发送终端与接收终端建立PC5 unicast link、QoS flow以及更新QoS flow的方式也有所不同。Based on the other application layer identifiers supported by the direct communication itself fed back by UE-2, correspondingly, the sending terminal and the receiving terminal establish PC5 unicast link, QoS flow, and update QoS flow in different ways.
若UE-2将自身支持的其他应用层标识置于直连通信应答消息中,则当UE-1的Application Layer ID-3发起对UE-2的其他应用层的直连通信时,不 需要重新建立与UE-2的PC5 unicast link,可以直接向UE-2发送更新QoS flow请求;若UE-2未将自身支持的其他应用层标识置于直连通信应答消息中,则UE-1的Application Layer ID-3发起对其他应用层的直连通信时,由于UE-1不能确定对端设备,因此UE-1需要广播新的直连通信连接请求。If UE-2 puts other application layer identifiers supported by itself in the direct communication response message, when UE-1’s Application Layer ID-3 initiates direct communication with other application layers of UE-2, it does not need to be reconnected. Establish a PC5 unicast link with UE-2, and send a request to update QoS flow directly to UE-2; if UE-2 does not put other application layer identifiers supported by itself in the direct communication response message, the Application of UE-1 When Layer ID-3 initiates direct communication to other application layers, since UE-1 cannot determine the peer device, UE-1 needs to broadcast a new direct communication connection request.
下面通过具体的实施例1至实施例3对接收终端向发送终端反馈了自身支持的其他应用层标识的情况下,发送终端与接收终端建立PC5 unicast link和QoS flow以及更新QoS flow的交互流程进行介绍说明:In the following specific embodiments 1 to 3, when the receiving terminal feeds back to the sending terminal other application layer identifiers that it supports, the sending terminal and the receiving terminal establish a PC5 unicast link and QoS flow and update the QoS flow interactive process. Introduction:
实施例1:UE-1与UE-2之间建立PC5 unicast link以及QoS flow;Embodiment 1: PC5 unicast link and QoS flow are established between UE-1 and UE-2;
UE-1的Application Layer ID-1向Application Layer ID-2发起直连通信连接,如图5所示为本申请实施例提供的UE-1与UE-2建立PC5 unicast link和QoS flow#1的交互流程示意图,主要包括以下步骤:The Application Layer ID-1 of UE-1 initiates a direct communication connection to Application Layer ID-2. As shown in Figure 5, the PC5 unicast link and QoS flow#1 are established between UE-1 and UE-2 provided in this application example. Schematic diagram of the interactive process, mainly including the following steps:
步骤500:UE-1广播直连通信请求消息(Direct Communication Request);Step 500: UE-1 broadcasts a direct communication request message (Direct Communication Request);
其中,该直连通信请求消息包含UE-1的车联网层标识(UE-1 V2X Layer ID)和目标应用层标识Application Layer ID-2。Wherein, the direct communication request message includes the vehicle networking layer identification (UE-1 V2X Layer ID) of UE-1 and the target application layer identification Application Layer ID-2.
该直连通信请求信息还包含下列信息中的部分或全部:服务类型(service type)、Application Layer ID-1、UE-1 Layer-2 ID、和QoS流索引(QoS Flow Identifier,QFI)#1和QFI#1对应的PC5 QoS parameter,其中,目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The direct communication request information also includes part or all of the following information: service type, Application Layer ID-1, UE-1 Layer-2 ID, and QoS Flow Identifier (QFI)#1 The PC5 QoS parameter corresponding to QFI#1, where the target application layer identifier is the application layer identifier of the opposite end to which the sending terminal establishes a direct communication connection.
UE-2、UE-3和UE-4接收到UE-1发送的直连通信请求消息后,确定自身是否支持根据直连通信请求消息中的目标应用层标识。After UE-2, UE-3, and UE-4 receive the direct connection communication request message sent by UE-1, they determine whether they support the target application layer identifier in the direct connection communication request message.
步骤501:UE-2向UE-1反馈直连通信应答消息(Direct Communication Accept);Step 501: UE-2 feeds back a direct communication response message (Direct Communication Accept) to UE-1;
其中,该直连通信应答消息包括UE-2的车联网层标识(UE-2V2X Layer ID),该直连通信应答信息还可以包含下列信息中的部分或全部:Application Layer ID-1、UE-1 V2X Layer ID、UE-1 Layer-2 ID、Application Layer ID-2、UE-2 Layer-2 ID和QFI#1、QFI#1对应的PC5 QoS parameter和Application Layer ID-4。其中,Application Layer ID-4为UE-2向UE-1反馈的自身支持的 其他应用层标识。Wherein, the direct communication response message includes the vehicle networking layer ID of UE-2 (UE-2V2X Layer ID), and the direct communication response message may also include some or all of the following information: Application Layer ID-1, UE- 1 V2X Layer ID, UE-1 Layer-2 ID, Application Layer ID-2, UE-2 Layer-2 ID, and PC5 QoS parameter and Application Layer ID-4 corresponding to QFI#1 and QFI#1. Among them, Application Layer ID-4 is the ID of other application layers supported by UE-2 fed back to UE-1.
步骤502:UE-1与UE-2通过建立PC5 unicast link和QoS Flow#1进行V2X消息的传输;Step 502: UE-1 and UE-2 establish PC5 unicast link and QoS Flow#1 to transmit V2X messages;
如图6所示,为本申请实施例提供的UE-1与UE-2之间建立的PC5 unicast link和QoS Flow#1的示意图,UE-1的Application LayerID-1和UE-2的Application Layer ID-2之间通过QoS Flow#1来传输V2X消息。As shown in Figure 6, this is a schematic diagram of the PC5 unicast link and QoS Flow#1 established between UE-1 and UE-2 provided by the embodiments of this application, the Application Layer ID-1 of UE-1 and the Application Layer of UE-2 V2X messages are transmitted between ID-2 through QoS Flow#1.
其中,PC5 unicast link通过UE-1和UE-2的Layer-2 ID来标识,QoS flow#1通过QFI#1来标识。Among them, PC5 unicast link is identified by the Layer-2 ID of UE-1 and UE-2, and QoS flow#1 is identified by QFI#1.
基于实施例1,UE-1和UE-2之间建立了PC5 unicast link以及QoS flow#1。在此基础上,UE-1有新的应用层QoS需求时,比如,UE-1的Application Layer ID-3发起对Application Layer ID-4的直连通信,如上述实施1中的步骤503,由于UE-2已向UE-1反馈过自身支持Application Layer ID-4,且UE-1与UE-2之间已建立了UE-1 Layer-2 ID与UE-2 Layer-2 ID标识的PC5 unicast link,因此,UE-1只需根据新的应用层QoS需求更新与UE-2之间的QoS flow即可。Based on Example 1, PC5 unicast link and QoS flow#1 are established between UE-1 and UE-2. On this basis, when UE-1 has a new application layer QoS requirement, for example, the Application Layer ID-3 of UE-1 initiates direct communication to Application Layer ID-4, as in step 503 in the above implementation 1, because UE-2 has reported to UE-1 that it supports Application Layer ID-4, and UE-1 Layer-2 ID and UE-2 Layer-2 ID identified PC5 unicast have been established between UE-1 and UE-2 link, therefore, UE-1 only needs to update the QoS flow with UE-2 according to the new application layer QoS requirements.
其中,UE-1根据新的应用层QoS需求更新与UE-2之间的QoS flow时,具有两种可能的情况,第一种可能的情况是UE-1与UE-2之间的PC5 unicast link上没有满足新的应用层QoS需求的QoS flow,UE-1新建一个满足新的应用层QoS需求的QoS flow;另一种可能的情况是UE-1与UE-2之间的PC5 unicast link包含有满足新的应用层QoS需求的QoS flow,比如已建立的QoS flow#1,则UE-1重用QoS flow#1传输UE-1的Application Layer ID-3与UE-2的Application Layer ID-4之间的直连通信。Among them, when UE-1 updates the QoS flow between UE-2 and UE-2 according to the new application layer QoS requirements, there are two possible situations. The first possible situation is the PC5 unicast between UE-1 and UE-2. There is no QoS flow that meets the new application layer QoS requirements on the link. UE-1 creates a new QoS flow that meets the new application layer QoS requirements; another possible situation is the PC5 unicast link between UE-1 and UE-2 Contains QoS flow that meets the new application layer QoS requirements, such as the established QoS flow#1, UE-1 reuses QoS flow#1 to transmit UE-1’s Application Layer ID-3 and UE-2’s Application Layer ID- 4 direct communication between.
下面通过实施例2对第一种可能的情况对应的更新方式进行介绍。The following describes the update method corresponding to the first possible situation through Embodiment 2.
实施例2:UE-1与UE-2之间建立新的QoS flow;Embodiment 2: A new QoS flow is established between UE-1 and UE-2;
UE-1的Application Layer ID-3发起对UE-2的Application Layer ID-4的直连通信,UE-1根据新的应用层服务质量需求和已建立的QoS flow的服务质量确定本次更新QoS flow对应的直连通信流标识。The Application Layer ID-3 of UE-1 initiates direct communication with the Application Layer ID-4 of UE-2. UE-1 determines the QoS update this time according to the new application layer service quality requirements and the established QoS flow service quality Direct communication flow identifier corresponding to flow.
假设UE-1确定已建立的直连通信流QoS flow#1的服务质量不满足新的 应用层服务直连需求,则UE-1建立新的直连通信流标识QFI#2。Assuming that UE-1 determines that the service quality of the established direct communication flow QoS flow#1 does not meet the new application layer service direct connection requirements, UE-1 establishes a new direct communication flow identification QFI#2.
如图7所示,为本申请实施例提供的UE-1与UE-2之间建立新的QoS flow的交互流程示意图,主要包括以下步骤:As shown in FIG. 7, the interaction flow diagram for establishing a new QoS flow between UE-1 and UE-2 provided by this embodiment of the application mainly includes the following steps:
步骤700:UE-1向UE-2发送更新请求消息(Link Update Request);Step 700: UE-1 sends an update request message (Link Update Request) to UE-2;
其中,该更新请求消息包括但不限于下列信息中的部分或全部:Wherein, the update request message includes but is not limited to some or all of the following information:
Application Layer ID-3、Application Layer ID-4、UE-1 V2X Layer ID、UE-2 V2X Layer ID、UE-1 Layer-2 ID、UE-2 Layer-2 ID、QFI#2和QFI#2对应的PC5 QoS parameter。Application Layer ID-3, Application Layer ID-4, UE-1 V2X Layer ID, UE-2 V2X Layer ID, UE-1 Layer-2 ID, UE-2 Layer-2 ID, QFI#2 and QFI#2 corresponding QoS parameter of PC5.
步骤701:UE-2向UE-1反馈更新应答消息(Link Update Response);Step 701: UE-2 feeds back an update response message (Link Update Response) to UE-1;
其中,该更新应答消息包括但不限于下列信息中的部分或全部:Wherein, the update response message includes but is not limited to part or all of the following information:
Application Layer ID-3、Application Layer ID-4、UE-1 V2X Layer ID、UE-2 V2X Layer ID、UE-1 Layer-2 ID、UE-2 Layer-2 ID、QFI#2和QFI#2对应的PC5 QoS parameter。Application Layer ID-3, Application Layer ID-4, UE-1 V2X Layer ID, UE-2 V2X Layer ID, UE-1 Layer-2 ID, UE-2 Layer-2 ID, QFI#2 and QFI#2 corresponding QoS parameter of PC5.
如图8所示,为建立QoS Flow#2的前后对比示意图,UE-1和UE-2建立了PC5 QoS Flow#2用于Application Layer ID-3和Application Layer ID-4之间V2X消息的传输。As shown in Figure 8, for the before and after comparison of establishing QoS Flow#2, UE-1 and UE-2 have established PC5 QoS Flow#2 for the transmission of V2X messages between Application Layer ID-3 and Application Layer ID-4 .
需要说明的是,图8并非表示UE-1与UE-2之间同时存在两条PC5 unicast link,而是表示UE-1与UE-2之间建立QoS Flow#2的前后对比示意图。It should be noted that FIG. 8 does not indicate that there are two PC5 unicast links between UE-1 and UE-2 at the same time, but indicates the comparison diagram before and after establishing QoS Flow#2 between UE-1 and UE-2.
下面通过实施例3对第二种可能的情况对应的更新方式进行说明。The following describes the update manner corresponding to the second possible situation through Embodiment 3.
实施例3:重用已建立的QoS Flow;Embodiment 3: Reuse the established QoS Flow;
UE-1的Application Layer ID-3发起对UE-2的Application Layer ID-4的直连通信,UE-1根据新的应用层服务质量需求和已建立的QoS flow的服务质量确定本次更新QoS flow对应的直连通信流标识。The Application Layer ID-3 of UE-1 initiates direct communication with the Application Layer ID-4 of UE-2. UE-1 determines the QoS update this time according to the new application layer service quality requirements and the established QoS flow service quality Direct communication flow identifier corresponding to flow.
假设UE-1确定已建立的QoS flow#1的服务质量满足新的应用层服务直连需求,则UE-1重用已建立的直连通信流标识QFI#1,并使用QFI#1标识的QoS Flow#1进行Application Layer ID-3和Application Layer ID-4之间V2X消息的传输。Assuming that UE-1 determines that the service quality of the established QoS flow#1 meets the direct connection requirements of the new application layer service, UE-1 reuses the established direct communication flow identification QFI#1 and uses the QoS identified by QFI#1 Flow#1 performs V2X message transmission between Application Layer ID-3 and Application Layer ID-4.
如图9所示,为UE-1重用与UE-2之间的QoS flow#1的交互流程示意图,主要包括以下步骤:As shown in Figure 9, it is a schematic diagram of the interaction process of QoS flow#1 between UE-1 reuse and UE-2, which mainly includes the following steps:
步骤900:UE-1向UE-2发送更新请求消息(Link Update Request);Step 900: UE-1 sends an update request message (Link Update Request) to UE-2;
其中,该更新请求消息包括但不限于下列信息中的部分或全部:Wherein, the update request message includes but is not limited to some or all of the following information:
Application Layer ID-3、Application Layer ID-4、UE-1 V2X Layer ID、UE-2 V2X Layer ID、UE-1 Layer-2 ID、UE-2 Layer-2 ID、QFI#1。Application Layer ID-3, Application Layer ID-4, UE-1 V2X Layer ID, UE-2 V2X Layer ID, UE-1 Layer-2 ID, UE-2 Layer-2 ID, QFI#1.
步骤901:UE-2向UE-1反馈更新应答消息(Link Update Response);Step 901: UE-2 feeds back an update response message (Link Update Response) to UE-1;
其中,该更新应答消息包括但不限于下列信息中的部分或全部:Wherein, the update response message includes but is not limited to part or all of the following information:
Application Layer ID-3、Application Layer ID-4、UE-1 V2X Layer ID、UE-2 V2X Layer ID、UE-1 Layer-2 ID、UE-2 Layer-2 ID、QFI#1。Application Layer ID-3, Application Layer ID-4, UE-1 V2X Layer ID, UE-2 V2X Layer ID, UE-1 Layer-2 ID, UE-2 Layer-2 ID, QFI#1.
如图10所示,为重用QoS Flow#1的前后对比示意图,UE-1和UE-2通过QoS Flow#1进行Application Layer ID-3和Application Layer ID-4之间V2X消息的传输。As shown in Figure 10, it is a schematic diagram of before and after reusing QoS Flow#1. UE-1 and UE-2 use QoS Flow#1 to transmit V2X messages between Application Layer ID-3 and Application Layer ID-4.
需要说明的是,图10并非表示UE-1与UE-2之间同时存在两条PC5 unicast link,而是表示UE-1与UE-2之间重用QoS Flow#1的前后对比示意图。It should be noted that FIG. 10 does not indicate that there are two PC5 unicast links between UE-1 and UE-2 at the same time, but indicates that UE-1 and UE-2 reuse QoS Flow#1 before and after the comparison.
上述实施例1至实施例3为UE-2向UE-1反馈了自身支持的其他应用层标识对应的UE-1与UE-2之间的交互方式,下面通过实施例4至实施例6对UE-2未向UE-1反馈自身支持的其他应用层标识对应的UE-1与UE-2之间建立PC5 unicast link和QoS flow以及更新QoS flow的交互流程进行介绍说明:In the foregoing embodiment 1 to embodiment 3, UE-2 feeds back to UE-1 the interaction mode between UE-1 and UE-2 corresponding to other application layer identifiers that it supports. The following is a comparison of embodiments 4 to 6 UE-2 does not feed back to UE-1 the interaction process of establishing PC5 unicast link and QoS flow and updating QoS flow between UE-1 and UE-2 corresponding to other application layer identifiers that it supports:
实施例4:UE-1与UE-2之间建立PC5 unicast link以及QoS flow;Embodiment 4: PC5 unicast link and QoS flow are established between UE-1 and UE-2;
UE-1与UE-2建立PC5 unicast link以及QoS flow的步骤可以参见实施例1的具体步骤,不同的是UE-2向UE-1反馈的直连通信应答消息中不包含UE-2支持的其他应用层标识,即不包含Application Layer ID-4。For the steps of establishing PC5 unicast link and QoS flow between UE-1 and UE-2, please refer to the specific steps in Example 1. The difference is that the direct communication response message that UE-2 feeds back to UE-1 does not include the support of UE-2. Other application layer IDs, which do not include Application Layer ID-4.
UE-1和UE-2之间的PC5 unicast link以及PC5 QoS Flow#1建立完成后,当UE-1有新的应用层服务质量需求时,比如:UE-1的Application Layer ID-3发起对Application Layer ID-4的直连通信请求消息,由于UE-2未向UE-1反馈自身支持的其他应用层标识,因此UE-1不能确定Application Layer ID-4对 应的接收终端,UE-1需要以广播的方式发送直连通信请求消息。After the establishment of PC5 unicast link and PC5 QoS Flow#1 between UE-1 and UE-2, when UE-1 has a new application layer service quality requirement, for example: UE-1’s Application Layer ID-3 initiates a pair Application Layer ID-4 direct communication request message, because UE-2 does not feed back other application layer IDs supported by UE-1, UE-1 cannot determine the receiving terminal corresponding to Application Layer ID-4, and UE-1 needs Send the direct communication request message in broadcast mode.
需要说明的是,UE-1在广播新的直连通信请求消息之前,根据新的应用层服务质量需求建立新的直连通信流标识,并将该新建的直连通信流标识置于直连通信请求消息中广播出去。It should be noted that before broadcasting the new direct communication request message, UE-1 establishes a new direct communication flow identifier according to the new application layer service quality requirements, and places the newly-created direct communication flow identifier in the direct connection Broadcast in the communication request message.
UE-2接收到UE-1广播的新的直连通信请求消息后,确定且UE-2与UE-1之间已建立PC5 unicast link,且UE-2确定自身支持UE-1请求的应用层标识,则UE-2根据新的直连通信请求消息包含的QoS parameter和已建立的直连通信流标识的服务质量确定直连通信流标识。After UE-2 receives the new direct communication request message broadcast by UE-1, it determines that a PC5 unicast link has been established between UE-2 and UE-1, and UE-2 determines that it supports the application layer requested by UE-1 ID, UE-2 determines the direct communication flow identifier according to the QoS parameter included in the new direct communication request message and the service quality of the established direct communication flow identifier.
其中,UE-2根据新的直连通信请求消息包含的QoS parameter和已建立的直连通信流标识的服务质量确定直连通信流标识,具有两种可能的情况,第一种可能的情况是UE-2确定与UE-1之间的PC5 unicast link上没有满足新的直连通信请求消息包含的QoS parameter,UE-2向UE-1反馈直连通信请求消息包含的直连通信流标识;另一种可能的情况是UE-2确定与UE-1之间的PC5 unicast link包含有满足新的直连通信请求消息包含的QoS parameter对应的QoS flow,比如已建立的QoS flow#1,则UE-2重用QoS flow#1,并向UE-1反馈QoS flow#1的标识QF#1;Among them, UE-2 determines the direct communication flow identifier according to the QoS parameter contained in the new direct communication request message and the service quality of the established direct communication flow identifier. There are two possible situations. The first possible situation is UE-2 determines that the PC5 unicast link with UE-1 does not meet the QoS parameter contained in the new direct communication request message, and UE-2 feeds back the direct communication flow identifier contained in the direct communication request message to UE-1; Another possible situation is that UE-2 determines that the PC5 unicast link with UE-1 contains the QoS flow corresponding to the QoS parameter contained in the new direct communication request message, such as the established QoS flow#1, then UE-2 reuses QoS flow#1, and feeds back the identifier QF#1 of QoS flow#1 to UE-1;
下面通过实施例5第一种可能的情况对应的更新方式进行介绍。The following describes the update method corresponding to the first possible situation in Embodiment 5.
实施例5:UE-1与UE-2之间建立新的QoS flow;Embodiment 5: establishing a new QoS flow between UE-1 and UE-2;
UE-1的Application Layer ID-3发起对Application Layer ID-4的直连通信之前,UE-1根据新的应用层服务质量需求建立新的直连通信流标识。其中,Application Layer ID-4为UE-1要建立的新的直连通信连接的对端的应用层标识。如图11所示,UE-1根据新的应用层服务质量需求与对端建立新的QoS flow的交互流程示意图,主要包括以下步骤:Before UE-1's Application Layer ID-3 initiates direct communication with Application Layer ID-4, UE-1 establishes a new direct communication flow identifier according to the new application layer service quality requirements. Among them, Application Layer ID-4 is the application layer identifier of the opposite end of the new direct communication connection to be established by UE-1. As shown in Figure 11, UE-1 establishes a new QoS flow with the peer according to the new application layer service quality requirements, which mainly includes the following steps:
步骤1100:UE-1广播新的直连通信连接请求消息;Step 1100: UE-1 broadcasts a new direct communication connection request message;
其中,该直连通信请求消息包含UE-1的UE-1 V2X Layer ID和目标应用层标识Application Layer ID-4,该直连通信请求信息还包含但不限于下列信息中的部分或全部:service type、Application Layer ID-3、UE-1 Layer-2 ID和 QFI#2和PC5 QoS流索引(PC5 QoS Flow Identifier,PFI)#2对应的PC5 QoS parameter。The direct communication request message includes the UE-1 V2X Layer ID of UE-1 and the target application layer ID Application Layer ID-4, and the direct communication request message also includes but is not limited to some or all of the following information: service type, Application Layer ID-3, UE-1 Layer-2 ID and QFI#2 and PC5 QoS Flow Index (PC5 QoS Flow Identifier, PFI)#2 corresponding to PC5 QoS parameter.
步骤1101:UE-2、UE-3和UE-4接收UE-1广播的直连通信请求消息;Step 1101: UE-2, UE-3, and UE-4 receive the direct communication request message broadcast by UE-1;
UE-2接收到UE-1广播的新的直连通信请求消息后,确定自身支持Application Layer ID-4,且UE-2确定与UE-1已建立了PC5 unicast link,因此,不需要新建PC5 unicast link。After UE-2 receives the new direct communication request message broadcast by UE-1, it determines that it supports Application Layer ID-4, and UE-2 determines that it has established a PC5 unicast link with UE-1, so there is no need to create a new PC5 unicast link.
UE-2根据直连通信请求消息中包含的新的应用层QoS需求(PFI#2对应的PC5 QoS parameter)和已建立的QoS flow的服务质量确定是否可以重用已建立的QoS flow。UE-2 determines whether the established QoS flow can be reused according to the new application layer QoS requirements (PC5 QoS parameter corresponding to PFI#2) and the established QoS flow included in the direct communication request message.
若已建立的QoS flow满足PFI#2对应的PC5 QoS parameter,则重用已建立的QoS flow,否则,确定与UE-1建立QFI#2标识的QoS flow。If the established QoS flow meets the PC5 QoS parameter corresponding to PFI#2, the established QoS flow is reused, otherwise, it is determined to establish the QoS flow identified by QFI#2 with UE-1.
假设UE-2确定已建立的直连通信流QoS flow#1的服务质量不满足新的应用层服务直连需求,则UE-2将QFI#2置于直连通信应答消息中反馈给UE-1。Assuming that UE-2 determines that the service quality of the established direct communication flow QoS flow#1 does not meet the direct connection requirements of the new application layer service, UE-2 places QFI#2 in the direct communication response message and feeds it back to UE- 1.
步骤1102:UE-2向UE-1反馈直连通信应答消息;Step 1102: UE-2 feeds back a direct communication response message to UE-1;
其中,该直连通信应答消息包括UE-2的UE-2V2X Layer ID,该直连通信应答信息还包含但不限于下列信息中的部分或全部:Application Layer ID-3、Application Layer ID-4、UE-1 V2X Layer ID、UE-2 V2X Layer ID、UE-1 Layer-2 ID、UE-2 Layer-2 ID、QFI#2。Wherein, the direct communication response message includes UE-2V2X Layer ID of UE-2, and the direct communication response information also includes but is not limited to some or all of the following information: Application Layer ID-3, Application Layer ID-4, UE-1 V2X Layer ID, UE-2 V2X Layer ID, UE-1 Layer-2 ID, UE-2 Layer-2 ID, QFI#2.
UE-1建立QoS Flow#2用于Application LayerID-3与UE-2的Application LayerID-4之间V2X消息的传输。UE-1 establishes QoS Flow#2 for the transmission of V2X messages between Application Layer ID-3 and UE-2 Application Layer ID-4.
需要说明的是,图11并非表示UE-1与UE-2之间同时存在两条PC5 unicast link,而是表示UE-1与UE-2之间建立QoS Flow#2的前后对比示意图。It should be noted that FIG. 11 does not show that there are two PC5 unicast links between UE-1 and UE-2 at the same time, but shows a schematic diagram of before and after establishing QoS Flow#2 between UE-1 and UE-2.
下面通过实施例6对UE-1与UE-2重用已建立的直连通信流的交互流程进行介绍说明:The following will introduce and explain the interaction process of UE-1 and UE-2 reusing the established direct communication flow through Embodiment 6.
实施例6:重用已建立的直连通信流;Embodiment 6: reuse the established direct communication flow;
UE-1的Application Layer ID-3发起对Application Layer ID-4的直连通信之前,UE-1根据新的应用层服务质量需求建立新的直连通信流标识。其中, Application Layer ID-4为UE-1要建立的新的直连通信连接的对端的应用层标识。如图12所示,UE-1根据新的应用层服务质量需求与重用已建立的QoS flow的交互流程示意图,主要包括以下步骤:Before UE-1's Application Layer ID-3 initiates direct communication with Application Layer ID-4, UE-1 establishes a new direct communication flow identifier according to the new application layer service quality requirements. Among them, Application Layer ID-4 is the application layer identifier of the opposite end of the new direct communication connection to be established by UE-1. As shown in Figure 12, UE-1 is based on the new application layer quality of service requirements and reuse of the established QoS flow interaction flow diagram, which mainly includes the following steps:
步骤1200:UE-1广播新的直连通信连接请求消息;Step 1200: UE-1 broadcasts a new direct communication connection request message;
其中,该直连通信请求消息包含UE-1的UE-1 V2X Layer ID和目标应用层标识Application Layer ID-4,该直连通信请求信息还包含但不限于下列信息中的部分或全部:service type、Application Layer ID-3、UE-1 Layer-2 ID和QFI#2和PFI#2对应的PC5 QoS parameter。The direct communication request message includes the UE-1 V2X Layer ID of UE-1 and the target application layer ID Application Layer ID-4, and the direct communication request message also includes but is not limited to some or all of the following information: service Type, Application Layer ID-3, UE-1 Layer-2 ID, and PC5 QoS parameter corresponding to QFI#2 and PFI#2.
步骤1201:UE-2、UE-3和UE-4接收UE-1广播的直连通信请求消息;Step 1201: UE-2, UE-3 and UE-4 receive the direct communication request message broadcast by UE-1;
UE-2接收到UE-1广播的新的直连通信请求消息后,确定自身支持Application Layer ID-4,且UE-2确定与UE-1已建立了PC5 unicast link,因此,不需要新建PC5 unicast link。After UE-2 receives the new direct communication request message broadcast by UE-1, it determines that it supports Application Layer ID-4, and UE-2 determines that it has established a PC5 unicast link with UE-1, so there is no need to create a new PC5 unicast link.
UE-2根据直连通信请求消息中包含的新的应用层QoS需求(PFI#2对应的PC5 QoS parameter)和已建立的QoS flow的服务质量确定是否可以重用已建立的QoS flow。UE-2 determines whether the established QoS flow can be reused according to the new application layer QoS requirements (PC5 QoS parameter corresponding to PFI#2) and the established QoS flow included in the direct communication request message.
若已建立的QoS flow满足PFI#2对应的PC5 QoS parameter,则重用已建立的QoS flow,否则,确定与UE-1建立QFI#2标识的QoS flow。If the established QoS flow meets the PC5 QoS parameter corresponding to PFI#2, the established QoS flow is reused, otherwise, it is determined to establish the QoS flow identified by QFI#2 with UE-1.
假设UE-2确定已建立的直连通信流QoS flow#1的服务质量满足新的应用层服务直连需求,则UE-2将QFI#1置于直连通信应答消息中反馈给UE-1。Assuming that UE-2 determines that the service quality of the established direct communication flow QoS flow#1 meets the new application layer service direct connection requirements, UE-2 places QFI#1 in the direct communication response message and feeds it back to UE-1 .
步骤1202:UE-2向UE-1反馈直连通信应答消息;Step 1202: UE-2 feeds back a direct communication response message to UE-1;
其中,该直连通信应答消息包括UE-2的UE-2V2X Layer ID,该直连通信应答信息还包含但不限于下列信息中的部分或全部:Application Layer ID-3、Application Layer ID-4、UE-1 V2X Layer ID、UE-2 V2X Layer ID、UE-1 Layer-2 ID、UE-2 Layer-2 ID、QFI#1。Wherein, the direct communication response message includes UE-2V2X Layer ID of UE-2, and the direct communication response information also includes but is not limited to some or all of the following information: Application Layer ID-3, Application Layer ID-4, UE-1 V2X Layer ID, UE-2 V2X Layer ID, UE-1 Layer-2 ID, UE-2 Layer-2 ID, QFI#1.
UE-1重用QoS Flow#1用于Application LayerID-3与UE-2的Application LayerID-4之间V2X消息的传输。UE-1 reuses QoS Flow#1 for the transmission of V2X messages between Application Layer ID-3 and UE-2 Application Layer ID-4.
需要说明的是,图12并非表示UE-1与UE-2之间同时存在两条PC5  unicast link,而是表示UE-1与UE-2之间重用QoS Flow#1的前后对比示意图。It should be noted that Fig. 12 does not mean that there are two PC5 unicast links between UE-1 and UE-2 at the same time, but a schematic diagram of the before and after reusing QoS Flow#1 between UE-1 and UE-2.
基于同一发明构思,本申请实施例中还提供了一种直接通信的发送终端,由于该设备是本申请实施例直接通信的系统中的发送终端,并且该接收终端解决问题的原理与该方法相似,因此该接收终端的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the application also provides a sending terminal for direct communication. Because the device is the sending terminal in the system of the embodiment of the application for direct communication, and the principle of the receiving terminal to solve the problem is similar to the method. Therefore, the implementation of the receiving terminal can refer to the implementation of the method, and the repetition will not be repeated.
如图13所示,本申请实施例第一种直接通信的发送终端,该发送终端包括处理器1300、存储器1301和收发机1302;As shown in FIG. 13, the first direct communication sending terminal in the embodiment of the present application includes a processor 1300, a memory 1301, and a transceiver 1302;
处理器1300负责管理总线架构和通常的处理,存储器1301可以存储处理器1300在执行操作时所使用的数据。收发机1302用于在处理器1300的控制下接收和发送数据。The processor 1300 is responsible for managing the bus architecture and general processing, and the memory 1301 may store data used by the processor 1300 when performing operations. The transceiver 1302 is used to receive and send data under the control of the processor 1300.
总线架构可以包括任意数量的互联的总线和桥,具体由处理器1300代表的一个或多个处理器和存储器1301代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。处理器1300负责管理总线架构和通常的处理,存储器1301可以存储处理器1300在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 1300 and various circuits of the memory represented by the memory 1301 are linked together. The bus architecture can also link various other circuits such as peripherals, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further descriptions are provided herein. The bus interface provides the interface. The processor 1300 is responsible for managing the bus architecture and general processing, and the memory 1301 may store data used by the processor 1300 when performing operations.
本申请实施例揭示的流程,可以应用于处理器1300中,或者由处理器1300实现。在实现过程中,信号处理流程的各步骤可以通过处理器1300中的硬件的集成逻辑电路或者软件形式的指令完成。处理器1300可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1301,处理器1300读取存储器1301中的信息,结合其硬件完成信 号处理流程的步骤。The process disclosed in the embodiment of the present application may be applied to the processor 1300 or implemented by the processor 1300. In the implementation process, each step of the signal processing flow can be completed by an integrated logic circuit of hardware in the processor 1300 or instructions in the form of software. The processor 1300 may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the embodiments of the present application The disclosed methods, steps and logic block diagrams. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers. The storage medium is located in the memory 1301, and the processor 1300 reads the information in the memory 1301 and completes the steps of the signal processing flow in combination with its hardware.
具体地,处理器1300,用于读取存储器1301中的程序并执行:Specifically, the processor 1300 is configured to read a program in the memory 1301 and execute:
发送直连通信请求消息;Send a direct communication request message;
接收接收终端反馈的直连通信应答消息;Receive a direct communication response message fed back by the receiving terminal;
建立与所述接收终端之间的直连通信连接;Establishing a direct communication connection with the receiving terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
可选的,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。Optionally, the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
可选的,所述直连通信请求消息还包括下列中的部分或全部:Optionally, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
可选的,所述直连通信应答消息还包括所述接收终端的应用层标识。Optionally, the direct communication response message further includes the application layer identifier of the receiving terminal.
可选的,所述接收终端的应用层标识包括所述发送终端请求的所述目标应用层标识;或所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。Optionally, the application layer identifier of the receiving terminal includes the target application layer identifier requested by the sending terminal; or the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal .
可选的,所述处理器1300还用于:Optionally, the processor 1300 is further configured to:
建立与所述接收终端之间的直连通信流。Establish a direct communication flow with the receiving terminal.
可选的,所述处理器1300还用于:Optionally, the processor 1300 is further configured to:
确定有新的应用层服务质量需求;Determine the new application layer service quality requirements;
发送更新请求消息;Send update request message;
接收所述接收终端反馈的更新应答消息;Receiving an update response message fed back by the receiving terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包 含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
可选的,所述处理器1300还用于:Optionally, the processor 1300 is further configured to:
确定所述接收终端支持的其他应用层标识对应的所述接收终端的车联网层标识和所述新的应用层服务质量需求对应的直连通信流标识。Determine the vehicle networking layer identifier of the receiving terminal corresponding to other application layer identifiers supported by the receiving terminal and the direct communication flow identifier corresponding to the new application layer service quality requirement.
可选的,所述处理器1300具体用于:Optionally, the processor 1300 is specifically configured to:
根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识。Determine the direct connection communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow.
可选的,所述处理器1300具体用于:Optionally, the processor 1300 is specifically configured to:
若已建立的直连通信流的服务质量满足应用层服务质量需求,则确定满足应用层服务质量需求的已建立的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识;否则,建立新的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识。If the service quality of the established direct communication flow meets the application layer service quality requirements, then determine the established direct communication flow identifier that meets the application layer service quality requirements as the direct communication flow corresponding to the new application layer service quality requirements Flow identifier; otherwise, a new direct communication flow identifier is established as the direct communication flow identifier corresponding to the new application layer service quality requirement.
可选的,所述处理器1300还用于:Optionally, the processor 1300 is further configured to:
确定有新的应用层服务质量需求;Determine the new application layer service quality requirements;
广播新的直连通信请求消息;其中,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和所述直连通信流标识对应的服务质量参数。Broadcast a new direct communication request message; wherein, the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, the new target application layer identifier, and the new direct communication flow Identifies the quality of service parameter corresponding to the direct communication flow identifier.
可选的,所述处理器1300还用于:Optionally, the processor 1300 is further configured to:
若所述目标应用层标识为所述接收终端支持的应用层标识,广播新的直连通信请求消息之后,接收所述接收终端发送的直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。If the target application layer identifier is an application layer identifier supported by the receiving terminal, after broadcasting a new direct communication request message, receive a direct communication response message sent by the receiving terminal; wherein, the direct communication response message The vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal are included.
可选的,所述处理器1300具体用于:Optionally, the processor 1300 is specifically configured to:
接收所述接收终端发送的直连通信响应消息之后,若所述接收终端反馈的直连通信流标识为已建立的直连通信流标识,则重用已建立的直连通信流标识对应的直连通信流;After receiving the direct communication response message sent by the receiving terminal, if the direct communication flow identifier fed back by the receiving terminal is an established direct communication flow identifier, the direct connection corresponding to the established direct communication flow identifier is reused Communication flow
若所述接收终端反馈的直连通信流标识为所述发送终端发送的新的直连 通信请求消息包含的所述新的直连通信流标识,则建立所述新的直连通信流标识对应的直连通信流。If the direct communication flow identifier fed back by the receiving terminal is the new direct communication flow identifier included in the new direct communication request message sent by the sending terminal, then the new direct communication flow identifier correspondence is established Direct communication flow.
基于相同的思路如图14所示,本申请实施例提供的另一种直接通信的发送终端的结构示意图,该发送终端包括:第一发送模块1400,第一接收模块1401和第一处理模块1402:Based on the same idea, as shown in FIG. 14, an embodiment of the present application provides a schematic structural diagram of another sending terminal for direct communication. The sending terminal includes: a first sending module 1400, a first receiving module 1401, and a first processing module 1402 :
第一发送模块1400:用于发送直连通信请求消息;The first sending module 1400: used to send a direct communication request message;
第一接收模块1401:用于接收接收终端反馈的直连通信应答消息;The first receiving module 1401: used to receive the direct communication response message fed back by the receiving terminal;
第一处理模块1402:建立与所述接收终端之间的直连通信连接;The first processing module 1402: establishing a direct communication connection with the receiving terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
可选的,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。Optionally, the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
可选的,所述直连通信请求消息还包括下列中的部分或全部:Optionally, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
可选的,所述直连通信应答消息还包括所述接收终端的应用层标识。Optionally, the direct communication response message further includes the application layer identifier of the receiving terminal.
可选的,所述接收终端的应用层标识包括所述发送终端请求的所述目标应用层标识;或所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。Optionally, the application layer identifier of the receiving terminal includes the target application layer identifier requested by the sending terminal; or the target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal .
可选的,所述第一处理模块1402还用于:Optionally, the first processing module 1402 is further configured to:
建立与所述接收终端之间的直连通信流。Establish a direct communication flow with the receiving terminal.
可选的,所述第一处理模块1402还用于:Optionally, the first processing module 1402 is further configured to:
确定有新的应用层服务质量需求;Determine the new application layer service quality requirements;
发送更新请求消息;Send update request message;
接收所述接收终端反馈的更新应答消息;Receiving an update response message fed back by the receiving terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
可选的,所述第一处理模块1402还用于:Optionally, the first processing module 1402 is further configured to:
确定所述接收终端支持的其他应用层标识对应的所述接收终端的车联网层标识和所述新的应用层服务质量需求对应的直连通信流标识。Determine the vehicle networking layer identifier of the receiving terminal corresponding to other application layer identifiers supported by the receiving terminal and the direct communication flow identifier corresponding to the new application layer service quality requirement.
可选的,所述第一处理模块1402具体用于:Optionally, the first processing module 1402 is specifically configured to:
根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识。Determine the direct connection communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow.
可选的,所述第一处理模块1402具体用于:Optionally, the first processing module 1402 is specifically configured to:
若已建立的直连通信流的服务质量满足应用层服务质量需求,则确定满足应用层服务质量需求的已建立的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识;否则,建立新的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识。If the service quality of the established direct communication flow meets the application layer service quality requirements, then determine the established direct communication flow identifier that meets the application layer service quality requirements as the direct communication flow corresponding to the new application layer service quality requirements Flow identifier; otherwise, a new direct communication flow identifier is established as the direct communication flow identifier corresponding to the new application layer service quality requirement.
可选的,所述第一处理模块1402还用于:Optionally, the first processing module 1402 is further configured to:
确定有新的应用层服务质量需求;Determine the new application layer service quality requirements;
广播新的直连通信请求消息;其中,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和所述直连通信流标识对应的服务质量参数。Broadcast a new direct communication request message; wherein, the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, the new target application layer identifier, and the new direct communication flow Identifies the quality of service parameter corresponding to the direct communication flow identifier.
可选的,所述第一处理模块1402还用于:Optionally, the first processing module 1402 is further configured to:
若所述目标应用层标识为所述接收终端支持的应用层标识,广播新的直连通信请求消息之后,接收所述接收终端发送的直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。If the target application layer identifier is an application layer identifier supported by the receiving terminal, after broadcasting a new direct communication request message, receive a direct communication response message sent by the receiving terminal; wherein, the direct communication response message The vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal are included.
可选的,所述第一处理模块1402具体用于:Optionally, the first processing module 1402 is specifically configured to:
接收所述接收终端发送的直连通信响应消息之后,若所述接收终端反馈 的直连通信流标识为已建立的直连通信流标识,则重用已建立的直连通信流标识对应的直连通信流;After receiving the direct communication response message sent by the receiving terminal, if the direct communication flow identifier fed back by the receiving terminal is an established direct communication flow identifier, the direct connection corresponding to the established direct communication flow identifier is reused Communication flow
若所述接收终端反馈的直连通信流标识为所述发送终端发送的新的直连通信请求消息包含的所述新的直连通信流标识,则建立所述新的直连通信流标识对应的直连通信流。If the direct communication flow identifier fed back by the receiving terminal is the new direct communication flow identifier included in the new direct communication request message sent by the sending terminal, then the new direct communication flow identifier correspondence is established Direct communication flow.
基于同一发明构思,本申请实施例中还提供了一种直接通信的接收终端,由于该设备是本申请实施例直接通信的系统中的接收终端,并且该接收终端解决问题的原理与该方法相似,因此该接收终端的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the application also provides a receiving terminal for direct communication. Because the device is the receiving terminal in the system of the embodiment of the application for direct communication, and the principle of the receiving terminal to solve the problem is similar to the method. Therefore, the implementation of the receiving terminal can refer to the implementation of the method, and the repetition will not be repeated.
如图15所示,本申请实施例第一种直接通信的接收终端,该发送终端包括处理器1500、存储器1501和收发机1502;As shown in FIG. 15, the first direct communication receiving terminal in the embodiment of the present application includes a processor 1500, a memory 1501, and a transceiver 1502;
处理器1500负责管理总线架构和通常的处理,存储器1501可以存储处理器1500在执行操作时所使用的数据。收发机1502用于在处理器1500的控制下接收和发送数据。The processor 1500 is responsible for managing the bus architecture and general processing, and the memory 1501 can store data used by the processor 1500 when performing operations. The transceiver 1502 is used to receive and transmit data under the control of the processor 1500.
总线架构可以包括任意数量的互联的总线和桥,具体由处理器1500代表的一个或多个处理器和存储器1501代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。处理器1500负责管理总线架构和通常的处理,存储器1501可以存储处理器1500在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 1500 and various circuits of the memory represented by the memory 1501 are linked together. The bus architecture can also link various other circuits such as peripherals, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further descriptions are provided herein. The bus interface provides the interface. The processor 1500 is responsible for managing the bus architecture and general processing, and the memory 1501 can store data used by the processor 1500 when performing operations.
本申请实施例揭示的流程,可以应用于处理器1500中,或者由处理器1500实现。在实现过程中,信号处理流程的各步骤可以通过处理器1500中的硬件的集成逻辑电路或者软件形式的指令完成。处理器1500可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体 现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1501,处理器1500读取存储器1501中的信息,结合其硬件完成信号处理流程的步骤。The process disclosed in the embodiment of the present application may be applied to the processor 1500 or implemented by the processor 1500. In the implementation process, each step of the signal processing flow can be completed by an integrated logic circuit of hardware in the processor 1500 or instructions in the form of software. The processor 1500 may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the embodiments of the present application The disclosed methods, steps and logic block diagrams. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers. The storage medium is located in the memory 1501, and the processor 1500 reads the information in the memory 1501, and completes the steps of the signal processing flow in combination with its hardware.
具体地,处理器1500,用于读取存储器1501中的程序并执行:Specifically, the processor 1500 is configured to read a program in the memory 1501 and execute:
接收发送终端发送固定直连通信请求消息;Receive a fixed direct communication request message sent by the sending terminal;
向所述发送终端发送直连通信应答消息;Sending a direct communication response message to the sending terminal;
建立与所述发送终端之间的直连通信连接;Establishing a direct communication connection with the sending terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
可选的,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。Optionally, the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
可选的,所述直连通信请求消息还包括下列中的部分或全部:Optionally, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
可选的,所述直连通信应答消息还包括所述接收终端的应用层标识。Optionally, the direct communication response message further includes the application layer identifier of the receiving terminal.
可选的,所述接收终端的应用层标识包括:Optionally, the application layer identifier of the receiving terminal includes:
所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
可选的,所述处理器1500还用于:Optionally, the processor 1500 is further configured to:
通过与所述发送终端之间建立的直连通信流进行数据传输。Data transmission is performed through a direct communication stream established with the sending terminal.
可选的,所述处理器1500还用于:Optionally, the processor 1500 is further configured to:
建立与所述发送终端之间的直连通信连接之后,接收所述发送终端发送 的更新请求消息;After establishing a direct communication connection with the sending terminal, receiving an update request message sent by the sending terminal;
向所述发送终端反馈更新应答消息;Feedback an update response message to the sending terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
可选的,所述处理器1500还用于:Optionally, the processor 1500 is further configured to:
建立与所述发送终端之间的直连通信连接之后,接收所述发送终端广播的直连通信请求消息;其中,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和直连通信流标识对应的服务质量参数;After the direct communication connection with the sending terminal is established, the direct communication request message broadcast by the sending terminal is received; wherein the direct communication request message includes the application layer identifier of the sending terminal, and the sending terminal Terminal car networking layer identification, new target application layer identification, new direct communication flow identification and service quality parameters corresponding to the direct communication flow identification;
确定所述目标应用层标识为自身支持的应用层标识之后,向所述发送终端发送直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。After determining that the target application layer identifier is an application layer identifier supported by itself, send a direct communication response message to the sending terminal; wherein, the direct communication response message includes the IoV layer identifier and the direct connection of the receiving terminal Communication flow ID.
可选的,所述处理器1500还用于:Optionally, the processor 1500 is further configured to:
向所述发送终端发送直连通信响应消息之前,确定直连通信流标识。Before sending the direct communication response message to the sending terminal, determine the direct communication flow identifier.
可选的,所述处理器1500具体用于:Optionally, the processor 1500 is specifically configured to:
根据所述发送终端广播的直连通信请求消息中的直连通信流标识对应的服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识。The direct communication flow identifier is determined according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
可选的,所述处理器1500具体用于:Optionally, the processor 1500 is specifically configured to:
若已建立的直连通信流的服务质量满足所述发送终端广播的直连通信请求消息中的服务质量参数,则重用所述已建立的直连通信流标识;否则,建立新的直连通信流标识。If the quality of service of the established direct communication flow meets the quality of service parameters in the direct communication request message broadcast by the sending terminal, the established direct communication flow identifier is reused; otherwise, a new direct communication is established Flow ID.
基于相同的思路如图16所示,本申请实施例提供的另一种直接通信的接收终端的结构示意图,该发送终端包括:第二发送模块1600,第二接收模块1601和第二处理模块1602:Based on the same idea, as shown in FIG. 16, an embodiment of the present application provides a schematic structural diagram of another receiving terminal for direct communication. The sending terminal includes: a second sending module 1600, a second receiving module 1601, and a second processing module 1602 :
第二发送模块1600:用于接收发送终端发送固定直连通信请求消息;The second sending module 1600: used to receive the fixed direct communication request message sent by the sending terminal;
第二接收模块1601:用于向所述发送终端发送直连通信应答消息;The second receiving module 1601: used to send a direct communication response message to the sending terminal;
第二处理模块1602:用于建立与所述发送终端之间的直连通信连接;The second processing module 1602: used to establish a direct communication connection with the sending terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
可选的,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。Optionally, the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
可选的,所述直连通信请求消息还包括下列中的部分或全部:Optionally, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
可选的,所述直连通信应答消息还包括所述接收终端的应用层标识。Optionally, the direct communication response message further includes the application layer identifier of the receiving terminal.
可选的,所述接收终端的应用层标识包括:Optionally, the application layer identifier of the receiving terminal includes:
所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
可选的,所述第二处理模块1602还用于:Optionally, the second processing module 1602 is further configured to:
通过与所述发送终端之间建立的直连通信流进行数据传输。Data transmission is performed through a direct communication stream established with the sending terminal.
可选的,所述第二处理模块1602还用于:Optionally, the second processing module 1602 is further configured to:
建立与所述发送终端之间的直连通信连接之后,接收所述发送终端发送的更新请求消息;After establishing a direct communication connection with the sending terminal, receiving an update request message sent by the sending terminal;
向所述发送终端反馈更新应答消息;Feedback an update response message to the sending terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通 信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
可选的,所述第二处理模块1602还用于:Optionally, the second processing module 1602 is further configured to:
建立与所述发送终端之间的直连通信连接之后,接收所述发送终端广播的直连通信请求消息;其中,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和直连通信流标识对应的服务质量参数;After the direct communication connection with the sending terminal is established, the direct communication request message broadcast by the sending terminal is received; wherein the direct communication request message includes the application layer identifier of the sending terminal, and the sending terminal Terminal car networking layer identification, new target application layer identification, new direct communication flow identification and service quality parameters corresponding to the direct communication flow identification;
确定所述目标应用层标识为自身支持的应用层标识之后,向所述发送终端发送直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。After determining that the target application layer identifier is an application layer identifier supported by itself, send a direct communication response message to the sending terminal; wherein, the direct communication response message includes the IoV layer identifier and the direct connection of the receiving terminal Communication flow ID.
可选的,所述第二处理模块1602还用于:Optionally, the second processing module 1602 is further configured to:
向所述发送终端发送直连通信响应消息之前,确定直连通信流标识。Before sending the direct communication response message to the sending terminal, determine the direct communication flow identifier.
可选的,所述第二处理模块1602具体用于:Optionally, the second processing module 1602 is specifically configured to:
根据所述发送终端广播的直连通信请求消息中的直连通信流标识对应的服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识。The direct communication flow identifier is determined according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
可选的,所述第二处理模块1602具体用于:Optionally, the second processing module 1602 is specifically configured to:
若已建立的直连通信流的服务质量满足所述发送终端广播的直连通信请求消息中的服务质量参数,则重用所述已建立的直连通信流标识;否则,建立新的直连通信流标识。If the quality of service of the established direct communication flow meets the quality of service parameters in the direct communication request message broadcast by the sending terminal, the established direct communication flow identifier is reused; otherwise, a new direct communication is established Flow ID.
基于同一发明构思,本申请实施例中还提供了一种直接通信的方法,由于该方法对应的是本申请实施例直接通信的发送终端对应的方法,并且该方法解决问题的原理与该发送终端相似,因此该方法的实施可以参见发送终端的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of this application also provides a method of direct communication, because this method corresponds to the method corresponding to the sending terminal directly communicating in the embodiment of this application, and the principle of the method to solve the problem is the same as that of the sending terminal. Similar, so the implementation of this method can refer to the implementation of the sending terminal, and the repetition will not be repeated.
如图17所示,为本申请实施例提供的一种直接通信的方法流程图,具体包括如下步骤:As shown in FIG. 17, a flow chart of a direct communication method provided by an embodiment of this application specifically includes the following steps:
步骤1700,发送终端发送直连通信请求消息;Step 1700: The sending terminal sends a direct communication request message;
步骤1701,所述发送终端接收接收终端反馈的直连通信应答消息;Step 1701: The sending terminal receives the direct communication response message fed back by the receiving terminal;
步骤1702,所述发送终端建立与所述接收终端之间的直连通信连接;Step 1702: The sending terminal establishes a direct communication connection with the receiving terminal;
其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
可选的,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。Optionally, the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
可选的,所述直连通信请求消息还包括下列中的部分或全部:Optionally, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
可选的,所述直连通信应答消息还包括:Optionally, the direct communication response message further includes:
所述接收终端的应用层标识。The application layer identifier of the receiving terminal.
可选的,所述接收终端的应用层标识包括:Optionally, the application layer identifier of the receiving terminal includes:
所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
可选的,所述发送终端建立与所述接收终端之间的直连通信连接,还包括:Optionally, establishing a direct communication connection between the sending terminal and the receiving terminal further includes:
所述发送终端建立与所述接收终端之间的直连通信流。The sending terminal establishes a direct communication flow with the receiving terminal.
可选的,所述发送终端建立与所述接收终端之间的直连通信连接之后,还包括:Optionally, after the sending terminal establishes a direct communication connection with the receiving terminal, the method further includes:
所述发送终端确定有新的应用层服务质量需求;The sending terminal determines that there is a new application layer service quality requirement;
所述发送终端发送更新请求消息;The sending terminal sends an update request message;
所述发送终端接收所述接收终端反馈的更新应答消息;Receiving, by the sending terminal, an update response message fed back by the receiving terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通 信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
可选的,在所述发送终端发送更新请求消息之前,还包括:Optionally, before the sending terminal sends the update request message, the method further includes:
所述发送终端确定所述接收终端支持的其他应用层标识对应的所述接收终端的车联网层标识和所述新的应用层服务质量需求对应的直连通信流标识。The sending terminal determines the vehicle networking layer identifier of the receiving terminal corresponding to other application layer identifiers supported by the receiving terminal and the direct communication flow identifier corresponding to the new application layer service quality requirement.
可选的,所述发送终端确定所述更新请求消息对应的直连通信流标识,包括:Optionally, the sending terminal determining the direct communication flow identifier corresponding to the update request message includes:
所述发送终端根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识。The sending terminal determines the direct communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow.
可选的,所述发送终端根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识,包括:Optionally, the sending terminal determines the direct communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow, including:
若已建立的直连通信流的服务质量满足应用层服务质量需求,则所述发送终端确定满足应用层服务质量需求的已建立的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识;否则,所述发送终端建立新的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识。If the service quality of the established direct communication flow meets the application layer service quality requirements, the sending terminal determines that the established direct communication flow identifier that meets the application layer service quality requirements corresponds to the new application layer service quality requirements The direct connection communication flow identifier; otherwise, the sending terminal establishes a new direct communication flow identifier as the direct communication flow identifier corresponding to the new application layer service quality requirement.
可选的,所述发送终端建立与所述接收终端之间的直连通信连接之后,还包括:Optionally, after the sending terminal establishes a direct communication connection with the receiving terminal, the method further includes:
所述发送终端确定有新的应用层服务质量需求;The sending terminal determines that there is a new application layer service quality requirement;
所述发送终端广播新的直连通信请求消息,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和所述直连通信流标识对应的服务质量参数。The sending terminal broadcasts a new direct connection communication request message, the direct connection communication request message including the application layer identification of the sending terminal, the Internet of Vehicles layer identification of the sending terminal, the new target application layer identification, and the new direct connection The communication flow identifier and the quality of service parameter corresponding to the directly connected communication flow identifier.
可选的,若所述目标应用层标识为所述接收终端支持的应用层标识;Optionally, if the target application layer identifier is an application layer identifier supported by the receiving terminal;
所述发送终端广播新的直连通信请求消息之后,还包括:After the sending terminal broadcasts the new direct communication request message, the method further includes:
所述发送终端接收所述接收终端发送的直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。The sending terminal receives the direct communication response message sent by the receiving terminal; wherein the direct communication response message includes the vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal.
可选的,所述发送终端接收所述接收终端发送的直连通信响应消息之后,还包括:Optionally, after the sending terminal receives the direct communication response message sent by the receiving terminal, the method further includes:
若所述接收终端反馈的直连通信流标识为已建立的直连通信流标识,则所述发送终端重用已建立的直连通信流标识对应的直连通信流;If the direct communication flow identifier fed back by the receiving terminal is an established direct communication flow identifier, the sending terminal reuses the direct communication flow corresponding to the established direct communication flow identifier;
若所述接收终端反馈的直连通信流标识为所述发送终端发送的新的直连通信请求消息包含的所述新的直连通信流标识,则所述发送终端建立所述新的直连通信流标识对应的直连通信流。If the direct communication stream identifier fed back by the receiving terminal is the new direct communication stream identifier included in the new direct communication request message sent by the sending terminal, the sending terminal establishes the new direct connection The communication flow identifier corresponds to the direct communication flow.
基于同一发明构思,本申请实施例中还提供了一种直接通信的方法,由于该方法对应的是本申请实施例直接通信的接收终端对应的方法,并且该方法解决问题的原理与该接收终端相似,因此该方法的实施可以参见接收终端的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of this application also provides a method of direct communication, because this method corresponds to the method corresponding to the receiving terminal directly communicating in the embodiment of this application, and the principle of the method to solve the problem is the same as that of the receiving terminal. Similar, so the implementation of this method can refer to the implementation of the receiving terminal, and the repetition will not be repeated.
如图18所示,为本申请实施例提供的一种直接通信的方法流程图,具体包括如下步骤:As shown in FIG. 18, a flow chart of a method for direct communication provided by an embodiment of this application specifically includes the following steps:
步骤1800,接收终端接收发送终端发送固定直连通信请求消息;Step 1800: The receiving terminal receives the fixed direct communication request message sent by the sending terminal;
步骤1801,所述接收终端向所述发送终端发送直连通信应答消息;Step 1801: The receiving terminal sends a direct communication response message to the sending terminal;
步骤1802,所述接收终端建立与所述发送终端之间的直连通信连接;其中,所述直连通信请求消息包含所述发送终端的车联网层标识;所述直连通信应答消息包含所述接收终端的车联网层标识。Step 1802, the receiving terminal establishes a direct communication connection with the sending terminal; wherein the direct communication request message includes the IoV layer identification of the sending terminal; the direct communication response message includes all The vehicle networking layer identification of the receiving terminal.
可选的,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。Optionally, the IoV layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the IoV layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal.
可选的,所述直连通信请求消息还包括下列中的部分或全部:Optionally, the direct communication request message further includes some or all of the following:
所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
可选的,所述直连通信应答消息还包括:Optionally, the direct communication response message further includes:
所述接收终端的应用层标识。The application layer identifier of the receiving terminal.
可选的,所述接收终端的应用层标识包括:Optionally, the application layer identifier of the receiving terminal includes:
所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应 用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
可选的,所述接收终端建立与所述发送终端之间的直连通信连接,还包括:Optionally, establishing a direct communication connection between the receiving terminal and the sending terminal further includes:
所述接收终端通过与所述发送终端之间建立的直连通信流进行数据传输。The receiving terminal performs data transmission through a direct communication stream established with the sending terminal.
可选的,所述接收终端建立与所述发送终端之间的直连通信连接之后,还包括:Optionally, after the receiving terminal establishes a direct communication connection with the sending terminal, the method further includes:
所述接收终端接收所述发送终端发送的更新请求消息;Receiving, by the receiving terminal, an update request message sent by the sending terminal;
所述接收终端向所述发送终端反馈更新应答消息;The receiving terminal feeds back an update response message to the sending terminal;
其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
可选的,所述接收终端建立与所述发送终端之间的直连通信连接之后,还包括:Optionally, after the receiving terminal establishes a direct communication connection with the sending terminal, the method further includes:
所述接收终端接收所述发送终端广播的直连通信请求消息;其中,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和直连通信流标识对应的服务质量参数;The receiving terminal receives the direct communication request message broadcast by the sending terminal; wherein the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, and the new target application layer ID, the new direct communication flow ID and the quality of service parameters corresponding to the direct communication flow ID;
所述接收终端确定所述目标应用层标识为自身支持的应用层标识之后,向所述发送终端发送直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。After the receiving terminal determines that the target application layer identifier is an application layer identifier supported by itself, it sends a direct communication response message to the sending terminal; wherein the direct communication response message includes the car networking layer of the receiving terminal Identification and direct communication flow identification.
可选的,所述接收终端向所述发送终端发送直连通信响应消息之前,还包括:Optionally, before the receiving terminal sends the direct communication response message to the sending terminal, the method further includes:
所述接收终端确定直连通信流标识。The receiving terminal determines the direct communication flow identifier.
可选的,所述接收终端确定直连通信流标识,包括:Optionally, the determination of the direct connection communication flow identifier by the receiving terminal includes:
所述接收终端根据所述发送终端广播的直连通信请求消息中的直连通信 流标识对应的服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识。The receiving terminal determines the direct communication flow identifier according to the service quality parameters corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
可选的,所述接收终端根据所述发送终端广播的直连通信请求消息中的服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识,包括:Optionally, the receiving terminal determines the direct communication flow identifier according to the service quality parameter in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow, including:
若已建立的直连通信流的服务质量满足所述发送终端广播的直连通信请求消息中的服务质量参数,则所述发送终端重用所述已建立的直连通信流标识;否则,所述发送终端建立新的直连通信流标识。If the service quality of the established direct communication flow meets the quality of service parameters in the direct communication request message broadcast by the sending terminal, the sending terminal reuses the established direct communication flow identifier; otherwise, the The sending terminal establishes a new direct communication flow identifier.
本申请实施例还提供一种计算机可读非易失性存储介质,包括程序代码,当所述程序代码在计算终端上运行时,所述程序代码用于使所述计算终端执行上述本申请实施例直连通信的方法的步骤。An embodiment of the present application further provides a computer-readable non-volatile storage medium, including program code, when the program code runs on a computing terminal, the program code is used to make the computing terminal execute the implementation of the present application. Example of the steps of the direct communication method.
以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。The foregoing describes the present application with reference to block diagrams and/or flowcharts showing methods, devices (systems) and/or computer program products according to embodiments of the present application. It should be understood that one block of the block diagram and/or flowchart diagram and a combination of the blocks in the block diagram and/or flowchart diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, and/or other programmable data processing devices to produce a machine, so that the instructions executed via the computer processor and/or other programmable data processing devices are created for A method of implementing the functions/actions specified in the block diagram and/or flowchart block.
相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。Correspondingly, hardware and/or software (including firmware, resident software, microcode, etc.) can also be used to implement this application. Furthermore, this application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium to be used by the instruction execution system or Used in conjunction with the instruction execution system. In the context of this application, a computer-usable or computer-readable medium can be any medium that can contain, store, communicate, transmit, or transmit a program for use by an instruction execution system, device, or device, or in combination with an instruction execution system, Device or equipment use.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要 求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, then this application is also intended to include these modifications and variations.

Claims (51)

  1. 一种直连通信的方法,其特征在于,该方法包括:A method of direct communication, characterized in that the method includes:
    发送终端发送直连通信请求消息;The sending terminal sends a direct communication request message;
    所述发送终端接收接收终端反馈的直连通信应答消息;Receiving, by the sending terminal, a direct communication response message fed back by the receiving terminal;
    所述发送终端建立与所述接收终端之间的直连通信连接;Establishing a direct communication connection between the sending terminal and the receiving terminal;
    其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  2. 如权利要求1所述的方法,其特征在于,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。The method of claim 1, wherein the vehicle networking layer identifier of the transmitting terminal corresponds to multiple application layer identifiers of the transmitting terminal; the vehicle networking layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal. Application layer identification.
  3. 如权利要求1所述的方法,其特征在于,所述直连通信请求消息还包括下列中的部分或全部:The method according to claim 1, wherein the direct communication request message further includes some or all of the following:
    所述发送终端的应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数。The application layer identifier, the direct communication flow identifier of the sending terminal, and the quality of service parameters corresponding to the direct communication flow.
  4. 如权利要求1所述的方法,其特征在于,所述直连通信应答消息还包括:The method according to claim 1, wherein the direct communication response message further comprises:
    所述接收终端的应用层标识。The application layer identifier of the receiving terminal.
  5. 如权利要求4所述的方法,其特征在于,所述接收终端的应用层标识包括:The method according to claim 4, wherein the application layer identifier of the receiving terminal comprises:
    所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
    所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  6. 如权利要求1所述的方法,其特征在于,所述发送终端建立与所述接收终端之间的直连通信连接,还包括:The method according to claim 1, wherein the establishing a direct communication connection between the sending terminal and the receiving terminal further comprises:
    所述发送终端建立与所述接收终端之间的直连通信流。The sending terminal establishes a direct communication flow with the receiving terminal.
  7. 如权利要求1所述的方法,其特征在于,所述发送终端建立与所述接收终端之间的直连通信连接之后,还包括:The method according to claim 1, wherein after the sending terminal establishes a direct communication connection with the receiving terminal, the method further comprises:
    所述发送终端确定有新的应用层服务质量需求;The sending terminal determines that there is a new application layer service quality requirement;
    所述发送终端发送更新请求消息;The sending terminal sends an update request message;
    所述发送终端接收所述接收终端反馈的更新应答消息;Receiving, by the sending terminal, an update response message fed back by the receiving terminal;
    其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  8. 如权利要求7所述的方法,其特征在于,在所述发送终端发送更新请求消息之前,还包括:The method according to claim 7, wherein before the sending terminal sends the update request message, the method further comprises:
    所述发送终端确定所述接收终端支持的其他应用层标识对应的所述接收终端的车联网层标识和所述新的应用层服务质量需求对应的直连通信流标识。The sending terminal determines the vehicle networking layer identifier of the receiving terminal corresponding to other application layer identifiers supported by the receiving terminal and the direct communication flow identifier corresponding to the new application layer service quality requirement.
  9. 如权利要求8所述的方法,其特征在于,所述发送终端确定所述更新请求消息对应的直连通信流标识,包括:The method according to claim 8, wherein the sending terminal determining the direct communication flow identifier corresponding to the update request message comprises:
    所述发送终端根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识。The sending terminal determines the direct communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow.
  10. 如权利要求9所述的方法,其特征在于,所述发送终端根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识,包括:The method according to claim 9, wherein the sending terminal determines the corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow. Direct communication flow identification, including:
    若已建立的直连通信流的服务质量满足应用层服务质量需求,则所述发送终端确定满足应用层服务质量需求的已建立的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识;否则,所述发送终端建立新的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识。If the service quality of the established direct communication flow meets the application layer service quality requirements, the sending terminal determines that the established direct communication flow identifier that meets the application layer service quality requirements corresponds to the new application layer service quality requirements The direct connection communication flow identifier; otherwise, the sending terminal establishes a new direct communication flow identifier as the direct communication flow identifier corresponding to the new application layer service quality requirement.
  11. 如权利要求1所述的方法,其特征在于,所述发送终端建立与所述接收终端之间的直连通信连接之后,还包括:The method according to claim 1, wherein after the sending terminal establishes a direct communication connection with the receiving terminal, the method further comprises:
    所述发送终端确定有新的应用层服务质量需求;The sending terminal determines that there is a new application layer service quality requirement;
    所述发送终端广播新的直连通信请求消息,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和所述直连通信流标识对应的服务质量参数。The sending terminal broadcasts a new direct connection communication request message, the direct connection communication request message including the application layer identification of the sending terminal, the Internet of Vehicles layer identification of the sending terminal, the new target application layer identification, and the new direct connection The communication flow identifier and the quality of service parameter corresponding to the directly connected communication flow identifier.
  12. 如权利要求11所述的方法,其特征在于,若所述目标应用层标识为所述接收终端支持的应用层标识;The method of claim 11, wherein if the target application layer identifier is an application layer identifier supported by the receiving terminal;
    所述发送终端广播新的直连通信请求消息之后,还包括:After the sending terminal broadcasts the new direct communication request message, the method further includes:
    所述发送终端接收所述接收终端发送的直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。The sending terminal receives the direct communication response message sent by the receiving terminal; wherein the direct communication response message includes the vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal.
  13. 如权利要求11所述的方法,其特征在于,所述发送终端接收所述接收终端发送的直连通信响应消息之后,还包括:The method according to claim 11, wherein after the sending terminal receives the direct communication response message sent by the receiving terminal, the method further comprises:
    若所述接收终端反馈的直连通信流标识为已建立的直连通信流标识,则所述发送终端重用已建立的直连通信流标识对应的直连通信流;If the direct communication flow identifier fed back by the receiving terminal is an established direct communication flow identifier, the sending terminal reuses the direct communication flow corresponding to the established direct communication flow identifier;
    若所述接收终端反馈的直连通信流标识为所述发送终端发送的新的直连通信请求消息包含的所述新的直连通信流标识,则所述发送终端建立所述新的直连通信流标识对应的直连通信流。If the direct communication stream identifier fed back by the receiving terminal is the new direct communication stream identifier included in the new direct communication request message sent by the sending terminal, the sending terminal establishes the new direct connection The communication flow identifier corresponds to the direct communication flow.
  14. 一种直连通信的方法,其特征在于,该方法包括:A method of direct communication, characterized in that the method includes:
    接收终端接收发送终端发送固定直连通信请求消息;The receiving terminal receives the fixed direct communication request message sent by the sending terminal;
    所述接收终端向所述发送终端发送直连通信应答消息;Sending, by the receiving terminal, a direct communication response message to the sending terminal;
    所述接收终端建立与所述发送终端之间的直连通信连接;Establishing a direct communication connection between the receiving terminal and the sending terminal;
    其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  15. 如权利要求14所述的方法,其特征在于,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。The method of claim 14, wherein the vehicle networking layer identifier of the transmitting terminal corresponds to multiple application layer identifiers of the transmitting terminal; the vehicle networking layer identifier of the receiving terminal corresponds to multiple application layer identifiers of the receiving terminal. Application layer identification.
  16. 如权利要求14所述的方法,其特征在于,所述直连通信请求消息还 包括下列中的部分或全部:The method according to claim 14, wherein the direct communication request message further includes some or all of the following:
    所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
  17. 如权利要求14所述的方法,其特征在于,所述直连通信应答消息还包括:The method according to claim 14, wherein the direct communication response message further comprises:
    所述接收终端的应用层标识。The application layer identifier of the receiving terminal.
  18. 如权利要求17所述的方法,其特征在于,所述接收终端的应用层标识包括:The method according to claim 17, wherein the application layer identifier of the receiving terminal comprises:
    所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
    所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  19. 如权利要求14所述的方法,其特征在于,所述接收终端建立与所述发送终端之间的直连通信连接,还包括:The method according to claim 14, wherein the establishing a direct communication connection between the receiving terminal and the sending terminal further comprises:
    所述接收终端通过与所述发送终端之间建立的直连通信流进行数据传输。The receiving terminal performs data transmission through a direct communication stream established with the sending terminal.
  20. 如权利要求14所述的方法,其特征在于,所述接收终端建立与所述发送终端之间的直连通信连接之后,还包括:The method according to claim 14, wherein after the receiving terminal establishes a direct communication connection with the sending terminal, the method further comprises:
    所述接收终端接收所述发送终端发送的更新请求消息;Receiving, by the receiving terminal, an update request message sent by the sending terminal;
    所述接收终端向所述发送终端反馈更新应答消息;The receiving terminal feeds back an update response message to the sending terminal;
    其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  21. 如权利要求14所述的方法,其特征在于,所述接收终端建立与所述发送终端之间的直连通信连接之后,还包括:The method according to claim 14, wherein after the receiving terminal establishes a direct communication connection with the sending terminal, the method further comprises:
    所述接收终端接收所述发送终端广播的直连通信请求消息;其中,所述 直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和直连通信流标识对应的服务质量参数;The receiving terminal receives the direct communication request message broadcast by the sending terminal; wherein the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, and the new target application layer ID, the new direct communication flow ID and the quality of service parameters corresponding to the direct communication flow ID;
    所述接收终端确定所述目标应用层标识为自身支持的应用层标识之后,向所述发送终端发送直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。After the receiving terminal determines that the target application layer identifier is an application layer identifier supported by itself, it sends a direct communication response message to the sending terminal; wherein the direct communication response message includes the car networking layer of the receiving terminal Identification and direct communication flow identification.
  22. 如权利要求21所述的方法,其特征在于,所述接收终端向所述发送终端发送直连通信响应消息之前,还包括:22. The method according to claim 21, wherein before the receiving terminal sends a direct communication response message to the sending terminal, the method further comprises:
    所述接收终端确定直连通信流标识。The receiving terminal determines the direct communication flow identifier.
  23. 如权利要求22所述的方法,其特征在于,所述接收终端确定直连通信流标识,包括:The method according to claim 22, wherein the determining of the direct connection communication flow identifier by the receiving terminal comprises:
    所述接收终端根据所述发送终端广播的直连通信请求消息中的直连通信流标识对应的服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识。The receiving terminal determines the direct communication flow identifier according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
  24. 如权利要求23所述的方法,其特征在于,所述接收终端根据所述发送终端广播的直连通信请求消息中的服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识,包括:The method according to claim 23, wherein the receiving terminal determines the direct communication according to the quality of service parameters in the direct communication request message broadcast by the sending terminal and the quality of service with the established direct communication flow. Flow identification, including:
    若已建立的直连通信流的服务质量满足所述发送终端广播的直连通信请求消息中的服务质量参数,则所述发送终端重用所述已建立的直连通信流标识;否则,所述发送终端建立新的直连通信流标识。If the service quality of the established direct communication flow meets the quality of service parameters in the direct communication request message broadcast by the sending terminal, the sending terminal reuses the established direct communication flow identifier; otherwise, the The sending terminal establishes a new direct communication flow identifier.
  25. 一种直连通信的发送终端,其特征在于,该发送终端包括:处理器以及存储器,其中,所述存储器存储有程序代码,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述发送终端执行下列过程:A sending terminal for direct communication, characterized in that the sending terminal includes a processor and a memory, wherein the memory stores program codes, and when one or more computer programs stored in the memory are used by the processor When executed, the sending terminal is caused to execute the following process:
    发送直连通信请求消息;Send a direct communication request message;
    接收接收终端反馈的直连通信应答消息;Receive a direct communication response message fed back by the receiving terminal;
    建立与所述接收终端之间的直连通信连接;Establishing a direct communication connection with the receiving terminal;
    其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目 标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  26. 如权利要求25所述的发送终端,其特征在于,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。The sending terminal according to claim 25, wherein the vehicle networking layer identifier of the sending terminal corresponds to multiple application layer identifiers of the sending terminal; the vehicle networking layer identifier of the receiving terminal corresponds to the receiving terminal Multiple application layer identification.
  27. 如权利要求25所述的发送终端,其特征在于,所述直连通信请求消息还包括下列中的部分或全部:The sending terminal according to claim 25, wherein the direct communication request message further includes some or all of the following:
    所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
  28. 如权利要求25所述的发送终端,其特征在于,所述直连通信应答消息还包括所述接收终端的应用层标识。The sending terminal according to claim 25, wherein the direct communication response message further includes an application layer identifier of the receiving terminal.
  29. 如权利要求28所述的发送终端,其特征在于,所述接收终端的应用层标识包括所述发送终端请求的所述目标应用层标识;或所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The sending terminal according to claim 28, wherein the application layer identifier of the receiving terminal includes the target application layer identifier requested by the sending terminal; or the target application layer identifier requested by the sending terminal and Other application layer identifiers supported by the receiving terminal.
  30. 如权利要求25所述的发送终端,其特征在于,所述处理器还用于:The sending terminal according to claim 25, wherein the processor is further configured to:
    建立与所述接收终端之间的直连通信流。Establish a direct communication flow with the receiving terminal.
  31. 如权利要求25所述的发送终端,其特征在于,所述处理器还用于:The sending terminal according to claim 25, wherein the processor is further configured to:
    确定有新的应用层服务质量需求;Determine the new application layer service quality requirements;
    发送更新请求消息;Send update request message;
    接收所述接收终端反馈的更新应答消息;Receiving an update response message fed back by the receiving terminal;
    其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  32. 如权利要求31所述的发送终端,其特征在于,所述处理器还用于:The sending terminal according to claim 31, wherein the processor is further configured to:
    确定所述接收终端支持的其他应用层标识对应的所述接收终端的车联网层标识和所述新的应用层服务质量需求对应的直连通信流标识。Determine the vehicle networking layer identifier of the receiving terminal corresponding to other application layer identifiers supported by the receiving terminal and the direct communication flow identifier corresponding to the new application layer service quality requirement.
  33. 如权利要求32所述的发送终端,其特征在于,所述处理器具体用于:The sending terminal according to claim 32, wherein the processor is specifically configured to:
    根据所述新的应用层服务质量需求和已建立的直连通信流的服务质量确定所述新的应用层服务质量需求对应的直连通信流标识。Determine the direct connection communication flow identifier corresponding to the new application layer service quality requirement according to the new application layer service quality requirement and the service quality of the established direct communication flow.
  34. 如权利要求33所述的发送终端,其特征在于,所述处理器具体用于:The sending terminal according to claim 33, wherein the processor is specifically configured to:
    若已建立的直连通信流的服务质量满足应用层服务质量需求,则确定满足应用层服务质量需求的已建立的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识;否则,建立新的直连通信流标识作为所述新的应用层服务质量需求对应的直连通信流标识。If the service quality of the established direct communication flow meets the application layer service quality requirements, then determine the established direct communication flow identifier that meets the application layer service quality requirements as the direct communication flow corresponding to the new application layer service quality requirements Flow identifier; otherwise, a new direct communication flow identifier is established as the direct communication flow identifier corresponding to the new application layer service quality requirement.
  35. 如权利要求25所述的发送终端,其特征在于,所述处理器还用于:The sending terminal according to claim 25, wherein the processor is further configured to:
    确定有新的应用层服务质量需求;Determine the new application layer service quality requirements;
    广播新的直连通信请求消息;其中,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和所述直连通信流标识对应的服务质量参数。Broadcast a new direct communication request message; wherein, the direct communication request message includes the application layer identifier of the sending terminal, the vehicle networking layer identifier of the sending terminal, the new target application layer identifier, and the new direct communication flow Identifies the quality of service parameter corresponding to the direct communication flow identifier.
  36. 如权利要求35所述的发送终端,其特征在于,所述处理器还用于:The sending terminal according to claim 35, wherein the processor is further configured to:
    若所述目标应用层标识为所述接收终端支持的应用层标识,广播新的直连通信请求消息之后,接收所述接收终端发送的直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。If the target application layer identifier is an application layer identifier supported by the receiving terminal, after broadcasting a new direct communication request message, receive a direct communication response message sent by the receiving terminal; wherein, the direct communication response message The vehicle networking layer identifier and the direct communication flow identifier of the receiving terminal are included.
  37. 如权利要求35所述的发送终端,其特征在于,所述处理器具体用于:The sending terminal according to claim 35, wherein the processor is specifically configured to:
    接收所述接收终端发送的直连通信响应消息之后,若所述接收终端反馈的直连通信流标识为已建立的直连通信流标识,则重用已建立的直连通信流标识对应的直连通信流;After receiving the direct communication response message sent by the receiving terminal, if the direct communication flow identifier fed back by the receiving terminal is an established direct communication flow identifier, the direct connection corresponding to the established direct communication flow identifier is reused Communication flow
    若所述接收终端反馈的直连通信流标识为所述发送终端发送的新的直连通信请求消息包含的所述新的直连通信流标识,则建立所述新的直连通信流标识对应的直连通信流。If the direct communication flow identifier fed back by the receiving terminal is the new direct communication flow identifier included in the new direct communication request message sent by the sending terminal, then the new direct communication flow identifier correspondence is established Direct communication flow.
  38. 一种直连通信的接收终端,其特征在于,该接收终端包括:处理器 以及存储器,其中,所述存储器存储有程序代码,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述接收终端执行下列过程:A receiving terminal for direct communication, characterized in that the receiving terminal includes a processor and a memory, wherein the memory stores program codes, and when one or more computer programs stored in the memory are used by the processor When executed, the receiving terminal is caused to execute the following process:
    接收发送终端发送固定直连通信请求消息;Receive a fixed direct communication request message sent by the sending terminal;
    向所述发送终端发送直连通信应答消息;Sending a direct communication response message to the sending terminal;
    建立与所述发送终端之间的直连通信连接;Establishing a direct communication connection with the sending terminal;
    其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  39. 如权利要求38所述的接收终端,其特征在于,所述发送终端的车联网层标识对应所述发送终端的多个应用层标识;所述接收终端的车联网层标识对应所述接收终端的多个应用层标识。The receiving terminal according to claim 38, wherein the vehicle networking layer identifier of the transmitting terminal corresponds to multiple application layer identifiers of the transmitting terminal; the vehicle networking layer identifier of the receiving terminal corresponds to the receiving terminal Multiple application layer identification.
  40. 如权利要求38所述的接收终端,其特征在于,所述直连通信请求消息还包括下列中的部分或全部:The receiving terminal according to claim 38, wherein the direct communication request message further includes some or all of the following:
    所述发送终端的应用层标识、目标应用层标识、直连通信流标识及所述直连通信流对应的服务质量参数;其中,所述目标应用层标识为所述发送终端建立直连通信连接的对端的应用层标识。The application layer identifier, the target application layer identifier, the direct communication flow identifier and the quality of service parameters corresponding to the direct communication flow of the sending terminal; wherein the target application layer identifier establishes a direct communication connection for the sending terminal The application layer identifier of the opposite end.
  41. 如权利要求38所述的接收终端,其特征在于,所述直连通信应答消息还包括所述接收终端的应用层标识。The receiving terminal according to claim 38, wherein the direct communication response message further includes an application layer identifier of the receiving terminal.
  42. 如权利要求38所述的接收终端,其特征在于,所述接收终端的应用层标识包括:The receiving terminal according to claim 38, wherein the application layer identifier of the receiving terminal comprises:
    所述发送终端请求的所述目标应用层标识;或The target application layer identifier requested by the sending terminal; or
    所述发送终端请求的所述目标应用层标识和所述接收终端支持的其它应用层标识。The target application layer identifier requested by the sending terminal and other application layer identifiers supported by the receiving terminal.
  43. 如权利要求38所述的接收终端,其特征在于,所述处理器还用于:The receiving terminal according to claim 38, wherein the processor is further configured to:
    通过与所述发送终端之间建立的直连通信流进行数据传输。Data transmission is performed through a direct communication stream established with the sending terminal.
  44. 如权利要求38所述的接收终端,其特征在于,所述处理器还用于:The receiving terminal according to claim 38, wherein the processor is further configured to:
    建立与所述发送终端之间的直连通信连接之后,接收所述发送终端发送 的更新请求消息;After establishing a direct communication connection with the sending terminal, receiving an update request message sent by the sending terminal;
    向所述发送终端反馈更新应答消息;Feedback an update response message to the sending terminal;
    其中,所述更新请求消息包含所述发送终端的应用层标识、所述发送终端的车联网层标识、所述接收终端支持的其他应用层标识中的一个应用层标识、所述接收终端的车联网层标识和直连通信流标识;所述更新应答消息包含所述接收终端的应用层标识、所述接收终端的车联网层标识和所述直连通信流标识。Wherein, the update request message includes the application layer identifier of the sending terminal, the Internet of Vehicles layer identifier of the sending terminal, one application layer identifier among other application layer identifiers supported by the receiving terminal, and the vehicle of the receiving terminal. Networking layer identification and direct communication flow identification; the update response message includes the application layer identification of the receiving terminal, the vehicle networking layer identification of the receiving terminal, and the direct communication flow identification.
  45. 如权利要求38所述的接收终端,其特征在于,所述处理器还用于:The receiving terminal according to claim 38, wherein the processor is further configured to:
    建立与所述发送终端之间的直连通信连接之后,接收所述发送终端广播的直连通信请求消息;其中,所述直连通信请求消息包含所述发送终端的应用层标识、所述发送终端车联网层标识、新的目标应用层标识、新的直连通信流标识和直连通信流标识对应的服务质量参数;After the direct communication connection with the sending terminal is established, the direct communication request message broadcast by the sending terminal is received; wherein the direct communication request message includes the application layer identifier of the sending terminal, and the sending terminal Terminal car networking layer identification, new target application layer identification, new direct communication flow identification and service quality parameters corresponding to the direct communication flow identification;
    确定所述目标应用层标识为自身支持的应用层标识之后,向所述发送终端发送直连通信响应消息;其中,所述直连通信响应消息包含所述接收终端的车联网层标识和直连通信流标识。After determining that the target application layer identifier is an application layer identifier supported by itself, send a direct communication response message to the sending terminal; wherein, the direct communication response message includes the IoV layer identifier and the direct connection of the receiving terminal Communication flow ID.
  46. 如权利要求45所述的接收终端,其特征在于,所述处理器还用于:The receiving terminal according to claim 45, wherein the processor is further configured to:
    向所述发送终端发送直连通信响应消息之前,确定直连通信流标识。Before sending the direct communication response message to the sending terminal, determine the direct communication flow identifier.
  47. 如权利要求46所述的接收终端,其特征在于,所述处理器具体用于:The receiving terminal according to claim 46, wherein the processor is specifically configured to:
    根据所述发送终端广播的直连通信请求消息中的直连通信流标识对应的服务质量参数和与已建立的直连通信流的服务质量确定直连通信流标识。The direct communication flow identifier is determined according to the service quality parameter corresponding to the direct communication flow identifier in the direct communication request message broadcast by the sending terminal and the service quality of the established direct communication flow.
  48. 如权利要求47所述的接收终端,其特征在于,所述处理器具体用于:The receiving terminal according to claim 47, wherein the processor is specifically configured to:
    若已建立的直连通信流的服务质量满足所述发送终端广播的直连通信请求消息中的服务质量参数,则重用所述已建立的直连通信流标识;否则,建立新的直连通信流标识。If the quality of service of the established direct communication flow meets the quality of service parameters in the direct communication request message broadcast by the sending terminal, the established direct communication flow identifier is reused; otherwise, a new direct communication is established Flow ID.
  49. 一种直连通信的发送终端,其特征在于,该发送终端包括:A sending terminal for direct communication, characterized in that the sending terminal includes:
    第一发送模块:用于发送直连通信请求消息;The first sending module: used to send a direct communication request message;
    第一接收模块:用于接收接收终端反馈的直连通信应答消息;The first receiving module: used to receive the direct communication response message fed back by the receiving terminal;
    第一处理模块:用于建立与所述接收终端之间的直连通信连接;其中,所述直连通信请求消息包含所述发送终端的车联网层标识;所述直连通信应答消息包含所述接收终端的车联网层标识。The first processing module: used to establish a direct communication connection with the receiving terminal; wherein the direct communication request message includes the vehicle networking layer identifier of the sending terminal; the direct communication response message includes all The vehicle networking layer identification of the receiving terminal.
  50. 一种直连通信的接收终端,其特征在于,该接收终端包括:A receiving terminal for direct communication, characterized in that the receiving terminal includes:
    第二接收模块:用于接收发送终端发送固定直连通信请求消息;The second receiving module: used to receive the fixed direct communication request message sent by the sending terminal;
    第二发送模块:用于向所述发送终端发送直连通信应答消息;The second sending module: used to send a direct communication response message to the sending terminal;
    第二处理模块:用于建立与所述发送终端之间的直连通信连接;The second processing module: used to establish a direct communication connection with the sending terminal;
    其中,所述直连通信请求消息包含所述发送终端的车联网层标识和/或目标应用层标识;所述直连通信应答消息包含所述接收终端的车联网层标识;其中,所述目标应用层标识为所述接收终端的应用层标识。Wherein, the direct connection communication request message includes the IoV layer identifier and/or target application layer identifier of the sending terminal; the direct connection communication response message includes the IoV layer identifier of the receiving terminal; wherein, the target The application layer identifier is the application layer identifier of the receiving terminal.
  51. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行权利要求1~13任一项所述的方法,及执行权利要求14~24任一项所述的方法。A computer storage medium, wherein the computer storage medium stores computer-executable instructions, and the computer-executable instructions are used to make the computer execute the method according to any one of claims 1 to 13, and execute The method of any one of claims 14-24.
PCT/CN2020/100477 2019-07-25 2020-07-06 Method and device for sidelink WO2021012939A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910677518.1 2019-07-25
CN201910677518.1A CN112291742B (en) 2019-07-25 2019-07-25 Direct communication method and device

Publications (1)

Publication Number Publication Date
WO2021012939A1 true WO2021012939A1 (en) 2021-01-28

Family

ID=74193172

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/100477 WO2021012939A1 (en) 2019-07-25 2020-07-06 Method and device for sidelink

Country Status (2)

Country Link
CN (1) CN112291742B (en)
WO (1) WO2021012939A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113141671B (en) * 2021-04-23 2023-06-20 Tcl通讯(宁波)有限公司 Communication method and device of wifi device and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160212780A1 (en) * 2015-01-15 2016-07-21 Intel IP Corporation Public safety discovery and communication using a ue-to-ue relay
WO2018103411A1 (en) * 2016-12-07 2018-06-14 中兴通讯股份有限公司 Communication method, device and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113916A (en) * 2013-04-22 2014-10-22 中兴通讯股份有限公司 Method for establishing direct communication between terminals, server, base station and terminal
CN103532945B (en) * 2013-09-30 2017-01-18 华为技术有限公司 Sharing control method and related equipment and communication system
US20170295531A1 (en) * 2016-04-12 2017-10-12 Industrial Technology Research Institute Device to device mobility management method, user equipment and network entity using the same
CN109417685B (en) * 2018-09-28 2022-07-01 北京小米移动软件有限公司 Data transmission method, device, equipment and system for direct connection communication
WO2020142995A1 (en) * 2019-01-10 2020-07-16 北京小米移动软件有限公司 Method and apparatus for determining sidelink resource, user equipment and base station

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160212780A1 (en) * 2015-01-15 2016-07-21 Intel IP Corporation Public safety discovery and communication using a ue-to-ue relay
WO2018103411A1 (en) * 2016-12-07 2018-06-14 中兴通讯股份有限公司 Communication method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI; HISILICON: "PC5 QoS parameters provided by PCF", 3GPP DRAFT; S2-1905736 PC5 QOS MECHANISM, vol. SA WG2, 7 May 2019 (2019-05-07), Reno, Nevada, pages 1 - 7, XP051721192 *
SAMSUNG: "V2X application layer id", 3GPP DRAFT; S2-1907726 APPLICATION LAYER ID, vol. SA WG2, 18 June 2019 (2019-06-18), Sapporo, Japan, pages 1 - 5, XP051752688 *

Also Published As

Publication number Publication date
CN112291742A (en) 2021-01-29
CN112291742B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
EP3965440A1 (en) Sidelink communication method and apparatus, and storage medium
US20200383035A1 (en) Communications method and apparatus
WO2017049595A1 (en) Sidelink information transmission apparatus, method and communication system
KR102387163B1 (en) Data forwarding method, device, and system
CN110741701B (en) Method and base station for acquiring data radio bearer identifier
CN110351194B (en) Multicast group creating method and device and multicast group joining method and device
WO2017219701A1 (en) Method and device for updating system message
CN112654070B (en) Communication method, device, equipment and storage medium between user terminals
CN114765819B (en) Information transmission method and device
KR20190103382A (en) Routing Method and Device
WO2020228686A1 (en) Data radio bearer control method, device, and system for multi-connection system
US20230232196A1 (en) Data communication method and communication apparatus
CN111182611B (en) Communication method and device
WO2010105410A1 (en) Method, device and system for setting up radio bearer
CN116420347A (en) Method and apparatus for multicast service support in a time sensitive network
US10764183B2 (en) Data flow transmission method, device, and system
WO2021012939A1 (en) Method and device for sidelink
US20130235841A1 (en) Packet switched domain service processing method and device
CN109802982B (en) Dual-connection implementation method, device and system
WO2021032216A1 (en) Redundant session establishment method and apparatus, radio bearer establishment method and apparatus, and nodes, terminal, and medium
US20220338295A1 (en) Sidelink bearer managing method and apparatus, terminal, and medium
CN111787643A (en) Method and equipment for establishing session
US20210410209A1 (en) Connection management method and apparatus, terminal and system
CN111867146B (en) Identification information sending and receiving method, equipment and device
KR102657395B1 (en) Data transmission method, terminal and storage media

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20844472

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20844472

Country of ref document: EP

Kind code of ref document: A1