CN117812116A - Vehicle dormancy method and device, electronic equipment and vehicle - Google Patents

Vehicle dormancy method and device, electronic equipment and vehicle Download PDF

Info

Publication number
CN117812116A
CN117812116A CN202211169564.9A CN202211169564A CN117812116A CN 117812116 A CN117812116 A CN 117812116A CN 202211169564 A CN202211169564 A CN 202211169564A CN 117812116 A CN117812116 A CN 117812116A
Authority
CN
China
Prior art keywords
time
bus
local
network
network signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211169564.9A
Other languages
Chinese (zh)
Inventor
崔书超
王春光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202211169564.9A priority Critical patent/CN117812116A/en
Publication of CN117812116A publication Critical patent/CN117812116A/en
Pending legal-status Critical Current

Links

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The method, the device, the electronic equipment and the vehicle for vehicle dormancy provided by the application determine the timing time according to the vanishing time point of the network signal, compare the timing time with the preset judging time, generate and send the dormancy instruction according to the comparison result, avoid directly dormancy of the vehicle at the vanishing time point of the network signal, and realize the delay generation of the dormancy instruction by comparing the timing time with the judging time, thereby avoiding the awakening of the dormant vehicle by the network signal in the judging time, further reducing the awakening times of the dormant vehicle and improving the dormancy efficiency of the vehicle.

Description

Vehicle dormancy method and device, electronic equipment and vehicle
Technical Field
The application relates to the technical field of vehicle energy management, in particular to a vehicle dormancy method and device, electronic equipment and a vehicle.
Background
With the development of vehicle electrical technology, more controllers in a vehicle are provided, more network signals are required by the controllers, the continuous existence of the network signals can lead to the whole vehicle to be in a high-power consumption mode after being electrified, and then the vehicle quiescent current can be caused to be too large when the vehicle is statically placed, so that the storage battery is caused to be deficient in power.
Typically, the vehicle enters a sleep state after the network signal disappears, thereby causing the vehicle to operate in a low power mode. However, due to the characteristic that the network signal is intermittently generated, the vehicle entering the sleep state is frequently awakened, and the power consumption of the vehicle is increased. Therefore, in order to reduce the power consumption of the vehicle and to extend the service life of the vehicle electronics, there is a need for an improvement in the time relationship between the vanishing time point of the network signal and the sleep command.
Disclosure of Invention
In view of the foregoing, an object of the present application is to provide a vehicle sleep method, apparatus, electronic device and vehicle, which are used for solving or partially solving the above technical problems.
In view of the above object, a first aspect of the present application provides a vehicle sleep method, including:
acquiring a network signal in a vehicle and determining a vanishing time point corresponding to the network signal;
the vanishing time point is used as a starting time to be timed, and an ending time is determined according to the network signal;
determining a timing time from the start time and the end time;
comparing the timing time with a preset judging time to obtain a comparison result;
and generating a dormancy instruction according to the comparison result, and sending the dormancy instruction to a network link where the network signal is located so that the network link enters a dormancy state.
A second aspect of the present application provides a vehicle sleep device comprising:
the acquisition module is configured to acquire a network signal in a vehicle and determine a vanishing time point corresponding to the network signal;
a timing module configured to time the vanishing time point as a start time and determine an end time according to the network signal;
a determining module configured to determine a timing time from the start time and the end time;
the comparison module is configured to compare the timing time with preset judgment time to obtain a comparison result;
and the generation module is configured to generate a dormancy instruction according to the comparison result and send the dormancy instruction to a network link where the network signal is located so that the network link enters a dormancy state.
A third aspect of the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method as provided in the first aspect of the present application when executing the program.
A fourth aspect of the present application provides a vehicle comprising a vehicle sleep device as described in the second aspect of the present application or an electronic apparatus as described in the third aspect of the present application.
From the above, it can be seen that the vehicle dormancy method, the device, the electronic equipment and the vehicle provided by the application determine the timing time according to the vanishing time point of the network signal, compare the timing time with the preset judgment time, generate and send the dormancy instruction according to the comparison result, avoid directly dormancy of the vehicle at the vanishing time point of the network signal, and realize the delay generation of the dormancy instruction by comparing the timing time with the judgment time, thereby avoiding the awakening of the dormant vehicle by the network signal in the judgment time, further reducing the awakening times of the dormant vehicle, and improving the dormancy efficiency of the vehicle.
Drawings
In order to more clearly illustrate the technical solutions of the present application or related art, the drawings that are required to be used in the description of the embodiments or related art will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
Fig. 1 is a schematic flow chart of a vehicle sleep method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a vehicle sleep device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings.
It should be noted that unless otherwise defined, technical or scientific terms used in the embodiments of the present application should be given the ordinary meaning as understood by one of ordinary skill in the art to which the present application belongs. The terms "first," "second," and the like, as used in embodiments of the present application, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
As described in the background art, the controller of the vehicle may implement control of the vehicle in a layered architecture, where the controller is divided into ASW (Application Software Layer, application layer), RTE (Runtime Environment, running environment layer), BSW (Basic Software Layer, bottom layer) and control unit from top to bottom, where the application layer is located at an upper layer of the running environment layer, the running environment layer is located at an upper layer of the bottom layer, the bottom layer is located at an upper layer of the control unit, software of the controller includes the application layer, the running environment layer and the bottom layer, and hardware of the controller includes the control unit.
In order to ensure the independence of the application layer, the operation environment layer, the bottom layer and the control unit, each layer can only use the interface provided by the next layer and provide a corresponding interface for the previous layer. Thus, the software and hardware in the vehicle controller are separately developed and verified through the layered architecture of the controller.
In order to achieve low power operation of the controller, the sleep unit in the application layer may choose to generate an application layer sleep instruction, an underlying sleep instruction, and a control unit sleep instruction at appropriate times, and send the application layer sleep instruction, the underlying sleep instruction, and the control unit sleep instruction to the application layer.
The problems with this are: when the application layer, the bottom layer and the control unit enter the dormant state, when bus network signals corresponding to the application layer appear for a plurality of times within a period of time, the application layer, the bottom layer and the control unit can wake up for a plurality of times, and then the vehicle controller is switched between the dormant state and the wake-up state for a plurality of times, so that the service life of the electronic devices of the vehicle controller is influenced.
Therefore, to improve the dormancy efficiency of vehicle control and extend the service life of vehicle electronics, it is desirable to dormancy the network links corresponding to the application layer and the underlying layer.
As shown in fig. 1, the method of the present embodiment includes:
step 101, acquiring a network signal in a vehicle and determining a vanishing time point corresponding to the network signal.
In this step, the network signal refers to a signal capable of indicating that the vehicle is operating in a high power consumption state, and for example, the network signal may be a LIN (Local Interconnect Network, local bus) signal and a CAN (Controller Area Network ) signal in an AUTOSAR (Automotive Open System Architecture, automobile open system architecture).
The vanishing time point refers to a time point when the network signal completes transmission. Specifically, an application layer in the vehicle controller can send a query request for querying a network signal to a bottom layer in real time, and the bottom layer obtains a vanishing time point corresponding to the network signal from the application layer according to the query request and sends the vanishing time point to the application layer.
In this way, the vanishing time point can provide a starting time reference for a subsequent timing process, and vehicle dormancy directly at the vanishing time point of the network signal is avoided.
And 102, timing the vanishing time point as a starting time, and determining an ending time according to the network signal.
In this step, in order to avoid the vehicle dormancy directly at the vanishing point of the network signal, the end time of the timing process is determined according to whether a new network signal exists, and a timing basis is provided for the determination of the subsequent timing time.
The start time refers to a timing start time point of the timing process, and the end time refers to a timing end time point of the timing process. For example, the start time may be 10 minutes 30 seconds at the stop lamp signal disappearing time point, and the end time may be 21 minutes 30 seconds at the right rear turn lamp signal acquiring time point 10.
In this way, the determination of the start time and the end time provides a data basis for the determination of the subsequent timing time.
Step 103, determining a timing time through the starting time and the ending time.
In this step, the timer time refers to the time between the vanishing time point of the network signal and the receiving time point of the new network signal, for example, the time between the vanishing time point of the brake light signal and the acquisition time point of the right rear turn light signal. For example, the start time may be a brake light signal disappearing time point 10 points for 20 minutes 30 seconds, the end time may be a right rear turn light signal acquiring time point 10 points for 21 minutes 30 seconds, and the time-counting time determined according to the start time and the end time may be 1 minute.
In this way, the determination of the timing time provides a comparison basis for the comparison of the subsequent and judgment times.
And 104, comparing the timing time with a preset judging time to obtain a comparison result.
In this step, the judgment time refers to a time at which a sleep instruction can be generated, for example, a time between a stop lamp signal disappearing time point and a right rear turn lamp signal acquiring time point is 1min, and the judgment time is 2min, so that the comparison result is that the time 1min is less than the judgment time 2min.
Therefore, different comparison results correspond to different dormancy instructions, and a judgment basis can be provided for the subsequent generation of the dormancy instructions according to the comparison results of the timing time and the judgment time.
And 105, generating a dormancy instruction according to the comparison result, and sending the dormancy instruction to a network link where the network signal is located, so that the network link enters a dormancy state.
In this step, the sleep instruction refers to an instruction capable of causing the network link to enter a sleep state, for example, the sleep instruction may be a CAN bus sleep instruction sent by the application layer to the bottom layer after 2 minutes. Thus, delay generation of the dormancy instruction is realized, and the awakening of the dormant vehicle by the network signal in the judging time is avoided, so that the awakening times of the dormant vehicle are reduced, and the dormancy efficiency of the vehicle is improved.
Therefore, delay generation of the dormancy instruction is realized through comparison of the timing time and the judging time, so that awakening of the dormant vehicle by the network signal in the judging time is avoided, the awakening times of the dormant vehicle are reduced, and the dormancy efficiency of the vehicle is improved.
According to the scheme, the timing time is determined according to the vanishing time point of the network signal, the timing time is compared with the preset judging time, and the dormancy instruction is generated and sent according to the comparison result, so that the vehicle dormancy is prevented from being directly carried out at the vanishing time point of the network signal, and the delay generation of the dormancy instruction is realized through the comparison of the timing time and the judging time, so that the network signal appearing in the judging time is prevented from waking up the dormant vehicle, the number of times of waking up the dormant vehicle is reduced, and the dormancy efficiency of the vehicle is improved.
In some embodiments, the network signal comprises: bus network signals and local network signals;
the acquiring the network signal in the vehicle and determining the vanishing time point corresponding to the network signal comprises the following steps:
acquiring a bus network signal and a local network signal;
acquiring a plurality of first ending time points corresponding to the bus network signals;
Acquiring a plurality of second ending time points corresponding to the local network signals;
determining the vanishing time point according to the plurality of first end time points and the plurality of second end time points.
In the above scheme, the bus network signal refers to a signal transmitted in a network link connected to the application layer, and the local network signal refers to a signal transmitted in a network link connected to the bottom layer. The first end time point refers to a time point when a single network signal in the bus network signal ends transmission, and the second end time point refers to a time point when a single network signal in the local network signal ends transmission.
Specifically, the bus network signal may be a plurality of network signals, and when there are a plurality of network signals in the network link while being transmitted, the first end time point of each of the plurality of network signals may be different, for example, the bus network signal may be a right rear turn signal output signal, a brake light output signal, and a rear fog light switch signal that are simultaneously transmitted in the network link, so the plurality of first end time points may be a first end time point 10 point 22 minutes 30 seconds of the right rear turn signal output signal, a first end time point 10 point 20 minutes 30 seconds of the brake light output signal, and a first end time point 10 point 21 minutes 30 seconds of the rear fog light switch signal.
The local network signal may be a plurality of network signals, and when the plurality of network signals are present in the network link while being transmitted, a second end time point of each of the plurality of network signals may be different, for example, the local network signal may be a left side mirror vertical adjustment motor signal, a left side mirror adjustment angle sensor signal, and a right side mirror adjustment angle sensor signal that are simultaneously transmitted in the network link, so the plurality of second end time points may be a second end time point 10 of the left side mirror vertical adjustment motor signal for 23 minutes 30 seconds, a second end time point 10 of the left side mirror adjustment angle sensor signal for 26 minutes 45 seconds, and a second end time point 10 of the right side mirror adjustment angle sensor signal for 26 minutes 30 seconds.
By the scheme, a data basis is provided for the determination of the subsequent vanishing time point.
In some embodiments, the vanishing time point comprises: bus vanishing time point and local vanishing time point;
said determining said vanishing time point from said first end time point and said second end time point comprises:
the determining the vanishing time point according to the plurality of first end time points and the plurality of second end time points includes:
Sequencing the plurality of first ending time points according to the sequence from the early to the late to obtain a first sequencing result;
sequencing the plurality of second ending time points according to the sequence from the early to the late to obtain a second sequencing result;
taking the latest first ending time point in the first sequencing result as the bus vanishing time point;
and taking the latest second ending time point in the second sorting result as the local vanishing time point.
In the above-described scheme, in order to determine the latest end time point of the bus network signal and the local network signal, the end times corresponding to the bus network signal and the local network signal are ordered in the order from early to finish, and the latest end time point in the ordering result is taken as the vanishing time point.
The bus vanishing time point refers to a vanishing time point corresponding to the bus network signal, and the local vanishing time point refers to a vanishing time point corresponding to the local network signal.
The first ordering result refers to ordering results of the plurality of first end time points ordered in the order from the early to the late, for example, the plurality of first end time points may be 10 points 21 minutes 30 seconds, 10 points 22 minutes 30 seconds, 10 points 20 minutes 30 seconds, then the first ordering result may be 10 points 20 minutes 30 seconds, 10 points 21 minutes 30 seconds, 10 points 22 minutes 30 seconds, and the bus vanishing time point may be 10 points 22 minutes 30 seconds.
The second ordering result refers to ordering results obtained by ordering the plurality of second end time points in the order from the morning to the evening, for example, the plurality of second end time points may be 10 points 24 minutes 30 seconds, 10 points 23 minutes 30 seconds, 10 points 26 minutes 30 seconds, then the second ordering result may be 10 points 23 minutes 30 seconds, 10 points 26 minutes 45 seconds, 10 points 26 minutes 30 seconds, and the local vanishing time point may be 10 points 26 minutes 45 seconds.
By the scheme, the bus starting time and the local starting time are provided for the subsequent timing process.
In some embodiments, the timing the vanishing time point as a start time and determining an end time from the network signal includes:
the bus vanishing time point is used as bus starting time to time, and bus ending time is determined according to the bus network signal;
and taking the local vanishing time point as a local starting time to time, and determining a local ending time according to the local network signal.
In the above scheme, timing is performed according to the bus vanishing time point and the local vanishing time point as starting times respectively, and a query request for querying a network signal is sent in real time to a network link through an application layer, the network link obtains state information of whether the network signal exists according to the query request, and sends the state information to the application layer, and the application layer determines the ending time according to the state information.
Specifically, the bus end time refers to an end time in a timing process corresponding to the bus start time, and the local end time refers to an end time in a timing process corresponding to the local start time. For example, the bus start time may be 10 minutes 30 seconds of the stop lamp signal vanishing time point, and the bus end time may be 21 minutes 30 seconds of the right rear turn lamp signal acquisition time point 10. The local start time may be 10 minutes 30 seconds of the right side mirror adjustment angle sensor signal vanishing time point, and the local end time may be 10 minutes 45 seconds of the left side mirror adjustment angle sensor signal acquisition time point.
By the scheme, the bus ending time and the local ending time are provided for the subsequent timing process.
In some embodiments, the timing time comprises: bus timing time and local timing time; determining a timing time from the start time and the end time, comprising:
judging whether a new bus network signal exists after the bus starting time to obtain a first judging result;
in response to determining that the first judgment result is that a new bus network signal exists, recording bus acquisition time of the new bus network signal;
The bus acquisition time is used as bus ending time corresponding to the bus starting time, and the bus timing time is obtained;
judging whether a new local network signal exists after the local start time to obtain a second judging result;
responsive to determining that the second determination result is that a new local network signal exists, recording a local acquisition time of the new local network signal;
and taking the local acquisition time as a local ending time corresponding to the bus starting time to obtain the local timing time.
In the above scheme, the application layer determines the end time of the timing according to whether a new network signal exists in the state information, and when the new network signal exists, the application layer ends the timing.
Specifically, the application layer may start the sleep monitor timer to count according to the vanishing time point as the start time, and when the application layer determines that a new network signal exists according to the state information, the sleep monitor timer counts up and records the end time, and counts up the count time according to the time between the start time and the end time.
For example, the bus start time may be 10 minutes and 30 seconds from the stop lamp signal disappearance time point, and after the bus start time, a new bus network signal appears, and then the acquisition time of the right back turn lamp signal is 10 minutes and 30 seconds as the bus end time. The local start time may be a point of time of 10 minutes and 30 seconds when the right side rearview mirror adjustment angle sensor signal disappears, after the local start time, a new local network signal appears to obtain the left side rearview mirror adjustment angle sensor signal, and then the point of time of 10 minutes and 45 seconds when the left side rearview mirror adjustment angle sensor signal obtains is taken as the local end time.
It will be appreciated that the timing of the sleep monitor timer is cleared when a new network signal occurs within the decision time.
Through the scheme, a data basis is provided for comparison of the follow-up timing time and the judgment time.
In some embodiments, the determining the time includes: bus judgment time and local judgment time; comparing the timing time with a preset judging time to obtain a comparison result, wherein the comparing comprises the following steps:
comparing the bus timing time with preset bus judging time to obtain a bus comparison result;
and comparing the local timing time with a preset local judging time to obtain a local comparison result.
In the above-described aspect, the bus determination time refers to a time at which the bus sleep instruction can be generated, and the local determination time refers to a time at which the local sleep instruction can be generated. For example, the time between the disappearance time point of the brake light signal of the bus network signal and the acquisition time point of the right rear turn light signal of the bus network signal is 1min, the bus judgment time is 2min, and the bus comparison result is that the bus timing time is smaller than the bus judgment time.
According to the scheme, different comparison results correspond to different dormancy instructions, so that a judgment basis can be provided for the subsequent generation of the dormancy instructions according to the comparison results of the timing time and the judgment time.
In some embodiments, the generating a sleep instruction according to the comparison result, and sending the sleep instruction to a network link where the network signal is located, includes:
generating a bus network dormancy instruction and sending the bus network dormancy instruction to a network link where the bus network signal is located in response to determining that the bus comparison result is that the bus timing time is greater than or equal to the bus judgment time;
generating a local network dormancy instruction and sending the local network dormancy instruction to the local network in response to the determination that the local comparison result is that the local timing time is greater than or equal to the local judgment time;
and acquiring a sending time point for sending the local network dormancy instruction, taking the sending time point as a waiting starting time point, generating a control unit dormancy instruction after preset waiting time, and sending the control unit dormancy instruction to a control unit so as to enable the control unit to enter a dormancy state, wherein the control unit is used for controlling the action of a vehicle.
In the above scheme, the bus sleep instruction refers to an instruction capable of making the bus network enter a sleep state, and the local sleep instruction refers to an instruction capable of making the local network enter a sleep state.
Specifically, the control unit refers to a unit for controlling the motion of the vehicle, the control unit is connected with the bottom layer, and the application layer can realize dormancy and awakening of the control unit through the bottom layer.
The present embodiment may further include:
responding to the bus comparison result that the bus timing time is smaller than the bus judgment time, and acquiring a bus vanishing time point corresponding to the new bus network signal;
taking the bus vanishing time point corresponding to the new bus network signal as a new bus starting time for timing, and obtaining a new bus timing time according to the new bus network signal;
responding to the determination that the local comparison result is that the local timing time is smaller than the local judging time, and acquiring a local vanishing time point corresponding to the new local network signal;
and taking the local vanishing time point corresponding to the new local network signal as a new local starting time for timing, and obtaining a new local timing time according to the new local network signal.
Specifically, when the bus timing time is more than or equal to the bus judging time of 2min, generating a bus network dormancy instruction by using a bus network dormancy function and sending the bus network dormancy instruction to a network link where the bus network signal is located; however, when the bus timing time 1min is less than the bus judging time 2min, since the bus timing time 1min is determined according to the new bus network signal, that is, the new bus network signal appears in the bus judging time, if the network link where the bus network signal is located enters the sleep state at the bus vanishing time point, the new bus network signal wakes up the network link in the sleep state, and the wake-up times of the dormant network link are increased.
In this embodiment, the network link where the bus network link is located enters the sleep state after the bus judgment time, so when a new bus network signal occurs, the network link is not in the sleep state, so that the wake-up of the dormant network link in the bus judgment time is avoided, and the wake-up times of the dormant network link are reduced.
When a new bus network signal exists in the network link, the new bus timing time can be obtained by taking the bus vanishing time point corresponding to the new bus network signal as the new bus starting time to time, and a dormancy judgment basis is provided for dormancy of the network link where the subsequent bus network signal is located.
When the local timing time 2min is greater than or equal to the local judging time 1min, generating a local network dormancy instruction by utilizing a local network dormancy function and sending the local network dormancy instruction to a network link where the local network signal is located; however, when the local time 0.5min is less than the local judgment time 1min, the local time 0.5min is determined according to the new local network signal, that is, the new local network signal appears in the local judgment time, if the network link where the local network signal is located enters the dormant state at the local vanishing time point, the new local network signal wakes up the network link in the dormant state, and the number of wake-up times of the dormant network link is increased.
In this embodiment, the network link where the local network link is located enters the sleep state after the local judgment time, so when a new local network signal occurs, the network link is not in the sleep state, and therefore, the wake-up of the dormant network link in the local judgment time is avoided.
When a new local network signal exists in the network link, the local vanishing time point corresponding to the new local network signal can be used as the new local starting time to count time, so as to obtain the new local timing time, and a dormancy judgment basis is provided for dormancy of the network link where the subsequent local network signal is located.
By the scheme, delay generation of the dormancy instruction is realized, and the phenomenon that the network signal appears in the judging time wakes the dormant vehicle is avoided, so that the number of times of waking the dormant vehicle is reduced, and the dormancy efficiency of the vehicle is improved.
In some embodiments, the method further comprises:
in response to determining that a new local network signal or a new bus network signal is acquired after the wait start time point, generating a bus wake-up signal and a local wake-up signal and sending the bus wake-up signal and the local wake-up signal to the bus network and the local network, respectively.
In the above-described scheme, the bus wakeup signal refers to a signal capable of waking up the bus network that has entered the sleep state, and the local wakeup signal refers to a signal capable of waking up the local network that has entered the sleep state. The wake-up signal may be generated by a wake-up function in the application layer.
Specifically, after waiting for the start time point, the bus network and the local network have already entered a sleep state, and because the application layer sends a query signal for querying a local network signal or a bus network signal to a network link including the bus network and the local network in real time, the network link obtains the local network signal or state information of the bus network signal according to the query signal, and sends the state information to the application layer, and when the state information includes a new local network signal or a new bus network signal, the application layer generates a bus wake-up signal and a local wake-up signal. In this way, through the delayed dormancy of the bus network and the local network, the wake-up of the network link by the new bus network signal and the local network signal in the delayed dormancy process is avoided.
By the aid of the scheme, the awakening times of the dormant vehicle are reduced, and the dormant efficiency of the vehicle is improved.
It should be noted that, the method of the embodiments of the present application may be performed by a single device, for example, a computer or a server. The method of the embodiment can also be applied to a distributed scene, and is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the methods of embodiments of the present application, and the devices may interact with each other to complete the methods.
It should be noted that some embodiments of the present application are described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Based on the same inventive concept, on the basis of the corresponding implementation manner of the above-mentioned example methods, the following specific implementation cases are possible.
In step 1, the application layer always detects whether a network maintaining source (corresponding to a bus network signal in the embodiment of the present application) exists, if the network maintaining source exists all the time, the network is maintained all the time (corresponding to a network link in the embodiment of the present application), if the last network maintaining source disappears, the timing is started for 2min (corresponding to the bus judgment time in the embodiment of the present application), and if a new network maintaining source appears within 2min, the network is continuously maintained and the timer is cleared.
And 2, if the 2min timing time is up, and no new network keeping source exists, the application layer sends a CAN (Controller Area Network ) dormancy instruction to the bottom layer, and then LIN (Local Interconnect Network, local Internet) dormancy waits to start 1min (corresponding to the local judgment time in the embodiment of the application) timing.
And 3, if a new local maintenance source (corresponding to a local network signal in the embodiment of the application) appears within 1min, continuing to keep local wakeup, if the 1min timing time is up, and if no new local maintenance source exists, the application layer sends an LIN sleep instruction to the bottom layer, and then waits for 3s (corresponding to the waiting time in the embodiment of the application), and the application layer sends the sleep instruction to the MCU (Micro-controller Unit) to enable the MCU to enter a low power consumption mode.
And step 4, if a new wake-up source (corresponding to the network signal in the embodiment of the application) exists during the waiting period, the application layer immediately sends a wake-up network instruction to wake up the network.
The vehicle dormancy method of the above embodiment has the beneficial effects of the vehicle dormancy method of any of the above embodiments, and is not described here again.
Based on the same inventive concept, the application also provides a vehicle dormancy device corresponding to the method of any embodiment.
Referring to fig. 2, the vehicle sleep device includes:
an acquisition module 201 configured to acquire a network signal in a vehicle and determine a vanishing time point corresponding to the network signal;
a timing module 202 configured to time the vanishing time point as a start time and determine an end time according to the network signal;
a determining module 203 configured to determine a timing time from the start time and the end time;
the comparison module 204 is configured to compare the timing time with a preset judgment time to obtain a comparison result;
the generating module 205 is configured to generate a sleep instruction according to the comparison result, and send the sleep instruction to a network link where the network signal is located, so that the network link enters a sleep state.
In some embodiments, the network signal comprises: the bus network signal and the local network signal, the acquisition module 201 is specifically configured to:
acquiring a bus network signal and a local network signal;
acquiring a plurality of first ending time points corresponding to the bus network signals;
acquiring a plurality of second ending time points corresponding to the local network signals;
determining the vanishing time point according to the plurality of first end time points and the plurality of second end time points.
In some embodiments, the vanishing time point comprises: the bus vanishing time point and the local vanishing time point, the obtaining module 201 is specifically further configured to:
the determining the vanishing time point according to the plurality of first end time points and the plurality of second end time points includes:
sequencing the plurality of first ending time points according to the sequence from the early to the late to obtain a first sequencing result;
sequencing the plurality of second ending time points according to the sequence from the early to the late to obtain a second sequencing result;
taking the latest first ending time point in the first sequencing result as the bus vanishing time point;
and taking the latest second ending time point in the second sorting result as the local vanishing time point.
In some embodiments, the timing module 202 is specifically configured to:
the bus vanishing time point is used as bus starting time to time, and bus ending time is determined according to the bus network signal;
and taking the local vanishing time point as a local starting time to time, and determining a local ending time according to the local network signal.
In some embodiments, the timing time comprises: the bus timing time and the local timing time, the determining module 203 is specifically configured to:
judging whether a new bus network signal exists after the bus starting time to obtain a first judging result;
in response to determining that the first judgment result is that a new bus network signal exists, recording bus acquisition time of the new bus network signal;
the bus acquisition time is used as bus ending time corresponding to the bus starting time, and the bus timing time is obtained;
judging whether a new local network signal exists after the local start time to obtain a second judging result;
responsive to determining that the second determination result is that a new local network signal exists, recording a local acquisition time of the new local network signal;
And taking the local acquisition time as a local ending time corresponding to the bus starting time to obtain the local timing time.
In some embodiments, the determining the time includes: the comparison module 204 is specifically configured to:
comparing the bus timing time with preset bus judging time to obtain a bus comparison result;
and comparing the local timing time with a preset local judging time to obtain a local comparison result.
In some embodiments, the generation module 205 is specifically configured to:
generating a bus network dormancy instruction and sending the bus network dormancy instruction to a network link where the bus network signal is located in response to determining that the bus comparison result is that the bus timing time is greater than or equal to the bus judgment time;
generating a local network dormancy instruction and sending the local network dormancy instruction to the local network in response to the determination that the local comparison result is that the local timing time is greater than or equal to the local judgment time;
and acquiring a sending time point for sending the local network dormancy instruction, taking the sending time point as a waiting starting time point, generating a control unit dormancy instruction after preset waiting time, and sending the control unit dormancy instruction to a control unit so as to enable the control unit to enter a dormancy state, wherein the control unit is used for controlling the action of a vehicle.
In some embodiments, the apparatus further comprises:
and a wake-up module configured to generate a bus wake-up signal and a local wake-up signal and to send the bus wake-up signal and the local wake-up signal to the bus network and the local network, respectively, in response to determining that a new local network signal or a new bus network signal is acquired after the wait start time point.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
The device of the foregoing embodiment is configured to implement the corresponding vehicle dormancy method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, the application also provides an electronic device corresponding to the method of any embodiment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the vehicle dormancy method of any embodiment when executing the program.
Fig. 3 shows a more specific hardware architecture of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. for executing relevant programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage device, dynamic storage device, or the like. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a touch screen, a microphone, various types of sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The electronic device of the foregoing embodiment is configured to implement the corresponding vehicle dormancy method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, corresponding to any of the above-described embodiments of the method, the present application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the vehicle dormancy method according to any of the above-described embodiments.
The computer readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer 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, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The storage medium of the foregoing embodiments stores computer instructions for causing the computer to execute the vehicle dormancy method according to any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein.
Based on the same inventive concept, the application also provides a vehicle corresponding to the method of any embodiment, which comprises the vehicle dormancy device, the electronic device or the storage medium in the embodiment, wherein the vehicle device realizes the vehicle dormancy method of any embodiment.
The vehicle of the foregoing embodiments is configured to perform the vehicle dormancy method according to any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the application (including the claims) is limited to these examples; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the present application, 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 brevity.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure the embodiments of the present application. Furthermore, the devices may be shown in block diagram form in order to avoid obscuring the embodiments of the present application, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform on which the embodiments of the present application are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.
While the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Accordingly, any omissions, modifications, equivalents, improvements and/or the like which are within the spirit and principles of the embodiments are intended to be included within the scope of the present application.

Claims (11)

1. A method of vehicle dormancy, comprising:
acquiring a network signal in a vehicle and determining a vanishing time point corresponding to the network signal;
the vanishing time point is used as a starting time to be timed, and an ending time is determined according to the network signal;
determining a timing time from the start time and the end time;
comparing the timing time with a preset judging time to obtain a comparison result;
and generating a dormancy instruction according to the comparison result, and sending the dormancy instruction to a network link where the network signal is located so that the network link enters a dormancy state.
2. The method of claim 1, wherein the network signal comprises: bus network signals and local network signals;
the acquiring the network signal in the vehicle and determining the vanishing time point corresponding to the network signal comprises the following steps:
Acquiring a bus network signal and a local network signal;
acquiring a plurality of first ending time points corresponding to the bus network signals;
acquiring a plurality of second ending time points corresponding to the local network signals;
determining the vanishing time point according to the plurality of first end time points and the plurality of second end time points.
3. The method of claim 2, wherein the vanishing time point comprises: bus vanishing time point and local vanishing time point;
the determining the vanishing time point according to the plurality of first end time points and the plurality of second end time points includes:
sequencing the plurality of first ending time points according to the sequence from the early to the late to obtain a first sequencing result;
sequencing the plurality of second ending time points according to the sequence from the early to the late to obtain a second sequencing result;
taking the latest first ending time point in the first sequencing result as the bus vanishing time point;
and taking the latest second ending time point in the second sorting result as the local vanishing time point.
4. A method according to claim 3, wherein said timing said vanishing time point as a start time and determining an end time from said network signal comprises:
The bus vanishing time point is used as bus starting time to time, and bus ending time is determined according to the bus network signal;
and taking the local vanishing time point as a local starting time to time, and determining a local ending time according to the local network signal.
5. The method of claim 4, wherein the timing time comprises: bus timing time and local timing time;
determining a timing time from the start time and the end time, comprising:
judging whether a new bus network signal exists after the bus starting time to obtain a first judging result;
in response to determining that the first judgment result is that a new bus network signal exists, recording bus acquisition time of the new bus network signal;
the bus acquisition time is used as bus ending time corresponding to the bus starting time, and the bus timing time is obtained;
judging whether a new local network signal exists after the local start time to obtain a second judging result;
responsive to determining that the second determination result is that a new local network signal exists, recording a local acquisition time of the new local network signal;
And taking the local acquisition time as a local ending time corresponding to the bus starting time to obtain the local timing time.
6. The method of claim 5, wherein the determining the time comprises: bus judgment time and local judgment time;
comparing the timing time with a preset judging time to obtain a comparison result, wherein the comparing comprises the following steps:
comparing the bus timing time with preset bus judging time to obtain a bus comparison result;
and comparing the local timing time with a preset local judging time to obtain a local comparison result.
7. The method of claim 6, wherein generating a sleep instruction according to the comparison result and transmitting the sleep instruction to a network link where the network signal is located comprises:
generating a bus network dormancy instruction and sending the bus network dormancy instruction to a network link where the bus network signal is located in response to determining that the bus comparison result is that the bus timing time is greater than or equal to the bus judgment time;
generating a local network dormancy instruction and sending the local network dormancy instruction to the local network in response to the determination that the local comparison result is that the local timing time is greater than or equal to the local judgment time;
And acquiring a sending time point for sending the local network dormancy instruction, taking the sending time point as a waiting starting time point, generating a control unit dormancy instruction after preset waiting time, and sending the control unit dormancy instruction to a control unit so as to enable the control unit to enter a dormancy state, wherein the control unit is used for controlling the action of a vehicle.
8. The method of claim 7, wherein the method further comprises:
in response to determining that a new local network signal or a new bus network signal is acquired after the wait start time point, generating a bus wake-up signal and a local wake-up signal, and sending the bus wake-up signal and the local wake-up signal to the bus network and the local network, respectively.
9. A vehicle sleep device, comprising:
the acquisition module is configured to acquire a network signal in a vehicle and determine a vanishing time point corresponding to the network signal;
a timing module configured to time the vanishing time point as a start time and determine an end time according to the network signal;
a determining module configured to determine a timing time from the start time and the end time;
The comparison module is configured to compare the timing time with preset judgment time to obtain a comparison result;
and the generation module is configured to generate a dormancy instruction according to the comparison result and send the dormancy instruction to a network link where the network signal is located so that the network link enters a dormancy state.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, the processor implementing the method of any one of claims 1 to 8 when the computer program is executed.
11. A vehicle comprising the vehicle sleep device of claim 9 or the electronic apparatus of claim 10.
CN202211169564.9A 2022-09-23 2022-09-23 Vehicle dormancy method and device, electronic equipment and vehicle Pending CN117812116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211169564.9A CN117812116A (en) 2022-09-23 2022-09-23 Vehicle dormancy method and device, electronic equipment and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211169564.9A CN117812116A (en) 2022-09-23 2022-09-23 Vehicle dormancy method and device, electronic equipment and vehicle

Publications (1)

Publication Number Publication Date
CN117812116A true CN117812116A (en) 2024-04-02

Family

ID=90423955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211169564.9A Pending CN117812116A (en) 2022-09-23 2022-09-23 Vehicle dormancy method and device, electronic equipment and vehicle

Country Status (1)

Country Link
CN (1) CN117812116A (en)

Similar Documents

Publication Publication Date Title
US11513586B2 (en) Control device, method and equipment for processor
US11605965B2 (en) Electronic device for adaptive power management
US20200150598A1 (en) Method for processing data using neural network and electronic device for supporting the same
JP2014106840A (en) Data processing device, data processing method, and program
KR20210092571A (en) Electronic device and screen refresh method thereof
CN108279019B (en) Step counting method and device and intelligent wearable device
CN114506292A (en) Automobile tail gate control method and system and vehicle
CN110609555B (en) Method, apparatus, electronic device, and computer-readable storage medium for signal control
WO2024061177A1 (en) Network wake-up method and apparatus, and electronic device and vehicle
CN116729293B (en) Vehicle awakening method and device, storage medium and vehicle
CN117812116A (en) Vehicle dormancy method and device, electronic equipment and vehicle
CN210072612U (en) Internet of things chip system
US11144154B2 (en) Electronic device for processing input event and method of operating same
CN112634489B (en) Vehicle state determination method, device and system based on mobile terminal
CN113747043B (en) Image processor starting method, electronic device and storage medium
CN113848783A (en) User connection unit dormancy awakening method, device and computer readable storage medium
CN110213811B (en) Mobile terminal shutdown electric quantity control processing method, mobile terminal and storage medium
US10372663B2 (en) Short address mode for communicating waveform
CN117806444A (en) Component dormancy method based on application layer and related equipment
US11609596B2 (en) Electronic device for controlling frequency of processor and method of operating the same
CN110928745B (en) Deep sleep state abnormality detection method and device, storage medium and terminal
CN117812115A (en) Application layer-based bottom layer control dormancy method and device, electronic equipment and vehicle
CN117211971A (en) Engine self-starting method and device, electronic equipment and vehicle
CN111538249B (en) Control method, device, equipment and storage medium of distributed terminal
CN116080520A (en) Method, device and equipment for lighting vehicle logo during vehicle searching and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication