CN110275510B - Processing frequency adjusting method and device of vehicle control model and electronic equipment - Google Patents

Processing frequency adjusting method and device of vehicle control model and electronic equipment Download PDF

Info

Publication number
CN110275510B
CN110275510B CN201910516051.2A CN201910516051A CN110275510B CN 110275510 B CN110275510 B CN 110275510B CN 201910516051 A CN201910516051 A CN 201910516051A CN 110275510 B CN110275510 B CN 110275510B
Authority
CN
China
Prior art keywords
vehicle control
timer
control model
vehicle
frequency
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.)
Active
Application number
CN201910516051.2A
Other languages
Chinese (zh)
Other versions
CN110275510A (en
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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN201910516051.2A priority Critical patent/CN110275510B/en
Publication of CN110275510A publication Critical patent/CN110275510A/en
Application granted granted Critical
Publication of CN110275510B publication Critical patent/CN110275510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Toys (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a processing frequency adjusting method and device of a vehicle control model and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining running state information of a vehicle, determining target frequency of a vehicle control model for data processing according to the running state information of the vehicle, configuring a first timer according to the target frequency, changing a second timer adopted by the vehicle control model into the first timer, and controlling the vehicle control model to perform data processing based on the target frequency by adopting the first timer, so that the target frequency of the model is determined according to the running state information of the vehicle under the condition of limited resources, the frequency of the control model for data processing is dynamically adjusted by changing the adopted timer, reasonable distribution of limited system resources is realized, the running performance of the vehicle is too high, and the technical problem that the frequency of the control model cannot be dynamically adjusted in the prior art and the resource distribution is unreasonable is solved.

Description

Processing frequency adjusting method and device of vehicle control model and electronic equipment
Technical Field
The invention relates to the technical field of vehicle control, in particular to a method and a device for adjusting processing frequency of a vehicle control model and electronic equipment.
Background
Along with the development of artificial intelligence technology, the vehicle capable of realizing automatic driving is more and more concerned by people, becomes an important travel tool in the life of people, and the requirements of people on the stability and the reliability of the performance of the vehicle are higher.
In the automatic driving process of a vehicle, the working frequency of each control model contained in a vehicle system is preset when the control model is started, the frequency is fixed and unchangeable, hardware resources of the vehicle system are limited, the preset working frequency of part of the control models cannot meet the driving requirement, the preset working frequency of part of the control models is too high and is wasted, and the driving effect is influenced.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first object of the present invention is to provide a method for adjusting processing frequency of vehicle control models, which determines a required target frequency according to vehicle operating state information, and changes a currently used second timer to a first timer with a frequency of the target frequency, so as to meet a frequency requirement of data processing of each control model under a condition of limited resources, and improve safety of automatic driving.
A second object of the present invention is to provide a processing frequency adjustment device for a vehicle control model.
A third object of the invention is to propose an electronic device.
A fourth object of the invention is to propose a computer-readable storage medium.
To achieve the above object, an embodiment of a first aspect of the present invention provides a processing frequency adjustment method for a vehicle control model, including:
acquiring running state information of a vehicle;
determining a target frequency of data processing of a vehicle control model according to the running state information of the vehicle;
configuring the first timer according to the target frequency;
and changing a second timer adopted by the vehicle control model into the first timer so as to adopt the first timer to control the vehicle control model to perform data processing based on the target frequency.
To achieve the above object, a second aspect of the present invention provides a processing frequency adjustment apparatus for a vehicle control model, including:
the acquisition module is used for acquiring the running state information of the vehicle;
the determining module is used for determining the target frequency of the vehicle control model for data processing according to the running state information of the vehicle;
a configuration module, configured to configure the first timer according to the target frequency;
and the updating module is used for changing a second timer adopted by the vehicle control model into the first timer so as to adopt the first timer to control the vehicle control model to perform data processing based on the target frequency.
To achieve the above object, an embodiment of a third aspect of the present invention provides an electronic device, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the processor implements the processing frequency adjustment method of the vehicle control model according to the first aspect.
To achieve the above object, a fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a processing frequency adjustment method of a vehicle control model according to the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the method comprises the steps of obtaining running state information of a vehicle, determining target frequency of data processing of a vehicle control model according to the running state information of the vehicle, configuring a first timer according to the target frequency, changing a second timer adopted by the vehicle control model into the first timer, and controlling the vehicle control model to perform data processing based on the target frequency by adopting the first timer.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flowchart illustrating a processing frequency adjustment method for a vehicle control model according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a processing frequency adjustment method for a vehicle control model according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a first timer and a second timer modification of a cruise vehicle control model according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a processing frequency adjusting apparatus of a vehicle control model according to an embodiment of the present invention; and
FIG. 5 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A processing frequency adjustment method, apparatus, and electronic device of a vehicle control model according to an embodiment of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a processing frequency adjustment method of a vehicle control model according to an embodiment of the present invention.
As shown in fig. 1, the method comprises the steps of:
step 101, obtaining the running state information of the vehicle.
The operation state information of the vehicle includes an operating parameter and an operation scene, the operating parameter includes one or more combinations of a vehicle speed, a gear and a steering wheel angle, and the operation scene indicates a mode of operation of the vehicle, such as cruising, garage or parking.
And 102, determining a target frequency of data processing of the vehicle control model according to the running state information of the vehicle.
The vehicle control models can be one or more, corresponding frequencies need to be set when the vehicle control models operate, the set frequencies are different, the performances of the vehicle control models are different, the target frequency is the optimal working frequency of each vehicle control model during data processing, and the frequency of each vehicle control model in the optimal performances can be enabled to be played. In this embodiment, a target frequency corresponding to a vehicle control model is determined according to the acquired running state information of the vehicle, where the target frequencies of different vehicle control models may be the same or different.
Specifically, according to the working parameters and/or the running scenes of the vehicle, the processing frequency of part of the vehicle control models is increased, the processing frequency of the rest of the vehicle control models is reduced, and the target frequency of the corresponding vehicle control models is obtained.
Step 103, configuring a first timer according to the target frequency.
The first timer has a corresponding timing duration, the timing duration of the timer can be set according to requirements, and a corresponding relation exists between the timing duration and corresponding frequency, so that a corresponding target timing duration can be determined according to a target frequency, and the target timing duration is set as the current timing duration of the first timer, thereby realizing that the first timer is configured according to the target frequency, so that the frequency corresponding to the first period is the target frequency, the target frequency corresponding to the first timer can be used as the frequency of the vehicle control model for data processing, so that the vehicle control model can perform data processing based on the target frequency, the efficiency of the model is fully exerted, and the vehicle operation effect and purpose are improved.
And 104, changing a second timer adopted by the vehicle control model into the first timer so as to control the vehicle control model to perform data processing based on the target frequency by adopting the first timer.
The vehicle control model in this embodiment includes at least two timers, where one timer is a currently used timer, i.e., a main timer, and the other timer is a currently unused timer, i.e., a standby timer, and for convenience of distinction, the standby timer is referred to as a first timer, and the main timer is referred to as a second timer. In the running process of the vehicle, the frequency of the vehicle control model which is carrying out data processing cannot be interrupted, so that the frequency of the main timer which is used by the vehicle control model is switched to the frequency of the standby timer by setting the main timer and the standby timer, the frequency of the vehicle control model is not interrupted while the frequency of the vehicle control model is changed, and the normal running of the vehicle is ensured.
Specifically, a second timer serving as a main timer of the vehicle control model is stopped, a first timer is started and serves as the main timer, meanwhile, the second timer is changed into a standby timer of the vehicle control model, and the main timer and the standby timer are replaced, so that the normal running of the vehicle is guaranteed, the control model runs in a better state, and the running effect of the vehicle is improved.
In the processing frequency adjusting method of the vehicle control model in the embodiment, the running state information of the vehicle is acquired, the target frequency of the vehicle control model for data processing is determined according to the running state information of the vehicle, the first timer is configured according to the target frequency, the second timer adopted by the vehicle control model is changed into the first timer, the first timer is adopted to control the vehicle control model to perform data processing based on the target frequency, the target frequency of the model is determined according to the running state information of the vehicle under the condition of limited resources, and the adopted timer is changed, so that the frequency of the control model for data processing is dynamically adjusted, and reasonable distribution of system resources is realized.
To clearly illustrate the above embodiment, this embodiment provides a possible implementation manner of another method for adjusting the processing frequency of a vehicle control model, and fig. 2 is a flowchart of another method for adjusting the processing frequency of a vehicle control model according to an embodiment of the present invention.
As shown in fig. 2, the method may include the steps of:
in step 201, the running state information of the vehicle is acquired.
The operation state information includes working parameters and an operation scene, where the working parameters include one or more combinations of a vehicle speed, a gear, and a steering wheel angle, and optionally, the working parameters may be obtained from various sensors or processing units currently operated by the vehicle, for example, the determination of the vehicle speed, the vehicle speed information may be obtained from a speed sensor for detecting the vehicle speed, or the vehicle speed information may be obtained from a monitoring module for detecting the vehicle operation state in real time; the gear can be determined by using the actual position point of the current gear selecting and shifting shaft detected by the sensor for detecting the gear, or the gear information can be acquired from the monitoring module for detecting the vehicle running state in real time.
The operation scene corresponds to a vehicle operation mode, and includes a cruise mode, a parking mode, a garage leaving mode, a parking space detection mode and the like, the current operation mode of the vehicle can be determined according to a mode monitoring module for detecting the vehicle operation mode in real time, so as to determine the operation scene, and in practical application, the operation scene can be subdivided according to requirements, which is not limited in the embodiment.
And 202, deactivating or activating part of the vehicle control model according to the operation scene.
The number of the vehicle control models may be plural.
Specifically, the vehicle may operate in different operating scenarios, and the vehicle control models required for vehicle operation may be different in different operating scenarios.
In one scenario, the vehicle operation scenario is cruising, which means that a vehicle is currently in a scenario that the vehicle is cruising at a certain speed, so that a vehicle control model for cruising can be started, and the vehicle control model for parking and leaving required by a parking and leaving scenario repellent to cruising can be stopped, so that partial resources of the vehicle are released, the operation of the vehicle control model which is operated is fully met under the condition that system resources are insufficient, and the effect of automatic operation of the vehicle is improved.
In another scenario, the vehicle operation scenario is a garage exit, which means that the vehicle leaves from a fixed parking space, so that the vehicle control model for parking, cruising and parking space detection can be disabled, and the vehicle control model for garage exit is enabled to release the resources of the vehicle, meet the operation of the operated vehicle control model, and improve the automatic operation effect of the vehicle.
In another scenario, the vehicle operation scenario is parking, and since the parking is to park the vehicle in a fixed parking space, the vehicle does not need to be controlled to operate subsequently, so that the vehicle control model for parking needs to be started, and other vehicle control models need to be stopped, so that the resources of the vehicle are released, the operation of the operated vehicle control model is met, and the automatic operation effect of the vehicle is improved.
And 203, according to the working parameters and/or the running scenes of the vehicle, improving the processing frequency of part of the vehicle control models and reducing the processing frequency of the rest of the vehicle control models to obtain the target frequency of the corresponding vehicle control models.
In practical application, when the vehicle runs, the corresponding running scene and/or working parameters of the vehicle are changed, so that the required operating frequencies of the plurality of vehicle control models included in the vehicle are different, according to the preset fixed working frequency, part of the vehicle control models cannot meet the performance requirement of vehicle operation, the working frequency of part of the vehicle control models is possibly set higher, which causes waste, that is, the resources cannot be reasonably allocated, in this embodiment, according to the working parameters and/or the operation scenes of the vehicle, the processing frequency of some vehicle control models is increased and the processing frequencies of the remaining vehicle control models are reduced to obtain the target frequency of the corresponding vehicle control model, so that each vehicle control model can work at a reasonable frequency, reasonable utilization of resources is realized, and the running effect of the vehicle is improved.
As a possible implementation manner, if one of the increase of the vehicle speed, the increase of the gear and the increase of the steering angle is satisfied, the processing frequency of the vehicle control model for cruising is correspondingly increased, the processing frequencies of the other vehicle control models in the activated state are correspondingly decreased, the processing frequency of the vehicle control model for cruising after being increased is taken as a target frequency, the processing frequency of the other vehicle control models after being decreased is taken as a target frequency, and the processing frequency of the corresponding control model, i.e., the vehicle control model for cruising in the activated state is ensured to be increased when the vehicle runs at a certain speed, so that the running effect of the vehicle during cruising can be ensured under the condition of limited resources.
Similarly, when the working parameters of the vehicle are other parameters, the processing frequency of the corresponding vehicle control model can be increased, and the processing frequencies of the other vehicle control models in the starting state are correspondingly reduced, so that the running effect of the vehicle is guaranteed under the condition of limited resources.
Step 204, configuring a first timer according to the target frequency.
And step 205, changing a second timer adopted by the vehicle control model into the first timer so as to control the vehicle control model to perform data processing based on the target frequency by adopting the first timer.
The step 204-205 can refer to the specific descriptions in the steps 103 and 104 in the previous embodiment, and the principle is the same, which is not described herein again.
In the embodiment of the present invention, there may be one or more vehicle control models, each of which has a corresponding first timer and second timer, and for convenience of describing the vehicle control models, a process of converting the control frequency into the target frequency is realized by controlling the first timer and the second timer to change, and the process is described by changing the first timer and the second timer of the cruise vehicle control model shown in fig. 3.
As shown in fig. 3, when the operating state information of the vehicle changes, according to the acquired operating state information of the current vehicle, where the operating parameter indicates that the vehicle speed increases, that is, the operating scene is the cruise mode, it is determined that the processing frequency of the currently-operating cruise vehicle control model needs to be increased, so that the cruise mode exerts the maximum efficiency, and at the same time, the processing frequency of the other vehicle control models in operation is decreased, and the processing frequency of the increased cruise vehicle control model is taken as the target frequency. Furthermore, the first timer as the standby timer is configured according to the target frequency, so that the frequency corresponding to the first timer is set as the target frequency, the main timer currently used by the cruising vehicle control model is the second timer, and the second timer providing the processing frequency cannot be deactivated during the operation of the cruising vehicle control model, so that the deactivated second timer is changed to the standby timer of the vehicle control model by deactivating the main timer, i.e. the second timer, adopted by the cruising vehicle control model and activating the first timer originally used as the standby timer as the main timer, that is, the first timer used as the main timer and the first timer used as the standby timer in the embodiment can switch the main timer and the standby timer according to the operation scene, that is, the second timer is currently used as the main timer in one operation scene, when the running scene is changed to another running scene, the second timer is changed to be the standby timer, and the first timer is used as the main timer, so that the dynamic change of the target frequency is realized through the change of the main timer or the standby timer of the first timer and the second timer, the limited resources are reasonably distributed and utilized, and the maximum performance of the vehicle is exerted.
In the processing frequency adjusting method of the vehicle control model of the embodiment of the invention, the running state information of the vehicle is acquired, part of the vehicle control model is closed according to the running state information of the vehicle to realize the partial release of limited resources and improve the performance of the vehicle, furthermore, the target frequency of the vehicle control model for data processing is determined according to the running state information, the first timer is configured according to the target frequency, the second timer adopted by the vehicle control model is changed into the first timer, the first timer is adopted to control the vehicle control model to perform data processing based on the target frequency, the target frequency of the model is determined according to the running state information of the vehicle under the condition of limited resources, the adopted timer is changed to dynamically adjust the frequency of the control model for data processing, and the reasonable distribution of the limited system resources is realized, the running performance of the vehicle is improved.
In order to implement the above embodiment, the present invention also provides a processing frequency adjustment apparatus of a vehicle control model.
Fig. 4 is a schematic structural diagram of a processing frequency adjusting apparatus of a vehicle control model according to an embodiment of the present invention.
As shown in fig. 4, the apparatus includes: an acquisition module 41, a determination module 42, a configuration module 43, and an update module 44.
The obtaining module 41 is used for obtaining the running state information of the vehicle.
And the determining module 42 is used for determining the target frequency of the data processing of the vehicle control model according to the running state information of the vehicle.
A configuration module 43, configured to configure the first timer according to the target frequency.
And the updating module 44 is used for changing the second timer adopted by the vehicle control model into the first timer so as to control the vehicle control model to perform data processing based on the target frequency by adopting the first timer.
Further, in a possible implementation manner of the embodiment of the present invention, the running state information includes a running scenario, and the apparatus further includes: and a processing module.
And the processing module is used for deactivating and/or activating part of the vehicle control model according to the operation scene.
As a possible implementation manner, the processing module is specifically configured to:
if the operation scene is cruising, stopping the vehicle control model for parking and leaving the garage, and starting the vehicle control model for cruising;
if the operation scene is warehouse-out, stopping the vehicle control model for parking, cruising and parking space detection, and starting the vehicle control model for warehouse-out;
and if the operation scene is parking, starting the vehicle control model for parking and stopping other vehicle control models.
As a possible implementation manner, the update module is specifically configured to:
deactivating the second timer as the vehicle control model master timer; enabling the first timer and acting as the master timer; changing the second timer to a standby timer of the vehicle control model.
As one possible implementation, the vehicle control model is plural; each of the vehicle control models has the corresponding first timer and the second timer.
As a possible implementation, the operation state information includes working parameters and operation scenes;
a determination module specifically configured to:
according to the working parameters and/or the running scenes of the vehicles, the processing frequency of part of the vehicle control models is improved, and the processing frequency of the rest of the vehicle control models is reduced, so that the target frequency of the corresponding vehicle control models is obtained.
As a possible implementation manner, the operating parameter includes one or more combinations of a vehicle speed, a gear, and a steering wheel angle, and the determining module is specifically further configured to:
if one of the increase in vehicle speed, the increase in gear, and the increase in steering wheel angle is satisfied, the processing frequency of the vehicle control model for cruising is correspondingly increased, and the processing frequency of the remaining vehicle control models in the activated state is correspondingly decreased.
It should be noted that the foregoing explanation of the embodiment of the adjusting method is also applicable to the adjusting device of the embodiment, and the principle is the same, and is not repeated here.
In the processing frequency adjusting device of the vehicle control model, the running state information of the vehicle is acquired, the target frequency of the vehicle control model for data processing is determined according to the running state information of the vehicle, the first timer is configured according to the target frequency, the second timer adopted by the vehicle control model is changed into the first timer, so that the first timer is adopted to control the vehicle control model to perform data processing based on the target frequency, the target frequency of the model is determined according to the running state information of the vehicle under the condition of limited resources, the adopted timer is changed, the frequency of the control model for data processing is dynamically adjusted, the reasonable distribution of the limited system resources is realized, and the running performance of the vehicle is improved.
In order to implement the foregoing embodiments, the present invention further proposes an electronic device, which includes a memory, a processor and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the electronic device implements the processing frequency adjustment method of the vehicle control model according to the foregoing method embodiments.
In order to implement the above-mentioned embodiments, the present invention also proposes a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a processing frequency adjustment method of a vehicle control model as described in the aforementioned method embodiments.
FIG. 5 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application. The electronic device 12 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via the Network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, for example, implementing the methods mentioned in the foregoing embodiments, by executing programs stored in the system memory 28.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (12)

1. A method of processing frequency adjustment of a vehicle control model, characterized by comprising:
acquiring running state information of a vehicle, wherein the running state information comprises working parameters and a running scene, and the running scene is determined according to a running mode of the vehicle;
determining a target frequency of data processing of the vehicle control models according to the running state information of the vehicle, wherein according to the working parameters and running scenes of the vehicle, the processing frequency of part of the vehicle control models is increased, and the processing frequencies of the rest of the vehicle control models are reduced to obtain the target frequency of the corresponding vehicle control models;
configuring a first timer according to the target frequency, wherein a corresponding target timing duration is determined according to the target frequency, the target timing duration is set as the current timing duration of the first timer, and the timing duration and the frequency of the first timer have a corresponding relation;
and changing a second timer adopted by the vehicle control model into the first timer to adopt the first timer to control the vehicle control model to perform data processing based on the target frequency, wherein the second timer is used as a main timer, the first timer is used as a standby timer, and after the second timer adopted by the vehicle control model is changed into the first timer, the first timer is changed into the main timer and simultaneously the second timer is changed into the standby timer.
2. The processing frequency adjustment method according to claim 1, wherein the vehicle control model is plural;
each of the vehicle control models has the corresponding first timer and the second timer.
3. The processing frequency adjustment method according to claim 1, wherein the operating parameters include one or more combinations of vehicle speed, gear, and steering wheel angle; according to the working parameter and the operation scene of vehicle, improve the processing frequency of some vehicle control models and reduce the processing frequency of other vehicle control models, include:
if one of the increase in vehicle speed, the increase in gear, and the increase in steering wheel angle is satisfied, the processing frequency of the vehicle control model for cruising is correspondingly increased, and the processing frequency of the remaining vehicle control models in the activated state is correspondingly decreased.
4. The processing frequency adjustment method according to any one of claims 1 to 2, wherein the operation state information includes an operation scenario; after the operation state information of the vehicle is obtained, the method further comprises the following steps:
and according to the operation scene, deactivating or activating part of the vehicle control model.
5. The processing frequency adjustment method according to claim 4, wherein the deactivating or activating of the partial vehicle control model according to the operation scenario comprises:
if the operation scene is cruising, stopping the vehicle control model for parking and leaving the garage, and starting the vehicle control model for cruising;
if the operation scene is warehouse-out, stopping the vehicle control model for parking, cruising and parking space detection, and starting the vehicle control model for warehouse-out;
and if the operation scene is parking, starting the vehicle control model for parking and stopping other vehicle control models.
6. A processing frequency adjusting apparatus of a vehicle control model, characterized by comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring running state information of a vehicle, the running state information comprises working parameters and a running scene, and the running scene is determined according to a running mode of the vehicle;
the determining module is used for determining the target frequency of the vehicle control models for data processing according to the running state information of the vehicles, wherein according to the working parameters and running scenes of the vehicles, the processing frequency of part of the vehicle control models is increased, and the processing frequencies of the rest of the vehicle control models are reduced to obtain the target frequency of the corresponding vehicle control models;
a configuration module, configured to configure a first timer according to the target frequency, where a corresponding target timing duration is determined according to the target frequency, the target timing duration is set as a current timing duration of the first timer, and a correspondence relationship exists between the timing duration and the frequency of the first timer;
and the updating module is used for changing a second timer adopted by the vehicle control model into the first timer so as to adopt the first timer to control the vehicle control model to perform data processing based on the target frequency, wherein the second timer is used as a main timer, the first timer is used as a standby timer, and after the second timer adopted by the vehicle control model is changed into the first timer, the first timer is changed into the main timer, and meanwhile, the second timer is changed into the standby timer.
7. The process frequency adjustment apparatus according to claim 6, wherein the vehicle control model is plural;
each of the vehicle control models has the corresponding first timer and the second timer.
8. The processing frequency adjustment device according to claim 6, wherein the operating parameters include one or more combinations of vehicle speed, gear, and steering wheel angle; the determining module is specifically further configured to:
if one of the increase in vehicle speed, the increase in gear, and the increase in steering wheel angle is satisfied, the processing frequency of the vehicle control model for cruising is correspondingly increased, and the processing frequency of the remaining vehicle control models in the activated state is correspondingly decreased.
9. The processing frequency adjustment apparatus according to any one of claims 6 to 7, wherein the operation state information includes an operation scenario; the device, still include:
and the processing module is used for deactivating and/or activating part of the vehicle control model according to the operation scene.
10. The processing frequency adjustment apparatus according to claim 9, wherein the processing module is specifically configured to:
if the operation scene is cruising, stopping the vehicle control model for parking and leaving the garage, and starting the vehicle control model for cruising;
if the operation scene is warehouse-out, stopping the vehicle control model for parking, cruising and parking space detection, and starting the vehicle control model for warehouse-out;
and if the operation scene is parking, starting the vehicle control model for parking and stopping other vehicle control models.
11. 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 processing frequency adjustment method of a vehicle control model according to any one of claims 1-5 when executing the program.
12. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a processing frequency adjustment method of a vehicle control model according to any one of claims 1-5.
CN201910516051.2A 2019-06-14 2019-06-14 Processing frequency adjusting method and device of vehicle control model and electronic equipment Active CN110275510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910516051.2A CN110275510B (en) 2019-06-14 2019-06-14 Processing frequency adjusting method and device of vehicle control model and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910516051.2A CN110275510B (en) 2019-06-14 2019-06-14 Processing frequency adjusting method and device of vehicle control model and electronic equipment

Publications (2)

Publication Number Publication Date
CN110275510A CN110275510A (en) 2019-09-24
CN110275510B true CN110275510B (en) 2021-12-07

Family

ID=67960766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910516051.2A Active CN110275510B (en) 2019-06-14 2019-06-14 Processing frequency adjusting method and device of vehicle control model and electronic equipment

Country Status (1)

Country Link
CN (1) CN110275510B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1576562A (en) * 2003-06-25 2005-02-09 日立优喜雅汽车配件有限公司 Control apparatus for vehicle and method thererof
CN102004543A (en) * 2010-11-29 2011-04-06 华为技术有限公司 Method and device for realizing energy saving of CPU
CN103955264A (en) * 2014-05-15 2014-07-30 乐视致新电子科技(天津)有限公司 Method and system for dynamically regulating working frequency of processor
CN105933702A (en) * 2016-04-19 2016-09-07 北京工商大学 Power consumption control method based on task sensitivity
CN106200518A (en) * 2015-04-29 2016-12-07 中国科学院电工研究所 A kind of frequency self-adaption method of electric-vehicle remote monitoring system
CN107817888A (en) * 2016-09-14 2018-03-20 北京百度网讯科技有限公司 For the method and apparatus for the FPGA boards for operating automatic driving vehicle
CN109085837A (en) * 2018-08-30 2018-12-25 百度在线网络技术(北京)有限公司 Control method for vehicle, device, computer equipment and storage medium
CN109353345A (en) * 2018-10-29 2019-02-19 百度在线网络技术(北京)有限公司 Control method for vehicle, device, equipment, medium and vehicle

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006004144A (en) * 2004-06-17 2006-01-05 Denso Corp Vehicle control unit
US9456067B2 (en) * 2012-12-28 2016-09-27 Trimble Navigation Limited External electronic distance measurement accessory for a mobile data collection platform
EP2789999A1 (en) * 2013-04-10 2014-10-15 BAE Systems PLC Spectral imaging
CN103856143B (en) * 2014-01-18 2016-07-27 江西江特电气集团有限公司 The adjustment control method of the given safe operation frequency of converter overclocking
CN105677482B (en) * 2015-12-31 2020-12-18 联想(北京)有限公司 Frequency adjusting method and electronic equipment
JP2017123029A (en) * 2016-01-06 2017-07-13 富士通株式会社 Information notification apparatus, information notification method and information notification program
EP4194888A1 (en) * 2016-09-20 2023-06-14 Innoviz Technologies Ltd. Lidar systems and methods
CN107992016A (en) * 2016-10-26 2018-05-04 法乐第(北京)网络科技有限公司 A kind of automatic driving vehicle analog detection method
CN107357654B (en) * 2017-06-21 2020-07-24 联想(北京)有限公司 Method and device for controlling over-frequency working state of CPU
CN109521748B (en) * 2017-09-19 2021-07-02 成都鼎桥通信技术有限公司 Test method of unmanned vehicle
CN107945515A (en) * 2017-12-25 2018-04-20 合肥工业大学 Road traffic visibility stage division based on running velocity
CN109472884B (en) * 2018-10-29 2022-02-18 百度在线网络技术(北京)有限公司 Unmanned vehicle data storage method, device, equipment and storage medium
CN109795505A (en) * 2018-12-10 2019-05-24 北京百度网讯科技有限公司 Automatic Pilot method of discrimination, device, computer equipment and storage medium
CN109799699B (en) * 2019-02-19 2022-06-07 阿波罗智能技术(北京)有限公司 Automatic driving system control parameter processing method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1576562A (en) * 2003-06-25 2005-02-09 日立优喜雅汽车配件有限公司 Control apparatus for vehicle and method thererof
CN102004543A (en) * 2010-11-29 2011-04-06 华为技术有限公司 Method and device for realizing energy saving of CPU
CN103955264A (en) * 2014-05-15 2014-07-30 乐视致新电子科技(天津)有限公司 Method and system for dynamically regulating working frequency of processor
CN106200518A (en) * 2015-04-29 2016-12-07 中国科学院电工研究所 A kind of frequency self-adaption method of electric-vehicle remote monitoring system
CN105933702A (en) * 2016-04-19 2016-09-07 北京工商大学 Power consumption control method based on task sensitivity
CN107817888A (en) * 2016-09-14 2018-03-20 北京百度网讯科技有限公司 For the method and apparatus for the FPGA boards for operating automatic driving vehicle
CN109085837A (en) * 2018-08-30 2018-12-25 百度在线网络技术(北京)有限公司 Control method for vehicle, device, computer equipment and storage medium
CN109353345A (en) * 2018-10-29 2019-02-19 百度在线网络技术(北京)有限公司 Control method for vehicle, device, equipment, medium and vehicle

Also Published As

Publication number Publication date
CN110275510A (en) 2019-09-24

Similar Documents

Publication Publication Date Title
US10705591B2 (en) Aggregated electronic device power management
JP2020032998A (en) Vehicle controlling method and apparatus, computer device, and storage medium
EP2017727B1 (en) Computer having flash memory and method of operating flash memory
EP4155113A1 (en) Method and device for controlling vehicle-mounted game, and program, storage medium and vehicle
KR20180134343A (en) Improved Dynamic Clock and Voltage Scaling (DCVS)
CN110275510B (en) Processing frequency adjusting method and device of vehicle control model and electronic equipment
CN110654357A (en) Parking control method, device and equipment and vehicle
JP2006281900A (en) On-vehicle information system and application execution method
CN112440902B (en) Steering wheel, steering device and vehicle
CN114506292A (en) Automobile tail gate control method and system and vehicle
US11766975B2 (en) Managing power in an integrated circuit for high-speed activation
JP2006234514A (en) Rotational speed detector
JP2013510353A (en) Memory configuration
CN113844457A (en) Method and apparatus for vehicle energy management
CN110337389B (en) Low-energy-consumption operation of motor vehicle functions during motor vehicle operation
JP2014004858A (en) Vehicle control device
CN112017651A (en) Voice control method and device of electronic equipment, computer equipment and storage medium
US20210240512A1 (en) Vehicle control device, vehicle control method and storage medium storing vehicle control program
JP2008276674A (en) Electronic computer capable of specifying execution time of task, and program for electronic computer
US20220191616A1 (en) Seamless audio transfer in a multi-processor audio system
CN115339553B (en) Intelligent light control method and device, electric scooter and storage medium
CN111124660A (en) Method and device for allocating idle resources in virtual machine
CN116729336B (en) Method, device, equipment and medium for determining braking time
CN117097039A (en) Charging method and device for electronic equipment, electronic equipment and storage medium
CN112644289B (en) Electric braking parking method and device for vehicle, motor controller and vehicle

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
GR01 Patent grant
GR01 Patent grant