Method of controlling an interface, communication device

By dynamically switching the PC5 interface mode according to preset conditions in vehicle wireless communication, the problem of high power consumption caused by long-term operation is solved, and a balance between energy consumption management and communication effectiveness is achieved.

CN114257984BActive Publication Date: 2026-03-20HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In automotive wireless communication technology, keeping the V2X interface on for extended periods leads to excessive power consumption, affecting the battery life of terminal devices.

Method used

By judging preset conditions, the PC5 interface can be dynamically switched between low power and high power modes, and the power consumption management of the interface can be optimized based on factors such as the location, speed, signal strength and user status of the terminal.

Benefits of technology

It effectively reduces the power consumption of the PC5 interface, improves the accuracy of interface mode switching, reduces user judgment and operation, and ensures the effectiveness of V2X communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114257984B_ABST
    Figure CN114257984B_ABST
Patent Text Reader

Abstract

The application provides a method for controlling an interface and a communication device. The method is executed by a terminal with a V2X function, and comprises the following steps: the terminal judges whether a first preset condition is established or not, the first preset condition being related to a state of the terminal; in the case that the first preset condition is established, the terminal switches a working mode of a PC5 interface to a low-power-consumption mode, or prompts a user to switch the working mode of the PC5 interface to the low-power-consumption mode. The technical scheme provided by the application is beneficial to reducing the power consumption of the interface.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of electronic devices, and more particularly, to a method for controlling an interface and a communication device. BACKGROUND

[0002] Vehicle wireless communication technology (or vehicle-to-everything (V2X) technology) can realize communication between vehicles and base stations. To ensure real-time reception of V2X messages, the most ideal solution is to keep the interface (e.g., PC5 interface) corresponding to V2X services open all the time, but this will result in excessive power consumption. SUMMARY

[0003] The present application provides a method for controlling an interface and a communication device, which aims to reduce the power consumption of the interface.

[0004] In a first aspect, a method for controlling an interface is provided, which is performed by a terminal with vehicle-to-everything (V2X) communication function, and the method comprises:

[0005] The terminal determines whether a first preset condition is met;

[0006] In the case where the first preset condition is met, the terminal performs a first action, which comprises:

[0007] switching the working mode of a PC5 interface to a low-power mode, or

[0008] performing a first prompting action, which is used to prompt a user to switch the working mode of the PC5 interface to the low-power mode,

[0009] wherein the first preset condition comprises at least one of the following:

[0010] the strength of a first positioning signal is less than or equal to a first preset signal strength;

[0011] the strength of a second positioning signal is greater than or equal to a second preset signal strength;

[0012] the user is not in a motion state;

[0013] the moving speed of the terminal is less than or equal to a preset moving speed;

[0014] the current position of the terminal belongs to a first traffic position;

[0015] the current position of the terminal is not located near a target V2X communication device;

[0016] the terminal receives vehicle driving information sent by a vehicle, and the vehicle driving information indicates that the vehicle is currently in a normal engine-off state.

[0017] In the present application, the terminal can indirectly determine whether the terminal is in a scenario far away from a vehicle by judging whether a first preset condition is established, and then the terminal can use a low-power PC5 interface mode in a timely manner, which is conducive to reducing the power consumption of the PC5 interface. The first preset condition can involve various scenarios, which is conducive to improving the accuracy of the terminal switching the working mode of the PC5 interface.

[0018] Optionally, the first preset condition can further include that the terminal receives first indication information sent by a V2X server, and the first indication information indicates the low-power mode.

[0019] In combination with the first aspect, in some implementations of the first aspect, the method further includes:

[0020] In a case where the first preset condition is not established, the terminal performs a second action, including:

[0021] switching the working mode of the PC5 interface to a high-power mode, or

[0022] performing a second prompting action for prompting a user to switch the working mode of the PC5 interface to the high-power mode.

[0023] In the present application, the terminal can indirectly determine whether the terminal is in a scenario far away from a vehicle or a scenario close to a vehicle by judging whether a first preset condition is established, and then the terminal can flexibly adjust the working mode of the PC5 interface of the terminal, which is conducive to balancing the power consumption of the PC5 interface and the effectiveness of V2X communication.

[0024] In combination with the first aspect, in some implementations of the first aspect, the terminal judging whether a first preset condition is established includes:

[0025] The terminal judges whether the first preset condition and a second preset condition are established, in a case where the first preset condition is established, the first preset condition corresponds to a first weight, the first weight is a degree of inclination of switching the working mode of the PC5 interface to the low-power mode, in a case where the second preset condition is not established, the second preset condition corresponds to a second weight, the second weight is a degree of inclination of switching the working mode of the PC5 interface to a high-power mode, and the second weight is less than the first weight.

[0026] The terminal performing a first action corresponding to the first preset condition in a case where the first preset condition is established includes:

[0027] In a case where the first preset condition is established and the second preset condition is not established, the terminal determines to perform the first action according to the first weight and the second weight.

[0028] In the present application, in a case where it is possible to conclude that the terminal is in a scenario far away from a vehicle and it is also possible to conclude that the terminal is in a scenario close to a vehicle, the weight can be beneficial to accurately determine the scenario in which the terminal is currently located, and thus beneficial to timely use a low-power PC5 interface working mode, and thus beneficial to reduce user judgment, indication or operation.

[0029] With reference to the first aspect, in some implementations of the first aspect, in a case where the first preset condition is established, the terminal performs a first action corresponding to the first preset condition, including:

[0030] In a case where the first preset condition is established and a duration for which the first preset condition is established is greater than or equal to a target time length threshold, the terminal performs the first action.

[0031] In the present application, in a case where the duration for which the first preset condition is established is long enough, it is beneficial to accurately determine whether the terminal is currently far away from a vehicle, and thus beneficial to reduce frequent switching of the PC5 interface working mode.

[0032] Optionally, the strength of the first positioning signal is less than a first preset signal strength, including:

[0033] A duration for which the strength of the first positioning signal is less than or equal to the first preset signal strength is greater than or equal to a second time length threshold.

[0034] Optionally, the strength of the second positioning signal is greater than or equal to a second preset signal strength, including:

[0035] A duration for which the strength of the second positioning signal is greater than or equal to the second preset signal strength is greater than or equal to a third time length threshold.

[0036] Optionally, the moving speed of the terminal is less than or equal to a preset moving speed, including:

[0037] In a target time period, a maximum moving speed or an average moving speed of the terminal is lower than the preset moving speed, and the target time period is greater than the target time length threshold.

[0038] With reference to the first aspect, in some implementations of the first aspect, the terminal determines whether a first preset condition is established, including:

[0039] The terminal determines whether the user is in a motion state according to a step count increase amount in a unit time and / or a moving speed of the terminal.

[0040] In the present application, whether there is a vehicle around the user can be determined according to the step information of the user and the moving speed of the terminal, so that the terminal can use the working mode of the low-power PC5 interface in time, which is conducive to reducing the power consumption of the PC5 interface, and further conducive to reducing the judgment, indication or operation of the user.

[0041] In combination with the first aspect, in some implementations of the first aspect, the terminal is a vehicle-mounted device, and before the terminal determines whether the first preset condition is established, the method further includes:

[0042] The terminal acquires the current speed of the vehicle;

[0043] The terminal determines whether the first preset condition is established, including:

[0044] The terminal determines whether the current speed is less than or equal to the preset moving speed.

[0045] In the present application, whether the user is in a driving state can be determined according to the speed of the vehicle, so that the terminal can use the working mode of the low-power PC5 interface in time, which is conducive to reducing the power consumption of the PC5 interface, and further conducive to reducing the judgment, indication or operation of the user.

[0046] In combination with the first aspect, in some implementations of the first aspect, the first traffic location includes at least one of the following: a park, a shopping center, a square, and an indoor.

[0047] In the present application, by matching the position of the terminal with a plurality of first traffic locations, the terminal can use the working mode of the low-power PC5 interface in time, which is conducive to reducing the power consumption of the PC5 interface, and further conducive to reducing the judgment, indication or operation of the user.

[0048] In combination with the first aspect, in some implementations of the first aspect, the current position of the terminal is not located near the target V2X communication device, including at least one of the following:

[0049] The current latitude and longitude information of the terminal does not match the latitude and longitude information of the target V2X communication device;

[0050] The cell currently registered by the terminal does not register the target V2X communication device;

[0051] The terminal does not receive a short-distance communication message from the target V2X communication device.

[0052] In the present application, the position relationship determination can be flexibly implemented in a plurality of ways, so that the terminal can be flexibly cut out of the payment state.

[0053] With reference to the first aspect, in some implementations of the first aspect, the target V2X communication device comprises a V2X communication device located at a toll station or an ETC gantry.

[0054] In the present application, by matching the position of the terminal with the toll communication device, the terminal can quickly exit the toll state and use the low-power mode of the PC5 interface in a timely manner, which is conducive to reducing the power consumption of the PC5 interface.

[0055] With reference to the first aspect, in some implementations of the first aspect, before the terminal determines whether the first preset condition is met, the method further comprises:

[0056] The terminal determines a driving route;

[0057] The terminal obtains the latitude and longitude information of the toll station and / or the latitude and longitude information of the ETC gantry on the driving route.

[0058] In the present application, by obtaining the information of the toll communication device when planning the route, the position of the terminal itself can be matched with the position of the toll communication device in a timely manner.

[0059] With reference to the first aspect, in some implementations of the first aspect, the terminal is a mobile phone or a V2X license plate.

[0060] With reference to the first aspect, in some implementations of the first aspect, the low-power mode comprises a shutdown mode or a periodic listening mode.

[0061] In the present application, the PC5 interface can have multiple low-power modes, thereby facilitating flexible adjustment of the power consumption of the PC5 interface.

[0062] The second aspect provides a method for controlling an interface, the method being performed by a terminal having a vehicle-to-everything (V2X) communication function, and the method comprising:

[0063] The terminal determines whether a third preset condition is met;

[0064] In the case where the third preset condition is met, the terminal performs a second action, comprising:

[0065] switching the working mode of the PC5 interface to a high-power mode, or

[0066] performing a second prompting action, the second prompting action being used to prompt a user to switch the working mode of the PC5 interface to the high-power mode,

[0067] The third preset condition comprises at least one of the following:

[0068] The strength of the first positioning signal is greater than or equal to a first preset signal strength.

[0069] The second positioning signal from the vehicle is detected.

[0070] The user is in a motion state.

[0071] The moving speed of the terminal is greater than or equal to a preset moving speed.

[0072] The current position of the terminal belongs to a second traffic position.

[0073] The current position of the terminal is located near a target V2X communication device.

[0074] The terminal receives vehicle driving information sent by the vehicle, and the vehicle driving information indicates that the vehicle is currently in an abnormal engine stall state.

[0075] In the present application, the terminal can indirectly determine whether the terminal is in a scenario far away from the vehicle by judging whether a third preset condition is established, and then the terminal can use a high-power PC5 interface mode in time, which is conducive to ensuring that the terminal performs V2X communication. The third preset condition can involve multiple scenarios, which is conducive to improving the accuracy of the terminal switching the working mode of the PC5 interface.

[0076] Optionally, the third preset condition further includes that the terminal receives second indication information sent by a V2X server, and the second indication information indicates the high-power mode.

[0077] In combination with the second aspect, in some implementations of the second aspect, the method further includes:

[0078] In a case where the third preset condition is not established, the terminal performs a first action, including:

[0079] switching the working mode of the PC5 interface to a low-power mode, or

[0080] performing a first prompt action, the first prompt action being used to prompt a user to switch the working mode of the PC5 interface to the low-power mode.

[0081] In the present application, the terminal can indirectly determine whether the terminal is in a scenario far away from the vehicle or in a scenario close to the vehicle by judging whether a third preset condition is established, and then the terminal can flexibly adjust the working mode of the PC5 interface of the terminal, which is conducive to balancing the power consumption of the PC5 interface and the effectiveness of V2X communication.

[0082] In combination with the second aspect, in some implementations of the second aspect, the terminal judging whether a third preset condition is established includes:

[0083] The terminal judges whether the third preset condition and the fourth preset condition are established, in the case that the third preset condition is established, the third preset condition corresponds to a third weight, the third weight is a degree of inclination of switching the working mode of the PC5 interface to the high-power consumption mode, in the case that the fourth preset condition is not established, the fourth preset condition corresponds to a fourth weight, the fourth weight is a degree of inclination of switching the working mode of the PC5 interface to a low-power consumption mode, and the fourth weight is less than the third weight.

[0084] In the case that the third preset condition is established, the terminal performs a second action corresponding to the third preset condition, including:

[0085] In the case that the third preset condition is established and the fourth preset condition is not established, the terminal determines to perform the second action according to the third weight and the fourth weight.

[0086] In the present application, in the case that it is possible to conclude that the terminal is in a far-away-vehicle scenario and it is also possible to conclude that the terminal is in a close-to-vehicle scenario, the weight can be beneficial to accurately judge the current scenario of the terminal, and then be beneficial to timely use the working mode of the high-power consumption PC5 interface, and then be beneficial to reduce the judgment, indication or operation of the user.

[0087] In combination with the second aspect, in some implementation manners of the second aspect, in the case that the third preset condition is established, the terminal performs a second action corresponding to the third preset condition, including:

[0088] In the case that the third preset condition is established and a duration in which the third preset condition is established is greater than or equal to a target time length threshold, the terminal performs the second action.

[0089] In the present application, in the case that the duration in which the third preset condition is established is long enough, it is beneficial to accurately judge whether the terminal is currently close to a vehicle, and then reduce the frequent switching of the working mode of the PC5 interface.

[0090] Optionally, the strength of the first positioning signal is greater than a first preset signal strength, including:

[0091] The duration in which the strength of the first positioning signal is greater than or equal to the first preset signal strength is greater than or equal to a first time length threshold.

[0092] Optionally, the moving speed of the terminal is greater than or equal to a preset moving speed, including:

[0093] In a target time period, the minimum moving speed or the average moving speed of the terminal is higher than the preset moving speed, and the target time period is greater than the target time length threshold.

[0094] With reference to the second aspect, in some implementations of the second aspect, the terminal determining whether the third preset condition is met comprises:

[0095] The terminal determines whether the user is in a motion state according to the step count growth amount in a unit time and / or the moving speed of the terminal.

[0096] In the present application, whether there is a vehicle around the user can be determined according to the step count information of the user and the moving speed of the terminal, so that the terminal can use the working mode of the high-power PC5 interface in time, which is conducive to ensuring the terminal to perform V2X communication, and further conducive to reducing the judgment, indication or operation of the user.

[0097] With reference to the second aspect, in some implementations of the second aspect, the terminal is a vehicle-mounted device, and before the terminal determines whether the third preset condition is met, the method further comprises:

[0098] The terminal obtains the current speed of the vehicle.

[0099] The terminal determines whether the third preset condition is met, comprising:

[0100] The terminal determines whether the current speed is greater than or equal to the preset moving speed.

[0101] In the present application, whether the user is likely to be in a driving state can be determined according to the speed of the vehicle, so that the terminal can use the working mode of the high-power PC5 interface in time, which is conducive to ensuring the terminal to perform V2X communication, and further conducive to reducing the judgment, indication or operation of the user.

[0102] With reference to the second aspect, in some implementations of the second aspect, the second traffic location comprises at least one of the following: a street, a subway station, a toll station, a community, and a campus.

[0103] In the present application, by matching the position of the terminal with a plurality of second traffic locations, the terminal can use the working mode of the high-power PC5 interface in time, which is conducive to ensuring the terminal to perform V2X communication, and further conducive to reducing the judgment, indication or operation of the user.

[0104] With reference to the second aspect, in some implementations of the second aspect, the current position of the terminal is located near a target V2X communication device, comprising at least one of the following:

[0105] The current latitude and longitude information of the terminal matches the latitude and longitude information of the target V2X communication device.

[0106] The cell currently registered by the terminal registers the target V2X communication device.

[0107] The terminal receives a short-distance communication message from the target V2X communication device.

[0108] In the present application, the position relationship judgment can be flexibly implemented in various ways, so that the terminal can flexibly enter the toll payment state.

[0109] In combination with the second aspect, in some implementations of the second aspect, the target V2X communication device includes a V2X communication device located at a toll station or an ETC gantry of a non-stop toll collection system.

[0110] In the present application, by matching the position of the terminal with the toll communication device, the terminal can quickly enter the toll payment state and use the working mode of the PC5 interface with high power consumption in a timely manner, which is conducive to ensuring that the terminal performs V2X communication.

[0111] In combination with the second aspect, in some implementations of the second aspect, before the terminal determines whether the third preset condition is met, the method further includes:

[0112] The terminal determines a travel route;

[0113] The terminal obtains the latitude and longitude information of the toll station and / or the latitude and longitude information of the ETC gantry on the travel route.

[0114] In the present application, by obtaining the information of the toll communication device when planning the route, it is beneficial to match the position of the terminal itself with the position of the toll communication device in a timely manner.

[0115] In combination with the second aspect, in some implementations of the second aspect, the abnormal stall state includes at least one of the following:

[0116] The hazard warning light of the vehicle is turned on;

[0117] The vehicle has an abnormal fire action;

[0118] The vehicle has a fault.

[0119] In the present application, the abnormal stall state can have various possible forms, which is conducive to the terminal adopting a suitable working mode of the PC5 interface, and further conducive to reducing the judgment, indication or operation of the user.

[0120] In combination with the second aspect, in some implementations of the second aspect, the terminal is a mobile phone or a V2X license plate.

[0121] In combination with the second aspect, in some implementations of the second aspect, the high-power mode includes a wake-up mode or a periodic listening mode.

[0122] In the present application, the PC5 interface can have multiple low-power modes, thereby facilitating flexible adjustment of the power consumption of the PC5 interface.

[0123] In a third aspect, a method for controlling an interface is provided, the method being performed by a vehicle having a vehicle-to-everything (V2X) communication function, and the method comprising:

[0124] determining whether the vehicle is currently in an abnormal engine stall state;

[0125] in a case where the vehicle is in the abnormal engine stall state, performing a second action, comprising:

[0126] switching a working mode of a PC5 interface to a high-power mode, or

[0127] performing a second prompting action for prompting a user to switch the working mode of the PC5 interface to the high-power mode.

[0128] In the present application, the vehicle can determine whether it is in an abnormal engine stall state, thereby indirectly determining whether a terminal needs to use a high-power working mode of a PC5 interface, which facilitates guaranteeing the vehicle to perform V2X communication.

[0129] With reference to the third aspect, in some implementations of the third aspect, the abnormal engine stall state comprises at least one of:

[0130] a danger warning light of the vehicle is turned on;

[0131] the vehicle has an abnormal engine start action;

[0132] the vehicle has a fault.

[0133] In the present application, the abnormal engine stall state can involve multiple scenarios, which facilitates improving the accuracy of the vehicle switching the working mode of the PC5 interface, thereby facilitating reducing the judgment, indication or operation of the user.

[0134] With reference to the third aspect, in some implementations of the third aspect, the method further comprises:

[0135] in a case where the vehicle is in a normal engine stall state, performing a first action, comprising:

[0136] switching a working mode of a PC5 interface to a low-power mode, or

[0137] performing a first prompting action for prompting a user to switch the working mode of the PC5 interface to the low-power mode.

[0138] In the present application, the vehicle can determine whether it is in a normal engine-off state, and then indirectly determine whether the terminal needs to use a low-power PC5 interface mode, which is conducive to reducing the power consumption of the PC5 interface, and then conducive to reducing the user's judgment, indication or operation.

[0139] In combination with the third aspect, in some implementations of the third aspect, the high-power mode includes a periodic listening mode or a wake-up mode.

[0140] In the present application, the PC5 interface can have multiple low-power modes, thereby facilitating flexible adjustment of the power consumption of the PC5 interface.

[0141] The fourth aspect provides a method for controlling an interface, the method is performed by a vehicle with a vehicle-to-everything (V2X) communication function, and the method comprises the following steps.

[0142] The vehicle determines whether the vehicle is currently in a normal engine-off state;

[0143] When the vehicle is in a normal engine-off state, the vehicle performs a first action, which comprises:

[0144] Switching a working mode of a PC5 interface to a low-power mode, or

[0145] Performing a first prompting action, which is used to prompt a user to switch the working mode of the PC5 interface to the low-power mode.

[0146] In the present application, the vehicle can determine whether it is in a normal engine-off state, and then indirectly determine whether the terminal needs to use a low-power PC5 interface mode, which is conducive to reducing the power consumption of the PC5 interface, and then conducive to reducing the user's judgment, indication or operation.

[0147] In combination with the fourth aspect, in some implementations of the fourth aspect, the low-power mode includes an off mode.

[0148] The fifth aspect provides a device for controlling an interface, the device is applied to a device with a vehicle-to-everything (V2X) communication function, or the device is a device with a vehicle-to-everything (V2X) communication function, and the device comprises the following steps.

[0149] The processing module is configured to determine whether a first preset condition is established.

[0150] The control module is configured to perform a first action when the first preset condition is established, which comprises:

[0151] Switching a working mode of a PC5 interface to a low-power mode, or

[0152] perform a first prompting action, the first prompting action being used to prompt a user to switch a working mode of the PC5 interface to the low-power-consumption mode,

[0153] The first preset condition comprises at least one of the following:

[0154] The strength of the first positioning signal is less than or equal to a first preset signal strength;

[0155] The strength of the second positioning signal is greater than or equal to a second preset signal strength;

[0156] The user is not in a motion state;

[0157] The moving speed of the device is less than or equal to a preset moving speed;

[0158] The current position of the device belongs to a first traffic position;

[0159] The current position of the device is not located near a target V2X communication device;

[0160] The device receives vehicle driving information sent by a vehicle, and the vehicle driving information indicates that the vehicle is currently in a normal engine-off state.

[0161] With reference to the fifth aspect, in some implementations of the fifth aspect, the control module is further configured to, in a case where the first preset condition is not established, perform a second action, including:

[0162] switching the working mode of the PC5 interface to a high-power-consumption mode, or

[0163] performing a second prompting action, the second prompting action being used to prompt a user to switch the working mode of the PC5 interface to the high-power-consumption mode.

[0164] Optionally, the first preset condition further comprises that the device receives first indication information sent by a V2X server, and the first indication information indicates the low-power-consumption mode.

[0165] With reference to the fifth aspect, in some implementations of the fifth aspect, the processing module is specifically configured to: determine whether the first preset condition and a second preset condition are established, in a case where the first preset condition is established, the first preset condition corresponds to a first weight, the first weight is a degree of inclination of switching the working mode of the PC5 interface to the low-power-consumption mode, in a case where the second preset condition is not established, the second preset condition corresponds to a second weight, the second weight is a degree of inclination of switching the working mode of the PC5 interface to a high-power-consumption mode, and the second weight is less than the first weight;

[0166] The control module is specifically configured to: in a case where the first preset condition is established and the second preset condition is not established, determine to execute the first action according to the first weight and the second weight.

[0167] With reference to the fifth aspect, in some implementations of the fifth aspect, the control module is specifically configured to: in a case where the first preset condition is established and a duration for which the first preset condition is established is greater than or equal to a target time length threshold, execute the first action.

[0168] With reference to the fifth aspect, in some implementations of the fifth aspect, the processing module is specifically configured to: determine whether the user is in a motion state according to a step count increase amount in a unit time and / or a moving speed of the device.

[0169] With reference to the fifth aspect, in some implementations of the fifth aspect, the device is a vehicle-mounted equipment, and the processing module is further configured to: before the processing module determines whether the first preset condition is established, acquire a current vehicle speed of a vehicle.

[0170] The processing module is specifically configured to: determine whether the current vehicle speed is less than or equal to the preset moving speed.

[0171] With reference to the fifth aspect, in some implementations of the fifth aspect, the first traffic location includes at least one of the following: a park, a shopping center, a square, and an indoor location.

[0172] With reference to the fifth aspect, in some implementations of the fifth aspect, the current location of the device is not located near a target V2X communication equipment, including at least one of the following:

[0173] The current latitude and longitude information of the device does not match latitude and longitude information of the target V2X communication equipment.

[0174] A cell currently registered by the device does not register the target V2X communication equipment.

[0175] The device does not receive a short-distance communication message from the target V2X communication equipment.

[0176] With reference to the fifth aspect, in some implementations of the fifth aspect, the target V2X communication equipment includes a V2X communication equipment located at a toll station or an ETC gantry of a non-stop toll collection system.

[0177] With reference to the fifth aspect, in some implementations of the fifth aspect, the processing module is further configured to: before the processing module determines whether the first preset condition is established, determine a driving route.

[0178] The processing module is further configured to acquire the latitude and longitude information of the toll station and / or the latitude and longitude information of the ETC gantry on the driving route.

[0179] With reference to the fifth aspect, in some implementations of the fifth aspect, the device is a mobile phone or a V2X license plate.

[0180] With reference to the fifth aspect, in some implementations of the fifth aspect, the low-power mode includes a shutdown mode or a periodic listening mode.

[0181] A sixth aspect provides a device for controlling an interface, the device being applied to or being a device having a vehicle-to-everything (V2X) communication function, and the device comprising:

[0182] a processing module configured to determine whether a third preset condition is met;

[0183] a control module configured to, if the third preset condition is met, perform a second action, including:

[0184] switching a working mode of a PC5 interface to a high-power mode, or

[0185] performing a second prompting action, the second prompting action being configured to prompt a user to switch the working mode of the PC5 interface to the high-power mode,

[0186] wherein the third preset condition includes at least one of:

[0187] a strength of a first positioning signal being greater than or equal to a first preset signal strength;

[0188] detecting a second positioning signal from a vehicle;

[0189] the user being in a motion state;

[0190] a moving speed of the device being greater than or equal to a preset moving speed;

[0191] a current position of the device belonging to a second traffic position;

[0192] the device receiving second indication information sent by a V2X server, the second indication information indicating the high-power mode;

[0193] the current position of the device being located near a target V2X communication device;

[0194] the device receiving vehicle driving information sent by a vehicle, the vehicle driving information indicating that the vehicle is currently in an abnormal shutdown state.

[0195] With reference to the sixth aspect, in some implementations of the sixth aspect, the control module is further configured to:

[0196] in a case where the third preset condition is not met, performing a first action, including:

[0197] switching an operation mode of a PC5 interface of direct connection communication to a low-power consumption mode, or

[0198] performing a first prompting action, the first prompting action being configured to prompt a user to switch the operation mode of the PC5 interface to the low-power consumption mode.

[0199] With reference to the sixth aspect, in some implementations of the sixth aspect, the processing module is specifically configured to: determine whether the first preset condition and the second preset condition are met, in a case where the first preset condition is met, the first preset condition corresponding to a first weight, the first weight being a degree of inclination to switch the operation mode of the PC5 interface to the low-power consumption mode, in a case where the second preset condition is not met, the second preset condition corresponding to a second weight, the second weight being a degree of inclination to switch the operation mode of the PC5 interface to a high-power consumption mode, the second weight being less than the first weight;

[0200] the control module is specifically configured to: in a case where the first preset condition is met and the second preset condition is not met, determine, according to the first weight and the second weight, whether to perform the first action.

[0201] With reference to the sixth aspect, in some implementations of the sixth aspect, the processing module is specifically configured to: determine whether the user is in a motion state according to a step count increase amount within a unit time and / or a moving speed of the device.

[0202] With reference to the sixth aspect, in some implementations of the sixth aspect, the device is a vehicle-mounted equipment, and the processing module is further configured to: before determining whether a third preset condition is met, acquire a current vehicle speed of a vehicle;

[0203] the processing module is specifically configured to: determine whether the current vehicle speed is greater than or equal to the preset moving speed.

[0204] With reference to the sixth aspect, in some implementations of the sixth aspect, the second traffic location includes at least one of the following: a street, a subway station, a toll station, a community, and a campus.

[0205] With reference to the sixth aspect, in some implementations of the sixth aspect, the current location of the device is located near a target V2X communication equipment, including at least one of the following:

[0206] The current latitude and longitude information of the device matches the latitude and longitude information of the target V2X communication device;

[0207] The cell currently registered by the device registers the target V2X communication device;

[0208] The device receives a short-distance communication message from the target V2X communication device.

[0209] In combination with the sixth aspect, in some implementations of the sixth aspect, the target V2X communication device includes a V2X communication device located at a toll station or an ETC gantry of a non-stop toll collection system.

[0210] In combination with the sixth aspect, in some implementations of the sixth aspect, the processing module is further configured to determine a driving route before the processing module determines whether the third preset condition is met.

[0211] The processing module is further configured to obtain the latitude and longitude information of the toll station and / or the latitude and longitude information of the ETC gantry on the driving route.

[0212] In combination with the sixth aspect, in some implementations of the sixth aspect, the abnormal engine stall state includes at least one of the following:

[0213] The hazard warning light of the vehicle is turned on;

[0214] The vehicle has an abnormal kick action;

[0215] The vehicle has a fault.

[0216] In combination with the sixth aspect, in some implementations of the sixth aspect, the device is a mobile phone or a V2X license plate.

[0217] In combination with the sixth aspect, in some implementations of the sixth aspect, the high-power consumption mode includes a wake-up mode or a periodic listening mode.

[0218] In a seventh aspect, a device for controlling an interface is provided, the device is applied to a vehicle with a vehicle-to-everything (V2X) communication function or the device is a vehicle with a V2X communication function, and the device includes:

[0219] A processing module configured to determine whether the vehicle is currently in an abnormal engine stall state;

[0220] A control module configured to perform a second action if the vehicle is in an abnormal engine stall state, including:

[0221] Switching the working mode of a direct communication PC5 interface to a high-power consumption mode, or

[0222] performing a second prompting action, the second prompting action being used to prompt a user to switch a working mode of the PC5 interface to the high-power-consumption mode.

[0223] In some implementations of the seventh aspect, in combination with the seventh aspect, the abnormal engine stall state includes at least one of:

[0224] a hazard warning light of the vehicle is turned on;

[0225] the vehicle has an abnormal engine start-up action;

[0226] the vehicle has a fault.

[0227] In some implementations of the seventh aspect, in combination with the seventh aspect, the control module is further configured to:

[0228] when the vehicle is in a normal engine stall state, performing a first action, including:

[0229] switching a working mode of a PC5 interface to a low-power-consumption mode, or

[0230] performing a first prompting action, the first prompting action being used to prompt a user to switch the working mode of the PC5 interface to the low-power-consumption mode.

[0231] In some implementations of the seventh aspect, in combination with the seventh aspect, the high-power-consumption mode includes a periodic listening mode or a wake-up mode.

[0232] An eighth aspect provides a device for controlling an interface, the device being applied to a vehicle having a vehicle-to-everything (V2X) communication function or the device being the vehicle having the V2X communication function, and the device includes:

[0233] a processing module configured to determine whether the vehicle is currently in a normal engine stall state;

[0234] a control module configured to, when the vehicle is in the normal engine stall state, perform a first action, including:

[0235] switching a working mode of a PC5 interface to a low-power-consumption mode, or

[0236] performing a first prompting action, the first prompting action being used to prompt a user to switch the working mode of the PC5 interface to the low-power-consumption mode.

[0237] In some implementations of the eighth aspect, in combination with the eighth aspect, the low-power-consumption mode includes an off mode.

[0238] In a ninth aspect, a communication apparatus is provided, the communication apparatus comprising: one or more processors; one or more memories; the one or more memories storing one or more computer programs comprising instructions that, when executed by the one or more processors, cause the communication apparatus to perform the method of any possible implementation of the first aspect to the fourth aspect.

[0239] In a tenth aspect, a non-transitory computer-readable storage medium is provided, including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any possible implementation of the first aspect to the fourth aspect.

[0240] In an eleventh aspect, a computer program product is provided, including instructions that, when executed on an electronic device, cause the electronic device to perform the method of any possible implementation of the first aspect to the fourth aspect. BRIEF DESCRIPTION OF DRAWINGS

[0241] Figure 1 is a schematic diagram of a V2X scenario.

[0242] Figure 2 is a schematic diagram of a V2X communication architecture.

[0243] Figure 3 is a schematic diagram of another V2X communication architecture.

[0244] Figure 4 is a schematic structural diagram of a vehicle provided by an embodiment of the application.

[0245] Figure 5 is a schematic structural diagram of a remote receiving box provided by an embodiment of the application.

[0246] Figure 6 is a schematic structural diagram of a terminal provided by an embodiment of the application.

[0247] Figure 7 is a schematic structural diagram of a working mode of a PC5 interface provided by an embodiment of the application.

[0248] Figure 8 is a V2X application scenario of a terminal provided by an embodiment of the application.

[0249] Figure 9 is a schematic diagram of a user interface for prompting a user to turn on or turn off a PC5 interface provided by an embodiment of the application.

[0250] Figure 10 is a V2X application scenario of a terminal provided by an embodiment of the application.

[0251] Figure 11 is a V2X application scenario of a terminal provided by an embodiment of the present application.

[0252] Figure 12 is a V2X application scenario of a terminal provided by an embodiment of the present application.

[0253] Figure 13 is a V2X application scenario of a terminal provided by an embodiment of the present application.

[0254] Figure 14 is a V2X application scenario of a terminal provided by an embodiment of the present application.

[0255] Figure 15 is a V2X application scenario of a terminal provided by an embodiment of the present application.

[0256] Figure 16 is a V2X application scenario of a vehicle provided by an embodiment of the present application.

[0257] Figure 17 is a V2X application scenario of a vehicle provided by an embodiment of the present application.

[0258] Figure 18 is a V2X application scenario of a vehicle provided by an embodiment of the present application.

[0259] Figure 19 is a schematic flowchart of a method for controlling an interface provided by an embodiment of the present application.

[0260] Figure 20 is a schematic flowchart of a method for controlling an interface provided by an embodiment of the present application.

[0261] Figure 21 is a schematic flowchart of a method for controlling an interface provided by an embodiment of the present application.

[0262] Figure 22 is a schematic flowchart of a method for controlling an interface provided by an embodiment of the present application.

[0263] Figure 23 is a schematic structural diagram of a communication device provided by an embodiment of the present application.

[0264] Figure 24 is a schematic structural diagram of a communication device provided by an embodiment of the present application.

[0265] Figure 25 is a schematic structural diagram of a communication device provided by an embodiment of the present application.

[0266] Figure 26 is a schematic structural diagram of a communication device provided by an embodiment of the present application.

[0267] Figure 27 is a schematic structural diagram of a communication device provided by an embodiment of the present application.

[0268] Figure 28 is a schematic structural diagram of a communication device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0269] The technical solutions in the present application will be described below with reference to the drawings.

[0270] The scheme of the embodiments of the present application can be applied to the Internet of Vehicles. In order to more clearly understand the scheme of the present application, the related content of the Internet of Vehicles will be briefly introduced below.

[0271] In the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after it. "At least one of the following" or similar expressions means any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple. In addition, in the embodiments of the present application, "first", "second", and the like do not limit the number and execution order. In addition, in the embodiments of the present application, "301", "402", "503", and the like are only identifiers made for the convenience of description, and do not limit the order of execution steps.

[0272] It should be noted that in the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of "exemplary" or "for example" is intended to present the relevant concept in a specific manner.

[0273] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: a global system for mobile communications (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) system, a general packet radio service (GPRS), a long term evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD), a universal mobile telecommunications system (UMTS), a worldwide interoperability for microwave access (WiMAX) communication system, a future 5th generation (5G) system or new radio (NR), and the like. In addition, the technical solutions of the embodiments of the present application can be applied to future-oriented communication technologies, as long as the communication systems using new communication technologies include V2X communication. The system architecture and service scenarios described in the embodiments of the present application are used 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 by the embodiments of the present application. Those skilled in the art can know that, as the network architecture evolves and new service scenarios appear, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0274] In order to improve the safety and intelligence of the transportation system, the concept of intelligent transportation system is gradually emerging. Intelligent transportation can use new generation communication network and data processing capability to improve the overall efficiency of the transportation system, reduce energy loss, and increase the safety and convenience of transportation. V2X is a key technology for future intelligent transportation system. V2X communication can include vehicle to vehicle (V2V) communication, vehicle to infrastructure (V2I) communication, vehicle to pedestrian (V2P) communication, and vehicle to network (V2N) communication, and the like. Figure 1As shown. Through V2X communication, a series of traffic information such as real-time road conditions, road information, pedestrian information, etc. can be obtained, thereby improving driving safety, reducing congestion, improving traffic efficiency, providing vehicle entertainment information, etc.

[0275] For V2V communication, a vehicle can broadcast its speed, driving direction, specific location, whether the emergency brake is pressed, etc. to surrounding vehicles. The driver of the surrounding vehicle can better perceive the traffic conditions outside the visual range by obtaining such information, thereby making a pre-judgment and avoiding dangerous situations.

[0276] For V2I communication, roadside infrastructure such as road side unit (RSU) can provide vehicles with various service information and access to data networks, such as parking fees, in-vehicle entertainment, etc. These functions greatly improve traffic intelligence.

[0277] For V2P communication, a terminal carried by a user can communicate with a vehicle. The terminal may, for example, be a UE (User Equipment), MS (Mobile Station), mobile terminal, electronic tag (V2X license plate, a license plate with V2X communication function), etc. Optionally, the terminal can be a wearable device, a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc.

[0278] For V2N communication, a vehicle can communicate with a network such as an access network device, an edge cloud, etc. For example, the edge cloud can receive basic data of the vehicle (such as remaining fuel, current driving route, etc.), and then send a prompt message (such as the location of a nearby gas station) to the vehicle through cloud computing.

[0279] V2X can support direct communication interface (PC5 interface) communication and cellular communication interface (Uu interface) communication.

[0280] The PC5 interface can be a reference point between two user equipment (UE), and can be used to complete control plane and user plane signaling and data transmission, proximity service discovery, direct communication, and network relay function for terminals.

[0281] The Uu interface can be the interface between the UE and the access network equipment. This access network equipment can be a base station in the UMTS terrestrial radio access network (UTRAN), a base station in the Universal Mobile Telecommunications System (UMTS), an evolved Node B (eNodeB or eNB) in a 4G network, a base station in a 5G network (generationNode B, gNodeB or gNB), or a base station in a subsequent evolution network; there are no restrictions.

[0282] In this embodiment, the PC5 interface can be used for short-range direct communication or direct communication between UEs. UEs communicating via the PC5 interface can be located within network coverage or without network coverage; the network can be a 4G or 5G communication network, without limitation. The transmission distance of PC5 interface communication can be, for example, 50–300 meters, and the latency requirement can be, for example, 100ms (20ms for collisions). PC5 interface communication can include at least one of the following: unicast communication, multicast communication, and broadcast communication.

[0283] The unicast communication method of the PC5 interface refers to the communication method in which the server sends service data to a single UE, that is, a transmission method with a single target address. V2X servers and target UEs can transmit data through the unicast communication method of the PC5 interface.

[0284] Multicast communication via the PC5 interface refers to a communication method where a server sends service data to at least two UEs, meaning the destination address is at least two UEs in the network. These at least two UEs can refer to UEs within a specific area, and they can be divided into multiple groups, with each group corresponding to a specific address. V2X servers and UEs within the area including the target UE can transmit data via multicast communication via the PC5 interface.

[0285] The broadcast communication method of the PC5 interface can refer to the communication method in which the server sends service data to all UEs.

[0286] The embodiments of this application can be applied to 4G (such as...). Figure 2 As shown), 5G (such as) Figure 3 This is illustrated in the text, which discusses scenarios such as mobile edge computing (MEC). The following section uses 4G and 5G as examples to introduce V2X communication systems.

[0287] likeFigure 2 Fig. 1 shows a schematic diagram of a 4G-based V2X communication system. The communication system can comprise: a V2X application server, a V2X application 1, a V2X application 2, a V2X application 3, a V2X application 4, a V2X control function, a UE 1, a UE 2, a UE 3, a UE 4, a V2X control function, a home subscriber server (HSS), a mobility management entity (MME), an evolved UMTS terrestrial radio access network (E-UTRAN), a serving / PDN gateway (S / P-GW).

[0288] The V2X application server can communicate with network elements in the 4G network, for example, the V2X application server can communicate with the V2X control function, the UE, or the S / P-GW, etc. The V2X application server can be the V2X server in the above.

[0289] The V2X control function can be responsible for the control of V2X policy parameters. The V2X application server and the V2X control function can be connected through V2. The V2X control function can be connected with the UE 1, the UE 2, the UE 3, and the UE 4 through V3, respectively.

[0290] The V2X application can refer to the application of the UE on V2X (for example, the APP of the UE), for example, as shown in Figure 2 As shown, the application of the UE 3 on V2X can be the V2X application 1, the application of the UE 2 on V2X can be the V2X application 2, the application of the UE 1 on V2X can be the V2X application 3, and the application of the UE 4 on V2X can be the V2X application 4. The V2X application server and the V2X application 3 can be connected through V1.

[0291] Different V2X applications can be connected through V5, for example, the V2X application 1 and the V2X application 2, the V2X application 2 and the V2X application 3, and the V2X application 3 and the V2X application 4 can be connected through V5.

[0292] Different UEs can be connected through PC5, for example, the UE 1 and the UE 2, the UE 2 and the UE 3, and the UE 1 and the UE 4 can be connected through PC5.

[0293] The HSS is a concept introduced by the 3rd Generation Partnership Project (3GPP) when it introduced the Internet Protocol (IP) Multimedia System (IMS) in Release 5 (RAN5, R5), and can support the main user database for IMS network entities that handle calls / sessions. The HSS can include user profiles, perform authentication and authorization of users, and can provide information about the physical location of users. The functions provided by the HSS include IP multimedia functions, home location register (HLR) functions necessary for the packet switch (PS) domain, and HLR functions necessary for the circuit switch (CS) domain. The V2X control function and the HSS can be connected through V4.

[0294] The MME is a key control node of the 3GPP protocol long term evolution (LTE) access network, and can be responsible for positioning of UEs in idle mode, paging procedures, including relays. Simply put, the MME can be responsible for the signaling processing part. It involves bearer activation / closure procedures, and selects an S-GW for a UE when the UE is initialized and connected. The MME can authenticate a user by interacting with the HSS, and assign a temporary identity (ID) to a user. The MME also supports interception and monitoring within the scope of legal permission. The HSS and the MME can be connected through S6a.

[0295] The E-UTRAN is a completely new network system that can provide higher transmission rates and further meet users' higher requirements for speed. The E-UTRAN and the UE can be connected through long term evolution-Uu (LTE-Uu). The E-UTRAN and the MME can be connected through S1.

[0296] The S-GW is a gateway terminating at the E-UTRAN interface. Its main functions include: acting as a local anchor point and assisting with eNB reordering during inter-eNB handovers; acting as a mobility anchor point and assisting with access system reordering during handovers between different 3GPP access systems; performing lawful listening functions; routing and forwarding data packets; packet marking at the uplink and downlink transport layers; downlink packet buffering and initiating network-triggered service requests in idle state; and inter-carrier billing. The S / P-GW can connect to V2X control functions via a super group interface (SGi).

[0297] A P-GW is a gateway terminating at SGi in a packet data network (PDN). If a UE accesses multiple PDNs, it will correspond to one or more P-GWs. The main functions of a P-GW may include: user-based packet filtering, legitimate eavesdropping, UE IP address allocation, uplink / downlink packet transport layer marking, uplink / downlink service-level accounting and service-level gating, and service-based uplink / downlink rate control. Additionally, the P-GW provides uplink / downlink bearer binding and uplink binding verification functions.

[0298] like Figure 3 The diagram illustrates a 5G-based V2X communication system. This system may include: V2X Application 1, V2X Application 2, V2X Application 3, V2X Application 4, a policy control function (PCF), UE1, UE2, UE3, UE4, MEC or application function (AF), a unified data management (UDM) server, an access and mobility management (AMF) function, a 5G new radio (5GNR), and a short messaging entity (SME) / user plane function (UPF).

[0299] Different V2X applications can be connected via V5. For example, V2X application 1 can be connected to V2X application 2, V2X application 2 can be connected to V2X application 3, and V2X application 3 can be connected to V2X application 4 via V5.

[0300] Different UEs can be connected through PC5, for example, UE1 and UE2, UE2 and UE3, UE1 and UE4 can be connected through PC5.

[0301] 5G NR and UE can be connected through LTE-Uu.

[0302] PCF can support a unified policy framework to manage network behavior, provide policy rules to network entities to implement and execute, access subscription information in a universal data repository (UDR), and PCF can only access the UDR of the same public land mobile network (PLMN). PCF can be connected to UE1, UE2, UE3, UE4 through V3 respectively.

[0303] MEC, as the largest function of edge cloud technology, is local computing and data processing, which can adopt flexible distributed network architecture to push service capabilities and applications to the network edge, greatly reducing the waiting time and making it compatible with 5G. MEC (AF) and PCF can be connected through V2. V2X application 3 and MEC (AF) can be connected through V1.

[0304] The main functions of UDM are: 1) to generate 3GPP authentication credentials / authentication parameters; 2) to store and manage permanent user identifiers of 5G system; 3) to manage subscription information; 4) to deliver mobile terminated-short message (MT-SMS); 5) to manage short message (SMS); 6) to manage user service network element registration (such as the current AMF providing services to the terminal).

[0305] AMF is the terminal point of (radio) access network ((R)AN) signaling interface (N2) and network attached server (NAS) (N1) signaling, responsible for encryption and integrity protection of NAS messages, registration, access, mobility, authentication, and transparent SMS, in addition to EPS bearer identification allocation when interacting with evolved packet system (EPS) network. AMF and UDM can be connected through S6a; 5G NR and AMF can be connected through S1.

[0306] SME usually refers to a mobile phone that can receive or send short messages, located in a mobile base station, a fixed telephone system (now fixed phones can also send short messages), or other service centers.

[0307] The main function of the UPF can be responsible for the routing and forwarding of data packets, quality of service (QoS) flow mapping. The SME / UPF can be connected with the PCF through the SGi.

[0308] Figure 4 A plurality of on board units (OBUs) disposed on the vehicle are shown, which can include a body controller, a human machine interaction controller, a mobile data center, a vehicle control unit, an on board diagnostic system, a remote receiver box, a gateway, and one or more buses.

[0309] The body control module (BCM) can control a plurality of components in the vehicle and coordinate the functions of the plurality of components in the vehicle. The functions of the body control module can include, for example, window control, door lock control, remote anti-theft, interior lighting control, exterior lighting control, rearview mirror control, seat heating control, alarm sound control, instrument backlight adjustment, wiper control, turn signal control, and power management, etc.

[0310] The human machine interaction controller is an interaction medium between the vehicle and the user, which can convert vehicle information into a form that the user can receive. The human machine interaction controller can include, for example, a human machine interface (HMI), a human machine interface (interface can not be limited to a display screen, but can also include switches, buttons, voice, etc.), etc.

[0311] The mobile data center (MDC) can implement, for example, time synchronization, sensor data processing, multi-node real-time communication, bottom noise minimization, low power consumption management, fast and safe startup, etc. The mobile data center can also provide a variety of driving functions or driving applications, such as automatic driving functions. By processing data from vehicle components through the mobile data center, computing power can be provided for the automatic driving function of the vehicle.

[0312] The vehicle control unit (VCU) can be the central control unit of the vehicle and the core of the vehicle control system. The vehicle control unit can be responsible for, for example, normal driving of the vehicle, energy management of the engine and power battery, network management, fault diagnosis and processing, vehicle state monitoring, etc., so that the vehicle can work normally and stably.

[0313] An on board diagnostics (OBD) system can monitor the working conditions of functional modules in a vehicle in real time. In the case that the OBD system finds an abnormality, the OBD system can determine a fault condition according to a preset algorithm and output diagnostic information (such as diagnostic trouble codes (DTCs)). The diagnostic information provided by the OBD system is beneficial to facilitate the maintenance and repair of the vehicle. For example, a maintenance personnel can quickly determine a fault condition according to the diagnostic trouble codes, thereby facilitating the reduction of the time for manual diagnosis.

[0314] A telematics box (Tbox) (or a network attached device (NAD)) can provide a communication service for a vehicle, such as a mobile communication service, a wireless communication module, a positioning service, a Bluetooth communication service, a vehicle network communication service, and the like.

[0315] A gateway can implement a data exchange function, can perform conversion between different bus protocols, and can also perform conversion between different communication protocols.

[0316] The one or more buses may, for example, include at least one of a controller area network (CAN) bus and an Ethernet (ETH) bus. The vehicle body controller, the human-computer interaction controller, the mobile data center, the vehicle controller, the OBD system, and the Tbox can exchange data through the CAN bus. The human-computer interaction controller, the mobile data center, the vehicle controller, the OBD system, and the Tbox can exchange data through the ETH bus.

[0317] It should be understood that Figure 4 The plurality of vehicle-mounted units shown is merely illustrative, and the number and types of vehicle-mounted units provided on a vehicle are not limited in the present application.

[0318] Figure 5 FIG. 1 is a schematic structural diagram of a Tbox provided by an embodiment of the present application.

[0319] The Tbox can include a mobile communication interface, a mobile communication antenna, a positioning communication interface, a positioning communication antenna, a vehicle networking communication interface, a vehicle networking communication antenna, a wireless fidelity (WiFi) communication interface, a WiFi communication antenna, a Bluetooth communication interface, and a Bluetooth communication antenna.

[0320] The mobile communication interface can be a communication interface using a mobile communication protocol, and the mobile communication antenna can be configured to transmit or receive signals conforming to the mobile communication protocol. The number of mobile communication interfaces in the remote receiving box can be one or more. The mobile communication protocol can include at least one of a global system for mobile communications (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) system, general packet radio service (GPRS), a long term evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD), a universal mobile telecommunications system (UMTS), a worldwide interoperability for microwave access (WiMAX) communication system, a 5th generation (5G) system or a new radio (NR) system, etc.

[0321] The remote receiving box can communicate with a network device (e.g., a base station, etc.) via the mobile communication interface and the mobile communication antenna. For example, the remote receiving box can receive a message from a mobile terminal sent by the network device and send a message to the mobile terminal to the network device. For another example, the remote receiving box can receive a message from a cloud server sent by the network device and send a message to the cloud server to the network device.

[0322] The positioning communication interface can be a communication interface using a positioning communication protocol, and the positioning communication antenna can be configured to transmit or receive signals conforming to the positioning communication protocol. The positioning communication protocol can include at least one of a global positioning system (GPS), a global navigation satellite system (GNSS), etc.

[0323] The vehicle-to-everything communication interface is a communication interface using a vehicle-to-everything communication protocol, and the vehicle-to-everything communication antenna can be configured to transmit or receive signals conforming to the vehicle-to-everything communication protocol. In combination with Figure 1As shown in the communication scenario, the remote receiving box can communicate with other vehicles, mobile terminals, road side units, network devices (or access network devices) and the like through the vehicle-to-everything communication interface and the vehicle-to-everything communication antenna. The vehicle-to-everything communication interface may, for example, include the PC5 interface and the Uu interface described above.

[0324] The remote receiving box can establish a wireless connection relationship 1 with a nearby device through the wireless fidelity communication interface and the wireless fidelity communication antenna, and interact data through the wireless connection relationship 1.

[0325] The remote receiving box can establish a wireless connection relationship 2 with a nearby device through the Bluetooth communication interface and the Bluetooth communication antenna, and interact data through the wireless connection relationship 2.

[0326] It should be understood that Figure 5 The plurality of communication interfaces shown are merely illustrative, and the number and types of communication interfaces provided on the vehicle are not limited in the present application.

[0327] Figure 6 A schematic structural diagram of the terminal 100 is shown.

[0328] The embodiments will be described below with the terminal 100 as an example. It should be understood that Figure 6 The terminal 100 shown is only an example, and the terminal 100 can have more or fewer components than those shown in Figure 6 The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0329] The terminal 100 can include a processor 110, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a loudspeaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, a gyroscope sensor 180B, an acceleration sensor 180E, and the like.

[0330] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the terminal 100. In other embodiments of the present application, the terminal 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0331] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors. Among them, the controller can be the nerve center and command center of the terminal 100. The controller can generate operation control signals according to instruction operation codes and timing signals, complete the control of fetching instructions and executing instructions.

[0332] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can be directly called from the memory. Avoiding repeated access reduces the waiting time of the processor 110, thus improving the efficiency of the system.

[0333] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0334] The I2C interface is a bidirectional synchronous serial bus including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 can include multiple sets of I2C buses. The processor 110 can be coupled to a charger, a flash, a camera 193, etc. through different I2C bus interfaces, respectively.

[0335] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple sets of I2S buses. The processor 110 can be coupled to the audio module 170 through an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can deliver audio signals to the wireless communication module 160 through the I2S interface to enable a function of answering a phone call through a Bluetooth earphone.

[0336] The PCM interface can also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 can be coupled to the wireless communication module 160 through a PCM bus interface. In some embodiments, the audio module 170 can also deliver audio signals to the wireless communication module 160 through the PCM interface to enable a function of answering a phone call through a Bluetooth earphone. Both the I2S interface and the PCM interface can be used for audio communication.

[0337] The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is usually used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface to realize the function of playing music through the Bluetooth headset.

[0338] The MIPI interface can be used to connect the processor 110 and peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to realize the shooting function of the terminal 100. The processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the terminal 100.

[0339] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 and the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0340] The USB interface 130 is an interface that meets the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal 100, or to transmit data between the terminal 100 and peripheral devices. It can also be used to connect a headset to play audio through the headset. The interface can also be used to connect other terminals, such as AR devices, etc.

[0341] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the terminal 100. In some other embodiments of the present application, the terminal 100 can also use different interface connection methods or combinations of multiple interface connection methods in the above embodiments.

[0342] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive wireless charging input through a wireless charging coil of the terminal 100. The charging management module 140 can charge the battery 142 and supply power to the terminal through the power management module 141.

[0343] The power management module 141 is configured to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), and the like. In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0344] The wireless communication function of the terminal 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.

[0345] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the terminal 100 can be configured to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.

[0346] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G and the like applied to the terminal 100. The mobile communication module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter, amplify, and the like the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify signals modulated by the modem processor and radiate the signals as electromagnetic waves through the antenna 1. In some embodiments, at least part of the function modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the function modules of the mobile communication module 150 and at least part of the modules of the processor 110 can be disposed in the same device.

[0347] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal, after being processed by the baseband processor, is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the microphone 170B, etc.), or displays an image or a video through the display screen 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110, and can be disposed in the same device as the mobile communication module 150 or other functional modules.

[0348] The wireless communication module 160 can provide wireless communication solutions applied to the terminal 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 can be one or more devices integrated with at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification, and convert it into electromagnetic wave radiation via the antenna 2.

[0349] In some embodiments, antenna 1 and mobile communication module 150 of terminal 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, so that terminal 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS), vehicle-to-everything (V2X) technology.

[0350] Terminal 100 implements a display function through a GPU, display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, connected to display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 can include one or more GPUs that execute program instructions to generate or change display information.

[0351] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a mini light-emitting diode (MiniLED), a micro light-emitting diode (MicroLED), a micro organic light-emitting diode (Micro-OLED), a quantum dot light emitting diode (QLED), or the like. In some embodiments, the terminal 100 can include one or N display screens 194, where N is a positive integer greater than 1.

[0352] The terminal 100 can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, and the like.

[0353] The ISP is configured to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also optimize the algorithm for the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be arranged in the camera 193.

[0354] The camera 193 is used to capture still images or videos. An object projects an optical image through a lens to a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then passed to an ISP to convert into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into a standard image signal in RGB, YUV, or the like. In some embodiments, the terminal 100 can include one or N cameras 193, where N is a positive integer greater than one.

[0355] The digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the terminal 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0356] The video codec is used to compress or decompress digital videos. The terminal 100 can support one or more video codecs. In this way, the terminal 100 can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0357] The NPU is a neural-network (NN) computing processor, which is inspired by the structure of biological neural networks, such as the transmission mode between human brain neurons, and can quickly process input information and continuously self-learn. Through the NPU, intelligent cognitive applications of the terminal 100 can be realized, such as image recognition, face recognition, speech recognition, text understanding, etc.

[0358] The internal memory 121 can be used to store computer executable program codes including instructions. The processor 110 performs various functional applications and data processing of the terminal 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), and the like. The data storage area can store data (such as audio data, a phone book, etc.) created during the use of the terminal 100, and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.

[0359] The terminal 100 can implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, and the like. For example, music playing, recording, and the like.

[0360] The audio module 170 is used to convert digital audio information into an analog audio signal output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode an audio signal. In some embodiments, the audio module 170 can be disposed in the processor 110, or part of the functions of the audio module 170 can be disposed in the processor 110.

[0361] The speaker 170A, also known as a "loudspeaker", is used to convert an audio electrical signal into a sound signal. The terminal 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0362] The receiver 170B, also known as a "earpiece", is used to convert an audio electrical signal into a sound signal. When the terminal 100 answers a call or a voice message, the receiver 170B can be held close to the ear of a person to listen to the voice.

[0363] The microphone 170C, also known as a "microphone", "sound transducer", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, a user can speak into the microphone 170C close to the mouth to input a sound signal into the microphone 170C. The terminal 100 can be provided with at least one microphone 170C. In other embodiments, the terminal 100 can be provided with two microphones 170C, in addition to collecting sound signals, noise reduction functions can also be achieved. In other embodiments, the terminal 100 can also be provided with three, four or more microphones 170C, to achieve the functions of collecting sound signals, noise reduction, and also to identify the source of the sound, to achieve the function of directional recording, and the like.

[0364] The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0365] The gyroscope sensor 180B can be used to determine the motion posture of the terminal 100. In some embodiments, the angular velocity of the terminal 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of shaking of the terminal 100, calculates the distance that the lens module needs to compensate according to the angle, and lets the lens offset the shaking of the terminal 100 by reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and motion sensing game scenarios.

[0366] The acceleration sensor 180E can detect the acceleration of the terminal 100 in various directions (generally three axes). When the terminal 100 is stationary, the acceleration sensor 180E can detect the magnitude and direction of gravity. It can also be used to identify the posture of the terminal, and applied to landscape / portrait screen switching, pedometer applications, etc.

[0367] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the terminal 100. The terminal 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external storage cards. The terminal 100 interacts with the network through the SIM card to achieve functions such as calling and data communication. In some embodiments, the terminal 100 uses an embedded-SIM (eSIM) card. The eSIM card can be embedded in the terminal 100 and cannot be separated from the terminal 100.

[0368] The terminal 100 can also include a magnetometer (not shown in the figure), also known as an electronic compass or a compass, which can be used to detect the strength and direction of a magnetic field.

[0369] The following describes various application scenarios of V2X.

[0370] In a possible scenario, the battery in the vehicle can supply power to the vehicle unit when the vehicle is in an off state. If the PC5 interface of the vehicle is started for a long time, the battery may be consumed too quickly. If the PC5 interface of the vehicle is closed for a long time, the vehicle may not be able to obtain V2X messages in time.

[0371] In another possible scenario, a user can carry a terminal capable of V2X communication with a vehicle. The battery of the terminal can supply power to the terminal (including electronic devices in the terminal). If the PC5 interface of the terminal is started for a long time, the battery may be consumed too quickly. If the PC5 interface of the terminal is closed for a long time, the terminal may not be able to obtain V2X messages in time.

[0372] In yet another possible scenario, an electronic tag (such as a V2X license plate) with a V2X communication function can perform V2X communication with a vehicle, a roadside unit, or the like. The power supply source of the electronic tag can be a battery. If the PC5 interface of the electronic tag is started for a long time, the battery may be consumed too quickly. If the PC5 interface of the electronic tag is closed for a long time, the electronic tag may not be able to obtain V2X messages in time.

[0373] As shown above, when the power supply source of a V2X device is a battery or a battery, long-term opening of the PC5 interface can cause a problem of large power consumption, and long-term closing of the PC5 interface can cause V2X communication to fail. The user can manually open or close the PC5 interface, but this can increase the operation complexity of the user on the vehicle, the terminal, or the like. The method provided in the embodiments of the present application is beneficial to intelligently and flexibly enabling and / or disabling the PC5 interface. That is, in some special scenarios, the user can not need to monitor the enabling or disabling of the PC5 interface in real time.

[0374] Figure 7 Three working modes of the PC5 interface provided in the embodiments of the present application are shown.

[0375] The working mode of the PC5 interface can include a closed mode, a periodic listening mode, and a wake-up mode.

[0376] When the PC5 interface is in the closed mode, the PC5 interface can be closed (or powered off, shut down, hibernated, or the like), or only a small part of the functions of the PC5 interface can be enabled (or powered on, started, driven, or woken up), and the module (or unit) for V2X communication of the PC5 interface is closed. At this time, the PC5 interface cannot actively listen or cannot receive the surrounding V2X signals.

[0377] When the PC5 interface is in the periodic listening mode, the PC5 interface or the module (or unit) for V2X communication of the PC5 interface can be periodically (or intermittently) enabled (or powered on, started, driven, or woken up) Figure 7The rectangle filled with diagonal lines represents that the PC5 interface or the module of the PC5 interface for V2X communication is opened. That is, in the first part of the period, the PC5 interface or the module of the PC5 interface for V2X communication can be opened, and the PC5 interface can actively listen to or receive the surrounding V2X signal; in the second part of the period, the PC5 interface or the module of the PC5 interface for V2X communication can be closed (or powered off, turned off, hibernated, etc.), and the PC5 interface cannot actively listen to or receive the surrounding V2X signal. The length of the second part of the period (which can also be referred to as a measurement interval) can be, for example, 1s, 100ms, 50ms, etc.

[0378] The wake-up mode of the PC5 interface can mean that the PC5 interface or the module (or unit) of the PC5 interface for V2X communication can be opened (or powered on, turned on, driven, woken up, etc.). In the wake-up mode, the PC5 interface can actively listen to or receive the surrounding V2X signal.

[0379] Therefore, the power consumption of the closed mode is the smallest, the power consumption of the periodic listening mode is the second, and the power consumption of the wake-up mode is the largest.

[0380] In one example, the detection period and the measurement interval of the periodic listening mode can be adjusted to adjust the power consumption of the periodic listening mode. For example, in the case of the same detection period, the periodic listening mode with a longer measurement interval can have lower power consumption; for example, in the case of the same measurement interval, the power consumption mode with a longer detection period can have higher power consumption.

[0381] In one example, in the periodic listening mode, if the PC5 interface of the vehicle or the terminal listens to the V2X message, the working mode of the PC5 interface can be switched to the wake-up mode.

[0382] In one example, in the wake-up mode, if the PC5 interface of the vehicle or the terminal has not listened to the V2X message for a relatively long period of time, the working mode of the PC5 interface can be switched to the periodic listening mode or the closed mode.

[0383] In one example, in the periodic listening mode, if the PC5 interface of the vehicle or the terminal has not listened to the V2X message for a relatively long period of time, the working mode of the PC5 interface can be switched to the closed mode.

[0384] The following describes an embodiment in which the working mode of the PC5 interface of the terminal can be flexibly adjusted to balance the power consumption of the PC5 interface and the effectiveness of V2X communication as much as possible through scenario 1.

[0385] Scenario 1

[0386] Users can carry terminals with V2X communication capabilities. As mentioned above, if the terminal always keeps the PC5 interface on, it may lead to insufficient battery power. Furthermore, the V2X communication involved by the terminal primarily involves V2P communication scenarios. Therefore, in scenarios far from the vehicle (e.g., where the terminal device can be detected from the vehicle via in-vehicle Bluetooth or other short-range wireless technologies, cellular signals, etc.), the terminal can use a relatively low-power PC5 interface operating mode (such as off mode or periodic listening mode); while in scenarios closer to the vehicle, the terminal can use a relatively high-power PC5 interface operating mode (such as periodic listening mode or wake-up mode).

[0387] Figure 8 This is a V2X application scenario for a terminal provided in the embodiments of this application.

[0388] The terminal can detect the strength of the first positioning signal (such as GNSS signal, GPS signal, GLONASS signal, BDS signal, QZSS signal, SBAS signal, etc. In addition, the technical solution of the present application embodiment can be applied to other positioning technologies, such as future-oriented positioning technologies) and determine whether the strength of the first positioning signal exceeds the first preset signal strength.

[0389] If the strength of the first positioning signal is higher than the strength of the first preset signal, it indicates that the strength of the first positioning signal is relatively strong (e.g., Figure 8 (As shown in 701). The terminal is more likely to be located outdoors (or in a mobile traffic scenario), and there is a relatively high probability of vehicles nearby. Therefore, the terminal can select a relatively high-power PC5 interface operating mode (such as wake-up mode, or a relatively high-power periodic listening mode); alternatively, the terminal can prompt the user to select a relatively high-power PC5 interface operating mode, such as... Figure 9 As shown in (a) above. The terminal can also prompt the user via voice, such as playing "PC5 interface will be activated soon". This application is not limited to the specific implementation method of the terminal prompting the user to select the relatively high power consumption PC5 interface working mode.

[0390] If the strength of the first positioning signal is lower than the strength of the first preset signal, it indicates that the strength of the first positioning signal is relatively weak (e.g., Figure 8 (As shown in 702). At this time, the terminal may be located in the blind zone of the first positioning signal, and the terminal is more likely to be indoors (or in a non-mobile traffic scenario), with a relatively low probability of vehicles appearing near the terminal. Therefore, the terminal can select a relatively low-power PC5 interface working mode (such as the off mode, or the relatively low-power periodic listening mode); or, the terminal can prompt the user to select a relatively low-power PC5 interface working mode, such as... Figure 9As shown in (b) of FIG. 7, the terminal can also prompt the user in the form of voice, such as playing "PC5 interface is about to be closed". The present application can not limit the specific implementation of the terminal prompting the user to select the PC5 interface working mode with relatively lower power consumption.

[0391] In Figure 8 In the present application, the display interface of the terminal can display an icon for indicating the strength of the first positioning signal (such as Figure 8 It should be understood that the present application can not limit the specific shape of the icon for indicating the strength of the first positioning signal.

[0392] It should be understood that the terminal can prompt the user of the strength of the first positioning signal in other ways.

[0393] In one example, in the case that the strength of the first positioning signal is higher than the first preset signal strength, the terminal can prompt the user in the form of voice (such as "GNSS signal is strong").

[0394] In one example, in the case that the strength of the first positioning signal is lower than the first preset signal strength, the terminal can prompt the user in the form of voice (such as "GNSS signal is weak").

[0395] Optionally, in the case that the duration in which the strength of the first positioning signal is higher than the first preset signal strength is greater than or equal to the first time length threshold, the terminal can select the PC5 interface working mode with relatively higher power consumption (such as the wake-up mode, the periodic listening mode with relatively higher power consumption), or the terminal can prompt the user to select the PC5 interface working mode with relatively higher power consumption.

[0396] The terminal can periodically detect the strength of the first positioning signal. In the case that the strength of the first positioning signal detected by the terminal is greater than the first preset signal strength from the first target time to the second target time, and the time interval between the first target time and the second target time is greater than or equal to the first time length threshold, it indicates that the terminal is currently located outdoors with relatively high possibility, and the terminal can select the PC5 interface working mode with relatively higher power consumption (such as the wake-up mode, the periodic listening mode with relatively higher power consumption), or the terminal can prompt the user to select the PC5 interface working mode with relatively higher power consumption.

[0397] For example, if the strength of the first positioning signal increases and the state of the first positioning signal being strong lasts for a long time, the terminal is relatively likely to be located outdoors, and the terminal can temporarily turn on the PC5 interface (i.e., the working mode of the PC5 interface is the wake-up mode); if the first positioning signal suddenly becomes strong, but soon becomes weak, i.e., the state of the first positioning signal being strong lasts for a short time, the terminal is relatively likely to be located indoors, and the terminal can temporarily turn off the PC5 interface (i.e., the working mode of the PC5 interface is the off mode), or switch the working mode of the PC5 interface to the periodic listening mode.

[0398] For example, if the strength of the first positioning signal increases and the state of the first positioning signal being strong lasts for a long time, the terminal is relatively likely to be located outdoors, and the terminal can temporarily turn on the PC5 interface (i.e., the working mode of the PC5 interface is the wake-up mode); if the first positioning signal suddenly becomes strong, but soon becomes weak, i.e., the state of the first positioning signal being strong lasts for a short time, the terminal is relatively likely to be located indoors, and the terminal can temporarily turn off the PC5 interface (i.e., the working mode of the PC5 interface is the off mode), or switch the working mode of the PC5 interface to the periodic listening mode.

[0399] In one example, the first time length threshold can be, for example, a timing period of a first timer. That is, the strength of the first positioning signal can be monitored by the first timer.

[0400] In another example, the second target moment can be the current moment, and the first target moment can be a moment before the current moment.

[0401] Optionally, in a case where the duration for which the strength of the first positioning signal is lower than the second preset signal strength is greater than or equal to the second time length threshold, the terminal can select a PC5 interface working mode with relatively low power consumption (such as the off mode, the periodic listening mode with relatively low power consumption), or the terminal can prompt a user to select a PC5 interface working mode with relatively low power consumption.

[0402] The terminal can periodically detect the strength of the first positioning signal. If the strength of the first positioning signal detected by the terminal is less than the first preset signal strength from a third target moment to a fourth target moment, and the time length interval between the third target moment and the fourth target moment is greater than or equal to the second time length threshold, it is indicated that the terminal is relatively likely to be located indoors, and the terminal can select a PC5 interface working mode with relatively low power consumption (such as the off mode, the periodic listening mode with relatively low power consumption), or the terminal can prompt a user to select a PC5 interface working mode with relatively low power consumption.

[0403] For example, if the strength of the first positioning signal decreases and the state of the first positioning signal being weak lasts for a long time, the terminal is relatively more likely to be located indoors, and the terminal can temporarily close the PC5 interface (i.e., the working mode of the PC5 interface is the closed mode); if the first positioning signal suddenly becomes weak, but soon the first positioning signal becomes strong, i.e., the state of the first positioning signal being weak lasts for a short time, the terminal is relatively more likely to be located outdoors, and the terminal can temporarily open the PC5 interface (i.e., the working mode of the PC5 interface is the wake-up mode), or switch the working mode of the PC5 interface to the periodic listening mode.

[0404] For example, if the strength of the first positioning signal decreases and the state of the first positioning signal being weak lasts for a long time, the terminal is relatively more likely to be located indoors, and the terminal can switch the working mode of the PC5 interface to the periodic listening mode; if the first positioning signal suddenly becomes weak, but soon the first positioning signal becomes strong, i.e., the state of the first positioning signal being weak lasts for a short time, the terminal is relatively more likely to be located outdoors, and the terminal can temporarily open the PC5 interface (i.e., the working mode of the PC5 interface is the wake-up mode).

[0405] In one example, the second time length threshold may, for example, be a timing period of the second timer. That is, the strength of the first positioning signal can be monitored by the second timer.

[0406] In another example, the fourth target moment can be a current moment, and the third target moment can be a moment before the current moment.

[0407] In Figure 8 In the example shown, the terminal can be a vehicle-mounted device, or can not be a vehicle-mounted device.

[0408] Figure 10 The V2X application scenario of the terminal is provided by the embodiments of the present application.

[0409] The terminal can detect the strength of the second positioning signal (such as a WiFi signal, a Bluetooth signal, an ultra Wide band (UWB) signal, a Zigbee signal, etc., in addition, the technical solutions of the embodiments of the present application can be applied to other positioning technologies, such as future-oriented positioning technologies), and determine whether the strength of the second positioning signal exceeds a second preset signal strength. In some examples, unlike the first positioning signal, the second positioning signal can belong to a short-distance communication technology.

[0410] If the strength of the second positioning signal is higher than the second preset signal strength, it means that the strength of the second positioning signal is relatively strong (such as Figure 10When the strength of the second positioning signal is lower than the second preset signal strength, it does not necessarily mean that the terminal is located outdoors.

[0411] However, when the strength of the second positioning signal is lower than the second preset signal strength, it does not necessarily mean that the terminal is located outdoors.

[0412] In some embodiments, the terminal can periodically detect the strength of the second positioning signal. From a fifth target time to a sixth target time, the terminal detects that the strength of the second positioning signal is greater than the second preset signal strength, and the time interval between the fifth target time and the sixth target time is greater than or equal to a third time threshold. In other words, if the state of the second positioning signal is strong for a long time, the terminal is more likely to be located indoors. Therefore, the terminal can select a PC5 interface operating mode with relatively low power consumption (such as a closed mode or a periodic listening mode with relatively low power consumption), or the terminal can prompt the user to select a PC5 interface operating mode with relatively low power consumption. Figure 10 Figure 10 In some embodiments, the display interface of the terminal can display an icon indicating the strength of the second positioning signal (such as icon 801 in FIG. 8).

[0413] Optionally, when the strength of the second positioning signal is greater than the second preset signal strength for a duration greater than or equal to the third time threshold, the terminal can select a PC5 interface operating mode with relatively low power consumption (such as a closed mode or a periodic listening mode with relatively low power consumption), or the terminal can prompt the user to select a PC5 interface operating mode with relatively low power consumption.

[0414] The terminal can periodically detect the strength of the second positioning signal. From a fifth target time to a sixth target time, the terminal detects that the strength of the second positioning signal is greater than the second preset signal strength, and the time interval between the fifth target time and the sixth target time is greater than or equal to a third time threshold. In other words, if the state of the second positioning signal is strong for a long time, the terminal is more likely to be located indoors. Therefore, the terminal can select a PC5 interface operating mode with relatively low power consumption (such as a closed mode or a periodic listening mode with relatively low power consumption), or the terminal can prompt the user to select a PC5 interface operating mode with relatively low power consumption.

[0415] In one example, the third time threshold can be, for example, the counting period of a third timer.

[0416] In another example, the sixth target time can be the current time, and the fifth target time can be a time before the current time.

[0417] When the terminal establishes a wireless connection with the vehicle-mounted wireless communication module, the terminal can detect a relatively large strength of the second positioning signal. However, at this time, the probability of a vehicle appearing around the terminal is relatively large. Therefore, as shown in FIG. 8, the terminal can select a PC5 interface operating mode with relatively low power consumption (such as a closed mode or a periodic listening mode with relatively low power consumption), or the terminal can prompt the user to select a PC5 interface operating mode with relatively low power consumption. Figure 10 ​An exception of the embodiments shown is that when the terminal detects that the second positioning signal is from a vehicle, the terminal can not select the PC5 interface working mode with relatively low power consumption (such as the off mode, the periodic listening mode with relatively low power consumption), or the terminal can prompt the user to select the PC5 interface working mode with relatively low power consumption.

[0418] For example, after the terminal establishes a connection with the target vehicle-mounted Bluetooth device, the terminal can store the Bluetooth account corresponding to the target vehicle-mounted Bluetooth device in the target account list under the user's operation or instruction. If the terminal determines that the currently detected second positioning signal belongs to the target account list, the terminal can select the PC5 interface working mode with relatively high power consumption (such as the wake-up mode, the periodic listening mode with relatively high power consumption), or the terminal can prompt the user to select the PC5 interface working mode with relatively high power consumption. If the terminal determines that the currently detected second positioning signal does not belong to the target account list, the terminal can select the PC5 interface working mode with relatively low power consumption (such as the off mode, the periodic listening mode with relatively low power consumption), or the terminal can prompt the user to select the PC5 interface working mode with relatively low power consumption.

[0419] Optionally, when the terminal is in the driving mode, the terminal can select the PC5 interface working mode with relatively high power consumption (such as the wake-up mode, the periodic listening mode with relatively high power consumption), or the terminal can prompt the user to select the PC5 interface working mode with relatively high power consumption. That is, if the terminal determines that it is currently in the driving mode, the terminal starts the PC5 interface, which is more conducive to the terminal to perform V2X communication.

[0420] In addition to the signal strength, the state of the terminal itself can also indirectly reflect whether the terminal is in a scenario suitable for V2X communication. For example, if the terminal is in a relatively static state, the probability of a vehicle appearing around the terminal is relatively small; if the terminal is in a motion state, the probability of a vehicle appearing around the terminal is relatively large. The following provides various possible implementations for judging whether the terminal is in a motion state. Figure 11 、 Figure 12

[0421] Figure 11 is a V2X application scenario of a terminal provided by an embodiment of the present application.

[0422] The terminal can judge whether the user is currently in a motion state, which can be any one of the following states: a walking state, a running state, and a cycling state. If the user carries the terminal and is in a motion state, there is a certain probability that a vehicle will appear around the terminal, the working mode of the PC5 interface can be switched to a high-power consumption mode, or the user can be prompted to select the PC5 interface working mode with relatively high power consumption.

[0423] ​When the user carries the terminal to walk, run or ride, the user's pace speed can generally be greater than the preset step count increase speed. The terminal can determine the user's pace speed by the step count increase amount in a unit time (for example, Figure 11 In the example in Table 18, the step count increase amount in 18:00-18:30 is 1610, and the pace speed can be about 53.7 steps / minute. In addition, when the user carries the terminal to walk, run or ride, the user's moving speed (or understood as the moving speed of the terminal) can generally exceed the preset moving speed.

[0424] For example, when the user is in a walking state, the user's pace speed and the user's moving speed can both be relatively slow; when the user is in a running state, the user's pace speed and the user's moving speed can both be slightly faster; and when the user is in a riding state, the user's pace speed can be relatively slow or relatively fast, and the user's moving speed can be relatively fast. Therefore, the current motion state of the user can be determined according to the user's pace speed and / or the moving speed of the terminal.

[0425] If the user carries the terminal and the user is not in a motion state, it means that the user can be in a relatively stationary state. The user's pace speed can be relatively low (for example, lower than the preset step count increase speed), and the user's moving speed can also be relatively low (for example, lower than the preset moving speed). The terminal can hardly detect the increase of the step count, and the moving speed of the terminal can also be relatively small or close to zero. At this time, the probability of vehicles appearing around the terminal is relatively low, and the working mode of the PC5 interface can be switched to a low-power-consumption mode, or the user can be prompted to select a PC5 interface working mode with relatively low power consumption.

[0426] Optionally, determining whether the user is currently in a motion state includes determining whether the user is currently in a motion state according to the user's heart rate.

[0427] For example, in the case where the heart rate is higher than the preset heart rate, the terminal can determine that the user is in a motion state; and in the case where the heart rate is lower than the preset heart rate, the terminal can determine that the user is not currently in a motion state.

[0428] Optionally, in the case where the duration that the user is in a motion state is greater than or equal to a fourth time length threshold, the terminal can select a PC5 interface working mode with relatively high power consumption (such as a wake-up mode or a periodic listening mode with relatively high power consumption), or the terminal can prompt the user to select a PC5 interface working mode with relatively high power consumption. This is conducive to avoiding frequent switching of the PC5 interface working mode.

[0429] In one example, the fourth time length threshold can be, for example, the timing period of a fourth timer.

[0430] Optionally, in a case where the duration that the user is not in the motion state is greater than or equal to a fifth time length threshold, the terminal can select a PC5 interface working mode (such as a closed mode, a periodic listening mode with relatively low power consumption) with relatively low power consumption, or the terminal can prompt the user to select a PC5 interface working mode with relatively low power consumption. This is beneficial to avoid frequent switching of the PC5 interface working mode.

[0431] In one example, the fifth time length threshold may, for example, be a timing period of a fifth timer.

[0432] Figure 12 is a V2X application scenario of a terminal provided by an embodiment of the present application.

[0433] In addition, in a scenario where the user is driving a vehicle, riding a vehicle, or the like, vehicles can appear around the terminal, and therefore it is appropriate for the working mode of the PC5 interface to be in a high power consumption mode. Unlike the example shown in FIG. 6, the terminal can not detect an increase in the number of steps of the user (because the user is not in a motion state), but the moving speed of the terminal is relatively fast. Therefore, the current moving speed of the terminal can reflect the possibility of vehicles appearing around the terminal to a certain extent. Figure 11

[0434] If the current moving speed of the terminal is greater than a preset moving speed, it indicates that the terminal is currently moving relatively fast, the terminal is relatively more likely to be located outdoors, and the possibility of vehicles appearing around the terminal is relatively large. Therefore, the terminal can select a PC5 interface working mode (such as a wake-up mode, a periodic listening mode with relatively high power consumption) with relatively high power consumption, or the terminal can prompt the user to select a PC5 interface working mode with relatively high power consumption.

[0435] If the current moving speed of the terminal is less than the preset moving speed, it indicates that the terminal is currently moving relatively slowly, the terminal is relatively more likely to be located indoors, and the possibility of vehicles appearing around the terminal is relatively small. Therefore, the terminal can select a PC5 interface working mode (such as a closed mode, a periodic listening mode with relatively low power consumption) with relatively low power consumption, or the terminal can prompt the user to select a PC5 interface working mode with relatively low power consumption.

[0436] In one example, the current moving speed of the terminal can be obtained according to positioning signals such as a GPS signal. For example, the position and displacement of the terminal in a unit of time can be determined according to a GPS signal, and the current moving speed of the terminal can be obtained by differentiating the displacement. For another example, the pseudorange rate of change (or carrier phase rate of change) can be determined according to the Doppler shift of a GPS signal, the relative motion speed between a satellite and the terminal can be obtained, and the current moving speed of the terminal can be obtained in combination with the moving speed of the satellite.

[0437] ​In another example, when the terminal is a vehicle-mounted device, the terminal can obtain a current vehicle speed of the vehicle as the current moving speed of the terminal. When the terminal is a vehicle-mounted device, the terminal can communicate with the vehicle. For example, the vehicle controller or the on-board diagnostic system of the vehicle can obtain the current vehicle speed of the vehicle, and the vehicle can send the current vehicle speed to the terminal, so that the terminal can obtain the current vehicle speed as the current moving speed of the terminal.

[0438] It should be understood that, in one example, as shown in Figure 12 The terminal can prompt the user with the current moving speed of the terminal through voice (such as "the current speed is 3 kilometers per hour").

[0439] Optionally, in the first target period, if the minimum moving speed or the average moving speed of the terminal is higher than the preset moving speed, the terminal can select the PC5 interface working mode with relatively high power consumption, or the terminal can prompt the user to select the PC5 interface working mode with relatively high power consumption.

[0440] That is, the terminal moves at a relatively fast speed for at least a period of time in the first target period, and the terminal is more likely to be located indoors, so the terminal can select or prompt the user to select the PC5 interface working mode with relatively high power consumption.

[0441] In one example, the first target period can be, for example, the counting period of the sixth timer.

[0442] Optionally, in the second target period, if the maximum moving speed or the average moving speed of the terminal is lower than the preset moving speed, the terminal can select the PC5 interface working mode with relatively low power consumption, or the terminal can prompt the user to select the PC5 interface working mode with relatively low power consumption.

[0443] That is, the moving speed of the terminal in the second target period is relatively slow, and the terminal is more likely to be located indoors, so the terminal can select or prompt the user to select the PC5 interface working mode with relatively low power consumption.

[0444] In one example, the second target period can be, for example, the counting period of the seventh timer.

[0445] In the example shown in Figure 12 The terminal can be a vehicle-mounted device, or can not be a vehicle-mounted device.

[0446] Figure 13 is a V2X application scenario of a terminal provided by an embodiment of the present application.

[0447] The terminal can obtain the current position of the terminal on the map, and determine whether the current position of the terminal belongs to the first traffic position or the second traffic position.

[0448] The term "primary traffic location" can broadly refer to locations where vehicles are unlikely to be present, such as parks (e.g.,...). Figure 13 As shown in 1103), shopping malls (such as...) Figure 13 (As shown in 1105), squares, indoors, etc. Therefore, if the terminal's current location is a primary traffic location, the probability of vehicles appearing near the terminal is relatively small. At this time, the terminal can select a relatively low-power PC5 interface working mode (such as the off mode, the relatively low-power periodic listening mode), or the terminal can prompt the user to select a relatively low-power PC5 interface working mode.

[0449] Secondary traffic locations can refer to locations where vehicles are likely to be present, such as streets (or roads, highways, etc.). Figure 13 As shown in 1101), subway stations (such as...) Figure 13 (as shown in 1102), toll stations, residential areas, and campuses (such as...) Figure 13 (As shown in 1104). Therefore, when the terminal's current location is a secondary traffic location, the probability of vehicles appearing near the terminal is relatively high. At this time, the terminal can select a relatively high-power PC5 interface working mode (such as wake-up mode, relatively high-power periodic listening mode), or the terminal can prompt the user to select a relatively high-power PC5 interface working mode.

[0450] exist Figure 13 In the example shown, the terminal may or may not be an in-vehicle device.

[0451] Figure 14 This is a V2X application scenario for a terminal provided in the embodiments of this application.

[0452] The terminal can interact with the access network device via the Uu interface, allowing the access network device to obtain the terminal's location information. The access network device can then send the terminal's location information to a V2X server (such as a V2X application server, edge cloud, or V2X network element controller).

[0453] Combination Figure 2 As shown in the V2X protocol architecture, in one example, the terminal can interact with the V2X application, so that the terminal's location information can be sent to the V2X application server.

[0454] Combination Figure 3 As shown in the V2X protocol architecture, in one example, the terminal can interact with the V2X application, so that the terminal's location information can be sent to the edge cloud (such as MEC or AF).

[0455] The V2X server can determine whether there are vehicles or V2X signal sources (such as roadside units, terminals with V2X communication capabilities, etc.) near the terminal based on the terminal's location information.

[0456] If the V2X server determines that there is no vehicle or V2X signal source near the terminal, the V2X server can send first indication information to the terminal through the access network device, the first indication information indicating a PC5 interface working mode with relatively low power consumption (such as a closed mode, a periodic listening mode with relatively low power consumption). The terminal can select or prompt the PC5 interface working mode with relatively low power consumption.

[0457] If the V2X server determines that there is a vehicle or V2X signal source near the terminal, the V2X server can send second indication information to the terminal through the access network device, the second indication information indicating a PC5 interface working mode with relatively high power consumption (such as a wake-up mode, a periodic listening mode with relatively high power consumption). The terminal can select or prompt the PC5 interface working mode with relatively high power consumption.

[0458] In combination with Figure 2 As shown in the V2X protocol architecture, in one example, the V2X application server can send the first indication information or the second indication information to the terminal through the V2X application.

[0459] In combination with Figure 2 As shown in the V2X protocol architecture, in one example, the edge cloud can send the first indication information or the second indication information to the terminal through the V2X application.

[0460] In Figure 14 In the example shown, the terminal can be a vehicle-mounted device, or can not be a vehicle-mounted device.

[0461] Figure 15 The V2X application scenario of the terminal is provided by the embodiment of the application.

[0462] Since the toll station (or electronic toll collection (ETC) gantry) can be provided with a target V2X communication device (for example, a road side unit capable of performing V2X communication), when the terminal stays near the toll station (or ETC gantry), the terminal can start the PC5 interface to perform V2X communication with the road side unit.

[0463] The terminal can determine whether the current location is near a toll station (or ETC gantry). If so, the terminal can switch the PC5 interface operating mode to a relatively high-power PC5 interface operating mode (such as wake-up mode or relatively high-power periodic listening mode), or the terminal can prompt the user to select a relatively high-power PC5 interface operating mode; if not, the terminal can switch the PC5 interface operating mode to a relatively low-power PC5 interface operating mode (such as off mode or relatively low-power periodic listening mode), or the terminal can prompt the user to select a relatively low-power PC5 interface operating mode.

[0464] Method 1: By comparing the current latitude and longitude information of the terminal with that of the toll station (or ETC gantry), it can be determined whether the terminal's current location is near the toll station (or ETC gantry).

[0465] If the difference between the terminal's current latitude and longitude information and the toll station's (or ETC gantry's) latitude and longitude information is relatively small (for example, the difference between the terminal's longitude and the toll station's longitude is less than a preset longitude, and the difference between the terminal's latitude and the toll station's latitude is less than a preset latitude, or the distance between the terminal's latitude and longitude location and the toll station's latitude and longitude location is less than a preset distance), then it can be considered that the terminal's current latitude and longitude information matches the toll station's (or ETC gantry's) latitude and longitude information, meaning that the terminal's current location is near the toll station (or ETC gantry).

[0466] If the current latitude and longitude information of the terminal differs significantly from that of the toll station (or ETC gantry) (for example, the difference between the longitude of the terminal and the longitude of the toll station is greater than the preset longitude, or the difference between the latitude of the terminal and the latitude of the toll station is greater than the preset latitude, or the distance between the latitude and longitude of the terminal and the toll station is greater than the preset distance), then it can be considered that the current latitude and longitude information of the terminal does not match the latitude and longitude information of the toll station (or ETC gantry), that is, it can be considered that the current location of the terminal is not around the toll station (or ETC gantry).

[0467] like Figure 15 As shown, the following assumptions are made: there are toll stations a and b on the target road, as well as ETC gantries a and b; ETC gantry a is located near toll station a, and ETC gantry b is located near toll station b; the terminal can pay tolls at either the toll station or the ETC gantry.

[0468] First, the terminal can drive towards toll station a or ETC gantry a. Before reaching toll station a or ETC gantry a, the terminal can pre-save the latitude and longitude information of toll station a (or ETC gantry a). Additionally, the terminal can periodically acquire its own latitude and longitude information during the journey (e.g., via GNSS signals). During the journey towards toll station a or ETC gantry a, the difference between the terminal's current latitude and longitude information and that of toll station a (or ETC gantry a) may be relatively large, but this difference can gradually decrease. At this point, the terminal can determine that its current location is not near toll station a (or ETC gantry a). The terminal can switch its PC5 interface operating mode to a lower power consumption mode (such as off mode or a lower power consumption periodic listening mode), or the terminal can prompt the user to select a lower power consumption PC5 interface operating mode.

[0469] Subsequently, when the difference between the terminal's current latitude and longitude information and that of toll station a (or ETC gantry a) is relatively small, the terminal can determine that the current latitude and longitude information matches that of toll station a (or ETC gantry a), and thus the terminal can determine that the current location is near toll station a (or ETC gantry a). Therefore, the terminal can switch the PC5 interface operating mode to a relatively high-power PC5 interface operating mode (such as wake-up mode or relatively high-power periodic listening mode), or the terminal can prompt the user to select a relatively high-power PC5 interface operating mode.

[0470] Then, as the terminal leaves toll station a (or ETC gantry a), the difference between the terminal's current latitude and longitude information and that of toll station a (or ETC gantry a) gradually increases. When the terminal determines that its current latitude and longitude information does not match that of the toll station (or ETC gantry a), it can determine that its current location is not near toll station a (or ETC gantry a). The terminal can switch its PC5 interface operating mode to a lower power consumption mode (such as off mode or a lower power consumption periodic listening mode), or it can prompt the user to select a lower power consumption PC5 interface operating mode.

[0471] In one example, such as Figure 15 As shown, following the driving route, the vehicle will sequentially pass through toll station a, ETC gantry a, toll station b, and ETC gantry b again. There are no other branching roads between toll station a and toll station b. That is, after the terminal leaves toll station a (or ETC gantry a), it will also pass through toll station b (or ETC gantry b). Optionally, the roadside unit a located at toll station a can send the latitude and longitude information of toll station b (or ETC gantry b) to the terminal.

[0472] In one example, there is a branch road 1 on the road between the toll station a and the toll station b, the toll station closest to the toll station a (or the ETC gantry a) on the branch road 1 is the toll station c (not shown), and the ETC gantry closest to the toll station a (or the ETC gantry a) on the branch road 1 is the ETC gantry c (not shown). After the terminal drives away from the toll station a (or the ETC gantry a), the terminal can pass through the toll station b (or the ETC gantry b) or the toll station c (or the ETC gantry c). Optionally, the road side unit a located at the toll station a can send the terminal the longitude and latitude information of the toll station b (and / or the ETC gantry b) and the longitude and latitude information of the toll station c (and / or the ETC gantry c). Figure 15 Figure 15

[0473] In one example, the terminal can store the longitude and latitude information of the toll station and the longitude and latitude information of the ETC gantry in advance. For example, the terminal can determine the driving route in advance and obtain the location information of the toll station and the location information of the ETC gantry on the driving route. For another example, the terminal can store the location information of the toll station and the location information of the ETC gantry that have been passed through.

[0474] Method two: According to whether the cell currently registered by the terminal and the cell registered by the toll station (or the ETC gantry) are the same cell, it can be determined whether the current location of the terminal is located near the toll station (or the ETC gantry).

[0475] For example, the road side unit located near the toll station (or the ETC gantry) can be registered to the cell a, and the road side unit located near the toll station (or the ETC gantry) can send third indication information to the network device where the cell a is located, the third indication information being used to indicate that the road side unit located near the toll station (or the ETC gantry) is registered to the cell a.

[0476] Afterwards, the terminal can move to the area where the cell a is located. The terminal a can be registered to the cell a. The network device can actively or upon request of the terminal, send fourth indication information to the terminal, the fourth indication information can indicate whether there is a road side unit located near the toll station (or the ETC gantry) registered to the cell a.

[0477] If the terminal receives the fourth indication information 1 indicating that there is a road side unit located near the toll station (or the ETC gantry) registered to the cell a, the terminal can switch the PC5 interface working mode to the PC5 interface working mode with relatively high power consumption (such as the wake-up mode, the periodic listening mode with relatively high power consumption), or the terminal can prompt the user to select the PC5 interface working mode with relatively high power consumption.

[0478] ​​If the terminal receives the fourth indication information 2 indicating that no road side unit located near the toll station (or ETC gantry) is registered to the cell a, the terminal can switch the PC5 interface working mode to a PC5 interface working mode with relatively low power consumption (such as the off mode, the periodic listening mode with relatively low power consumption), or the terminal can prompt the user to select a PC5 interface working mode with relatively low power consumption.

[0479] Mode three, according to whether the terminal detects the short distance communication signal from the road side unit near the toll station (or ETC gantry), it can be judged whether the current position of the terminal is located near the toll station (or ETC gantry).

[0480] For example, the road side unit can broadcast messages to transmit short distance communication signals through short distance communication protocols, which can be short distance communication protocols other than V2X, such as WiFi, Bluetooth, UWB, Zigbee, etc.

[0481] If the terminal receives the short distance communication message from the road side unit, or scans the short distance communication signal from the road side unit, the terminal can switch the PC5 interface working mode to a PC5 interface working mode with relatively high power consumption (such as the wake-up mode, the periodic listening mode with relatively high power consumption), or the terminal can prompt the user to select a PC5 interface working mode with relatively high power consumption.

[0482] If the terminal has not received the short distance communication message from the road side unit, or has not scanned the short distance communication signal from the road side unit for a period of time, the terminal can switch the PC5 interface working mode to a PC5 interface working mode with relatively low power consumption (such as the off mode, the periodic listening mode with relatively low power consumption), or the terminal can prompt the user to select a PC5 interface working mode with relatively low power consumption.

[0483] Optionally, the short distance communication message includes fifth indication information indicating that the road side unit is located near the toll station (or ETC gantry).

[0484] It should be noted that the electronic tag arranged on the vehicle can have similar communication functions as the terminal (i.e. the electronic tag can interact with the toll station, the ETC gantry through V2X), so the electronic tag can also perform the method performed by the terminal as shown in Figure 15 Therefore, here is not necessary to be described in detail.

[0485] The following describes an embodiment that can flexibly adjust the working mode of the PC5 interface of the vehicle through scenario 2, so as to balance the power consumption of the PC5 interface and the effectiveness of V2X communication as much as possible.

[0486] Scenario 2

[0487] The vehicle with V2X communication function can perform V2X interaction as shown in Figure 1 When the vehicle is in the state of starting (i.e., the state of not being turned off), the engine of the vehicle can supply power for the vehicle-mounted unit, so that the long-term opening of the PC5 interface has relatively small influence on the user experience of the vehicle (even if the power consumption is relatively large, it basically does not affect the user experience). That is, during normal driving, the power consumption of V2X communication of the vehicle is generally acceptable.

[0488] As described above, in the case that the vehicle is in the state of being turned off, if the vehicle long-term opens the PC5 interface, the vehicle may run out of battery power. Therefore, for the scenario that the vehicle is in the state of being turned off and the vehicle may need V2X communication, the vehicle can adopt or prompt the user to adopt the PC5 interface working mode with relatively high power consumption (such as periodic listening mode, wake-up mode); for the scenario that the vehicle is in the state of being turned off and the vehicle does not need V2X communication, the vehicle can adopt or prompt the user to adopt the PC5 interface working mode with relatively low power consumption (such as off mode, periodic listening mode).

[0489] Figure 16 is a V2X application scenario of a vehicle provided by an embodiment of the present application.

[0490] After the vehicle is turned off, the vehicle can determine the current turned-off state. The vehicle can determine the current turned-off state, for example, through a bus (such as a CAN bus or an ETH bus) and a vehicle-mounted diagnostic system.

[0491] If the current turned-off state belongs to the normal turned-off state, the user may end driving, and the user does not need the vehicle to perform V2X communication after leaving the vehicle. At this time, the vehicle can select the PC5 interface working mode with relatively low power consumption (such as off mode), or the terminal can prompt the user to select the PC5 interface working mode with relatively low power consumption.

[0492] If the current turned-off state belongs to the abnormal turned-off state, the user may temporarily stop driving due to abnormal reasons, and the vehicle may still need to perform V2X communication. At this time, the vehicle can select the PC5 interface working mode with relatively high power consumption (such as periodic listening mode or wake-up mode), or the terminal can prompt the user to select the PC5 interface working mode with relatively high power consumption.

[0493] For example, the abnormal engine-off state can include a case where the vehicle is off and the vehicle turns on a hazard warning light (may also be referred to as a double flash light). Since the hazard warning light of the vehicle is turned on, it indicates that the vehicle can be temporarily parked (such as active parking, waiting for rescue, traffic accident, etc.), at this time, the relatively high power consumption PC5 interface working mode is adopted, so that the vehicle can interact with other vehicles on the road V2X, other vehicles on the road can perceive the temporarily parked vehicle, which is beneficial to avoid traffic accidents between other vehicles on the road and the temporarily parked vehicle.

[0494] For another example, the vehicle diagnostic system can determine whether the current engine-off is an anchor engine-off. The vehicle diagnostic system can determine whether the vehicle has a fault and determine whether the fault is the cause of the engine-off of the vehicle. The vehicle diagnostic system can also obtain information of the starting action and determine whether the starting action is abnormal. At this time, the engine-off is not a normal engine-off, at this time, the vehicle is an abnormal parking, at this time, the relatively high power consumption PC5 interface working mode is adopted, so that the vehicle can interact with other vehicles on the road V2X, other vehicles on the road can perceive the temporarily parked vehicle, which is beneficial to avoid traffic accidents between other vehicles on the road and the temporarily parked vehicle.

[0495] For another example, the vehicle diagnostic system can determine whether the current engine-off is a fault engine-off. When a relatively serious accident (such as a collision accident, etc.) occurs, the vehicle can have a fault engine-off. The vehicle diagnostic system can determine whether the vehicle currently has a fault or a serious fault. At this time, the relatively high power consumption PC5 interface working mode is adopted, so that the vehicle can interact with other vehicles on the road V2X, other vehicles on the road can perceive the temporarily parked vehicle, which is beneficial to avoid traffic accidents between other vehicles on the road and the temporarily parked vehicle.

[0496] Figure 17 The V2X application scenario of the vehicle provided by the embodiment of the application.

[0497] When the terminal is set in the vehicle and establishes a short-distance communication connection with the vehicle, the terminal can obtain the driving information of the vehicle through the short-distance communication connection. The terminal can be a vehicle terminal (the vehicle terminal can refer to a terminal set on the vehicle), rather than a pedestrian terminal (the pedestrian terminal can refer to a terminal carried on a pedestrian or set outside the vehicle).

[0498] Therefore, the vehicle can send the vehicle driving information obtained by the on-board diagnostic system to the on-board terminal via the ETH bus. The on-board terminal can then determine whether the vehicle has experienced an abnormal engine shutdown based on this information. If the on-board terminal determines that the vehicle is normally shut down, it can instruct the vehicle to select a relatively low-power PC5 interface operating mode (such as shutdown mode), or it can prompt the user to select a relatively low-power PC5 interface operating mode. If the on-board terminal determines that the vehicle is abnormally shut down, it can instruct the vehicle to select a relatively high-power PC5 interface operating mode (such as periodic listening mode or wake-up mode), or it can prompt the user to select a relatively high-power PC5 interface operating mode.

[0499] Figure 18 This is a V2X application scenario for a vehicle provided in this application embodiment.

[0500] When an electronic tag is installed on a vehicle and establishes a short-range communication connection with the vehicle, the electronic tag can obtain the vehicle's driving information through the short-range communication connection.

[0501] Therefore, the vehicle can send vehicle driving information obtained by the on-board diagnostic system to the electronic tag via the ETH bus. The electronic tag can then determine whether the vehicle has experienced an abnormal engine shutdown based on this information. If the electronic tag determines that the vehicle is normally shut down, it can instruct the vehicle to select a relatively low-power PC5 interface operating mode (such as shutdown mode), or it can prompt the user to select a relatively low-power PC5 interface operating mode. If the electronic tag determines that the vehicle is abnormally shut down, it can instruct the vehicle to select a relatively high-power PC5 interface operating mode (such as periodic listening mode or wake-up mode), or it can prompt the user to select a relatively high-power PC5 interface operating mode. Specific prompts could include, for example, voice prompts.

[0502] Figure 19 This application provides a method for a control interface. This method can be applied to terminals with V2X communication capabilities.

[0503] 1901, the terminal determines whether the first preset condition is met.

[0504] The first preset condition includes at least one of the following:

[0505] The strength of the first positioning signal is less than or equal to the strength of the first preset signal (e.g., Figure 8 (The example shown);

[0506] The strength of the second positioning signal is greater than or equal to the strength of the second preset signal (e.g.,Figure 10 (The example shown);

[0507] The user is not in motion (e.g.) Figure 11 (The example shown);

[0508] The terminal's moving speed is less than or equal to a preset moving speed (e.g., ...). Figure 12 (The example shown);

[0509] The current location of the terminal belongs to the first traffic location (e.g., Figure 13 (The example shown);

[0510] The terminal receives a first indication message sent by the V2X server, the first indication message indicating the low-power mode (e.g., Figure 14 (The example shown);

[0511] The terminal's current location is not near the target V2X communication device (e.g., Figure 15 (The example shown);

[0512] The terminal receives vehicle driving information sent by the vehicle, which indicates that the vehicle is currently in a normal off-state state (e.g., ...). Figure 17 Or the embodiment shown in 18).

[0513] 1902, when the first preset condition is met, the terminal performs a first action, including: switching the working mode of the direct communication PC5 interface to a low-power mode, or performing a first prompt action, the first prompt action being used to prompt the user to switch the working mode of the PC5 interface to the low-power mode.

[0514] Optionally, the method further includes:

[0515] If the first preset condition is not met, the terminal performs a second action, including:

[0516] Switch the operating mode of the direct communication PC5 interface to the high power mode, or perform a second prompt action to prompt the user to switch the operating mode of the PC5 interface to the high power mode.

[0517] In other words, when the first preset condition is met, the terminal can use the low-power PC5 interface working mode; when the first preset condition is not met, the terminal can switch the PC5 interface working mode back to the high-power mode.

[0518] Optionally, the terminal determines whether the first preset condition is met by:

[0519] The terminal judges whether the first preset condition and the second preset condition are established, in the case that the first preset condition is established, the first preset condition corresponds to a first weight, the first weight is a degree of inclination of switching the working mode of the PC5 interface to the low-power consumption mode, in the case that the second preset condition is not established, the second preset condition corresponds to a second weight, the second weight is a degree of inclination of switching the working mode of the PC5 interface to the high-power consumption mode, and the second weight is less than the first weight;

[0520] In the case that the first preset condition is established, the terminal performs a first action corresponding to the first preset condition, including:

[0521] In the case that the first preset condition is established and the second preset condition is not established, the terminal determines to perform the first action according to the first weight and the second weight.

[0522] In one example, the target preset condition group can include:

[0523] A, the strength of the first positioning signal is less than or equal to a first preset signal strength;

[0524] B, the user is not in a motion state.

[0525] Wherein, the preset condition A is established, and the preset condition B corresponds to a weight B, A>B.

[0526] When the preset condition A is established, but the preset condition B is not established. The preset condition A reflects the degree of inclination that the terminal is currently located outdoors as A, and the preset condition B reflects the degree of inclination that the terminal is currently located outdoors as -B. Since A>B, the terminal can perform the first action as described above.

[0527] In another example, the target preset condition group can include:

[0528] C, the strength of the second positioning signal is greater than or equal to a second preset signal strength;

[0529] D, the strength of the first positioning signal is less than or equal to a first preset signal strength;

[0530] E, the moving speed of the terminal is less than or equal to a preset moving speed.

[0531] Wherein, the preset condition C is established, and the preset condition D corresponds to a weight D, the preset condition E corresponds to a weight E, C=D<E.

[0532] When the preset conditions C and E are established, but the preset condition D is not established, the preset conditions C and E belong to the first preset conditions, and the preset condition D belongs to the second preset condition. According to C=D<E, the terminal can perform the first action.

[0533] In yet another example, the target preset condition group can include:

[0534] F, the current location of the terminal belongs to the first traffic location;

[0535] G, the terminal receives first indication information sent by the V2X server, and the first indication information indicates the low-power mode;

[0536] H, the current location of the terminal is not located near the target V2X communication device.

[0537] Wherein, when the preset condition F is established, the corresponding weight is F1, when the preset condition F is not established, the corresponding weight is F2; when the preset condition G is established, the corresponding weight is G1, when the preset condition G is not established, the corresponding weight is G2, when the preset condition H is established, the corresponding weight is H1, when the preset condition H is not established, the corresponding weight is H2, F1=G1=H1>2×F2=2×G2=2×H2.

[0538] When the preset condition F is established, but the preset conditions G and H are not established, the preset condition F belongs to the first preset condition, and the preset conditions G and H belong to the second preset condition. According to F1=G1=H1>2×F2=2×G2=2×H2, the terminal can perform the first action.

[0539] Optionally, when the first preset condition is established, the terminal performs a first action corresponding to the first preset condition, including:

[0540] When the first preset condition is established, and the duration for which the first preset condition is established is greater than or equal to a target time threshold, the terminal performs the first action.

[0541] Optionally, the terminal determining whether the first preset condition is established includes:

[0542] The terminal determines whether the user is in a motion state according to the step count increase amount per unit time and / or the moving speed of the terminal.

[0543] Optionally, the terminal is a vehicle-mounted device, and before the terminal determines whether the first preset condition is established, the method further includes:

[0544] The terminal obtains the current speed of the vehicle.

[0545] The terminal determines whether the first preset condition is established, including:

[0546] The terminal determines whether the current vehicle speed is less than or equal to the preset moving speed.

[0547] Optionally, the first traffic location includes at least one of the following: a park, a shopping center, a square, and an indoor.

[0548] Optionally, the current position of the terminal is not located near the target V2X communication device, including at least one of the following:

[0549] The current latitude and longitude information of the terminal does not match the latitude and longitude information of the target V2X communication device;

[0550] The cell currently registered by the terminal does not register the target V2X communication device;

[0551] The terminal does not receive a short-distance communication message from the target V2X communication device.

[0552] Optionally, the target V2X communication device includes a V2X communication device located at a toll station or an ETC gantry of a non-stop toll collection system.

[0553] Optionally, before the terminal determines whether the first preset condition is established, the method further includes:

[0554] The terminal determines a driving route;

[0555] The terminal obtains position information of the toll station and / or position information of the ETC gantry on the driving route.

[0556] Optionally, the terminal is a mobile phone or a V2X license plate.

[0557] Optionally, the low-power mode includes a shutdown mode or a periodic listening mode.

[0558] The specific description of the low-power mode can refer to the embodiments shown in Figure 7 .

[0559] Figure 20 The method for controlling an interface provided by an embodiment of the present application. The method can be applied to a terminal with a V2X communication function.

[0560] 2001, the terminal determines whether a third preset condition is established.

[0561] The third preset condition includes at least one of the following:

[0562] The strength of the first positioning signal is greater than or equal to a first preset signal strength (such as Figure 8 the embodiments shown in the drawings) ;

[0563] a second positioning signal from a vehicle is detected;

[0564] the user is in a motion state (e.g., as shown in the embodiment of FIG. 2B); Figure 11

[0565] the moving speed of the terminal is greater than or equal to a preset moving speed (e.g., as shown in the embodiment of FIG. 2C); Figure 12

[0566] the current location of the terminal belongs to a second traffic location (e.g., as shown in the embodiment of FIG. 2D); Figure 13

[0567] the terminal receives second indication information sent by a V2X server, and the second indication information indicates the high-power mode (e.g., as shown in the embodiment of FIG. 2E); Figure 14

[0568] the current location of the terminal is near a target V2X communication device (e.g., as shown in the embodiment of FIG. 2F); Figure 15

[0569] the terminal receives vehicle driving information sent by a vehicle, and the vehicle driving information indicates that the vehicle is currently in an abnormal engine stall state (e.g., as shown in the embodiment of FIG. 2G or 18). Figure 17

[0570] 2002, in the case where the third preset condition is established, the terminal performs a second action, including: switching the working mode of the PC5 interface of the direct connection communication to a high-power mode, or performing a second prompt action for prompting the user to switch the working mode of the PC5 interface to the high-power mode.

[0571] Optionally, the method further includes:

[0572] in the case where the third preset condition is not established, the terminal performs a first action, including:

[0573] switching the working mode of the PC5 interface of the direct connection communication to a low-power mode, or performing a first prompt action for prompting the user to switch the working mode of the PC5 interface to the low-power mode.

[0574] That is, in the case where the third preset condition is established, the terminal can adopt the high-power PC5 interface working mode; in the case where the third preset condition is not established, the terminal can switch the PC5 interface working mode back to the low-power mode.

[0575] Optionally, the terminal determining whether the third preset condition is established includes:

[0576] ​​​​​​The terminal judges whether the third preset condition and the fourth preset condition are established, in the case that the third preset condition is established, the third preset condition corresponds to a third weight, the third weight is a degree of tendency of switching the working mode of the PC5 interface to the high power consumption mode, in the case that the fourth preset condition is not established, the fourth preset condition corresponds to a fourth weight, the fourth weight is a degree of tendency of switching the working mode of the PC5 interface to a low power consumption mode, and the fourth weight is less than the third weight;

[0577] In the case that the third preset condition is established, the terminal performs a second action corresponding to the third preset condition, including:

[0578] In the case that the third preset condition is established and the fourth preset condition is not established, the terminal determines to perform the second action according to the third weight and the fourth weight.

[0579] In one example, the target preset condition group can include:

[0580] a. The strength of the first positioning signal is greater than or equal to a first preset signal strength;

[0581] b. The user is in a motion state.

[0582] Wherein, the preset condition a is established corresponding to a weight a, the preset condition b is not established corresponding to a weight b, and a > b.

[0583] When the preset condition a is established but the preset condition b is not established, the preset condition a belongs to the third preset condition, and the preset condition b belongs to the fourth preset condition. The preset condition a reflects a degree of tendency of the terminal currently being located outdoors as a, and the preset condition b reflects a degree of tendency of the terminal currently being located outdoors as -b. Since a > b, the terminal can perform the second action as described above.

[0584] In another example, the target preset condition group can include:

[0585] c. The strength of the first positioning signal is greater than or equal to a first preset signal strength;

[0586] d. The user is in a motion state;

[0587] e. The moving speed of the terminal is greater than or equal to a preset moving speed.

[0588] Wherein, the preset condition c is established corresponding to a weight c, the preset condition d is not established corresponding to a weight d, the preset condition e is established corresponding to a weight e, and c < d = e.

[0589] When the preset conditions c and d are established, but the preset condition e is not established, the preset conditions c and d belong to the third preset condition, and the preset condition e belongs to the fourth preset condition. According to c < d = e, the terminal can perform the second action.

[0590] In yet another example, the target preset condition group can include:

[0591] f. The current position of the terminal belongs to a second traffic position;

[0592] g. The terminal receives second indication information sent by the V2X server, and the second indication information indicates the high-power consumption mode;

[0593] h. The current position of the terminal is located near a target V2X communication device.

[0594] Wherein, when the preset condition f is established, the corresponding weight is f1, when the preset condition f is not established, the corresponding weight is f2; when the preset condition g is established, the corresponding weight is g1, when the preset condition g is not established, the corresponding weight is g2, when the preset condition h is established, the corresponding weight is h1, when the preset condition h is not established, the corresponding weight is h2, f1 = g1 = h1 > 2 × f2 = 2 × g2 = 2 × h2.

[0595] When the preset condition f is established, but the preset conditions g and h are not established, the preset condition f belongs to the third preset condition, and the preset conditions g and h belong to the fourth preset condition. According to f1 = g1 = h1 > 2 × f2 = 2 × g2 = 2 × h2, the terminal can perform the second action.

[0596] Optionally, when the third preset condition is established, the terminal performs a second action corresponding to the third preset condition, including:

[0597] When the third preset condition is established, and the duration for which the third preset condition is established is greater than or equal to a target time threshold, the terminal performs the second action.

[0598] Optionally, the terminal determining whether the third preset condition is established includes:

[0599] The terminal determines whether the user is in a motion state according to the step count increase amount per unit time and / or the moving speed of the terminal.

[0600] Optionally, the terminal is a vehicle-mounted device, and before the terminal determines whether the third preset condition is established, the method further includes:

[0601] The terminal obtains the current speed of the vehicle;

[0602] The terminal determines whether the third preset condition is established, including:

[0603] The terminal determines whether the current vehicle speed is greater than or equal to the preset moving speed.

[0604] Optionally, the second traffic location includes at least one of the following: a street, a subway station, a toll station, a community, and a campus.

[0605] Optionally, the current location of the terminal is near the target V2X communication device, including at least one of the following:

[0606] The current latitude and longitude information of the terminal matches the latitude and longitude information of the target V2X communication device.

[0607] The cell currently registered by the terminal registers the target V2X communication device.

[0608] The terminal receives a short-distance communication message from the target V2X communication device.

[0609] Optionally, the target V2X communication device includes a V2X communication device located at a toll station or an ETC gantry of a non-stop toll collection system.

[0610] Optionally, before the terminal determines whether the third preset condition is met, the method further includes:

[0611] The terminal determines a driving route.

[0612] The terminal obtains position information of the toll station and / or position information of the ETC gantry on the driving route.

[0613] Optionally, the abnormal engine stall state includes at least one of the following:

[0614] The danger warning light of the vehicle is turned on.

[0615] The vehicle has an abnormal engine start action.

[0616] The vehicle has a fault.

[0617] Optionally, the terminal is a mobile phone or a V2X license plate.

[0618] Optionally, the high-power consumption mode includes a wake-up mode or a periodic listening mode.

[0619] The specific description of the high-power consumption mode can refer to the embodiments shown in Figure 7

[0620] Figure 21 A method for controlling an interface is provided. The method can be applied to a vehicle with a V2X communication function.

[0621] ​2101, the vehicle determines whether the vehicle is currently in an abnormal engine stall state.

[0622] The specific embodiments can refer to the embodiments shown in Figure 16 The specific embodiments can refer to the embodiments shown in

[0623] 2102, in the case that the vehicle is in an abnormal engine stall state, the vehicle performs a second action, including: switching the working mode of a PC5 interface of direct communication to a high-power consumption mode, or performing a second prompt action, the second prompt action is used to prompt a user to switch the working mode of the PC5 interface to the high-power consumption mode.

[0624] Optionally, the abnormal engine stall state includes at least one of the following:

[0625] The danger warning light of the vehicle is turned on;

[0626] The vehicle has an abnormal sparking action;

[0627] The vehicle has a fault.

[0628] Optionally, the method further includes: in the case that the vehicle is in a normal engine stall state, the vehicle performs a first action, including:

[0629] Switching the working mode of a PC5 interface of direct communication to a low-power consumption mode, or,

[0630] Performing a first prompt action, the first prompt action is used to prompt a user to switch the working mode of the PC5 interface to the low-power consumption mode.

[0631] Optionally, the high-power consumption mode includes: a periodic listening mode or a wake-up mode.

[0632] The specific embodiments of the high-power consumption mode can refer to the embodiments shown in Figure 7 The specific embodiments can refer to the embodiments shown in

[0633] Figure 22 A method for controlling an interface is provided in the embodiments of the present application. The method can be applied to a vehicle with a V2X communication function.

[0634] 2201, the vehicle determines whether the vehicle is currently in a normal engine stall state.

[0635] The specific embodiments can refer to the embodiments shown in Figure 16 The specific embodiments can refer to the embodiments shown in

[0636] 2202, in the case that the vehicle is in the normal off state, the vehicle performs a first action, including: switching the working mode of the direct communication PC5 interface to a low power consumption mode, or performing a first prompt action for prompting the user to switch the working mode of the PC5 interface to the low power consumption mode.

[0637] Optionally, the low power consumption mode includes a shutdown mode.

[0638] The low power consumption mode can be specifically explained with reference to the embodiments shown in Figure 7 .

[0639] Figure 23 is a structural schematic diagram of a communication apparatus provided by the embodiments of the present application. The communication apparatus 2300 can be a terminal device, or a component (such as a chip or a circuit) that can be used in a terminal device. As shown in Figure 23 , the communication apparatus 2300 can include a processing module 2301 and a control module 2302.

[0640] The processing module 2301 is configured to determine whether a first preset condition is met, and the first preset condition includes at least one of the following:

[0641] The strength of the first positioning signal is less than or equal to a first preset signal strength;

[0642] The strength of the second positioning signal is greater than or equal to a second preset signal strength;

[0643] The user is not in a motion state;

[0644] The moving speed of the communication apparatus 2300 is less than or equal to a preset moving speed;

[0645] The current position of the communication apparatus 2300 belongs to a first traffic position;

[0646] The communication apparatus 2300 receives first indication information sent by a V2X server, and the first indication information indicates the low power consumption mode;

[0647] The current position of the communication apparatus 2300 is not located near a target V2X communication device;

[0648] The communication apparatus 2300 receives vehicle driving information sent by a vehicle, and the vehicle driving information indicates that the vehicle is currently in a normal off state.

[0649] The control module 2302 is configured to perform a first action or a first prompt action in a case where the first preset condition is met, the first action comprising switching a working mode of a PC5 interface of direct connection communication to a low-power consumption mode, and the first prompt action being used for prompting a user to switch the working mode of the PC5 interface to the low-power consumption mode.

[0650] The processing module 2301 can be implemented by a processor. The control module 2302 can be implemented by a driver or a processor. The PC5 interface can be implemented by a receiver and / or a transmitter. Specific functions and advantages of the communication apparatus 2300 can be referred to the method shown in Figure 8 to Figure 15 、 Figure 17 to Figure 19 and will not be described here again.

[0651] In a possible embodiment, a communication apparatus is also provided, which can be a terminal device or a component (for example, a chip or a circuit, etc.) for a terminal device. The communication apparatus can include a transceiver and a processor, and optionally, a memory. The transceiver can be used to implement the corresponding functions and operations of the receiving module and the sending module, and the processor can be used to implement the corresponding functions and operations of the processing module. The memory can be used to store execution instructions or application program codes, and to be controlled by the processor to perform the method of controlling the interface provided in the embodiments of the present application, and / or can be used to temporarily store some data and instruction information, etc. The memory can exist independently of the processor, and the memory can be connected to the processor through a communication line. In another possible design, the memory can also be integrated with the processor, and the embodiments of the present application do not limit this.

[0652] Figure 23 The communication apparatus can include a hardware structure as shown in Figure 6 .

[0653] Figure 24 is a structural schematic diagram of a communication apparatus provided in the embodiments of the present application. The communication apparatus 2400 can be a terminal device or a component (for example, a chip or a circuit) that can be used for a terminal device. As shown in Figure 24 , the communication apparatus 2400 can include a processing module 2401 and a control module 2402.

[0654] The processing module 2401 is configured to determine whether a third preset condition is met, the third preset condition including at least one of the following:

[0655] The strength of the first positioning signal is greater than or equal to a first preset signal strength;

[0656] The second positioning signal from the vehicle is detected;

[0657] The user is in a motion state;

[0658] The moving speed of the communication apparatus 2400 is greater than or equal to a preset moving speed;

[0659] The current position of the communication apparatus 2400 belongs to a second traffic position;

[0660] The communication apparatus 2400 receives second indication information sent by a V2X server, and the second indication information indicates the high-power consumption mode;

[0661] The current position of the communication apparatus 2400 is located near a target V2X communication device;

[0662] The communication apparatus 2400 receives vehicle driving information sent by a vehicle, and the vehicle driving information indicates that the vehicle is currently in an abnormal engine stall state.

[0663] The control module 2402 is configured to perform a second action when the third preset condition is met, including: switching the working mode of the direct communication PC5 interface to the high-power consumption mode, or performing a second prompt action, the second prompt action being used to prompt a user to switch the working mode of the PC5 interface to the high-power consumption mode.

[0664] The processing module 2401 can be implemented by a processor. The control module 2402 can be implemented by a driver or a processor. The PC5 interface can be implemented by a receiver and / or a transmitter. The specific functions and advantages of the communication apparatus 2400 can be referred to the method shown in Figure 8 to Figure 15 、 Figure 17 、 Figure 18 、 Figure 20 The specific functions and advantages of the communication apparatus 2400 can be referred to the method shown in

[0665] In a possible embodiment, a communication apparatus is also provided, which can be a terminal device, or can be a component (such as a chip or a circuit, etc.) for a terminal device. The communication apparatus can include a transceiver and a processor, and optionally, a memory. The transceiver can be used to implement the corresponding functions and operations of the receiving module and the sending module, and the processor can be used to implement the corresponding functions and operations of the processing module. The memory can be used to store execution instructions or application program codes, and to be controlled by the processor to perform the method of controlling the interface provided in the embodiments of the present application; and / or, it can also be used to temporarily store some data and instruction information, etc. The memory can exist independently of the processor, and the memory can be connected to the processor through a communication line. In another possible design, the memory can also be integrated with the processor, and the embodiments of the present application do not limit this.

[0666] Figure 24 The communication apparatus can include, for example, as shown in Figure 6The hardware structure is shown.

[0667] Figure 25 The communication device can be a vehicle, or a component (for example, a chip or a circuit) that can be used in a vehicle. As shown in Figure 25 The communication device 2500 can include a processing module 2501 and a control module 2502.

[0668] The processing module 2501 is configured to determine whether the communication device 2500 is currently in an abnormal shutdown state.

[0669] The control module 2502 is configured to perform a second action or a second prompt action in a case where the communication device 2500 is in the abnormal shutdown state. The second action includes switching a working mode of a direct communication PC5 interface to a high-power consumption mode. The second prompt action is used to prompt a user to switch the working mode of the PC5 interface to the high-power consumption mode.

[0670] The processing module 2501 can be implemented by a processor. The control module 2502 can be implemented by a driver or a processor. The PC5 interface can be implemented by a receiver and / or a transmitter. For specific functions and advantages of the communication device 2500, refer to Figure 16 、 Figure 21 The method is shown above, and thus will not be described here.

[0671] In a possible embodiment, a communication device is also provided. The communication device can be a vehicle, or a component (for example, a chip or a circuit) that can be used in a vehicle. The communication device can include a transceiver and a processor, and optionally, a memory. The transceiver can be configured to implement corresponding functions and operations of the receiving module and the sending module. The processor can be configured to implement corresponding functions and operations of the processing module. The memory can be configured to store execution instructions or application program codes, and to be controlled by the processor to perform the method of controlling the interface provided in the embodiments of the present application. In addition, the memory can also be configured to temporarily store some data and instruction information, and the like. The memory can exist independently of the processor. In this case, the memory can be connected to the processor through a communication line. In another possible design, the memory can also be integrated with the processor, and the embodiments of the present application do not limit this.

[0672] Figure 25 The communication device can include a hardware structure as shown in Figure 5

[0673] Figure 26 The communication device can be a vehicle, or a component (for example, a chip or a circuit) that can be used in a vehicle. As shown in​Figure 26 As shown in FIG. 26, the communication apparatus 2600 can include a processing module 2601 and a control module 2602.

[0674] The processing module 2601 is configured to determine whether the communication apparatus 2600 is currently in a normal off state.

[0675] The control module 2602 is configured to, in a case where the communication apparatus 2600 is in the normal off state, perform a first action, including: switching a working mode of a PC5 interface of a direct connection communication to a low-power consumption mode, or performing a first prompt action, the first prompt action being configured to prompt a user to switch the working mode of the PC5 interface to the low-power consumption mode.

[0676] The processing module 2601 can be implemented by a processor. The control module 2602 can be implemented by a driver or a processor. The PC5 interface can be implemented by a receiver and / or a transmitter. Specific functions and advantages of the communication apparatus 2600 can be referred to the above description of the method shown in FIG. 26, which will not be repeated here. Figure 16 、 Figure 22 The method shown in FIG. 26 will not be repeated here.

[0677] In a possible embodiment, a communication apparatus is also provided, which can be a vehicle, or a component (such as a chip or a circuit, etc.) for a vehicle. The communication apparatus can include a transceiver and a processor, and optionally, a memory. The transceiver can be configured to implement the corresponding functions and operations of the above-mentioned receiving module and transmitting module, and the processor can be configured to implement the corresponding functions and operations of the above-mentioned processing module. The memory can be configured to store execution instructions or application program codes, and to be controlled by the processor to perform the above-mentioned method of controlling the interface, and / or can be configured to temporarily store some data and instruction information, etc. The memory can exist independently of the processor, in which case the memory can be connected to the processor through a communication line. In another possible design, the memory can also be integrated with the processor, which is not limited in the embodiments of the present application.

[0678] Figure 26 The communication apparatus can include, for example, a hardware structure as shown in FIG. 27. Figure 5 The communication apparatus can include, for example, a hardware structure as shown in FIG. 27.

[0679] Figure 27 is a structural block diagram of a communication apparatus provided by the embodiments of the present application. The communication apparatus 2700 can be a terminal device. As shown in FIG. 27, the communication apparatus 2700 can include a processor 2701, a memory 2702, a transceiver 2703 and an antenna 2704. Figure 27As shown, the terminal device includes a processor 2701, a memory 2702, radio frequency circuitry, an antenna, and an input / output device. The processor 2701 can be used to process communication protocols and communication data, control the terminal device, execute software programs, process data of software programs, and the like. The memory 2702 is mainly used to store software programs and data. The radio frequency circuitry is mainly used for conversion between baseband signals and radio frequency signals and processing of the radio frequency signals. The antenna is mainly used to transceive radio frequency signals in the form of electromagnetic waves. The input / output device, such as a touch screen, a display screen, a keyboard, and the like, is mainly used to receive data input by a user and output data to the user. It should be noted that some types of terminal devices can not have an input / output device.

[0680] When data needs to be sent, the processor 2701 performs baseband processing on the data to be sent, and outputs a baseband signal to the radio frequency circuitry. The radio frequency circuitry performs radio frequency processing on the baseband signal, and transmits a radio frequency signal in the form of electromagnetic waves through the antenna. When data is sent to the terminal device, the radio frequency circuitry receives a radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal into data and processes the data. For ease of illustration, Figure 27 In the embodiment of the present application, only one memory and one processor are shown. In actual terminal device products, one or more processors and one or more memories can exist. The memory can also be referred to as a storage medium or a storage device, etc. The memory can be independent of the processor or integrated with the processor, and the embodiments of the present application do not limit this.

[0681] In the embodiments of the present application, the antenna and the radio frequency circuitry with transceiving functions can be regarded as a transceiver 2703 of the terminal device, and the processor with processing functions can be regarded as a processing unit of the terminal device. The transceiver 2703 can also be referred to as a transceiving unit, a transceiver, a transceiving device, etc. The processing unit can also be referred to as a processor, a processing board, a processing module, a processing device, etc. Optionally, the devices for realizing the receiving function in the transceiver 2703 can be regarded as a receiving unit, and the devices for realizing the sending function in the transceiver 2703 can be regarded as a sending unit, that is, the transceiver 2703 includes the receiving unit and the sending unit. The receiving unit can also be referred to as a receiver, a receiver, or a receiving circuit, etc. from time to time. The sending unit can also be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.

[0682] The processor 2701, the memory 2702, and the transceiver 2703 communicate with each other through internal connection paths to transfer control and / or data signals.

[0683] The method disclosed in the embodiments of the present application can be applied to the processor 2701 or implemented by the processor 2701. The processor 2701 can be an integrated circuit chip having a signal processing capability. In the implementation process, the steps of the method can be completed by the integrated logic circuits or the instructions in the form of software in the processor 2701.

[0684] The processor in the embodiments of the present application can be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can be any conventional processor. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as a hardware coding processor for execution, or a combination of hardware and software modules in the coding processor. The software module can be located in a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the storage, and the processor reads the instructions in the storage and combines the hardware to complete the steps of the above method.

[0685] Optionally, in some embodiments, the memory 2702 can store instructions for performing the method executed by the terminal device in the method as shown in Figure 8 to Figure 15 , Figure 17 to Figure 20 The processor 2701 can execute the instructions stored in the memory 2702 to complete the steps executed by the terminal device in the method as shown in Figure 8 to Figure 15 , Figure 17 to Figure 20 The specific working process and beneficial effects can be referred to the description in the embodiments as shown in Figures 5-12 .

[0686] The embodiments of the present application also provide a chip, which includes a transceiver unit and a processing unit. The transceiver unit can be an input and output circuit, a communication interface; the processing unit is a processor or microprocessor or integrated circuit integrated on the chip. The chip can execute the method of the terminal device side in the above method embodiments.

[0687] This application also provides a computer-readable storage medium storing instructions thereon, which, when executed, perform the method on the terminal device side in the above method embodiments.

[0688] This application also provides a computer program product containing instructions that, when executed, perform the method on the terminal device side in the above method embodiments.

[0689] Figure 28 This is a structural block diagram of a communication device according to an embodiment of this application. The communication device 2800 can be a vehicle. Figure 28 As shown, the vehicle includes a processor 2801, a memory 2802, a radio frequency (RF) circuit, an antenna, and input / output devices. The processor 2801 is used to process communication protocols and data, control the vehicle, execute software programs, and process software program data. The memory 2802 is mainly used to store software programs and data. The RF circuit is mainly used for converting baseband signals to RF signals and processing RF signals. The antenna is mainly used for transmitting and receiving RF signals in the form of electromagnetic waves. Input / output devices, such as touchscreens, displays, and keyboards, are mainly used to receive user input data and output data to the user. It should be noted that some types of vehicles may not have input / output devices.

[0690] When data needs to be transmitted, the processor 2801 performs baseband processing on the data to be transmitted and outputs a baseband signal to the radio frequency (RF) circuit. The RF circuit then processes the baseband signal and transmits it outward as electromagnetic waves through the antenna. When data is sent to the vehicle, the RF circuit receives the RF signal through the antenna, converts it into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal back into data and processes it. For ease of explanation, Figure 28 Only one memory and processor are shown in the illustration. In actual vehicle products, there may be one or more processors and one or more memories. Memory may also be referred to as storage medium or storage device, etc. Memory may be set up independently of the processor or integrated with the processor; this application does not limit this.

[0691] In this embodiment, the antenna and radio frequency circuit with transceiver functions can be considered as the vehicle's transceiver 2803, and the processor with processing functions can be considered as the vehicle's processing unit. The transceiver 2803 can also be called a transceiver unit, transceiver, transceiver device, etc. The processing unit can also be called a processor, processing board, processing module, processing device, etc. Optionally, the devices in the transceiver 2803 used to implement the receiving function can be considered as a receiving unit, and the devices in the transceiver 2803 used to implement the transmitting function can be considered as a transmitting unit; that is, the transceiver 2803 includes a receiving unit and a transmitting unit. The receiving unit can sometimes be called a receiver, receiver circuit, etc. The transmitting unit can sometimes be called a transmitter, transmitter, or transmitting circuit, etc.

[0692] The processor 2801, memory 2802 and transceiver 2803 communicate with each other through internal connection paths to transmit control and / or data signals.

[0693] The methods disclosed in the embodiments of this application described above can be applied to, or implemented by, processor 2801. Processor 2801 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed through integrated logic circuits in the hardware of processor 2801 or through software instructions.

[0694] The processors described in the embodiments of this application can be general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. They can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly implemented by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads instructions from the memory and, in conjunction with its hardware, completes the steps of the above methods.

[0695] Optionally, in some embodiments, the memory 2802 can store instructions for performing methods executed by the vehicle in the methods as shown in Figure 16 , Figure 21 , Figure 22 . The processor 2801 can execute the instructions stored in the memory 2802 to complete the steps performed by the vehicle in the methods as shown in Figure 16 , Figure 21 , Figure 22 , and the specific working process and beneficial effects can refer to the description in the embodiments as shown in Figures 5-12 .

[0696] The embodiments of the present application also provide a chip, which includes a transceiver unit and a processing unit. The transceiver unit can be an input / output circuit, a communication interface; and the processing unit is a processor or a microprocessor or an integrated circuit integrated on the chip. The chip can execute the method of the vehicle side in the above-mentioned method embodiments.

[0697] The embodiments of the present application also provide a computer readable storage medium, which stores instructions, and the instructions are executed to perform the method of the vehicle side in the above-mentioned method embodiments.

[0698] The embodiments of the present application also provide a computer program product including instructions, and the instructions are executed to perform the method of the vehicle side in the above-mentioned method embodiments.

[0699] Those skilled in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized in electronic hardware or in combination of computer software and electronic hardware. Whether the functions are performed in hardware or software mode depends on the specific application and design constraints of the technical solutions. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0700] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the above-mentioned system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be described here.

[0701] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. For example, the described device embodiments are merely schematic. The division of the units is merely logical function division. There can be other division manners in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.

[0702] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0703] In addition, each functional unit in the various embodiments of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.

[0704] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.

[0705] The above description is merely a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method of controlling an interface, characterized by, The method is performed by a terminal having a vehicle-to-everything (V2X) communication function, and the method comprises: The terminal determines whether a first preset condition is met; In a case where the first preset condition is met, the terminal performs a first action, and the terminal performing the first action comprises: performing a first prompting action, the first prompting action being configured to prompt a user whether to switch a working mode of a PC5 interface to a low-power consumption mode; in response to a determination input of the user, switching the working mode of the PC5 interface to the low-power consumption mode; wherein the first preset condition comprises that a moving speed of the terminal is less than or equal to a preset moving speed, and the first preset condition further comprises at least one of the following: a strength of a first positioning signal is less than or equal to a first preset signal strength; a strength of a second positioning signal is greater than or equal to a second preset signal strength; the user is not in a motion state; a current location of the terminal belongs to a first traffic location; the current location of the terminal is not located near a target V2X communication device; the terminal receives vehicle driving information sent by a vehicle, the vehicle driving information indicating that the vehicle is currently in a normal engine-off state; the terminal receives first indication information sent by a V2X server, the first indication information indicating the low-power consumption mode; the terminal determines whether the first preset condition is met, comprising: The terminal determines whether the first preset condition and the second preset condition are met, in a case where the first preset condition is met, the first preset condition corresponds to a first weight, the first weight being a degree of inclination to switch the working mode of the PC5 interface to the low-power consumption mode, in a case where the second preset condition is not met, the second preset condition corresponds to a second weight, the second weight being a degree of inclination to switch the working mode of the PC5 interface to a high-power consumption mode, and the second weight is less than the first weight, the terminal performing the first action in a case where the first preset condition is met, comprising: in a case where the first preset condition is met and the second preset condition is not met, the terminal determines to perform the first action according to the first weight and the second weight.

2. The method of claim 1, wherein, The method further comprises: in a case where the first preset condition is not met, the terminal performs a second action, comprising: switching a working mode of a PC5 interface to a high-power consumption mode, or performing a second prompting action, the second prompting action being configured to prompt a user to switch the working mode of the PC5 interface to the high-power consumption mode.

3. The method according to claim 1 or 2, characterized in that, the terminal performing the first action in a case where the first preset condition is met, comprising: in a case where the first preset condition is met and a duration for which the first preset condition is met is greater than or equal to a target time threshold, the terminal performs the first action.

4. The method according to claim 1 or 2, characterized in that, the terminal determining whether the first preset condition is met, comprising: The terminal determines whether the user is in a motion state according to a step count increase amount within a unit time and / or a moving speed of the terminal.

5. The method according to claim 1 or 2, characterized in that, The terminal is a vehicle-mounted device, and before the terminal determines whether the first preset condition is met, the method further comprises: The terminal acquires a current vehicle speed of the vehicle; The terminal judges whether a first preset condition is established, including: The terminal judges whether the current vehicle speed is less than or equal to the preset moving speed.

6. The method of claim 1 or 2, wherein, The first traffic location includes at least one of the following: a park, a shopping center, a square, and an indoor.

7. The method according to claim 1 or 2, characterized in that, The current location of the terminal is not located near a target V2X communication device, including at least one of the following: The current latitude and longitude information of the terminal does not match the latitude and longitude information of the target V2X communication device; The cell currently registered by the terminal does not register the target V2X communication device; The terminal does not receive a short-distance communication message from the target V2X communication device.

8. The method of claim 1 or 2, wherein, The target V2X communication device includes a V2X communication device located at a toll station or an ETC gantry of a non-stop toll collection system.

9. The method of claim 8, wherein, Before the terminal judges whether the first preset condition is established, the method further includes: The terminal determines a driving route; The terminal acquires the latitude and longitude information of the toll station and / or the latitude and longitude information of the ETC gantry on the driving route.

10. The method of claim 1 or 2, wherein, The terminal is a mobile phone or a V2X license plate.

11. The method of claim 1 or 2, wherein, The low-power consumption mode includes a shutdown mode or a periodic listening mode.

12. A method of controlling an interface, characterized by, The method is performed by a terminal with a vehicle-to-network communication (V2X) function, and the method includes: The terminal judges whether a third preset condition is established; In a case where the third preset condition is established, the terminal performs a second action, including: Performing a second prompt action for prompting a user whether to switch a working mode of a PC5 interface to a high-power consumption mode; Switching the working mode of the PC5 interface to the high-power consumption mode in response to a determination input of the user; The third preset condition includes that a moving speed of the terminal is greater than a preset moving speed, and the third preset condition further includes at least one of the following: A strength of a first positioning signal is greater than or equal to a first preset signal strength; A second positioning signal from a vehicle is detected; The user is in a motion state; A current location of the terminal belongs to a second traffic location; The current location of the terminal is located near a target V2X communication device; The terminal receives vehicle driving information sent by a vehicle, and the vehicle driving information indicates that the vehicle is currently in an abnormal engine stall state; The terminal receives second indication information sent by a V2X server, and the second indication information indicates the high-power consumption mode; The terminal judges whether the third preset condition is established, including: The terminal judges whether the third preset condition and a fourth preset condition are established, in a case where the third preset condition is established, the third preset condition corresponds to a third weight, the third weight is a degree of inclination of switching the working mode of the PC5 interface to the high-power consumption mode, in a case where the fourth preset condition is not established, the fourth preset condition corresponds to a fourth weight, the fourth weight is a degree of inclination of switching the working mode of the PC5 interface to a low-power consumption mode, and the fourth weight is less than the third weight; In the case where the third preset condition is established, the terminal performs the second action, including: In a case where the third preset condition is established and the fourth preset condition is not established, the terminal determines to perform the second action according to the third weight and the fourth weight.

13. The method of claim 12, wherein, The method further comprises: In a case where the third preset condition is not established, the terminal performs a first action, comprising: switching the working mode of the PC5 interface to a low-power-consumption mode, or performing a first prompting action, the first prompting action being used for prompting a user to switch the working mode of the PC5 interface to the low-power-consumption mode.

14. The method according to claim 12 or 13, characterized in that, The terminal performs the second action in a case where the third preset condition is established, comprising: In a case where the third preset condition is established and a duration for which the third preset condition is established is greater than or equal to a target time length threshold, the terminal performs the second action.

15. The method according to claim 12 or 13, characterized in that, The terminal determines whether a third preset condition is established, comprising: The terminal determines whether the user is in a motion state according to a step count increment in a unit time and / or a moving speed of the terminal.

16. The method of claim 12 or 13, wherein, The terminal is a vehicle-mounted device, and before the terminal determines whether the third preset condition is established, the method further comprises: The terminal obtains a current vehicle speed of the vehicle. The terminal determines whether the third preset condition is established, comprising: The terminal determines whether the current vehicle speed is greater than or equal to the preset moving speed.

17. The method of claim 12 or 13, wherein, The second traffic location comprises at least one of the following: a street, a subway station, a toll station, a community, and a campus.

18. The method according to claim 12 or 13, characterized in that, The current location of the terminal is located near a target V2X communication device, comprising at least one of the following: The current longitude and latitude information of the terminal matches longitude and latitude information of the target V2X communication device; A cell currently registered by the terminal registers the target V2X communication device; The terminal receives a short-distance communication message from the target V2X communication device.

19. The method of claim 12 or 13, wherein, The target V2X communication device comprises a V2X communication device located at a toll station or an ETC gantry of an expressway toll collection system.

20. The method of claim 19, wherein, Before the terminal determines whether the third preset condition is established, the method further comprises: The terminal determines a driving route; The terminal obtains longitude and latitude information of the toll station and / or longitude and latitude information of the ETC gantry on the driving route.

21. The method of claim 12 or 13, wherein, The abnormal engine stall state comprises at least one of the following: A danger warning light of the vehicle is turned on; The vehicle has an abnormal engine start action; The vehicle has a fault.

22. The method of claim 12 or 13, wherein, The terminal is a mobile phone or a V2X license plate.

23. The method of claim 12 or 13, wherein, The high-power-consumption mode comprises a wake-up mode or a periodic listening mode.

24. A communications device, characterized by The communication device comprises: one or more processors; one or more memories; The one or more memories store one or more computer programs, the one or more computer programs comprising instructions that, when executed by the one or more processors, cause the communication device to perform the method of any one of claims 1-23.

25. A non-transitory computer readable storage medium, comprising: computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any one of claims 1-23.

26. A computer program product comprising instructions, wherein: The computer program product, when run on the electronic device, causes the electronic device to perform the method of any one of claims 1-23.

Citation Information

Patent Citations

  • Method for reducing power consumption of pedestrian user (PUE) in V2X communication

    CN108377514A

  • On-vehicle communication device, communication control method and vehicle

    CN109672995A