Vehicle network awakening method, electronic equipment and vehicle

The wake-up of the vehicle network is achieved through relay timing at the application layer and the underlying layer, and the problems of cumbersome wake-up process and high power consumption caused by hardware dependence in the prior art are solved, reducing vehicle costs and improving timing accuracy.

CN119316915APending Publication Date: 2025-01-14GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411370136.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing vehicle network wake-up function relies on dedicated hardware, resulting in cumbersome wake-up process and large power consumption, increasing vehicle cost.

Method used

After the vehicle network sleeps, the timer of the application layer is first activated to time, and after the application layer is sleepy, the underlying timing module is then activated to time, and the total timing time is determined by using the application layer and the underlying relay timing to realize the vehicle network Wake up, avoiding the use of extra hardware.

Benefits of technology

The vehicle network wake-up process is simplified, the entire vehicle's energy consumption is reduced, and the vehicle cost is reduced, while improving the accuracy of the timing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316915A_ABST
    Figure CN119316915A_ABST
Patent Text Reader

Abstract

According to the vehicle network wake-up method, the electronic device and the vehicle provided by the invention, after the vehicle network is dormant, the timer of the application layer is firstly started for timing, and after the application layer is dormant, the timing module of the bottom layer is started for timing, so that on one hand, the time is saved only through relay timing of the application layer and the bottom layer; according to the invention, timing of the dormancy time of the vehicle network can be realized, then the vehicle network can be awakened based on the total dormancy time of the vehicle network, the whole timing process is executed only based on an application layer and a bottom layer, additional hardware with timing and awakening functions does not need to be added for the vehicle, and the vehicle cost can be reduced; and on the other hand, the timer of the application layer is firstly started for timing, so that in the timing process of the timer, the application layer can directly perform corresponding logic judgment and other operations according to the timing result of the timer, the execution steps of the application layer in the time period when the vehicle network is dormant but the application layer is not dormant are simplified, and the energy consumption of the whole vehicle is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle network wake-up method, electronic equipment and vehicle. Background Art

[0002] Most vehicles have a timed wake-up function, for example, when the vehicle is dormant for a certain period of time, it will automatically wake up the vehicle network and shut down some peripherals after waking up to reduce power consumption. However, the existing vehicle network wake-up function relies on dedicated hardware, which requires the cooperation of hardware and software to achieve wake-up, resulting in a cumbersome process of waking up the vehicle network, increasing the power consumption of the entire vehicle, and the hardware settings increase the cost of the vehicle. Summary of the invention

[0003] In view of this, the purpose of the present application is to propose a vehicle network wake-up method, electronic device and vehicle to solve the problem that the existing network wake-up process is cumbersome and consumes a lot of power.

[0004] Based on the above purpose, the first aspect of the present application provides a vehicle network wake-up method, including:

[0005] In response to receiving a vehicle sleep instruction, controlling the vehicle network to sleep;

[0006] Starting a timer of the application layer to count until the application layer goes into sleep mode, and then starting a timing module of the bottom layer to count, and determining a total timing time of the timer and the timing module;

[0007] In response to the total time reaching a preset wake-up time, the vehicle network is woken up.

[0008] Optionally, sequentially starting the timer of the application layer and the timing module of the bottom layer to perform timing, and determining the total timing time of the timer and the timing module includes:

[0009] Starting a timer of the application layer to start timing until the application layer goes into sleep mode, and storing the timing time of the timer as a first application layer timing time;

[0010] Start the bottom-level timing module to start timing, store and update the first bottom-level timing time of the timing module in real time;

[0011] The total timing time is determined based on the first application layer timing time and the first bottom layer timing time.

[0012] Optionally, determining the total time based on the first application layer timing time and the first bottom layer timing time includes:

[0013] In response to not receiving the wake-up instruction, the sum of the first application layer timing time and the first bottom layer timing time is determined as the total timing time.

[0014] Optionally, determining the total time based on the first application layer timing time and the first bottom layer timing time includes:

[0015] In response to receiving a wake-up instruction from a bottom-layer wake-up source, the bottom layer and the application layer are woken up, a timing module of the bottom layer is controlled to stop timing, and the first bottom-layer timing time when the timing is stopped is stored as the bottom-layer stop timing time;

[0016] Start the timer of the application layer to start timing, store and update the timing time of the second application layer of the timer in real time;

[0017] The total timing time is determined based on the first application layer timing time, the bottom layer stop timing time, and the second application layer timing time.

[0018] Optionally, determining the total timing time based on the first application layer timing time, the bottom layer stop timing time and the second application layer timing time includes:

[0019] In response to not receiving a wake-up instruction and the second application layer timing time being less than a preset application layer sleep time, the sum of the first application layer timing time, the bottom layer stop timing time and the second application layer timing time is determined as the total timing time.

[0020] Optionally, determining the total timing time based on the first application layer timing time, the bottom layer stop timing time and the second application layer timing time includes:

[0021] In response to not receiving the wake-up instruction and the second application layer timing time reaching the preset application layer sleep time, controlling the application layer to sleep and controlling the timer to stop timing, and storing the second application layer timing time when the timing is stopped as the application layer stop timing time;

[0022] Start the bottom-level timing module to start timing, store and update the second bottom-level timing time of the timing module in real time;

[0023] The sum of the first application layer timing time, the bottom layer stop timing time, the application layer stop timing time and the second bottom layer timing time is determined as the total timing time.

[0024] Optionally, the timer for starting the application layer starts timing until the application layer goes into sleep mode, and the timing time of the timer is stored as the first application layer timing time, including:

[0025] Start the timer of the application layer to start timing, store and update the real-time timing time of the timer in real time;

[0026] In response to the real-time timing time remaining unchanged within a preset period of time, it is determined that the application layer is dormant, and the unchanged real-time timing time is stored as the first application layer timing time.

[0027] Optionally, the step of starting the bottom-level timing module to start timing, storing and updating the first bottom-level timing time of the timing module in real time includes:

[0028] The target module of the bottom layer is controlled to sleep and the timing module of the bottom layer is started to start timing, and the first bottom timing time of the timing module is stored and updated in real time; wherein, the target module is all modules in the bottom layer except the timing module.

[0029] From the above description, it can be seen that the vehicle network wake-up method, electronic device and vehicle provided by the present application, after the vehicle network goes into sleep mode, first start the timer of the application layer to start timing, and after the application layer goes into sleep mode, start the timing module of the bottom layer to start timing. In this way, on the one hand, the sleep time of the vehicle network can be timed only through the relay timing of the application layer and the bottom layer, and then the vehicle network can be woken up based on the total sleep time of the vehicle network. The entire timing process is executed only based on the application layer and the bottom layer, and there is no need to add additional hardware with timing wake-up function to the vehicle, which can reduce the cost of the vehicle; on the other hand, the timer of the application layer is started first to start timing, so during the timer timing process, the application layer can directly perform corresponding logical judgment and other operations based on the timing result of the timer, which simplifies the execution steps of the application layer during the time period when the vehicle network is already asleep but the application layer is not asleep, and reduces the energy consumption of the entire vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 A schematic diagram of a process of waking up a vehicle network according to an embodiment of the present application;

[0032] Figure 2 This is a schematic diagram of the first principle of determining the total time in an embodiment of the present application;

[0033] Figure 3 A schematic diagram of a second principle for determining the total time in an embodiment of the present application;

[0034] Figure 4 A third schematic diagram of the principle of determining the total time in an embodiment of the present application;

[0035] Figure 5 A fourth schematic diagram of the principle of determining the total time in an embodiment of the present application;

[0036] Figure 6 A schematic diagram of a vehicle network wake-up device according to an embodiment of the present application;

[0037] Figure 7 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0039] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0040] Most vehicles have a timed wake-up function. For example, when the vehicle is dormant, the vehicle network will automatically wake up after 48 hours or 7 days, and some peripherals will be shut down after waking up to reduce power consumption.

[0041] However, most of the existing vehicle network wake-up functions rely on hardware execution, that is, a crystal oscillator is installed in the vehicle as a timer, and the wake-up time is pre-set in the crystal oscillator. When the vehicle is dormant, the crystal oscillator starts timing. When the timing time reaches the preset wake-up time, the crystal oscillator sends a wake-up signal to the body controller, and the body controller wakes up the vehicle network.

[0042] This wake-up method relies on hardware devices and requires the cooperation of hardware and software to achieve wake-up, which makes the process of waking up the vehicle network more complicated, increases the power consumption of the entire vehicle, and the hardware settings cause an increase in vehicle costs.

[0043] In addition, vehicle hibernation generally includes three steps. First, the vehicle network hibernates. After a period of time, the vehicle's application layer hibernates. After the application layer hibernates, the vehicle's bottom layer hibernates. During the period when the vehicle network has been dormant but the application layer has not yet been dormant, the application layer also needs to perform some logical judgments based on the dormant time. When the results of the logical judgments are all normal, the application layer can hibernate normally. For example, when the vehicle network's dormant time reaches A, the application layer needs to execute B; when the vehicle network's dormant time reaches C, the application layer needs to execute D.

[0044] In the existing sleep and wake-up strategy that relies on the crystal oscillator, the sleep time of the vehicle network is updated in real time by the crystal oscillator. Therefore, when the sleep time reaches the A required by the application layer, the crystal oscillator needs to send an instruction to the application layer, and the application layer executes the corresponding B operation based on the instruction, which makes the entire operation process very cumbersome and increases the power consumption of the entire vehicle.

[0045] Therefore, if the automatic wake-up of the vehicle network can be achieved directly based on the vehicle's existing software functions without relying on additional hardware, the entire wake-up process can be simplified, the vehicle's power consumption can be reduced, and there is no need to add additional hardware to the vehicle, thereby reducing vehicle costs.

[0046] Based on this, see Figure 1 The present application provides a vehicle network wake-up method, which is executed by a vehicle body controller, and the method includes:

[0047] Step S100, in response to receiving a vehicle sleep instruction, controlling the vehicle network to sleep;

[0048] Step S200, starting the timer of the application layer to count until the application layer goes into sleep mode, and then starting the timing module of the bottom layer to count, and determining the total timing time of the timer and the timing module;

[0049] Step S300: In response to the total time reaching the preset wake-up time, the vehicle network is woken up.

[0050] Specifically, the layered architecture of smart vehicles can be divided into the following levels: bottom layer, physical layer, application layer, control execution layer and cloud service layer.

[0051] The bottom layer mainly refers to vehicle hardware and sensors, including sensors installed on the vehicle, such as vehicle cameras, global positioning systems (GPS), timers, etc. These hardware devices can convert the collected physical quantities into digital signals through digital signal processing, so as to better transmit them to the upper-layer software system.

[0052] The application layer is mainly responsible for the development and management of application programs, including the development of vehicle user-based applications, vehicle management systems, and vehicle interaction systems. Application programs can obtain and analyze the vehicle's status information in real time through the data provided by the underlying hardware layer and physical layer, and give appropriate responses.

[0053] When the vehicle sleep command is received, the vehicle network is controlled to sleep. After the vehicle network sleeps, since the application layer and the bottom layer have not yet been put into sleep, at this time, the timer of the application layer is first started to count, and when the application layer is put into sleep, the timing module of the bottom layer is started to count, and during the timing process of the timing module, the total timing time of the timer and the timing module is determined in real time, so that the total timing time is the total sleep time of the vehicle network.

[0054] Therefore, during the timing process of the timer and the timing module, the total timing time is determined in real time, and when the total timing time reaches the preset wake-up time, the vehicle network is woken up.

[0055] The preset wake-up time is a preset time for waking up the vehicle network. Exemplarily, the preset wake-up time can be 48 hours or 7 days.

[0056] After waking up the vehicle network, some peripheral functions of the vehicle can be turned off based on the preset strategy to save energy. For example, after the vehicle network is awakened after 48 hours of dormancy, the approach unlocking function and the exit lock function are turned off, or after the vehicle network is awakened after 7 days of dormancy, all non-essential functions of the vehicle are turned off and the vehicle is controlled to enter a deep dormancy state.

[0057] In the present application, after the vehicle network goes into sleep mode, the timer of the application layer is started first to start timing, and after the application layer goes into sleep mode, the timing module of the bottom layer is started to start timing. Thus, on the one hand, the sleep time of the vehicle network can be timed only through the relay timing of the application layer and the bottom layer, and then the vehicle network can be awakened based on the total sleep time of the vehicle network. The entire timing process is executed only based on the application layer and the bottom layer, and there is no need to add additional hardware with timing and wake-up function to the vehicle, which can reduce the cost of the vehicle. On the other hand, the timer of the application layer is started first to start timing, so during the timing process of the timer, the application layer can directly perform corresponding logical judgment and other operations according to the timing result of the timer, which simplifies the execution steps of the application layer during the time period when the vehicle network is in sleep mode but the application layer is not in sleep mode, and reduces the energy consumption of the whole vehicle.

[0058] In some embodiments, the step S200 sequentially starts the timer of the application layer and the timing module of the bottom layer to perform timing, and determines the total timing time of the timer and the timing module, including:

[0059] Step S210, starting a timer of the application layer to start timing until the application layer goes into sleep mode, and storing the timing time of the timer as a first application layer timing time;

[0060] Step S220, start the bottom-level timing module to start timing, store and update the first bottom-level timing time of the timing module in real time;

[0061] Step S230: Determine the total time based on the first application layer timing time and the first bottom layer timing time.

[0062] Specifically, the timer of the application layer and the timing module of the bottom layer are started in sequence to perform timing, and when the total timing time of the timer and the timing module is determined, the timer of the application layer is first started to start timing until the application layer goes dormant, and the timing time of the timer is stored as the first application layer timing time. At this time, the application layer goes dormant, and the timer of the application layer cannot continue to perform timing.

[0063] After the application layer goes into sleep mode, the bottom layer timing module is started to perform relay timing, and the first bottom layer timing time of the timing module is stored and updated in real time. Then, the total timing time is determined based on the first application layer timing time and the first bottom layer timing time.

[0064] Since a new wake-up instruction may or may not be received during the entire timing process, in the process of determining the total timing time based on the first application layer timing time and the first bottom layer timing time, there will be different ways of determining the total timing time based on whether a new wake-up instruction is received, which can improve the accuracy of the determined total timing time.

[0065] In this application, the timer of the application layer is only started during the period when the existing vehicle network has been dormant but the application layer has not been dormant. The timer is used for timing without making any changes to the dormant logic of the application layer of the existing vehicle. Then, after the application layer is normally dormant, the timing module of the bottom layer is started for relay timing, that is, when the bottom layer is dormant, the timing module of the bottom layer does not sleep and continues to time. Then, the total timing time is determined based on the timing time of the application layer and the timing time of the bottom layer. In this way, the total timing time can be determined by relay timing of the application layer and the bottom layer, and the application layer and the bottom layer will not repeat timing, which not only improves the accuracy of the determined total timing time, but also does not increase the power consumption of the vehicle.

[0066] In some embodiments, see Figure 2 As shown, the step S230 determines the total time based on the first application layer timing time and the first bottom layer timing time, including:

[0067] In response to not receiving the wake-up instruction, the sum of the first application layer timing time and the first bottom layer timing time is determined as the total timing time.

[0068] Specifically, the wake-up instruction may be a wake-up instruction of an underlying wake-up source, or may be a wake-up instruction of a network wake-up source.

[0069] The bottom layer wakeup source is a wakeup source that can only wake up the bottom layer and the application layer, and cannot wake up the vehicle network. For example, the bottom layer wakeup source may be a vehicle door handle being touched, a vehicle door being hit, and the like.

[0070] The network wake-up source is a wake-up source that can directly wake up the network, bottom layer and application layer. Exemplarily, the network wake-up source can be a legitimate key, unlocking, locking, braking, etc.

[0071] When no wake-up command is received, it means that the underlying timing module has not received any wake-up command during the timing process. At this time, the underlying timing module is continuously controlled to perform timing, and then the sum of the first application layer timing time of the application layer timer and the first underlying timing time of the underlying timing module is determined as the total timing time. When the total timing time reaches the preset wake-up time, the vehicle network is woken up.

[0072] In the present application, when it is determined that no wake-up instruction is received, the sum of the first application layer timing time and the first bottom layer timing time is determined as the total timing time. In this way, the total timing time can be accurately determined based on a relay timing of the application layer and the bottom layer, thereby improving the accuracy of the determined total timing time.

[0073] In some embodiments, see Figure 3 As shown, the step S230 determines the total time based on the first application layer timing time and the first bottom layer timing time, including:

[0074] Step S231: in response to receiving a wake-up instruction from a bottom-layer wake-up source, waking up the bottom layer and the application layer, controlling the timing module of the bottom layer to stop timing, and storing the first bottom-layer timing time when the timing is stopped as the bottom-layer stop timing time;

[0075] Step S232: Start the timer of the application layer to start timing, store and update the second application layer timing time of the timer in real time;

[0076] Step S233: determine the total timing time based on the first application layer timing time, the bottom layer stop timing time and the second application layer timing time.

[0077] Specifically, when a wake-up instruction from a bottom-layer wake-up source is received, the bottom layer and the application layer are awakened. When both the bottom layer and the application layer are awakened, since the application layer may need to perform subsequent processing after being awakened externally, timing based on the application layer will be more accurate and convenient for subsequent steps that the application layer may need to perform. Therefore, at this time, the timing module of the bottom layer is controlled to stop timing, and the first bottom-layer timing time when the timing is stopped is stored as the bottom-layer stop timing time.

[0078] Then, the timer of the application layer is started to start timing, and the second application layer timing time of the timer is stored and updated in real time. In this way, after the application layer is awakened, the application layer continues to relay timing, so as to facilitate subsequent processing that may be performed by the application layer while ensuring the accuracy of timing.

[0079] Finally, the total timing time is determined based on the first application layer timing time, the bottom layer stop timing time and the second application layer timing time.

[0080] Since a new wake-up instruction may or may not be received during the entire timing process, in the process of determining the total timing time based on the first application layer timing time, the bottom layer stop timing time and the second application layer timing time, there will be different ways of determining the total timing time based on whether a new wake-up instruction is received, which can improve the accuracy of the determined total timing time.

[0081] In the present application, when the bottom layer timing is in the process, if the bottom layer and the application layer are awakened, the bottom layer timing is stopped and the application layer takes over the timing again. This ensures the timing accuracy and facilitates the subsequent processing that may be performed by the application layer.

[0082] In some embodiments, see Figure 4 As shown, the step S233 determines the total timing time based on the first application layer timing time, the bottom layer stop timing time and the second application layer timing time, including:

[0083] In response to not receiving a wake-up instruction and the second application layer timing time being less than a preset application layer sleep time, the sum of the first application layer timing time, the bottom layer stop timing time and the second application layer timing time is determined as the total timing time.

[0084] Specifically, the preset application layer sleep time is the minimum time required for the application layer to sleep again when the preset application layer is awakened and no other execution instructions are received. That is to say, when the application layer is awakened, but no execution instructions are received within the preset application layer sleep time, it means that the application layer may be awakened by accident, and the application layer does not need to perform any operation at this time (for example, someone accidentally touches the door handle of the vehicle, but no subsequent execution instructions are issued to the application layer), and the application layer will sleep again at this time to reduce power consumption.

[0085] Therefore, in the present application, when no wake-up command is received and the second application layer timing time is less than the preset application layer sleep time, it means that during the application layer timing process, the total sleep time of the vehicle network has reached the preset wake-up time. At this time, the sum of the first application layer timing time, the bottom layer stop timing time and the second application layer timing time is determined as the total timing time. In this way, the total timing time can be accurately determined by relaying timing of the application layer, the bottom layer and the application layer in sequence.

[0086] In the present application, when no wake-up command is received and the second application layer timing time is less than the preset application layer sleep time, the total timing time can be accurately determined by relaying the timing of the application layer, the bottom layer and the application layer in sequence, thereby improving the accuracy of the determined total timing time and facilitating the application layer to perform subsequent processing.

[0087] In some embodiments, see Figure 5 As shown, the step S233 determines the total timing time based on the first application layer timing time, the bottom layer stop timing time and the second application layer timing time, including:

[0088] In response to not receiving the wake-up instruction and the second application layer timing time reaching the preset application layer sleep time, controlling the application layer to sleep and controlling the timer to stop timing, and storing the second application layer timing time when the timing is stopped as the application layer stop timing time;

[0089] Start the bottom-level timing module to start timing, store and update the second bottom-level timing time of the timing module in real time;

[0090] The sum of the first application layer timing time, the bottom layer stop timing time, the application layer stop timing time and the second bottom layer timing time is determined as the total timing time.

[0091] Specifically, when no wake-up command is received and the second application layer timing time reaches the preset application layer sleep time, and the application layer has reached the time to sleep again, the application layer is controlled to sleep and the timer is controlled to stop timing, and the second application layer timing time when the timing stops is stored as the application layer stop timing time.

[0092] After the application layer goes into sleep again, the bottom-layer timing module is started to start timing, the second bottom-layer timing time of the timing module is stored and updated in real time, and the sum of the first application layer timing time, the bottom-layer stop timing time, the application layer stop timing time and the second bottom-layer timing time is determined as the total timing time.

[0093] In the present application, when no wake-up instruction is received and the second application layer timing time reaches the preset application layer sleep time, the application layer is controlled to sleep again, and then the bottom layer continues to relay timing, and finally the sum of the first application layer timing time, the bottom layer stop timing time, the application layer stop timing time and the second bottom layer timing time is determined as the total timing time, that is, the total timing time is determined by relay timing of the application layer, the bottom layer, the application layer and the bottom layer in sequence, so as to improve the accuracy of the final determined total timing time.

[0094] In some embodiments, the step S210 starts a timer of the application layer to start timing until the application layer goes into sleep mode, and stores the timing time of the timer as the first application layer timing time, including:

[0095] Start the timer of the application layer to start timing, store and update the real-time timing time of the timer in real time;

[0096] In response to the real-time timing time remaining unchanged within a preset period of time, it is determined that the application layer is dormant, and the unchanged real-time timing time is stored as the first application layer timing time.

[0097] Specifically, the timer of the application layer is started to start timing, and the real-time timing time of the timer is stored and updated in real time. When the real-time timing time remains unchanged within a preset period of time, it means that the application layer has entered sleep mode, and the unchanged real-time timing time is stored as the first application layer timing time.

[0098] The preset period is the minimum time for the preset real-time timing time to remain unchanged. The preset period can be the time required for the real-time timing time to be updated once. Exemplarily, the time required for the real-time timing time to be updated once is 1 second, and the preset period is 1 second. If the real-time timing time does not remain unchanged within 1 second and is not updated, it means that the application layer has been dormant at this time, and the final real-time timing time that remains unchanged is stored as the first application layer timing time, that is, the final timing time of the first timing of the application layer.

[0099] In the present application, the timer of the dynamic application layer starts timing until the application layer goes into sleep mode, making full use of the time period when the application layer is not in sleep mode. Timing is performed based on the application layer, which not only improves the accuracy of timing, but also facilitates the application layer to perform other related operations during the time period when the application layer is not in sleep mode.

[0100] In some embodiments, the step S220 starts the bottom-level timing module to start timing, stores and updates the first bottom-level timing time of the timing module in real time, including:

[0101] The target module of the bottom layer is controlled to sleep and the timing module of the bottom layer is started to start timing, and the first bottom timing time of the timing module is stored and updated in real time; wherein, the target module is all modules in the bottom layer except the timing module.

[0102] Specifically, after the application layer goes into sleep mode, the target module of the bottom layer is controlled to go into sleep mode and the timing module of the bottom layer is started to start timing, and the first bottom layer timing time of the timing module is stored and updated in real time; wherein the target module is all modules in the bottom layer except the timing module. That is, when the bottom layer goes into sleep mode, the timing module of the bottom layer is controlled not to go into sleep mode, so that it continues timing, so as to accurately time the sleep time of the vehicle network.

[0103] In the present application, after the application layer goes into sleep mode, the timing module at the bottom layer is controlled to continue timing, but the target module at the bottom layer is controlled to go into sleep mode, which can not only accurately time the sleep time of the vehicle network, but also reduce the power consumption of the vehicle as much as possible.

[0104] In some embodiments, the vehicle network wake-up method includes:

[0105] 1. When the vehicle is offline, the time to be woken up (i.e. preset wake-up time) is written into the storage space through the diagnostic instrument;

[0106] 2. When the sleep wake-up module requests network sleep, the application layer reads the network channel status;

[0107] 3. When the network channel status changes to dormant status, the application layer starts the countdown and writes the remaining time (i.e. real-time timing time) into the storage space in real time;

[0108] 4. Since the application layer goes to sleep before the underlying layer, when the underlying layer reads that the remaining time in the storage space does not change, the application layer is considered to have gone to sleep;

[0109] 5. The bottom layer goes into sleep mode, and only the timing module of the bottom layer is kept counting down;

[0110] 6. If during the bottom layer countdown period, a local wake-up call wakes up the bottom layer (only wakes up the bottom layer, not the network), the bottom layer feeds back the elapsed time (i.e. the bottom layer stop timing time) to the application layer through the interface;

[0111] 7. The application layer reads the remaining time before sleep in the storage space and subtracts the sleep time, continues to count down, and continues to write the remaining time (ie, the second application layer timing time) into the storage space.

[0112] 8. After the application layer goes to sleep again, the bottom layer continues to relay the timing;

[0113] 9. After the bottom layer relay timing arrives, wake up the bottom layer and pass the wake-up source as "wake-up time has arrived". After the dormant wake-up module reads it, wake up the vehicle network;

[0114] 10. The application layer sends instructions to shut down peripherals to save power.

[0115] In this application, the application layer interface and the underlying timing can be decoupled from each other, and when there is a wake-up request, the timing can be relayed to achieve the purpose of waking up the network. In addition, the application layer and the underlying layer relay timing method is conducive to the standardized development of timing requirements, and reserves the development interface for subsequent additional timing requirements.

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

[0117] It should be noted that some embodiments of the present application are described above. In some cases, the actions or steps recorded in the above embodiments can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0118] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a vehicle network wake-up device.

[0119] refer to Figure 6 , the vehicle network wake-up device comprises:

[0120] The control module 100 is configured to control the vehicle network to sleep in response to receiving a vehicle sleep instruction;

[0121] The determination module 200 is configured to start the timer of the application layer and the timing module of the bottom layer in sequence to perform timing, and determine the total timing time of the timer and the timing module;

[0122] The execution module 300 is configured to wake up the vehicle network in response to the total time reaching a preset wake-up time.

[0123] In some embodiments, the determination module 200 is configured to:

[0124] Starting a timer of the application layer to start timing until the application layer goes into sleep mode, and storing the timing time of the timer as a first application layer timing time;

[0125] Start the bottom-level timing module to start timing, store and update the first bottom-level timing time of the timing module in real time;

[0126] The total timing time is determined based on the first application layer timing time and the first bottom layer timing time.

[0127] In some embodiments, the determination module 200 is configured to:

[0128] In response to not receiving the wake-up instruction, the sum of the first application layer timing time and the first bottom layer timing time is determined as the total timing time.

[0129] In some embodiments, the determination module 200 is configured to:

[0130] In response to receiving a wake-up instruction from a bottom-layer wake-up source, the bottom layer and the application layer are woken up, a timing module of the bottom layer is controlled to stop timing, and the first bottom-layer timing time when the timing is stopped is stored as the bottom-layer stop timing time;

[0131] Start the timer of the application layer to start timing, store and update the timing time of the second application layer of the timer in real time;

[0132] The total timing time is determined based on the first application layer timing time, the bottom layer stop timing time, and the second application layer timing time.

[0133] In some embodiments, the determination module 200 is configured to:

[0134] In response to not receiving a wake-up instruction and the second application layer timing time being less than a preset application layer sleep time, the sum of the first application layer timing time, the bottom layer stop timing time and the second application layer timing time is determined as the total timing time.

[0135] In some embodiments, the determination module 200 is configured to:

[0136] In response to not receiving the wake-up instruction and the second application layer timing time reaching the preset application layer sleep time, controlling the application layer to sleep and controlling the timer to stop timing, and storing the second application layer timing time when the timing is stopped as the application layer stop timing time;

[0137] Start the bottom-level timing module to start timing, store and update the second bottom-level timing time of the timing module in real time;

[0138] The sum of the first application layer timing time, the bottom layer stop timing time, the application layer stop timing time and the second bottom layer timing time is determined as the total timing time.

[0139] In some embodiments, the determination module 200 is configured to:

[0140] Start the timer of the application layer to start timing, store and update the real-time timing time of the timer in real time;

[0141] In response to the real-time timing time remaining unchanged within a preset period of time, it is determined that the application layer is dormant, and the unchanged real-time timing time is stored as the first application layer timing time.

[0142] In some embodiments, the determination module 200 is configured to:

[0143] The target module of the bottom layer is controlled to sleep and the timing module of the bottom layer is started to start timing, and the first bottom timing time of the timing module is stored and updated in real time; wherein, the target module is all modules in the bottom layer except the timing module.

[0144] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0145] The device of the above embodiment is used to implement the corresponding vehicle network wake-up method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0146] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the vehicle network wake-up method described in any of the above embodiments is implemented.

[0147] Figure 7 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

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

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

[0150] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. 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.

[0151] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0152] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0153] 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, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0154] The electronic device of the above embodiment is used to implement the corresponding vehicle network wake-up method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0155] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle network wake-up method described in any of the above embodiments.

[0156] 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. Information can be computer-readable instructions, data structures, modules of programs, 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 technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0157] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the vehicle network wake-up method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0158] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the vehicle network wake-up method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.

[0159] Based on the same inventive concept, corresponding to any of the above embodiments and methods, the present application further provides a vehicle, including the device, electronic device, storage medium or computer program product described in any of the above embodiments. The vehicle has the beneficial effects of any of the above embodiments, which will not be described in detail here.

[0160] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, 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.

[0161] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0162] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. 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.

[0163] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0164] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0165] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application 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 to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0166] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

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

Claims

1. A vehicle network wake-up method, characterized in that: include: In response to receiving a vehicle sleep instruction, controlling the vehicle network to sleep; Starting the timer of the application layer to count until the application layer goes into sleep mode, and then starting the timing module of the bottom layer to count, and determining the total timing time of the timer and the timing module; In response to the total time reaching a preset wake-up time, the vehicle network is woken up.

2. The method according to claim 1, characterized in that The starting of the timer of the application layer to count until the application layer is dormant, and then starting the timing module of the bottom layer to count, and determining the total timing time of the timer and the timing module, includes: Starting a timer of the application layer to start timing until the application layer goes into sleep mode, and storing the timing time of the timer as the first application layer timing time; Start the bottom-level timing module to start timing, store and update the first bottom-level timing time of the timing module in real time; The total timing time is determined based on the first application layer timing time and the first bottom layer timing time.

3. The method according to claim 2, characterized in that The determining the total time based on the first application layer timing time and the first bottom layer timing time includes: In response to not receiving the wake-up instruction, the sum of the first application layer timing time and the first bottom layer timing time is determined as the total timing time.

4. The method according to claim 2, characterized in that: The determining the total time based on the first application layer timing time and the first bottom layer timing time includes: In response to receiving a wake-up instruction from a bottom-layer wake-up source, the bottom layer and the application layer are woken up, a timing module of the bottom layer is controlled to stop timing, and the first bottom-layer timing time when the timing is stopped is stored as the bottom-layer stop timing time; Start the timer of the application layer to start timing, store and update the timing time of the second application layer of the timer in real time; The total timing time is determined based on the first application layer timing time, the bottom layer stop timing time, and the second application layer timing time.

5. The method according to claim 4, characterized in that The determining the total timing time based on the first application layer timing time, the bottom layer stop timing time and the second application layer timing time includes: In response to not receiving a wake-up instruction and the second application layer timing time being less than a preset application layer sleep time, the sum of the first application layer timing time, the bottom layer stop timing time and the second application layer timing time is determined as the total timing time.

6. The method according to claim 4, characterized in that The determining the total timing time based on the first application layer timing time, the bottom layer stop timing time and the second application layer timing time includes: In response to not receiving the wake-up instruction and the second application layer timing time reaching the preset application layer sleep time, controlling the application layer to sleep and controlling the timer to stop timing, and storing the second application layer timing time when the timing is stopped as the application layer stop timing time; Start the bottom-level timing module to start timing, store and update the second bottom-level timing time of the timing module in real time; The sum of the first application layer timing time, the bottom layer stop timing time, the application layer stop timing time and the second bottom layer timing time is determined as the total timing time.

7. The method according to claim 2, characterized in that The timer for starting the application layer starts timing until the application layer goes into sleep mode, and the timing time of the timer is stored as the first application layer timing time, including: Start the timer of the application layer to start timing, store and update the real-time timing time of the timer in real time; In response to the real-time timing time remaining unchanged within a preset period of time, it is determined that the application layer is dormant, and the unchanged real-time timing time is stored as the first application layer timing time.

8. The method according to claim 2, characterized in that: The step of starting the bottom-level timing module to start timing, storing and updating the first bottom-level timing time of the timing module in real time includes: The target module of the bottom layer is controlled to sleep and the timing module of the bottom layer is started to start timing, and the first bottom timing time of the timing module is stored and updated in real time; wherein, the target module is all modules in the bottom layer except the timing module.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.

10. A vehicle comprising the electronic device according to claim 9.