CN117806444A - Component dormancy method based on application layer and related equipment - Google Patents

Component dormancy method based on application layer and related equipment Download PDF

Info

Publication number
CN117806444A
CN117806444A CN202211169848.8A CN202211169848A CN117806444A CN 117806444 A CN117806444 A CN 117806444A CN 202211169848 A CN202211169848 A CN 202211169848A CN 117806444 A CN117806444 A CN 117806444A
Authority
CN
China
Prior art keywords
state
sleep
application layer
dormant
determining
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
CN202211169848.8A
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 CN202211169848.8A priority Critical patent/CN117806444A/en
Publication of CN117806444A publication Critical patent/CN117806444A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application layer-based component dormancy method and related equipment are characterized in that the dormancy state of an application layer is determined according to dormancy instructions received by the application layer, the dormancy instructions of a vehicle execution component connected with the application layer are generated according to state time points and first dormancy time of non-dormancy states, forced dormancy of the application layer is avoided through dormancy of the vehicle execution component, and under the condition that the application layer does not enter the dormancy state according to the dormancy instructions of the application layer, the power consumption of the application layer is reduced through dormancy of the vehicle execution component, and then dormancy of the application layer is completed.

Description

Component dormancy method based on application layer and related equipment
Technical Field
The application relates to the technical field of vehicle dormancy, in particular to a component dormancy method based on an application layer and related equipment.
Background
With the development of vehicle electrical technology, more and more controllers are arranged in a vehicle, the application layer required by the controllers is more and more complex, and the continuous operation of the application layer can lead to the high power consumption mode of the whole vehicle after the whole vehicle is electrified, so that the excessive static current of the vehicle can be caused when the vehicle is placed statically, and the power consumption of a storage battery is caused.
Generally, an application layer in a vehicle enters a sleep state after receiving a sleep instruction, so that a vehicle execution component connected with the application layer operates in a low power consumption mode. However, when the vehicle is in an abnormal state, the application layer does not enter the sleep state after receiving the sleep instruction, so that the vehicle execution component connected with the application layer continuously works, and further the power consumption of the vehicle is increased. Therefore, in order to reduce power consumption of a vehicle and extend the service life of vehicle electronics, it is necessary to sleep an application layer that receives a sleep command and is in an un-sleep state.
Disclosure of Invention
Accordingly, an objective of the present application is to provide an application layer-based component dormancy method and related device, which solve or partially solve the above-mentioned technical problems.
In view of the above object, a first aspect of the present application provides an application layer-based component sleep method, which is applied to an application layer sleep unit, the application layer sleep unit being disposed in an application layer, the application layer being connected to a vehicle execution component, the method comprising:
receiving a dormancy instruction;
determining a sleep state according to the sleep instruction;
in response to determining that the dormant state is an un-dormant state, acquiring a state time point of the un-dormant state from the application layer;
the state time point is taken as a first starting time point, and the sleep state is redetermined after a preset first sleep time;
responsive to determining that the re-determined sleep state is an un-sleep state, a sleep instruction of the vehicle-executing component is generated and sent to the vehicle-executing component for the vehicle-executing component to enter a sleep state.
A second aspect of the present application provides an application layer based component sleep device, the device being applied to an application layer sleep unit, the application layer sleep unit being disposed within an application layer, the application layer being connected to a vehicle execution component, the device comprising:
a receiving module configured to receive a sleep instruction;
a determining module configured to determine a sleep state according to the sleep instruction;
a time module configured to obtain a state time point of the non-dormant state from the application layer in response to determining that the dormant state is the non-dormant state;
a redetermining module configured to redetermine a sleep state after a preset first sleep time with the state time point as a first start time point;
and the generation module is configured to generate a sleep instruction of the vehicle execution assembly and send the sleep instruction to the vehicle execution assembly to enable the vehicle execution assembly to enter the sleep state in response to determining that the re-determined sleep state is an un-sleep 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 computer readable storage medium storing computer instructions for causing a computer to perform the method provided in the first aspect of the present application.
A fifth aspect of the present application provides a vehicle comprising an application layer based component sleep device as provided in the second aspect of the present application or an electronic device as provided in the third aspect of the present application or a computer readable storage medium as provided in the fourth aspect of the present application.
As can be seen from the above description, according to the application layer-based component dormancy method and the related device, by receiving the application layer dormancy instruction, determining the application layer dormancy state according to the dormancy instruction, generating the dormancy instruction of the vehicle execution component connected with the application layer according to the state time point of the non-dormancy state and the first dormancy time, and sending the dormancy instruction to the vehicle execution component for the vehicle execution component to carry out dormancy.
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 flowchart of an application layer-based component dormancy method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a component sleep device based on an application layer 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 application layer sleep unit may choose to generate an application layer sleep instruction at an appropriate time and use the sleep instruction to put the application layer into a sleep state.
The problems with this are: when the application layer does not enter the dormant state according to the dormant instruction, the vehicle execution component connected with the application layer is still in an operation state, so that the operation power consumption of the vehicle is continuously increased.
Therefore, in order to reduce power consumption of a vehicle and extend the service life of electronic devices of the vehicle, when the application layer receives a sleep instruction and is in an un-sleep state, since forced sleep of the application layer affects operation of necessary execution components connected to the application layer, it is necessary to provide a component sleep method for reducing power consumption of the vehicle without the application layer being dormant.
As shown in fig. 1, the application layer is connected to a vehicle execution component, and the method of this embodiment may be executed by an application layer sleep unit set in the application layer, where the method of this embodiment includes:
step 101, receiving a sleep instruction.
In this step, the sleep instruction refers to an instruction capable of enabling the application layer to enter a sleep state, and the sleep instruction preferred in this embodiment may be an instruction in the application layer of the vehicle controller capable of enabling the application layer to enter the sleep state. Specifically, the sleep instruction may be sent by the application layer to the application layer sleep unit according to a query request of the application layer for the sleep instruction. Thus, a judgment basis is provided for the subsequent determination of the sleep state. The application layer may be ASW (Application Software Layer ) in AUTOSAR (Automotive Open System Architecture, automobile open system architecture).
Step 102, determining a sleep state according to the sleep instruction.
In this step, the sleep state refers to a state capable of reflecting power consumption of an application layer, and the sleep state preferred in this embodiment may be a state capable of reflecting power consumption of an application layer in an application layer of a vehicle controller. For example, when the communication between the application layer and the bus network is in the communication maintaining state, the communication maintaining state indicates that the application layer is not in the low power consumption state. Thus, a judgment basis is provided for the subsequent acquisition of the state time point of the non-dormant state.
Step 103, in response to determining that the dormant state is an un-dormant state, acquiring a state time point of the un-dormant state from the application layer.
In this step, the state time point refers to a sending time point of a sleep instruction corresponding to an un-sleep state of the application layer, and the preferred state time point in this embodiment may be a receiving time point of a sleep instruction corresponding to an un-sleep state of the application layer in the application layer of the vehicle controller.
The non-dormant state refers to that the application layer does not enter the dormant state from the working state according to the dormant instruction, wherein the non-dormant state can be determined according to a preset power consumption threshold. For example, when the power consumption of the application layer is 10W, the power consumption threshold value for judging that the application layer has entered the sleep state is 2W, and the running state of the application layer corresponding to the power consumption of 10W is not sleep.
In this way, the state time point can provide a reference time for timing to begin for subsequent reacquiring the sleep state of the application layer.
And 104, taking the state time point as a first starting time point, and re-determining the sleep state after the preset first sleep time.
In this step, in order to avoid that the application layer does not enter the sleep state according to the sleep instruction of the application layer and continuously maintains the non-sleep state, the sleep state of the application layer is redetermined by presetting the first sleep time, and a judgment basis is provided for generating the sleep instruction of the subsequent vehicle execution component.
The first start time point refers to a time point when the state time point is counted, and the first sleep time point refers to a time when the first start time point is counted, and the sleep state is redetermined. For example, the first start time point may be 10 points 35 minutes 20 seconds, and the first sleep time may be 2 minutes, and the sleep state is redetermined at 10 points 37 minutes 20 seconds, starting with the first start time point as a timer.
In this way, the re-determination of the sleep state after the first sleep time can provide a basis for judging the subsequent component sleep, and avoid the power loss caused by the fact that the application layer is always in the non-sleep state.
And step 105, generating a sleep instruction of the vehicle execution component and sending the sleep instruction to the vehicle execution component to enable the vehicle execution component to enter a sleep state in response to determining that the re-determined sleep state is an un-sleep state.
In this step, the vehicle execution component refers to a component capable of executing a vehicle action under the control of the application layer. For example, the vehicle execution component may be an execution controller of an application layer SWC (Software Component ) in an AUTOSAR (Automotive Open System Architecture, automobile open system architecture) connected through a CAN (Controller Area Network ).
According to the scheme, the dormant state of the application layer is determined according to the dormant instruction by receiving the dormant instruction of the application layer, the dormant instruction of the vehicle execution assembly connected with the application layer is generated according to the state time point of the non-dormant state and the first dormant time, the dormant instruction is sent to the vehicle execution assembly to enable the vehicle execution assembly to carry out dormant, forced dormant of the application layer is avoided through dormant of the vehicle execution assembly, and under the condition that the application layer does not enter the dormant state according to the dormant instruction of the application layer, power consumption of the application layer is reduced through dormant of the vehicle execution assembly, and dormant of the application layer is further completed.
In some embodiments, the application layer sleep unit is connected to a bus network; the step expansion of step 102 specifically includes:
acquiring a sending time point of the dormancy instruction;
taking the sending time point as a second starting time point, and acquiring the communication state of the application layer and the bus network from the application layer after a preset second dormancy time;
and determining a dormant state according to the communication state.
In the above solution, the sending time point refers to a time point of sending to the application layer corresponding to the sleep instruction, and the preferred sending time point in this embodiment may be a time point of sending to the application layer corresponding to the sleep instruction in the bottom layer of the vehicle controller. When the sleep instruction is sent to the application layer, the application layer enters a sleep state according to the sleep instruction, but when an abnormality exists in the application layer, the application layer does not enter the sleep state according to the sleep instruction. In order to determine whether the application layer enters the sleep state after receiving the sleep instruction, the communication state between the application layer and the bus network needs to be acquired. For example, after the sleep command is sent for 3s, the communication state between the application layer and the bus network is obtained from the application layer. Wherein the bus network may be a CAN in a vehicle.
The second starting time point refers to a time point when the state time point is used as a timing start, and the second dormancy time point refers to a time when the second starting time point is used as a timing start to acquire the communication state of the application layer and the bus network. For example, the second starting time point may be 10 points 35 minutes 20 seconds, and the second sleep time may be 3 seconds, and the second starting time point is taken as a timer, and the communication state of the application layer and the bus network is acquired at 10 points 35 minutes 23 seconds.
Through the scheme, a judgment basis is provided for judging the non-dormant state of the bottom layer.
In some embodiments, the determining the sleep state according to the communication state includes:
in response to determining that the communication state is a communication hold state, determining the dormant state as an un-dormant state;
in response to determining that the communication state is a communication stopped state, the dormant state is determined to be a dormant state.
In the above scheme, the communication maintaining state refers to that a communication link exists between the application layer and the bus network, and the communication stopping state refers to that no communication link exists between the application layer and the bus network. When the communication state is the communication maintaining state, the application layer does not enter the dormant state according to the dormant instruction.
By the scheme, a timing starting time point is provided for a subsequent timing process.
In some embodiments, the determining the sleep state again after the preset first sleep time with the state time point as the first start time point includes:
and re-acquiring the communication state of the application layer and the bus network from the application layer after the first dormancy time by taking the state time point as a first starting time point:
and re-determining the dormant state according to the re-acquired communication state of the bus network.
In the above scheme, in order to avoid that the application layer does not enter the dormant state according to the dormant instruction of the application layer and continuously keeps the non-dormant state, the dormant state of the application layer is redetermined by presetting the first dormant time.
Specifically, the application layer may start the sleep monitor timer to count according to the first starting time point, and determine the sleep state of the application layer again after the count time of the sleep monitor timer reaches the first sleep time.
It will be appreciated that the timing of the sleep monitor timer is cleared when the redetermined application layer sleep state is dormant. Since the dormant state of the application layer is dormant, the vehicle execution component connected with the application layer is in a low power consumption state. For example, when the application layer is in a dormant state, that is, the vehicle is in a stationary state, the vehicle execution component that acquires the output signal of the brake light in real time is in a stop operation state.
Through the scheme, a judgment basis is provided for the generation of the follow-up forced dormancy instruction.
In some embodiments, the redefining the sleep state according to the retrieved communication state of the bus network includes:
in response to determining that the communication state of the bus network that is retrieved is a communication hold state, determining the re-determined dormant state as an unsecured state;
in response to determining that the communication state of the bus network that is retrieved is a communication stopped state, determining the re-determined dormant state as a dormant state.
In the above scheme, the communication maintaining state refers to that a communication link exists between the application layer and the bus network, and the communication stopping state refers to that no communication link exists between the application layer and the bus network. When the communication state is the communication maintaining state, the application layer is in the non-dormant state, and the re-determined dormant state is still in the non-dormant state.
Through the scheme, a judgment basis is provided for the generation of the follow-up forced dormancy instruction.
In some embodiments, the generating and sending the sleep instruction of the vehicle execution component to the vehicle execution component in response to determining that the re-determined sleep state is an un-sleep state comprises:
acquiring the power consumption of the vehicle execution assembly;
the power consumption is sequenced from large to small to obtain a first sequencing result, and the first n vehicle execution components are selected from the first sequencing result to serve as a unit to be dormant, wherein n is a preset integer value;
or,
the power consumption is sequenced from small to large to obtain a second sequencing result, and n vehicle execution components after the second sequencing result are selected as the to-be-dormant unit;
and generating a sleep instruction of the unit to be dormant and sending the sleep instruction to the unit to be dormant in response to determining that the redetermined sleep state is an un-dormant state.
In the above scheme, in order to reduce the power consumption of the application layer in the non-dormant state, the vehicle execution components are ranked according to the power consumption, and the first n vehicle execution components with large power consumption are dormant according to the ranking result.
Specifically, when the application layer is abnormal and the application layer cannot enter a dormant state according to a dormant instruction of the application layer, in order to avoid an operation fault of the application layer caused by forced dormant of the application layer, the application layer can generate a dormant instruction for the vehicle execution component with high power consumption, and the application layer sends the dormant instruction to the corresponding vehicle execution component so that the vehicle execution component enters the dormant state, so that power consumption caused by non-dormant application layer is reduced through dormant of the vehicle execution component.
By the aid of the scheme, forced dormancy of the application layer is avoided through dormancy of the vehicle execution assembly, and power consumption of the application layer is reduced through dormancy of the vehicle execution assembly under the condition that the application layer does not enter a dormant state according to dormancy instructions of the application layer, so that dormancy of the application layer is completed.
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, the application also provides a component dormancy device based on an application layer, which corresponds to the method of any embodiment.
Referring to fig. 2, the application layer is connected with a vehicle execution component, and the component dormancy device based on the application layer includes:
a receiving module 201 configured to receive a sleep instruction;
a determining module 202 configured to determine a sleep state according to the sleep instruction;
a time module 203 configured to obtain a state time point of the non-dormant state from the application layer in response to determining that the dormant state is the non-dormant state;
a redetermining module 204 configured to redetermine the sleep state after a preset first sleep time with the state time point as a first start time point;
the generating module 205 is configured to generate a sleep instruction of the vehicle executing component and send the sleep instruction to the vehicle executing component to enable the vehicle executing component to enter a sleep state in response to determining that the re-determined sleep state is an un-sleep state.
In some embodiments, the application layer is connected to a bus network; the determination module 202 is specifically configured to:
acquiring a sending time point of the dormancy instruction;
taking the sending time point as a second starting time point, and acquiring the communication state of the application layer and the bus network from the application layer after a preset second dormancy time;
and determining a dormant state according to the communication state.
In some embodiments, the determination module 202 is specifically configured to:
in response to determining that the communication state is a communication hold state, determining the dormant state as an un-dormant state;
in response to determining that the communication state is a communication stopped state, the dormant state is determined to be a dormant state.
In some embodiments, the redetermining module 204 is specifically configured to:
and re-acquiring the communication state of the application layer and the bus network from the application layer after the first dormancy time by taking the state time point as a first starting time point:
and re-determining the dormant state according to the re-acquired communication state of the bus network.
In some embodiments, the redetermining module 204 is specifically further configured to:
in response to determining that the communication state of the bus network that is retrieved is a communication hold state, determining the re-determined dormant state as an unsecured state;
in response to determining that the communication state of the bus network that is retrieved is a communication stopped state, determining the re-determined dormant state as a dormant state.
In some embodiments, the generation module 205 is specifically configured to:
acquiring the power consumption of the vehicle execution assembly;
sequencing the power consumption according to the order from big to small to obtain a sequencing result;
selecting the first n vehicle execution components from the sequencing result as to-be-dormant units, wherein n is a preset integer value;
and generating a sleep instruction of the unit to be dormant and sending the sleep instruction to the unit to be dormant to enable the vehicle execution component to enter a dormant state in response to determining that the redetermined dormant state is an un-dormant state.
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 application layer-based component 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 implements the method for dormancy of components based on the application layer according to 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 application layer-based component 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 embodiment methods, the present application further provides a computer readable storage medium storing computer instructions for causing the computer to perform the application layer based component dormancy method according to any of the above 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 component dormancy method based on the application layer 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, corresponding to the method of any embodiment, the application further provides a vehicle, which comprises the component dormancy device based on the application layer, or the electronic device, or the storage medium in the embodiment, and the vehicle device implements the component dormancy method based on the application layer in any embodiment.
The vehicle of the foregoing embodiments is configured to perform the application-layer-based component 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 (10)

1. An application layer-based component dormancy method, wherein the application layer is connected with a vehicle execution component, the method comprising:
receiving a dormancy instruction;
determining a sleep state according to the sleep instruction;
in response to determining that the dormant state is an un-dormant state, acquiring a state time point of the un-dormant state from the application layer;
the state time point is taken as a first starting time point, and the sleep state is redetermined after a preset first sleep time;
responsive to determining that the re-determined sleep state is an un-sleep state, a sleep instruction of the vehicle-executing component is generated and sent to the vehicle-executing component for the vehicle-executing component to enter a sleep state.
2. The method of claim 1, wherein the application layer is connected to a bus network;
the determining the sleep state according to the sleep instruction includes:
acquiring a sending time point of the dormancy instruction;
taking the sending time point as a second starting time point, and acquiring the communication state of the application layer and the bus network from the application layer after a preset second dormancy time;
and determining a dormant state according to the communication state.
3. The method of claim 2, wherein said determining a dormant state based on said communication state comprises:
in response to determining that the communication state is a communication hold state, determining the dormant state as an un-dormant state;
in response to determining that the communication state is a communication stopped state, the dormant state is determined to be a dormant state.
4. The method according to claim 2, wherein the re-determining the sleep state after the preset first sleep time with the state time point as the first start time point includes:
and re-acquiring the communication state of the application layer and the bus network from the application layer after the first dormancy time by taking the state time point as a first starting time point:
and re-determining the dormant state according to the re-acquired communication state of the bus network.
5. The method of claim 4, wherein said redefining the sleep state based on the retrieved communication state of the bus network comprises:
in response to determining that the communication state of the bus network that is retrieved is a communication hold state, determining the re-determined dormant state as an unsecured state;
in response to determining that the communication state of the bus network that is retrieved is a communication stopped state, determining the re-determined dormant state as a dormant state.
6. The method of claim 1, wherein generating and sending the sleep instruction of the vehicle execution component to the vehicle execution component in response to determining that the re-determined sleep state is an un-sleep state comprises:
acquiring the power consumption of the vehicle execution assembly;
the power consumption is sequenced from large to small to obtain a first sequencing result, and the first n vehicle execution components are selected from the first sequencing result to serve as a unit to be dormant, wherein n is a preset integer value;
or,
the power consumption is sequenced from small to large to obtain a second sequencing result, and n vehicle execution components after the second sequencing result are selected as the to-be-dormant unit;
and generating a sleep instruction of the unit to be dormant and sending the sleep instruction to the unit to be dormant in response to determining that the redetermined sleep state is an un-dormant state.
7. An application layer based component sleep device, the device being applied to an application layer sleep unit, the application layer sleep unit being disposed within an application layer, the application layer being coupled to a vehicle execution component, the device comprising:
a receiving module configured to receive a sleep instruction;
a determining module configured to determine a sleep state according to the sleep instruction;
a time module configured to obtain a state time point of the non-dormant state from the application layer in response to determining that the dormant state is the non-dormant state;
a redetermining module configured to redetermine a sleep state after a preset first sleep time with the state time point as a first start time point;
and the generation module is configured to generate a sleep instruction of the vehicle execution assembly and send the sleep instruction to the vehicle execution assembly to enable the vehicle execution assembly to enter the sleep state in response to determining that the re-determined sleep state is an un-sleep state.
8. 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 6 when the computer program is executed.
9. A computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 6.
10. A vehicle comprising the application-layer-based component sleep device of claim 7 or the electronic apparatus of claim 8 or the computer-readable storage medium of claim 9.
CN202211169848.8A 2022-09-23 2022-09-23 Component dormancy method based on application layer and related equipment Pending CN117806444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211169848.8A CN117806444A (en) 2022-09-23 2022-09-23 Component dormancy method based on application layer and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211169848.8A CN117806444A (en) 2022-09-23 2022-09-23 Component dormancy method based on application layer and related equipment

Publications (1)

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

Family

ID=90427298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211169848.8A Pending CN117806444A (en) 2022-09-23 2022-09-23 Component dormancy method based on application layer and related equipment

Country Status (1)

Country Link
CN (1) CN117806444A (en)

Similar Documents

Publication Publication Date Title
US20200266649A1 (en) Electronic device for adaptive power management
US9043806B2 (en) Information processing device and task switching method
CN107132904B (en) Control system and control method of DDR system
CN111983412B (en) Monitoring system, monitoring method, monitoring terminal and storage medium
CN116094083B (en) Charging method, device and storage medium
CN113691722A (en) Control method and device and electronic equipment
CN111612158B (en) Model deployment method, device, equipment and storage medium
KR20180076631A (en) Method and system for performance boosting for semiconductor device
CN117806444A (en) Component dormancy method based on application layer and related equipment
CN116494896A (en) Vehicle dormancy wakeup control method, electronic equipment and vehicle
CN117812115A (en) Application layer-based bottom layer control dormancy method and device, electronic equipment and vehicle
CN113270936B (en) Power supply conversion method and device
CN116723560A (en) Network awakening method and device, electronic equipment and vehicle
CN112732068B (en) Standby low-power-consumption chip and method for enabling chip to enter and exit standby low-power-consumption mode
CN110572806A (en) Bluetooth-based time correction method and device for temperature control relay system
CN114024356B (en) Power management method, device and circuit
EP3885880A1 (en) Power management circuitry for controlling a power state transition based on a predetermined time limit
CN113696732A (en) Low-voltage power-down control method and device and electric automobile
CN117812116A (en) Vehicle dormancy method and device, electronic equipment and vehicle
CN117889025A (en) Engine starting control method and device, electronic equipment and vehicle
CN117093278B (en) Kernel shutdown method, electronic device and storage medium
CN116455940A (en) Control method and control device for wake-up network and vehicle
CN117762114A (en) Frequent wake-up fault processing method and device, electronic equipment and vehicle
CN110970950B (en) Charging control method and device, storage medium and split type electronic equipment
US20210041907A1 (en) Electronic device for controlling frequency of processor and method of operating the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication