Communication method and device

By switching the receiving mode in the V2X terminal, especially receiving data and broadcasting information within the receiving window, the problem of limited battery capacity is solved, and the effect of reducing power consumption and taking safety into consideration is achieved.

CN115669003BActive Publication Date: 2025-09-12HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202080101550.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-12
Publication Date
2025-09-12
Estimated Expiration
2040-08-12

AI Technical Summary

Technical Problem

The battery capacity of V2X terminals is limited, and how to reduce power consumption to extend usage time is an urgent problem to be solved.

Method used

By switching between receiving modes, specifically switching from a first receiving mode (such as a full receiving mode) to a second receiving mode (such as an incomplete receiving mode or a paused receiving mode), data is received within a receiving window and information is broadcast to characterize the current mode, thereby reducing unnecessary data reception time and reducing power consumption.

Benefits of technology

It effectively reduces the power consumption of the terminal, takes into account both security and power saving, ensures that important messages are received at the right time, and improves the terminal's battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115669003B_ABST
    Figure CN115669003B_ABST
Patent Text Reader

Abstract

A communication method and apparatus, relating to the field of V2X technology, is used to reduce the power consumption of V2X terminals. The method comprises: a first terminal switching from a first receiving mode to a second receiving mode, wherein 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 on the PC5 port within a receiving window of a receiving cycle; and the first terminal broadcasting first information, wherein the first information is used to indicate that the first terminal is in the second receiving mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle to everything (V2X) technology, and in particular to a communication method and device. Background Art

[0002] V2X technology is a key technology for future intelligent transportation systems. It enables communication between vehicles and between vehicles and base stations, allowing vehicles to obtain real-time traffic information, including road conditions, pedestrian information, and more. This can effectively improve driving safety, reduce congestion, increase traffic efficiency, and provide in-vehicle entertainment information.

[0003] In V2X communication scenarios, some V2X terminals have limited battery capacity. Reducing power consumption to extend the life of these terminals is a pressing technical challenge. Summary of the Invention

[0004] The present application provides a communication method that can be used to reduce the power consumption of a V2X terminal.

[0005] In a first aspect, a communication method is provided, which includes: a first terminal switches from a first receiving mode to a second receiving mode, the first receiving mode being used for the first terminal to continuously receive data on the PC5 port, and the second receiving mode being used for the first terminal to receive data on the PC5 port within a receiving window of each receiving cycle; the first terminal broadcasts first information, and the first information is used to indicate that the first terminal is in the second receiving mode.

[0006] Based on the above technical solution, since the first terminal switches from the first receiving mode to the second receiving mode, it only receives data on the PC5 port within the receiving window, thereby reducing the time required for the first terminal to receive data and lowering its power consumption. Furthermore, the first terminal broadcasts the first information so that other terminals in the vicinity of the first terminal are aware that the first terminal is in the second receiving mode. This allows other terminals in the vicinity to send data to the first terminal at appropriate times, preventing the first terminal from missing important messages from other terminals in the vicinity. This achieves both security and power conservation for the first terminal.

[0007] In one 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 length of the receiving window, the length of the receiving cycle, the start time of the receiving window, the start time of the receiving cycle, or receiving mode information; the receiving mode information is used to indicate the receiving mode of the first terminal.

[0008] In one possible design, the first terminal switches from a first receiving mode to a second receiving mode, including: the V2X layer of the first terminal receives third information, where the third information is used to indicate switching to the second receiving mode; and the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second receiving mode.

[0009] In one possible design, the third information includes the duration of the first terminal's receiving cycle and the duration of the first terminal's receiving window. In this way, the V2X layer of the first terminal can determine the duration of the receiving cycle and the duration of the receiving window used in the second receiving mode based on the third information.

[0010] In one possible design, the method also includes: the application layer of the first terminal determines to switch the first terminal from the first receiving mode to the second receiving mode; and the application layer of the first terminal sends third information to the V2X layer of the first terminal.

[0011] In one possible design, the application layer of the first terminal determines to switch the first terminal from the first receiving mode to the second receiving mode, including: the application layer of the first terminal determines that the first terminal does not pose a security risk. In this way, the first terminal can use the second receiving mode when there is no security risk, thereby achieving both power conservation and security.

[0012] In one possible design, the application layer of a first terminal determines that the first terminal does not pose a security risk, including: the application layer of the first terminal obtains motion information of at least one second terminal; the application layer of the first terminal obtains the motion information of the first terminal; and the application layer of the first terminal determines that the first terminal does not pose a security risk based on the motion information of the first terminal and the motion information of the at least one second terminal. It is understood that the motion information of the at least one second terminal can reflect the surrounding traffic conditions. Therefore, based on the motion information of the at least one second terminal, the first terminal can effectively determine whether the surrounding traffic environment poses a security threat to the first terminal.

[0013] In one possible design, the application layer of the first terminal determines that there is no security risk for the first terminal based on 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 determines that any one of the at least one second terminal meets the first preset condition based on the motion information of the first terminal and the motion information of at least one second terminal.

[0014] In one possible design, the first preset condition includes one or more of the following combinations:

[0015] The relative distance between the second terminal and the first terminal is greater than or equal to a first preset value;

[0016] The relative speed between the second terminal and the first terminal is less than or equal to a second preset value;

[0017] The confidence level of a collision between the second terminal and the first terminal is less than or equal to a third preset value; or,

[0018] The predicted motion trajectory of the second terminal and the predicted motion trajectory of the first terminal have no intersection.

[0019] It should be understood that when the first preset condition is met, the collision risk between the first terminal and the second terminal is relatively small.

[0020] In one possible design, the method includes: the first terminal switches from the second receiving mode to the first receiving mode.

[0021] In one possible design, the first terminal switches 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.

[0022] In one possible design, the method also includes: the application layer of the first terminal determines to switch the first terminal from the second receiving mode to the first receiving mode; and the application layer of the first terminal sends fourth information to the V2X layer of the first terminal.

[0023] In one possible design, the application layer of the first terminal determines to switch the first terminal from the second receiving mode to the first receiving mode, including: the application layer of the first terminal determines that there is a security risk in the first terminal.

[0024] In one possible design, before the first terminal switches from the second receiving mode to the first receiving mode, the method also includes: the first terminal receives second information sent by the second terminal within the receiving window, and the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode.

[0025] In one possible design, the first terminal switches from the second receiving mode to the first receiving mode, including: the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode based on the second information.

[0026] In a second aspect, a communication method is provided, which includes: the second terminal determines 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 cycle; the second terminal sends second information to the first terminal, and 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.

[0027] Based on the above technical solution, the second terminal sends the second information to the first terminal, causing the first terminal to switch from the second receiving mode to the first receiving mode. In this way, the first terminal in the first receiving mode can promptly receive messages sent by other terminals in the surrounding area to understand the traffic conditions around the first terminal, thereby ensuring the safety of the user of the first terminal.

[0028] In one possible design, the method also includes: the second terminal receives first information sent by the first terminal, and the first information is used for the first terminal to be in a second receiving mode.

[0029] In one 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 receiving window of the first terminal, the length of the receiving cycle of the first terminal, the start time of the receiving window of the first terminal, the start time of the receiving cycle of the first terminal, or receiving mode information; the receiving mode information is used to indicate the receiving mode of the first terminal.

[0030] In one possible design, when the first information includes the duration of the first terminal's receiving cycle and the duration of the first terminal's receiving cycle, the second terminal sends the second information to the first terminal, including: the second terminal repeatedly sends the second information within a first time period with the first duration as the sending time interval, the duration of the first time period is greater than or equal to the duration of the first terminal's receiving cycle, and the first duration is less than or equal to the duration of the first terminal's receiving 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, ensuring that the first terminal can receive the second information.

[0031] In one possible design, the source layer 2 identity (L2 ID) used in the first information is the layer 2 identity of the first terminal. When the first information includes the duration of the first terminal's receiving period and the duration of the first terminal's receiving period, the second terminal sends second information to the first terminal, including: the second terminal determines a time domain offset value of a receiving window based on the duration of the receiving period and the layer 2 identity of the first terminal; the second terminal determines a start time of the first terminal's receiving window based on the time domain offset value; and the second terminal sends the second information to the first terminal within the first terminal's receiving window based on the start time of the receiving window and the duration of the receiving window.

[0032] In one 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 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.

[0033] In one possible design, the second terminal sends the second information to the first terminal, including: the second terminal sends the second information to the first terminal within the receiving window of the first terminal according to the pre-configured duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal.

[0034] In one possible design, the second terminal determining to switch the first terminal, which is 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 second terminal triggers the first terminal to switch to the first receiving mode when the first terminal has a security risk, the security of the user of the first terminal can be ensured.

[0035] In one possible design, the second terminal determines that there is a security risk in the first terminal, including: the second terminal obtains 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 based on the motion information of the first terminal and the motion information of the second terminal.

[0036] In one possible design, the first preset condition includes one or more of the following combinations:

[0037] The relative distance between the second terminal and the first terminal is greater than or equal to a first preset value;

[0038] The relative speed between the second terminal and the first terminal is less than or equal to a second preset value;

[0039] The confidence level of a collision between the second terminal and the first terminal is less than or equal to a third preset value; or,

[0040] The predicted motion trajectory of the second terminal and the predicted motion trajectory of the first terminal have no intersection.

[0041] In one possible design, the second terminal determining that the first terminal presents a safety risk includes: the second terminal determining that the second terminal is in an out-of-control state. It should be understood that the out-of-control state of the second terminal indicates a high probability of collision between the first terminal and the second terminal, and thus the second terminal may determine that the first terminal presents a safety risk.

[0042] In one possible design, the second information also includes user information of the first terminal.

[0043] In a third aspect, a communication device is provided, comprising a processing module and a communication module. The processing module is configured to switch from a first receiving mode to a second receiving mode, wherein the first receiving mode allows a first terminal to continuously receive data on the PC5 port, and the second receiving mode allows the first terminal to receive data on the PC5 port within a receiving window of each receiving cycle. The communication module is configured to broadcast first information indicating that the first terminal is in the second receiving mode.

[0044] In one 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 length of the receiving window, the length of the receiving cycle, the start time of the receiving window, the start time of the receiving cycle, or receiving mode information; the receiving mode information is used to indicate the receiving mode of the first terminal.

[0045] In one possible design, the processing module is used to switch from the first receiving mode to the second receiving mode, specifically including: 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 receiving mode based on the third information.

[0046] In one possible design, the third information includes the duration of the receiving cycle of the first terminal and the duration of the receiving window of the first terminal.

[0047] In one possible design, the processing module is further used 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 third information to the V2X layer of the first terminal.

[0048] In one possible design, the processing module is further used to perform the following operations: the application layer of the first terminal determines that there is no security risk for the first terminal.

[0049] In one possible design, the processing module is also used to perform the following operations: the application layer of the first terminal obtains the motion information of at least one second terminal; the application layer of the first terminal obtains the motion information of the first terminal; the application layer of the first terminal determines that there is no security risk for the first terminal based on the motion information of the first terminal and the motion information of at least one second terminal.

[0050] In one possible design, the processing module is further used to perform the following operations: the application layer of the first terminal determines that any one of the at least one second terminal meets the first preset condition based on the motion information of the first terminal and the motion information of at least one second terminal.

[0051] In one 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 a first preset value; or, the relative speed between the second terminal and the first terminal is less than or equal to a second preset value; or, the confidence level of a 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.

[0052] In one possible design, the processing module is also used to switch from the second receiving mode to the first receiving mode.

[0053] In one possible design, the processing module is also used 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.

[0054] In one possible design, the processing module is further used 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; and the application layer of the first terminal sends fourth information to the V2X layer of the first terminal.

[0055] In one possible design, the processing module is further used to perform the following operations: the application layer of the first terminal determines that there is a security risk in the first terminal.

[0056] In one possible design, the communication module is further used to receive second information sent by the second terminal within the receiving window, and the second information is used to trigger the first terminal to switch from the second receiving mode to the first receiving mode.

[0057] In one possible design, the processing module is further used to perform the following operations: the V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode based on the second information.

[0058] In a fourth aspect, a communication device is provided, comprising a processing module and a communication module. The processing module is configured to determine whether to switch a first terminal in a second receiving mode to a first receiving mode, wherein the second receiving mode is configured for the first terminal to receive data on a PC5 port within a receiving window of each receiving cycle. The communication module is configured to send second information to the first terminal, wherein the second information is configured to trigger the first terminal to switch from the second receiving mode to the first receiving mode, wherein the first receiving mode is configured for the first terminal to continuously receive data on the PC5 port.

[0059] In one possible design, the communication module is also used to receive first information sent by the first terminal, and the first information is used when the first terminal is in a second receiving mode.

[0060] In one 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 receiving window of the first terminal, the length of the receiving cycle of the first terminal, the start time of the receiving window of the first terminal, the start time of the receiving cycle of the first terminal, or receiving mode information; the receiving mode information is used to indicate the receiving mode of the first terminal.

[0061] In one possible design, the communication module is specifically used to repeatedly send second information with the first duration as the sending time interval within a first time period when the first information includes the duration of the receiving cycle of the first terminal and the duration of the receiving cycle of the first terminal, and the duration of the first time period is greater than or equal to the duration of the receiving cycle of the first terminal, and the first duration is less than or equal to the duration of the receiving window of the first terminal.

[0062] In one possible design, the source layer 2 identifier used in the first information is the layer 2 identifier of the first terminal. The processing module is specifically configured to, when the first information includes the duration of the first terminal's receiving period and the duration of the first terminal's receiving period, determine a time domain offset value for the receiving window based on the duration of the receiving period and the layer 2 identifier of the first terminal; and determine the start time of the first terminal's receiving window based on the time domain offset value. The communication module is specifically configured to send the second information to the first terminal within the first terminal's receiving window based on the start time and duration of the receiving window.

[0063] In one possible design, the communication module is specifically used to send second information to the first terminal within the receiving window of the first terminal according to the length of the receiving window of the first terminal and the start time of the receiving window of the first 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.

[0064] In one possible design, the communication module is specifically used to send the second information to the first terminal within the receiving window of the first terminal based on the pre-configured duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal.

[0065] In one possible design, the processing module is specifically used to determine whether there is a security risk in the first terminal.

[0066] In one possible design, the processing module is specifically used to obtain motion information of the first terminal and motion information of the second terminal; the second terminal determines that the second terminal does not meet the first preset condition based on the motion information of the first terminal and the motion information of the second terminal.

[0067] In one 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 a first preset value; or, the relative speed between the second terminal and the first terminal is less than or equal to a second preset value; or, the confidence level of a 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.

[0068] In one possible design, the processing module is specifically used to determine whether the second terminal is in an out-of-control state.

[0069] In one possible design, the second information also includes user information of the first terminal.

[0070] In a fifth aspect, a communication device is provided, comprising a processor and a transceiver, wherein the processor and the transceiver are configured to implement any one of the methods provided in either the first or second aspects above. The processor is configured to perform the processing actions in the corresponding method, and the transceiver is configured to perform the receiving / sending actions in the corresponding method.

[0071] In a sixth aspect, a chip is provided, comprising: a processing circuit and a transceiver pin, wherein the processing circuit and the transceiver pin are configured to implement the method provided in the first or second aspect above. The processing circuit is configured to perform the processing actions in the corresponding method, and the transceiver pin is configured to perform the receiving / sending actions in the corresponding method.

[0072] In a seventh aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes any one of the methods provided in the first aspect or the second aspect.

[0073] In an eighth aspect, a computer program product is provided, which, when the computer instructions are executed on a computer, enables the computer to execute any one of the methods provided in the first aspect or the second aspect.

[0074] In a ninth aspect, a communication system is provided, comprising a first terminal and a second terminal. The first terminal is configured to execute any one of the methods provided in the first aspect. The second terminal is configured to execute any one of the methods provided in the second aspect.

[0075] It should be noted that the technical effects brought about by any design in the above-mentioned third to ninth aspects can refer to the technical effects brought about by the corresponding design in the first or second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 Schematic diagram of the communication process of the V2X terminal;

[0077] Figure 2 An architectural diagram of a communication system provided in an embodiment of the present application;

[0078] Figure 3 A schematic diagram of the protocol layer of a terminal provided in an embodiment of the present application;

[0079] Figure 4 A schematic structural diagram of a communication device provided in an embodiment of the present application;

[0080] Figure 5A schematic diagram of a second receiving mode provided in an embodiment of the present application;

[0081] Figure 6 A flow chart of a communication method provided in an embodiment of the present application;

[0082] Figure 7 A flowchart of another communication method provided in an embodiment of the present application;

[0083] FIG8( a ) is a flow chart of another communication method provided in an embodiment of the present application;

[0084] FIG8( b ) is a flow chart of another communication method provided in an embodiment of the present application;

[0085] Figure 9 A flowchart of a method for determining security risks provided in an embodiment of the present application;

[0086] Figure 10 A flowchart of another communication method provided in an embodiment of the present application;

[0087] Figure 11 A flowchart of another communication method provided in an embodiment of the present application;

[0088] Figure 12 A flowchart of another communication method provided in an embodiment of the present application;

[0089] Figure 13 A flowchart of another communication method provided in an embodiment of the present application;

[0090] Figure 14 A schematic structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0091] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0092] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "a plurality" means two or more. Words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not limit them to be necessarily different.

[0093] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0094] like Figure 1 As shown, the communication process of the V2X terminal includes the following steps:

[0095] S11. The V2X layer at the receiving end determines a first L2 ID.

[0096] In one possible design, the V2X layer at the receiving end obtains the first L2 ID from the application layer at the receiving end.

[0097] In another possible design, the V2X layer of the receiving end obtains the first V2X service identifier from the application layer of the receiving end; then, the V2X layer of the receiving end determines the first L2 ID corresponding to the first V2X service identifier based on the first V2X service identifier and the correspondence between the V2X service identifier and the L2 ID.

[0098] S12. The application layer of the transmitting end sends the V2X service data and the second V2X service identifier corresponding to the V2X service data to the V2X layer of the transmitting end.

[0099] S13. The V2X layer at the transmitting end determines the source L2 ID and the destination L2 ID of the V2X service data.

[0100] Specifically, the V2X layer on the transmitting end determines the second L2 ID corresponding to the V2X service data based on the mapping relationship between the V2X service identifier and the DST L2 ID, as well as the second V2X service identifier corresponding to the V2X service data. The V2X layer on the transmitting end uses the second L2 ID as the target L2 ID for the V2X service data.

[0101] The V2X layer on the transmitting end uses the L2 ID of the transmitting end as the source L2 ID of the V2X service data. It can be understood that in a V2X communication scenario, each device within the communication range of the device will be configured with a unique L2 ID corresponding to itself.

[0102] S14. The V2X layer at the transmitting end transmits the V2X service data, the source L2 ID, and the destination L2 ID to the access layer. The access layer encapsulates the V2X service data into a V2X message.

[0103] S15. The transmitter broadcasts the V2X message.

[0104] S16. The receiving end monitors the V2X message.

[0105] It should be understood that the V2X layer at the receiving end filters the V2X messages broadcast by the transmitting end based on the first L2 ID. When the target L2 ID carried in the V2X message broadcast by the transmitting end is the same as the first L2 ID, the V2X layer at the receiving end receives the V2X message and uploads it to the application layer.

[0106] Currently, Technical Specification (TS) 24.587 mandates that V2X terminals maintain their receiving function at all times to monitor messages broadcast by other terminals. However, maintaining this function at all times consumes significant power. Some V2X terminals have limited battery capacity. Continuously operating at high power consumption reduces their operational lifespan. Therefore, for these V2X terminals with limited battery capacity, reducing their power consumption is a pressing computational challenge.

[0107] 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 time evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) system, universal mobile telecommunication system (UMTS), world-wide interoperability for microwave access (WiMAX) communication system, public land mobile network (PLMN) system, device to device (D2D) network system or machine to machine (M2M) network system or new radio (NR) system or 5th generation (5G) network system and future network systems, etc.

[0108] In the embodiments of the present application, a V2X terminal with limited battery capacity may refer to a 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.

[0109] The network architecture and service scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. It is known to those skilled in the art that with the evolution of network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems. In the embodiments of the present application, the method provided is applied to an NR system or a 5G network as an example for explanation.

[0110] like Figure 2 As shown, a communication system architecture diagram is provided, which may include a terminal (eg Figure 2 UE A, UE B, UE C and UE D), access network equipment, core network equipment, data network (DN), etc.

[0111] The terminal can be called user equipment (UE) or terminal. The terminal can 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. Among them, V2X messages can include but are not limited to vehicle to vehicle (V2V) messages, vehicle to person (V2P) messages, vehicle to network (V2N) messages, vehicle to infrastructure (V2I) information, anti-collision messages between vehicles, entertainment application messages, navigation messages for interaction between vehicles, etc. Obviously, Figure 2 The terminals shown may include but are not limited to VRU terminals, vehicle-mounted terminals, mobile phones, tablet computers or computers with wireless transceiver functions, smart gas stations, smart traffic lights, etc.

[0112] In embodiments of the present application, terminals can transmit V2X messages via different types of communication interfaces. These communication interfaces may include PC5 and / or Uu interfaces. The Uu interface is a wireless connection interface between the terminal and the access network device. The PC5 interface is a reference point for user plane ProSe direct communication between terminals for V2X services.

[0113] The access network equipment is responsible for wireless resource management, uplink and downlink data classification and QoS application, as well as completing signaling processing with the control plane network elements and data forwarding with the user plane network elements. For example, the access network equipment can be a base station, a broadband network service gateway (BNG), an aggregation switch, a non-3GPP access device, etc. The base station can include various forms of base stations, such as macro base stations, micro base stations (also known as small stations), relay stations, access points, etc., which are not specifically limited in the embodiments of the present application. For the equipment for terminal access to the core network, they are uniformly referred to as access network equipment in the text and will not be explained again. For example, the access network equipment can be an evolved universal terrestrial radio access network (E-UTRAN) device in a 4G network, a next generation radio access network (NG-RAN) device in a 5G network, etc.

[0114] See also Figure 2 The core network equipment may include 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), and user data repository (UDR). The functions of network elements such as AMF, PCF, and UDM can refer to the existing technology and will not be repeated here.

[0115] It should be noted that the network composed of operator network elements other than RAN can become the core network. In the 4G network, the core network includes MME, S-GW, P-GW, HSS and other network elements; in the 5G network, the core network includes AMF, SMF, UPF, UDM, PCF and other network elements.

[0116] like Figure 3FIG2 is a schematic diagram of a terminal protocol layer, which can support the terminal to transmit V2X messages. The terminal protocol layer may include: application layer, V2X layer, and access layer (AS).

[0117] Among them, the application layer is mainly used to provide V2X services, such as generating V2X messages.

[0118] The V2X layer is mainly used to determine the communication interface of the V2X message, determine the communication mode of the V2X message on the PC5 interface, establish the PC5 unicast connection, and determine the layer 2 identifier of the PC5 communication. Among them, the V2X layer of the terminal can be deployed independently in the terminal or in other protocol layers of the terminal, such as: it can be deployed in the non-access stratum (NAS) of the terminal ( Figure 3 (not shown). 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 terminal's V2X layer as an example in which it is independently deployed in the terminal, without limitation.

[0119] The AS is primarily used to support processes such as public land mobile network (PLMN) selection, cell selection, and wireless resource management. Exemplary wireless resource management processes include: radio resource control (RRC) connection establishment, signaling establishment between the terminal and the core network, and handover. For PC5 communication, the AS also applies for PC5 communication resources for V2X messages sent via the PC5 interface, enters the source and destination Layer 2 addresses for V2X messages, and establishes a PC5-RRC connection for PC5 unicast communication.

[0120] In the 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.

[0121] Figure 4 The present invention provides a schematic diagram of a communication device 100 according to an embodiment of the present invention. The communication device 100 may be a terminal or a chip or system on chip in the terminal. The communication device 100 includes a processor 101, a communication line 102, and a communication interface 103.

[0122] Furthermore, the communication device 100 may further include a memory 104 , wherein the processor 101 , the memory 104 and the communication interface 103 may be connected via a communication line 102 .

[0123] The processor 101 may be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 101 may also be any other device having processing capabilities, such as a circuit, a device, or a software module, without limitation.

[0124] The communication line 102 is used to transmit information between the components included in the communication device 100 .

[0125] Communication interface 103 is used to communicate with other devices or other communication networks. Such other communication networks may be Ethernet, radio access networks (RAN), wireless local area networks (WLAN), etc. Communication interface 103 may be a module, circuit, transceiver, or any other device capable of communication.

[0126] The memory 104 is used to store instructions, where the instructions may be computer programs.

[0127] The memory 104 may be a read-only memory (ROM) or other type of static storage device that can store static information and / or instructions, or a random access memory (RAM) or other type of dynamic storage device that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium or other magnetic storage device, etc., without limitation.

[0128] It should be noted that the memory 104 can exist independently of the processor 101 or can be integrated with the processor 101. The memory 104 can be used to store instructions, program codes, or some data. The memory 104 can be located inside the communication device 100 or outside the communication device 100, without limitation.

[0129] Processor 101 is configured to execute instructions stored in memory 104 to implement the communication methods provided in the following embodiments of this application. For example, when communication device 100 is a terminal or a chip or system on a chip in a terminal, processor 101 may execute instructions stored in memory 104 to implement the steps performed by the transmitting end in the following embodiments of this application.

[0130] In one example, the processor 101 may include one or more CPUs, such as Figure 4 CPU0 and CPU1 in.

[0131] As an optional implementation, the communication device 100 includes multiple processors, for example, Figure 4 In addition to the processor 101, a processor 107 may also be included.

[0132] As an optional implementation, the communication apparatus 100 further includes an output device 105 and an input device 106. For example, the input device 106 is a keyboard, a mouse, a microphone, a joystick, and the output device 105 is a display screen, a speaker, and the like.

[0133] The following is an introduction to the terms mentioned in this application.

[0134] 1. Receiving mode

[0135] The receive mode is used to control the terminal's receive behavior.

[0136] For example, the receiving mode may be the complete receiving mode provided by the current TS24.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.

[0137] The full receiving mode is used for the terminal to continuously receive data on the PC5 port. In other words, the full receiving mode can be used for the terminal to continuously enable the receiving function on the PC5 port.

[0138] The incomplete reception mode allows a terminal to receive data on the PC5 port within a receive window of a receive cycle. Alternatively, the incomplete reception mode allows the first terminal to enable the receive function on the PC5 port within the receive window of the receive cycle. Enabling the receive function on the PC5 port may mean enabling the access layer and non-access layer to receive data on the PC5 port.

[0139] It should be noted that the receive cycle consists of a receive window and a non-receive window. The receive window is the time period during the receive cycle when data is allowed to be received on the PC5 port. Data reception on the PC5 port is not allowed outside of the receive window. The non-receive window is the time period during the receive cycle when data is not allowed to be received on the PC5 port.

[0140] Combine Figure 5 For example, assume the receive cycle duration is set to 2 seconds and the receive window duration is set to 1 second. Receive cycle #1 consists of receive window #1 and non-receive window #1. Receive cycle #2 consists of receive window #2 and non-receive window #2. Receive cycle #3 consists of receive window #3 and non-receive window #3. The terminal enables the receive function on port PC5 during receive windows #1, #2, and #3, and disables the receive function on port PC5 during non-receive windows #1, #2, and #3.

[0141] The receive pause mode is used for the terminal to pause receiving data on the PC5 port.

[0142] It should be understood that the names of the complete reception mode, the incomplete reception mode, and the suspended reception mode are merely examples, and these reception modes may have other names, which are not limited in the embodiments of the present application.

[0143] 2. V2X Applications

[0144] A V2X application can refer to an application that receives or sends V2X messages. For example, if a terminal has Application 1, Application 2, and Application 3 installed, and Application 1 is used to receive or send V2X messages, then Application 1 is considered a V2X application. Applications 2 and 3 are not used for receiving or sending V2X messages, and therefore are not considered V2X applications.

[0145] It should be understood that whether an application is used to receive and send V2X messages may depend on factors such as the terminal's usage scenario and the terminal's user needs. For example, a user of a vehicle terminal launches Application 1 and triggers Application 1 to enter driving mode. At this point, Application 1 receives or sends V2X messages. After arriving at the destination, the user closes Application 1, at which point Application 1 does not receive or send V2X messages.

[0146] It should be understood that one or more V2X applications can be installed on a terminal.

[0147] Optionally, the application may indicate to the V2X layer of the terminal whether to receive or send a V2X message. When the application indicates 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.

[0148] Optionally, the V2X layer of the terminal may store the identifier of each V2X application on the terminal.

[0149] The technical solutions provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0150] like Figure 6As shown, a communication method provided in an embodiment of the present application includes the following steps:

[0151] S101: A first terminal switches from a first receiving mode to a second receiving mode.

[0152] Exemplarily, the first terminal may be a VRU terminal or other V2X terminal that needs to reduce power consumption, without limitation.

[0153] The first receiving mode may be the full receiving mode mentioned in the above-mentioned receiving mode. The first receiving mode may be used for the first terminal to continuously receive data on the PC5 port. In other words, the first receiving mode may be used for the first terminal to continuously enable the receiving function on the PC5 port.

[0154] The second receiving mode may be the incomplete receiving mode mentioned above. This second receiving mode may be used for the first terminal to receive data on the PC5 port within a receiving window of a receiving cycle. In other words, the second receiving mode may be used for the first terminal to enable the receiving function on the PC5 port within the receiving window of the receiving cycle.

[0155] As a possible implementation manner, when there is no security risk in the first terminal, the first terminal switches from the first receiving mode to the second receiving mode.

[0156] It should be understood that when the first terminal switches to the second receiving mode when there is no security risk, the purpose of taking both security and power saving into consideration can be achieved.

[0157] In this 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 cycle, so that the first terminal can receive messages sent by other nearby terminals. The first terminal in the second receiving mode pauses receiving data on the PC5 port during the non-receiving window of each receiving cycle to save power consumption of the first terminal.

[0158] S102: The first terminal broadcasts first information.

[0159] The first information is used to indicate that the first terminal is in the second receiving mode.

[0160] The source L2 ID used by the first information may be the L2 ID of the first terminal.

[0161] Optionally, the destination L2 ID used by the first information is an L2 ID corresponding to the first information preconfigured by the first terminal.

[0162] The first information may include user information of the first terminal.

[0163] Optionally, the first information further includes one or more of the following parameters: duration of the receiving cycle, duration of the receiving window, start time of the receiving window, start time of the receiving cycle, or receiving mode information.

[0164] The start time of the receiving window or the start time of the receiving period may be the coordinated universal time (UTC) time or the time of the global navigation satellite system (GNSS) timing.

[0165] The reception mode information may be used to indicate the reception mode used or in which the first terminal is located. Specifically, when the first terminal is in the first reception mode, the reception mode information indicates 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 indicates 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 indicates that the first terminal is in the third reception mode.

[0166] The third receiving mode may be the pause receiving mode mentioned in the above receiving mode. The third receiving mode is used for the first terminal to pause receiving data on the PC5 port.

[0167] It can be seen that for step S101 , the first terminal switches from the first receiving mode to the second receiving mode. 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.

[0168] Optionally, the first information may be a V2X message or a PC5 signaling message.

[0169] For example, when 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.

[0170] 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.

[0171] As a possible implementation manner, the first terminal periodically broadcasts the first information.

[0172] Optionally, the first terminal broadcasts the first information once or multiple times in each receiving cycle.

[0173] Optionally, the first terminal broadcasts the first information within a receiving window of each receiving cycle. In this way, the sending and receiving operations of the first terminal are controlled within the same time period, which is conducive to reducing power consumption of the first terminal.

[0174] S103: The second terminal receives the first information.

[0175] The second terminal may be a vehicle terminal, a VRU terminal or a road side unit (RSU) terminal.

[0176] S104: The second terminal determines, based on the first information, that the first terminal is in the second receiving mode.

[0177] Optionally, since the source L2 ID used in 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 can store the L2 ID of the first terminal in the first list. The first list is used to store the L2 IDs of terminals in the second receiving mode.

[0178] 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.

[0179] 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 is in the first list. That is, when the L2 ID of a terminal is 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 is not in the first list, the second terminal can determine that the terminal is not in the second receiving mode.

[0180] Optionally, after the second terminal receives the first information, the V2X layer of the second terminal may establish and store a 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 may determine the L2 ID of the first terminal based on the user information of the first terminal. Consequently, the V2X layer of the second terminal may send the V2X service data to the first terminal based on the L2 ID of the first terminal.

[0181] Optionally, when the first information includes the first terminal's receiving window configuration information (e.g., the duration of the receiving period, the duration of the receiving window, the start time of the receiving window, and / or the start time of the receiving period), the second terminal stores the first terminal's receiving window configuration information. In this way, in subsequent processes, the second terminal can send a message (e.g., a second message) to the first terminal within the first terminal's receiving window based on the first terminal's receiving window configuration information, thereby ensuring that the first terminal can receive the message sent by the second terminal within the first terminal's receiving window.

[0182] based on Figure 6 In the illustrated embodiment, since the first terminal switches from the first receiving mode to the second receiving mode, it only receives data on port PC5 within the receiving window. This reduces the time required for the first terminal to receive messages and reduces its power consumption. Furthermore, the first terminal broadcasts the first information to notify other terminals nearby that the first terminal is in the second receiving mode. These terminals can then send messages to the first terminal at appropriate times, preventing the first terminal from missing important messages from other terminals. This achieves both security and power conservation for the first terminal.

[0183] The following combination Figure 7 8(a) or 8(b) specifically illustrates the implementation method of the first terminal switching from the first receiving mode to the second receiving mode.

[0184] like Figure 7 As shown, a communication method provided by an embodiment of the present application includes the following steps S201-S204. It should be understood that Figure 6 Step S101 in the above example can be implemented as Figure 7 This is achieved by steps S203 and S204 in FIG.

[0185] S201: An application layer of a first terminal determines to switch the first terminal from a first receiving mode to a second receiving mode.

[0186] As a possible implementation manner, the application layer of the first terminal determines that there is no security risk for the first terminal.

[0187] Optionally, the application layer of the first terminal can be based on Figure 9 In the illustrated embodiment, it is determined whether the first terminal has a security risk.

[0188] 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. The first receiving mode and the second receiving mode can be referred to in Figure 6 The relevant descriptions in the illustrated embodiments are omitted here for brevity.

[0189] S202. The application layer of the first terminal sends third information to the V2X layer of the first terminal.

[0190] The third information is used to switch the first terminal to the second receiving mode.

[0191] Optionally, the third information is an attention command (AT command), wherein the AT command is a standard command sent from the application layer to the wireless layer (eg, the V2X layer).

[0192] 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, the user number of the first terminal, and the number assigned by the V2X application to the user for participating in traffic. The user information of the first terminal may have other names, such as the application layer identifier of the first terminal.

[0193] In this embodiment of the present application, since the third information includes the user information of the first terminal, the V2X layer of the first terminal can obtain the user information of the first terminal. Furthermore, when it is necessary to transmit the first information, the V2X layer of the first terminal can determine the L2 ID of the first terminal based on the user information of the first terminal. Furthermore, the V2X layer of the first terminal can use the L2 ID of the first terminal as the source L2 ID for the first information. Furthermore, if the first information is a PC5 signaling message, the V2X layer of the first terminal can encapsulate the user information of the first terminal in the first information.

[0194] Optionally, the third information further includes: configuration parameters of the second receiving mode, wherein the configuration parameters of the second receiving mode at least include the duration of the receiving cycle and the duration of the receiving window.

[0195] Furthermore, the configuration parameters of the second receiving mode may also include the start time of the receiving cycle and / or the start time of the receiving window.

[0196] In one example, the application layer of the first terminal can determine the duration of the receiving cycle and / or the duration of the receiving window based on factors such as the traffic environment in which the first terminal is located. For example, assuming that the application layer of the first terminal determines that there is no vehicle within 200m around the first terminal, the application layer of the first terminal can determine that the duration of the receiving cycle is 3s and the duration of the receiving window is 1s. In this way, even if the first terminal does not receive the message from the vehicle within 2s, the vehicle generally travels a distance of 60m-80m in 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 within the receiving window, if the first terminal determines that there is a risk of collision between the vehicle and the first terminal based on the message sent by the vehicle, the first terminal immediately notifies the user of the first terminal, ensuring that the user of the first terminal has enough reaction time to make the correct operation and ensure the safety of the user of the first terminal.

[0197] Optionally, since the current minimum frequency of V2X terminals sending messages 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 receiving window to be greater than or equal to 1s.

[0198] Exemplarily, the duration of the receiving window used by the first terminal is set to 1 second, and the receiving period is set to 2 seconds, so as to take into account both the security and power saving of the first terminal.

[0199] S203. The V2X layer of the first terminal receives third information.

[0200] S204. The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second receiving mode according to the third information.

[0201] As a possible implementation method, the V2X layer of the first terminal determines the configuration parameters of the second receiving mode and sends seventh information to the access layer of the first terminal. The seventh information is used to trigger the access layer of the first terminal to switch to the second receiving mode. The seventh information includes the configuration parameters of the second receiving mode.

[0202] Accordingly, the access layer of the first terminal can determine the duration of the first terminal's receiving cycle and the duration of the first terminal's receiving window based on the seventh information. Thus, based on the duration of the first terminal's receiving cycle and the duration of the first terminal's receiving window, the access layer of the first terminal receives data on the PC5 port within the receiving window of each receiving cycle and suspends data reception on the PC5 port within the non-receiving window of each receiving cycle.

[0203] Optionally, the V2X layer of the first terminal determines the configuration parameters of the second receiving mode in any one of the following ways:

[0204] Method 1: When the third information includes configuration parameters of the second receiving mode, the V2X layer of the first terminal can determine the configuration parameters of the second receiving mode based on the third information.

[0205] Method 2: The V2X layer of the first terminal obtains the pre-configured configuration parameters of the second receiving mode from the database.

[0206] Optionally, the length of the preconfigured receiving cycle and the length of the receiving window may be related to the geographical location of the first terminal. For example, if the first terminal is in the city center, the length of the preconfigured receiving cycle is 2 seconds, and the length of the receiving window is 1 second. If the first terminal is in the suburbs, the length of the preconfigured receiving cycle is 3 seconds, and the length of the receiving window is 0.5 seconds.

[0207] Optionally, the start time of the receiving window may be the same as the start time of the receiving period, so that the start time of the receiving window does not need to be additionally configured.

[0208] Optionally, the start time of the receiving window can be calculated based on a 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 can be an integer number of seconds.

[0209] In one possible design, the time domain offset value of the receiving window is calculated based on the L2 ID of the first terminal and the duration of the receiving cycle. Exemplarily, the calculation formula of the time domain offset value of the receiving window can refer to the following formula (1).

[0210]

[0211] Wherein, K represents the time domain offset value of the receiving window, P represents the L2 ID of the first terminal in decimal, and Q represents the duration of the receiving period.

[0212] For example, the receive window duration is 100ms, the receive cycle duration is 200ms, and the L2 ID of the first terminal is 10006394. Therefore, the time domain offset value can be calculated as mod(10006394, 200) = 194. Assuming the current time is 20:08:55:362 (i.e., 20:08:55:162 milliseconds), then within the range of 20:08:55, the start time of the first receive window is 20:08:55:194, and 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 and end times of subsequent receive windows can be deduced similarly.

[0213] It should be understood that when the start time of the receiving window can be calculated based on the time domain offset value of the receiving window, the first information may not include the start time of the receiving window, which is beneficial to reducing the overhead of the first information.

[0214] In an embodiment of the present application, the access layer of the first terminal switches to the second receiving mode, which can be specifically implemented as follows: the access layer of the first terminal receives data on the PC5 port within the receiving window of the receiving cycle and suspends receiving data on the PC5 port within the non-receiving window of the receiving cycle based on the duration of the receiving window and the duration of the receiving cycle.

[0215] use Figure 7 In the illustrated embodiment, 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 based on the third information sent by the application layer of the first terminal, thereby successfully implementing the switching of the first terminal from the first receiving mode to the second receiving mode to save power consumption.

[0216] As shown in FIG8(a), the embodiment of the present application provides a communication method, which includes the following steps S301-S303. It should be understood that Figure 6 Step S101 in FIG. 8( a ) may adopt step S303 in FIG. 8( a ).

[0217] S301: A target V2X application of a first terminal determines to switch from a first receiving mode to a second receiving mode.

[0218] The target V2X application may be any one of the M V2X applications installed by the first terminal, where M is a positive integer. For example, the target V2X application is Baidu Maps or Amap.

[0219] In one possible design, the M V2X applications may refer to all V2X applications installed by the first terminal.

[0220] In another possible design, the M V2X applications may refer to specific applications among all V2X applications installed in the first terminal, such as security-related V2X applications.

[0221] S302. The target V2X application of the first terminal sends third information to the V2X layer of the first terminal.

[0222] The third information may include an identifier of the target V2X application, where the identifier is used to identify the target V2X application.

[0223] Among them, the relevant description of the third information can be found in the previous text and will not be repeated here.

[0224] Exemplarily, the V2X layer of the first terminal stores third information sent by a 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 expires, the V2X layer of the first terminal determines that the currently stored third information sent by the target V2X application is invalid. The invalidation of the third information means that the V2X layer of the first terminal has not received the third information.

[0225] 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. Furthermore, the V2X layer of the first terminal may delete the third information sent by the target V2X application from a cache.

[0226] It should be understood that the M V2X applications of the first terminal can all execute the above steps S301-S302.

[0227] S303. The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second receiving mode according to the third information.

[0228] The specific implementation of step S303 may refer to the description of step S204 and will not be repeated here.

[0229] Using the embodiment shown in Figure 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 based on the third information sent by the target V2X application of the first terminal, thereby successfully implementing the switching of the first terminal from the first receiving mode to the second receiving mode to save power consumption.

[0230] Optionally, considering that the first terminal switches from the first receiving mode to the second receiving mode based on the instruction of only one target V2X application, this may affect the normal use of other V2X applications among the M V2X applications. To address this technical issue, step S303 in the embodiment shown in Figure 8(a) can be replaced with step S304 in the embodiment shown in Figure 8(b).

[0231] 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 mode.

[0232] 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 the third information sent by the M V2X applications is received by determining whether the third information sent by the M V2X applications is cached.

[0233] That is, when the V2X layer of the first terminal has buffered the third information sent by M V2X applications, the V2X layer of the first terminal determines that the third information sent by the M V2X applications has been received. Conversely, the V2X layer of the first terminal determines that the third information sent by the M V2X applications has not been received.

[0234] Among them, the specific implementation method of the V2X layer of the first terminal instructing the access layer of the first terminal to switch to the second receiving mode can refer to the description of step S204, which will not be repeated here.

[0235] Optionally, when all M third information include the duration of the receiving cycle, the V2X layer of the first terminal uses the maximum value of the duration of the receiving cycle as the duration of the receiving cycle used in the second receiving mode.

[0236] Optionally, when all M third information include the duration of the receiving window, the V2X layer of the first terminal uses the minimum value of the duration of the receiving window as the duration of the receiving window used in the second receiving mode.

[0237] In the embodiment shown in Figure 8(b), when all V2X applications in a first terminal indicate switching to the second receiving mode, the first terminal's V2X layer instructs the first terminal's AS layer to switch from the first receiving mode to the second receiving mode. This reduces the first terminal's power consumption while ensuring the normal use of the M V2X applications installed on the first terminal.

[0238] like Figure 9 As shown, a method for determining security risks provided by an embodiment of the present application is provided. The following description takes whether the first terminal has a security risk as an example. The method can be used for all security risk determinations mentioned in this application without limitation. The method includes the following steps:

[0239] S401: A first terminal obtains motion information of at least one second terminal.

[0240] The second terminal may be a vehicle terminal or a VRU terminal.

[0241] The motion 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 motion direction of the second terminal, the turning angle of the second terminal, and / or the predicted motion trajectory of the second terminal.

[0242] Optionally, based on the V2X scenario, motion information may also have other names, such as driving information.

[0243] In one possible implementation, a first terminal obtains movement information of at least one second terminal within a preset time period. Alternatively, the first terminal obtains movement information of at least one second terminal within a target geographic area. Alternatively, the target geographic area may be an area centered on the first terminal.

[0244] Based on this, the movement information of at least one second terminal can effectively reflect the traffic conditions of the current first terminal period, so that the first terminal can accurately determine whether there is a safety risk for the first terminal.

[0245] In an embodiment of the present application, a first terminal receives a V2X message broadcast by a second terminal. Thereafter, the first terminal may determine the motion information of the second terminal from the V2X message.

[0246] Exemplarily, the V2X message broadcast by the second terminal may be a decentralized environmental notification message (DENM), a basic safety message (BSM), a cooperative awareness message (CAM), etc., without limitation.

[0247] S402: The first terminal obtains movement information of the first terminal.

[0248] The motion 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 motion direction of the first terminal, the turning angle of the first terminal, and / or the predicted motion trajectory of the first terminal.

[0249] As a possible implementation method, when the first terminal is in motion, the sensor of the first terminal (such as a position sensor, an acceleration sensor, etc.) can detect corresponding data. The first terminal can determine the motion information of the first terminal by processing the data detected by the sensor.

[0250] The embodiment of the present application does not limit the execution order of step S401 and step S402. That is, step S401 may be executed first, then step S402; or step S402 may be executed first, then step S401; or steps S401 and S402 may be executed simultaneously.

[0251] S403: The first terminal determines whether there is a security risk for the first terminal based on the movement information of the first terminal and the movement information of at least one second terminal.

[0252] As one possible implementation, for each of the at least one second terminal, the first terminal determines whether the second terminal meets a first preset condition based on the motion information of the first terminal and the motion information of the second terminal. When each of the at least one second terminal meets the preset condition, the first terminal determines that the first terminal does not pose a security risk. Otherwise, the first terminal determines that the first terminal poses a security risk.

[0253] For example, let's assume that the first terminal is terminal 1, and at least one second terminal is terminal 2 and terminal 3. Terminal 1 obtains motion information of terminal 1, terminal 2, and terminal 3. Based on the motion information of terminal 1 and terminal 2, terminal 1 determines whether terminal 2 meets a first preset condition. Based on the motion information of terminal 1 and terminal 3, terminal 1 determines whether terminal 3 meets the first preset condition. If both terminal 2 and terminal 3 meet the first preset condition, terminal 1 determines that there is no security risk. If either terminal 2 or terminal 3 does not meet the first preset condition, terminal 1 determines that there is a security risk.

[0254] Optionally, the first preset condition includes one or more of the following combinations:

[0255] (1) The relative distance between the first terminal and the second terminal is greater than or equal to a first preset value.

[0256] (2) The relative speed between the first terminal and the second terminal is less than or equal to a second preset value.

[0257] (3) The confidence level of the collision between the first terminal and the second terminal is less than or equal to a third preset value.

[0258] (4) The predicted motion trajectory of the first terminal has no intersection with the predicted motion trajectory of the second terminal.

[0259] It should be understood that the first preset condition may also be implemented in other ways, and the embodiments of the present application do not limit this.

[0260] The first preset value, the second preset value, and the third preset value may be pre-configured, specifically configured by the network, or 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 a communication protocol, or may be determined by the first terminal based on its own hardware configuration, traffic environment, geographical location, and other factors.

[0261] based on Figure 9In the illustrated embodiment, a first terminal can determine whether surrounding terminals pose a security threat to the first terminal based on its motion information and the motion information of other surrounding terminals (i.e., second terminals). Therefore, if none of the surrounding terminals pose a security threat to the first terminal, the first terminal can determine that there is no security risk to the first terminal.

[0262] Optional, Figure 9 The steps in the illustrated embodiment may be performed by an application layer of the first terminal or a V2X application of the first terminal.

[0263] The following combination Figure 10 and Figure 11 A specific implementation scheme for switching the first terminal in the second receiving mode to the first receiving mode is specifically introduced. Figure 10 and Figure 11 The illustrated embodiment can be used with Figure 6 、 Figure 7 , any one of the embodiments shown in FIG8(a) and FIG8(b) may be combined without limitation.

[0264] like Figure 10 As shown, a communication method provided in an embodiment of the present application includes the following steps:

[0265] S501: The application layer of a first terminal determines to switch the first terminal from a second receiving mode to a first receiving mode.

[0266] In one possible implementation, when the first terminal is in the second receiving mode, when the application layer of the first terminal determines that there is a security risk in the first terminal, the application layer of the first terminal determines to switch the first terminal from the second receiving mode to the first receiving mode.

[0267] It should be understood that the first terminal switches to the first receiving mode when there is a security risk, thereby ensuring that the first terminal can promptly obtain information sent by other terminals during the period, so that the first terminal can promptly understand the traffic conditions of the period and improve the safety of the users of the first terminal.

[0268] The first receiving mode and the second receiving mode can refer to the relevant descriptions in the aforementioned embodiments and will not be described in detail.

[0269] 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.

[0270] S502. The application layer of the first terminal sends fourth information to the V2X layer of the first terminal.

[0271] The fourth information is used to switch the first terminal to the first receiving mode.

[0272] Optionally, the fourth information is an AT command.

[0273] S503. The V2X layer of the first terminal receives the fourth information.

[0274] S504. The V2X layer of the first terminal instructs the access layer of the first terminal to switch the first terminal to the first receiving mode according to the fourth information.

[0275] As one possible implementation, the V2X layer of the first terminal sends eighth information to the access layer of the first terminal based on the fourth information. The eighth information is used to instruct the access layer of the first terminal to switch to the first receiving mode. Thus, the access layer of the first terminal switches to the first receiving mode based on the eighth information.

[0276] based on Figure 10 In the embodiment shown, in some scenarios (for example, when the first terminal senses that there are security risks in the surrounding area), the first terminal can actively switch to the first receiving mode, so that the first terminal can promptly receive information sent by other surrounding terminals, so as to timely understand the surrounding traffic conditions and ensure the safety of the user of the first terminal.

[0277] Optional, in Figure 10 In the illustrated embodiment, “the application layer of the first terminal” may be replaced with “the V2X application of the first terminal”.

[0278] like Figure 11 As shown, a communication method provided in an embodiment of the present application includes the following steps:

[0279] S601: A second terminal determines to switch a first terminal in a second receiving mode to a first receiving mode.

[0280] In a possible implementation manner, when the second terminal determines that the first terminal in the second receiving mode has a security risk, the second terminal determines to switch the first terminal in the second receiving mode to the first receiving mode.

[0281] Optionally, the second terminal determines that the first terminal in the second receiving mode has a security risk, including one of the following situations:

[0282] Scenario 1: The second terminal determines that the second terminal is in an out-of-control state. Exemplarily, the out-of-control state of the second terminal may refer to: a vehicle accident (e.g., a tire blowout, brake failure, etc.), a malfunction of the vehicle's autonomous driving system, an abnormal vehicle trajectory, or a vehicle violation of traffic regulations (e.g., running a red light, speeding, occupying a non-motorized vehicle lane, dangerous driving, etc.). The aforementioned vehicle refers to the second terminal or a vehicle carrying the second terminal.

[0283] Scenario 2: The second terminal obtains the motion information of the first terminal. Subsequently, the second terminal determines that the second terminal does not meet the first preset condition based on the motion information of the first terminal and the motion information of the second terminal. The specific description of the first preset condition can be found above and will not be repeated here.

[0284] S602: The second terminal sends second information to the first terminal.

[0285] The second information is used to switch the first terminal to the first receiving mode. Alternatively, the second information is used to indicate that there is a security risk in the first terminal.

[0286] In the embodiment of the present application, the destination L2 ID used in the second information is the L2 ID of the first terminal.

[0287] Optionally, the second information also includes user information of the first terminal, so that the terminal that monitors the second information can verify whether it is the receiver of the second information based on the user information of the first terminal included in the second information.

[0288] Optionally, the second information may be a V2X message or a PC5 signaling message.

[0289] Optionally, step S602 may be implemented in any one of the following ways:

[0290] Implementation 1: When the first information sent by the first terminal includes the duration of the first terminal's receiving cycle and the duration of the first terminal's receiving window, the second terminal repeatedly sends the second information within a first time period using the first duration as a sending time interval. The duration of the first time period is greater than or equal to the duration of the receiving cycle. The first duration is less than or equal to the duration of the receiving window.

[0291] Implementation method 2: When the first information sent by the first terminal includes the duration of the receiving cycle of the first terminal and the duration of the receiving window of the first terminal, the second terminal determines the time domain offset value of the receiving window based on the duration of the receiving cycle and the L2 ID of the first terminal; the second terminal determines the start time of the receiving window of the first terminal based on the time domain offset value; and the second terminal sends the second information to the first terminal within the receiving window of the first terminal based on the start time of the receiving window and the duration of the receiving window.

[0292] The calculation formula of the time domain offset value of the receiving window can refer to the above formula (1).

[0293] It should be understood that implementation method 2 is applicable to a scenario in which 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.

[0294] Implementation method 3: When the first information sent by the first terminal includes the start time of the first terminal's receiving window and the duration of the first terminal's receiving window, the second terminal sends the second information to the first terminal within the receiving window based on the start time of the first terminal's receiving window and the duration of the first terminal's receiving window.

[0295] Implementation 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.

[0296] It should be understood that the above-mentioned implementation methods 1 to 4 can be performed by the V2X layer of the second terminal.

[0297] Optionally, the V2X layer of the second terminal can 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 cycle, the start time of the receiving window, etc.

[0298] 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.

[0299] S603: The first terminal switches to the first receiving mode according to the second information.

[0300] based on Figure 11 In the illustrated embodiment, the second terminal sends a second message to the first terminal, causing the first terminal to switch from the second receiving mode to the first receiving mode. This allows the first terminal to promptly receive messages sent by other terminals nearby, thereby understanding traffic conditions around the first terminal and ensuring the safety of the user of the first terminal.

[0301] Optionally, when the second information is a PC5 signaling message, Figure 11 The embodiment shown can be specifically implemented as Figure 12 The embodiment shown. Figure 11 Step S601 in the above example can be implemented as Figure 12 Step S701 in the above example is implemented as follows: Figure 11 Step S602 in the above example can be implemented as Figure 12 Steps S702-S704 in the above are implemented. Figure 11 Step S603 in the above example can be implemented as Figure 12 This is achieved by step S705 in .

[0302] like Figure 12 As shown, a communication method provided in an embodiment of the present application includes the following steps:

[0303] S701: An application layer of a second terminal determines to switch a first terminal from a second receiving mode to a first receiving mode.

[0304] The first receiving mode and the second receiving mode can refer to the relevant descriptions in the aforementioned embodiments and will not be described in detail.

[0305] 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.

[0306] S702. The application layer of the second terminal sends sixth information to the V2X layer of the second terminal.

[0307] 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.

[0308] S703. The V2X layer of the second terminal generates second information based on the sixth information.

[0309] It should be understood that because the first information previously received by 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 a correspondence between the L2 ID of the first terminal and the user information of the first terminal. Thus, the V2X layer of the second terminal can determine the L2 ID of the first terminal based on 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. Consequently, the V2X layer of the second terminal uses the L2 ID of the first terminal as the destination L2 ID used in the second information.

[0310] S704. The V2X layer of the second terminal sends second information to the V2X layer of the first terminal.

[0311] 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.

[0312] As one possible implementation, the V2X layer of the first terminal sends an eighth message to the access layer of the first terminal based on the second information. The eighth message is used to instruct the access layer of the first terminal to switch to the first receiving mode. Thus, the access layer of the first terminal switches to the first receiving mode based on the eighth message.

[0313] In the embodiment of the present application, the access layer of the first terminal switches to the first receiving mode, which can be implemented as follows: the access layer of the first terminal continues to receive data on the PC5 port.

[0314] based on Figure 12In the technical solution shown, since the second information is a PC5 signaling message, the V2X layer of the first terminal is capable of parsing PC5 signaling messages. Therefore, after receiving the second information, the V2X layer of the first terminal can directly switch to the first receiving mode based on the second information.

[0315] Optional, such as Figure 12 As shown, the method further includes step S706 after step S705.

[0316] S706. The V2X layer of the first terminal may also send fifth information to the application layer of the first terminal.

[0317] The fifth information is used to indicate that the first terminal has switched to the first receiving mode.

[0318] Based on step S706 , the application layer of the first terminal may know that the first terminal has switched to the first receiving mode.

[0319] Optionally, when the second information is a V2X message, Figure 11 The technical solution shown can be specifically implemented as Figure 13 The technical solution shown. Figure 11 Step S601 in the above example can be implemented as Figure 13 Step S801 in the above example is implemented as follows: Figure 11 Step S602 in the above example can be implemented as Figure 13 Steps S802-S803 in the above code are used to implement the above code. Figure 11 Step S603 in the above example can be implemented as Figure 13 This is achieved by steps S804-S806 in the above example.

[0320] like Figure 13 As shown, a communication method provided in an embodiment of the present application includes the following steps:

[0321] S801: The application layer of the second terminal determines to switch the first terminal from the second receiving mode to the first receiving mode.

[0322] The specific implementation of step S801 may refer to the description of step S701 and will not be repeated here.

[0323] S802. The application layer of the second terminal sends second information to the V2X layer of the second terminal.

[0324] The description of the second information can be found in the previous text and will not be repeated here.

[0325] S803. The V2X layer of the second terminal sends second information to the V2X layer of the first terminal.

[0326] S804. The V2X layer of the first terminal sends second information to the application layer of the first terminal.

[0327] S805. The application layer of the first terminal sends fourth information to the V2X layer of the first terminal based on the second information.

[0328] The fourth information is used to switch the first terminal to the first receiving mode.

[0329] 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.

[0330] As one possible implementation, the V2X layer of the first terminal sends eighth information to the access layer of the first terminal based on the fourth information. The eighth information is used to instruct the access layer of the first terminal to switch to the first receiving mode. Thus, the access layer of the first terminal switches to the first receiving mode based on the eighth information.

[0331] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. It is understandable that, in order to implement the above functions, the terminal includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0332] The embodiment of the present application can divide the terminal into functional modules according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function:

[0333] like Figure 14 As shown, a communication device provided in an embodiment of the present application includes: a processing module 201 and a communication module 202.

[0334] In one example, the communication device is the first terminal, or a chip used in the first terminal. In this case, the processing module 201 is used to support the first terminal to execute Figure 6 Step S101 in Figure 7Steps S201-S204 in FIG8(a), steps S301-S303 in FIG8(b), step S304 in FIG8(b), Figure 9 Steps S401-S403 in Figure 10 Steps S501-S504 in Figure 11 Step S603 in Figure 12 Step S705 in Figure 13 The communication module 202 is used to support the first terminal to execute steps S804-S806. Figure 6 Step S102 in Figure 11 In step S602, Figure 12 Step S704 in Figure 13 Step S803 in .

[0335] In another example, the communication device is the second terminal, or a chip used in the second terminal. In this case, the processing module 201 is used to support the second terminal to execute Figure 6 Step S104 in Figure 11 In step S601, Figure 12 Steps S701-S703 in Figure 13 The communication module 202 is used to support the second terminal to perform Figure 6 Step S103 in Figure 11 In step S602, Figure 12 Step S704 in Figure 13 Step S803 in .

[0336] In a possible embodiment, the communication device further includes a storage module 203. The storage module is used to store program codes and data of the communication device.

[0337] As an example, combining Figure 4 communication device, Figure 14 The processing module 201 in Figure 4 The processor 101 is implemented as follows, Figure 14 The communication module 202 in the Figure 4 The communication interface 103 is implemented, Figure 14 The storage module 203 in the Figure 4 It is implemented by the memory 104 in.

[0338] The embodiment of the present application provides a communication system, which includes a first terminal and a second terminal. The first terminal is used to execute Figures 6 to 13 The second terminal is used to execute Figure 6 、 Figures 11 to 13 The method shown.

[0339] An embodiment of the present application further provides a computer-readable storage medium having instructions stored thereon, which, when executed, execute the method in the above method embodiment.

[0340] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed, perform the method in the above method embodiment.

[0341] The present application also provides a chip comprising a processor for implementing the technical methods of the present application. In one possible design, the chip further comprises a memory for storing the necessary program instructions and / or data for the communication device of the present application. In another possible design, the chip further comprises a memory for the processor to call the 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 is not specifically limited in the present application.

[0342] The steps of the methods or algorithms described in conjunction with the disclosure of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, which can be stored in RAM, flash memory, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, a hard disk, a removable hard disk, a compact disc read-only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, enabling the processor to 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 can be located in an ASIC. Alternatively, the ASIC can be located in a core network interface device. Of course, the processor and storage medium can also exist as discrete components in the core network interface device. Alternatively, the memory can be coupled to the processor, for example, the memory can exist independently and be connected to the processor via a bus. The memory can also be integrated with the processor. The memory can be used to store application code that implements the technical solutions provided in the embodiments of this application, and the execution is controlled by the processor. The processor is used to execute the application code stored in the memory, thereby implementing the technical solution provided in the embodiment of the present application.

[0343] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0344] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0345] The units described as separate components may or may not be physically separate, 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 distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0346] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0347] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0348] The above is only a specific embodiment of the present application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A communication method, characterized in that: The method comprises: The first terminal switches from a first receiving mode to a second receiving mode, wherein 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 on the PC5 port within a receiving window of a receiving cycle; 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. The method according to claim 1, characterized in that The first information includes user information of the first terminal; The first information further includes one or more of the following parameters: the duration of the receiving window, the duration of the receiving cycle, the start time of the receiving window, the start time of the receiving cycle, or receiving mode information; The receiving mode information is used to indicate the receiving mode of the first terminal.

3. The method according to claim 1 or 2, characterized in that The first terminal switches from the first receiving mode to the second receiving mode, including: The vehicle network 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; The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the second receiving mode based on the third information.

4. The method according to claim 3, characterized in that The third information includes the duration of the receiving cycle and the duration of the receiving window.

5. The method according to claim 3, characterized in that The method further comprises: An application layer of the first terminal switches the first terminal from the first receiving mode to the second receiving mode; The application layer of the first terminal sends the third information to the V2X layer of the first terminal.

6. The method according to claim 5, characterized in that Determining, by the application layer of the first terminal, to switch the first terminal from the first receiving mode to the second receiving mode includes: The application layer of the first terminal determines that there is no security risk to the first terminal.

7. The method according to claim 6, characterized in that The application layer of the first terminal determines that there is no security risk to the first terminal, including: The application layer of the first terminal obtains motion information of at least one second terminal; acquiring, by the application layer of the first terminal, motion information of the first terminal; The application layer of the first terminal determines that there is no security risk for the first terminal based on the motion information of the first terminal and the motion information of the at least one second terminal.

8. The method according to claim 7, characterized in that The application layer of the first terminal determines, based on the motion information of the first terminal and the motion information of the at least one second terminal, that there is no security risk for the first terminal, including: The application layer of the first terminal determines, based on 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 meets a first preset condition.

9. The method according to claim 8, characterized in that The first preset condition includes 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 level of a 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. The method according to claim 1, characterized in that The method further comprises: The first terminal switches from the second receiving mode to the first receiving mode.

11. The method according to claim 10, characterized in that The first terminal switches from the second receiving mode to the first receiving mode, comprising: 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; 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.

12. The method according to claim 11, characterized in that The method further comprises: An 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 fourth information to the V2X layer of the first terminal.

13. The method according to claim 12, characterized in that Determining, by the application layer of the first terminal, to switch the first terminal from the second receiving mode to the first receiving mode includes: The application layer of the first terminal determines that there is a security risk in the first terminal.

14. The method according to claim 10, characterized in that Before the first terminal switches from the second receiving mode to the first receiving mode, the method further includes: 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. The method according to claim 14, characterized in that The first terminal switches from the second receiving mode to the first receiving mode, comprising: The V2X layer of the first terminal instructs the access layer of the first terminal to switch to the first receiving mode based on the second information.

16. A communication method, characterized in that: The method comprises: The second terminal determines to switch the first terminal, which is 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 a receiving window of each receiving cycle, and 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. The method according to claim 16, characterized in that The method further comprises: The second terminal receives first information sent by the first terminal, where the first information is used for the first terminal to be in a second receiving mode.

18. The method according to claim 17, characterized in that The first information includes user information of the first terminal; The first information further includes one or more of the following parameters: duration of a receiving window of the first terminal, duration of a receiving cycle of the first terminal, start time of the receiving window of the first terminal, start time of the receiving cycle of the first terminal, or receiving mode information; The receiving mode information is used to indicate the receiving mode of the first terminal.

19. The method according to claim 18, characterized in that In a case where the first information includes a duration of a receiving period of the first terminal and a duration of a receiving period of the first terminal, the second terminal sending second information to the first terminal includes: The second terminal repeatedly sends the second information within a first time period with a first duration as the sending time interval, the duration of the first time period is greater than or equal to the duration of the receiving cycle of the first terminal, and the first duration is less than or equal to the duration of the receiving window of the first terminal.

20. 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; In a case where the first information includes a duration of a receiving period of the first terminal and a duration of a receiving period of the first terminal, the second terminal sending second information to the first terminal includes: Determining, by the second terminal, a time domain offset value of the receiving window according to a duration of the receiving period and a layer 2 identifier of the first terminal; Determining, by the second terminal, a start time of a 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. The method according to claim 18, wherein In a case where the first information includes a duration of a receiving window of the first terminal and a start time of the receiving window of the first terminal, the second terminal sending second information to the first terminal includes: 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.

22. The method according to any one of claims 16 to 18, characterized in that The second terminal sending second information to the first terminal includes: The second terminal sends the second information to the first terminal within the receiving window of the first terminal according to the pre-configured duration of the receiving window of the first terminal and the start time of the receiving window of the first terminal.

23. The method according to claim 16, wherein The second terminal determining to switch the first terminal in the second receiving mode to the first receiving mode includes: The second terminal determines that there is a security risk in the first terminal.

24. The method according to claim 23, wherein Determining, by the second terminal, that there is a security risk to the first terminal includes: The second terminal obtains, by the second terminal, the motion information of the first terminal and the motion information of the second terminal; The second terminal determines, based on the motion information of the first terminal and the motion information of the second terminal, that the second terminal does not meet the first preset condition.

25. The method according to claim 24, characterized in that The first preset condition includes 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 level of a 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. The method according to claim 23, wherein Determining, by the second terminal, that there is a security risk to the first terminal includes: The second terminal determines that the second terminal is in an out-of-control state.

27. The method according to claim 16, wherein The second information includes user information of the first terminal.

28. A communication device, characterized in that: The communication device comprises means for executing the steps of the method according to any one of claims 1 to 27.

29. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which, when executed on a computer, enable the computer to perform the method according to any one of claims 1 to 27.

30. A chip, characterized in that: The chip includes a processing unit and transceiver pins; the processing unit is used to perform the processing operations in the method involved in any one of claims 1 to 27, and the transceiver pins are used to perform the communication operations in the method involved in any one of claims 1 to 27.

Citation Information

Patent Citations

  • V2x services in next generation cellular networks

    WO2018064179A1