Communication processing method, mobile terminal, electronic equipment and storage medium

By establishing a short-distance communication connection between the mobile terminal and the vehicle terminal, judging the clock calibration conditions and sending a standard clock request, the problem of the mobile terminal failing to obtain the standard clock has been solved, and the digital key connection failure has been achieved under abnormal network conditions.

CN120186743APending Publication Date: 2025-06-20GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510305376.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

The problem that the mobile terminal cannot obtain the standard clock from the cloud causes the digital key connection to fail.

Method used

After establishing a short-distance communication connection with the vehicle end, determine whether the clock calibration conditions are met, send a standard clock request to the cloud, and determine whether the standard clock sent from the cloud is received within the preset time. If not received, this clock calibration is prohibited and the short-distance communication connection with the vehicle end is maintained.

Benefits of technology

It avoids the failure of digital key connection due to the inability of mobile terminal to obtain the standard clock, and ensures that the normal use of the digital key can be maintained under abnormal network conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120186743A_ABST
    Figure CN120186743A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and provides a communication processing method, a mobile terminal, electronic equipment and a storage medium. The method is applied to a mobile terminal. The method comprises the following steps: after short-distance communication connection with a vehicle end is established, judging whether a condition for carrying out clock calibration on a digital key is met or not; sending a standard clock request to the cloud in response to determining that the condition of carrying out clock calibration on the digital key is met, and judging whether a standard clock sent by the cloud is received within a preset duration; and in response to determining that the standard clock sent by the cloud is not received within the preset duration, prohibiting clock calibration of this time, and keeping short-distance communication connection with the vehicle end. Therefore, when the mobile terminal is in the network abnormal state and cannot acquire the standard clock from the cloud, the normal use of the digital key in the network abnormal state of the mobile terminal is ensured by keeping the short-distance communication connection between the mobile terminal and the vehicle terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of data processing, and in particular, to a communication processing method, a mobile terminal, an electronic device, and a storage medium. Background Art

[0002] With the development of the vehicle industry, functions such as unlocking and locking of vehicles can be achieved through a mobile terminal. To meet the validity verification of digital keys, the mobile terminal needs to regularly obtain a standard clock from the cloud and synchronize it to the vehicle terminal. However, in some scenarios, the failure of the mobile terminal to obtain the standard clock from the cloud may cause the problem of digital key connection failure.

[0003] In view of this, how to avoid the digital key connection failure caused by the mobile terminal's inability to obtain the standard clock from the cloud has become an urgent technical problem to be solved. Summary of the Invention

[0004] In view of this, the purpose of the present disclosure is to propose a communication processing method, a mobile terminal, an electronic device, and a storage medium to solve the problem in the prior art that the digital key connection fails due to the mobile terminal's inability to obtain the standard clock from the cloud.

[0005] Based on the above purpose, the first aspect of the present disclosure proposes a communication processing method, which is applied to a mobile terminal; the method includes:

[0006] After establishing a short-distance communication connection with the vehicle terminal, determine whether the conditions for calibrating the clock of the digital key are met;

[0007] In response to determining that the conditions for calibrating the clock of the digital key are met, send a standard clock request to the cloud, and determine whether the standard clock sent by the cloud is received within a preset duration;

[0008] In response to determining that the standard clock sent by the cloud is not received within the preset duration, prohibit the current clock calibration and maintain the short-distance communication connection with the vehicle terminal.

[0009] In some embodiments, the maintaining the short-distance communication connection with the vehicle terminal includes:

[0010] Obtain the offline duration and the validity period of the vehicle terminal certificate, and determine whether the offline duration is less than or equal to the validity period of the vehicle terminal certificate;

[0011] In response to determining that the offline duration is less than or equal to the validity period of the vehicle terminal certificate, maintain the short-distance communication connection with the vehicle terminal through the local key data.

[0012] In some embodiments, after determining whether the offline duration is less than or equal to the validity period of the vehicle terminal certificate, it further includes:

[0013] In response to determining that the offline duration is greater than the vehicle-end certificate validity period, disconnect the short-distance communication connection with the vehicle end.

[0014] In some embodiments, after prohibiting the current clock calibration and maintaining the short-distance communication connection with the vehicle end, it further includes:

[0015] Obtain the real-time network signal of the mobile terminal;

[0016] In response to determining that the real-time network signal switches from an abnormal state to a normal state, obtain the standard clock from the cloud and send the standard clock to the vehicle end for the vehicle end to use the standard clock to calibrate the clock of the digital key.

[0017] In some embodiments, the responding to determining that the conditions for clock calibration of the digital key are met includes:

[0018] Obtain the calibration duration between the last calibration moment and the current moment, and compare the calibration duration with a preset calibration period;

[0019] In response to determining that the calibration duration is greater than or equal to the preset calibration period, determine that the conditions for clock calibration of the digital key are met;

[0020] Or,

[0021] Obtain the real-time clock random number from the vehicle end and determine whether there is a clock calibration request in the real-time clock random number;

[0022] In response to determining that there is a clock calibration request in the real-time clock random number, determine that the conditions for clock calibration of the digital key are met.

[0023] In some embodiments, the responding to determining that the conditions for clock calibration of the digital key are met and sending a standard clock request to the cloud includes:

[0024] In response to determining that the conditions for clock calibration of the digital key are met, obtain the network state of the short-distance communication connection and determine whether the network state is an online state;

[0025] In response to determining that the network state is an online state, enable the clock calibration function of the digital key and send a standard clock request to the cloud.

[0026] In some embodiments, after determining whether the network state is an online state, it further includes:

[0027] In response to determining that the network state is an offline state, disable the clock calibration function of the digital key and maintain the short-distance communication connection with the vehicle end.

[0028] Based on the same inventive concept, a second aspect of the present disclosure provides a mobile device, comprising:

[0029] A judgment module, configured to judge whether the condition for clock calibration of the digital key is satisfied after establishing a short - distance communication connection with the vehicle terminal;

[0030] A request sending module, configured to send a standard clock request to the cloud in response to determining that the condition for clock calibration of the digital key is satisfied, and judge whether the standard clock sent by the cloud is received within a preset duration;

[0031] A connection maintaining module, configured to prohibit the current clock calibration and maintain the short - distance communication connection with the vehicle terminal in response to determining that the standard clock sent by the cloud is not received within the preset duration.

[0032] Based on the same inventive concept, a third aspect of the present disclosure provides an electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable by the processor. When the processor executes the computer program, the above - described method is implemented.

[0033] Based on the same inventive concept, a fourth aspect of the present disclosure provides a non - transitory computer - readable storage medium storing computer instructions for causing a computer to execute the above - described method.

[0034] As can be seen from the above, the communication processing method, mobile device, electronic device, and storage medium provided by the present disclosure judge whether the condition for clock calibration of the digital key is satisfied after establishing a short - distance communication connection with the vehicle terminal. When the condition for clock calibration of the digital key is satisfied, a standard clock request is sent to the cloud, and it is judged whether the standard clock sent by the cloud is received within a preset duration. When the standard clock sent by the cloud is not received within the preset duration, the current clock calibration is prohibited, and the short - distance communication connection with the vehicle terminal is maintained. In this way, when the mobile device is in a network abnormal state and cannot obtain the standard clock from the cloud, by prohibiting the current clock calibration, the problem that the short - distance communication connection between the mobile device and the vehicle terminal cannot be established due to the digital key of the vehicle terminal not being clock - calibrated can be avoided. By maintaining the short - distance communication connection between the mobile device and the vehicle terminal, the normal use of the digital key in the case of the abnormal network state of the mobile device is ensured. Description of the Drawings

[0035] To more clearly illustrate the technical solutions in the present disclosure or related technologies, the following will briefly introduce the drawings required for use in the embodiments or the description of related technologies. Obviously, the drawings in the following description are only the embodiments of the present disclosure. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0036] Figure 1 It is a flowchart of the communication processing method according to an embodiment of the present disclosure;

[0037] Figure 2 It is a flowchart of the digital key time calibration method according to an embodiment of the present disclosure;

[0038] Figure 3 It is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure;

[0039] Figure 4 It is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Detailed Embodiments

[0040] To make the objectives, technical solutions, and advantages of the present disclosure more clear and understandable, the following further details the present disclosure in conjunction with specific embodiments and with reference to the accompanying drawings.

[0041] It should be noted that unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should have the ordinary meanings understood by those of ordinary skill in the art to which the present disclosure pertains. The "first", "second", and similar terms used in the embodiments of the present disclosure do not denote any order, quantity, or importance, but are only used to distinguish different components. The terms such as "including" or "comprising" mean that the elements or items appearing before this word cover the elements or items listed after this word and their equivalents, without excluding other elements or items. The terms such as "connected" or "coupled" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The terms such as "upper", "lower", "left", "right", etc. are only used to represent relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly.

[0042] Based on the description of the background technology, with the development of technology, more and more vehicles are equipped with digital key functions, and functions such as unlocking, locking, and starting the vehicle are realized through Bluetooth communication of mobile phone devices.

[0043] Although the communication of mobile Bluetooth key (Bluetooth Low Energy, referred to as BLE) does not rely on network signals, in order to meet the validity verification of digital keys and prevent clock inaccuracies caused by power-off reset, crystal oscillator error, malicious tampering, etc. on the vehicle side, a periodic calibration strategy is adopted to correct the deviation. That is, the mobile phone application software (Application, referred to as APP) needs to regularly obtain the standard clock from the cloud and synchronize it to the vehicle side. The cloud time update synchronization requires a network signal to connect to the background. When the user is in a plateau, desert or underground parking lot with poor signal, if the cloud time synchronization mechanism happens to be triggered, the clock on the vehicle side cannot be calibrated because the cloud time cannot be obtained, and then the Bluetooth connection between the mobile phone and the vehicle side is disconnected, resulting in the failure of the mobile phone Bluetooth key connection.

[0044] As mentioned above, how to avoid the failure of digital key connection caused by the mobile terminal’s inability to obtain the standard clock from the cloud has become an important research issue.

[0045] Based on the above description, if Figure 1 As shown, the communication processing method proposed in this embodiment is applied to a mobile terminal; the method includes:

[0046] Step 101, after establishing a short-distance communication connection with the vehicle end, determine whether the conditions for calibrating the clock of the digital key are met.

[0047] In specific implementation, the mobile terminal refers to a terminal device that performs wireless transmission through a mobile communication device. The mobile terminal includes at least one of the following: a mobile phone, a tablet, and an electronic watch.

[0048] Short-range communication refers to data transmission and communication over a relatively short distance (usually within a few dozen meters) via a wireless connection. Short-range communication includes at least one of the following: wireless local area network (WiFi), Bluetooth, ZigBee, near field communication (NFC), and radio frequency identification (RFID). Among them, in the embodiments of the present disclosure, the short-range communication connection is preferably a Bluetooth connection.

[0049] Specifically, WiFi (Wireless Fidelity) is a wireless communication method that allows electronic devices to connect to a wireless local area network (WLAN), using the 2.4GHz or 5GHz ISM radio frequency band. The advantages of WiFi include wide coverage, fast speed, and high reliability, but the disadvantages are that the signal is easily blocked and interfered by buildings and is vulnerable to attacks.

[0050] Bluetooth is a wireless communication method used to connect mobile phones, headphones, speakers, keyboards, mice and other devices, operating in the 2.4GHz frequency band. The advantages of Bluetooth are low power consumption and short-range communication, which is suitable for connections between various devices.

[0051] ZigBee is a low-power, short-range, and highly reliable wireless transmission protocol, suitable for the Internet of Things (IoT) field. It operates in the 2.4GHz frequency band, supports a large number of nodes and various topologies, and is suitable for IoT applications that require low power consumption and reliable communication.

[0052] NFC is a short-range wireless communication method used in scenarios such as mobile payment and access control. It allows devices to exchange data within 10 centimeters and features security and convenience.

[0053] RFID is a wireless identification method used for the automatic identification and tracking of items. It identifies and tracks tags through radio signals and is widely applied in fields such as logistics and authentication.

[0054] After establishing a Bluetooth connection between the mobile device and the vehicle device, it is determined whether the conditions for clock calibration of the digital key are met. When the conditions for clock calibration of the digital key are met, the clock calibration function is enabled. Among them, the clock calibration function is to calibrate the clock of the digital key on the vehicle device.

[0055] Step 102, in response to determining that the conditions for clock calibration of the digital key are met, send a standard clock request to the cloud and determine whether the standard clock sent by the cloud is received within a preset duration.

[0056] In specific implementation, when the conditions for clock calibration of the digital key are met, the clock calibration function is enabled. To avoid the problem that the poor network signal of the mobile device causes the inability to calibrate the clock of the digital key on the vehicle device, by determining whether the standard clock sent by the cloud is received within a preset duration, it can accurately determine whether the network signal of the mobile device can calibrate the clock of the digital key on the vehicle device.

[0057] Specifically, the mobile device sends a standard clock request to the cloud. After receiving the standard clock request sent by the mobile device, the cloud generates a standard clock and sends the standard clock to the mobile device. The mobile device determines whether it can receive the standard clock sent by the cloud within a preset duration. Among them, the preset duration is the maximum duration preset for the mobile device to receive the standard clock sent by the cloud when the network signal is normal.

[0058] The standard clock is a reliable and stable clock used for clock calibration. The standard clock can be a trusted clock. A trusted clock usually refers to a time source that has been precisely calibrated and verified, which can provide stable and accurate time information, enabling the vehicle device and the cloud to maintain consistency in the time dimension. When selecting a trusted clock, a high-precision time source is preferably selected. For example, the trusted clock can be obtained from the atomic time of the Global Positioning System (GPS) or a verified cloud server.

[0059] For example, the current time at the vehicle end is 9:28, and the standard clock obtained from the cloud is 9:30. During the process of calibrating the clock at the vehicle end, since the standard clock sent from the cloud is more accurate and reliable, the current time at the vehicle end is set to the standard clock of 9:30, thereby achieving the clock calibration of the vehicle end.

[0060] When the network signal of the mobile device is in a normal state (normal network signal), the mobile device can receive the standard clock sent from the cloud within a preset duration. When the network signal of the mobile device is in an abnormal state (poor network signal), the mobile device cannot receive the standard clock sent from the cloud within a preset duration.

[0061] Step 103, in response to determining that the standard clock sent from the cloud has not been received within a preset duration, prohibit the current clock calibration and maintain the short-distance communication connection with the vehicle end.

[0062] In specific implementation, when the mobile device does not receive the standard clock sent from the cloud within a preset duration, it indicates that the network signal of the mobile device is poor and the clock of the vehicle digital key cannot be calibrated. In this scenario, to ensure the normal short-distance communication connection between the mobile device and the vehicle end, the current clock calibration is prohibited and the short-distance communication connection between the mobile device and the vehicle end is maintained.

[0063] In some embodiments, after step 102, it further includes:

[0064] Step 104, in response to determining that the standard clock sent from the cloud has been received within a preset duration, send the standard clock to the vehicle end for the vehicle end to use the standard clock to calibrate the clock of the digital key.

[0065] In specific implementation, when the mobile device receives the standard clock sent from the cloud within a preset duration, it indicates that the network signal of the mobile device is normal and the clock of the vehicle digital key can be calibrated. In this scenario, to avoid the problem of inaccurate clock of the vehicle digital key, the mobile device calibrates the clock of the vehicle digital key. Specifically, the mobile device sends the standard clock obtained from the cloud to the vehicle end, and the vehicle end uses the standard clock to calibrate the clock of the digital key.

[0066] After establishing a short - distance communication connection with the vehicle end through the above - mentioned embodiments, it is determined whether the conditions for clock calibration of the digital key are met. When the conditions for clock calibration of the digital key are met, a standard clock request is sent to the cloud, and it is determined whether the standard clock sent by the cloud is received within a preset duration. When the standard clock sent by the cloud is not received within the preset duration, this clock calibration is prohibited, and the short - distance communication connection with the vehicle end is maintained. In this way, when the mobile device is in a network abnormal state and cannot obtain the standard clock from the cloud, by prohibiting this clock calibration, it is possible to avoid the problem that the digital key of the vehicle end is not clock - calibrated, resulting in the inability to establish a short - distance communication connection between the mobile device and the vehicle end. By maintaining the short - distance communication connection between the mobile device and the vehicle end, the normal use of the digital key in the case of the abnormal network state of the mobile device is ensured.

[0067] In some embodiments, step 103 includes:

[0068] Step 1031, obtain the offline duration and the vehicle - end certificate validity period, and determine whether the offline duration is less than or equal to the vehicle - end certificate validity period.

[0069] Step 1032, in response to determining that the offline duration is less than or equal to the vehicle - end certificate validity period, maintain the short - distance communication connection with the vehicle end through the local key data.

[0070] Specifically, when the mobile device does not receive the standard clock sent by the cloud within the preset duration (the network signal of the mobile device is poor), this clock calibration is prohibited, and the short - distance communication connection between the mobile device and the vehicle end is maintained.

[0071] When maintaining the short - distance communication connection between the mobile device and the vehicle end, in order to avoid the problem that the mobile device cannot connect due to poor network signal, it is determined whether the mobile device stores local key data. When the mobile device stores local key data, the short - distance communication connection between the mobile device and the vehicle end is maintained through the local key data. In this way, when the network signal of the mobile device is poor, the offline connection between the mobile device and the vehicle end can be achieved through the local key data.

[0072] To prevent someone from maliciously cracking the vehicle - end certificate, it is determined whether the offline duration is less than or equal to the vehicle - end certificate validity period.

[0073] The vehicle - end certificate is an electronic file used for identity authentication and data encryption in the vehicle machine system. In the vehicle machine system, the main functions of the vehicle - end certificate are to verify the legitimacy of application programs and to conduct secure communication between application programs. The vehicle - end certificate contains key information such as the public key of the certificate owner, identity information, the issuer information of the certificate, and the validity period of the certificate.

[0074] The validity period of the vehicle-end certificate refers to the time period from the date of issuance to the date of expiration of the vehicle-end certificate. During the validity period of the vehicle-end certificate, the vehicle-end certificate is considered valid and can be used for operations such as identity authentication and data encryption. Once the vehicle-end certificate exceeds the validity period, the vehicle-end certificate will be regarded as invalid and can no longer be used for the above operations.

[0075] Among them, the offline duration is the duration when the mobile device is in a state of poor network signal, and the validity period of the vehicle-end certificate is the shortest time to crack the vehicle-end certificate determined through calculation.

[0076] Specifically, obtain the offline moment when the mobile device is in a state of poor network signal and the current moment, and take the duration between the offline moment and the current moment as the offline duration. For example, if the offline moment when the mobile device is in a state of poor network signal is the 3rd minute and the current moment is the 13th minute, then the determined offline duration is 10 minutes.

[0077] Specifically, obtain multiple certificate cracking durations for the vehicle-end certificate to be cracked through testing, and perform mean processing on the multiple certificate cracking durations to obtain the validity period of the vehicle-end certificate. For example, if the multiple certificate cracking durations obtained through testing are 14 minutes, 15 minutes, and 16 minutes respectively, then the determined validity period of the vehicle-end certificate is 15 minutes.

[0078] When the offline duration is less than or equal to the validity period of the vehicle-end certificate, it means that maintaining the offline connection between the mobile device and the vehicle-end will not cause the problem of maliciously cracking the vehicle-end certificate, and then maintain the short-distance communication connection between the mobile device and the vehicle-end through the local key data.

[0079] For example, the validity period of the vehicle-end certificate is 15 minutes. When the offline duration is 10 minutes, since the offline duration does not reach the validity period of the vehicle-end certificate, maintaining the offline connection between the mobile device and the vehicle-end will not cause the problem of maliciously cracking the vehicle-end certificate, and then maintain the short-distance communication connection between the mobile device and the vehicle-end through the local key data.

[0080] Through the above solution, when the mobile device does not receive the standard clock sent by the cloud within the preset duration, maintain the short-distance communication connection between the mobile device and the vehicle-end through the local key data. In this way, when the network signal of the mobile device is poor, the offline connection between the mobile device and the vehicle-end can be realized through the local key data. By judging whether the offline duration is less than or equal to the validity period of the vehicle-end certificate, when the offline duration is less than or equal to the validity period of the vehicle-end certificate, maintain the short-distance communication connection between the mobile device and the vehicle-end through the local key data, which can avoid maliciously cracking the vehicle-end certificate while maintaining the offline connection between the mobile device and the vehicle-end, and ensure the normal use of the digital key under abnormal network conditions of the mobile device.

[0081] In some embodiments, after step 1031, it further includes:

[0082] Step 1033, in response to determining that the offline duration is greater than the vehicle-end certificate validity period, disconnect the short-distance communication connection with the vehicle end.

[0083] In specific implementation, to prevent someone from maliciously cracking the vehicle-end certificate, it is determined whether the offline duration is less than or equal to the vehicle-end certificate validity period. Herein, the offline duration is the duration when the mobile device is in a state of poor network signal, and the vehicle-end certificate validity period is the shortest time for cracking the vehicle-end certificate determined through calculation.

[0084] Specifically, obtain the offline moment when the mobile device is in a state of poor network signal and the current moment, and use the duration between the offline moment and the current moment as the offline duration. For example, if the offline moment when the mobile device is in a state of poor network signal is the 3rd minute and the current moment is the 23rd minute, then the offline duration is determined to be 20 minutes.

[0085] Specifically, obtain multiple certificate cracking durations for the vehicle-end certificate being cracked through testing, and perform mean processing on the multiple certificate cracking durations to obtain the vehicle-end certificate validity period. For example, if the multiple certificate cracking durations obtained through testing are 14 minutes, 15 minutes, and 16 minutes respectively, then the vehicle-end certificate validity period is determined to be 15 minutes.

[0086] When the offline duration is greater than the vehicle-end certificate validity period, it indicates that there will be a problem of maliciously cracking the vehicle-end certificate when maintaining the offline connection between the mobile device and the vehicle end, so the short-distance communication connection between the mobile device and the vehicle end is disconnected.

[0087] For example, the vehicle-end certificate validity period is 15 minutes. When the offline duration is 20 minutes, since the offline duration exceeds the vehicle-end certificate validity period, there will be a problem of maliciously cracking the vehicle-end certificate when maintaining the offline connection between the mobile device and the vehicle end, so the short-distance communication connection between the mobile device and the vehicle end is disconnected.

[0088] Through the above solution, by determining whether the offline duration is less than or equal to the vehicle-end certificate validity period, when the offline duration is greater than the vehicle-end certificate validity period, disconnect the short-distance communication connection between the mobile device and the vehicle end, which can avoid the problem of maliciously cracking the vehicle-end certificate.

[0089] In some embodiments, after step 103, it further includes:

[0090] Step 103A, obtain the real-time network signal of the mobile device.

[0091] Step 103B, in response to determining that the real-time network signal switches from an abnormal state to a normal state, obtain the standard clock from the cloud and send the standard clock to the vehicle end for the vehicle end to use the standard clock to calibrate the clock of the digital key.

[0092] During specific implementation, in order to calibrate the clock of the vehicle digital key in a timely manner after the mobile network status returns to normal, after prohibiting the current clock calibration, the real-time network signal of the mobile device is obtained. When the real-time network signal switches from an abnormal state to a normal state, it indicates that the mobile network signal is normal and the standard clock can be obtained from the cloud, then the clock of the vehicle digital key is calibrated. Among them, the abnormal state means that the mobile network signal is poor and the standard clock cannot be obtained from the cloud, and the normal state means that the mobile network signal is normal and the standard clock can be obtained from the cloud.

[0093] Specifically, the process of calibrating the clock of the digital key includes: the mobile device obtains the standard clock from the cloud and sends the standard clock to the vehicle end, and the vehicle end uses the standard clock to calibrate the clock of the digital key.

[0094] In addition, after prohibiting the current clock calibration, it can also be determined in real time whether the mobile device can obtain the standard clock from the cloud. When the mobile device can obtain the standard clock from the cloud, it indicates that the network signal of the mobile device has returned from an abnormal state to a normal state, then the standard clock is sent to the vehicle end, and the vehicle end uses the standard clock to calibrate the clock of the digital key. When the mobile device cannot obtain the standard clock from the cloud, it indicates that the network signal of the mobile device is still in an abnormal state, then the short-range communication connection between the mobile device and the vehicle end is maintained.

[0095] Through the above solution, when the real-time network signal of the mobile device switches from an abnormal state to a normal state, the standard clock is obtained from the cloud and sent to the vehicle end, and the vehicle end uses the standard clock to calibrate the clock of the digital key. In this way, after the real-time network signal of the mobile device returns to normal, the clock of the vehicle digital key can be calibrated in a timely manner.

[0096] In some embodiments, step 102 includes:

[0097] Step 102A, obtaining the calibration duration between the last calibration time and the current time, and comparing the calibration duration with a preset calibration period.

[0098] Step 102B, in response to determining that the calibration duration is greater than or equal to the preset calibration period, it is determined that the condition for calibrating the clock of the digital key is satisfied.

[0099] Specifically, the condition for calibrating the clock of the digital key includes: the calibration duration between the last calibration time and the current time is greater than or equal to the preset calibration period.

[0100] Specifically, obtain the calibration duration between the last calibration time and the current time. When the calibration duration is less than the preset calibration period, it indicates that the current time has not reached the preset calibration period, so the condition for clock calibration of the digital key is not met. When the calibration duration is greater than or equal to the preset calibration period, it indicates that the current time has reached the preset calibration period, so it is determined that the condition for clock calibration of the digital key is met, and the clock calibration function of the digital key is enabled.

[0101] For example, the preset calibration period is 5 days. Obtain the calibration duration between the last calibration time and the current time. When the calibration duration is 3 days, the condition for clock calibration of the digital key is not met. When the calibration duration is 5 days, the condition for clock calibration of the digital key is met.

[0102] Alternatively, in step 102a, obtain the real-time clock random number from the vehicle end and determine whether there is a clock calibration request in the real-time clock random number.

[0103] In step 102b, in response to determining that there is a clock calibration request in the real-time clock random number, it is determined that the condition for clock calibration of the digital key is met.

[0104] Specifically, the conditions for clock calibration of the digital key include: there is a clock calibration request in the real-time clock random number sent from the vehicle end received by the mobile terminal.

[0105] Specifically, obtain the real-time clock random number sent from the vehicle end, perform parsing processing on the real-time clock random number to obtain the parsed real-time clock random number, and determine whether there is a clock calibration request in the parsed real-time clock random number. When there is no clock calibration request in the parsed real-time clock random number, it indicates that the vehicle end does not request clock calibration of the digital key, so the condition for clock calibration of the digital key is not met. When there is a clock calibration request in the parsed real-time clock random number, it indicates that the vehicle end actively requests clock calibration of the digital key, so it is determined that the condition for clock calibration of the digital key is met, and the clock calibration function of the digital key is enabled.

[0106] Through the above solution, when the calibration duration between the last calibration time and the current time is greater than or equal to the preset calibration period, it indicates that the current time has reached the preset calibration period, and it can accurately determine that the condition for clock calibration of the digital key is met, thereby enabling the clock calibration function of the digital key. When there is a clock calibration request in the real-time clock random number obtained by the mobile terminal from the vehicle end, it indicates that the vehicle end actively requests clock calibration of the digital key, and it can accurately determine that the condition for clock calibration of the digital key is met, thereby enabling the clock calibration function of the digital key. In this way, it can comprehensively and accurately determine whether the condition for clock calibration of the digital key is met.

[0107] In some embodiments, step 102 includes:

[0108] Step 1021, in response to determining that the condition for clock calibration of the digital key is met, obtain the network status of the short-range communication connection and determine whether the network status is an online state.

[0109] Step 1022, in response to determining that the network status is an online state, enable the clock calibration function of the digital key and send a standard clock request to the cloud.

[0110] Specifically, both the normal state (normal network signal) and the abnormal state (poor network signal) of the network signal of the mobile device belong to the online state.

[0111] Only when the mobile device is in the online state and the network signal is normal can the clock of the vehicle digital key be calibrated. Therefore, after the condition for clock calibration of the digital key is met, determine whether the network status of the short-range communication connection between the mobile device and the vehicle is an online state.

[0112] When the network status of the short-range communication connection between the mobile device and the vehicle is an online state, it means that the mobile device can obtain the standard clock from the cloud when the network signal is normal and can calibrate the clock of the vehicle digital key. In this scenario, enable the clock calibration function of the digital key. The mobile device determines whether the network signal of the mobile device is in the normal state by sending a standard clock request to the cloud and judging whether the standard clock sent by the cloud can be received within a preset duration.

[0113] When the mobile device can receive the standard clock sent by the cloud within the preset duration, it means that the network signal of the mobile device is in the normal state. The mobile device sends the standard clock to the vehicle, and the vehicle uses the standard clock to calibrate the clock of the digital key. When the mobile device does not receive the standard clock sent by the cloud within the preset duration, it means that the network signal of the mobile device is in the abnormal state. This clock calibration is prohibited, and the short-range communication connection with the vehicle is maintained.

[0114] Through the above solution, after the condition for clock calibration of the digital key is met, by determining whether the network status of the short-range communication connection between the mobile device and the vehicle is an online state, it can be accurately determined whether to enable the clock calibration function of the digital key. When the network status of the short-range communication connection between the mobile device and the vehicle is an online state, enable the clock calibration function of the digital key so as to calibrate the clock of the vehicle digital key when the network signal of the mobile device is normal.

[0115] In some embodiments, after step 1021, it further includes:

[0116] Step 1023, in response to determining that the network status is offline, turn off the clock calibration function of the digital key and maintain a short-distance communication connection with the vehicle terminal.

[0117] In specific implementation, when the network status of the short-distance communication connection between the mobile terminal and the vehicle terminal is offline, it means that the mobile terminal cannot obtain the standard clock from the cloud, so the clock of the vehicle terminal digital key cannot be calibrated. In this scenario, turn off the clock calibration function of the digital key and maintain a short-distance communication connection with the vehicle terminal.

[0118] Through the above solution, after meeting the conditions for calibrating the clock of the digital key, by judging whether the network status of the short-distance communication connection between the mobile terminal and the vehicle terminal is online, it is possible to accurately judge whether to turn on the clock calibration function of the digital key. When the network status of the short-distance communication connection between the mobile terminal and the vehicle terminal is offline, turn off the clock calibration function of the digital key, and the short-distance communication connection between the mobile terminal and the vehicle terminal can be maintained.

[0119] In some embodiments, Step 1023 includes:

[0120] Step 1023A, obtain the offline duration and the validity period of the vehicle terminal certificate, and judge whether the offline duration is less than or equal to the validity period of the vehicle terminal certificate.

[0121] Step 1023B, in response to determining that the offline duration is less than or equal to the validity period of the vehicle terminal certificate, judge whether local key data is stored.

[0122] Step 1023C, in response to determining that the local key data is stored, maintain a short-distance communication connection with the vehicle terminal through the local key data.

[0123] When the network status of the short-distance communication connection between the mobile terminal and the vehicle terminal is offline, maintain a short-distance communication connection with the vehicle terminal through the local key data. In this scenario, in order to ensure that the mobile terminal and the vehicle terminal can communicate short distances through the local key data, judge whether the mobile terminal stores local key data. When the mobile terminal stores local key data, maintain a short-distance communication connection between the mobile terminal and the vehicle terminal through the local key data. In this way, when the network status of the short-distance communication connection between the mobile terminal and the vehicle terminal is offline, an offline connection between the mobile terminal and the vehicle terminal can be achieved through the local key data.

[0124] To prevent someone from maliciously cracking the vehicle terminal certificate, judge whether the offline duration is less than or equal to the validity period of the vehicle terminal certificate. Among them, the offline duration is the duration when the mobile terminal is offline, and the validity period of the vehicle terminal certificate is the shortest time for cracking the vehicle terminal certificate determined by calculation.

[0125] Specifically, obtain the offline moment when the mobile device is in a network - free state and the current moment, and use the duration between the offline moment and the current moment as the offline duration. For example, if the offline moment when the mobile device is in a network - free state is the 3rd minute and the current moment is the 13th minute, then the determined offline duration is 10 minutes.

[0126] Specifically, obtain multiple certificate cracking durations for the vehicle - end certificate being cracked through testing, and perform mean processing on the multiple certificate cracking durations to obtain the vehicle - end certificate validity period. For example, if the multiple certificate cracking durations obtained through testing are 14 minutes, 15 minutes, and 16 minutes respectively, then the determined vehicle - end certificate validity period is 15 minutes.

[0127] When the offline duration is less than or equal to the vehicle - end certificate validity period, it indicates that maintaining the offline connection between the mobile device and the vehicle - end will not cause the problem of maliciously cracking the vehicle - end certificate. Then, maintain the short - distance communication connection between the mobile device and the vehicle - end through the local key data.

[0128] For example, the vehicle - end certificate validity period is 15 minutes. When the offline duration is 10 minutes, since the offline duration has not reached the vehicle - end certificate validity period, maintaining the offline connection between the mobile device and the vehicle - end will not cause the problem of maliciously cracking the vehicle - end certificate. Then, maintain the short - distance communication connection between the mobile device and the vehicle - end through the local key data.

[0129] Through the above - mentioned solution, when the network state of the short - distance communication connection between the mobile device and the vehicle - end is in a network - free state, the short - distance communication connection between the mobile device and the vehicle - end can be maintained through the local key data. By judging whether the offline duration is less than or equal to the vehicle - end certificate validity period, when the offline duration is less than or equal to the vehicle - end certificate validity period, maintaining the short - distance communication connection between the mobile device and the vehicle - end through the local key data can avoid maliciously cracking the vehicle - end certificate while maintaining the offline connection between the mobile device and the vehicle - end, ensuring the normal use of the digital key on the mobile device in a network - free state.

[0130] In some embodiments, after step 1023A, the following is further included:

[0131] Step 1023D, in response to determining that the offline duration is greater than the vehicle - end certificate validity period, disconnect the short - distance communication connection with the vehicle - end.

[0132] In specific implementation, to prevent someone from maliciously cracking the vehicle - end certificate, judge whether the offline duration is less than or equal to the vehicle - end certificate validity period. Among them, the offline duration is the duration when the mobile device is in a state of poor network signal, and the vehicle - end certificate validity period is the shortest time for cracking the vehicle - end certificate determined through calculation.

[0133] Specifically, obtain the offline moment when the mobile device is in a network - free state and the current moment, and use the duration between the offline moment and the current moment as the offline duration. For example, if the offline moment when the mobile device is in a network - free state is the 3rd minute and the current moment is the 23rd minute, then the determined offline duration is 20 minutes.

[0134] Specifically, through testing, obtain the cracking durations of multiple vehicle - end certificates that have been cracked, and perform an average - value process on the cracking durations of multiple certificates to obtain the vehicle - end certificate validity period. For example, if the cracking durations of multiple certificates obtained through testing are 14 minutes, 15 minutes, and 16 minutes respectively, then the determined vehicle - end certificate validity period is 15 minutes.

[0135] When the offline duration is greater than the vehicle - end certificate validity period, it means that there will be a problem of maliciously cracking the vehicle - end certificate when maintaining the offline connection between the mobile device and the vehicle - end, so disconnect the short - distance communication connection between the mobile device and the vehicle - end.

[0136] For example, the vehicle - end certificate validity period is 15 minutes. When the offline duration is 20 minutes, since the offline duration exceeds the vehicle - end certificate validity period, there will be a problem of maliciously cracking the vehicle - end certificate when maintaining the offline connection between the mobile device and the vehicle - end, so disconnect the short - distance communication connection between the mobile device and the vehicle - end.

[0137] Through the above - mentioned solution, by judging whether the offline duration is less than or equal to the vehicle - end certificate validity period, when the offline duration is greater than the vehicle - end certificate validity period, disconnect the short - distance communication connection between the mobile device and the vehicle - end, which can avoid the problem of maliciously cracking the vehicle - end certificate.

[0138] Through the above - mentioned embodiment, after establishing a short - distance communication connection with the vehicle - end, judge whether the conditions for calibrating the clock of the digital key are met. When the conditions for calibrating the clock of the digital key are met, send a standard clock request to the cloud, and judge whether the standard clock sent by the cloud is received within a preset duration. When the standard clock sent by the cloud is not received within the preset duration, prohibit this clock calibration and maintain the short - distance communication connection with the vehicle - end. In this way, when the mobile device is in a network - abnormal state and cannot obtain the standard clock from the cloud, by prohibiting this clock calibration, it can avoid the problem that the digital key of the vehicle - end is not clock - calibrated, resulting in the inability to establish a short - distance communication connection between the mobile device and the vehicle - end. By maintaining the short - distance communication connection between the mobile device and the vehicle - end, it ensures the normal use of the digital key when the mobile device is in a network - abnormal state.

[0139] It should be noted that the embodiments of the present disclosure can also be further described in the following manner:

[0140] Figure 2 is the flowchart of the digital - key time - calibration method for the embodiments of the present disclosure. As Figure 2As shown in the figure, the digital key time calibration method is applied to a digital key time calibration system, which includes: a mobile phone terminal (i.e., a mobile terminal), a vehicle terminal, and a cloud platform (i.e., the cloud).

[0141] After the mobile phone terminal establishes a Bluetooth connection with the vehicle terminal, the mobile phone terminal determines whether the mobile phone has a network. When it is determined that the mobile phone has a network, it is judged whether the calibration period (i.e., the calibration duration) is ≥ T1. When the calibration period ≥ T1, the mobile phone terminal obtains the current time random number of the vehicle terminal's Real-Time Clock (RTC) from the vehicle terminal, assembles a cloud platform standard time request message (i.e., a standard clock request), and sends the standard time request message to the cloud platform. After receiving the standard time request message, the cloud platform obtains the cloud standard clock and assembles an RTC time response message (i.e., a standard clock). The cloud platform sends the RTC time response message to the mobile phone terminal. The mobile phone terminal determines whether a result is obtained within the T2 time (i.e., the preset duration). If the mobile phone terminal obtains a result within the T2 time, it sends the standard clock to the vehicle terminal to update the RTC time.

[0142] When the mobile phone has no network, or the calibration period < T1, or the mobile phone terminal does not obtain a result within the T2 time, it is judged whether the validity period of the vehicle terminal certificate is ≤ T3. When the validity period of the vehicle terminal certificate is ≤ T3, a local key connection is used. When the validity period of the vehicle terminal certificate > T3, the Bluetooth connection between the mobile phone terminal and the vehicle terminal is disconnected.

[0143] The vehicle usage modes are divided into three digital key connection modes: internet-connected, weak-network-connected, and offline-connected.

[0144] (1) In the internet-connected (strong network) connection mode:

[0145] When the user triggers the connection of the mobile phone Bluetooth key, when the Software Development Kit (SDK) detects that the mobile phone is in an internet-connected state and the calibration period ≥ T1, the mobile phone terminal obtains the RTC random number of the vehicle terminal from the vehicle terminal and then actively obtains the standard clock from the cloud, and sends the obtained standard clock to the vehicle terminal to implement the standard clock calibration mechanism.

[0146] (2) In the weak-network-connected mode:

[0147] 1. When the user triggers the connection of the mobile phone Bluetooth key, when the SDK detects that the mobile phone is in an internet-connected state and the calibration period ≥ T1, the mobile phone terminal obtains the RTC random number of the vehicle terminal from the vehicle terminal and then actively obtains the standard clock from the cloud. However, due to poor network signal and timeout of T2, the standard clock cannot be obtained from the cloud. Then the mobile phone terminal SDK will maintain this connection, that is, the calibration period of the local cache will not be updated this time, and time calibration will be performed again when there is an internet connection next time. Thus, it is ensured that the user can also implement the Bluetooth key connection in the case of a weak network.

[0148] 2. Meanwhile, to prevent malicious cracking of the vehicle certificate, the vehicle sets the maximum valid period T3 of the certificate by calculating the shortest cracking time, ensuring that the user can use the local key to connect the Bluetooth key only within the T3 time in the offline state.

[0149] (3) In the offline connection mode:

[0150] 1. When the user triggers the connection of the mobile Bluetooth key, if the SDK detects that the mobile phone is in a no-network state and there is a key locally on the mobile Bluetooth key, the periodic RTC calibration mechanism is turned off to ensure that the user can still achieve an effective connection of the Bluetooth key without network.

[0151] 2. Meanwhile, to prevent malicious cracking of the vehicle certificate, the vehicle sets the maximum valid period T3 of the certificate by calculating the shortest cracking time, ensuring that the user can use the local key to connect the Bluetooth key only within the T3 time in the offline state.

[0152] Through the above embodiments, the user can use the local Bluetooth key of the mobile phone to connect to the vehicle when the mobile phone is offline. After triggering the cloud RTC calibration, when the cloud cannot obtain the standard clock in time due to poor network signal, the mobile Bluetooth key will preferentially use the local Bluetooth key to connect, and then perform RTC calibration when the user operates in a networked situation next time. When the mobile phone is networked and the network signal is strong, after meeting the RTC calibration trigger condition, the mobile Bluetooth key will perform cloud standard clock calibration according to the RTC calibration logic. To prevent malicious cracking of the vehicle certificate, the vehicle sets the maximum valid period T3 of the certificate by calculating the shortest cracking time, ensuring that the user can use the local key to connect the Bluetooth key within the T3 time. In this way, while ensuring security, it can maximize the satisfaction of the user's use of the digital key in networked, weak-network, and offline scenarios.

[0153] It should be noted that the method of the embodiments of the present disclosure can be executed by a single device, such as a computer or a server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In this case of a distributed scenario, one of the multiple devices can only execute one or more steps of the method of the embodiments of the present disclosure, and these multiple devices will interact with each other to complete the described method.

[0154] It should be noted that some embodiments of the present disclosure have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the above embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require the particular order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0155] Based on the same inventive concept, corresponding to any of the above-described method embodiments, the present disclosure also provides a mobile terminal.

[0156] Referring to Figure 3 , the mobile terminal includes:

[0157] A judgment module 301, configured to judge whether the condition for calibrating the clock of the digital key is satisfied after establishing a short-distance communication connection with the vehicle terminal;

[0158] A request sending module 302, configured to send a standard clock request to the cloud in response to determining that the condition for calibrating the clock of the digital key is satisfied, and judge whether a standard clock sent by the cloud is received within a preset duration;

[0159] A connection maintaining module 303, configured to prohibit the current clock calibration and maintain the short-distance communication connection with the vehicle terminal in response to determining that the standard clock sent by the cloud is not received within the preset duration.

[0160] In some embodiments, the connection maintaining module 303 includes:

[0161] A validity period judgment unit, configured to obtain the offline duration and the validity period of the vehicle terminal certificate, and judge whether the offline duration is less than or equal to the validity period of the vehicle terminal certificate;

[0162] A connection maintaining unit, configured to maintain the short-distance communication connection with the vehicle terminal through local key data in response to determining that the offline duration is less than or equal to the validity period of the vehicle terminal certificate.

[0163] In some embodiments, after judging whether the offline duration is less than or equal to the validity period of the vehicle terminal certificate, the connection maintaining module 303 further includes:

[0164] A disconnection unit, configured to disconnect the short-distance communication connection with the vehicle terminal in response to determining that the offline duration is greater than the validity period of the vehicle terminal certificate.

[0165] In some embodiments, after prohibiting the current clock calibration and maintaining the short-distance communication connection with the vehicle terminal, the device further includes:

[0166] A real-time network signal acquisition module, configured to acquire the real-time network signal of the mobile terminal;

[0167] A standard clock sending module, configured to obtain a standard clock from the cloud in response to determining that the real-time network signal switches from an abnormal state to a normal state, and send the standard clock to the vehicle terminal for the vehicle terminal to perform clock calibration on the digital key using the standard clock.

[0168] In some embodiments, the request sending module 302 includes:

[0169] A comparison processing unit, configured to obtain the calibration duration between the last calibration time and the current time, and perform a comparison process on the calibration duration and a preset calibration period;

[0170] A first condition determination unit, configured to determine that the condition for performing clock calibration on the digital key is satisfied in response to determining that the calibration duration is greater than or equal to the preset calibration period;

[0171] Or,

[0172] A clock calibration request judgment unit, configured to obtain a real-time clock random number from the vehicle terminal and determine whether there is a clock calibration request in the real-time clock random number;

[0173] A second condition determination unit, configured to determine that the condition for performing clock calibration on the digital key is satisfied in response to determining that there is a clock calibration request in the real-time clock random number.

[0174] In some embodiments, the request sending module 302 includes:

[0175] A network status judgment unit, configured to obtain the network status of the short-range communication connection and determine whether the network status is an online state in response to determining that the condition for performing clock calibration on the digital key is satisfied;

[0176] A function enabling unit, configured to enable the clock calibration function of the digital key and send a standard clock request to the cloud in response to determining that the network status is an online state.

[0177] In some embodiments, after determining whether the network status is an online state, the request sending module 302 further includes:

[0178] A function disabling unit, configured to disable the clock calibration function of the digital key and maintain the short-range communication connection with the vehicle terminal in response to determining that the network status is an offline state.

[0179] For the convenience of description, when describing the above device, it is divided into various modules according to functions and described separately. Of course, when implementing the present disclosure, the functions of each module can be implemented in one or more software and / or hardware.

[0180] The device of the above embodiment is used to implement the corresponding communication processing method in any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0181] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the communication processing method described in any one of the above embodiments.

[0182] Figure 4 FIG. shows a more specific schematic diagram of the hardware structure of the electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. Among them, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other inside the device through the bus 1050.

[0183] The processor 1010 may be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0184] The memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0185] The input / output interface 1030 is used to connect to an input / output module to implement information input and output. The input / output module may be configured as a component in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Among them, the input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0186] The communication interface 1040 is used to connect to a communication module (not shown in the figure) to achieve communication interaction between this device and other devices. The communication module can achieve communication through a wired method (such as USB (Universal Serial Bus), network cable, etc.) or through a wireless method (such as mobile network, WIFI (Wireless Fidelity), Bluetooth, etc.).

[0187] The bus 1050 includes a path for transmitting information between various components of the device (such as the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0188] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may also only include the components necessary to implement the solution of the embodiments of this specification, and does not necessarily include all the components shown in the figure.

[0189] The electronic device of the above embodiment is used to implement the corresponding communication processing method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0190] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present disclosure also provides a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the communication processing method described in any of the above embodiments.

[0191] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device.

[0192] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the communication processing method described in any one of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0193] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present application further provides a vehicle, including the mobile terminal, or electronic device, or storage medium in the above embodiments, and the vehicle device implements the communication processing method described in any one of the above embodiments.

[0194] The vehicle of the above embodiments is used to implement the communication processing method described in any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0195] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present application further provides a computer program product, including computer program instructions, when the computer program instructions run on a computer, causing the computer to execute the communication processing method described in any one of the above embodiments, and having the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0196] It can be understood that before using the technical solutions of the various embodiments in the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0197] For example, when responding to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested by the user will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application program, server, or storage medium that performs the operations of the technical solutions of the present disclosure according to the prompt message.

[0198] As an optional but non-limiting implementation manner, the manner of sending a prompt message to the user in response to receiving an active request from the user may be, for example, in the form of a pop-up window, and the prompt message may be presented in text in the pop-up window. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0199] It can be understood that the above process of notifying and obtaining the user's authorization is only illustrative and does not limit the implementation manner of the present disclosure, and other manners that meet relevant laws and regulations can also be applied to the implementation manner of the present disclosure.

[0200] Those of ordinary skill in the art should understand that any discussion of the above embodiments is merely exemplary and is not intended to imply that the scope of the present disclosure is limited to these examples; under the concept of the present disclosure, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of the embodiments of the present disclosure as described above, and they are not provided in detail for the sake of brevity.

[0201] In addition, for simplicity of explanation and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Further, the devices may be shown in block diagram form in order to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure are to be implemented (i.e., these details should be fully within the understanding of those skilled in the art). In cases where specific details (such as circuits) are set forth to describe exemplary embodiments of the present disclosure, it will be apparent to those skilled in the art that the embodiments of the present disclosure may be implemented without these specific details or with variations of these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0202] Although the present disclosure has been described in connection with specific embodiments of the present disclosure, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art based on the foregoing description. For example, other memory architectures (such as dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0203] The embodiments of the present disclosure are intended to cover all such alternatives, modifications, and variations that fall within the broad scope of the present disclosure. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure shall be included within the protection scope of the present disclosure.

Claims

1. A communication processing method, characterized in that: Applied to a mobile terminal; the method comprises: After establishing a short-distance communication connection with the vehicle end, determining whether the conditions for calibrating the clock of the digital key are met; In response to determining that the condition for calibrating the clock of the digital key is met, sending a standard clock request to the cloud, and determining whether the standard clock sent from the cloud is received within a preset time period; In response to determining that the standard clock sent from the cloud has not been received within a preset time period, the clock calibration is prohibited and the short-distance communication connection with the vehicle end is maintained.

2. The method according to claim 1, characterized in that The maintaining of the short-distance communication connection with the vehicle end includes: Obtaining the offline duration and the validity period of the vehicle-side certificate, and determining whether the offline duration is less than or equal to the validity period of the vehicle-side certificate; In response to determining that the offline time is less than or equal to the validity period of the vehicle-side certificate, the short-distance communication connection with the vehicle-side is maintained through the local key data.

3. The method according to claim 2, characterized in that After determining whether the offline duration is less than or equal to the validity period of the vehicle-side certificate, the method further includes: In response to determining that the offline time is longer than the validity period of the vehicle-side certificate, the short-distance communication connection with the vehicle-side is disconnected.

4. The method according to claim 1, characterized in that: After prohibiting the clock calibration and maintaining the short-distance communication connection with the vehicle end, the method further includes: Get real-time network signals from mobile terminals; In response to determining that the real-time network signal switches from an abnormal state to a normal state, a standard clock is obtained from the cloud, and the standard clock is sent to the vehicle end, so that the vehicle end uses the standard clock to calibrate the clock of the digital key.

5. The method according to claim 1, characterized in that The step of determining that a condition for performing clock calibration on the digital key is met in response includes: Obtaining the calibration time between the last calibration time and the current time, and comparing the calibration time with a preset calibration period; In response to determining that the calibration duration is greater than or equal to a preset calibration period, determining that a condition for performing clock calibration on the digital key is satisfied; or, Obtaining a real-time clock random number from the vehicle end, and determining whether there is a clock calibration request in the real-time clock random number; In response to determining that there is a clock calibration request in the real-time clock random number, it is determined that a condition for performing clock calibration on the digital key is met.

6. The method according to claim 1, characterized in that In response to determining that the condition for calibrating the clock of the digital key is met, sending a standard clock request to the cloud includes: In response to determining that a condition for performing clock calibration on the digital key is met, obtaining a network status of the short-distance communication connection, and determining whether the network status is a networked state; In response to determining that the network status is a networked state, a clock calibration function of the digital key is enabled, and a standard clock request is sent to the cloud.

7. The method according to claim 6, characterized in that After determining whether the network state is a network connected state, the method further includes: In response to determining that the network state is an offline state, the clock calibration function of the digital key is turned off, and the short-distance communication connection with the vehicle end is maintained.

8. A mobile terminal, characterized in that: include: A determination module, configured to determine whether a condition for clock calibration of the digital key is met after establishing a short-distance communication connection with the vehicle end; A request sending module, configured to send a standard clock request to the cloud in response to determining that a condition for calibrating the clock of the digital key is met, and determine whether the standard clock sent from the cloud is received within a preset time period; The connection maintaining module is configured to prohibit the clock calibration in response to determining that the standard clock sent from the cloud has not been received within a preset time period, and maintain the short-distance communication connection with the vehicle end.

9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and running on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 7.