Time parameter configuration method, device, equipment, medium and vehicle
By comparing and adjusting the vehicle system time and the target time when the vehicle-machine user interaction interface is restarted or the vehicle system time jumps, the problem of missed execution of vehicle configuration items is solved and accurate and stable execution of configuration items is achieved.
Patent Information
- Application Number
- CN202310337108.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-03-31
AI Technical Summary
Vehicle configuration items may cause missed execution when the vehicle-machine user interaction interface is restarted or the vehicle system time jumps. Existing technology is difficult to effectively solve this problem.
By obtaining the vehicle system time after the vehicle-machine user interaction interface is restarted or after the vehicle system time jumps, compare it with the target time, and adjust the time parameter configuration strategy based on the comparison results to ensure the accurate execution of vehicle configuration items.
It effectively avoids the missed execution of vehicle configuration items, ensures the accuracy and continuity of the response time of configuration items, and ensures the stability of the vehicle system in terms of time parameter configuration.
Smart Images

Figure CN118722445A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of automobile technology, and in particular relates to a time parameter configuration method, device, equipment, medium and vehicle. Background Art
[0002] Vehicle configuration items are items that users configure for the vehicle to perform certain functions, such as seat heating, seat ventilation, steering wheel heating, etc.
[0003] In the related art, time parameters corresponding to vehicle configuration items are usually set through a vehicle user interface (HU), and when the vehicle system time reaches the time corresponding to the time parameter corresponding to the set vehicle configuration item, the corresponding vehicle configuration item is executed.
[0004] However, if the vehicle user interface is restarted or the vehicle system time jumps, the vehicle configuration items may not be executed. Summary of the invention
[0005] The embodiments of the present application provide a time parameter configuration method, apparatus, device, medium and vehicle, which can solve the problem of missing execution of vehicle configuration items.
[0006] In a first aspect, an embodiment of the present application provides a time parameter configuration method, including:
[0007] When the vehicle computer user interface is restarted or the vehicle system time jumps, obtain the vehicle system time after the vehicle computer user interface is restarted or the vehicle system time jumps;
[0008] Comparing the vehicle system time with the target time corresponding to the target vehicle configuration item to obtain a comparison result between the vehicle system time and the target time;
[0009] According to the time parameter configuration strategy corresponding to the comparison result, the time parameter corresponding to the target vehicle configuration item is configured.
[0010] In a second aspect, an embodiment of the present application provides a time parameter configuration device, including:
[0011] An acquisition module, used for acquiring the vehicle system time after the vehicle user interface is restarted or the vehicle system time jumps when the vehicle user interface is restarted or the vehicle system time jumps;
[0012] A comparison module, used for comparing the vehicle system time with the target time corresponding to the target vehicle configuration item, and obtaining a comparison result between the vehicle system time and the target time;
[0013] The configuration module is used to configure the time parameters corresponding to the configuration items of the target vehicle according to the time parameter configuration strategy corresponding to the comparison result.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor reads and executes the computer program instructions, the time parameter configuration method of the first aspect is implemented.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the time parameter configuration method of the first aspect is implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the time parameter configuration method as in the first aspect.
[0017] In a sixth aspect, an embodiment of the present application provides a vehicle, comprising at least one of the following items:
[0018] The time parameter configuration device according to the second aspect;
[0019] The electronic device according to the third aspect;
[0020] The computer-readable storage medium described in the fourth aspect.
[0021] In an embodiment of the present application, when the vehicle-machine user interaction interface is restarted or the vehicle system time jumps, the vehicle system time after the vehicle-machine user interaction interface is restarted or the vehicle system time jumps is obtained; the vehicle system time is compared with the target time corresponding to the target vehicle configuration item to obtain a comparison result between the vehicle system time and the target time; and the time parameter corresponding to the target vehicle configuration item is configured according to the time parameter configuration strategy corresponding to the comparison result between the vehicle system time after the vehicle-machine user interaction interface is restarted or the vehicle system time jumps and the target time corresponding to the target vehicle configuration item. Since, when the vehicle-machine user interaction interface is restarted or the vehicle system time jumps, the time parameter corresponding to the target vehicle configuration item is configured according to the time parameter configuration strategy corresponding to the comparison result between the vehicle system time after the vehicle-machine user interaction interface is restarted or the vehicle system time jumps and the target time corresponding to the target vehicle configuration item, it is possible to avoid missing execution of the target vehicle configuration item. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0023] Figure 1 It is a flowchart of the time parameter configuration method provided in the embodiment of the present application;
[0024] Figure 2 It is a schematic diagram of the process of configuring time parameters provided in an embodiment of the present application;
[0025] Figure 3 is a structural diagram of a time parameter configuration device provided in an embodiment of the present application;
[0026] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0028] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.
[0029] The following, in conjunction with the accompanying drawings, describes in detail the time parameter configuration method, device, equipment, medium and vehicle provided in the embodiments of the present application through specific embodiments and their application scenarios.
[0030] Figure 1 : is a flow chart of the time parameter configuration method provided in the embodiment of the present application. The time parameter configuration method provided in the embodiment of the present application can be executed by the vehicle end. The vehicle end here can be a control module in the vehicle for managing time parameters, and can also be an electronic control unit (Electronic Control Unit, ECU) in the vehicle. Figure 1 As shown, the time parameter configuration method may include:
[0031] Step 101: when the vehicle computer user interaction interface is restarted or the vehicle system time jumps, obtaining the vehicle system time after the vehicle computer user interaction interface is restarted or the vehicle system time jumps;
[0032] Step 102: Compare the vehicle system time with the target time corresponding to the target vehicle configuration item to obtain a comparison result between the vehicle system time and the target time;
[0033] Step 103: According to the time parameter configuration strategy corresponding to the comparison result, the time parameter corresponding to the target vehicle configuration item is configured.
[0034] The specific implementation of each of the above steps will be described in detail below.
[0035] In an embodiment of the present application, when the vehicle-machine user interaction interface is restarted or the vehicle system time jumps, the vehicle system time after the vehicle-machine user interaction interface is restarted or the vehicle system time jumps is obtained; the vehicle system time is compared with the target time corresponding to the target vehicle configuration item to obtain a comparison result between the vehicle system time and the target time; and the time parameter corresponding to the target vehicle configuration item is configured according to the time parameter configuration strategy corresponding to the comparison result between the vehicle system time after the vehicle-machine user interaction interface is restarted or the vehicle system time jumps and the target time corresponding to the target vehicle configuration item. Since, when the vehicle-machine user interaction interface is restarted or the vehicle system time jumps, the time parameter corresponding to the target vehicle configuration item is configured according to the time parameter configuration strategy corresponding to the comparison result between the vehicle system time after the vehicle-machine user interaction interface is restarted or the vehicle system time jumps and the target time corresponding to the target vehicle configuration item, it is possible to avoid missing execution of the target vehicle configuration item.
[0036] In some possible implementations of the embodiments of the present application, the reason for the vehicle-machine user interaction interface to restart is, for example, that the vehicle-machine user interaction interface is powered off and then powered on, that is, when the vehicle-machine user interaction interface is powered off and then powered on, the vehicle-machine user interaction interface restarts. The reasons for the vehicle system time jump include but are not limited to the user setting the vehicle system time, the vehicle system time and the network time source synchronization, that is, when the user sets the vehicle system time, the vehicle system time will jump; when the vehicle system time is synchronized with the network time source, the vehicle system time will jump.
[0037] In some possible implementations of the embodiments of the present application, the vehicle configuration item can be set in advance, and then the time parameter can be configured for the vehicle configuration item. For example, the vehicle configuration item "steering wheel heating" is set, and then the corresponding time parameter is configured for the vehicle configuration item "steering wheel heating". For example, the time parameter configured for the vehicle configuration item "steering wheel heating" is 9:00, then at 9:00, the steering wheel heating is performed.
[0038] In some possible implementations of the embodiments of the present application, the vehicle configuration items in the embodiments of the present application may be items that are set for the vehicle and can make the user feel comfortable (referred to as vehicle comfort items for short); the time parameter may be a real-time clock (RTC) alarm.
[0039] In some possible implementations of the embodiments of the present application, step 103 may include: when the comparison result is that the vehicle system time is earlier than the target time, configuring the time parameter corresponding to the target vehicle configuration item to be the target time.
[0040] Exemplarily, assume that the time parameter corresponding to the pre-configured vehicle configuration item "steering wheel heating" is 9:00. When the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is 8:50. At this time, the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is earlier than the time corresponding to the time parameter corresponding to the vehicle configuration item "steering wheel heating", and the time parameter corresponding to the vehicle configuration item "steering wheel heating" is reconfigured to 9:00. When it reaches 9:00, steering wheel heating is executed. It can be understood that in this embodiment, the vehicle system time 8:50 obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is the vehicle system time, the vehicle configuration item "steering wheel heating" is the target vehicle configuration item, and the time parameter 9:00 corresponding to the vehicle configuration item "steering wheel heating" is the target time.
[0041] In an embodiment of the present application, when the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is earlier than the time corresponding to the time parameter corresponding to the target vehicle configuration item, by reconfiguring the time parameter corresponding to the target vehicle configuration item, the loss of the configured time parameter can be avoided, resulting in the occurrence of missed execution of the vehicle configuration item, and the accuracy of the response time of the vehicle configuration item can be ensured.
[0042] In some possible implementations of the embodiments of the present application, step 103 may include: when the comparison result is that the vehicle system time is not earlier than the target time, obtaining the execution duration of the target vehicle configuration item; comparing the first time difference with the execution duration, wherein the first time difference is the time difference between the vehicle system time and the target time; when the first time difference is not greater than the execution duration, executing the target vehicle configuration item, and configuring the time parameter corresponding to the target vehicle configuration item to the target time; when the first time difference is greater than the execution duration, configuring the time parameter corresponding to the target vehicle configuration item to the target time.
[0043] In some possible implementations of the embodiments of the present application, the execution duration of the vehicle configuration item can be set in advance. For example, the execution duration of the vehicle configuration item "steering wheel heating" is set to 5 minutes.
[0044] Exemplarily, assume that the time parameter corresponding to the pre-configured vehicle configuration item "steering wheel heating" is 9:00, and the execution time of the vehicle configuration item "steering wheel heating" is 5 minutes. When the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is 9:03. At this time, the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is later than the time parameter corresponding to the vehicle configuration item "steering wheel heating", and the time difference between the vehicle system time 9:03 obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps and the time parameter 9:00 corresponding to the vehicle configuration item "steering wheel heating" is 3 minutes, which is less than the execution time of the vehicle configuration item "steering wheel heating" of 5 minutes, then the steering wheel heating is executed immediately, and the time parameter corresponding to the vehicle configuration item "steering wheel heating" is reconfigured to 9:00. When the next 9:00 is reached, the steering wheel heating is executed again. It can be understood that in this embodiment, the vehicle system time 9:03 obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is the vehicle system time, the vehicle configuration item "steering wheel heating" is the target vehicle configuration item, and the time parameter 9:00 corresponding to the vehicle configuration item "steering wheel heating" is the target time.
[0045] As another example, assume that the time parameter corresponding to the pre-configured vehicle configuration item "steering wheel heating" is 9:00, and the execution time of the vehicle configuration item "steering wheel heating" is 5 minutes. When the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is 9:15. At this time, the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is later than the time parameter corresponding to the vehicle configuration item "steering wheel heating", and the time difference between the vehicle system time 9:15 obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps and the time parameter 9:00 corresponding to the vehicle configuration item "steering wheel heating" is 15 minutes, which is greater than the execution time of the vehicle configuration item "steering wheel heating" of 5 minutes, then the time parameter corresponding to the vehicle configuration item "steering wheel heating" is reconfigured to 9:00. When the next 9:00 is reached, steering wheel heating is executed. It can be understood that in this embodiment, the vehicle system time 9:15 obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is the vehicle system time, the vehicle configuration item "steering wheel heating" is the target vehicle configuration item, and the time parameter 9:00 corresponding to the vehicle configuration item "steering wheel heating" is the target time.
[0046] In an embodiment of the present application, when the vehicle system time obtained after the vehicle user interaction interface is restarted or after the vehicle system time jumps is not earlier than the time of the time parameter corresponding to the vehicle configuration item and the time difference between the vehicle system time obtained after the vehicle user interaction interface is restarted or after the vehicle system time jumps and the time parameter corresponding to the vehicle configuration item is not greater than the execution duration of the vehicle configuration item, by executing the vehicle configuration item, the occurrence of vehicle configuration item execution omission can be avoided, and the continuity of vehicle configuration item execution can be ensured. When the vehicle system time obtained after the vehicle user interaction interface is restarted or after the vehicle system time jumps is not earlier than the time of the time parameter corresponding to the vehicle configuration item and the time difference between the vehicle system time obtained after the vehicle user interaction interface is restarted or after the vehicle system time jumps and the time parameter corresponding to the vehicle configuration item is greater than the execution duration of the vehicle configuration item, by reconfiguring the time parameter corresponding to the vehicle configuration item, the accuracy of the next vehicle configuration item response time can be ensured.
[0047] That is to say, when the vehicle system time is not earlier than the target time corresponding to the target vehicle configuration item, the execution duration of the target vehicle configuration item is obtained; the time difference between the vehicle system time and the target time is compared with the execution duration of the target vehicle configuration item; if the time difference is not greater than the execution duration of the target vehicle configuration item, the target vehicle configuration item is executed, and the time parameter of the target vehicle configuration item is configured as the target time; if the time difference is greater than the execution duration of the target vehicle configuration item, only the time parameter of the target vehicle configuration item is configured as the target time, and the target vehicle configuration item is not executed at this time.
[0048] In some possible implementations of the embodiments of the present application, after step 103, the time parameter configuration method provided by the embodiments of the present application may also include: monitoring whether the clock reaches the time corresponding to the time parameter; when the clock reaches the time corresponding to the time parameter, executing the target vehicle configuration item according to the configuration parameters corresponding to the target vehicle configuration item.
[0049] In some possible implementations of the present application, the vehicle configuration item may be temperature adjustment of the vehicle interior, such as seats, steering wheels, air conditioners, etc., that is, the user may set the adjustment of any of the above components to start on time at a preset time. The configuration parameter may be a temperature parameter adjustment of a specified location.
[0050] Exemplarily, assume that the preset vehicle configuration item is "in-car temperature", and its corresponding configuration parameters include temperature and air-conditioning outlet. For example, the temperature is 26°, and the air-conditioning outlet is the air-conditioning outlet on the left side of the driver's seat. The time parameter corresponding to the configured vehicle configuration item "in-car temperature" is 9:00. When the clock reaches 9:00, start the air conditioner, open the air-conditioning outlet on the left side of the driver's seat, and let the air out through the air-conditioning outlet on the left side of the driver's seat to control the temperature in the car to 26°. It can be understood that the air outlets other than the air-conditioning outlet on the left side of the driver's seat do not emit air and are in a closed state.
[0051] In some possible implementations of the embodiments of the present application, before step 102, the time parameter configuration method provided by the embodiments of the present application may also include: determining whether the vehicle system time is a valid time; accordingly, step 102 may include: when the vehicle system time is a valid time, comparing the vehicle system time with the target time.
[0052] In some possible implementations of the embodiments of the present application, determining whether the vehicle system time is a valid time may include: determining whether the vehicle system time is the initial time of the computer calendar, if so, the vehicle system time is an invalid time, if not, the vehicle system time is a valid time.
[0053] Normally, the computer calendar starts at 00:00:00 on January 1, 1970. However, each region in the world has its own time zone, and the computer calendar starts at 08:00:00 on January 1, 1970. For example, China uses Beijing time, and the computer calendar starts at 08:00:00 on January 1, 1970.
[0054] For example, assuming that the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is 8:00 on January 1, 1970, then the vehicle system time is invalid time; assuming that the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is 15:00 on January 16, 2023, then the vehicle system time is valid time.
[0055] In an embodiment of the present application, the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is compared with the time parameter corresponding to the vehicle configuration item only when the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is a valid time. Then, the time parameter corresponding to the vehicle configuration item is configured according to the obtained time parameter configuration strategy corresponding to the comparison result. This can avoid the occurrence of erroneous execution of vehicle configuration items and inaccurate response time of vehicle configuration items when the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is an invalid time.
[0056] In some possible implementations of the embodiments of the present application, the time parameter configuration method provided in the embodiments of the present application may also include: when the vehicle system time is invalid time, deleting the time parameter corresponding to the target vehicle configuration item.
[0057] Exemplarily, assume that the time parameter corresponding to the pre-configured vehicle configuration item "steering wheel heating" is 9:00. Assuming that the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is 8:00 on January 1, 1970, and the vehicle system time is invalid time, the time parameter corresponding to the vehicle configuration item "steering wheel heating" is deleted. It can be understood that in the embodiment of the present application, the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is 8:00 on January 1, 1970 as the vehicle system time, the vehicle configuration item "steering wheel heating" is the target vehicle configuration item, and the time parameter 9:00 corresponding to the vehicle configuration item "steering wheel heating" is the target time.
[0058] In an embodiment of the present application, when the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is an invalid time, by deleting the time parameter corresponding to the vehicle configuration item, it is possible to avoid the occurrence of erroneous execution of the vehicle configuration item and inaccurate response time of the vehicle configuration item.
[0059] In some possible implementations of the embodiments of the present application, the user can delete the time parameter corresponding to the vehicle configuration item. When the time parameter corresponding to a vehicle configuration item is deleted, the vehicle configuration item will not be executed even if the vehicle system time reaches the time corresponding to the time parameter corresponding to the vehicle configuration item before deletion.
[0060] In some possible implementations of the embodiments of the present application, a user may delete a vehicle configuration item. After the vehicle configuration item is deleted, the time parameter corresponding to the vehicle configuration item is also deleted.
[0061] Figure 2 1 is a flow chart of configuring time parameters provided in an embodiment of the present application. The flow of configuring time parameters includes the following steps:
[0062] Step 201: when the vehicle computer user interaction interface is restarted or the vehicle system time jumps, obtaining the vehicle system time after the vehicle computer user interaction interface is restarted or the vehicle system time jumps;
[0063] Step 202: Determine whether the vehicle system time is valid time, if yes, execute step 203, if no, execute step 207;
[0064] Step 203: Determine whether the vehicle system time is earlier than the target time corresponding to the target vehicle configuration item, if yes, execute step 204, if no, execute step 205;
[0065] Step 204: configuring the time parameter corresponding to the target vehicle configuration item to be the target time;
[0066] Step 205: Determine whether the time difference between the vehicle system time and the target time is greater than the execution time of the target vehicle configuration item. If yes, execute step 204; if no, execute step 206 and step 204;
[0067] Step 206: Execute the target vehicle configuration item;
[0068] Step 207: Delete the time parameter corresponding to the target vehicle configuration item.
[0069] Corresponding to the above method embodiment, the present application embodiment also provides a time parameter configuration device. Figure 3 As shown, Figure 3 300 is a schematic diagram of the structure of the time parameter configuration device provided in the embodiment of the present application. The time parameter configuration device 300 may include:
[0070] An acquisition module 301 is used to acquire the vehicle system time after the vehicle user interface is restarted or the vehicle system time is jumped when the vehicle user interface is restarted or the vehicle system time is jumped;
[0071] A comparison module 302 is used to compare the vehicle system time with the target time corresponding to the target vehicle configuration item to obtain a comparison result between the vehicle system time and the target time;
[0072] The configuration module 303 is used to configure the time parameters corresponding to the configuration items of the target vehicle according to the time parameter configuration strategy corresponding to the comparison result.
[0073] In an embodiment of the present application, when the vehicle-machine user interaction interface is restarted or the vehicle system time jumps, the vehicle system time after the vehicle-machine user interaction interface is restarted or the vehicle system time jumps is obtained; the vehicle system time is compared with the target time corresponding to the target vehicle configuration item to obtain a comparison result between the vehicle system time and the target time; and the time parameter corresponding to the target vehicle configuration item is configured according to the time parameter configuration strategy corresponding to the comparison result between the vehicle system time after the vehicle-machine user interaction interface is restarted or the vehicle system time jumps and the target time corresponding to the target vehicle configuration item. Since, when the vehicle-machine user interaction interface is restarted or the vehicle system time jumps, the time parameter corresponding to the target vehicle configuration item is configured according to the time parameter configuration strategy corresponding to the comparison result between the vehicle system time after the vehicle-machine user interaction interface is restarted or the vehicle system time jumps and the target time corresponding to the target vehicle configuration item, it is possible to avoid missing execution of the target vehicle configuration item.
[0074] In some possible implementations of the embodiments of the present application, the configuration module 303 may be specifically used to:
[0075] When the comparison result shows that the vehicle system time is earlier than the target time, the time parameter corresponding to the target vehicle configuration item is configured as the target time.
[0076] In an embodiment of the present application, when the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is earlier than the time parameter corresponding to the target vehicle configuration item, by reconfiguring the time parameter corresponding to the target vehicle configuration item, the loss of the set time parameters can be avoided, resulting in the occurrence of missed execution of the vehicle configuration item, and the accuracy of the response time of the vehicle configuration item can be ensured.
[0077] In some possible implementations of the embodiments of the present application, the configuration module 303 may be specifically used to:
[0078] When the comparison result is that the vehicle system time is not earlier than the target time, the execution duration of the target vehicle configuration item is obtained; the first time difference is compared with the execution duration, wherein the first time difference is the time difference between the vehicle system time and the target time; when the first time difference is not greater than the execution duration, the target vehicle configuration item is executed, and the time parameter corresponding to the target vehicle configuration item is configured as the target time; when the first time difference is greater than the execution duration, the time parameter corresponding to the target vehicle configuration item is configured as the target time.
[0079] In an embodiment of the present application, when the vehicle system time obtained after the vehicle user interaction interface is restarted or after the vehicle system time jumps is not earlier than the target time and the time difference between the vehicle system time obtained after the vehicle user interaction interface is restarted or after the vehicle system time jumps and the time parameter corresponding to the vehicle configuration item is not greater than the execution duration of the vehicle configuration item, by executing the vehicle configuration item, the occurrence of missed execution of the vehicle configuration item can be avoided, and the continuity of the execution of the vehicle configuration item can be ensured. When the vehicle system time obtained after the vehicle user interaction interface is restarted or after the vehicle system time jumps is not earlier than the target time and the time difference between the vehicle system time obtained after the vehicle user interaction interface is restarted or after the vehicle system time jumps and the time parameter corresponding to the vehicle configuration item is greater than the execution duration of the vehicle configuration item, by reconfiguring the time parameter corresponding to the vehicle configuration item, the accuracy of the next vehicle configuration item response time can be ensured.
[0080] In some possible implementations of the embodiments of the present application, the time parameter configuration device 300 provided in the embodiments of the present application may further include:
[0081] A monitoring module, used to monitor whether the clock reaches the time corresponding to the time parameter;
[0082] The execution module is used to execute the target vehicle configuration item according to the configuration parameter corresponding to the target vehicle configuration item when the clock reaches the time corresponding to the time parameter.
[0083] In some possible implementations of the embodiments of the present application, the time parameter configuration device 300 provided in the embodiments of the present application may further include:
[0084] A judgment module, used to judge whether the vehicle system time is valid time;
[0085] Accordingly, the comparison module 302 may be specifically used for:
[0086] When the vehicle system time is the valid time, the vehicle system time is compared with the target time.
[0087] In an embodiment of the present application, the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is compared with the time parameter corresponding to the vehicle configuration item, and then the time parameter configuration strategy corresponding to the comparison result is used to configure the time parameter corresponding to the vehicle configuration item. This can avoid the occurrence of erroneous execution of vehicle configuration items and inaccurate response time of vehicle configuration items when the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is invalid.
[0088] In some possible implementations of the embodiments of the present application, the determination module may be specifically used for:
[0089] Determine whether the vehicle system time is the initial time of the computer calendar. If so, the vehicle system time is invalid time. If not, the vehicle system time is valid time.
[0090] In some possible implementations of the embodiments of the present application, the time parameter configuration device 300 provided in the embodiments of the present application may further include:
[0091] The deletion module is used to delete the time parameter corresponding to the target vehicle configuration item when the vehicle system time is invalid.
[0092] In an embodiment of the present application, when the vehicle system time obtained after the vehicle user interaction interface is restarted or the vehicle system time jumps is an invalid time, by deleting the time parameter corresponding to the vehicle configuration item, it is possible to avoid the occurrence of erroneous execution of the vehicle configuration item and inaccurate response time of the vehicle configuration item.
[0093] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0094] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.
[0095] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0096] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside of an electronic device. In some specific embodiments, memory 402 is a non-volatile solid-state memory.
[0097] In some specific embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the time parameter configuration method according to the present application.
[0098] The processor 401 implements the time parameter configuration method provided in the embodiment of the present application by reading and executing the computer program instructions stored in the memory 402.
[0099] In some examples, the electronic device may further include a communication interface 403 and a bus 410. Figure 4 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.
[0100] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0101] The bus 410 includes hardware, software or both, coupling the components of the electronic device to each other. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro channel architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 410 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0102] The electronic device can execute the time parameter configuration method provided in the embodiment of the present application, thereby achieving the corresponding technical effects of the time parameter configuration method provided in the embodiment of the present application.
[0103] In addition, in combination with the time parameter configuration method in the above embodiment, the embodiment of the present application also provides a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the time parameter configuration method provided in the embodiment of the present application is implemented. Examples of computer-readable storage media include non-transitory computer-readable media, such as ROM, RAM, magnetic disk or optical disk, etc.
[0104] An embodiment of the present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the time parameter configuration method provided in the embodiment of the present application and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0105] The present application also provides a vehicle, which includes at least one of the following items:
[0106] The time parameter configuration device provided in the embodiment of the present application;
[0107] The electronic device provided by the embodiment of the present application;
[0108] The computer-readable storage medium provided by the embodiments of the present application.
[0109] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A time parameter configuration method, characterized in that: The method comprises: When the vehicle computer user interface is restarted or the vehicle system time jumps, obtain the vehicle system time after the vehicle computer user interface is restarted or the vehicle system time jumps; Comparing the vehicle system time with a target time corresponding to a target vehicle configuration item to obtain a comparison result between the vehicle system time and the target time; The time parameter corresponding to the target vehicle configuration item is configured according to the time parameter configuration strategy corresponding to the comparison result.
2. The method according to claim 1, characterized in that The configuring the time parameter corresponding to the target vehicle configuration item according to the time parameter configuration strategy corresponding to the comparison result includes: When the comparison result is that the vehicle system time is earlier than the target time, the time parameter corresponding to the target vehicle configuration item is configured to be the target time.
3. The method according to claim 1, characterized in that The configuring the time parameter corresponding to the target vehicle configuration item according to the time parameter configuration strategy corresponding to the comparison result includes: When the comparison result is that the vehicle system time is not earlier than the target time, acquiring the execution duration of the target vehicle configuration item; comparing a first time difference with the execution duration, wherein the first time difference is a time difference between the vehicle system time and the target time; When the first time difference is not greater than the execution duration, executing the target vehicle configuration item, and configuring the time parameter corresponding to the target vehicle configuration item to be the target time; When the first time difference is greater than the execution duration, the time parameter corresponding to the target vehicle configuration item is configured as the target time.
4. The method according to claim 1, characterized in that After configuring the time parameter corresponding to the target vehicle configuration item according to the time parameter configuration strategy corresponding to the comparison result, the method further includes: Monitoring whether the clock reaches the time corresponding to the time parameter; When the clock reaches the time corresponding to the time parameter, the target vehicle configuration item is executed according to the configuration parameter corresponding to the target vehicle configuration item.
5. The method according to claim 1, characterized in that Before comparing the vehicle system time with the target time corresponding to the target vehicle configuration item, the method further includes: Determining whether the vehicle system time is valid time; The comparing the vehicle system time with a target time corresponding to a target vehicle configuration item includes: When the vehicle system time is a valid time, the vehicle system time is compared with the target time.
6. The method according to claim 5, characterized in that The determining whether the vehicle system time is valid time includes: Determine whether the vehicle system time is the initial time of the computer calendar. If so, the vehicle system time is invalid time. If not, the vehicle system time is valid time.
7. The method according to claim 5, characterized in that The method further comprises: When the vehicle system time is invalid, the time parameter corresponding to the target vehicle configuration item is deleted.
8. A time parameter configuration device, characterized in that: The device comprises: An acquisition module, used for acquiring the vehicle system time after the vehicle user interface is restarted or the vehicle system time jumps when the vehicle user interface is restarted or the vehicle system time jumps; A comparison module, used for comparing the vehicle system time with a target time corresponding to a target vehicle configuration item, and obtaining a comparison result between the vehicle system time and the target time; A configuration module is used to configure the time parameter corresponding to the target vehicle configuration item according to the time parameter configuration strategy corresponding to the comparison result.
9. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the time parameter configuration method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the time parameter configuration method according to any one of claims 1 to 7 is implemented.
11. A vehicle, characterized in that: The vehicle includes at least one of the following: The time parameter configuration device as claimed in claim 8; The electronic device according to claim 9; The computer readable storage medium of claim 10.
Citation Information
Patent Citations
Time updating method and device of mobile terminal
CN105407219A
Processing method of data tasks and task scheduler
CN106528275A
Vehicle control method and device and electronic equipment
CN112839415A
Timing task processing method and related device
CN114637623A
Electronic netebook schedule project recording method and the related apparatus
KR1019990038512A
