WO2022032545A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2022032545A1
WO2022032545A1 PCT/CN2020/108749 CN2020108749W WO2022032545A1 WO 2022032545 A1 WO2022032545 A1 WO 2022032545A1 CN 2020108749 W CN2020108749 W CN 2020108749W WO 2022032545 A1 WO2022032545 A1 WO 2022032545A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
information
receiving
mode
layer
Prior art date
Application number
PCT/CN2020/108749
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 华为技术有限公司
Priority to PCT/CN2020/108749 priority Critical patent/WO2022032545A1/en
Priority to CN202080101550.6A priority patent/CN115669003A/en
Publication of WO2022032545A1 publication Critical patent/WO2022032545A1/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]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of vehicle to everything (V2X), and in particular, to a communication method and device.
  • V2X vehicle to everything
  • V2X technology is the key technology of future intelligent transportation system. It enables communication between vehicles, vehicles and base stations, enabling vehicles to obtain real-time road conditions, road information, pedestrian information and other traffic information, thereby effectively improving driving safety, reducing congestion, improving traffic efficiency, and providing vehicle-mounted entertainment information, etc.
  • V2X communication scenarios some V2X terminals have limited battery capacity.
  • V2X terminals how to reduce the power consumption of the V2X terminals so that the V2X terminals can be used for a longer period of time is an urgent technical problem to be solved.
  • the present application provides a communication method, which can be used to reduce the power consumption of a V2X terminal.
  • a communication method comprising: switching a first terminal from a first receiving mode to a second receiving mode, where the first receiving mode is used for the first terminal to continuously receive data on the PC5 port, and the second receiving mode uses The first terminal receives data on the PC5 port within the receiving window of each receiving period; the first terminal broadcasts the first information, and the first information is used to indicate that the first terminal is in the second receiving mode.
  • the first terminal since the first terminal switches from the first receiving mode to the second receiving mode, the first terminal only receives data on the PC5 port within the receiving window, so that the first terminal reduces the time required to receive data and reduces the power consumption of the terminal. And, the first terminal broadcasts the first information, so that other terminals around the first terminal can know that the first terminal is in the second receiving mode. In this way, other surrounding terminals can send data to the first terminal at an appropriate time, so as to prevent the first terminal from not receiving important messages sent by other surrounding terminals. In this way, the purpose of taking into account the security and power saving of the first terminal is achieved.
  • the first information includes user information of the first terminal, and the first information also includes one or more of the following parameters: the duration of the reception window, the duration of the reception cycle, the start time of the reception window, The start time of the receiving period, or the receiving mode information; the receiving mode information is used to indicate the receiving mode in which the first terminal is located.
  • the switching of the first terminal from the first receiving mode to the second receiving mode includes: the V2X layer of the first terminal receives third information, and the third information is used to instruct switching to the second receiving mode; the first The V2X layer of the terminal instructs the access layer of the first terminal to switch to the second reception mode.
  • the third information includes the duration of the reception period of the first terminal and the duration of the reception window of the first terminal.
  • the V2X layer of the first terminal can determine the duration of the reception period and the duration of the reception window used in the second reception mode according to the third information.
  • the method further includes: the application layer of the first terminal determines to switch the first terminal from the first receiving mode to the second receiving mode; the application layer of the first terminal sends the first terminal to the V2X layer of the first terminal.
  • the application layer of the first terminal determines to switch the first terminal from the first receiving mode to the second receiving mode; the application layer of the first terminal sends the first terminal to the V2X layer of the first terminal.
  • the application layer of the first terminal determining to switch the first terminal from the first receiving mode to the second receiving mode includes: the application layer of the first terminal determining that the first terminal does not have a security risk. In this way, the first terminal can use the second receiving mode without a security risk, so as to achieve the purpose of taking into account both power saving and security.
  • the application layer of the first terminal determines that there is no security risk in the first terminal, including: the application layer of the first terminal acquires motion information of at least one second terminal; the application layer of the first terminal acquires the first terminal The application layer of the first terminal determines that there is no security risk in the first terminal according to the motion information of the first terminal and the motion information of at least one second terminal. It can be understood that, the motion information of at least one second terminal can reflect the surrounding traffic conditions. Therefore, the first terminal can effectively determine whether the surrounding traffic environment poses a security threat to the first terminal according to the motion information of the at least one second terminal.
  • the application layer of the first terminal determines that there is no security risk in the first terminal according to the motion information of the first terminal and the motion information of at least one second terminal, including: the application layer of the first terminal according to the first terminal.
  • the motion information of the terminal and the motion information of the at least one second terminal determine that any one of the at least one second terminal satisfies the first preset condition.
  • the first preset condition includes a combination of one or more of the following:
  • the relative distance between the second terminal and the first terminal is greater than or equal to the first preset value
  • the relative speed between the second terminal and the first terminal is less than or equal to the second preset value
  • the confidence of the collision between the second terminal and the first terminal is less than or equal to the third preset value; or,
  • the predicted motion trajectory of the second terminal and the predicted motion trajectory of the first terminal have no intersection.
  • the collision risk between the first terminal and the second terminal is relatively small when the first preset condition is satisfied.
  • the method includes: switching the first terminal from the second receiving mode to the first receiving mode.
  • the switching of the first terminal from the second receiving mode to the first receiving mode includes: the V2X layer of the first terminal receives fourth information, and the fourth information is used to switch the first terminal to the first receiving mode. ; the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode.
  • the method further includes: the application layer of the first terminal determines to switch the first terminal from the second receiving mode to the first receiving mode; the application layer of the first terminal sends the first terminal to the V2X layer of the first terminal.
  • the application layer of the first terminal determining to switch the first terminal from the second receiving mode to the first receiving mode includes: the application layer of the first terminal determining that the first terminal has a security risk.
  • the method before the first terminal switches from the second receiving mode to the first receiving mode, the method further includes: the first terminal receives the second information sent by the second terminal within the receiving window, the second information It is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode.
  • the switching of the first terminal from the second reception mode to the first reception mode includes: the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first reception mode according to the second information.
  • a communication method comprising: the second terminal determines to switch the first terminal in the second reception mode to the first reception mode, where the second reception mode is used for the first terminal in each reception cycle Receive data on the PC5 port within the receiving window; the second terminal sends second information to the first terminal, the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode, and the first receiving mode is used for the first terminal. Continuously receive data on the PC5 port.
  • the second terminal sends the second information to the first terminal, so that the first terminal switches from the second receiving mode to the first receiving mode.
  • the first terminal in the first receiving mode can receive messages sent by other surrounding terminals in time, so as to know the traffic situation around the first terminal, so as to ensure the safety of the user of the first terminal.
  • the method further includes: the second terminal receives the first information sent by the first terminal, and the first information is used for the first terminal to be in the second receiving mode.
  • the first information includes user information of the first terminal, and the first information further includes one or more of the following parameters: the duration of the reception window of the first terminal, the duration of the reception cycle of the first terminal , the start time of the reception window of the first terminal, the start time of the reception period of the first terminal, or the reception mode information; the reception mode information is used to indicate the reception mode in which the first terminal is located.
  • the second terminal when the first information includes the duration of the reception period of the first terminal and the duration of the reception period of the first terminal, the second terminal sends the second information to the first terminal, including: the second terminal During the first time period, the fourth information is repeatedly sent with the first time period as the sending time interval. The duration of the receive window. In this way, among the second information sent multiple times by the second terminal, the sending timing of at least one second information is within the receiving window of the first terminal, which ensures that the first terminal can receive the second information.
  • the source layer 2 identity (layer 2 Identity, L2 ID) used by the first information is the layer 2 identity of the first terminal.
  • the second terminal sends the second information to the first terminal, including: the second terminal according to the duration of the reception period and the first terminal.
  • the layer 2 identifier of one terminal determines the time domain offset value of the receiving window; the second terminal determines the start time of the receiving window of the first terminal according to the time domain offset value; the second terminal determines the starting time of the receiving window according to the starting time and The duration of the receiving window, the second information is sent to the first terminal within the receiving window of the first terminal.
  • the second terminal when the first information includes the duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal, the second terminal sends the second information to the first terminal, including: the first terminal.
  • the second terminal sends the second information to the first terminal within the receiving window of the first terminal according to the duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal.
  • the second terminal sends the second information to the first terminal, including: the second terminal according to the preconfigured duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal, in the first terminal.
  • a terminal sends the second information to the first terminal within the receiving window of the terminal.
  • the second terminal determining to switch the first terminal in the second receiving mode to the first receiving mode includes: the second terminal determining that the first terminal has a security risk. It should be understood that when the first terminal has a security risk, the second terminal triggers the first terminal to switch to the first receiving mode, which can ensure the security of the user of the first terminal.
  • the second terminal determines that the first terminal has a security risk, including: the second terminal acquires the motion information of the first terminal and the motion information of the second terminal; the second terminal obtains the motion information of the first terminal and the motion information of the second terminal; The motion information of the second terminal determines that the second terminal does not meet the first preset condition.
  • the first preset condition includes a combination of one or more of the following:
  • the relative distance between the second terminal and the first terminal is greater than or equal to the first preset value
  • the relative speed between the second terminal and the first terminal is less than or equal to the second preset value
  • the confidence of the collision between the second terminal and the first terminal is less than or equal to the third preset value; or,
  • the predicted motion trajectory of the second terminal and the predicted motion trajectory of the first terminal have no intersection.
  • the second terminal determining that the first terminal has a security risk includes: the second terminal determining that the second terminal is in an out-of-control state. It should be understood that the fact that the second terminal is out of control indicates that there is a high possibility of collision between the first terminal and the second terminal, so the second terminal can determine that the first terminal has a safety risk.
  • the second information further includes user information of the first terminal.
  • a communication device including a processing module and a communication module.
  • the processing module is used to switch from the first receiving mode to the second receiving mode, the first receiving mode is used for the first terminal to continuously receive data on the PC5 port, and the second receiving mode is used for the first terminal to receive data in each receiving cycle. Receive data on the PC5 port within the receive window.
  • the communication module is used for broadcasting first information, where the first information is used to represent that the first terminal is in the second receiving mode.
  • the first information includes user information of the first terminal, and the first information also includes one or more of the following parameters: the duration of the reception window, the duration of the reception cycle, the start time of the reception window, The start time of the receiving period, or the receiving mode information; the receiving mode information is used to indicate the receiving mode in which the first terminal is located.
  • the processing module for switching from the first receiving mode to the second receiving mode specifically includes: the V2X layer of the first terminal receives third information, and the third information is used to indicate switching to the second receiving mode. ; the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second reception mode according to the third information.
  • the third information includes the duration of the reception period of the first terminal and the duration of the reception window of the first terminal.
  • the processing module is further configured to perform the following operations: the application layer of the first terminal determines to switch the first terminal from the first receiving mode to the second receiving mode; the application layer of the first terminal sends the first terminal to the first terminal.
  • the V2X layer sends the third message.
  • the processing module is further configured to perform the following operation: the application layer of the first terminal determines that there is no security risk in the first terminal.
  • the processing module is further configured to perform the following operations: the application layer of the first terminal acquires the motion information of at least one second terminal; the application layer of the first terminal acquires the motion information of the first terminal; the first terminal acquires the motion information of the first terminal; The application layer of the first terminal determines that there is no security risk in the first terminal according to the motion information of the first terminal and the motion information of at least one second terminal.
  • the processing module is further configured to perform the following operations: the application layer of the first terminal determines any one of the at least one second terminal according to the motion information of the first terminal and the motion information of the at least one second terminal. The second terminal satisfies the first preset condition.
  • the first preset condition includes a combination of one or more of the following: the relative distance between the second terminal and the first terminal is greater than or equal to the first preset value; The relative speed between one terminal is less than or equal to the second preset value; or, the confidence of collision between the second terminal and the first terminal is less than or equal to the third preset value; or, the predicted motion trajectory of the second terminal There is no intersection with the predicted motion trajectory of the first terminal.
  • the processing module is further configured to switch from the second receiving mode to the first receiving mode.
  • the processing module is further configured to switch from the second receiving mode to the first receiving mode, including: the V2X layer of the first terminal receives fourth information, and the fourth information is used to switch the first terminal to the first receiving mode.
  • the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode.
  • the processing module is further configured to perform the following operations: the application layer of the first terminal determines to switch the first terminal from the second receiving mode to the first receiving mode; the application layer of the first terminal sends the first terminal to the first terminal.
  • the V2X layer sends the fourth message.
  • the processing module is further configured to perform the following operation: the application layer of the first terminal determines that the first terminal has a security risk.
  • the communication module is further configured to receive second information sent by the second terminal within the receiving window, where the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode.
  • the processing module is further configured to perform the following operation: the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode according to the second information.
  • a communication device including a processing module and a communication module.
  • the processing module is used for determining to switch the first terminal in the second receiving mode to the first receiving mode, and the second receiving mode is used for the first terminal to receive data on the PC5 port within the receiving window of each receiving period.
  • the communication module is used to send the second information to the first terminal, the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode, and the first receiving mode is used for the first terminal to continuously receive data on the PC5 port .
  • the communication module is further configured to receive the first information sent by the first terminal, and the first information is used for the first terminal to be in the second receiving mode.
  • the first information includes user information of the first terminal, and the first information further includes one or more of the following parameters: the duration of the reception window of the first terminal, the duration of the reception cycle of the first terminal , the start time of the reception window of the first terminal, the start time of the reception period of the first terminal, or the reception mode information; the reception mode information is used to indicate the reception mode in which the first terminal is located.
  • the communication module is specifically configured to use the first duration as Sending time interval, the fourth information is repeatedly sent, the duration of the first time period is greater than or equal to the duration of the reception period of the first terminal, and the first duration is less than or equal to the duration of the reception window of the first terminal.
  • the source layer 2 identifier used by the first information is the layer 2 identifier of the first terminal.
  • the processing module is specifically configured to determine the duration of the reception window according to the duration of the reception cycle and the layer 2 identifier of the first terminal when the first information includes the duration of the reception cycle of the first terminal and the duration of the reception cycle of the first terminal.
  • Time domain offset value determines the start time of the receiving window of the first terminal.
  • the communication module is specifically configured to send the second information to the first terminal within the receiving window of the first terminal according to the start time of the receiving window and the duration of the receiving window.
  • the communication module is specifically configured to, when the first information includes the duration of the reception window of the first terminal and the start time of the reception window of the first terminal, according to the duration of the reception window of the first terminal. and the start time of the receiving window of the first terminal, and sending the second information to the first terminal within the receiving window of the first terminal.
  • the communication module is specifically configured to send the first terminal to the first terminal within the receiving window of the first terminal according to the preconfigured duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal.
  • the processing module is specifically configured to determine that the first terminal has a security risk.
  • the processing module is specifically used to obtain the motion information of the first terminal and the motion information of the second terminal; the second terminal determines the second terminal according to the motion information of the first terminal and the motion information of the second terminal.
  • the first preset condition is not met.
  • the first preset condition includes a combination of one or more of the following: the relative distance between the second terminal and the first terminal is greater than or equal to the first preset value; The relative speed between one terminal is less than or equal to the second preset value; or, the confidence of collision between the second terminal and the first terminal is less than or equal to the third preset value; or, the predicted motion trajectory of the second terminal There is no intersection with the predicted motion trajectory of the first terminal.
  • the processing module is specifically configured to determine that the second terminal is in an out-of-control state.
  • the second information further includes user information of the first terminal.
  • a communication device in a fifth aspect, includes a processor and a transceiver, and the processor and the transceiver are used to implement any one of the methods provided in any one of the first or second aspects above.
  • the processor is configured to perform processing actions in the corresponding method
  • the transceiver is configured to perform the actions of receiving/transmitting in the corresponding method.
  • a chip including: a processing circuit and a transceiver pin, where the processing circuit and the transceiver pin are used to implement the method provided in the first aspect or the second aspect.
  • the processing circuit is used for executing the processing actions in the corresponding method
  • the transceiver pins are used for executing the actions of receiving/transmitting in the corresponding method.
  • a computer-readable storage medium stores computer instructions that, when the computer instructions are executed on a computer, cause the computer to execute any one of the first aspect or the second aspect. any method.
  • a computer program product which when the computer instructions are executed on a computer, causes the computer to execute any one of the methods provided in any one of the first aspect or the second aspect.
  • a communication system in a ninth aspect, includes a first terminal and a second terminal.
  • the first terminal is configured to execute any one of the methods provided in the foregoing first aspect.
  • the second terminal is configured to execute any one of the methods provided in the second aspect.
  • FIG. 1 is a schematic diagram of a communication process of a V2X terminal
  • FIG. 2 is an architectural diagram of a communication system provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a protocol layer of a terminal according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a second receiving mode provided by an embodiment of the present application.
  • FIG. 6 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 7 is a flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 8(a) is a flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 8(b) is a flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 9 is a flowchart of a method for determining a security risk provided by an embodiment of the present application.
  • FIG. 11 is a flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application.
  • the communication process of a V2X terminal includes the following steps:
  • the V2X layer of the receiving end determines the first L2 ID.
  • the V2X layer of the receiver obtains the first L2 ID from the application layer of the receiver.
  • the V2X layer of the receiving end acquires the first V2X service identifier from the application layer of the receiving end; then, the V2X layer of the receiving end obtains the first V2X service identifier and the correspondence between the V2X service identifier and the L2 ID according to the first V2X service identifier , and determine the first L2 ID corresponding to the first V2X service identifier.
  • the application layer of the sending end sends the V2X service data and the second V2X service identifier corresponding to the V2X service data to the V2X layer of the sending end.
  • the V2X layer of the sender determines the source (source) L2 ID and the destination (destination) L2 ID of the V2X service data.
  • the V2X layer of the sender determines the second L2 ID corresponding to the V2X service data according to the mapping relationship between the V2X service identifier and the DST L2 ID, and the second V2X service identifier corresponding to the V2X service data.
  • the V2X layer of the sender uses the second L2 ID as the target L2 ID of the V2X service data.
  • the V2X layer of the sender uses the L2 ID of the sender as the source L2 ID of the V2X service data. It is understandable that in the V2X communication scenario, each device will be configured with its own unique L2 ID within the communication range of the device.
  • the V2X layer of the sender transmits the V2X service data, the source L2 ID and the destination L2 ID to the access layer, and the access layer encapsulates the V2X service data into a V2X message.
  • the receiving end monitors the V2X message.
  • the V2X layer of the receiver will filter the V2X message broadcast by the sender according to the first L2 ID.
  • the V2X layer of the receiver will receive the V2X message and upload the V2X message to the application layer.
  • V2X terminals enable the receiving function throughout the entire process to monitor messages broadcast by other surrounding terminals.
  • TS technical specification
  • Some V2X terminals have limited battery capacity, and if these V2X terminals continue to work with large power consumption, the normal working time of these V2X terminals will be short. Therefore, for these V2X terminals with limited battery capacity, how to reduce the power consumption of the V2X terminals is a computational problem to be solved urgently.
  • an embodiment of the present application provides a communication method, which can be applied to various communication systems, such as: long-term evolution (long time evolution, LTE) system, LTE frequency division duplex (frequency division duplex) , FDD) system, LTE time division duplex (TDD) system, universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, public terrestrial Mobile network (public land mobile network, PLMN) system, device to device (D2D) network system or machine to machine (M2M) network system or new radio (new radio, NR) system or fifth 5th generation (5G) network system and future network systems, etc.
  • LTE long-term evolution
  • LTE frequency division duplex frequency division duplex
  • FDD frequency division duplex
  • TDD LTE time division duplex
  • UMTS universal mobile telecommunication system
  • WiMAX worldwide interoperability for microwave access
  • PLMN public terrestrial Mobile network
  • D2D device to device
  • M2M machine to machine
  • new radio new radio
  • the V2X terminal with limited battery capacity may refer to a vulnerable road user (vulnerable road user, VRU) terminal.
  • VRUs include but are not limited to pedestrians, bicycles, electric vehicles, motorcycles, skateboards and other non-automotive road traffic participants.
  • the network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application.
  • the evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • the provided method is used in an NR system or a 5G network as an example for description.
  • an architecture diagram of a communication system is provided, and the communication system may include terminals (for example, UE A, UE B, UE C, and UE D in FIG. 2), access network equipment, core network equipment, Data network (DN), etc.
  • terminals for example, UE A, UE B, UE C, and UE D in FIG. 2
  • access network equipment for example, UE A, UE B, UE C, and UE D in FIG. 2
  • DN Data network
  • a terminal may be called a user equipment (user equipment, UE) or a terminal device (terminal).
  • the terminal may be installed with a V2X application.
  • the terminal can support V2X communication, such as: receiving or sending V2X messages, in this case, the terminal can also be called a V2X terminal.
  • the V2X messages may include but are not limited to vehicle-to-vehicle (V2V) messages, vehicle-to-person (V2P) messages, vehicle-to-network (V2N) messages, vehicles and road infrastructure (vehicle to infrastructure, V2I) information, anti-collision messages between cars, entertainment application messages, navigation messages interacting between cars, etc.
  • the terminals shown in FIG. 2 may include but are not limited to VRU terminals, vehicle-mounted terminals, mobile phones (mobile phones), tablet computers or computers with wireless transceiver functions, smart gas stations, smart signal lights, and the like.
  • the terminal may transmit V2X messages through different types of communication interfaces.
  • the communication interface may include a PC5 port and/or a Uu port.
  • the Uu interface is a wireless connection interface between a terminal and an access network device.
  • the PC5 interface is the reference point for the ProSe direct communication on the user plane of the V2X service between terminals.
  • Access network equipment is responsible for radio resource management, uplink and downlink data classification and QoS application, as well as signaling processing with control plane network elements, and data forwarding with user plane network elements.
  • the access network device may be a base station, a broadband network gateway (BNG), an aggregation switch, a non-3GPP access device, and the like.
  • the base station may include various forms of base stations, such as: a macro base station, a micro base station (also referred to as a small cell), a relay station, an access point, etc., which are not specifically limited in this embodiment of the present application.
  • the equipment for the terminal to access the core network is collectively referred to as the access network equipment in the text, and will not be described again.
  • the access network device may be an evolved universal terrestrial radio access network (E-UTRAN) device in a 4G network, a next generation radio access network (next generation radio access network) in a 5G network , NG-RAN) equipment, etc.
  • E-UTRAN evolved universal terrestrial
  • core network equipment may include access and mobility management function (AMF), policy control function (PCF), unified data management (UDM), session management function (session management function, SMF), user plane function (user plane function, UPF), application function (application function, AF), network development function (network exposure function, NEF), and user data repository (user data repository, UDR).
  • AMF access and mobility management function
  • PCF policy control function
  • UDM unified data management
  • SMF session management function
  • user plane function user plane function
  • application function application function
  • NEF network exposure function
  • UDR user data repository
  • the core network includes network elements such as MME, S-GW, P-GW, and HSS; in the 5G network, The core network includes network elements such as AMF, SMF, UPF, UDM, and PCF.
  • the protocol layer of the terminal can support the terminal to transmit V2X messages.
  • the protocol layer of the terminal may include: an application layer (application layer), a V2X layer, and an access layer (Access Stratum, AS).
  • the application layer is mainly used to provide V2X services, such as generating V2X messages.
  • the V2X layer is mainly used to determine the communication interface of the V2X message, etc., to determine the communication mode of the V2X message on the PC5 interface, the establishment of the PC5 unicast connection, and the determination of the layer 2 identifier of the PC5 communication.
  • the V2X layer of the terminal can be independently deployed in the terminal, or can be deployed in other protocol layers of the terminal, such as: can be deployed in the non-access stratum (NAS) of the terminal (not shown in Figure 3) middle.
  • NAS non-access stratum
  • the actions performed by the V2X layer can be considered to be performed by the NAS, without limitation.
  • the embodiment of the present application is described by taking the V2X layer of the terminal independently deployed in the terminal as an example, which is not limited.
  • the AS is mainly used to support processes such as public land mobile network (PLMN) selection, cell selection, and resourceless resource management.
  • the radio resource management procedure includes: a radio resource control (radio resource control, RRC) connection establishment procedure, a signaling establishment procedure between the terminal and the core network, a handover procedure, and the like.
  • RRC radio resource control
  • the AS also applies for PC5 communication resources for V2X messages sent by the PC5 port, fills in the source layer 2 address and destination layer 2 address for the V2X message, and establishes a PC5-RRC connection for PC5 unicast communication.
  • the application layer may be referred to as the upper layer of the V2X layer, and the access layer may be referred to as the lower layer of the V2X layer.
  • FIG. 4 is a schematic diagram of the composition of a communication apparatus 100 according to an embodiment of the present application, and the communication apparatus 100 may be a terminal or a chip or a system-on-chip in the terminal.
  • the communication device 100 includes a processor 101 , a communication line 102 and a communication interface 103 .
  • the communication apparatus 100 may further include a memory 104 .
  • the processor 101 , the memory 104 and the communication interface 103 may be connected through a communication line 102 .
  • the processor 101 may be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processing (DSP), a microprocessor, or a microcontroller. , programmable logic device (PLD) or any combination of them.
  • the processor 101 may also be any other device having processing functions, such as a circuit, a device or a software module, without limitation.
  • the communication line 102 is used to transmit information between components included in the communication device 100 .
  • the communication interface 103 is used to communicate with other devices or other communication networks.
  • the other communication network may be Ethernet, radio access network (RAN), wireless local area networks (WLAN) and the like.
  • Communication interface 103 may be a module, circuit, transceiver, or any device capable of communication.
  • Memory 104 for storing instructions.
  • the instructions may be computer programs.
  • the memory 104 may be a read-only memory (ROM) or other types of static storage devices capable of storing static information and/or instructions, or may be a random access memory (RAM) or a storage device capable of storing static information and/or instructions.
  • ROM read-only memory
  • RAM random access memory
  • Other types of dynamic storage devices for information and/or instructions which may also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) ) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, etc., without limitation.
  • EEPROM electrically erasable programmable read-only memory
  • CD-ROM compact disc read-only memory
  • optical disc storage including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.
  • the memory 104 may exist independently of the processor 101 , or may be integrated with the processor 101 .
  • the memory 104 may be used to store instructions or program code or some data or the like.
  • the memory 104 may be located in the communication device 100, or may be located outside the communication device 100, which is not limited.
  • the processor 101 is configured to execute the instructions stored in the memory 104 to implement the communication methods provided by the following embodiments of the present application. For example, when the communication device 100 is a terminal or a chip or a system-on-chip in the terminal, the processor 101 may execute the instructions stored in the memory 104 to implement the steps performed by the sender in the following embodiments of the present application.
  • the processor 101 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 4 .
  • the communication apparatus 100 includes multiple processors.
  • the communication apparatus 100 may further include a processor 107 .
  • the communication apparatus 100 further includes an output device 105 and an input device 106 .
  • the input device 106 is a device such as a keyboard, a mouse, a microphone or a joystick
  • the output device 105 is a device such as a display screen, a speaker, and the like.
  • the receiving mode is used to control the receiving behavior of the terminal.
  • the receiving mode may be the complete receiving mode provided by the current TS 24.587, or the incomplete receiving mode provided by the embodiment of the present application, or the suspended receiving mode provided by the embodiment of the present application.
  • the complete receiving mode is used for the terminal to continuously receive data on the PC5 port.
  • the full receive mode can be used for the terminal to continuously enable the receive function on the PC5 port.
  • the incomplete receive mode is used for the terminal to receive data on the PC5 port within the receive window of the receive cycle.
  • the incomplete receiving mode can be used for the first terminal to enable the receiving function on the PC5 port within the receiving window of the receiving period.
  • enabling the receiving function on the PC5 port may refer to: enabling the function of the access layer and the non-access layer to receive data on the PC5 port.
  • the receiving period is composed of a receiving window and a non-receiving window.
  • the receive window is the time period during which data is allowed to be received on the PC5 port within the receive cycle, and data is not allowed to be received on the PC5 port outside the receive window time period.
  • the non-receiving window is the time period during which data is not allowed to be received on the PC5 port during the receiving cycle.
  • Receive cycle #1 consists of receive window #1 and non-receive window #1.
  • Reception cycle #2 consists of reception window #2 and non-reception window #2.
  • Receive cycle #3 consists of receive window #3 and non-receive window #3. The terminal enables the receiving function on the PC5 port on the receiving window #1, receiving window #2, and receiving window #3, and disables the receiving function on the PC5 port on the non-receiving window #1, non-receiving window #2, and non-receiving window #3. Function.
  • the pause receiving mode is used for the terminal to pause receiving data on the PC5 port.
  • the names of the complete reception mode, the incomplete reception mode, and the paused reception mode are only examples, and these reception modes may have other names, which are not limited in this embodiment of the present application.
  • V2X applications may refer to applications that receive or send V2X messages.
  • the terminal installs application 1, application 2, and application 3. If application 1 is used to receive or send V2X messages, then application 1 belongs to a V2X application. If application 2 and application 3 are not used for receiving and sending V2X messages, then application 2 and application 3 do not belong to V2X applications.
  • an application is used to receive and send V2X messages may depend on factors such as a usage scenario of the terminal, user requirements of the terminal, and the like.
  • the user of the vehicle terminal starts the application 1 and triggers the application 1 to enter the driving mode.
  • the application 1 receives or sends the V2X message.
  • the user of the vehicle terminal closes the application 1, and the application 1 does not receive or send V2X messages at this time.
  • V2X applications may be installed on a terminal.
  • the application may indicate to the V2X layer of the terminal whether to receive or send a V2X message.
  • the V2X layer of the terminal determines the application as a V2X application.
  • the V2X layer of the terminal may store the identifier of each V2X application on the terminal.
  • a communication method provided by an embodiment of the present application includes the following steps:
  • the first terminal switches from the first receiving mode to the second receiving mode.
  • the first terminal may be a VRU terminal or other V2X terminal that needs to reduce power consumption, which is not limited.
  • the first receiving mode may be the full receiving mode mentioned in the above-mentioned receiving mode.
  • the first receiving mode can be used for the first terminal to continuously receive data on the PC5 port.
  • the first receiving mode can be used for the first terminal to continuously enable the receiving function on the PC5 port.
  • the second reception mode may be the incomplete reception mode mentioned in the above-mentioned reception modes.
  • the second receiving mode can be used for the first terminal to receive data on the PC5 port within the receiving window of the receiving period.
  • the second receiving mode can be used for the first terminal to enable the receiving function on the PC5 port within the receiving window of the receiving period.
  • the first terminal switches from the first receiving mode to the second receiving mode.
  • the first terminal in the second receiving mode receives data on the PC5 port within the receiving window of each receiving period, so that the first terminal can receive messages sent by other surrounding terminals.
  • the first terminal in the second receiving mode suspends receiving data on the PC5 port during the non-receiving window of each receiving cycle, so as to save the power consumption of the first terminal.
  • the first terminal broadcasts the first information.
  • the first information is used to represent that the first terminal is in the second receiving mode.
  • the source L2 ID used by the first information may be the L2 ID of the first terminal.
  • the destination L2 ID used by the first information is the L2 ID corresponding to the first information preconfigured by the first terminal.
  • the first information may include user information of the first terminal.
  • the first information further includes one or more of the following parameters: duration of the reception period, duration of the reception window, start time of the reception window, start time of the reception period, or reception mode information.
  • the starting time of the receiving window or the starting time of the receiving period may be the coordinated universal time (coordinated universal time, UTC) time or the time served by the global navigation satellite system (Global Navigation Satellite System, GNSS).
  • UTC coordinated universal time
  • GNSS Global Navigation Satellite System
  • the reception mode information may be used to indicate the reception mode used or located by the first terminal. That is, when the first terminal is in the first reception mode, the reception mode information is used to indicate that the first terminal is in the first reception mode. Alternatively, when the first terminal is in the second reception mode, the reception mode information is used to indicate that the first terminal is in the second reception mode. Alternatively, when the first terminal is in the third reception mode, the reception mode information is used to indicate that the first terminal is in the third reception mode.
  • the third receiving mode may be the suspended receiving mode mentioned in the above-mentioned receiving mode.
  • the third receiving mode is used for the first terminal to suspend receiving data on the PC5 port.
  • the above-mentioned receiving mode information can be used to indicate the second receiving mode, that is, the first terminal is in the second receiving mode.
  • the first information may be a V2X message or a PC5 signaling message.
  • the first information may be a vulnerable road user awareness message (VRU awareness message, VAM) or a pedestrian safety message (personal safety message, PSM), etc., which is not limited here. .
  • VRU awareness message VAM
  • PSM pedestrian safety message
  • the application layer of the first terminal when the first information is a V2X message, the application layer of the first terminal generates the first information.
  • the V2X layer of the first terminal When the first information is a PC5 signaling message, the V2X layer of the first terminal generates the first information.
  • the first terminal periodically broadcasts the first information.
  • the first terminal broadcasts the first information one or more times in each receiving period.
  • the first terminal broadcasts the first information within the receiving window of each receiving period.
  • the sending and receiving operations of the first terminal are controlled within the same time period, which is beneficial to reduce the power consumption of the first terminal.
  • the second terminal receives the first information.
  • the second terminal may be a vehicle (vehicle) terminal, a VRU terminal, or a roadside unit (road side unit, RSU) terminal.
  • vehicle vehicle
  • VRU vehicle
  • RSU roadside unit
  • the second terminal determines, according to the first information, that the first terminal is in the second receiving mode.
  • the second terminal can obtain the L2 ID of the first terminal after receiving the first information.
  • the second terminal may store the L2 ID of the first terminal in the first list.
  • the first list is used to store the L2 IDs of the terminals in the second reception mode.
  • the second terminal determines that the first terminal is not in the second receiving mode, the second terminal deletes the L2 ID of the first terminal from the first list.
  • the second terminal can determine whether a terminal is in the second receiving mode by querying whether the L2 ID of a terminal exists in the first list. That is, when the L2 ID of a terminal exists in the first list, the second terminal can determine that the terminal is in the second receiving mode; when the L2 ID of a terminal does not exist in the first list, the second terminal can determine that the terminal is in the second receiving mode. Not in second receive mode.
  • the V2X layer of the second terminal may establish and store the correspondence between the user information of the first terminal and the L2 ID of the first terminal.
  • the V2X layer of the second terminal receives the V2X service data sent by the application layer of the second terminal and the user information of the first terminal
  • the V2X layer of the second terminal can determine the first terminal according to the user information of the first terminal.
  • the L2 ID of a terminal Therefore, the V2X layer of the second terminal can send the V2X service data to the first terminal according to the L2 ID of the first terminal.
  • the first information includes receiving window configuration information of the first terminal (for example, the duration of the receiving period, the duration of the receiving window, the starting time of the receiving window and/or the starting time of the receiving period)
  • the first The second terminal stores the receiving window configuration information of the first terminal.
  • the second terminal can send a message (for example, a second message) to the first terminal within the receiving window of the first terminal according to the receiving window configuration information of the first terminal, so as to ensure that the first terminal can The message sent by the second terminal is received within the receiving window of the first terminal.
  • the first terminal since the first terminal switches from the first receiving mode to the second receiving mode, the first terminal only receives data on the PC5 port within the receiving window, thereby reducing the time required for the first terminal to receive messages , reducing the power consumption of the first terminal.
  • the first terminal broadcasts the first information, so that other terminals around the first terminal can know that the first terminal is in the second receiving mode, and other terminals around the first terminal can send messages to the first terminal at an appropriate time to avoid the first terminal.
  • the terminal does not receive important messages sent by other surrounding terminals. The purpose of taking into account the security and power saving of the first terminal is achieved.
  • a communication method provided by an embodiment of the present application includes the following steps S201-S204. It should be understood that step S101 in FIG. 6 can be implemented by adopting steps S203 and S204 in FIG. 7 .
  • the application layer of the first terminal determines to switch the first terminal from the first receiving mode to the second receiving mode.
  • the application layer of the first terminal determines that there is no security risk in the first terminal.
  • the application layer of the first terminal may determine whether there is a security risk in the first terminal according to the embodiment shown in FIG. 9 .
  • the first terminal is currently in the first receiving mode, and is about to switch to the second receiving mode.
  • first receiving mode and the second receiving mode reference may be made to the relevant descriptions in the embodiment shown in FIG. 6 , and details are not repeated here.
  • the application layer of the first terminal sends third information to the V2X layer of the first terminal.
  • the third information is used to switch the first terminal to the second receiving mode.
  • the third information is an attention command (attention command, AT command).
  • the AT command is a standard command sent by the application layer to the wireless layer (for example, the V2X layer).
  • the third information may include user information of the first terminal.
  • the user information of the first terminal may refer to user information of the V2X application of the first terminal, such as account information of the V2X application, user number of the first terminal, number allocated by the V2X application for the user to participate in traffic, and the like.
  • the user information of the first terminal may have other names, such as an application layer identifier of the first terminal.
  • the V2X layer of the first terminal can obtain the user information of the first terminal. Furthermore, when the first information needs to be sent, the V2X layer of the first terminal may determine the L2 ID of the first terminal according to the user information of the first terminal. Furthermore, the V2X layer of the first terminal may use the L2 ID of the first terminal as the source L2 ID used by the first information. In addition, when the first information is a PC5 signaling message, the V2X layer of the first terminal may encapsulate the user information of the first terminal in the first information.
  • the third information further includes: configuration parameters of the second receiving mode.
  • the configuration parameters of the second reception mode include at least the duration of the reception cycle and the duration of the reception window.
  • configuration parameters of the second reception mode may further include the start time of the reception period and/or the start time of the reception window.
  • the application layer of the first terminal may determine the duration of the reception period and/or the duration of the reception window according to factors such as the traffic environment where the first terminal is located. Exemplarily, assuming that the application layer of the first terminal determines that there is no vehicle within 200m of the first terminal, the application layer of the first terminal may determine that the duration of the reception period is 3s and the duration of the reception window is 1s. In this way, even if the first terminal does not receive a message about the occurrence of the vehicle within 2 seconds, the vehicle generally travels a distance of 60m-80m within 2 seconds, so the distance between the vehicle and the first terminal is still greater than 120m.
  • the first terminal After the first terminal receives the message sent by the vehicle in the receiving window, if the first terminal determines that there is a collision risk between the vehicle and the first terminal according to the message sent by the vehicle, the first terminal immediately notifies the user of the first terminal, It is ensured that the user of the first terminal has sufficient response time to perform correct operations, and the safety of the user of the first terminal is ensured.
  • the application layer of the first terminal can set The duration of the receive window is greater than or equal to 1s.
  • the duration of the receiving window used by the first terminal is set to 1s, and the receiving period is set to 2s, so as to take into account the security and power saving of the first terminal.
  • the V2X layer of the first terminal receives the third information.
  • the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second reception mode according to the third information.
  • the V2X layer of the first terminal determines the configuration parameters of the second reception mode, and sends seventh information to the access layer of the first terminal, where the seventh information is used to trigger the access layer of the first terminal Switching to the second receiving mode, the seventh information includes configuration parameters of the second receiving mode.
  • the access layer of the first terminal may determine the duration of the reception period of the first terminal and the duration of the reception window of the first terminal according to the seventh information.
  • the access layer of the first terminal receives data on the PC5 port in the receiving window of each receiving cycle according to the duration of the receiving period of the first terminal and the duration of the receiving window of the first terminal, and Suspend receiving data on the PC5 port within the receiving window.
  • the V2X layer of the first terminal determines the configuration parameters of the second reception mode, and can adopt any one of the following methods:
  • the V2X layer of the first terminal may determine the configuration parameters of the second reception mode according to the third information.
  • Manner 2 The V2X layer of the first terminal acquires the preconfigured configuration parameters of the second reception mode from the database.
  • the duration of the pre-configured reception period and the duration of the reception window may be related to the geographic location where the first terminal is located.
  • the first terminal is located in the city center, the pre-configured duration of the reception period is 2s, and the duration of the reception window is 1s.
  • the first terminal is located in a suburb, the preconfigured duration of the reception period is 3s, and the duration of the reception window is 0.5s.
  • the start time of the receive window may be the same as the start time of the receive cycle. In this way, it is not necessary to additionally configure the start time of the receive window.
  • the start time of the receiving window may be calculated according to the time domain offset value of the receiving window.
  • the time domain offset value of the receiving window refers to the difference between the start time of the first receiving window in the target time period and the start time of the target time period.
  • the target time period may be an integer number of seconds.
  • the time domain offset value of the receiving window is calculated according to the L2 ID of the first terminal and the duration of the receiving cycle.
  • the calculation formula of the time-domain offset value of the receiving window reference may be made to the following formula (1).
  • K represents the time domain offset value of the receiving window.
  • P represents the L2 ID of the first terminal in decimal.
  • Q represents the duration of the receive cycle.
  • the duration of the receive window is 100ms
  • the duration of the receive cycle is 200ms
  • the first information may not include the starting time of the receiving window, thereby helping to reduce the overhead of the first information.
  • the access layer of the first terminal switches to the second receiving mode, which may be specifically implemented as follows: the access layer of the first terminal, according to the duration of the reception window and the duration of the reception period, switches the access layer of the first terminal in the reception window of the reception period Receive data on the PC5 port, and suspend receiving data on the PC5 port within the non-receiving window of the receiving cycle.
  • the V2X layer of the first terminal instructs the access layer of the first terminal to switch from the first receiving mode to the second receiving mode according to the third information sent by the application layer of the first terminal, which is successfully implemented.
  • the first terminal switches from the first receiving mode to the second receiving mode to save power consumption.
  • an embodiment of the present application provides a communication method, and the method includes the following steps S301-S303. It should be understood that step S101 in FIG. 6 may adopt step S303 in FIG. 8(a).
  • the target V2X application of the first terminal determines to switch from the first receiving mode to the second receiving mode.
  • the target V2X application may be any one of M V2X applications installed by the first terminal, where M is a positive integer.
  • M is a positive integer.
  • the target V2X application is Baidu Map or AutoNavi Map.
  • the M V2X applications may refer to all V2X applications installed on the first terminal.
  • the M V2X applications may refer to specific applications among all V2X applications installed on the first terminal, such as security V2X applications.
  • the target V2X application of the first terminal sends third information to the V2X layer of the first terminal.
  • the third information may include an identifier of the target V2X application, where the identifier is used to identify the target V2X application.
  • the V2X layer of the first terminal stores the third information sent by the target V2X application.
  • the V2X layer of the first terminal sets a timer corresponding to the target V2X application.
  • the V2X layer of the first terminal determines that the currently stored third information sent by the target V2X application is invalid.
  • the third information is invalid, which is equivalent to that the V2X layer of the first terminal does not receive the third information.
  • the target V2X application of the first terminal sends fourth information to the V2X layer of the first terminal, and the fourth information is used by the V2X layer of the first terminal to switch the first terminal to the first receiving mode. Further, the V2X layer of the first terminal may delete the third information sent by the target V2X application from the cache.
  • steps S301-S302 can all be performed by the M V2X applications of the first terminal.
  • the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second reception mode according to the third information.
  • step S303 may refer to the description of step S204, which will not be repeated here.
  • the V2X layer of the first terminal instructs the AS layer of the first terminal to switch from the first receiving mode to the second receiving mode according to the third information sent by the target V2X application of the first terminal , the switching of the first terminal from the first receiving mode to the second receiving mode is successfully implemented to save power consumption.
  • step S303 in the embodiment shown in FIG. 8( a ) can be replaced with step S304 in the embodiment shown in FIG. 8( b ).
  • the V2X layer of the first terminal When the V2X layer of the first terminal receives the third information sent by each of the M V2X applications in the first terminal, the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second receiving layer model.
  • the V2X layer of the first terminal can determine whether to receive the third information sent by the M V2X applications by judging whether the third information sent by the M V2X applications is cached. third information.
  • the V2X layer of the first terminal buffers the third information sent by the M V2X applications
  • the V2X layer of the first terminal determines to receive the third information sent by the M V2X applications.
  • the V2X layer of the first terminal determines that the third information sent by the M V2X applications has not been received.
  • V2X layer of the first terminal instructing the access layer of the first terminal to switch to the second reception mode may refer to the description of step S204, which will not be repeated here.
  • the V2X layer of the first terminal takes the maximum duration of the reception period as the duration of the reception period used in the second reception mode.
  • the V2X layer of the first terminal uses the minimum duration of the reception window as the duration of the reception window used in the second reception mode.
  • the V2X layer of the first terminal instructs the AS layer of the first terminal to switch to the second receiving mode from the first receiving mode Switch to the second receive mode.
  • the power consumption of the first terminal is reduced; on the other hand, the normal use of the M V2X applications installed on the first terminal is ensured.
  • an embodiment of the present application provides a method for determining a security risk.
  • the following describes whether there is a security risk in the first terminal as an example, and the security risk judgment mentioned in this application can all use this method, without limitation.
  • the method includes the following steps:
  • the first terminal acquires motion information of at least one second terminal.
  • the second terminal may be a vehicle terminal or a VRU terminal.
  • the movement information of the second terminal may include at least one of the following information: the position of the second terminal, the speed of the second terminal, the movement direction of the second terminal, the turning angle of the second terminal, and/or the second terminal the predicted motion trajectory.
  • the motion information may also have other names, such as driving information.
  • the first terminal acquires motion information of at least one second terminal within a preset time period. And/or, the first terminal acquires motion information of at least one second terminal in the target geographic area.
  • the target geographic area may be an area centered on the first terminal.
  • the motion information of the at least one second terminal can effectively reflect the current traffic conditions of the first terminal period, so that the first terminal can accurately determine whether the first terminal has a safety risk.
  • the first terminal receives the V2X message broadcast by the second terminal. Afterwards, the first terminal may determine the motion information of the second terminal from the V2X message.
  • the V2X message broadcast by the second terminal may be decentralized environmental notification message (DENM), basic safety message (basic safety message, BSM), cooperative awareness message (cooperative awareness message, CAM), etc., This is not limited.
  • the first terminal acquires motion information of the first terminal.
  • the movement information of the first terminal may include at least one of the following information: the position of the first terminal, the speed of the first terminal, the movement direction of the first terminal, the turning angle of the first terminal, and/or the first terminal the predicted motion trajectory.
  • a sensor of the first terminal for example, a position sensor, an acceleration sensor, etc.
  • the first terminal processes the data detected by the sensor , the motion information of the first terminal can be determined.
  • step S401 may be performed first, and then step S402 may be performed; or step S402 may be performed first, and then step S401 may be performed; or, steps S401 and S402 may be performed simultaneously.
  • the first terminal determines whether the first terminal has a security risk according to the motion information of the first terminal and the motion information of at least one second terminal.
  • the first terminal determines whether the second terminal satisfies the first terminal according to the motion information of the first terminal and the motion information of the second terminal. preset conditions. When each of the at least one second terminal satisfies the preset condition, the first terminal determines that the first terminal does not have a security risk. On the contrary, the first terminal determines that the first terminal has a security risk.
  • terminal 1 obtains the motion information of terminal 1, the motion information of terminal 2, and the motion information of terminal 3.
  • the terminal 1 determines whether the terminal 2 satisfies the first preset condition according to the motion information of the terminal 1 and the motion information of the terminal 2.
  • the terminal 1 determines whether the terminal 3 satisfies the first preset condition according to the motion information of the terminal 1 and the motion information of the terminal 3 .
  • the terminal 1 determines that it does not have a security risk.
  • the terminal 1 determines that it has a security risk.
  • the first preset condition includes one or a combination of the following:
  • the relative distance between the first terminal and the second terminal is greater than or equal to the first preset value.
  • the first preset condition may also have other implementation manners, which are not limited in this embodiment of the present application.
  • the above-mentioned first preset value, second preset value and third preset value may be pre-configured, specifically may be configured by the network, or may be pre-set in the terminal.
  • the setting values of the first preset value, the second preset value and the third preset value may be specified by the communication protocol, or may be the first terminal based on its own hardware configuration, traffic environment, geographic location and other factors to be sure.
  • the first terminal can determine whether other surrounding terminals pose a security threat to the first terminal according to the motion information of the first terminal and the motion information of other surrounding terminals (ie, the second terminal). Therefore, in the case that no other surrounding terminals pose a security threat to the first terminal, the first terminal can determine that the first terminal does not have a security risk.
  • the steps in the embodiment shown in FIG. 9 may be performed by the application layer of the first terminal or the V2X application of the first terminal.
  • FIGS. 10 and 11 A specific implementation solution for switching the first terminal in the second receiving mode to the first receiving mode will be described in detail below with reference to FIG. 10 and FIG. 11 .
  • the embodiments shown in FIGS. 10 and 11 may be combined with any one of the embodiments shown in FIGS. 6 , 7 , 8( a ) and 8 ( b ) without limitation.
  • a communication method provided by an embodiment of the present application includes the following steps:
  • the application layer of the first terminal determines to switch the first terminal from the second receiving mode to the first receiving mode.
  • the application layer of the first terminal determines to transfer the first terminal from the first terminal to the first terminal.
  • the second receiving mode is switched to the first receiving mode.
  • the first terminal switches to the first receiving mode when there is a security risk, so as to ensure that the first terminal can obtain information sent by other terminals in a timely manner, so that the first terminal can timely understand the traffic conditions of the period, and improve the first terminal. End-user security.
  • the first terminal is currently in the second receiving mode, and the application layer of the second terminal determines to switch the first terminal to the first receiving mode.
  • the application layer of the first terminal sends fourth information to the V2X layer of the first terminal.
  • the fourth information is used to switch the first terminal to the first receiving mode.
  • the fourth information is AT command.
  • the V2X layer of the first terminal receives the fourth information.
  • the V2X layer of the first terminal instructs the access layer of the first terminal to switch the first to the first receiving mode according to the fourth information.
  • the V2X layer of the first terminal sends eighth information to the access layer of the first terminal according to the fourth information, where the eighth information is used to instruct the access layer of the first terminal to switch to the first receiving mode . Therefore, the access layer of the first terminal switches to the first reception mode according to the eighth information.
  • the first terminal can actively switch to the first receiving mode, so that the first terminal can receive other surrounding terminals in time.
  • the information sent timely understand the surrounding traffic conditions, and ensure the safety of the users of the first terminal.
  • the application layer of the first terminal may be replaced with "the V2X application of the first terminal”.
  • a communication method provided by an embodiment of the present application includes the following steps:
  • the second terminal determines to switch the first terminal in the second receiving mode to the first receiving mode.
  • the second terminal determines that the first terminal in the second reception mode has a security risk
  • the second terminal determines to switch the first terminal in the second reception mode to the first reception mode.
  • the second terminal determines that the first terminal in the second receiving mode has a security risk, including one of the following situations:
  • the second terminal determines that the second terminal is in a runaway state.
  • the fact that the second terminal is out of control may refer to: the vehicle has an accident (for example, a tire blowout, brake failure, etc.), the automatic driving system of the vehicle is faulty, the movement trajectory of the vehicle is abnormal, the vehicle violates traffic rules (running a red light, speeding, occupation of non-motorized lanes, dangerous driving, etc.).
  • the above-mentioned vehicle refers to the second terminal or a vehicle equipped with the second terminal.
  • Scenario 2 The second terminal acquires the motion information of the first terminal. After that, the second terminal determines that the second terminal does not meet the first preset condition according to the motion information of the first terminal and the motion information of the second terminal.
  • first preset condition For the specific description of the first preset condition, reference may be made to the foregoing description, which will not be repeated here.
  • the second terminal sends the second information to the first terminal.
  • the second information is used to switch the first terminal to the first receiving mode.
  • the second information is used to represent that the first terminal has a security risk.
  • the destination L2 ID used by the second information is the L2 ID of the first terminal.
  • the second information further includes user information of the first terminal.
  • the purpose is to enable the terminal monitoring the second information to verify whether it is the receiving end of the second information according to the user information of the first terminal included in the second information.
  • the second information may be a V2X message or a PC5 signaling message.
  • step S602 may adopt any one of the following implementation manners:
  • Implementation Mode 1 In the case that the first information sent by the first terminal includes the duration of the reception period of the first terminal and the duration of the reception window of the first terminal, the second terminal uses the first duration as the first duration in the first time period. The transmission time interval, and the fourth information is repeatedly transmitted. The duration of the first time period is greater than or equal to the duration of the reception period. The first duration is less than or equal to the duration of the receive window.
  • Implementation Mode 2 In the case where the first information sent by the first terminal includes the duration of the reception period of the first terminal and the duration of the reception window of the first terminal, the second terminal can use the duration of the reception period and the L2 of the first terminal according to ID to determine the time domain offset value of the receiving window; the second terminal determines the start time of the receiving window of the first terminal according to the time domain offset value; the second terminal determines the starting time of the receiving window and the duration of the receiving window according to the The second information is sent to the first terminal within the receiving window of the first terminal.
  • the calculation formula of the time domain offset value of the receiving window may refer to the above formula (1).
  • implementation mode 2 is applicable to the scenario where the start time of the receiving window used by the first terminal is calculated according to the time domain offset value of the receiving window.
  • Implementation Mode 3 In the case where the first information sent by the first terminal includes the start time of the receiving window of the first terminal and the duration of the receiving window of the first terminal, the second terminal can use the start time of the receiving window of the first terminal according to The start time and the duration of the receiving window of the first terminal are used, and the second information is sent to the first terminal within the receiving window.
  • Implementation Mode 4 The second terminal sends the second information within the receiving window of the first terminal according to the preconfigured duration of the receiving window of the first terminal and the start time of the receiving window.
  • the V2X layer of the second terminal may obtain the receiving window configuration information of the first terminal from the application layer of the second terminal, such as the duration of the receiving window, the duration of the receiving period, the start time of the receiving window, and the like.
  • the V2X layer of the second terminal may pre-store the receiving window configuration information of the first terminal.
  • the second terminal after receiving the first information, stores the receiving window configuration information of the first terminal included in the first information.
  • the first terminal switches to the first receiving mode according to the second information.
  • the second terminal sends the second information to the first terminal, so that the first terminal switches from the second receiving mode to the first receiving mode.
  • the first terminal can receive messages sent by other surrounding terminals in time, so as to know the traffic situation around the first terminal, so as to ensure the safety of the user of the first terminal.
  • the embodiment shown in FIG. 11 may be specifically implemented as the embodiment shown in FIG. 12 .
  • Step S601 in FIG. 11 can be implemented by using step S701 in FIG. 12
  • step S602 in FIG. 11 can be implemented by using steps S702-S704 in FIG. 12
  • step S603 in FIG. 11 can be implemented by using step S705 in FIG. 12 to realise.
  • a communication method provided by an embodiment of the present application includes the following steps:
  • the application layer of the second terminal determines to switch the first terminal from the second receiving mode to the first receiving mode.
  • the first terminal is currently in the second receiving mode, and the application layer of the second terminal determines to switch the first terminal to the first receiving mode.
  • the application layer of the second terminal sends sixth information to the V2X layer of the second terminal.
  • the sixth information is used to instruct the second terminal to generate the second information.
  • the sixth information includes user information of the first terminal.
  • the V2X layer of the second terminal generates the second information according to the sixth information.
  • the V2X layer of the second terminal can establish the L2 ID of the first terminal and the first terminal. Correspondence between the user information of the terminal. Therefore, the V2X layer of the second terminal can determine the first terminal according to the user information of the first terminal included in the sixth information, and the pre-stored correspondence between the L2 ID of the first terminal and the user information of the first terminal 's L2 ID. Therefore, the V2X layer of the second terminal uses the L2 ID of the first terminal as the destination L2 ID used by the second information.
  • the V2X layer of the second terminal sends the second information to the V2X layer of the first terminal.
  • the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode according to the second information.
  • the V2X layer of the first terminal sends eighth information to the access layer of the first terminal according to the second information, and the eighth information is used to instruct the access layer of the first terminal to switch to the first receiving mode . Therefore, the access layer of the first terminal switches to the first receiving mode according to the eighth information.
  • the switching of the access layer of the first terminal to the first receiving mode may be implemented as follows: the access layer of the first terminal continues to receive data on the PC5 port.
  • the access layer of the first terminal continues to receive data on the PC5 port.
  • the V2X layer of the first terminal since the second information is a PC5 signaling message, the V2X layer of the first terminal has the ability to parse the PC5 signaling message. Therefore, after receiving the second information, the V2X layer of the first terminal can switch to the first receiving mode directly according to the second information.
  • the method further includes step S706 after step S705.
  • the V2X layer of the first terminal may also send fifth information to the application layer of the first terminal.
  • the fifth information is used to indicate that the first terminal has switched to the first receiving mode.
  • the application layer of the first terminal may learn that the first terminal has switched to the first receiving mode.
  • Step S601 in FIG. 11 can be implemented by using step S801 in FIG. 13
  • step S602 in FIG. 11 can be implemented by using steps S802-S803 in FIG. 13
  • step S603 in FIG. 11 can be implemented by using step S804 in FIG. 13 -S806 to achieve.
  • a communication method provided by an embodiment of the present application includes the following steps:
  • the application layer of the second terminal determines to switch the first terminal from the second receiving mode to the first receiving mode.
  • step S801 may refer to the description of step S701, which is not repeated here.
  • the application layer of the second terminal sends the second information to the V2X layer of the second terminal.
  • the V2X layer of the second terminal sends the second information to the V2X layer of the first terminal.
  • the V2X layer of the first terminal sends the second information to the application layer of the first terminal.
  • the application layer of the first terminal sends fourth information to the V2X layer of the first terminal according to the second information.
  • the fourth information is used to switch the first terminal to the first receiving mode.
  • the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode according to the fourth information.
  • the V2X layer of the first terminal sends eighth information to the access layer of the first terminal according to the fourth information, where the eighth information is used to instruct the access layer of the first terminal to switch to the first receiving mode . Therefore, the access layer of the first terminal switches to the first receiving mode according to the eighth information.
  • the terminal includes corresponding hardware structures and/or software modules for executing each function.
  • the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in conjunction with the algorithm steps of the examples described in the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
  • the terminal may be divided into functional modules according to the foregoing method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation. The following is an example of dividing each function module corresponding to each function to illustrate:
  • a communication apparatus provided by an embodiment of the present application includes: a processing module 201 and a communication module 202 .
  • the communication device is the above-mentioned first terminal, or a chip applied in the first terminal.
  • the processing module 201 is configured to support the first terminal to perform step S101 in FIG. 6 , steps S201-S204 in FIG. 7 , steps S301-S303 in FIG. Step S304, steps S401-S403 in FIG. 9, steps S501-S504 in FIG. 10, step S603 in FIG. 11, step S705 in FIG. 12, steps S804-S806 in FIG. 13.
  • the communication module 202 is configured to support the first terminal to perform step S102 in FIG. 6 , step S602 in FIG. 11 , step S704 in FIG. 12 , and step S803 in FIG. 13 .
  • the communication device is the above-mentioned second terminal, or a chip applied in the second terminal.
  • the processing module 201 is configured to support the second terminal to perform step S104 in FIG. 6 , step S601 in FIG. 11 , steps S701-S703 in FIG. 12 , and steps S801 and S802 in FIG. 13 .
  • the communication module 202 is configured to support the second terminal to perform step S103 in FIG. 6 , step S602 in FIG. 11 , step S704 in FIG. 12 , and step S803 in FIG. 13 .
  • the communication device further includes a storage module 203 .
  • the storage module is used to store program codes and data that can be used by the communication device.
  • the processing module 201 in FIG. 14 may be implemented by the processor 101 in FIG. 4
  • the communication module 202 in FIG. 14 may be implemented by the communication interface 103 in FIG. 4
  • the storage module 203 in FIG. 14 may be implemented by the memory 104 in FIG. 4 .
  • An embodiment of the present application provides a communication system, where the communication system includes a first terminal and a second terminal.
  • the first terminal is used to execute the methods shown in FIG. 6 to FIG. 13 .
  • the second terminal is used to execute the methods shown in FIG. 6 and FIG. 11 to FIG. 13 .
  • the embodiments of the present application further provide a computer-readable storage medium, on which instructions are stored, and when the instructions are executed, the methods in the foregoing method embodiments are performed.
  • the embodiments of the present application further provide a computer program product including an instruction, when the instruction is executed, the method in the foregoing method embodiment is performed.
  • An embodiment of the present application further provides a chip, where the chip includes a processor for implementing the technical method of the embodiment of the present invention.
  • the chip further includes a memory for storing necessary program instructions and/or data of the communication device according to the embodiment of the present invention.
  • the chip also includes memory for the processor to invoke application code stored in the memory.
  • the chip may be composed of one or more chips, or may include chips and other discrete devices, which are not specifically limited in this embodiment of the present application.
  • the steps of the methods or algorithms described in conjunction with the disclosure of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, and software modules can be stored in RAM, flash memory, ROM, erasable programmable read-only memory (erasable programmable read-only memory, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM), or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and storage medium may reside in an ASIC.
  • the ASIC may be located in the core network interface device.
  • the processor and the storage medium may also exist in the core network interface device as discrete components.
  • the memory may be coupled to the processor, eg, the memory may exist independently and be connected to the processor through a bus.
  • the memory can also be integrated with the processor.
  • the memory may be used to store application code for executing the technical solutions provided by the embodiments of the present application, and the execution is controlled by the processor.
  • the processor is configured to execute the application program code stored in the memory, thereby implementing the technical solutions provided by the embodiments of the present application.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be Incorporation may either be integrated into another device, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or may be distributed to multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

Landscapes

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

Abstract

A communication method and apparatus, which relate to the technical field of V2X, and are used for reducing power consumption of a V2X terminal. The method comprises: a first terminal switching from a first reception mode to a second reception mode, wherein the first reception mode is used for the first terminal to continuously receive data on a PC5 port, and the second reception mode is used for the first terminal to receive data on the PC5 port within a reception window of a reception period; and the first terminal broadcasting first information, wherein the first information is used for representing that the first terminal is in the second reception mode.

Description

通信方法及装置Communication method and device 技术领域technical field
本申请涉及车联网(vehicle to everything,V2X)技术领域,尤其涉及一种通信方法及装置。The present application relates to the technical field of vehicle to everything (V2X), and in particular, to a communication method and device.
背景技术Background technique
V2X技术是未来智能交通运输系统的关键技术。它使得车与车、车与基站之间能够通信,使得车辆能够获取实时路况、道路信息、行人信息等一切交通信息,从而能够有效提高汽车驾驶的安全性、减少拥堵、提高交通效率、提供车载娱乐信息等。V2X technology is the key technology of future intelligent transportation system. It enables communication between vehicles, vehicles and base stations, enabling vehicles to obtain real-time road conditions, road information, pedestrian information and other traffic information, thereby effectively improving driving safety, reducing congestion, improving traffic efficiency, and providing vehicle-mounted entertainment information, etc.
在V2X通信场景下,一些V2X终端的电池容量有限。对于这些V2X终端来说,如何降低V2X终端的功耗,以使得V2X终端可以在更长的时间内使用,是亟待解决的技术问题。In V2X communication scenarios, some V2X terminals have limited battery capacity. For these V2X terminals, how to reduce the power consumption of the V2X terminals so that the V2X terminals can be used for a longer period of time is an urgent technical problem to be solved.
发明内容SUMMARY OF THE INVENTION
本申请提供一种通信方法,能够用于降低V2X终端的功耗。The present application provides a communication method, which can be used to reduce the power consumption of a V2X terminal.
第一方面,提供一种通信方法,该方法包括:第一终端从第一接收模式切换到第二接收模式,第一接收模式用于第一终端在PC5口上持续接收数据,第二接收模式用于第一终端在每一个接收周期的接收窗口内在PC5口上接收数据;第一终端广播第一信息,第一信息用于表征第一终端处于第二接收模式。In a first aspect, a communication method is provided, the method comprising: switching a first terminal from a first receiving mode to a second receiving mode, where the first receiving mode is used for the first terminal to continuously receive data on the PC5 port, and the second receiving mode uses The first terminal receives data on the PC5 port within the receiving window of each receiving period; the first terminal broadcasts the first information, and the first information is used to indicate that the first terminal is in the second receiving mode.
基于上述技术方案,由于第一终端从第一接收模式切换到第二接收模式,因此第一终端仅在接收窗口内在PC5口上接收数据,从而第一终端减少了需要接收数据的时间,降低第一终端的功耗。并且,第一终端广播第一信息,以使得第一终端周围的其他终端能够获知第一终端处于第二接收模式。这样一来,周围其他终端可以在合适的时机向第一终端发送数据,以避免第一终端未接收到周围其他终端发送的重要消息。这样一来,到达兼顾第一终端的安全性和省电性的目的。Based on the above technical solution, since the first terminal switches from the first receiving mode to the second receiving mode, the first terminal only receives data on the PC5 port within the receiving window, so that the first terminal reduces the time required to receive data and reduces the power consumption of the terminal. And, the first terminal broadcasts the first information, so that other terminals around the first terminal can know that the first terminal is in the second receiving mode. In this way, other surrounding terminals can send data to the first terminal at an appropriate time, so as to prevent the first terminal from not receiving important messages sent by other surrounding terminals. In this way, the purpose of taking into account the security and power saving of the first terminal is achieved.
一种可能的设计中,第一信息包括第一终端的用户信息,第一信息还包括以下参数中的一项或多项:接收窗口的时长、接收周期的时长、接收窗口的起始时间、接收周期的起始时间、或者接收模式信息;接收模式信息用于指示第一终端所处的接收模式。In a possible design, the first information includes user information of the first terminal, and the first information also includes one or more of the following parameters: the duration of the reception window, the duration of the reception cycle, the start time of the reception window, The start time of the receiving period, or the receiving mode information; the receiving mode information is used to indicate the receiving mode in which the first terminal is located.
一种可能的设计中,第一终端从第一接收模式切换到第二接收模式,包括:第一终端的V2X层接收第三信息,第三信息用于指示切换到第二接收模式;第一终端的V2X层指示第一终端的接入层切换到第二接收模式。In a possible design, the switching of the first terminal from the first receiving mode to the second receiving mode includes: the V2X layer of the first terminal receives third information, and the third information is used to instruct switching to the second receiving mode; the first The V2X layer of the terminal instructs the access layer of the first terminal to switch to the second reception mode.
一种可能的设计中,第三信息包括第一终端的接收周期的时长和第一终端的接收窗口的时长。这样一来,第一终端的V2X层可以根据第三信息,确定第二接收模式所使用的接收周期的时长和接收窗口的时长。In a possible design, the third information includes the duration of the reception period of the first terminal and the duration of the reception window of the first terminal. In this way, the V2X layer of the first terminal can determine the duration of the reception period and the duration of the reception window used in the second reception mode according to the third information.
一种可能的设计中,该方法还包括:第一终端的应用层确定将第一终端从第一接收模式切换到第二接收模式;第一终端的应用层向第一终端的V2X层发送第三信息。In a possible design, the method further includes: the application layer of the first terminal determines to switch the first terminal from the first receiving mode to the second receiving mode; the application layer of the first terminal sends the first terminal to the V2X layer of the first terminal. Three information.
一种可能的设计中,第一终端的应用层确定将第一终端从第一接收模式切换到第 二接收模式,包括:第一终端的应用层确定第一终端不存在安全风险。这样一来,第一终端可以在不存在安全风险的情况下使用第二接收模式,从而到达兼顾省电性和安全性的目的。In a possible design, the application layer of the first terminal determining to switch the first terminal from the first receiving mode to the second receiving mode includes: the application layer of the first terminal determining that the first terminal does not have a security risk. In this way, the first terminal can use the second receiving mode without a security risk, so as to achieve the purpose of taking into account both power saving and security.
一种可能的设计中,第一终端的应用层确定第一终端不存在安全风险,包括:第一终端的应用层获取至少一个第二终端的运动信息;第一终端的应用层获取第一终端的运动信息;第一终端的应用层根据第一终端的运动信息以及至少一个第二终端的运动信息,确定第一终端不存在安全风险。可以理解的是,至少一个第二终端的运动信息,可以反映周围的交通情况。因此,第一终端根据至少一个第二终端的运动信息,可以有效判断出周围的交通环境是否对第一终端构成安全威胁。In a possible design, the application layer of the first terminal determines that there is no security risk in the first terminal, including: the application layer of the first terminal acquires motion information of at least one second terminal; the application layer of the first terminal acquires the first terminal The application layer of the first terminal determines that there is no security risk in the first terminal according to the motion information of the first terminal and the motion information of at least one second terminal. It can be understood that, the motion information of at least one second terminal can reflect the surrounding traffic conditions. Therefore, the first terminal can effectively determine whether the surrounding traffic environment poses a security threat to the first terminal according to the motion information of the at least one second terminal.
一种可能的设计中,第一终端的应用层根据第一终端的运动信息以及至少一个第二终端的运动信息,确定第一终端不存在安全风险,包括:第一终端的应用层根据第一终端的运动信息和至少一个第二终端的运动信息,确定至少一个第二终端中的任意一个第二终端满足第一预设条件。In a possible design, the application layer of the first terminal determines that there is no security risk in the first terminal according to the motion information of the first terminal and the motion information of at least one second terminal, including: the application layer of the first terminal according to the first terminal. The motion information of the terminal and the motion information of the at least one second terminal determine that any one of the at least one second terminal satisfies the first preset condition.
一种可能的设计中,第一预设条件包括以下一项或者多项的组合:In a possible design, the first preset condition includes a combination of one or more of the following:
第二终端与第一终端之间的相对距离大于或等于第一预设值;The relative distance between the second terminal and the first terminal is greater than or equal to the first preset value;
第二终端与第一终端之间的相对速度小于或等于第二预设值;The relative speed between the second terminal and the first terminal is less than or equal to the second preset value;
第二终端与第一终端之间发生碰撞的置信度小于或等于第三预设值;或者,The confidence of the collision between the second terminal and the first terminal is less than or equal to the third preset value; or,
第二终端的预测运动轨迹和第一终端的预测运动轨迹没有交点。The predicted motion trajectory of the second terminal and the predicted motion trajectory of the first terminal have no intersection.
应理解,在满足第一预设条件的情况下,第一终端和第二终端之间的碰撞风险较小。It should be understood that the collision risk between the first terminal and the second terminal is relatively small when the first preset condition is satisfied.
一种可能的设计中,方法包括:第一终端从第二接收模式切换到第一接收模式。In a possible design, the method includes: switching the first terminal from the second receiving mode to the first receiving mode.
一种可能的设计中,第一终端从第二接收模式切换到第一接收模式,包括:第一终端的V2X层接收第四信息,第四信息用于将第一终端切换到第一接收模式;第一终端的V2X层指示第一终端的接入层切换到第一接收模式。In a possible design, the switching of the first terminal from the second receiving mode to the first receiving mode includes: the V2X layer of the first terminal receives fourth information, and the fourth information is used to switch the first terminal to the first receiving mode. ; the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode.
一种可能的设计中,该方法还包括:第一终端的应用层确定将第一终端从第二接收模式切换到第一接收模式;第一终端的应用层向第一终端的V2X层发送第四信息。In a possible design, the method further includes: the application layer of the first terminal determines to switch the first terminal from the second receiving mode to the first receiving mode; the application layer of the first terminal sends the first terminal to the V2X layer of the first terminal. Four information.
一种可能的设计中,第一终端的应用层确定将第一终端从第二接收模式切换到第一接收模式,包括:第一终端的应用层确定第一终端存在安全风险。In a possible design, the application layer of the first terminal determining to switch the first terminal from the second receiving mode to the first receiving mode includes: the application layer of the first terminal determining that the first terminal has a security risk.
一种可能的设计中,在第一终端从第二接收模式切换到第一接收模式之前,该方法还包括:第一终端在接收窗口内接收到第二终端发送的第二信息,第二信息用于触发第一终端从第二接收模式切换到第一接收模式。In a possible design, before the first terminal switches from the second receiving mode to the first receiving mode, the method further includes: the first terminal receives the second information sent by the second terminal within the receiving window, the second information It is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode.
一种可能的设计中,第一终端从第二接收模式切换到第一接收模式,包括:第一终端的V2X层根据第二信息,指示第一终端的接入层切换到第一接收模式。In a possible design, the switching of the first terminal from the second reception mode to the first reception mode includes: the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first reception mode according to the second information.
第二方面,提供一种通信方法,该方法包括:第二终端确定将处于第二接收模式的第一终端切换到第一接收模式,第二接收模式用于第一终端在每一个接收周期的接收窗口内在PC5口上接收数据;第二终端向第一终端发送第二信息,第二信息用于触发第一终端从第二接收模式切换到第一接收模式,第一接收模式用于第一终端在PC5口上持续接收数据。In a second aspect, a communication method is provided, the method comprising: the second terminal determines to switch the first terminal in the second reception mode to the first reception mode, where the second reception mode is used for the first terminal in each reception cycle Receive data on the PC5 port within the receiving window; the second terminal sends second information to the first terminal, the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode, and the first receiving mode is used for the first terminal. Continuously receive data on the PC5 port.
基于上述技术方案,第二终端向第一终端发送第二信息,以使得第一终端从第二 接收模式切换到第一接收模式。这样一来,处于第一接收模式的第一终端可以及时接收周围其他终端发送的消息,以获知第一终端周围的交通情况,从而保证第一终端的用户的安全。Based on the above technical solution, the second terminal sends the second information to the first terminal, so that the first terminal switches from the second receiving mode to the first receiving mode. In this way, the first terminal in the first receiving mode can receive messages sent by other surrounding terminals in time, so as to know the traffic situation around the first terminal, so as to ensure the safety of the user of the first terminal.
一种可能的设计中,该方法还包括:第二终端接收第一终端发送的第一信息,第一信息用于第一终端处于第二接收模式。In a possible design, the method further includes: the second terminal receives the first information sent by the first terminal, and the first information is used for the first terminal to be in the second receiving mode.
一种可能的设计中,第一信息包括第一终端的用户信息,第一信息还包括以下参数中的一项或多项:第一终端的接收窗口的时长、第一终端的接收周期的时长、第一终端的接收窗口的起始时间、第一终端的接收周期的起始时间、或者接收模式信息;接收模式信息用于指示第一终端所处的接收模式。In a possible design, the first information includes user information of the first terminal, and the first information further includes one or more of the following parameters: the duration of the reception window of the first terminal, the duration of the reception cycle of the first terminal , the start time of the reception window of the first terminal, the start time of the reception period of the first terminal, or the reception mode information; the reception mode information is used to indicate the reception mode in which the first terminal is located.
一种可能的设计中,在第一信息包括第一终端的接收周期的时长和第一终端的接收周期的时长的情况下,第二终端向第一终端发送第二信息,包括:第二终端在第一时间段内以第一时长作为发送时间间隔,重复地发送第四信息,第一时间段的时长大于或等于第一终端的接收周期的时长,第一时长小于或等于第一终端的接收窗口的时长。这样一来,第二终端多次发送的第二信息中,至少一个第二信息的发送时机位于第一终端的接收窗口内,保证第一终端可以接收到第二信息。In a possible design, when the first information includes the duration of the reception period of the first terminal and the duration of the reception period of the first terminal, the second terminal sends the second information to the first terminal, including: the second terminal During the first time period, the fourth information is repeatedly sent with the first time period as the sending time interval. The duration of the receive window. In this way, among the second information sent multiple times by the second terminal, the sending timing of at least one second information is within the receiving window of the first terminal, which ensures that the first terminal can receive the second information.
一种可能的设计中,第一信息所使用的源层2标识(layer 2 Identity,L2 ID)为第一终端的层2标识。在第一信息包括第一终端的接收周期的时长和第一终端的接收周期的时长的情况下,第二终端向第一终端发送第二信息,包括:第二终端根据接收周期的时长和第一终端的层2标识,确定接收窗口的时域偏移值;第二终端根据时域偏移值,确定第一终端的接收窗口的起始时间;第二终端根据接收窗口的起始时间和接收窗口的时长,在第一终端的接收窗口内向第一终端发送第二信息。In a possible design, the source layer 2 identity (layer 2 Identity, L2 ID) used by the first information is the layer 2 identity of the first terminal. When the first information includes the duration of the reception period of the first terminal and the duration of the reception period of the first terminal, the second terminal sends the second information to the first terminal, including: the second terminal according to the duration of the reception period and the first terminal The layer 2 identifier of one terminal determines the time domain offset value of the receiving window; the second terminal determines the start time of the receiving window of the first terminal according to the time domain offset value; the second terminal determines the starting time of the receiving window according to the starting time and The duration of the receiving window, the second information is sent to the first terminal within the receiving window of the first terminal.
一种可能的设计中,在第一信息包括第一终端的接收窗口的时长和第一终端的接收窗口的起始时间的情况下,第二终端向第一终端发送第二信息,包括:第二终端根据第一终端的接收窗口的时长和第一终端的接收窗口的起始时间,在第一终端的接收窗口内向第一终端发送第二信息。In a possible design, when the first information includes the duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal, the second terminal sends the second information to the first terminal, including: the first terminal. The second terminal sends the second information to the first terminal within the receiving window of the first terminal according to the duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal.
一种可能的设计中,第二终端向第一终端发送第二信息,包括:第二终端根据预先配置的第一终端的接收窗口的时长和第一终端的接收窗口的起始时间,在第一终端的接收窗口内向第一终端发送第二信息。In a possible design, the second terminal sends the second information to the first terminal, including: the second terminal according to the preconfigured duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal, in the first terminal. A terminal sends the second information to the first terminal within the receiving window of the terminal.
一种可能的设计中,第二终端确定将处于第二接收模式的第一终端切换到第一接收模式,包括:第二终端确定第一终端存在安全风险。应理解,第二终端在第一终端存在安全风险的情况下,触发第一终端切换到第一接收模式,可以保证第一终端的用户的安全性。In a possible design, the second terminal determining to switch the first terminal in the second receiving mode to the first receiving mode includes: the second terminal determining that the first terminal has a security risk. It should be understood that when the first terminal has a security risk, the second terminal triggers the first terminal to switch to the first receiving mode, which can ensure the security of the user of the first terminal.
一种可能的设计中,第二终端确定第一终端存在安全风险,包括:第二终端获取第一终端的运动信息和第二终端的运动信息;第二终端根据第一终端的运动信息和第二终端的运动信息,确定第二终端不符合第一预设条件。In a possible design, the second terminal determines that the first terminal has a security risk, including: the second terminal acquires the motion information of the first terminal and the motion information of the second terminal; the second terminal obtains the motion information of the first terminal and the motion information of the second terminal; The motion information of the second terminal determines that the second terminal does not meet the first preset condition.
一种可能的设计中,第一预设条件包括以下一项或者多项的组合:In a possible design, the first preset condition includes a combination of one or more of the following:
第二终端与第一终端之间的相对距离大于或等于第一预设值;The relative distance between the second terminal and the first terminal is greater than or equal to the first preset value;
第二终端与第一终端之间的相对速度小于或等于第二预设值;The relative speed between the second terminal and the first terminal is less than or equal to the second preset value;
第二终端与第一终端之间发生碰撞的置信度小于或等于第三预设值;或者,The confidence of the collision between the second terminal and the first terminal is less than or equal to the third preset value; or,
第二终端的预测运动轨迹和第一终端的预测运动轨迹没有交点。The predicted motion trajectory of the second terminal and the predicted motion trajectory of the first terminal have no intersection.
一种可能的设计中,第二终端确定第一终端存在安全风险,包括:第二终端确定第二终端处于失控状态。应理解,第二终端处于失控状态,表示第一终端和第二终端存在较大碰撞的可能性,因此第二终端可以确定第一终端存在安全风险。In a possible design, the second terminal determining that the first terminal has a security risk includes: the second terminal determining that the second terminal is in an out-of-control state. It should be understood that the fact that the second terminal is out of control indicates that there is a high possibility of collision between the first terminal and the second terminal, so the second terminal can determine that the first terminal has a safety risk.
一种可能的设计中,第二信息还包括第一终端的用户信息。In a possible design, the second information further includes user information of the first terminal.
第三方面,提供一种通信装置,包括处理模块和通信模块。其中,处理模块,用于从第一接收模式切换到第二接收模式,第一接收模式用于第一终端在PC5口上持续接收数据,第二接收模式用于第一终端在每一个接收周期的接收窗口内在PC5口上接收数据。通信模块,用于广播第一信息,第一信息用于表征第一终端处于第二接收模式。In a third aspect, a communication device is provided, including a processing module and a communication module. Among them, the processing module is used to switch from the first receiving mode to the second receiving mode, the first receiving mode is used for the first terminal to continuously receive data on the PC5 port, and the second receiving mode is used for the first terminal to receive data in each receiving cycle. Receive data on the PC5 port within the receive window. The communication module is used for broadcasting first information, where the first information is used to represent that the first terminal is in the second receiving mode.
一种可能的设计中,第一信息包括第一终端的用户信息,第一信息还包括以下参数中的一项或多项:接收窗口的时长、接收周期的时长、接收窗口的起始时间、接收周期的起始时间、或者接收模式信息;接收模式信息用于指示第一终端所处的接收模式。In a possible design, the first information includes user information of the first terminal, and the first information also includes one or more of the following parameters: the duration of the reception window, the duration of the reception cycle, the start time of the reception window, The start time of the receiving period, or the receiving mode information; the receiving mode information is used to indicate the receiving mode in which the first terminal is located.
一种可能的设计中,处理模块,用于从第一接收模式切换到第二接收模式,具体包括:第一终端的V2X层接收第三信息,第三信息用于指示切换到第二接收模式;第一终端的V2X层根据第三信息,指示第一终端的接入层切换到第二接收模式。In a possible design, the processing module for switching from the first receiving mode to the second receiving mode specifically includes: the V2X layer of the first terminal receives third information, and the third information is used to indicate switching to the second receiving mode. ; the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second reception mode according to the third information.
一种可能的设计中,第三信息包括第一终端的接收周期的时长和第一终端的接收窗口的时长。In a possible design, the third information includes the duration of the reception period of the first terminal and the duration of the reception window of the first terminal.
一种可能的设计中,处理模块,还用于执行以下操作:第一终端的应用层确定将第一终端从第一接收模式切换到第二接收模式;第一终端的应用层向第一终端的V2X层发送第三信息。In a possible design, the processing module is further configured to perform the following operations: the application layer of the first terminal determines to switch the first terminal from the first receiving mode to the second receiving mode; the application layer of the first terminal sends the first terminal to the first terminal. The V2X layer sends the third message.
一种可能的设计中,处理模块,还用于执行以下操作:第一终端的应用层确定第一终端不存在安全风险。In a possible design, the processing module is further configured to perform the following operation: the application layer of the first terminal determines that there is no security risk in the first terminal.
一种可能的设计中,处理模块,还用于执行以下操作:第一终端的应用层获取至少一个第二终端的运动信息;第一终端的应用层获取第一终端的运动信息;第一终端的应用层根据第一终端的运动信息以及至少一个第二终端的运动信息,确定第一终端不存在安全风险。In a possible design, the processing module is further configured to perform the following operations: the application layer of the first terminal acquires the motion information of at least one second terminal; the application layer of the first terminal acquires the motion information of the first terminal; the first terminal acquires the motion information of the first terminal; The application layer of the first terminal determines that there is no security risk in the first terminal according to the motion information of the first terminal and the motion information of at least one second terminal.
一种可能的设计中,处理模块,还用于执行以下操作:第一终端的应用层根据第一终端的运动信息和至少一个第二终端的运动信息,确定至少一个第二终端中的任意一个第二终端满足第一预设条件。In a possible design, the processing module is further configured to perform the following operations: the application layer of the first terminal determines any one of the at least one second terminal according to the motion information of the first terminal and the motion information of the at least one second terminal. The second terminal satisfies the first preset condition.
一种可能的设计中,第一预设条件包括以下一项或者多项的组合:第二终端与第一终端之间的相对距离大于或等于第一预设值;或者,第二终端与第一终端之间的相对速度小于或等于第二预设值;或者,第二终端与第一终端之间发生碰撞的置信度小于或等于第三预设值;或者,第二终端的预测运动轨迹和第一终端的预测运动轨迹没有交点。In a possible design, the first preset condition includes a combination of one or more of the following: the relative distance between the second terminal and the first terminal is greater than or equal to the first preset value; The relative speed between one terminal is less than or equal to the second preset value; or, the confidence of collision between the second terminal and the first terminal is less than or equal to the third preset value; or, the predicted motion trajectory of the second terminal There is no intersection with the predicted motion trajectory of the first terminal.
一种可能的设计中,处理模块,还用于从第二接收模式切换到第一接收模式。In a possible design, the processing module is further configured to switch from the second receiving mode to the first receiving mode.
一种可能的设计中,处理模块,还用于从第二接收模式切换到第一接收模式,包括:第一终端的V2X层接收第四信息,第四信息用于将第一终端切换到第一接收模式; 第一终端的V2X层指示第一终端的接入层切换到第一接收模式。In a possible design, the processing module is further configured to switch from the second receiving mode to the first receiving mode, including: the V2X layer of the first terminal receives fourth information, and the fourth information is used to switch the first terminal to the first receiving mode. A receiving mode; the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode.
一种可能的设计中,处理模块,还用于执行以下操作:第一终端的应用层确定将第一终端从第二接收模式切换到第一接收模式;第一终端的应用层向第一终端的V2X层发送第四信息。In a possible design, the processing module is further configured to perform the following operations: the application layer of the first terminal determines to switch the first terminal from the second receiving mode to the first receiving mode; the application layer of the first terminal sends the first terminal to the first terminal. The V2X layer sends the fourth message.
一种可能的设计中,处理模块,还用于执行以下操作:第一终端的应用层确定第一终端存在安全风险。In a possible design, the processing module is further configured to perform the following operation: the application layer of the first terminal determines that the first terminal has a security risk.
一种可能的设计中,通信模块,还用于在接收窗口内接收到第二终端发送的第二信息,第二信息用于触发第一终端从第二接收模式切换到第一接收模式。In a possible design, the communication module is further configured to receive second information sent by the second terminal within the receiving window, where the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode.
一种可能的设计中,处理模块,还用于执行以下操作:第一终端的V2X层根据第二信息,指示第一终端的接入层切换到第一接收模式。In a possible design, the processing module is further configured to perform the following operation: the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode according to the second information.
第四方面,提供一种通信装置,包括处理模块和通信模块。处理模块,用于确定将处于第二接收模式的第一终端切换到第一接收模式,第二接收模式用于第一终端在每一个接收周期的接收窗口内在PC5口上接收数据。通信模块,用于向第一终端发送第二信息,第二信息用于触发第一终端从第二接收模式切换到第一接收模式,第一接收模式用于第一终端在PC5口上持续接收数据。In a fourth aspect, a communication device is provided, including a processing module and a communication module. The processing module is used for determining to switch the first terminal in the second receiving mode to the first receiving mode, and the second receiving mode is used for the first terminal to receive data on the PC5 port within the receiving window of each receiving period. The communication module is used to send the second information to the first terminal, the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode, and the first receiving mode is used for the first terminal to continuously receive data on the PC5 port .
一种可能的设计中,通信模块,还用于接收第一终端发送的第一信息,第一信息用于第一终端处于第二接收模式。In a possible design, the communication module is further configured to receive the first information sent by the first terminal, and the first information is used for the first terminal to be in the second receiving mode.
一种可能的设计中,第一信息包括第一终端的用户信息,第一信息还包括以下参数中的一项或多项:第一终端的接收窗口的时长、第一终端的接收周期的时长、第一终端的接收窗口的起始时间、第一终端的接收周期的起始时间、或者接收模式信息;接收模式信息用于指示第一终端所处的接收模式。In a possible design, the first information includes user information of the first terminal, and the first information further includes one or more of the following parameters: the duration of the reception window of the first terminal, the duration of the reception cycle of the first terminal , the start time of the reception window of the first terminal, the start time of the reception period of the first terminal, or the reception mode information; the reception mode information is used to indicate the reception mode in which the first terminal is located.
一种可能的设计中,通信模块,具体用于在第一信息包括第一终端的接收周期的时长和第一终端的接收周期的时长的情况下,在第一时间段内以第一时长作为发送时间间隔,重复地发送第四信息,第一时间段的时长大于或等于第一终端的接收周期的时长,第一时长小于或等于第一终端的接收窗口的时长。In a possible design, the communication module is specifically configured to use the first duration as Sending time interval, the fourth information is repeatedly sent, the duration of the first time period is greater than or equal to the duration of the reception period of the first terminal, and the first duration is less than or equal to the duration of the reception window of the first terminal.
一种可能的设计中,第一信息所使用的源层2标识为第一终端的层2标识。处理模块,具体用于在第一信息包括第一终端的接收周期的时长和第一终端的接收周期的时长的情况下,根据接收周期的时长和第一终端的层2标识,确定接收窗口的时域偏移值;根据时域偏移值,确定第一终端的接收窗口的起始时间。通信模块,具体用于根据接收窗口的起始时间和接收窗口的时长,在第一终端的接收窗口内向第一终端发送第二信息。In a possible design, the source layer 2 identifier used by the first information is the layer 2 identifier of the first terminal. The processing module is specifically configured to determine the duration of the reception window according to the duration of the reception cycle and the layer 2 identifier of the first terminal when the first information includes the duration of the reception cycle of the first terminal and the duration of the reception cycle of the first terminal. Time domain offset value; according to the time domain offset value, determine the start time of the receiving window of the first terminal. The communication module is specifically configured to send the second information to the first terminal within the receiving window of the first terminal according to the start time of the receiving window and the duration of the receiving window.
一种可能的设计中,通信模块,具体用于在第一信息包括第一终端的接收窗口的时长和第一终端的接收窗口的起始时间的情况下,根据第一终端的接收窗口的时长和第一终端的接收窗口的起始时间,在第一终端的接收窗口内向第一终端发送第二信息。In a possible design, the communication module is specifically configured to, when the first information includes the duration of the reception window of the first terminal and the start time of the reception window of the first terminal, according to the duration of the reception window of the first terminal. and the start time of the receiving window of the first terminal, and sending the second information to the first terminal within the receiving window of the first terminal.
一种可能的设计中,通信模块,具体用于根据预先配置的第一终端的接收窗口的时长和第一终端的接收窗口的起始时间,在第一终端的接收窗口内向第一终端发送第二信息。In a possible design, the communication module is specifically configured to send the first terminal to the first terminal within the receiving window of the first terminal according to the preconfigured duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal. 2. Information.
一种可能的设计中,处理模块,具体用于确定第一终端存在安全风险。In a possible design, the processing module is specifically configured to determine that the first terminal has a security risk.
一种可能的设计中,处理模块,具体用于获取第一终端的运动信息和第二终端的 运动信息;第二终端根据第一终端的运动信息和第二终端的运动信息,确定第二终端不符合第一预设条件。In a possible design, the processing module is specifically used to obtain the motion information of the first terminal and the motion information of the second terminal; the second terminal determines the second terminal according to the motion information of the first terminal and the motion information of the second terminal. The first preset condition is not met.
一种可能的设计中,第一预设条件包括以下一项或者多项的组合:第二终端与第一终端之间的相对距离大于或等于第一预设值;或者,第二终端与第一终端之间的相对速度小于或等于第二预设值;或者,第二终端与第一终端之间发生碰撞的置信度小于或等于第三预设值;或者,第二终端的预测运动轨迹和第一终端的预测运动轨迹没有交点。In a possible design, the first preset condition includes a combination of one or more of the following: the relative distance between the second terminal and the first terminal is greater than or equal to the first preset value; The relative speed between one terminal is less than or equal to the second preset value; or, the confidence of collision between the second terminal and the first terminal is less than or equal to the third preset value; or, the predicted motion trajectory of the second terminal There is no intersection with the predicted motion trajectory of the first terminal.
一种可能的设计中,处理模块,具体用于确定第二终端处于失控状态。In a possible design, the processing module is specifically configured to determine that the second terminal is in an out-of-control state.
一种可能的设计中,第二信息还包括第一终端的用户信息。In a possible design, the second information further includes user information of the first terminal.
第五方面,提供一种通信装置,所述通信装置包括处理器和收发器,处理器和收发器用于实现上述第一方面或第二方面中任一方面提供的任意一种方法。其中,处理器用于执行相应方法中的处理动作,收发器用于执行相应方法中的接收/发送的动作。In a fifth aspect, a communication device is provided, the communication device includes a processor and a transceiver, and the processor and the transceiver are used to implement any one of the methods provided in any one of the first or second aspects above. Wherein, the processor is configured to perform processing actions in the corresponding method, and the transceiver is configured to perform the actions of receiving/transmitting in the corresponding method.
第六方面,提供一种芯片,包括:处理电路和收发管脚,处理电路和收发管脚用于实现上述第一方面或第二方面所提供的方法。其中,处理电路用于执行相应方法中的处理动作,收发管脚用于执行相应方法中的接收/发送的动作。In a sixth aspect, a chip is provided, including: a processing circuit and a transceiver pin, where the processing circuit and the transceiver pin are used to implement the method provided in the first aspect or the second aspect. Wherein, the processing circuit is used for executing the processing actions in the corresponding method, and the transceiver pins are used for executing the actions of receiving/transmitting in the corresponding method.
第七方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储计算机指令,当该计算机指令在计算机上运行时,使得计算机执行第一方面或第二方面中任一方面提供的任意一种方法。In a seventh aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores computer instructions that, when the computer instructions are executed on a computer, cause the computer to execute any one of the first aspect or the second aspect. any method.
第八方面,提供一种计算机程序产品,当该计算机指令在计算机上运行时,使得计算机执行第一方面或第二方面中任一方面提供的任意一种方法。In an eighth aspect, a computer program product is provided, which when the computer instructions are executed on a computer, causes the computer to execute any one of the methods provided in any one of the first aspect or the second aspect.
第九方面,提供一种通信系统,该通信系统包括第一终端和第二终端。第一终端用于执行上述第一方面所提供的任意一种方法。第二终端用于执行上述第二方面所提供的任意一种方法。In a ninth aspect, a communication system is provided, the communication system includes a first terminal and a second terminal. The first terminal is configured to execute any one of the methods provided in the foregoing first aspect. The second terminal is configured to execute any one of the methods provided in the second aspect.
需要说明的是,上述第三方面至第九方面中任一种设计所带来的技术效果可以参见第一方面或第二方面中对应设计所带来的技术效果,此处不再赘述。It should be noted that, for the technical effect brought by any one of the designs in the third aspect to the ninth aspect, reference may be made to the technical effect brought by the corresponding design in the first aspect or the second aspect, which will not be repeated here.
附图说明Description of drawings
图1为V2X终端的通信流程的示意图;1 is a schematic diagram of a communication process of a V2X terminal;
图2为本申请实施例提供的一种通信系统的架构图;FIG. 2 is an architectural diagram of a communication system provided by an embodiment of the present application;
图3为本申请实施例提供的一种终端的协议层的示意图;3 is a schematic diagram of a protocol layer of a terminal according to an embodiment of the present application;
图4为本申请实施例提供的一种通信装置的结构示意图;FIG. 4 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图5为本申请实施例提供的一种第二接收模式的示意图;5 is a schematic diagram of a second receiving mode provided by an embodiment of the present application;
图6为本申请实施例提供的一种通信方法的流程图;6 is a flowchart of a communication method provided by an embodiment of the present application;
图7为本申请实施例提供的另一种通信方法的流程图;FIG. 7 is a flowchart of another communication method provided by an embodiment of the present application;
图8(a)为本申请实施例提供的另一种通信方法的流程图;FIG. 8(a) is a flowchart of another communication method provided by an embodiment of the present application;
图8(b)为本申请实施例提供的另一种通信方法的流程图;FIG. 8(b) is a flowchart of another communication method provided by an embodiment of the present application;
图9为本申请实施例提供的一种安全风险的确定方法的流程图;9 is a flowchart of a method for determining a security risk provided by an embodiment of the present application;
图10为本申请实施例提供的另一种通信方法的流程图;10 is a flowchart of another communication method provided by an embodiment of the present application;
图11为本申请实施例提供的另一种通信方法的流程图;FIG. 11 is a flowchart of another communication method provided by an embodiment of the present application;
图12为本申请实施例提供的另一种通信方法的流程图;12 is a flowchart of another communication method provided by an embodiment of the present application;
图13为本申请实施例提供的另一种通信方法的流程图;13 is a flowchart of another communication method provided by an embodiment of the present application;
图14为本申请实施例提供的一种通信装置的结构示意图。FIG. 14 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
在本申请的描述中,除非另有说明,“/”表示“或”的意思,例如,A/B可以表示A或B。本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。此外,“至少一个”是指一个或多个,“多个”是指两个或两个以上。“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In the description of this application, unless otherwise stated, "/" means "or", for example, A/B can mean A or B. In this article, "and/or" is only an association relationship to describe the associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone these three situations. Further, "at least one" means one or more, and "plurality" means two or more. The words "first" and "second" do not limit the quantity and execution order, and the words "first", "second" and the like do not limit certain differences.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or illustrations. Any embodiment or design described in this application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
如图1所示,V2X终端的通信流程包括以下步骤:As shown in Figure 1, the communication process of a V2X terminal includes the following steps:
S11、接收端的V2X层确定第一L2 ID。S11. The V2X layer of the receiving end determines the first L2 ID.
一种可能的设计中,接收端的V2X层从接收端的应用层获取第一L2 ID。In a possible design, the V2X layer of the receiver obtains the first L2 ID from the application layer of the receiver.
另一种可能的设计中,接收端的V2X层从接收端的应用层获取到第一V2X服务标识;之后,接收端的V2X层根据第一V2X服务标识、以及V2X服务标识与L2 ID之间的对应关系,确定第一V2X服务标识所对应的第一L2 ID。In another possible design, the V2X layer of the receiving end acquires the first V2X service identifier from the application layer of the receiving end; then, the V2X layer of the receiving end obtains the first V2X service identifier and the correspondence between the V2X service identifier and the L2 ID according to the first V2X service identifier , and determine the first L2 ID corresponding to the first V2X service identifier.
S12、发送端的应用层向发送端的V2X层发送V2X业务数据以及V2X业务数据对应的第二V2X服务标识。S12. The application layer of the sending end sends the V2X service data and the second V2X service identifier corresponding to the V2X service data to the V2X layer of the sending end.
S13、发送端的V2X层确定V2X业务数据的源(source)L2 ID以及目的(destination)L2 ID。S13. The V2X layer of the sender determines the source (source) L2 ID and the destination (destination) L2 ID of the V2X service data.
具体的,发送端的V2X层根据V2X服务标识与DST L2 ID之间的映射关系,以及V2X业务数据对应的第二V2X服务标识,确定V2X业务数据对应的第二L2 ID。发送端的V2X层将第二L2 ID作为V2X业务数据的目标L2 ID。Specifically, the V2X layer of the sender determines the second L2 ID corresponding to the V2X service data according to the mapping relationship between the V2X service identifier and the DST L2 ID, and the second V2X service identifier corresponding to the V2X service data. The V2X layer of the sender uses the second L2 ID as the target L2 ID of the V2X service data.
发送端的V2X层将发送端的L2 ID作为V2X业务数据的源L2 ID。可以理解的是,在V2X通信场景中,每一个设备在该设备的通信范围内均会配置与自身唯一对应的L2 ID。The V2X layer of the sender uses the L2 ID of the sender as the source L2 ID of the V2X service data. It is understandable that in the V2X communication scenario, each device will be configured with its own unique L2 ID within the communication range of the device.
S14、发送端的V2X层将V2X业务数据,源L2 ID以及目的L2 ID传递至接入层,接入层将V2X业务数据封装为V2X消息。S14. The V2X layer of the sender transmits the V2X service data, the source L2 ID and the destination L2 ID to the access layer, and the access layer encapsulates the V2X service data into a V2X message.
S15、发送端广播V2X消息。S15. The sender broadcasts the V2X message.
S16、接收端监测V2X消息。S16. The receiving end monitors the V2X message.
应理解,接收端的V2X层会根据第一L2 ID过滤发送端广播的V2X消息。当发送端广播的V2X消息所携带的目标L2 ID与第一L2 ID相同时,接收端的V2X层会接收该V2X消息,并将该V2X消息上传给应用层。It should be understood that the V2X layer of the receiver will filter the V2X message broadcast by the sender according to the first L2 ID. When the target L2 ID carried in the V2X message broadcast by the sender is the same as the first L2 ID, the V2X layer of the receiver will receive the V2X message and upload the V2X message to the application layer.
当前,技术规范(technical specification,TS)24.587规定V2X终端全程开启接收功能,以监测周围其他终端广播的消息。但是,V2X终端全程开启接收功能,会有较大的功耗。一些V2X终端电池容量有限,这些V2X终端若以较大的功耗持续工作, 会导致这些V2X终端的正常工作时间较短。因此,针对这些电池容量有限的V2X终端来说,如何降低V2X终端的功耗,是亟待解决的计算问题。Currently, technical specification (TS) 24.587 stipulates that V2X terminals enable the receiving function throughout the entire process to monitor messages broadcast by other surrounding terminals. However, if the V2X terminal has the receiving function enabled throughout the entire process, it will consume a lot of power. Some V2X terminals have limited battery capacity, and if these V2X terminals continue to work with large power consumption, the normal working time of these V2X terminals will be short. Therefore, for these V2X terminals with limited battery capacity, how to reduce the power consumption of the V2X terminals is a computational problem to be solved urgently.
为了解决这一技术问题,本申请实施例提供一种通信方法,该通信方法可以应用于各种通信系统,例如:长期演进(long time evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)系统、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、公共陆地移动网络(public land mobile network,PLMN)系统、设备对设备(device to device,D2D)网络系统或者机器对机器(machine to machine,M2M)网络系统或者新无线(new radio,NR)系统或第5代(5th generation,5G)网络系统以及未来的网络系统等。In order to solve this technical problem, an embodiment of the present application provides a communication method, which can be applied to various communication systems, such as: long-term evolution (long time evolution, LTE) system, LTE frequency division duplex (frequency division duplex) , FDD) system, LTE time division duplex (TDD) system, universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, public terrestrial Mobile network (public land mobile network, PLMN) system, device to device (D2D) network system or machine to machine (M2M) network system or new radio (new radio, NR) system or fifth 5th generation (5G) network system and future network systems, etc.
在本申请实施例中,电池容量受限的V2X终端可以是指弱势道路使用者(vulnerable road user,VRU)终端。VRU包括但不限于行人,自行车,电动车,摩托车,滑板等非汽车类的道路交通参与者。In this embodiment of the present application, the V2X terminal with limited battery capacity may refer to a vulnerable road user (vulnerable road user, VRU) terminal. VRUs include but are not limited to pedestrians, bicycles, electric vehicles, motorcycles, skateboards and other non-automotive road traffic participants.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。本申请实施例中以提供的方法应用于NR系统或5G网络中为例进行说明。The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. The evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems. In the embodiments of this application, the provided method is used in an NR system or a 5G network as an example for description.
如图2所示,提供了一种通信系统的架构图,该通信系统可以包括终端(例如图2中的UE A、UE B、UE C以及UE D)、接入网设备、核心网设备、数据网络(data network,DN)等。As shown in FIG. 2, an architecture diagram of a communication system is provided, and the communication system may include terminals (for example, UE A, UE B, UE C, and UE D in FIG. 2), access network equipment, core network equipment, Data network (DN), etc.
终端,可以称为用户设备(user equipment,UE)或者终端设备(terminal)。该终端可以安装有V2X应用(application)。该终端可以支持V2X通信,如:接收或发送V2X消息,此时,该终端又可以称之为V2X终端。其中,V2X消息可以包括但不限于车辆对车辆(vehicle to vehicle,V2V)消息、车对人(vehicle to person,V2P)消息、车对网络(vehicle to network,V2N)消息、车与路面基础设施(vehicle to infrastructure,V2I)信息、车与车之间的防碰撞消息、娱乐应用消息、车与车之间交互的导航消息等。显然,图2所示终端可以包括但不限于VRU终端、车载终端、手机(mobile phone)、平板电脑或带无线收发功能的电脑、智能加油站、智能信号灯等等。A terminal may be called a user equipment (user equipment, UE) or a terminal device (terminal). The terminal may be installed with a V2X application. The terminal can support V2X communication, such as: receiving or sending V2X messages, in this case, the terminal can also be called a V2X terminal. The V2X messages may include but are not limited to vehicle-to-vehicle (V2V) messages, vehicle-to-person (V2P) messages, vehicle-to-network (V2N) messages, vehicles and road infrastructure (vehicle to infrastructure, V2I) information, anti-collision messages between cars, entertainment application messages, navigation messages interacting between cars, etc. Obviously, the terminals shown in FIG. 2 may include but are not limited to VRU terminals, vehicle-mounted terminals, mobile phones (mobile phones), tablet computers or computers with wireless transceiver functions, smart gas stations, smart signal lights, and the like.
本申请实施例中,终端可以通过不同类型的通信接口传输V2X消息。其中,通信接口可以包括PC5口和/或Uu口。其中,Uu接口是终端和接入网设备之间的无线连接接口。PC5接口为终端之间用于V2X业务的用户面ProSe直接通信的参考点。In this embodiment of the present application, the terminal may transmit V2X messages through different types of communication interfaces. Wherein, the communication interface may include a PC5 port and/or a Uu port. The Uu interface is a wireless connection interface between a terminal and an access network device. The PC5 interface is the reference point for the ProSe direct communication on the user plane of the V2X service between terminals.
接入网设备,负责无线资源管理,上下行数据分类和QoS应用,以及与控制面网元完成信令处理,与用户面网元完成数据转发等功能。例如,接入网设备可以是基站,宽带网络业务网关(broadband network gateway,BNG),汇聚交换机,非3GPP接入设备等。基站可以包括各种形式的基站,例如:宏基站,微基站(也称为小站),中继站,接入点等,本申请实施例对此不作具体限定。对于终端接入核心网的设备,在文中统一称之为接入网设备,不再进行说明。例如,接入网设备可以是4G网络中的 演进型通用陆地无线接入网(evolved universal terrestrial radio access network,E-UTRAN)设备、5G网络中的下一代无线接入网(next generation radio access network,NG-RAN)设备等。Access network equipment is responsible for radio resource management, uplink and downlink data classification and QoS application, as well as signaling processing with control plane network elements, and data forwarding with user plane network elements. For example, the access network device may be a base station, a broadband network gateway (BNG), an aggregation switch, a non-3GPP access device, and the like. The base station may include various forms of base stations, such as: a macro base station, a micro base station (also referred to as a small cell), a relay station, an access point, etc., which are not specifically limited in this embodiment of the present application. The equipment for the terminal to access the core network is collectively referred to as the access network equipment in the text, and will not be described again. For example, the access network device may be an evolved universal terrestrial radio access network (E-UTRAN) device in a 4G network, a next generation radio access network (next generation radio access network) in a 5G network , NG-RAN) equipment, etc.
参见图2,核心网设备可以包括接入和移动性管理功能(access and mobility management function,AMF)、策略控制功能(policy control function,PCF)、统一数据管理(unified data management,UDM)、会话管理功能(session management function,SMF)、用户面功能(user plane function,UPF)、应用功能(application function,AF)、网络开发功能(network exposure function,NEF)、以及用户数据存储库(user data repository,UDR)。AMF、PCF、UDM等网元的功能可以参考现有技术,在此不再赘述。Referring to Figure 2, core network equipment may include access and mobility management function (AMF), policy control function (PCF), unified data management (UDM), session management function (session management function, SMF), user plane function (user plane function, UPF), application function (application function, AF), network development function (network exposure function, NEF), and user data repository (user data repository, UDR). The functions of network elements such as AMF, PCF, and UDM can refer to the prior art, and details are not repeated here.
需要说明的是,除RAN之外的运营商网元构成的网络可以成为核心网,在4G网络中,核心网包括MME,S-GW,P-GW,HSS等网元;在5G网络中,核心网包括AMF,SMF,UPF,UDM,PCF等网元。It should be noted that the network composed of operator network elements other than the RAN can become the core network. In the 4G network, the core network includes network elements such as MME, S-GW, P-GW, and HSS; in the 5G network, The core network includes network elements such as AMF, SMF, UPF, UDM, and PCF.
如图3所示,为一种终端的协议层的示意图,终端的协议层可以支持终端传输V2X消息。终端的协议层可以包括:应用层(application layer)、V2X层、接入层(Access Stratum,AS)。As shown in FIG. 3 , which is a schematic diagram of a protocol layer of a terminal, the protocol layer of the terminal can support the terminal to transmit V2X messages. The protocol layer of the terminal may include: an application layer (application layer), a V2X layer, and an access layer (Access Stratum, AS).
其中,应用层,主要用于提供V2X服务,如:生成V2X消息。Among them, the application layer is mainly used to provide V2X services, such as generating V2X messages.
V2X层,主要用于确定V2X消息的通信接口等、确定V2X消息在PC5接口的通信模式、PC5单播连接的建立、PC5通信的层2标识的确定。其中,终端的V2X层可以独立部署在终端中,也可以部署在终端的其他协议层中,如:可以部署在终端的非接入(non-access stratum,NAS)(图3中未示出)中。当V2X层部署在NAS中时,V2X层执行的动作可以认为是由NAS执行,不予限制。本申请实施例以终端的V2X层独立部署在终端中为例进行说明,不予限制。The V2X layer is mainly used to determine the communication interface of the V2X message, etc., to determine the communication mode of the V2X message on the PC5 interface, the establishment of the PC5 unicast connection, and the determination of the layer 2 identifier of the PC5 communication. Among them, the V2X layer of the terminal can be independently deployed in the terminal, or can be deployed in other protocol layers of the terminal, such as: can be deployed in the non-access stratum (NAS) of the terminal (not shown in Figure 3) middle. When the V2X layer is deployed in the NAS, the actions performed by the V2X layer can be considered to be performed by the NAS, without limitation. The embodiment of the present application is described by taking the V2X layer of the terminal independently deployed in the terminal as an example, which is not limited.
AS,主要用于支持公共陆地移动网络(public land mobile network,PLMN)选择、小区选择、无资源资源管理等流程。示例性的,无线资源管理流程包括:无线资源控制(radio resource control,RRC)连接建立流程、终端和核心网之间的信令建立流程、切换流程等。对于PC5口通信,AS还为PC5接口发送的V2X消息申请PC5通信资源,为V2X消息填写源层2地址和目的层2地址,为PC5单播通信建立PC5-RRC连接等。AS is mainly used to support processes such as public land mobile network (PLMN) selection, cell selection, and resourceless resource management. Exemplarily, the radio resource management procedure includes: a radio resource control (radio resource control, RRC) connection establishment procedure, a signaling establishment procedure between the terminal and the core network, a handover procedure, and the like. For PC5 port communication, the AS also applies for PC5 communication resources for V2X messages sent by the PC5 port, fills in the source layer 2 address and destination layer 2 address for the V2X message, and establishes a PC5-RRC connection for PC5 unicast communication.
在本申请实施例中,应用层可以称为V2X层的上层,接入层可以称为V2X层的下层。In this embodiment of the present application, the application layer may be referred to as the upper layer of the V2X layer, and the access layer may be referred to as the lower layer of the V2X layer.
图4为本申请实施例提供的一种通信装置100的组成示意图,该通信装置100可以为终端或者终端中的芯片或者片上系统。该通信装置100包括处理器101,通信线路102以及通信接口103。FIG. 4 is a schematic diagram of the composition of a communication apparatus 100 according to an embodiment of the present application, and the communication apparatus 100 may be a terminal or a chip or a system-on-chip in the terminal. The communication device 100 includes a processor 101 , a communication line 102 and a communication interface 103 .
进一步的,该通信装置100还可以包括存储器104。其中,处理器101,存储器104以及通信接口103之间可以通过通信线路102连接。Further, the communication apparatus 100 may further include a memory 104 . The processor 101 , the memory 104 and the communication interface 103 may be connected through a communication line 102 .
其中,处理器101可以是中央处理器(central processing unit,CPU)、通用处理器网络处理器(network processor,NP)、数字信号处理器(digital signal processing,DSP)、微处理器、微控制器、可编程逻辑器件(programmable logic device,PLD)或它们的任意组合。处理器101还可以是其它任意具有处理功能的装置,例如电路、 器件或软件模块,不做限制。The processor 101 may be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processing (DSP), a microprocessor, or a microcontroller. , programmable logic device (PLD) or any combination of them. The processor 101 may also be any other device having processing functions, such as a circuit, a device or a software module, without limitation.
通信线路102,用于在通信装置100所包括的各部件之间传送信息。The communication line 102 is used to transmit information between components included in the communication device 100 .
通信接口103,用于与其他设备或其它通信网络进行通信。该其它通信网络可以为以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。通信接口103可以是模块、电路、收发器或者任何能够实现通信的装置。The communication interface 103 is used to communicate with other devices or other communication networks. The other communication network may be Ethernet, radio access network (RAN), wireless local area networks (WLAN) and the like. Communication interface 103 may be a module, circuit, transceiver, or any device capable of communication.
存储器104,用于存储指令。其中,指令可以是计算机程序。 Memory 104 for storing instructions. Wherein, the instructions may be computer programs.
其中,存储器104可以是只读存储器(read-only memory,ROM)或可存储静态信息和/或指令的其他类型的静态存储设备,也可以是存取存储器(random access memory,RAM)或者可存储信息和/或指令的其他类型的动态存储设备,还可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备等,不予限制。The memory 104 may be a read-only memory (ROM) or other types of static storage devices capable of storing static information and/or instructions, or may be a random access memory (RAM) or a storage device capable of storing static information and/or instructions. Other types of dynamic storage devices for information and/or instructions, which may also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) ) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, etc., without limitation.
需要指出的是,存储器104可以独立于处理器101存在,也可以和处理器101集成在一起。存储器104可以用于存储指令或者程序代码或者一些数据等。存储器104可以位于通信装置100内,也可以位于通信装置100外,不做限制。It should be pointed out that the memory 104 may exist independently of the processor 101 , or may be integrated with the processor 101 . The memory 104 may be used to store instructions or program code or some data or the like. The memory 104 may be located in the communication device 100, or may be located outside the communication device 100, which is not limited.
处理器101,用于执行存储器104中存储的指令,以实现本申请下述实施例提供的通信方法。例如,当通信装置100为终端或者终端中的芯片或者片上系统时,处理器101可以执行存储器104中存储的指令,以实现本申请下述实施例中发送端所执行的步骤。The processor 101 is configured to execute the instructions stored in the memory 104 to implement the communication methods provided by the following embodiments of the present application. For example, when the communication device 100 is a terminal or a chip or a system-on-chip in the terminal, the processor 101 may execute the instructions stored in the memory 104 to implement the steps performed by the sender in the following embodiments of the present application.
在一种示例中,处理器101可以包括一个或多个CPU,例如图4中的CPU0和CPU1。In one example, the processor 101 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 4 .
作为一种可选的实现方式,通信装置100包括多个处理器,例如,除图4中的处理器101之外,还可以包括处理器107。As an optional implementation manner, the communication apparatus 100 includes multiple processors. For example, in addition to the processor 101 in FIG. 4 , the communication apparatus 100 may further include a processor 107 .
作为一种可选的实现方式,通信装置100还包括输出设备105和输入设备106。示例性地,输入设备106是键盘、鼠标、麦克风或操作杆等设备,输出设备105是显示屏、扬声器等设备。As an optional implementation manner, the communication apparatus 100 further includes an output device 105 and an input device 106 . Exemplarily, the input device 106 is a device such as a keyboard, a mouse, a microphone or a joystick, and the output device 105 is a device such as a display screen, a speaker, and the like.
下面针对本申请提及的术语进行介绍。The terms mentioned in this application are introduced below.
1、接收模式1. Receive mode
接收模式用于控制终端的接收行为。The receiving mode is used to control the receiving behavior of the terminal.
例如,接收模式可以为当前TS 24.587所提供的完全接收模式,或者本申请实施例所提供的不完全接收模式,又或者本申请实施例提供的暂停接收模式。For example, the receiving mode may be the complete receiving mode provided by the current TS 24.587, or the incomplete receiving mode provided by the embodiment of the present application, or the suspended receiving mode provided by the embodiment of the present application.
其中,完全接收模式用于终端在PC5口上持续接收数据。或者说,完全接收模式可以用于终端持续开启PC5口上的接收功能。Among them, the complete receiving mode is used for the terminal to continuously receive data on the PC5 port. In other words, the full receive mode can be used for the terminal to continuously enable the receive function on the PC5 port.
不完全接收模式用于终端在接收周期的接收窗口内在PC5口上接收数据。或者说,不完全接收模式可以用于第一终端在接收周期的接收窗口内开启PC5口上的接收功能。其中,开启PC5口上的接收功能,可以是指:开启接入层和非接入层在PC5口上接收数据的功能。The incomplete receive mode is used for the terminal to receive data on the PC5 port within the receive window of the receive cycle. In other words, the incomplete receiving mode can be used for the first terminal to enable the receiving function on the PC5 port within the receiving window of the receiving period. Wherein, enabling the receiving function on the PC5 port may refer to: enabling the function of the access layer and the non-access layer to receive data on the PC5 port.
需要说明的是,接收周期是由接收窗口和非接收窗口组成的。其中,接收窗口是 接收周期内允许在PC5口上接收数据的时间段,在接收窗口时间段外不允许在PC5口上接收数据。非接收窗口是接收周期内不允许在PC5口上接收数据的时间段。It should be noted that the receiving period is composed of a receiving window and a non-receiving window. Among them, the receive window is the time period during which data is allowed to be received on the PC5 port within the receive cycle, and data is not allowed to be received on the PC5 port outside the receive window time period. The non-receiving window is the time period during which data is not allowed to be received on the PC5 port during the receiving cycle.
结合图5进行举例说明,假设接收周期的时长设置为2s,接收窗口的时长设置为1s。接收周期#1由接收窗口#1和非接收窗口#1组成。接收周期#2由接收窗口#2和非接收窗口#2组成。接收周期#3由接收窗口#3和非接收窗口#3组成。终端在接收窗口#1、接收窗口#2、以及接收窗口#3上开启PC5口上的接收功能,在非接收窗口#1、非接收窗口#2、以及非接收窗口#3上关闭PC5口上的接收功能。Taking FIG. 5 as an example, it is assumed that the duration of the receiving cycle is set to 2s, and the duration of the receive window is set to 1s. Receive cycle #1 consists of receive window #1 and non-receive window #1. Reception cycle #2 consists of reception window #2 and non-reception window #2. Receive cycle #3 consists of receive window #3 and non-receive window #3. The terminal enables the receiving function on the PC5 port on the receiving window #1, receiving window #2, and receiving window #3, and disables the receiving function on the PC5 port on the non-receiving window #1, non-receiving window #2, and non-receiving window #3. Function.
暂停接收模式用于终端在PC5口上暂停接收数据。The pause receiving mode is used for the terminal to pause receiving data on the PC5 port.
应理解,完全接收模式、不完全接收模式、以及暂停接收模式的名称仅是示例,这些接收模式可以有其他名称,本申请实施例对此不作限定。It should be understood that the names of the complete reception mode, the incomplete reception mode, and the paused reception mode are only examples, and these reception modes may have other names, which are not limited in this embodiment of the present application.
2、V2X应用2. V2X application
V2X应用可以指的是接收或发送V2X消息的应用。例如,终端安装应用1、应用2、应用3,假设应用1用于接收或发送V2X消息,则应用1属于V2X应用。应用2和应用3不用于接收和发送V2X消息,则应用2和应用3不属于V2X应用。V2X applications may refer to applications that receive or send V2X messages. For example, the terminal installs application 1, application 2, and application 3. If application 1 is used to receive or send V2X messages, then application 1 belongs to a V2X application. If application 2 and application 3 are not used for receiving and sending V2X messages, then application 2 and application 3 do not belong to V2X applications.
应理解,应用是否用于接收和发送V2X消息,可以取决于终端的使用场景、终端的用户需求等因素。例如,车辆终端的用户启动应用1,并触发应用1进入驾驶模式,此时应用1接收或发送V2X消息。在用户到达目的地之后,车辆终端的用户关闭应用1,此时应用1不接收或发送V2X消息。It should be understood that whether an application is used to receive and send V2X messages may depend on factors such as a usage scenario of the terminal, user requirements of the terminal, and the like. For example, the user of the vehicle terminal starts the application 1 and triggers the application 1 to enter the driving mode. At this time, the application 1 receives or sends the V2X message. After the user arrives at the destination, the user of the vehicle terminal closes the application 1, and the application 1 does not receive or send V2X messages at this time.
应理解,一个终端上可以安装一个或多个V2X应用。It should be understood that one or more V2X applications may be installed on a terminal.
可选的,应用可以向终端的V2X层指示是否接收或发送V2X消息。当应用向终端的V2X层指示接收或发送V2X消息时,终端的V2X层将该应用确定为V2X应用。Optionally, the application may indicate to the V2X layer of the terminal whether to receive or send a V2X message. When the application instructs the V2X layer of the terminal to receive or send a V2X message, the V2X layer of the terminal determines the application as a V2X application.
可选的,终端的V2X层可以存储终端上每一个V2X应用的标识。Optionally, the V2X layer of the terminal may store the identifier of each V2X application on the terminal.
下面结合说明书附图,对本申请实施例提供的技术方案进行具体介绍。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
如图6所示,为本申请实施例提供的一种通信方法,该方法包括以下步骤:As shown in FIG. 6 , a communication method provided by an embodiment of the present application includes the following steps:
S101、第一终端从第一接收模式切换到第二接收模式。S101. The first terminal switches from the first receiving mode to the second receiving mode.
示例性的,第一终端可以为VRU终端或者其他需要降低功耗的V2X终端,不予限制。Exemplarily, the first terminal may be a VRU terminal or other V2X terminal that needs to reduce power consumption, which is not limited.
其中,第一接收模式可以是上述接收模式中提及的完全接收模式。该第一接收模式可以用于第一终端在PC5口上持续接收数据。或者说,第一接收模式可以用于第一终端持续开启PC5口上的接收功能。Wherein, the first receiving mode may be the full receiving mode mentioned in the above-mentioned receiving mode. The first receiving mode can be used for the first terminal to continuously receive data on the PC5 port. In other words, the first receiving mode can be used for the first terminal to continuously enable the receiving function on the PC5 port.
第二接收模式可以是上述接收模式中提及的不完全接收模式。该第二接收模式可以用于第一终端在接收周期的接收窗口内在PC5口上接收数据。或者说,第二接收模式可以用于第一终端在接收周期的接收窗口内开启PC5口上的接收功能。The second reception mode may be the incomplete reception mode mentioned in the above-mentioned reception modes. The second receiving mode can be used for the first terminal to receive data on the PC5 port within the receiving window of the receiving period. In other words, the second receiving mode can be used for the first terminal to enable the receiving function on the PC5 port within the receiving window of the receiving period.
作为一种可能的实现方式,在第一终端不存在安全风险的情况下,第一终端从第一接收模式切换到第二接收模式。As a possible implementation manner, when the first terminal has no security risk, the first terminal switches from the first receiving mode to the second receiving mode.
应理解,第一终端在不存在安全风险的情况下切换到第二接收模式,可以达到兼顾安全性和省电性的目的。It should be understood that when the first terminal switches to the second receiving mode without a security risk, the purpose of taking both security and power saving into consideration can be achieved.
在本申请实施例中,处于第二接收模式的第一终端在每一个接收周期的接收窗口内在PC5口上接收数据,以便于第一终端能够接收到周围其他终端发送的消息。处于 第二接收模式的第一终端在每一个接收周期的非接收窗口暂停在PC5口上接收数据,以节省第一终端的功耗。In the embodiment of the present application, the first terminal in the second receiving mode receives data on the PC5 port within the receiving window of each receiving period, so that the first terminal can receive messages sent by other surrounding terminals. The first terminal in the second receiving mode suspends receiving data on the PC5 port during the non-receiving window of each receiving cycle, so as to save the power consumption of the first terminal.
S102、第一终端广播第一信息。S102. The first terminal broadcasts the first information.
其中,第一信息用于表征第一终端处于第二接收模式。The first information is used to represent that the first terminal is in the second receiving mode.
其中,第一信息所使用的源L2 ID可以为第一终端的L2 ID。Wherein, the source L2 ID used by the first information may be the L2 ID of the first terminal.
可选的,第一信息所使用的目的L2 ID为第一终端预配置的第一信息对应的L2 ID。Optionally, the destination L2 ID used by the first information is the L2 ID corresponding to the first information preconfigured by the first terminal.
其中,第一信息可以包括第一终端的用户信息。The first information may include user information of the first terminal.
可选的,第一信息还包括以下参数中的一项或者多项:接收周期的时长、接收窗口的时长、接收窗口的起始时间、接收周期的起始时间、或接收模式信息。Optionally, the first information further includes one or more of the following parameters: duration of the reception period, duration of the reception window, start time of the reception window, start time of the reception period, or reception mode information.
上述接收窗口的起始时间或者接收周期的起始时间可以为协调世界时(coordinated universal time,UTC)时间或者为全球卫星导航系统(Global Navigation Satellite System,GNSS)授时的时间。The starting time of the receiving window or the starting time of the receiving period may be the coordinated universal time (coordinated universal time, UTC) time or the time served by the global navigation satellite system (Global Navigation Satellite System, GNSS).
其中,接收模式信息可以用于指示第一终端所使用或所处的接收模式。也即,当第一终端处于第一接收模式时,接收模式信息用于指示第一终端处于第一接收模式。或者,当第一终端处于第二接收模式时,接收模式信息用于指示第一终端处于第二接收模式。或者,当第一终端处于第三接收模式时,接收模式信息用于指示第一终端处于第三接收模式。The reception mode information may be used to indicate the reception mode used or located by the first terminal. That is, when the first terminal is in the first reception mode, the reception mode information is used to indicate that the first terminal is in the first reception mode. Alternatively, when the first terminal is in the second reception mode, the reception mode information is used to indicate that the first terminal is in the second reception mode. Alternatively, when the first terminal is in the third reception mode, the reception mode information is used to indicate that the first terminal is in the third reception mode.
其中,第三接收模式可以是上述接收模式中提及的暂停接收模式。第三接收模式用于第一终端暂停在PC5口上接收数据。Wherein, the third receiving mode may be the suspended receiving mode mentioned in the above-mentioned receiving mode. The third receiving mode is used for the first terminal to suspend receiving data on the PC5 port.
可见,针对步骤S101第一终端从第一接收模式切换到第二接收模式,上述接收模式信息可以用于指示第二接收模式,即第一终端处于第二接收模式。It can be seen that, for the first terminal to switch from the first receiving mode to the second receiving mode in step S101, the above-mentioned receiving mode information can be used to indicate the second receiving mode, that is, the first terminal is in the second receiving mode.
可选的,第一信息可以为V2X消息或者PC5信令消息。Optionally, the first information may be a V2X message or a PC5 signaling message.
示例性的,在第一信息为V2X消息的情况下,第一信息可以为弱势道路使用者感知消息(VRU awareness message,VAM)或者行人安全消息(personal safety message,PSM)等,在此不作限定。Exemplarily, in the case where the first information is a V2X message, the first information may be a vulnerable road user awareness message (VRU awareness message, VAM) or a pedestrian safety message (personal safety message, PSM), etc., which is not limited here. .
应理解,在第一信息为V2X消息的情况下,第一终端的应用层生成第一信息。在第一信息为PC5信令消息的情况下,第一终端的V2X层生成第一信息。It should be understood that when the first information is a V2X message, the application layer of the first terminal generates the first information. When the first information is a PC5 signaling message, the V2X layer of the first terminal generates the first information.
作为一种可能的实现方式,第一终端周期性地广播第一信息。As a possible implementation manner, the first terminal periodically broadcasts the first information.
可选的,第一终端在每个接收周期内广播一次或多次第一信息。Optionally, the first terminal broadcasts the first information one or more times in each receiving period.
可选的,第一终端在每个接收周期的接收窗口内广播第一信息。这样一来,第一终端的收发操作控制在同一个时间段内,有利于减少第一终端的功耗。Optionally, the first terminal broadcasts the first information within the receiving window of each receiving period. In this way, the sending and receiving operations of the first terminal are controlled within the same time period, which is beneficial to reduce the power consumption of the first terminal.
S103、第二终端接收到第一信息。S103. The second terminal receives the first information.
其中,第二终端可以为车辆(vehicle)终端、VRU终端或者路侧单元(road side unit,RSU)终端。The second terminal may be a vehicle (vehicle) terminal, a VRU terminal, or a roadside unit (road side unit, RSU) terminal.
S104、第二终端根据第一信息,确定第一终端处于第二接收模式。S104. The second terminal determines, according to the first information, that the first terminal is in the second receiving mode.
可选的,由于第一信息所使用的源L2 ID为第一终端的L2 ID,因此第二终端在接收到第一信息之后,可以获取到第一终端的L2 ID。第二终端可以将第一终端的L2 ID存储在第一列表中。第一列表用于存储处于第二接收模式的终端的L2 ID。Optionally, since the source L2 ID used by the first information is the L2 ID of the first terminal, the second terminal can obtain the L2 ID of the first terminal after receiving the first information. The second terminal may store the L2 ID of the first terminal in the first list. The first list is used to store the L2 IDs of the terminals in the second reception mode.
应理解,当第二终端确定第一终端不处于第二接收模式时,第二终端从第一列表 中删除第一终端的L2 ID。It should be understood that when the second terminal determines that the first terminal is not in the second receiving mode, the second terminal deletes the L2 ID of the first terminal from the first list.
需要说明的是,第二终端可以通过查询一个终端的L2 ID是否存在于第一列表,确定一个终端是否处于第二接收模式。也即,当一个终端的L2 ID存在于第一列表中,第二终端可以确定该终端处于第二接收模式;当一个终端的L2 ID不存在于第一列表中,第二终端可以确定该终端不处于第二接收模式。It should be noted that the second terminal can determine whether a terminal is in the second receiving mode by querying whether the L2 ID of a terminal exists in the first list. That is, when the L2 ID of a terminal exists in the first list, the second terminal can determine that the terminal is in the second receiving mode; when the L2 ID of a terminal does not exist in the first list, the second terminal can determine that the terminal is in the second receiving mode. Not in second receive mode.
可选的,在第二终端接收到第一信息之后,第二终端的V2X层可以建立并存储第一终端的用户信息和第一终端的L2 ID之间的对应关系。这样一来,在第二终端的V2X层接收到第二终端的应用层发送的V2X业务数据和第一终端的用户信息之后,第二终端的V2X层可以根据第一终端的用户信息,确定第一终端的L2 ID。从而,第二终端的V2X层可以根据第一终端的L2 ID,将V2X业务数据发送给第一终端。Optionally, after the second terminal receives the first information, the V2X layer of the second terminal may establish and store the correspondence between the user information of the first terminal and the L2 ID of the first terminal. In this way, after the V2X layer of the second terminal receives the V2X service data sent by the application layer of the second terminal and the user information of the first terminal, the V2X layer of the second terminal can determine the first terminal according to the user information of the first terminal. The L2 ID of a terminal. Therefore, the V2X layer of the second terminal can send the V2X service data to the first terminal according to the L2 ID of the first terminal.
可选的,在第一信息包括第一终端的接收窗口配置信息(例如接收周期的时长、接收窗口的时长、接收窗口的起始时间和/或接收周期的起始时间)的情况下,第二终端存储第一终端的接收窗口配置信息。这样一来,在后续流程中,第二终端可以根据第一终端的接收窗口配置信息,在第一终端的接收窗口内向第一终端发送消息(例如第二消息),以保证第一终端可以在第一终端的接收窗口内接收到第二终端发送的消息。Optionally, when the first information includes receiving window configuration information of the first terminal (for example, the duration of the receiving period, the duration of the receiving window, the starting time of the receiving window and/or the starting time of the receiving period), the first The second terminal stores the receiving window configuration information of the first terminal. In this way, in the subsequent process, the second terminal can send a message (for example, a second message) to the first terminal within the receiving window of the first terminal according to the receiving window configuration information of the first terminal, so as to ensure that the first terminal can The message sent by the second terminal is received within the receiving window of the first terminal.
基于图6所示的实施例,由于第一终端从第一接收模式切换到第二接收模式,因此第一终端仅在接收窗口内在PC5口上接收数据,从而第一终端减少了需要接收消息的时间,降低第一终端的功耗。并且,第一终端广播第一信息,以使得第一终端周围的其他终端能够获知第一终端处于第二接收模式,进而周围其他终端可以在合适的时机向第一终端发送消息,以避免第一终端未接收到周围其他终端发送的重要消息。达到了兼顾第一终端的安全性和省电性的目的。Based on the embodiment shown in FIG. 6 , since the first terminal switches from the first receiving mode to the second receiving mode, the first terminal only receives data on the PC5 port within the receiving window, thereby reducing the time required for the first terminal to receive messages , reducing the power consumption of the first terminal. In addition, the first terminal broadcasts the first information, so that other terminals around the first terminal can know that the first terminal is in the second receiving mode, and other terminals around the first terminal can send messages to the first terminal at an appropriate time to avoid the first terminal. The terminal does not receive important messages sent by other surrounding terminals. The purpose of taking into account the security and power saving of the first terminal is achieved.
下面结合图7、图8(a)或图8(b)具体说明第一终端从第一接收模式切换到第二接收模式的实现方式。The following will specifically describe an implementation manner of the first terminal switching from the first receiving mode to the second receiving mode with reference to FIG. 7 , FIG. 8( a ) or FIG. 8( b ).
如图7所示,为本申请实施例提供的一种通信方法,该方法包括以下步骤S201-S204。应理解,图6中的步骤S101可以采用图7中的步骤S203和S204来实现。As shown in FIG. 7, a communication method provided by an embodiment of the present application includes the following steps S201-S204. It should be understood that step S101 in FIG. 6 can be implemented by adopting steps S203 and S204 in FIG. 7 .
S201、第一终端的应用层确定将第一终端从第一接收模式切换到第二接收模式。S201. The application layer of the first terminal determines to switch the first terminal from the first receiving mode to the second receiving mode.
作为一种可能的实现方式,第一终端的应用层确定第一终端不存在安全风险。As a possible implementation manner, the application layer of the first terminal determines that there is no security risk in the first terminal.
可选的,第一终端的应用层可以根据图9所示的实施例,确定第一终端是否存在安全风险。Optionally, the application layer of the first terminal may determine whether there is a security risk in the first terminal according to the embodiment shown in FIG. 9 .
需要说明的是,S201中第一终端当前处于第一接收模式,即将切换到第二接收模式。第一接收模式和第二接收模式可以参见图6所示实施例中的相关描述,不再赘述。It should be noted that, in S201, the first terminal is currently in the first receiving mode, and is about to switch to the second receiving mode. For the first receiving mode and the second receiving mode, reference may be made to the relevant descriptions in the embodiment shown in FIG. 6 , and details are not repeated here.
S202、第一终端的应用层向第一终端的V2X层发送第三信息。S202. The application layer of the first terminal sends third information to the V2X layer of the first terminal.
其中,第三信息用于将第一终端切换到第二接收模式。The third information is used to switch the first terminal to the second receiving mode.
可选的,第三信息为注意命令(attention command,AT command)。其中,AT command是一种应用层发送至无线层(例如V2X层)的标准命令。Optionally, the third information is an attention command (attention command, AT command). Among them, the AT command is a standard command sent by the application layer to the wireless layer (for example, the V2X layer).
其中,第三信息可以包括第一终端的用户信息。其中,第一终端的用户信息可以是指第一终端的V2X应用的用户信息,例如V2X应用的账户信息、第一终端的用户号码、V2X应用为用户参与交通分配的编号等。第一终端的用户信息可以有其他名称, 例如第一终端的应用层标识。The third information may include user information of the first terminal. The user information of the first terminal may refer to user information of the V2X application of the first terminal, such as account information of the V2X application, user number of the first terminal, number allocated by the V2X application for the user to participate in traffic, and the like. The user information of the first terminal may have other names, such as an application layer identifier of the first terminal.
在本申请实施例中,由于第三信息包括第一终端的用户信息,因此第一终端的V2X层可以获取到第一终端的用户信息。进而,在需要发送第一信息的情况下,第一终端的V2X层可以根据第一终端的用户信息,确定第一终端的L2 ID。进而,第一终端的V2X层可以将第一终端的L2 ID作为第一信息所使用的源L2 ID。另外,在第一信息为PC5信令消息的情况下,第一终端的V2X层可以将第一终端的用户信息封装在第一信息中。In this embodiment of the present application, since the third information includes user information of the first terminal, the V2X layer of the first terminal can obtain the user information of the first terminal. Furthermore, when the first information needs to be sent, the V2X layer of the first terminal may determine the L2 ID of the first terminal according to the user information of the first terminal. Furthermore, the V2X layer of the first terminal may use the L2 ID of the first terminal as the source L2 ID used by the first information. In addition, when the first information is a PC5 signaling message, the V2X layer of the first terminal may encapsulate the user information of the first terminal in the first information.
可选的,第三信息还包括:第二接收模式的配置参数。其中,第二接收模式的配置参数至少包括接收周期的时长和接收窗口的时长。Optionally, the third information further includes: configuration parameters of the second receiving mode. Wherein, the configuration parameters of the second reception mode include at least the duration of the reception cycle and the duration of the reception window.
进一步的,第二接收模式的配置参数还可以包括接收周期的起始时间和/或接收窗口的起始时间。Further, the configuration parameters of the second reception mode may further include the start time of the reception period and/or the start time of the reception window.
在一个示例中,第一终端的应用层可以根据第一终端所处的交通环境等因素,确定接收周期的时长和/或接收窗口的时长。示例性的,假设第一终端的应用层确定第一终端的周围200m内没有任何车辆,则第一终端的应用层可以确定接收周期的时长为3s,接收窗口的时长为1s。这样一来,即使第一终端在2s内没有接收到车辆发生的消息,车辆在2秒内一般行驶60m-80m的距离,从而车辆与第一终端之间的距离还大于120m。这样,当第一终端在接收窗口内接收到车辆发送的消息之后,若第一终端根据车辆发送的消息判断车辆与第一终端之间存在碰撞风险,第一终端立即通知第一终端的用户,保证第一终端的用户有足够的反应时间做出正确的操作,保证第一终端的用户的安全。In an example, the application layer of the first terminal may determine the duration of the reception period and/or the duration of the reception window according to factors such as the traffic environment where the first terminal is located. Exemplarily, assuming that the application layer of the first terminal determines that there is no vehicle within 200m of the first terminal, the application layer of the first terminal may determine that the duration of the reception period is 3s and the duration of the reception window is 1s. In this way, even if the first terminal does not receive a message about the occurrence of the vehicle within 2 seconds, the vehicle generally travels a distance of 60m-80m within 2 seconds, so the distance between the vehicle and the first terminal is still greater than 120m. In this way, after the first terminal receives the message sent by the vehicle in the receiving window, if the first terminal determines that there is a collision risk between the vehicle and the first terminal according to the message sent by the vehicle, the first terminal immediately notifies the user of the first terminal, It is ensured that the user of the first terminal has sufficient response time to perform correct operations, and the safety of the user of the first terminal is ensured.
可选的,由于当前V2X终端发送消息的最低频率一般为1Hz,因此为了保证第一终端在接收窗口内能够接收到第一终端的周围所有V2X终端的V2X消息,第一终端的应用层可以设置接收窗口的时长大于或等于1s。Optionally, since the current minimum frequency for sending messages by the V2X terminal is generally 1 Hz, in order to ensure that the first terminal can receive V2X messages from all V2X terminals around the first terminal within the receiving window, the application layer of the first terminal can set The duration of the receive window is greater than or equal to 1s.
示例性的,第一终端所使用的接收窗口的时长设置为1s,接收周期设置为2s,以兼顾第一终端的安全性和省电性。Exemplarily, the duration of the receiving window used by the first terminal is set to 1s, and the receiving period is set to 2s, so as to take into account the security and power saving of the first terminal.
S203、第一终端的V2X层接收到第三信息。S203. The V2X layer of the first terminal receives the third information.
S204、第一终端的V2X层根据第三信息,指示第一终端的接入层切换到第二接收模式。S204. The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second reception mode according to the third information.
作为一种可能的实现方式,第一终端的V2X层确定第二接收模式的配置参数,并向第一终端的接入层发送第七信息,第七信息用于触发第一终端的接入层切换到第二接收模式,第七信息包括第二接收模式的配置参数。As a possible implementation manner, the V2X layer of the first terminal determines the configuration parameters of the second reception mode, and sends seventh information to the access layer of the first terminal, where the seventh information is used to trigger the access layer of the first terminal Switching to the second receiving mode, the seventh information includes configuration parameters of the second receiving mode.
相应地,第一终端的接入层可以根据第七信息,确定第一终端的接收周期的时长以及第一终端的接收窗口的时长。从而,第一终端的接入层根据第一终端的接收周期的时长以及第一终端的接收窗口的时长,在每一个接收周期的接收窗口内在PC5口上接收数据,以及在每一个接收周期的非接收窗口内暂停在PC5口上接收数据。Correspondingly, the access layer of the first terminal may determine the duration of the reception period of the first terminal and the duration of the reception window of the first terminal according to the seventh information. Thus, the access layer of the first terminal receives data on the PC5 port in the receiving window of each receiving cycle according to the duration of the receiving period of the first terminal and the duration of the receiving window of the first terminal, and Suspend receiving data on the PC5 port within the receiving window.
可选的,第一终端的V2X层确定第二接收模式的配置参数,可以采用以下方式中的任意一种:Optionally, the V2X layer of the first terminal determines the configuration parameters of the second reception mode, and can adopt any one of the following methods:
方式1、在第三信息包括第二接收模式的配置参数的情况下,第一终端的V2X层可以根据第三信息,确定第二接收模式的配置参数。Manner 1: When the third information includes configuration parameters of the second reception mode, the V2X layer of the first terminal may determine the configuration parameters of the second reception mode according to the third information.
方式2、第一终端的V2X层从数据库中获取预先配置的第二接收模式的配置参数。Manner 2: The V2X layer of the first terminal acquires the preconfigured configuration parameters of the second reception mode from the database.
可选的,预先配置的接收周期的时长和接收窗口的时长可以与第一终端所处的地理位置相关。例如,第一终端处于市中心,预先配置的接收周期的时长为2s,接收窗口的时长为1s。第一终端处于郊区,预先配置的接收周期的时长为3s,接收窗口的时长为0.5s。Optionally, the duration of the pre-configured reception period and the duration of the reception window may be related to the geographic location where the first terminal is located. For example, the first terminal is located in the city center, the pre-configured duration of the reception period is 2s, and the duration of the reception window is 1s. The first terminal is located in a suburb, the preconfigured duration of the reception period is 3s, and the duration of the reception window is 0.5s.
可选的,接收窗口的起始时间可以与接收周期的起始时间相同。这样一来,可以不用额外地配置接收窗口的起始时间。Optionally, the start time of the receive window may be the same as the start time of the receive cycle. In this way, it is not necessary to additionally configure the start time of the receive window.
可选的,接收窗口的起始时间可以根据接收窗口的时域偏移值来计算。其中,接收窗口的时域偏移值是指目标时间段内第一个接收窗口的起始时间与该目标时间段的起始时间之间的差值。示例性的,该目标时间段可以是一个整数秒。Optionally, the start time of the receiving window may be calculated according to the time domain offset value of the receiving window. The time domain offset value of the receiving window refers to the difference between the start time of the first receiving window in the target time period and the start time of the target time period. Exemplarily, the target time period may be an integer number of seconds.
一种可能的设计中,接收窗口的时域偏移值根据第一终端的L2 ID与接收周期的时长来计算。示例性的,接收窗口的时域偏移值的计算公式可以参考下述公式(1)。In a possible design, the time domain offset value of the receiving window is calculated according to the L2 ID of the first terminal and the duration of the receiving cycle. Exemplarily, for the calculation formula of the time-domain offset value of the receiving window, reference may be made to the following formula (1).
K=mod(P,Q)       公式(1)K=mod(P, Q) Formula (1)
其中,K表示接收窗口的时域偏移值。P表示以十进制表示的第一终端的L2 ID。Q表示接收周期的时长。Among them, K represents the time domain offset value of the receiving window. P represents the L2 ID of the first terminal in decimal. Q represents the duration of the receive cycle.
举例来说,接收窗口的时长为100ms,接收周期的时长为200ms,第一终端的L2ID为10006394。因此,可以计算出时域偏移值为mod(10006394,200)=194。假设当前时间为20:08:55:362(也即20点08分55秒162毫秒),那么在20:08:55这个秒的范围内,第一个接收窗口的起始时间为20:08:55:194,第一个接收窗口的结束时间为20:08:55:294;第二个接收窗口的起始时间为20:08:55:394,第二接收窗口的结束时间为20:08:55:494;接下来的接收窗口的起始时间和结束时间均可以类推出来。For example, the duration of the receive window is 100ms, the duration of the receive cycle is 200ms, and the L2ID of the first terminal is 10006394. Therefore, the time domain offset value can be calculated as mod(10006394,200)=194. Assuming that the current time is 20:08:55:362 (that is, 20:08:55 seconds and 162 milliseconds), then within the range of 20:08:55 seconds, the start time of the first receive window is 20:08 :55:194, the end time of the first receive window is 20:08:55:294; the start time of the second receive window is 20:08:55:394, and the end time of the second receive window is 20: 08:55:494; The start time and end time of the next receive window can be derived by analogy.
应理解,在接收窗口的起始时间可以根据接收窗口的时域偏移值来计算的情况下,第一信息可以不包含接收窗口的起始时间,从而有利于减少第一信息的开销。It should be understood that, in the case where the start time of the receiving window can be calculated according to the time domain offset value of the receiving window, the first information may not include the starting time of the receiving window, thereby helping to reduce the overhead of the first information.
在本申请实施例中,第一终端的接入层切换到第二接收模式,可以具体实现为:第一终端的接入层根据接收窗口的时长和接收周期的时长,在接收周期的接收窗口内在PC5口上接收数据,在接收周期的非接收窗口内在PC5口上暂停接收数据。In the embodiment of the present application, the access layer of the first terminal switches to the second receiving mode, which may be specifically implemented as follows: the access layer of the first terminal, according to the duration of the reception window and the duration of the reception period, switches the access layer of the first terminal in the reception window of the reception period Receive data on the PC5 port, and suspend receiving data on the PC5 port within the non-receiving window of the receiving cycle.
采用图7所示实施例,第一终端的V2X层根据第一终端的应用层发送的第三信息,指示第一终端的接入层从第一接收模式切换到第二接收模式,成功实现了第一终端从第一接收模式到第二接收模式的切换,以节省功耗。Using the embodiment shown in FIG. 7 , the V2X layer of the first terminal instructs the access layer of the first terminal to switch from the first receiving mode to the second receiving mode according to the third information sent by the application layer of the first terminal, which is successfully implemented. The first terminal switches from the first receiving mode to the second receiving mode to save power consumption.
如图8(a)所示,本申请实施例提供一种通信方法,该方法包括以下步骤S301-S303。应理解,图6中的步骤S101可以采用图8(a)中的步骤S303。As shown in FIG. 8( a ), an embodiment of the present application provides a communication method, and the method includes the following steps S301-S303. It should be understood that step S101 in FIG. 6 may adopt step S303 in FIG. 8(a).
S301、第一终端的目标V2X应用确定从第一接收模式切换到第二接收模式。S301. The target V2X application of the first terminal determines to switch from the first receiving mode to the second receiving mode.
其中,目标V2X应用可以为第一终端所安装的M个V2X应用中的任意一个,M为正整数。示例性的,目标V2X应用是百度地图、或高德地图。The target V2X application may be any one of M V2X applications installed by the first terminal, where M is a positive integer. Exemplarily, the target V2X application is Baidu Map or AutoNavi Map.
一种可能的设计中,M个V2X应用可以是指第一终端所安装的所有V2X应用。In a possible design, the M V2X applications may refer to all V2X applications installed on the first terminal.
另一种可能的设计中,M个V2X应用可以是指第一终端所安装的所有V2X应用中的特定应用,例如安全类的V2X应用。In another possible design, the M V2X applications may refer to specific applications among all V2X applications installed on the first terminal, such as security V2X applications.
S302、第一终端的目标V2X应用向第一终端的V2X层发送第三信息。S302. The target V2X application of the first terminal sends third information to the V2X layer of the first terminal.
其中,第三信息可以包括目标V2X应用的标识,该标识用于标识目标V2X应用。The third information may include an identifier of the target V2X application, where the identifier is used to identify the target V2X application.
其中,第三信息的相关描述可以参考前文,在此不再赘述。For the relevant description of the third information, reference may be made to the foregoing description, which will not be repeated here.
示例性地,第一终端的V2X层存储有目标V2X应用所发送的第三信息。第一终端的V2X层设置目标V2X应用对应的定时器。当目标V2X应用对应的定时器超时,第一终端的V2X层确定当前存储的目标V2X应用所发送的第三信息失效。第三信息失效,相当于第一终端的V2X层未接收到该第三信息。Exemplarily, the V2X layer of the first terminal stores the third information sent by the target V2X application. The V2X layer of the first terminal sets a timer corresponding to the target V2X application. When the timer corresponding to the target V2X application times out, the V2X layer of the first terminal determines that the currently stored third information sent by the target V2X application is invalid. The third information is invalid, which is equivalent to that the V2X layer of the first terminal does not receive the third information.
可选的,在一些场景下,第一终端的目标V2X应用向第一终端的V2X层发送第四信息,第四信息用于第一终端的V2X层将第一终端切换到第一接收模式。进一步地,第一终端的V2X层可以从缓存中删除掉目标V2X应用所发送的第三信息。Optionally, in some scenarios, the target V2X application of the first terminal sends fourth information to the V2X layer of the first terminal, and the fourth information is used by the V2X layer of the first terminal to switch the first terminal to the first receiving mode. Further, the V2X layer of the first terminal may delete the third information sent by the target V2X application from the cache.
应理解,第一终端的M个V2X应用均可以执行上述步骤S301-S302。It should be understood that the above steps S301-S302 can all be performed by the M V2X applications of the first terminal.
S303、第一终端的V2X层根据第三信息,指示第一终端的接入层切换到第二接收模式。S303. The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second reception mode according to the third information.
其中,步骤S303的具体实现可以参考步骤S204的描述,在此不再赘述。The specific implementation of step S303 may refer to the description of step S204, which will not be repeated here.
采用图8(a)所示的实施例,第一终端的V2X层根据第一终端的目标V2X应用发送的第三信息,指示第一终端的AS层从第一接收模式切换到第二接收模式,成功实现了第一终端从第一接收模式到第二接收模式的切换,以节省功耗。Using the embodiment shown in FIG. 8( a ), the V2X layer of the first terminal instructs the AS layer of the first terminal to switch from the first receiving mode to the second receiving mode according to the third information sent by the target V2X application of the first terminal , the switching of the first terminal from the first receiving mode to the second receiving mode is successfully implemented to save power consumption.
可选的,考虑到第一终端仅根据一个目标V2X应用的指示,就从第一接收模式切换到第二接收模式,可能会影响M个V2X应用中其他V2X应用的正常使用。为了解决这一技术问题,图8(a)所示实施例中的步骤S303可以替换为图8(b)所示实施例中的步骤S304。Optionally, considering that the first terminal switches from the first receiving mode to the second receiving mode only according to the instruction of one target V2X application, normal use of other V2X applications among the M V2X applications may be affected. In order to solve this technical problem, step S303 in the embodiment shown in FIG. 8( a ) can be replaced with step S304 in the embodiment shown in FIG. 8( b ).
S304、当第一终端的V2X层接收到第一终端中M个V2X应用中每一个V2X应用发送的第三信息时,第一终端的V2X层指示第一终端的接入层切换到第二接收模式。S304. When the V2X layer of the first terminal receives the third information sent by each of the M V2X applications in the first terminal, the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second receiving layer model.
由于M个V2X应用可能不会在同一时间发送第三信息,因此第一终端的V2X层可以通过判断是否缓存了M个V2X应用发送的第三信息,来判断是否接收到M个V2X应用发送的第三信息。Since the M V2X applications may not send the third information at the same time, the V2X layer of the first terminal can determine whether to receive the third information sent by the M V2X applications by judging whether the third information sent by the M V2X applications is cached. third information.
也即,当第一终端的V2X层缓存了M个V2X应用发送的第三信息时,第一终端的V2X层确定接收到M个V2X应用发送的第三信息。反之,第一终端的V2X层确定未接收到M个V2X应用发送的第三信息。That is, when the V2X layer of the first terminal buffers the third information sent by the M V2X applications, the V2X layer of the first terminal determines to receive the third information sent by the M V2X applications. On the contrary, the V2X layer of the first terminal determines that the third information sent by the M V2X applications has not been received.
其中,第一终端的V2X层指示第一终端的接入层切换到第二接收模式的具体实现方式可以参考步骤S204的描述,在此不再赘述。The specific implementation manner of the V2X layer of the first terminal instructing the access layer of the first terminal to switch to the second reception mode may refer to the description of step S204, which will not be repeated here.
可选的,在M个第三信息均包括接收周期的时长的情况下,第一终端的V2X层以其中接收周期的时长的最大值,作为第二接收模式使用的接收周期的时长。Optionally, when the M third pieces of information all include the duration of the reception period, the V2X layer of the first terminal takes the maximum duration of the reception period as the duration of the reception period used in the second reception mode.
可选的,在M个第三信息均包括接收窗口的时长的情况下,第一终端的V2X层以其中接收窗口的时长的最小值,作为第二接收模式使用的接收窗口的时长。Optionally, when the M third pieces of information all include the duration of the reception window, the V2X layer of the first terminal uses the minimum duration of the reception window as the duration of the reception window used in the second reception mode.
采用图8(b)所示的实施例,在第一终端中所有V2X应用均指示切换到第二接收模式的情况下,第一终端的V2X层指示第一终端的AS层从第一接收模式切换到第二接收模式。一方面,降低第一终端的功耗;另一方面,保证第一终端所安装的M个V2X应用的正常使用。Using the embodiment shown in FIG. 8(b), in the case that all V2X applications in the first terminal instruct to switch to the second receiving mode, the V2X layer of the first terminal instructs the AS layer of the first terminal to switch to the second receiving mode from the first receiving mode Switch to the second receive mode. On the one hand, the power consumption of the first terminal is reduced; on the other hand, the normal use of the M V2X applications installed on the first terminal is ensured.
如图9所示,为本申请实施例提供的一种安全风险的确定方法。下面以第一终端是否存在安全风险为例进行描述,本申请提及的安全风险判断均可以采用该方法,不 予限制。该方法包括以下步骤:As shown in FIG. 9, an embodiment of the present application provides a method for determining a security risk. The following describes whether there is a security risk in the first terminal as an example, and the security risk judgment mentioned in this application can all use this method, without limitation. The method includes the following steps:
S401、第一终端获取至少一个第二终端的运动信息。S401. The first terminal acquires motion information of at least one second terminal.
其中,第二终端可以为车辆(vehicle)终端,或者VRU终端。The second terminal may be a vehicle terminal or a VRU terminal.
其中,第二终端的运动信息可以包括以下信息中的至少一种:第二终端的位置、第二终端的速度、第二终端的运动方向、第二终端的转弯角度、和/或第二终端的预测运动轨迹。The movement information of the second terminal may include at least one of the following information: the position of the second terminal, the speed of the second terminal, the movement direction of the second terminal, the turning angle of the second terminal, and/or the second terminal the predicted motion trajectory.
可选的,基于V2X场景,运动信息还可以有其他名称,例如行驶信息。Optionally, based on the V2X scenario, the motion information may also have other names, such as driving information.
一种可能的实现方式中,第一终端在预设时长内获取至少一个第二终端的运动信息。和/或,第一终端获取目标地理区域内至少一个第二终端的运动信息。可选的,目标地理区域可以是以第一终端为中心的区域。In a possible implementation manner, the first terminal acquires motion information of at least one second terminal within a preset time period. And/or, the first terminal acquires motion information of at least one second terminal in the target geographic area. Optionally, the target geographic area may be an area centered on the first terminal.
基于此,至少一个第二终端的运动信息可以有效反映当前第一终端周期的交通状况,以使得第一终端可以准确判断第一终端是否存在安全风险。Based on this, the motion information of the at least one second terminal can effectively reflect the current traffic conditions of the first terminal period, so that the first terminal can accurately determine whether the first terminal has a safety risk.
在本申请实施例中,第一终端接收第二终端广播的V2X消息。之后,第一终端可以从V2X消息中确定第二终端的运动信息。In this embodiment of the present application, the first terminal receives the V2X message broadcast by the second terminal. Afterwards, the first terminal may determine the motion information of the second terminal from the V2X message.
示例性的,第二终端广播的V2X消息可以为分散式环境通知信息(decentralized environmental notification message,DENM)、基础安全消息(basic safety message,BSM)、协作感知信息(cooperative awareness message,CAM)等,对此不作限定。Exemplarily, the V2X message broadcast by the second terminal may be decentralized environmental notification message (DENM), basic safety message (basic safety message, BSM), cooperative awareness message (cooperative awareness message, CAM), etc., This is not limited.
S402、第一终端获取第一终端的运动信息。S402. The first terminal acquires motion information of the first terminal.
其中,第一终端的运动信息可以包括以下信息中的至少一种:第一终端的位置、第一终端的速度、第一终端的运动方向、第一终端的转弯角度、和/或第一终端的预测运动轨迹。The movement information of the first terminal may include at least one of the following information: the position of the first terminal, the speed of the first terminal, the movement direction of the first terminal, the turning angle of the first terminal, and/or the first terminal the predicted motion trajectory.
作为一种可能的实现方式,在第一终端在运动过程中,第一终端的传感器(例如位置传感器、加速度传感器等)可以检测到相应的数据,第一终端通过对传感器检测到的数据进行处理,可以确定第一终端的运动信息。As a possible implementation manner, during the movement of the first terminal, a sensor of the first terminal (for example, a position sensor, an acceleration sensor, etc.) can detect corresponding data, and the first terminal processes the data detected by the sensor , the motion information of the first terminal can be determined.
本申请实施例不限制步骤S401和步骤S402的执行顺序。也即,可以先执行步骤S401,再执行步骤S402;或者先执行步骤S402,再执行步骤S401;或者,同时执行步骤S401和S402。This embodiment of the present application does not limit the execution order of step S401 and step S402. That is, step S401 may be performed first, and then step S402 may be performed; or step S402 may be performed first, and then step S401 may be performed; or, steps S401 and S402 may be performed simultaneously.
S403、第一终端根据第一终端的运动信息和至少一个第二终端的运动信息,确定第一终端是否存在安全风险。S403. The first terminal determines whether the first terminal has a security risk according to the motion information of the first terminal and the motion information of at least one second terminal.
作为一种可能的实现方式,对于至少一个第二终端中的每一个第二终端来说,第一终端根据第一终端的运动信息和第二终端的运动信息,确定第二终端是否满足第一预设条件。当至少一个第二终端中每一个第二终端均满足预设条件时,第一终端确定第一终端不存在安全风险。反之,第一终端确定第一终端存在安全风险。As a possible implementation manner, for each second terminal in the at least one second terminal, the first terminal determines whether the second terminal satisfies the first terminal according to the motion information of the first terminal and the motion information of the second terminal. preset conditions. When each of the at least one second terminal satisfies the preset condition, the first terminal determines that the first terminal does not have a security risk. On the contrary, the first terminal determines that the first terminal has a security risk.
以第一终端为终端1,至少一个第二终端为终端2和终端3为例,终端1获取到终端1的运动信息、终端2的运动信息和终端3的运动信息。终端1根据终端1的运动信息和终端2的运动信息,确定终端2是否满足第一预设条件。终端1根据终端1的运动信息和终端3的运动信息,确定终端3是否满足第一预设条件。当终端2和终端3均满足第一预设条件,终端1确定自身不存在安全风险。当终端2和终端3中任意一个不满足第一预设条件,终端1确定自身存在安全风险。Taking the first terminal as terminal 1 and the at least one second terminal as terminal 2 and terminal 3 as an example, terminal 1 obtains the motion information of terminal 1, the motion information of terminal 2, and the motion information of terminal 3. The terminal 1 determines whether the terminal 2 satisfies the first preset condition according to the motion information of the terminal 1 and the motion information of the terminal 2. The terminal 1 determines whether the terminal 3 satisfies the first preset condition according to the motion information of the terminal 1 and the motion information of the terminal 3 . When both the terminal 2 and the terminal 3 satisfy the first preset condition, the terminal 1 determines that it does not have a security risk. When any one of the terminal 2 and the terminal 3 does not meet the first preset condition, the terminal 1 determines that it has a security risk.
可选的,第一预设条件包括以下一项或者多项的组合:Optionally, the first preset condition includes one or a combination of the following:
(1)第一终端与第二终端之间的相对距离大于或等于第一预设值。(1) The relative distance between the first terminal and the second terminal is greater than or equal to the first preset value.
(2)第一终端与第二终端之间的相对速度小于或等于第二预设值。(2) The relative speed between the first terminal and the second terminal is less than or equal to the second preset value.
(3)第一终端与第二终端之间发送碰撞的置信度小于或等于第三预设值。(3) The confidence of the transmission collision between the first terminal and the second terminal is less than or equal to the third preset value.
(4)第一终端的预测运动轨迹与第二终端的预测运动轨迹没有交点。(4) There is no intersection between the predicted motion trajectory of the first terminal and the predicted motion trajectory of the second terminal.
应理解,第一预设条件还可以有其他实现方式,本申请实施例对此不作限定。It should be understood that the first preset condition may also have other implementation manners, which are not limited in this embodiment of the present application.
上述第一预设值、第二预设值和第三预设值可以是预先配置的,具体可以由网络配置,也可以预先设置在终端内。具体的,第一预设值、第二预设值和第三预设值的设置值可以是由通信协议规定的,也可以是第一终端根据自身的硬件配置、交通环境、地理位置等因素来确定的。The above-mentioned first preset value, second preset value and third preset value may be pre-configured, specifically may be configured by the network, or may be pre-set in the terminal. Specifically, the setting values of the first preset value, the second preset value and the third preset value may be specified by the communication protocol, or may be the first terminal based on its own hardware configuration, traffic environment, geographic location and other factors to be sure.
基于图9所示的实施例,第一终端根据第一终端的运动信息以及周围其他终端(也即第二终端)的运动信息,可以确定周围其他终端对第一终端是否构成安全威胁。从而,在周围其他终端均不对第一终端构成安全威胁的情况下,第一终端可以确定第一终端不存在安全风险。Based on the embodiment shown in FIG. 9 , the first terminal can determine whether other surrounding terminals pose a security threat to the first terminal according to the motion information of the first terminal and the motion information of other surrounding terminals (ie, the second terminal). Therefore, in the case that no other surrounding terminals pose a security threat to the first terminal, the first terminal can determine that the first terminal does not have a security risk.
可选的,图9所示的实施例中的步骤可以由第一终端的应用层或者第一终端的V2X应用来执行。Optionally, the steps in the embodiment shown in FIG. 9 may be performed by the application layer of the first terminal or the V2X application of the first terminal.
下面结合图10和图11具体介绍将处于第二接收模式的第一终端切换到第一接收模式的具体实现方案。图10和图11所示实施例可以与图6、图7、图8(a)和图8(b)所示的任意一个实施例结合,不予限制。A specific implementation solution for switching the first terminal in the second receiving mode to the first receiving mode will be described in detail below with reference to FIG. 10 and FIG. 11 . The embodiments shown in FIGS. 10 and 11 may be combined with any one of the embodiments shown in FIGS. 6 , 7 , 8( a ) and 8 ( b ) without limitation.
如图10所示,为本申请实施例提供的一种通信方法,该方法包括以下步骤:As shown in FIG. 10 , a communication method provided by an embodiment of the present application includes the following steps:
S501、第一终端的应用层确定将第一终端从第二接收模式切换到第一接收模式。S501. The application layer of the first terminal determines to switch the first terminal from the second receiving mode to the first receiving mode.
一种可能的实现方式中,在第一终端处于第二接收模式的情况下,当第一终端的应用层确定第一终端存在安全风险时,第一终端的应用层确定将第一终端从第二接收模式切换到第一接收模式。In a possible implementation manner, when the first terminal is in the second receiving mode, when the application layer of the first terminal determines that the first terminal has a security risk, the application layer of the first terminal determines to transfer the first terminal from the first terminal to the first terminal. The second receiving mode is switched to the first receiving mode.
应理解,第一终端在存在安全风险的情况下切换到第一接收模式,从而保证第一终端可以及时获取周期其他终端发送的信息,使得第一终端能够及时了解周期的交通情况,提高第一终端的用户的安全性。It should be understood that the first terminal switches to the first receiving mode when there is a security risk, so as to ensure that the first terminal can obtain information sent by other terminals in a timely manner, so that the first terminal can timely understand the traffic conditions of the period, and improve the first terminal. End-user security.
其中,第一接收模式和第二接收模式可以参考前述实施例中的相关描述,不再赘述。For the first receiving mode and the second receiving mode, reference may be made to the relevant descriptions in the foregoing embodiments, and details are not repeated here.
具体地,第一终端当前处于第二接收模式,第二终端的应用层确定将第一终端切换到第一接收模式。Specifically, the first terminal is currently in the second receiving mode, and the application layer of the second terminal determines to switch the first terminal to the first receiving mode.
S502、第一终端的应用层向第一终端的V2X层发送第四信息。S502. The application layer of the first terminal sends fourth information to the V2X layer of the first terminal.
其中,第四信息用于将第一终端切换到第一接收模式。The fourth information is used to switch the first terminal to the first receiving mode.
可选的,第四信息为AT command。Optionally, the fourth information is AT command.
S503、第一终端的V2X层接收到第四信息。S503. The V2X layer of the first terminal receives the fourth information.
S504、第一终端的V2X层根据第四信息,指示第一终端的接入层将第一切换到第一接收模式。S504. The V2X layer of the first terminal instructs the access layer of the first terminal to switch the first to the first receiving mode according to the fourth information.
作为一种可能的实现,第一终端的V2X层根据第四信息,向第一终端的接入层发送第八信息,第八信息用于指示第一终端的接入层切换到第一接收模式。从而,第一 终端的接入层根据第八信息,切换到第一接收模式。As a possible implementation, the V2X layer of the first terminal sends eighth information to the access layer of the first terminal according to the fourth information, where the eighth information is used to instruct the access layer of the first terminal to switch to the first receiving mode . Therefore, the access layer of the first terminal switches to the first reception mode according to the eighth information.
基于图10所示的实施例,在一些场景下(例如第一终端感知到周围存在安全风险),第一终端可以主动地切换到第一接收模式,从而第一终端可以及时接收到周围其他终端发送的信息,以及时了解周围的交通情况,保证第一终端的用户的安全。Based on the embodiment shown in FIG. 10 , in some scenarios (for example, the first terminal senses that there is a security risk in the surroundings), the first terminal can actively switch to the first receiving mode, so that the first terminal can receive other surrounding terminals in time. The information sent, timely understand the surrounding traffic conditions, and ensure the safety of the users of the first terminal.
可选的,在图10所示的实施例中,“第一终端的应用层”可以替换为“第一终端的V2X应用”。Optionally, in the embodiment shown in FIG. 10 , "the application layer of the first terminal" may be replaced with "the V2X application of the first terminal".
如图11所示,为本申请实施例提供的一种通信方法,该方法包括以下步骤:As shown in FIG. 11 , a communication method provided by an embodiment of the present application includes the following steps:
S601、第二终端确定将处于第二接收模式的第一终端切换到第一接收模式。S601. The second terminal determines to switch the first terminal in the second receiving mode to the first receiving mode.
作为一种可能的实现方式中,当第二终端确定处于第二接收模式的第一终端存在安全风险时,第二终端确定将处于第二接收模式的第一终端切换到第一接收模式。As a possible implementation manner, when the second terminal determines that the first terminal in the second reception mode has a security risk, the second terminal determines to switch the first terminal in the second reception mode to the first reception mode.
可选的,第二终端确定处于第二接收模式的第一终端存在安全风险,包括以下情形之一:Optionally, the second terminal determines that the first terminal in the second receiving mode has a security risk, including one of the following situations:
情形1、第二终端确定第二终端处于失控状态。示例性的,第二终端处于失控状态可以是指:车辆发生意外事故(例如爆胎、刹车器失灵等)、车辆的自动驾驶系统出现故障、车辆的运动轨迹异常、车辆违反交通规则(闯红灯,超速,占用非机动车道,危险驾驶等)。上述车辆是指第二终端或者搭载第二终端的车辆。Scenario 1. The second terminal determines that the second terminal is in a runaway state. Exemplarily, the fact that the second terminal is out of control may refer to: the vehicle has an accident (for example, a tire blowout, brake failure, etc.), the automatic driving system of the vehicle is faulty, the movement trajectory of the vehicle is abnormal, the vehicle violates traffic rules (running a red light, speeding, occupation of non-motorized lanes, dangerous driving, etc.). The above-mentioned vehicle refers to the second terminal or a vehicle equipped with the second terminal.
情形2、第二终端获取第一终端的运动信息。之后,第二终端根据第一终端的运动信息以及第二终端的运动信息,确定第二终端不满足第一预设条件。其中,第一预设条件的具体描述可以参见前文,在此不再赘述。Scenario 2: The second terminal acquires the motion information of the first terminal. After that, the second terminal determines that the second terminal does not meet the first preset condition according to the motion information of the first terminal and the motion information of the second terminal. For the specific description of the first preset condition, reference may be made to the foregoing description, which will not be repeated here.
S602、第二终端向第一终端发送第二信息。S602. The second terminal sends the second information to the first terminal.
其中,第二信息用于将第一终端切换到第一接收模式。或者,第二信息用于表征第一终端存在安全风险。The second information is used to switch the first terminal to the first receiving mode. Alternatively, the second information is used to represent that the first terminal has a security risk.
在本申请实施例中,第二信息所使用的目的L2 ID为第一终端的L2 ID。In this embodiment of the present application, the destination L2 ID used by the second information is the L2 ID of the first terminal.
可选的,第二信息还包括第一终端的用户信息。其目的在于,使监测到第二信息的终端根据第二信息所包含的第一终端的用户信息,验证自身是否是该第二信息的接收端。Optionally, the second information further includes user information of the first terminal. The purpose is to enable the terminal monitoring the second information to verify whether it is the receiving end of the second information according to the user information of the first terminal included in the second information.
可选的,第二信息可以为V2X消息或者PC5信令消息。Optionally, the second information may be a V2X message or a PC5 signaling message.
可选的,步骤S602可以采用以下实现方式中的任意一种:Optionally, step S602 may adopt any one of the following implementation manners:
实现方式1、在第一终端所发送的第一信息包括第一终端的接收周期的时长和第一终端的接收窗口的时长的情况下,第二终端在第一时间段内以第一时长作为发送时间间隔,重复地发送第四信息。第一时间段的时长大于或等于接收周期的时长。第一时长小于或等于接收窗口的时长。Implementation Mode 1: In the case that the first information sent by the first terminal includes the duration of the reception period of the first terminal and the duration of the reception window of the first terminal, the second terminal uses the first duration as the first duration in the first time period. The transmission time interval, and the fourth information is repeatedly transmitted. The duration of the first time period is greater than or equal to the duration of the reception period. The first duration is less than or equal to the duration of the receive window.
实现方式2、在第一终端所发送的第一信息包括第一终端的接收周期的时长和第一终端的接收窗口的时长的情况下,第二终端根据接收周期的时长和第一终端的L2 ID,确定接收窗口的时域偏移值;第二终端根据时域偏移值,确定第一终端的接收窗口的起始时间;第二终端根据接收窗口的起始时间和接收窗口的时长,在第一终端的接收窗口内向第一终端发送第二信息。Implementation Mode 2: In the case where the first information sent by the first terminal includes the duration of the reception period of the first terminal and the duration of the reception window of the first terminal, the second terminal can use the duration of the reception period and the L2 of the first terminal according to ID to determine the time domain offset value of the receiving window; the second terminal determines the start time of the receiving window of the first terminal according to the time domain offset value; the second terminal determines the starting time of the receiving window and the duration of the receiving window according to the The second information is sent to the first terminal within the receiving window of the first terminal.
其中,接收窗口的时域偏移值的计算公式可以参考上述公式(1)。The calculation formula of the time domain offset value of the receiving window may refer to the above formula (1).
应理解,实现方式2适用于第一终端所使用的接收窗口的起始时间根据接收窗口 的时域偏移值来计算的场景下。It should be understood that implementation mode 2 is applicable to the scenario where the start time of the receiving window used by the first terminal is calculated according to the time domain offset value of the receiving window.
实现方式3、在第一终端所发送的第一信息包括第一终端的接收窗口的起始时间和第一终端的接收窗口的时长的情况下,第二终端根据第一终端的接收窗口的起始时间和第一终端的接收窗口的时长,在接收窗口内向第一终端发送第二信息。Implementation Mode 3: In the case where the first information sent by the first terminal includes the start time of the receiving window of the first terminal and the duration of the receiving window of the first terminal, the second terminal can use the start time of the receiving window of the first terminal according to The start time and the duration of the receiving window of the first terminal are used, and the second information is sent to the first terminal within the receiving window.
实现方式4、第二终端根据预配置的第一终端的接收窗口的时长和接收窗口的起始时间,在第一终端的接收窗口内发送第二信息。Implementation Mode 4: The second terminal sends the second information within the receiving window of the first terminal according to the preconfigured duration of the receiving window of the first terminal and the start time of the receiving window.
应理解,上述实现方式1至实现方式4可以由第二终端的V2X层来执行。It should be understood that the above implementation manners 1 to 4 may be performed by the V2X layer of the second terminal.
可选的,第二终端的V2X层可以从第二终端的应用层获取到第一终端的接收窗口配置信息,例如接收窗口的时长、接收周期的时长、接收窗口的起始时间等。Optionally, the V2X layer of the second terminal may obtain the receiving window configuration information of the first terminal from the application layer of the second terminal, such as the duration of the receiving window, the duration of the receiving period, the start time of the receiving window, and the like.
可选的,第二终端的V2X层可以预先存储第一终端的接收窗口配置信息。例如,第二终端在接收到第一信息之后,存储第一信息所包括的第一终端的接收窗口配置信息。Optionally, the V2X layer of the second terminal may pre-store the receiving window configuration information of the first terminal. For example, after receiving the first information, the second terminal stores the receiving window configuration information of the first terminal included in the first information.
S603、第一终端根据第二信息,切换到第一接收模式。S603. The first terminal switches to the first receiving mode according to the second information.
基于图11所示的实施例,第二终端向第一终端发送第二信息,以使得第一终端从第二接收模式切换到第一接收模式。这样一来,第一终端可以及时接收周围其他终端发送的消息,以获知第一终端周围的交通情况,从而保证第一终端的用户的安全。Based on the embodiment shown in FIG. 11 , the second terminal sends the second information to the first terminal, so that the first terminal switches from the second receiving mode to the first receiving mode. In this way, the first terminal can receive messages sent by other surrounding terminals in time, so as to know the traffic situation around the first terminal, so as to ensure the safety of the user of the first terminal.
可选的,在第二信息为PC5信令消息的情况下,图11所示的实施例可以具体实现为图12所示的实施例。图11中的步骤S601可以采用图12中的步骤S701来实现,图11中的步骤S602可以采用图12中的步骤S702-S704来实现,图11中的步骤S603可以采用图12中的步骤S705来实现。Optionally, when the second information is a PC5 signaling message, the embodiment shown in FIG. 11 may be specifically implemented as the embodiment shown in FIG. 12 . Step S601 in FIG. 11 can be implemented by using step S701 in FIG. 12 , step S602 in FIG. 11 can be implemented by using steps S702-S704 in FIG. 12 , and step S603 in FIG. 11 can be implemented by using step S705 in FIG. 12 to realise.
如图12所示,为本申请实施例提供的一种通信方法,该方法包括以下步骤:As shown in FIG. 12 , a communication method provided by an embodiment of the present application includes the following steps:
S701、第二终端的应用层确定将第一终端从第二接收模式切换第一接收模式。S701. The application layer of the second terminal determines to switch the first terminal from the second receiving mode to the first receiving mode.
其中,第一接收模式和第二接收模式可以参考前述实施例中的相关描述,不再赘述。For the first receiving mode and the second receiving mode, reference may be made to the relevant descriptions in the foregoing embodiments, and details are not repeated here.
具体地,第一终端当前处于第二接收模式,第二终端的应用层确定将第一终端切换到第一接收模式。Specifically, the first terminal is currently in the second receiving mode, and the application layer of the second terminal determines to switch the first terminal to the first receiving mode.
S702、第二终端的应用层向第二终端的V2X层发送第六信息。S702. The application layer of the second terminal sends sixth information to the V2X layer of the second terminal.
其中,第六信息用于指示第二终端生成第二信息。第六信息包括第一终端的用户信息。The sixth information is used to instruct the second terminal to generate the second information. The sixth information includes user information of the first terminal.
S703、第二终端的V2X层根据第六信息,生成第二信息。S703. The V2X layer of the second terminal generates the second information according to the sixth information.
应理解,由于第二终端的V2X层之前接收到的第一信息包括第一终端的L2 ID以及第一终端的用户信息,因此第二终端的V2X层可以建立第一终端的L2 ID以及第一终端的用户信息之间的对应关系。从而,第二终端的V2X层可以根据第六信息所包括的第一终端的用户信息,以及预先存储的第一终端的L2 ID以及第一终端的用户信息之间的对应关系,确定第一终端的L2 ID。从而,第二终端的V2X层以第一终端的L2 ID作为第二信息所使用的目的L2 ID。It should be understood that since the first information received before the V2X layer of the second terminal includes the L2 ID of the first terminal and the user information of the first terminal, the V2X layer of the second terminal can establish the L2 ID of the first terminal and the first terminal. Correspondence between the user information of the terminal. Therefore, the V2X layer of the second terminal can determine the first terminal according to the user information of the first terminal included in the sixth information, and the pre-stored correspondence between the L2 ID of the first terminal and the user information of the first terminal 's L2 ID. Therefore, the V2X layer of the second terminal uses the L2 ID of the first terminal as the destination L2 ID used by the second information.
S704、第二终端的V2X层向第一终端的V2X层发送第二信息。S704. The V2X layer of the second terminal sends the second information to the V2X layer of the first terminal.
S705、第一终端的V2X层根据第二信息,指示第一终端的接入层切换到第一接收模式。S705. The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode according to the second information.
作为一种可能的实现,第一终端的V2X层根据第二信息,向第一终端的接入层发送第八息,第八信息用于指示第一终端的接入层切换到第一接收模式。从而,第一终端的接入层根据第八信息,切换到第一接收模式。As a possible implementation, the V2X layer of the first terminal sends eighth information to the access layer of the first terminal according to the second information, and the eighth information is used to instruct the access layer of the first terminal to switch to the first receiving mode . Therefore, the access layer of the first terminal switches to the first receiving mode according to the eighth information.
在本申请实施例中,第一终端的接入层切换到第一接收模式,可以实现为:第一终端的接入层持续在PC5口上接收数据。在此统一说明,以下不再赘述。In this embodiment of the present application, the switching of the access layer of the first terminal to the first receiving mode may be implemented as follows: the access layer of the first terminal continues to receive data on the PC5 port. Here, a unified description is provided, and details are not repeated below.
基于图12所示的技术方案,由于第二信息是PC5信令消息,第一终端的V2X层具备解析PC5信令消息的能力。因此,第一终端的V2X层在接收到第二信息之后,可以直接根据第二信息,切换到第一接收模式。Based on the technical solution shown in FIG. 12 , since the second information is a PC5 signaling message, the V2X layer of the first terminal has the ability to parse the PC5 signaling message. Therefore, after receiving the second information, the V2X layer of the first terminal can switch to the first receiving mode directly according to the second information.
可选的,如图12所示,该方法在步骤S705之后还包括步骤S706。Optionally, as shown in FIG. 12, the method further includes step S706 after step S705.
S706、第一终端的V2X层还可以向第一终端的应用层发送第五信息。S706. The V2X layer of the first terminal may also send fifth information to the application layer of the first terminal.
其中,该第五信息用于指示第一终端已切换到第一接收模式。Wherein, the fifth information is used to indicate that the first terminal has switched to the first receiving mode.
基于步骤S706,第一终端的应用层可以获知第一终端已切换到第一接收模式。Based on step S706, the application layer of the first terminal may learn that the first terminal has switched to the first receiving mode.
可选的,当第二信息为V2X消息时,图11所示的技术方案可以具体实现为图13所示的技术方案。图11中的步骤S601可以采用图13中的步骤S801来实现,图11中的步骤S602可以采用图13中的步骤S802-S803来实现,图11中的步骤S603可以采用图13中的步骤S804-S806来实现。Optionally, when the second information is a V2X message, the technical solution shown in FIG. 11 may be specifically implemented as the technical solution shown in FIG. 13 . Step S601 in FIG. 11 can be implemented by using step S801 in FIG. 13 , step S602 in FIG. 11 can be implemented by using steps S802-S803 in FIG. 13 , and step S603 in FIG. 11 can be implemented by using step S804 in FIG. 13 -S806 to achieve.
如图13所示,为本申请实施例提供的一种通信方法,该方法包括以下步骤:As shown in FIG. 13 , a communication method provided by an embodiment of the present application includes the following steps:
S801、第二终端的应用层确定将第一终端从第二接收模式切换到第一接收模式。S801. The application layer of the second terminal determines to switch the first terminal from the second receiving mode to the first receiving mode.
其中,步骤S801的具体实现可以参考步骤S701的描述,在此不再赘述。The specific implementation of step S801 may refer to the description of step S701, which is not repeated here.
S802、第二终端的应用层向第二终端的V2X层发送第二信息。S802. The application layer of the second terminal sends the second information to the V2X layer of the second terminal.
其中,第二信息的描述可以参考前文,在此不再赘述。For the description of the second information, reference may be made to the foregoing description, which will not be repeated here.
S803、第二终端的V2X层向第一终端的V2X层发送第二信息。S803. The V2X layer of the second terminal sends the second information to the V2X layer of the first terminal.
S804、第一终端的V2X层向第一终端的应用层发送第二信息。S804. The V2X layer of the first terminal sends the second information to the application layer of the first terminal.
S805、第一终端的应用层根据第二信息,向第一终端的V2X层发送第四信息。S805. The application layer of the first terminal sends fourth information to the V2X layer of the first terminal according to the second information.
其中,第四信息用于将第一终端切换到第一接收模式。The fourth information is used to switch the first terminal to the first receiving mode.
S806、第一终端的V2X层根据第四信息,指示第一终端的接入层切换到第一接收模式。S806. The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode according to the fourth information.
作为一种可能的实现,第一终端的V2X层根据第四信息,向第一终端的接入层发送第八信息,第八信息用于指示第一终端的接入层切换到第一接收模式。从而,第一终端的接入层根据第八信息,切换到第一接收模式。As a possible implementation, the V2X layer of the first terminal sends eighth information to the access layer of the first terminal according to the fourth information, where the eighth information is used to instruct the access layer of the first terminal to switch to the first receiving mode . Therefore, the access layer of the first terminal switches to the first receiving mode according to the eighth information.
上述主要从方法的角度对本申请实施例提供的方案进行了介绍。可以理解的是,终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The solutions provided by the embodiments of the present application have been introduced above mainly from the perspective of methods. It can be understood that, in order to realize the above-mentioned functions, the terminal includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in conjunction with the algorithm steps of the examples described in the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对终端进行功能模块的划分,例如,可以对应每一个功能划分每一个功能模块,也可以将两个或两个以上的功能集成在一个处理 模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。下面以采用对应每一个功能划分每一个功能模块为例进行说明:In this embodiment of the present application, the terminal may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation. The following is an example of dividing each function module corresponding to each function to illustrate:
如图14所示,为本申请实施例提供的一种通信装置,该通信装置包括:处理模块201和通信模块202。As shown in FIG. 14 , a communication apparatus provided by an embodiment of the present application includes: a processing module 201 and a communication module 202 .
一种示例中,该通信装置为上述第一终端,或者为应用于第一终端中的芯片。这种情况下,处理模块201用于支持第一终端执行图6中的步骤S101,图7中的步骤S201-S204,图8(a)中的步骤S301-S303,图8(b)中的步骤S304,图9中的步骤S401-S403,图10中的步骤S501-S504,图11中的步骤S603,图12中的步骤S705,图13中的步骤S804-S806。通信模块202用于支持第一终端执行图6中的步骤S102,图11中的步骤S602,图12中的步骤S704,图13中的步骤S803。In an example, the communication device is the above-mentioned first terminal, or a chip applied in the first terminal. In this case, the processing module 201 is configured to support the first terminal to perform step S101 in FIG. 6 , steps S201-S204 in FIG. 7 , steps S301-S303 in FIG. Step S304, steps S401-S403 in FIG. 9, steps S501-S504 in FIG. 10, step S603 in FIG. 11, step S705 in FIG. 12, steps S804-S806 in FIG. 13. The communication module 202 is configured to support the first terminal to perform step S102 in FIG. 6 , step S602 in FIG. 11 , step S704 in FIG. 12 , and step S803 in FIG. 13 .
另一种示例中,该通信装置为上述第二终端,或者为应用于第二终端中的芯片。这种情况下,处理模块201用于支持第二终端执行图6中的步骤S104,图11中的步骤S601,图12中的步骤S701-S703,图13中的步骤S801和S802。通信模块202用于支持第二终端执行图6中的步骤S103,图11中的步骤S602,图12中的步骤S704,图13中的步骤S803。In another example, the communication device is the above-mentioned second terminal, or a chip applied in the second terminal. In this case, the processing module 201 is configured to support the second terminal to perform step S104 in FIG. 6 , step S601 in FIG. 11 , steps S701-S703 in FIG. 12 , and steps S801 and S802 in FIG. 13 . The communication module 202 is configured to support the second terminal to perform step S103 in FIG. 6 , step S602 in FIG. 11 , step S704 in FIG. 12 , and step S803 in FIG. 13 .
在一种可能的实施例中,该通信装置还包括存储模块203。存储模块用于存储通信装置可的程序代码和数据。In a possible embodiment, the communication device further includes a storage module 203 . The storage module is used to store program codes and data that can be used by the communication device.
作为一个示例,结合图4的通信装置,图14中的处理模块201可以由图4中的处理器101来实现,图14中的通信模块202可以由图4中的通信接口103来实现,图14中的存储模块203可以由图4中的存储器104来实现。As an example, in conjunction with the communication apparatus in FIG. 4 , the processing module 201 in FIG. 14 may be implemented by the processor 101 in FIG. 4 , and the communication module 202 in FIG. 14 may be implemented by the communication interface 103 in FIG. 4 . The storage module 203 in FIG. 14 may be implemented by the memory 104 in FIG. 4 .
本申请实施例提供一种通信系统,该通信系统包括第一终端和第二终端。第一终端用于执行图6至图13所示的方法。第二终端用于执行图6、图11至图13所示的方法。An embodiment of the present application provides a communication system, where the communication system includes a first terminal and a second terminal. The first terminal is used to execute the methods shown in FIG. 6 to FIG. 13 . The second terminal is used to execute the methods shown in FIG. 6 and FIG. 11 to FIG. 13 .
本申请实施例还提供一种计算机可读存储介质,其上存储有指令,该指令被执行时执行上述方法实施例中的方法。The embodiments of the present application further provide a computer-readable storage medium, on which instructions are stored, and when the instructions are executed, the methods in the foregoing method embodiments are performed.
本申请实施例还提供一种包含指令的计算机程序产品,该指令被执行时执行上述方法实施例中的方法。The embodiments of the present application further provide a computer program product including an instruction, when the instruction is executed, the method in the foregoing method embodiment is performed.
本申请实施例再提供一种芯片,该芯片包括处理器,用于实现本发明实施例的技术方法。在一种可能的设计中,该芯片还包括存储器,用于保存本发明实施例通信设备必要的程序指令和/或数据。在一种可能的设计中,该芯片还包括存储器,用于处理器调用存储器中存储的应用程序代码。该芯片,可以由一个或多个芯片构成,也可以包含芯片和其他分立器件,本申请实施例对此不作具体限定。An embodiment of the present application further provides a chip, where the chip includes a processor for implementing the technical method of the embodiment of the present invention. In a possible design, the chip further includes a memory for storing necessary program instructions and/or data of the communication device according to the embodiment of the present invention. In one possible design, the chip also includes memory for the processor to invoke application code stored in the memory. The chip may be composed of one or more chips, or may include chips and other discrete devices, which are not specifically limited in this embodiment of the present application.
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM、闪存、ROM、可擦除可编程只读存储器(erasable programmable ROM,EPROM)、电可擦可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任 何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。或者,存储器可以与处理器耦合,例如存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。存储器可以用于存储执行本申请实施例提供的技术方案的应用程序代码,并由处理器来控制执行。处理器用于执行存储器中存储的应用程序代码,从而实现本申请实施例提供的技术方案。The steps of the methods or algorithms described in conjunction with the disclosure of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in RAM, flash memory, ROM, erasable programmable read-only memory (erasable programmable read-only memory, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium may reside in an ASIC. Alternatively, the ASIC may be located in the core network interface device. Of course, the processor and the storage medium may also exist in the core network interface device as discrete components. Alternatively, the memory may be coupled to the processor, eg, the memory may exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor. The memory may be used to store application code for executing the technical solutions provided by the embodiments of the present application, and the execution is controlled by the processor. The processor is configured to execute the application program code stored in the memory, thereby implementing the technical solutions provided by the embodiments of the present application.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be Incorporation may either be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or may be distributed to multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the protection scope of the present application. . Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (30)

  1. 一种通信方法,其特征在于,所述方法包括:A communication method, characterized in that the method comprises:
    第一终端从第一接收模式切换到第二接收模式,所述第一接收模式用于所述第一终端在PC5口上持续接收数据,所述第二接收模式用于所述第一终端在接收周期的接收窗口内在PC5口上接收数据;The first terminal switches from the first receiving mode to the second receiving mode, where the first receiving mode is used for the first terminal to continuously receive data on the PC5 port, and the second receiving mode is used when the first terminal is receiving data. Receive data on the PC5 port within the periodic receive window;
    所述第一终端广播第一信息,所述第一信息用于表征所述第一终端处于所述第二接收模式。The first terminal broadcasts first information, where the first information is used to indicate that the first terminal is in the second receiving mode.
  2. 根据权利要求1所述的方法,其特征在于,所述第一信息包括所述第一终端的用户信息;The method according to claim 1, wherein the first information comprises user information of the first terminal;
    所述第一信息还包括以下参数中的一项或多项:所述接收窗口的时长、所述接收周期的时长、所述接收窗口的起始时间、所述接收周期的起始时间、或者接收模式信息;The first information also includes one or more of the following parameters: the duration of the receive window, the duration of the receive cycle, the start time of the receive window, the start time of the receive cycle, or receive mode information;
    其中,所述接收模式信息用于指示所述第一终端所处的接收模式。The reception mode information is used to indicate the reception mode in which the first terminal is located.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一终端从第一接收模式切换到第二接收模式,包括:The method according to claim 1 or 2, wherein the switching of the first terminal from the first receiving mode to the second receiving mode comprises:
    所述第一终端的车联网V2X层接收第三信息,所述第三信息用于将所述第一终端切换到所述第二接收模式;The IoV V2X layer of the first terminal receives third information, where the third information is used to switch the first terminal to the second receiving mode;
    所述第一终端的V2X层根据所述第三信息,指示所述第一终端的接入层切换到所述第二接收模式。The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second reception mode according to the third information.
  4. 根据权利要求3所述的方法,其特征在于,所述第三信息包括所述接收周期的时长和所述接收窗口的时长。The method according to claim 3, wherein the third information includes the duration of the reception cycle and the duration of the reception window.
  5. 根据权利要求3或4所述的方法,其特征在于,所述方法还包括:The method according to claim 3 or 4, wherein the method further comprises:
    所述第一终端的应用层将所述第一终端从所述第一接收模式切换到所述第二接收模式;The application layer of the first terminal switches the first terminal from the first reception mode to the second reception mode;
    所述第一终端的应用层向所述第一终端的V2X层发送所述第三信息。The application layer of the first terminal sends the third information to the V2X layer of the first terminal.
  6. 根据权利要求5所述的方法,其特征在于,所述第一终端的应用层确定将所述第一终端从所述第一接收模式切换到所述第二接收模式,包括:The method according to claim 5, wherein the determination by the application layer of the first terminal to switch the first terminal from the first receiving mode to the second receiving mode comprises:
    所述第一终端的应用层确定所述第一终端不存在安全风险。The application layer of the first terminal determines that the first terminal does not have a security risk.
  7. 根据权利要求6所述的方法,其特征在于,所述第一终端的应用层确定所述第一终端不存在安全风险,包括:The method according to claim 6, wherein the application layer of the first terminal determines that the first terminal does not have a security risk, comprising:
    所述第一终端的应用层获取至少一个第二终端的运动信息;The application layer of the first terminal acquires motion information of at least one second terminal;
    所述第一终端的应用层获取所述第一终端的运动信息;The application layer of the first terminal acquires the motion information of the first terminal;
    所述第一终端的应用层根据所述第一终端的运动信息以及所述至少一个第二终端的运动信息,确定所述第一终端不存在安全风险。The application layer of the first terminal determines that the first terminal does not have a security risk according to the motion information of the first terminal and the motion information of the at least one second terminal.
  8. 根据权利要求7所述的方法,其特征在于,所述第一终端的应用层根据所述第一终端的运动信息以及所述至少一个第二终端的运动信息,确定所述第一终端不存在安全风险,包括:The method according to claim 7, wherein the application layer of the first terminal determines that the first terminal does not exist according to the motion information of the first terminal and the motion information of the at least one second terminal Security risks, including:
    所述第一终端的应用层根据所述第一终端的运动信息和所述至少一个第二终端的运动信息,确定所述至少一个第二终端中的任意一个第二终端满足第一预设条件。The application layer of the first terminal determines, according to the motion information of the first terminal and the motion information of the at least one second terminal, that any one of the at least one second terminal satisfies the first preset condition .
  9. 根据权利要求8所述的方法,其特征在于,所述第一预设条件包括以下一项或者多项的组合:The method according to claim 8, wherein the first preset condition comprises a combination of one or more of the following:
    所述第二终端与所述第一终端之间的相对距离大于或等于第一预设值;The relative distance between the second terminal and the first terminal is greater than or equal to a first preset value;
    所述第二终端与所述第一终端之间的相对速度小于或等于第二预设值;The relative speed between the second terminal and the first terminal is less than or equal to a second preset value;
    所述第二终端与所述第一终端之间发生碰撞的置信度小于或等于第三预设值;或者,The confidence of the collision between the second terminal and the first terminal is less than or equal to a third preset value; or,
    所述第二终端的预测运动轨迹和所述第一终端的预测运动轨迹没有交点。The predicted motion trajectory of the second terminal and the predicted motion trajectory of the first terminal have no intersection.
  10. 根据权利要求1至9任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 9, wherein the method further comprises:
    所述第一终端从所述第二接收模式切换到所述第一接收模式。The first terminal switches from the second reception mode to the first reception mode.
  11. 根据权利要求10所述的方法,其特征在于,所述第一终端从所述第二接收模式切换到所述第一接收模式,包括:The method according to claim 10, wherein the switching of the first terminal from the second reception mode to the first reception mode comprises:
    所述第一终端的V2X层接收第四信息,所述第四信息用于将所述第一终端切换到所述第一接收模式;The V2X layer of the first terminal receives fourth information, where the fourth information is used to switch the first terminal to the first receiving mode;
    所述第一终端的V2X层根据所述第四信息,指示所述第一终端的接入层切换到所述第一接收模式。The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first reception mode according to the fourth information.
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, wherein the method further comprises:
    所述第一终端的应用层确定将所述第一终端从所述第二接收模式切换到所述第一接收模式;The application layer of the first terminal determines to switch the first terminal from the second reception mode to the first reception mode;
    所述第一终端的应用层向所述第一终端的V2X层发送所述第四信息。The application layer of the first terminal sends the fourth information to the V2X layer of the first terminal.
  13. 根据权利要求12所述的方法,其特征在于,所述第一终端的应用层确定将所述第一终端从所述第二接收模式切换到所述第一接收模式,包括:The method according to claim 12, wherein the determining by the application layer of the first terminal to switch the first terminal from the second receiving mode to the first receiving mode comprises:
    所述第一终端的应用层确定所述第一终端存在安全风险。The application layer of the first terminal determines that the first terminal has a security risk.
  14. 根据权利要求10所述的方法,其特征在于,在所述第一终端从所述第二接收模式切换到所述第一接收模式之前,所述方法还包括:The method according to claim 10, wherein before the first terminal switches from the second receiving mode to the first receiving mode, the method further comprises:
    所述第一终端在接收窗口内接收到所述第二终端发送的第二信息,所述第二信息用于触发所述第一终端从所述第二接收模式切换到所述第一接收模式。The first terminal receives second information sent by the second terminal within the receiving window, where the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode .
  15. 根据权利要求14所述的方法,其特征在于,所述第一终端从所述第二接收模式切换到所述第一接收模式,包括:The method according to claim 14, wherein the switching of the first terminal from the second reception mode to the first reception mode comprises:
    所述第一终端的V2X层根据所述第二信息,指示所述第一终端的接入层切换到所述第一接收模式。The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first reception mode according to the second information.
  16. 一种通信方法,其特征在于,所述方法包括:A communication method, characterized in that the method comprises:
    第二终端确定将处于第二接收模式的第一终端切换到第一接收模式,所述第二接收模式用于所述第一终端在每一个接收周期的接收窗口内在PC5口上接收数据,所述第一接收模式用于所述第一终端在PC5口上持续接收数据;The second terminal determines to switch the first terminal in the second receiving mode to the first receiving mode, where the second receiving mode is used for the first terminal to receive data on the PC5 port within the receiving window of each receiving period, and the The first receiving mode is used for the first terminal to continuously receive data on the PC5 port;
    所述第二终端向所述第一终端发送第二信息,所述第二信息用于触发所述第一终端从所述第二接收模式切换到第一接收模式。The second terminal sends second information to the first terminal, where the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode.
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method of claim 16, wherein the method further comprises:
    所述第二终端接收所述第一终端发送的第一信息,所述第一信息用于所述第一终端处于第二接收模式。The second terminal receives the first information sent by the first terminal, where the first information is used for the first terminal to be in the second receiving mode.
  18. 根据权利要求17所述的方法,其特征在于,所述第一信息包括所述第一终端的用户信息;The method according to claim 17, wherein the first information comprises user information of the first terminal;
    所述第一信息还包括以下参数中的一项或多项:所述第一终端的接收窗口的时长、所述第一终端的接收周期的时长、所述第一终端的接收窗口的起始时间、所述第一终端的接收周期的起始时间、或者接收模式信息;The first information further includes one or more of the following parameters: the duration of the reception window of the first terminal, the duration of the reception period of the first terminal, the start of the reception window of the first terminal time, the start time of the reception cycle of the first terminal, or reception mode information;
    其中,所述接收模式信息用于指示所述第一终端所处的接收模式。The reception mode information is used to indicate the reception mode in which the first terminal is located.
  19. 根据权利要求18所述的方法,其特征在于,在所述第一信息包括所述第一终端的接收周期的时长和所述第一终端的接收周期的时长的情况下,所述第二终端向所述第一终端发送第二信息,包括:The method according to claim 18, wherein when the first information includes the duration of the reception period of the first terminal and the duration of the reception period of the first terminal, the second terminal Sending second information to the first terminal includes:
    所述第二终端在第一时间段内以第一时长作为发送时间间隔,重复地发送所述第四信息,所述第一时间段的时长大于或等于所述第一终端的接收周期的时长,所述第一时长小于或等于所述第一终端的接收窗口的时长。The second terminal repeatedly sends the fourth information with a first duration as a sending time interval in a first time period, and the duration of the first time period is greater than or equal to the duration of the receiving cycle of the first terminal , the first duration is less than or equal to the duration of the receiving window of the first terminal.
  20. 根据权利要求18所述的方法,其特征在于,所述第一信息所使用的源层2标识为所述第一终端的层2标识;The method according to claim 18, wherein the source layer 2 identifier used by the first information is the layer 2 identifier of the first terminal;
    在所述第一信息包括所述第一终端的接收周期的时长和所述第一终端的接收周期的时长的情况下,所述第二终端向所述第一终端发送第二信息,包括:When the first information includes the duration of the reception period of the first terminal and the duration of the reception period of the first terminal, the second terminal sends the second information to the first terminal, including:
    所述第二终端根据所述接收周期的时长和所述第一终端的层2标识,确定所述接收窗口的时域偏移值;The second terminal determines the time domain offset value of the receiving window according to the duration of the receiving period and the layer 2 identifier of the first terminal;
    所述第二终端根据所述时域偏移值,确定所述第一终端的接收窗口的起始时间;The second terminal determines the start time of the receiving window of the first terminal according to the time domain offset value;
    所述第二终端根据所述接收窗口的起始时间和所述接收窗口的时长,在所述第一终端的接收窗口内向所述第一终端发送所述第二信息。The second terminal sends the second information to the first terminal within the receiving window of the first terminal according to the start time of the receiving window and the duration of the receiving window.
  21. 根据权利要求18所述的方法,其特征在于,在所述第一信息包括所述第一终端的接收窗口的时长和所述第一终端的接收窗口的起始时间的情况下,所述第二终端向所述第一终端发送第二信息,包括:The method according to claim 18, wherein when the first information includes the duration of the reception window of the first terminal and the start time of the reception window of the first terminal, the first information The second terminal sends second information to the first terminal, including:
    所述第二终端根据所述第一终端的接收窗口的时长和所述第一终端的接收窗口的起始时间,在所述第一终端的接收窗口内向所述第一终端发送所述第二信息。The second terminal sends the second terminal to the first terminal within the receiving window of the first terminal according to the duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal. information.
  22. 根据权利要求16至18任一项所述的方法,其特征在于,所述第二终端向所述第一终端发送第二信息,包括:The method according to any one of claims 16 to 18, wherein the sending, by the second terminal, the second information to the first terminal comprises:
    所述第二终端根据预先配置的所述第一终端的接收窗口的时长和所述第一终端的接收窗口的起始时间,在所述第一终端的接收窗口内向所述第一终端发送所述第二信息。The second terminal sends the information to the first terminal within the receiving window of the first terminal according to the preconfigured duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal. the second information.
  23. 根据权利要求16至22任一项所述的方法,其特征在于,所述第二终端确定将处于第二接收模式的第一终端切换到第一接收模式,包括:The method according to any one of claims 16 to 22, wherein the second terminal determining to switch the first terminal in the second receiving mode to the first receiving mode comprises:
    所述第二终端确定所述第一终端存在安全风险。The second terminal determines that the first terminal has a security risk.
  24. 根据权利要求23所述的方法,其特征在于,所述第二终端确定所述第一终端存在安全风险,包括:The method according to claim 23, wherein determining, by the second terminal, that the first terminal has a security risk, comprising:
    所述第二终端获取所述第一终端的运动信息和所述第二终端的运动信息;acquiring, by the second terminal, the motion information of the first terminal and the motion information of the second terminal;
    所述第二终端根据所述第一终端的运动信息和所述第二终端的运动信息,确定所述第二终端不符合第一预设条件。The second terminal determines that the second terminal does not meet the first preset condition according to the motion information of the first terminal and the motion information of the second terminal.
  25. 根据权利要求24所述的方法,其特征在于,所述第一预设条件包括以下一项或者多项的组合:The method according to claim 24, wherein the first preset condition comprises a combination of one or more of the following:
    所述第二终端与所述第一终端之间的相对距离大于或等于第一预设值;The relative distance between the second terminal and the first terminal is greater than or equal to a first preset value;
    所述第二终端与所述第一终端之间的相对速度小于或等于第二预设值;The relative speed between the second terminal and the first terminal is less than or equal to a second preset value;
    所述第二终端与所述第一终端之间发生碰撞的置信度小于或等于第三预设值;或者,The confidence of the collision between the second terminal and the first terminal is less than or equal to a third preset value; or,
    所述第二终端的预测运动轨迹和所述第一终端的预测运动轨迹没有交点。The predicted motion trajectory of the second terminal and the predicted motion trajectory of the first terminal have no intersection.
  26. 根据权利要求23所述的方法,其特征在于,所述第二终端确定所述第一终端存在安全风险,包括:The method according to claim 23, wherein determining, by the second terminal, that the first terminal has a security risk, comprising:
    所述第二终端确定所述第二终端处于失控状态。The second terminal determines that the second terminal is in a runaway state.
  27. 根据权利要求16至26任一项所述的方法,其特征在于,所述第二信息包括所述第一终端的用户信息。The method according to any one of claims 16 to 26, wherein the second information includes user information of the first terminal.
  28. 一种通信装置,其特征在于,所述通信装置包括用于执行权利要求1至27中任一项所涉及的方法中的各个步骤的单元。A communication device, characterized in that, the communication device includes a unit for executing each step in the method according to any one of claims 1 to 27.
  29. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储计算机指令,当所述计算机指令在计算机上运行时,使得所述计算机执行权利要求1至27任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, which, when the computer instructions are executed on a computer, cause the computer to execute the method described in any one of claims 1 to 27. method.
  30. 一种芯片,其特征在于,所述芯片包括处理单元和收发管脚;所述处理单元用于执行权利要求1至27中任一项所涉及的方法中的处理操作,所述收发管脚用于执行权利要求1至27中任一项所涉及的方法中的通信操作。A chip, characterized in that the chip includes a processing unit and a transceiver pin; the processing unit is used to perform the processing operation in the method according to any one of claims 1 to 27, and the transceiver pin is used for in performing the communication operation in the method of any one of claims 1 to 27.
PCT/CN2020/108749 2020-08-12 2020-08-12 Communication method and apparatus WO2022032545A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/108749 WO2022032545A1 (en) 2020-08-12 2020-08-12 Communication method and apparatus
CN202080101550.6A CN115669003A (en) 2020-08-12 2020-08-12 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/108749 WO2022032545A1 (en) 2020-08-12 2020-08-12 Communication method and apparatus

Publications (1)

Publication Number Publication Date
WO2022032545A1 true WO2022032545A1 (en) 2022-02-17

Family

ID=80246681

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/108749 WO2022032545A1 (en) 2020-08-12 2020-08-12 Communication method and apparatus

Country Status (2)

Country Link
CN (1) CN115669003A (en)
WO (1) WO2022032545A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672628A (en) * 2018-12-21 2019-04-23 北京千方科技股份有限公司 A kind of V2X data package processing method, device, equipment and storage medium
CN111148236A (en) * 2018-11-02 2020-05-12 华为技术有限公司 Data transmission method and device
CN111163437A (en) * 2018-11-08 2020-05-15 电信科学技术研究院有限公司 Communication monitoring method and communication equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148236A (en) * 2018-11-02 2020-05-12 华为技术有限公司 Data transmission method and device
CN111163437A (en) * 2018-11-08 2020-05-15 电信科学技术研究院有限公司 Communication monitoring method and communication equipment
CN109672628A (en) * 2018-12-21 2019-04-23 北京千方科技股份有限公司 A kind of V2X data package processing method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZTE CORPORATION, SANECHIPS: "Discussion on PC5 RRC procedure for unicast", 3GPP DRAFT; R2-1912385 DISCUSSION ON PC5 RRC PROCEDURE FOR UNICAST, vol. RAN WG2, 3 October 2019 (2019-10-03), Chongqing, China, pages 1 - 10, XP051790430 *

Also Published As

Publication number Publication date
CN115669003A (en) 2023-01-31

Similar Documents

Publication Publication Date Title
US11240647B2 (en) Efficient vehicular services
EP3349514B1 (en) Internet of vehicles communication control method and device
CN109152076B (en) Method, device and system for scheduling communication resources
WO2019149080A1 (en) Method and apparatus for acquiring link quality
WO2017133644A1 (en) Path selection method and apparatus, device, and computer storage medium
KR20220140605A (en) Sidelink relay communication methods, devices, installations and media
WO2017136627A1 (en) Efficient multicast broadcast transmission and reception
CN108632787B (en) Inter-group communication method and device, resource allocation method, device and system
US20190075559A1 (en) Resource scheduling method and terminal device
WO2017177699A1 (en) Communication interval configuration method and device, storage medium, and apparatus
EP3668210A1 (en) Method and device for configuring wireless resource pool
WO2019196553A1 (en) Service transmission and receiving method, apparatus, and storage medium
US11510118B2 (en) Server switching method and apparatus, and communications system
WO2019223639A1 (en) Wireless communication method and device
WO2016206458A1 (en) Method and apparatus for processing alarm information in internet of vehicles
WO2017028603A1 (en) Telematics information transmission method, apparatus and system
CN106358274B (en) Message transmission power saving method and related equipment
WO2017084481A1 (en) Device-to-device (d2d) communication configuration resource processing method and apparatus
US20240172038A1 (en) Traffic communication pattern mapping
JP7444969B2 (en) Sidelink RRC procedure
WO2022032545A1 (en) Communication method and apparatus
EP4319207A1 (en) Communication method and apparatus, and related device
US20220322262A1 (en) Method, apparatus, and system for signal synchronization
CN115769608A (en) Configuration of radio connections in a multi-RAT network
CA3230485A1 (en) Configuring a high-risk zone

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: 20949044

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: 20949044

Country of ref document: EP

Kind code of ref document: A1