CN116954521A - Control method and control device of vehicle, electronic equipment and vehicle - Google Patents

Control method and control device of vehicle, electronic equipment and vehicle Download PDF

Info

Publication number
CN116954521A
CN116954521A CN202311037794.4A CN202311037794A CN116954521A CN 116954521 A CN116954521 A CN 116954521A CN 202311037794 A CN202311037794 A CN 202311037794A CN 116954521 A CN116954521 A CN 116954521A
Authority
CN
China
Prior art keywords
module
vehicle
function module
data information
storage
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
CN202311037794.4A
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 CN202311037794.4A priority Critical patent/CN116954521A/en
Publication of CN116954521A publication Critical patent/CN116954521A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0616Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a control method of a vehicle, which comprises a storage module, wherein the storage module comprises the following components: when the vehicle is in a power-on state, responding to a storage instruction sent by the vehicle function module, and judging whether the vehicle function module is a software function module or not; in response to determining that the vehicle function module is a software function module, acquiring the function data information of the software function module in real time, and storing the function data information into a preset buffer module; and in response to receiving the vehicle power-down instruction, storing the functional data information to the storage module. And storing the function data information of the software function module acquired in real time into a preset buffer module, wherein the function data information does not need to be written into the storage module, so that the writing times of the storage module are reduced, and the service life of the storage module is prolonged.

Description

Control method and control device of vehicle, electronic equipment and vehicle
Technical Field
The present application relates to the field of vehicle technologies, and in particular, to a vehicle control method, a control device, an electronic device, and a vehicle.
Background
The storage module of the vehicle has the requirement of writing times, and when the writing times reach the preset writing times, the storage module cannot be used continuously.
In the current vehicle control technology, the control system, if there is a data update for each functional module of the vehicle, these updated data are written in real time to the memory module. The scheduling task period of most of the functional modules of the vehicle is 10ms, so that updated data needs to be written into the storage module every 10ms, which causes the storage module to be written frequently, and the service life of the storage module is greatly shortened.
Disclosure of Invention
In view of the above, an object of the present application is to provide a control method and a control device for a vehicle, an electronic device, and a vehicle.
In view of the above object, the present application provides a control method of a vehicle including a storage module, including:
when the vehicle is in a power-on state, responding to a storage instruction sent by a vehicle function module, and judging whether the vehicle function module is a software function module or not;
in response to determining that the vehicle function module is a software function module, acquiring the function data information of the software function module in real time, and storing the function data information into a preset buffer module;
and in response to receiving a vehicle power-down instruction, storing the functional data information to the storage module.
Optionally, the vehicle function module further comprises a setup function module;
the method further comprises the steps of:
in response to receiving a storage instruction sent by a vehicle function module, judging whether the vehicle function module is a set function module or not;
in response to determining that the vehicle function module is a set function module, judging whether the storage instruction is a storage instruction received for the first time;
responsive to determining that the store instruction is a first received store instruction; and acquiring setting data information of the setting function module, and storing the setting data information into the storage module.
Optionally, the method further comprises:
responsive to determining that the store instruction is not a first received store instruction; acquiring setting data information of the setting function module;
and storing the setting data information to the storage module in response to the setting data information being different from the history storage information.
Optionally, before the step of storing the function data information to the storage module in response to receiving a vehicle power-down instruction, the method further includes: and storing the functional data information stored in the preset buffer module to the storage module every preset time period.
Optionally, after the storing the functional data information to the storage module in response to receiving a vehicle power-down instruction, the method further includes: and clearing all the functional data information in the preset buffer module.
Optionally, the method further comprises:
and in response to receiving a vehicle power-on instruction, the function data information stored in the storage module for the last time is sent to the software function module.
Optionally, the determining whether the vehicle function module is a software function module or a set function module includes:
acquiring attribute information of the vehicle function module;
and determining the vehicle function module as a software function module or a setting function module based on the attribute information.
The second aspect of the present application also provides a control device of a vehicle, including:
the judging module is configured to respond to the received storage instruction sent by the vehicle function module when the vehicle is in a power-on state, and judge whether the vehicle function module is a software function module or not;
the acquisition module is configured to respond to the determination that the vehicle function module is a software function module, acquire the function data information of the software function module in real time and store the function data information into a preset buffer module;
and the execution module is configured to store the functional data information to the storage module in response to receiving a vehicle power-down instruction.
A third aspect of the 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 a method as in any of the first aspects above when executing the program.
A fourth aspect of the application provides a vehicle comprising the control device of the second aspect or the electronic apparatus of the third aspect.
As can be seen from the above, the control method, the control device, the electronic device and the vehicle provided by the application store the function data information of the software function module acquired in real time to the preset buffer module when the vehicle is electrified, and the function data information does not need to be written into the storage module, so that the writing times of the storage module can be reduced and the service life of the storage module can be prolonged on the premise that the operation of each vehicle function module is not influenced; and when a vehicle power-down instruction is received, the functional data information is stored in the storage module, so that the last functional data information of the software functional module before power-down is written in the storage module, the last functional data information is ensured to be successfully stored, the vehicle is convenient to use after power-up again, and the data loss of the software functional module is avoided.
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 the drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is a flow chart of a control method of a vehicle according to an embodiment of the application;
FIG. 2 is a schematic diagram of a control device for a vehicle according to an embodiment of the present application;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the application.
Detailed Description
The present application will be further described in detail below with reference to specific embodiments and with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present application more apparent.
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.
Referring to fig. 1, the present application provides a control method of a vehicle including a storage module, the method being performed by a vehicle controller, the method comprising the steps of:
step S100, when a vehicle is in a power-on state, responding to a storage instruction sent by a vehicle function module, and judging whether the vehicle function module is a software function module or not;
step 200, responding to the determination that the vehicle function module is a software function module, acquiring the function data information of the software function module in real time, and storing the function data information into a preset buffer module;
and step S300, in response to receiving a vehicle power-down instruction, storing the functional data information to the storage module.
Specifically, the storage module is a storage module suitable for a vehicle, and the storage module may be an EEPROM storage module (Electrically Erasable Programmable read only memory, an electrically erasable programmable read-write memory, or simply referred to as an E-side storage module) of the vehicle.
The vehicle function module includes at least a software function module and a setup function module. The two types of functional modules have different functions and different data updating modes. The software function module is typically an upper layer APP of the vehicle, such as a video function module, a music function module, a navigation function module, etc. The data of such software functional modules are typically updated in real time, and thus the functional data information of the software functional modules needs to be acquired in real time.
The setting function module is usually a host setting type module and comprises a unlocking and locking setting module, a wiper sensitivity setting module, a light setting module and the like, and the data of the setting function module is not required to be updated in real time and is updated only after an operator inputs a setting instruction or setting information.
Therefore, when the storage instruction sent by the vehicle function module is received, the specific type of the vehicle function module needs to be judged, and whether the vehicle function module sending the storage instruction is specifically a software function module or a set function module is judged. Then, different data storage strategies can be carried out aiming at the two different types of functional modules, so that the number of times of writing data into the storage module is reduced as much as possible on the premise that the normal operation of the two types of functional modules is not influenced, and the service life of the storage module is prolonged.
When judging whether the vehicle function module is a software function module or a set function module, the method comprises the following steps: acquiring attribute information of the vehicle function module; and determining the vehicle function module as a software function module or a setting function module based on the attribute information.
The attribute information is used for representing the types of the vehicle function modules, and each vehicle function module is configured with one attribute information. All the software function modules have the same attribute information, and all the setting function modules have the same attribute information (the attribute information is different from that of the software function modules), so that the vehicle function module can be determined to be the software function module or the setting function module based on the attribute information of the vehicle function module.
Illustratively, all of the software functional modules have the same attribute information "1" and all of the setup functional modules have the same attribute information "2".
Then, judging whether the vehicle function module is a software function module or not or setting the function module, if the acquired attribute information of the vehicle function module is 1, determining that the vehicle function module is the software function module; and if the acquired attribute information of the vehicle function module is 2, determining the vehicle function module as a setting function module.
And after the vehicle function module is determined to be a software function module, acquiring the function data information of the software function module in real time, and storing the function data information into a preset buffer module. The preset buffer module is a preset buffer module for storing functional data information, and is different from the storage module, the preset buffer module can be used for storing functional data information only in the power-on process, after the vehicle is powered down, the information stored in the preset buffer module can be emptied, reset or deleted, and after the vehicle is powered down next time, the information stored in the preset buffer module does not exist. Therefore, the preset buffer module can be used for temporarily storing the function data information in the power-on process so as to ensure the normal operation of the software function module.
In the power-on process, the function data information of the software function modules is stored in the preset buffer module, so that the writing times of the storage module can be reduced and the service life of the storage module can be prolonged on the premise that the normal operation of each vehicle function module is not influenced.
And after receiving a vehicle power-down instruction, storing the functional data information into the storage module. Whether powered up or powered down, the functional data information stored in the memory module is not emptied, deleted or reset. That is, when the vehicle is powered down and powered up again, the functional data information stored in the storage module is still reserved, so that the software functional module can still normally operate on the basis of the last functional data information before the power down, and the loss of data is avoided.
In the application, after the power-down instruction of the vehicle is received, the functional data information is stored in the storage module, so that the last functional data information of the software functional module before power-down is written in the storage module, the last functional data information is ensured to be successfully stored, the vehicle is convenient to use after power-up again, and the data loss of the software functional module is avoided.
In some embodiments, the method further comprises:
step S300, in response to receiving a storage instruction sent by a vehicle function module, judging whether the vehicle function module is a set function module;
step S400, in response to determining that the vehicle function module is a set function module, judging whether the storage instruction is a storage instruction received for the first time;
and step S500, in response to determining that the storage instruction is the storage instruction received for the first time, acquiring the setting data information of the setting function module, and storing the setting data information into the storage module.
Specifically, when the vehicle function module is determined to be a setting function module, whether the storage instruction is a storage instruction sent by the setting function module and received by the vehicle controller for the first time is judged. And when the storage instruction is determined to be the storage instruction received for the first time, acquiring the setting data information of the setting function module, and storing the setting data information into the storage module. That is, when it is determined that the storage instruction is the storage instruction received for the first time, the acquired setting data information of the setting function module is stored in the storage module, so as to ensure that the setting data information can be successfully saved.
When the storage instruction is not the first received storage instruction, acquiring setting data information of the setting function module, and judging whether the setting data information is identical with the historical storage information. The history storage information is setting data information corresponding to a storage instruction received last time by the storage module.
When the setting data information is different from the history storage information, storing the setting data information into the storage module; and when the setting data information is determined to be the same as the history storage information, not storing the setting data information to the storage module.
That is, when it is determined that the store instruction is not the store instruction received for the first time, it is necessary to determine whether the acquired setting data information of the setting function module is identical to the history storage information. When the setting data information is the same as the history storage information, the setting data information corresponding to the current storage instruction is the same as the setting data information corresponding to the last storage instruction, and the setting data information in the storage module is not required to be updated at the moment, so that the setting data information of the current time is not written into the storage module. When the setting data information is different from the history storage information, the setting data information corresponding to the current storage instruction is different from the setting data information corresponding to the last storage instruction, and the setting data information in the storage module is required to be updated at the moment, so that the setting data information of the current time is written into the storage module.
For example, when it is determined that the vehicle function module is the setting function module "light setting module", it is necessary to determine whether the storage instruction is a storage instruction transmitted by the first received "light setting module". When the storage instruction is determined to be the storage instruction received for the first time, setting data information of the 'light setting module' is acquired as a 'red, brightness 100 and flickering mode', and the setting data information of the 'red, brightness 100 and flickering mode' is stored into the storage module.
When the storage instruction is determined to be the received second storage instruction sent by the setting function module 'light setting module', assuming that the acquired setting data information of the setting function module is 'red, brightness 100 and flashing mode', since the acquired setting data information 'red, brightness 100 and flashing mode' is the same as the setting data information 'red, brightness 100 and flashing mode' corresponding to the history storage information, i.e. the first control instruction, the setting data information is not written into the storage module at this time. Assuming that the acquired setting data information of the setting function module is "red, brightness 100, normal-brightness mode", since the acquired setting data information "red, brightness 100, normal-brightness mode" is different from the setting data information "red, brightness 100, flash mode" corresponding to the history storage information, i.e., the first control instruction, the setting data information needs to be written into the storage module at this time.
In the application, after the storage instruction sent by the setting function module is obtained, whether the storage instruction is the storage instruction received for the first time or not needs to be judged first, and if the storage instruction is the storage instruction received for the first time, the obtained setting data information corresponding to the setting function module is written into the storage module. If the setting data information is not the first received storage instruction, whether the acquired setting data information is the same as the historical storage information corresponding to the last storage instruction or not needs to be judged, if so, new setting data information does not need to be written into the storage module, and if not, new setting data information needs to be written into the storage module. Therefore, on the premise that the setting data information corresponding to the setting function module can be successfully stored in the storage module, the situation that the same data information is repeatedly written in the storage module is avoided, the writing times of the storage module are reduced, and the service life of the storage module is prolonged.
In some embodiments, before the step S300 stores the functional data information in the storage module in response to receiving a vehicle power-down instruction, the method further includes: and storing the functional data information stored in the preset buffer module to the storage module every preset time period.
Specifically, the preset time period is a preset time interval for writing into the memory module according to actual requirements. Illustratively, the preset time period may be 1s, 10s, 50s, 1min, or the like.
The functional data information stored in the preset buffer module is stored in the storage module every preset time period, so that the functional data information stored in the preset buffer module every preset time period can be ensured to be successfully stored in the storage module, and the functional data information in the preset buffer module can be backed up at regular time.
In some embodiments, after the step S300 stores the functional data information in the storage module in response to receiving a vehicle power-down instruction, the method further includes: and clearing all the functional data information in the preset buffer module.
Specifically, after the functional data information is stored in the storage module, the last functional data information corresponding to the software functional module is successfully stored in the storage module before the vehicle is powered down, so that the last functional data information is ensured to be successfully stored, the vehicle is convenient to use after being powered up again, and the data loss of the software functional module is avoided.
Meanwhile, after the last function data information is successfully stored, all the function data information in the preset buffer module is process data, and the necessity does not exist, so that after the function data information is stored in the storage module, all the function data information in the preset buffer module is emptied, the storage space and the load capacity of a system can be reduced, and meanwhile, the emptied preset buffer module is used for storing the function data information generated after the next power-on of the vehicle, so that the utilization rate of the preset buffer module can be improved, and the writing times of the storage module can be reduced as much as possible.
In some embodiments, the method further comprises step S600: and in response to receiving a vehicle power-on instruction, the function data information stored in the storage module for the last time is sent to the software function module.
Specifically, the step S600 may occur after the step S300 stores the functional data information in the storage module in response to receiving a vehicle power-down command, that is, after the vehicle is powered down, the vehicle is powered up again. And at the moment, the function data information stored in the storage module for the last time is sent to the software function module, so that the software function module can continue to operate on the basis of the function data information stored for the last time.
The step S600 may also occur in the step S100 when the vehicle is in the power-on state, and in response to receiving a storage instruction sent by the vehicle function module, determine whether the vehicle function module is before the software function module, that is, after receiving the vehicle power-on instruction, send the function data information stored in the storage module for the last time to the software function module, so that the software function module may continue to operate on the basis of the function data information stored for the last time; and after the vehicle is powered on successfully, in the power-on process of the vehicle, storing the function data information corresponding to the software function module into a preset buffer module. Therefore, the writing times of the storage module can be reduced, and when the vehicle is powered down or powered up, the functional data information corresponding to the software functional module can be successfully stored in the storage module, the problem of data loss can not occur, and the normal operation of the software functional module is ensured.
In some embodiments, the method for controlling a vehicle provided by the present application may include the following steps:
and 1, when the vehicle is in a power-on state, judging whether the vehicle function module is a software function module or a set function module when a storage instruction sent by the vehicle function module is received.
And 2, when the vehicle function module is a setting function module (such as a unlocking and locking setting module, a wiper sensitivity setting module, a light setting module and the like), after an operator sets some setting items of the setting function module, the setting items are sent to a vehicle controller in a form of setting data information through a CAN bus, after the vehicle controller receives the setting data information, the vehicle controller judges whether the setting data information is identical with internal memory setting information (namely historical storage information), if so, the setting data information is not written into the storage module any more, and if not, the setting data information is written into the storage module.
The internal memory setting information (i.e. history storage information) is the latest setting data information corresponding to the setting function module stored in the storage module.
The first set data information of the set function module is directly stored in the storage module, and comparison with the history storage information is not needed (at this time, the history storage information corresponding to the first set data information is not stored in the storage module).
And 3, storing the functional data information generated in real time by the internal software functional module into a data buffer area (namely a preset buffer module).
Step 4, when the whole vehicle is ready to be powered down, the vehicle controller controls and manages the dormant module (namely the SLP module) to send a power down storage instruction to other software functional modules, the other software functional modules prepare to power down after receiving the power down storage instruction, and send the last functional data information before power down to the vehicle controller, and the vehicle controller stores the functional data information in the corresponding position in the storage module after receiving the last functional data information before power down sent by the software functional modules;
and 5, when the vehicle is just powered on and initialized, the vehicle controller calls the function data information stored by the data last time from the EEPROM and sends the function data information to the corresponding software function module. After the program runs normally, the functional data information generated in real time is still stored in the data buffer area.
And 6, in order to prevent abnormal power-off data loss, the cached data in the data cache area is written into the EEPROM every 1 s.
It should be noted that, the method of the embodiment 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 method of an embodiment of the present application, the devices interacting with each other to accomplish the method.
It should be noted that the foregoing describes some embodiments of the present application. 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 control device of the vehicle, corresponding to the method of any embodiment.
Referring to fig. 2, the control device of the vehicle includes:
a judging module 100 configured to judge whether the vehicle function module is a software function module in response to receiving a storage instruction transmitted by the vehicle function module when the vehicle is in a power-on state;
an acquiring module 200 configured to acquire, in real time, functional data information of the software function module in response to determining that the vehicle function module is a software function module, and store the functional data information to a preset buffer module;
the execution module 300 is configured to store the functional data information to the storage module in response to receiving a vehicle power-down instruction.
In some embodiments, the vehicle function module further comprises a setup function module.
In some embodiments, the determining module 100 is further configured to determine whether the vehicle function module is a setup function module in response to receiving a storage instruction sent by the vehicle function module.
In some embodiments, the obtaining module 200 is further configured to determine whether the stored instruction is a first received stored instruction in response to determining that the vehicle function module is a setup function module; and acquiring setting data information of the setting function module in response to determining that the storage instruction is the storage instruction received for the first time.
In some embodiments, the execution module 300 is further configured to store the setting data information to the storage module.
In some embodiments, the obtaining module 200 is further configured to obtain the setting data information of the setting function module in response to determining that the storage instruction is not a first received storage instruction.
In some embodiments, the execution module 300 is further configured to store the setting data information to the storage module in response to the setting data information being different from the history storage information.
In some embodiments, the obtaining module 200 is further configured to store the functional data information stored in the preset buffer module to the storage module every preset time period.
In some embodiments, the execution module 300 is further configured to empty all functional data information within the preset buffer module.
In some embodiments, the execution module 300 is further configured to send the function data information last stored in the memory module to the software function module in response to receiving a vehicle power-on instruction.
In some embodiments, the determining module 100 is further configured to obtain attribute information of the vehicle function module; and judging whether the vehicle function module is a software function module or not based on the attribute information.
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 used to implement the corresponding vehicle control 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 control method of the vehicle 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 keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, 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 method for controlling a vehicle 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 present application also provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to execute the method of controlling a vehicle according to any of the above embodiments, corresponding to the method of 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 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 above embodiment stores computer instructions for causing the computer to execute the method for controlling a vehicle according to any one of the above embodiments, and has the advantages 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, including the control device, the electronic device or the non-transitory computer readable storage medium of any embodiment. The vehicle has the technical effects described in any of the above embodiments, and will not be described herein.
It will be appreciated that before using the technical solutions of the various embodiments in the disclosure, the user may be informed of the type of personal information involved, the range of use, the use scenario, etc. in an appropriate manner, and obtain the authorization of the user.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Therefore, the user can select whether to provide personal information to the software or hardware such as the electronic equipment, the application program, the server or the storage medium for executing the operation of the technical scheme according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative, and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
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 application, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the 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 also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within 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 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. Therefore, any omissions, modifications, equivalent substitutions, improvements, and the like, which are within the spirit and principles of the embodiments of the application, are intended to be included within the scope of the application.

Claims (10)

1. A control method of a vehicle including a storage module, characterized by comprising:
when the vehicle is in a power-on state, responding to a storage instruction sent by a vehicle function module, and judging whether the vehicle function module is a software function module or not;
in response to determining that the vehicle function module is a software function module, acquiring the function data information of the software function module in real time, and storing the function data information into a preset buffer module;
and in response to receiving a vehicle power-down instruction, storing the functional data information to the storage module.
2. The control method according to claim 1, characterized in that the vehicle function module further includes a setup function module;
the method further comprises the steps of:
in response to receiving a storage instruction sent by a vehicle function module, judging whether the vehicle function module is a set function module or not;
in response to determining that the vehicle function module is a set function module, judging whether the storage instruction is a storage instruction received for the first time;
and responding to the storage instruction which is received for the first time, acquiring the setting data information of the setting function module, and storing the setting data information into the storage module.
3. The control method according to claim 2, characterized by further comprising:
acquiring setting data information of the setting function module in response to determining that the storage instruction is not a storage instruction received for the first time;
in response to determining that the setting data information is different from the historically stored information, the setting data information is stored to the storage module.
4. The control method according to claim 1, characterized by further comprising, before the storing of the function data information to the storage module in response to receiving a vehicle power-down instruction: and storing the functional data information stored in the preset buffer module to the storage module every preset time period.
5. The control method according to claim 1, characterized by further comprising, after said storing the function data information to the storage module in response to receiving a vehicle power-down instruction: and clearing all the functional data information in the preset buffer module.
6. The control method according to claim 1, characterized by further comprising:
and in response to receiving a vehicle power-on instruction, the function data information stored in the storage module for the last time is sent to the software function module.
7. The control method according to claim 1 or 2, characterized in that determining whether the vehicle function module is a software function module or a set function module includes:
acquiring attribute information of the vehicle function module;
and determining the vehicle function module as a software function module or a setting function module based on the attribute information.
8. A control device for a vehicle, comprising:
the judging module is configured to respond to the received storage instruction sent by the vehicle function module when the vehicle is in a power-on state, and judge whether the vehicle function module is a software function module or not;
the acquisition module is configured to respond to the determination that the vehicle function module is a software function module, acquire the function data information of the software function module in real time and store the function data information into a preset buffer module;
and the execution module is configured to store the functional data information to the storage module in response to receiving a vehicle power-down instruction.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when the program is executed by the processor.
10. A vehicle characterized by comprising the control device according to claim 8 or the electronic apparatus according to claim 9.
CN202311037794.4A 2023-08-17 2023-08-17 Control method and control device of vehicle, electronic equipment and vehicle Pending CN116954521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311037794.4A CN116954521A (en) 2023-08-17 2023-08-17 Control method and control device of vehicle, electronic equipment and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311037794.4A CN116954521A (en) 2023-08-17 2023-08-17 Control method and control device of vehicle, electronic equipment and vehicle

Publications (1)

Publication Number Publication Date
CN116954521A true CN116954521A (en) 2023-10-27

Family

ID=88453027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311037794.4A Pending CN116954521A (en) 2023-08-17 2023-08-17 Control method and control device of vehicle, electronic equipment and vehicle

Country Status (1)

Country Link
CN (1) CN116954521A (en)

Similar Documents

Publication Publication Date Title
CN107734616B (en) Application program closing method and device, storage medium and electronic equipment
JP2018037059A (en) On-vehicle update device and on-vehicle update system
KR102205836B1 (en) Task Scheduling Method and Apparatus
US10402222B2 (en) Task migration method and apparatus
KR102536266B1 (en) Method for memory leak detection and electronic device thereof
US11605965B2 (en) Electronic device for adaptive power management
EP3926466A1 (en) Electronic device which prefetches application and method therefor
KR102516583B1 (en) Electronic device and method for controling update thereof
US20210149689A1 (en) Method for preloading application and electronic device supporting same
KR20200125258A (en) Method for controlling application execution, electronic device and storage medium therefor
US9727495B2 (en) Peripheral equipment control device and information processing
US11507384B2 (en) Electronic device for performing booting, and operating method therefor
CN116954521A (en) Control method and control device of vehicle, electronic equipment and vehicle
US9124591B2 (en) Automatic resource balancing for multi-device location-based applications
KR20210046426A (en) Application optimizing method and electronic device supporting the same
CN112306995B (en) Method and device for realizing database operation
KR20190098516A (en) Method for managing data related to application and electronic device thereof
US11307743B2 (en) Method, electronic device and storage medium for providing mode switching
CN114443442A (en) Log storage method and electronic equipment
JP6293966B2 (en) Database management apparatus, database management method, and database management program
CN111221584A (en) Terminal single-card and double-card adapting method and device, computer equipment and storage medium
CN112534409A (en) Electronic device and operation method thereof
US8819274B2 (en) Selecting a network connection for data communications with a networked device
CN117812115A (en) Application layer-based bottom layer control dormancy method and device, electronic equipment and vehicle
CN112506774A (en) Testability optimization method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination