CN108773323B - Operation control method, electronic rearview mirror and computer readable storage medium - Google Patents
Operation control method, electronic rearview mirror and computer readable storage medium Download PDFInfo
- Publication number
- CN108773323B CN108773323B CN201810532447.1A CN201810532447A CN108773323B CN 108773323 B CN108773323 B CN 108773323B CN 201810532447 A CN201810532447 A CN 201810532447A CN 108773323 B CN108773323 B CN 108773323B
- Authority
- CN
- China
- Prior art keywords
- function module
- rearview mirror
- electronic rearview
- video recording
- occupancy rate
- 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
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R1/00—Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
- B60R1/12—Mirror assemblies combined with other articles, e.g. clocks
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R1/00—Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
- B60R1/12—Mirror assemblies combined with other articles, e.g. clocks
- B60R2001/1253—Mirror assemblies combined with other articles, e.g. clocks with cameras, video cameras or video screens
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R1/00—Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
- B60R1/12—Mirror assemblies combined with other articles, e.g. clocks
- B60R2001/1276—Mirror assemblies combined with other articles, e.g. clocks with radio receivers, loud-speakers or buzzers
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R1/00—Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
- B60R1/12—Mirror assemblies combined with other articles, e.g. clocks
- B60R2001/1284—Mirror assemblies combined with other articles, e.g. clocks with communication systems other than radio-receivers, e.g. keyless entry systems, navigation systems; with anti-collision systems
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Multimedia (AREA)
- Navigation (AREA)
- Rear-View Mirror Devices That Are Mounted On The Exterior Of The Vehicle (AREA)
Abstract
The invention discloses an operation control method applied to an electronic rearview mirror, which comprises the following steps: detecting broadcast voice states of a navigation function module and a voice interaction function module in the electronic rearview mirror; when any one of the navigation function module and the voice interaction function module is detected to enter a broadcast voice state, the operation parameters of the video recording function module in the electronic rearview mirror are adjusted to release part of resources in CPU resources occupied by the video recording function module in the operation process. The invention also discloses an electronic rearview mirror and a computer readable storage medium.
Description
Technical Field
The present invention relates to the field of vehicles, and in particular, to an operation control method, an electronic rearview mirror, and a computer-readable storage medium.
Background
The electronic rearview mirror is a multifunctional electronic device integrating a vehicle data recorder, navigation, multimedia application and human-computer interaction, a plurality of functional modules share one set of CPU resource, and each time the electronic rearview mirror operates one function, the corresponding CPU resource needs to be distributed to the functional module.
In practical use, the electronic rearview mirror often has a state where a plurality of functional modules operate simultaneously, for example, the electronic rearview mirror simultaneously starts functions of driving recording (real-time video recording), navigation and music playing, and in this state, the electronic rearview mirror needs to allocate CPU resources to the functional modules one by one, so that the occupancy rate of the CPU resources of the system may be as high as more than 80%. If a functional module occupying large system CPU resources is operated again at the moment, such as voice interaction or navigation broadcasting, due to the fact that the available resources of the system CPU are insufficient, the phenomenon of blockage can occur in the audio broadcasting process, and therefore smooth operation of the whole set of system is affected.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention desirably provide an operation control method, an electronic rearview mirror, and a computer-readable storage medium, where when a plurality of functional modules operate simultaneously, the electronic rearview mirror does not suffer from a stuttering phenomenon during operation of audio broadcast, so that smooth operation of the system can be ensured.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an operation control method, which is applied to an electronic rearview mirror and comprises the following steps:
detecting broadcast voice states of a navigation function module and a voice interaction function module in the electronic rearview mirror;
when any one of the navigation function module and the voice interaction function module is detected to enter a broadcast voice state, the operation parameters of the video recording function module in the electronic rearview mirror are adjusted to release part of resources in CPU resources occupied by the video recording function module in the operation process.
In the foregoing solution, after the adjusting the operation parameters of the video recording function module in the electronic rearview mirror, the method further includes:
determining the occupancy rate of CPU resources in the running process of the electronic rearview mirror;
and when the occupancy rate is greater than a preset threshold value, adjusting the operation parameters of the video recording function module in the electronic rearview mirror again so as to release part of the resources in the CPU resources occupied by the video recording function module in the operation process.
In the above scheme, the determining the occupancy rate of the CPU resource in the operation process of the electronic rearview mirror includes:
acquiring target operation parameters of the video recording function module and the functional modules which are in operation except the video recording function module in the electronic rearview mirror;
determining the occupancy rate of the CPU resource of the video recording function module according to the target operation parameter and the preset corresponding relation between the operation parameter of the video recording function module and the occupancy rate of the CPU resource;
determining the occupancy rate of the CPU resource of the running functional module according to the running functional module and the preset initialization configuration of the CPU occupancy rates of the functional modules in the electronic rearview mirror;
and determining the occupancy rate of the CPU resource in the running process of the electronic rearview mirror according to the occupancy rate of the CPU resource of the video recording function module and the occupancy rate of the CPU resource of the running function module.
In the foregoing solution, the obtaining the target operation parameter of the video recording function module includes:
and reading the shooting parameters of a monitoring camera installed on the electronic rearview mirror, and determining the target operation parameters of the video recording function module.
In the above solution, adjusting the operation parameters of the video recording function module in the electronic rearview mirror includes:
and reducing the video frame rate of the video functional module.
An embodiment of the present invention further provides an electronic rearview mirror, including: a processor, and a memory for storing a computer program operable on the processor; wherein the content of the first and second substances,
the processor is configured to, when running the computer program, perform:
detecting broadcast voice states of a navigation function module and a voice interaction function module in the electronic rearview mirror;
when any one of the navigation function module and the voice interaction function module is detected to enter a broadcast voice state, the operation parameters of the video recording function module in the electronic rearview mirror are adjusted to release part of resources in CPU resources occupied by the video recording function module in the operation process.
In the foregoing solution, the processor is configured to execute, when running the computer program:
determining the occupancy rate of CPU resources in the running process of the electronic rearview mirror;
and when the occupancy rate is greater than a preset threshold value, adjusting the operation parameters of the video recording function module in the electronic rearview mirror again so as to release part of the resources in the CPU resources occupied by the video recording function module in the operation process.
In the foregoing solution, the processor is configured to execute, when running the computer program:
acquiring target operation parameters of the video recording function module and the functional modules which are in operation except the video recording function module in the electronic rearview mirror;
determining the occupancy rate of the CPU resource of the video recording function module according to the target operation parameter and the preset corresponding relation between the operation parameter of the video recording function module and the occupancy rate of the CPU resource;
determining the occupancy rate of the CPU resource of the running functional module according to the running functional module and the preset initialization configuration of the CPU occupancy rates of the functional modules in the electronic rearview mirror;
and determining the occupancy rate of the CPU resource in the running process of the electronic rearview mirror according to the occupancy rate of the CPU resource of the video recording function module and the occupancy rate of the CPU resource of the running function module.
An embodiment of the present invention further provides an electronic rearview mirror, including: the device comprises a detection module and an adjustment module; wherein the content of the first and second substances,
the detection module is used for detecting the broadcast voice states of the navigation function module and the voice interaction function module in the electronic rearview mirror;
and the adjusting module is used for adjusting the operation parameters of the video recording function module in the electronic rearview mirror when detecting that any one of the navigation function module and the voice interaction function module enters a broadcast voice state, so as to release part of resources in CPU resources occupied by the video recording function module in the operation process.
The embodiment of the invention also provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when being executed by a processor, a computer program of the computer-executable instructions realizes the operation control method.
According to the operation control method and the electronic rearview mirror provided by the embodiment of the invention, firstly, the broadcast voice states of a navigation function module and a voice interaction function module in the electronic rearview mirror are detected; and then, when any one of the navigation function module and the voice interaction function module is detected to enter a broadcast voice state, adjusting the operation parameters of the video recording function module in the electronic rearview mirror so as to release part of resources in CPU resources occupied by the video recording function module in the operation process.
Therefore, in the embodiment of the invention, when any one of the navigation function module and the voice interaction function module in the electronic rearview mirror is detected to enter the broadcast voice state, the running parameters of the video recording function module in the electronic rearview mirror are adjusted to release part of the resources in the CPU resources occupied by the running process of the video recording function module, so that the electronic rearview mirror has enough CPU resources to support the running of the audio broadcast function of the navigation function module and the voice interaction function module, the electronic rearview mirror can not be blocked during the running of the audio broadcast, and the smooth running of the system is further ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic flow chart of an implementation of an operation control method according to an embodiment of the present invention;
FIG. 2 is a second schematic flow chart of the implementation of the operation control method according to the embodiment of the present invention;
FIG. 3 is a schematic diagram of a detailed implementation flow of step 201 in the implementation flow shown in FIG. 2;
FIG. 4 is a third schematic flow chart of an implementation of the operation control method according to the embodiment of the present invention;
FIG. 5 is a schematic view of the electronic rearview mirror according to the embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic rearview mirror according to an embodiment of the present invention.
Detailed Description
As can be seen from the description of the background art, in the related art, in the operation control scheme applied to the electronic rearview mirror, under the condition that a plurality of functional modules operate simultaneously, there is a problem of resource allocation tension, so that smooth operation of the system cannot be ensured.
Taking an electronic rearview mirror on a car as an example, in order to ensure the safety of the car, the surrounding environment of the car needs to be monitored, so that the electronic rearview mirror installed on the car needs to start the function of driving recording all the time to record a video in real time to record the surrounding environment of the car. Meanwhile, in the driving process, a user may need to start the navigation function of the electronic rearview mirror and start the music playing function; therefore, under the condition that a plurality of functions operate simultaneously, the occupancy rate of the CPU resource of the electronic rearview mirror system can be up to more than 80%, if the electronic rearview mirror starts the audio playing function again, the phenomenon of blocking occurs, and smooth operation of the audio playing function cannot be guaranteed.
Based on this, according to the operation control scheme provided by the embodiment of the present invention, when it is detected that any one of the navigation function module and the voice interaction function module in the electronic rearview mirror enters the broadcast voice state, the operation parameters of the video recording function module in the electronic rearview mirror are adjusted to release part of resources in the CPU resources occupied by the video recording function module in the operation process, so that the electronic rearview mirror has enough CPU resources to support the operation of the audio broadcast function of the navigation function module and the voice interaction function module, and thus the electronic rearview mirror does not have a jam phenomenon during the operation of the audio broadcast, thereby ensuring smooth operation of the system.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a schematic flow chart of an implementation of the operation control method according to the embodiment of the present invention. Referring to fig. 1, the operation control method of the present embodiment specifically includes the following steps:
the operation control method of the embodiment is applied to an electronic rearview mirror, which may include a music function module, a navigation function module, a voice interaction function module and a video recording function module, and during initial operation, corresponding CPU resources need to be allocated to each function module, for example, 10% of CPU resources are allocated to the music function module, 10% of CPU resources are allocated to the navigation function module, 20% of CPU resources are allocated to the voice interaction function module, 50-60% of CPU resources are allocated to the video recording function module, and an occupancy rate of 50-60% of CPU resources during operation of the video recording function module corresponds to a video frame rate of 30 FPS.
After the initial configuration, the music function module and the video function module of the electronic rearview mirror are started in real time, if the navigation function module or the voice interaction function module is started at the same time, the occupancy rate of the CPU resource of the electronic rearview mirror system may be up to more than 80%, the phenomenon of jamming will occur, and thus the smooth operation of the audio playing function cannot be ensured. Therefore, the embodiment of the invention aims to ensure that the phenomenon of blockage can not occur in the audio broadcasting process when the audio broadcasting is started by any one of the navigation function module and the voice interaction function module of the electronic rearview mirror, thereby achieving the aim of smooth operation of the whole set of system.
In the embodiment of the present invention, the electronic rearview mirror may further include an Audio Track module (Audio Track), the Audio Track module may detect an Audio signal, and the Audio Track module may detect which functional module is sending the Audio signal. Therefore, in the embodiment of the invention, the broadcasting voice states of the navigation function module and the voice interaction function module in the electronic rearview mirror can be detected through the Audio Track.
In the embodiment of the present invention, the Audio Track may detect whether there is an Audio signal through the first state identification bit, and may determine which functional module the Audio signal comes from through the second state identification bit. When the first state identification position represents that an audio signal exists and the second state identification position determines that any one of the navigation function module and the voice interaction function module in the electronic rearview mirror enters a broadcast voice state, the operation parameters of the video function module in the electronic rearview mirror are adjusted.
Specifically, the operation parameter of the video recording function module may be a video frame rate, and adjusting the operation parameter of the video recording function module in the electronic rearview mirror includes: and reducing the video frame rate of the video functional module. Partial resources in CPU resources occupied by the video function module in the running process can be released by reducing the video frame rate of the video function module; for example, the number of frames transmitted per Second (FPS) is reduced to 15FPS, and at this time, about 20% of the CPU resource occupancy rate can be released, and the released CPU resource can support the operation of the navigation function module or the voice interaction function module.
In practical application, the operation parameters of the video function module, that is, the video frame rate of the video function module, may be determined by reading the camera parameters of the monitoring camera installed on the electronic rearview mirror.
In summary, in the embodiments of the present invention, when it is detected that any one of the navigation function module and the voice interaction function module in the electronic rearview mirror enters the broadcast voice state, the operation parameter of the video recording function module in the electronic rearview mirror is adjusted to release part of the resources in the CPU resources occupied by the operation process of the video recording function module, so that the electronic rearview mirror has enough CPU resources to support the operation of the audio broadcast function of the navigation function module and the voice interaction function module, and thus the electronic rearview mirror does not have a stuttering phenomenon during the operation of the audio broadcast, thereby ensuring smooth operation of the system.
Example two
As can be seen from the description of the first embodiment, the reason why the whole system is not smooth due to the occurrence of the jamming in the audio broadcasting process is that the CPU resource allocated by the system is insufficient, so that the system cannot support the normal operation of the function.
Specifically, fig. 2 is a second schematic flow chart of the implementation of the operation control method according to the embodiment of the present invention, and referring to fig. 2, the operation control method according to the embodiment specifically includes the following steps:
in the embodiment of the present invention, the electronic rearview mirror may include a video recording function module, and may also include other function modules, such as a music function module, a navigation function module, and a voice interaction function module, and during initial operation, corresponding CPU resources need to be allocated to each function module, for example, 10% of CPU resources are allocated to the music function module, 10% of CPU resources are allocated to the navigation function module, 20% of CPU resources are allocated to the voice interaction function module, 50-60% of CPU resources are allocated to the video recording function module, and 50-60% of CPU resource occupancy rate during operation of the video recording function module corresponds to a video frame rate of 30 FPS.
Meanwhile, the corresponding relationship between the CPU resource occupancy rate and the video frame rate needs to be set for the video recording function module, for example, when the video frame rate is 30FPS, the CPU resource occupancy rate is about 50%, and when the video frame rate is 15FPS, the CPU resource occupancy rate is about 30%.
Fig. 3 is a schematic diagram of a detailed implementation flow of step 201 in the implementation flow shown in fig. 2, and referring to fig. 3, after determining CPU resource occupancy rates of the functional modules, step 201 specifically includes:
here, the target operation parameter is a parameter in real-time operation of the video recording function module, that is, a video frame rate in a real-time video recording process, and the target operation parameter of the video recording function module, that is, the video frame rate of the video recording function module, may be determined by reading a camera parameter of a monitoring camera mounted on the electronic rearview mirror.
here, in the initial configuration, the corresponding relationship between the CPU resource occupancy rate and the video frame rate may be set for the video function module; therefore, when the target operation parameters of the video recording function module are detected, the CPU resource occupancy rate of the video recording function module can be determined by inquiring the corresponding relation.
In the embodiment of the invention, the occupancy rate of the CPU resource is directly detected, and when the occupancy rate is higher than the preset threshold value, the CPU resource is released by adjusting the operation parameters of the video recording function module, so that the normal operation of the newly added function module is ensured, and the aim of simultaneously operating all the function modules of the electronic rearview mirror is fulfilled.
EXAMPLE III
When the electronic rearview mirror is initially started, the video frame rate of the video function module is determined, so that when any one of the navigation function module and the voice interaction function module is detected to enter a broadcast voice state, the condition that the CPU resource occupancy rate is too high can be directly determined, and the operation parameters of the video function module in the electronic rearview mirror need to be adjusted. After the adjustment, the video frame rate of the video function module changes, and at this time, whether the operation parameters of the electronic rearview mirror need to be adjusted again or not can be determined by detecting the occupancy rate of the CPU resource in the operation process of the electronic rearview mirror, so as to ensure the normal operation of the newly added function module.
Specifically, fig. 4 is a third schematic flow chart of the implementation of the operation control method according to the embodiment of the present invention, and referring to fig. 4, the operation control method according to the embodiment specifically includes the following steps:
and 304, when the occupancy rate is greater than the preset threshold value, adjusting the operation parameters of the video recording function module in the electronic rearview mirror again so as to release part of the resources in the CPU resources occupied by the video recording function module in the operation process.
In order to implement the method of the embodiment of the present invention, the embodiment of the present invention further provides an electronic rearview mirror, which is used for implementing the specific details of the operation control method described above, and achieving the same effect.
Fig. 5 is a schematic structural diagram of an electronic rearview mirror according to an embodiment of the present invention, and referring to fig. 5, the electronic rearview mirror according to the embodiment includes: a detection module 41 and a first adjustment module 42; wherein the content of the first and second substances,
the detection module 41 is configured to detect broadcast voice states of a navigation function module and a voice interaction function module in the electronic rearview mirror;
the first adjusting module 42 is configured to, when it is detected that any one of the navigation function module and the voice interaction function module enters a broadcast voice state, adjust an operation parameter of the video recording function module in the electronic rearview mirror, so as to release a part of resources in CPU resources occupied by the video recording function module in an operation process.
Optionally, the electronic rearview mirror of this embodiment further includes: a determination module 43 and a second adjustment module 44; wherein the content of the first and second substances,
the determining module 43 is configured to determine an occupancy rate of CPU resources in the operation process of the electronic rearview mirror;
the second adjusting module 44 is configured to, when the occupancy rate is greater than a preset threshold, adjust the operation parameters of the video recording function module in the electronic rearview mirror again to release a part of resources in the CPU resources occupied by the video recording function module in the operation process.
Optionally, the determining module 43 is specifically configured to obtain target operation parameters of the video recording function module and functional modules of the electronic rearview mirror that are operating except the video recording function module; determining the occupancy rate of the CPU resource of the video recording function module according to the target operation parameter and the preset corresponding relation between the operation parameter of the video recording function module and the occupancy rate of the CPU resource; determining the occupancy rate of the CPU resource of the running functional module according to the running functional module and the preset initialization configuration of the CPU occupancy rates of the functional modules in the electronic rearview mirror; and determining the occupancy rate of the CPU resource in the running process of the electronic rearview mirror according to the occupancy rate of the CPU resource of the video recording function module and the occupancy rate of the CPU resource of the running function module.
Optionally, the determining module 43 is specifically configured to read a camera parameter of a monitoring camera installed on the electronic rearview mirror, and determine a target operation parameter of the video recording function module.
Optionally, the first adjusting module 41 and the second adjusting module 44 are specifically configured to reduce a video frame rate of the video recording function module.
In practical applications, the detecting module 41, the first adjusting module 42, the determining module 43 and the second adjusting module 44 can be implemented by a processor located in the electronic rearview mirror.
In the operation control of the electronic rearview mirror provided in the above embodiment, only the division of the program modules is exemplified, and in practical applications, the above processing may be distributed to different program modules according to needs, that is, the internal structure of the electronic rearview mirror is divided into different program modules to complete all or part of the above-described processing. In addition, the electronic rearview mirror and the operation control method provided by the embodiment belong to the same concept, and the specific implementation process is described in the method embodiment in detail and is not described again.
In order to implement the method of the embodiment of the present invention, the embodiment of the present invention further provides an electronic rearview mirror, which is used for implementing the specific details of the operation control method described above, and achieving the same effect.
Fig. 6 is a schematic view of a hardware structure of an electronic rearview mirror according to an embodiment of the present invention, and referring to fig. 6, the electronic rearview mirror in the embodiment includes: a processor 51, a memory 52 for storing a computer program operable on the processor 51; wherein the content of the first and second substances,
the processor 51 is configured to execute, when running the computer program:
detecting broadcast voice states of a navigation function module and a voice interaction function module in the electronic rearview mirror;
when any one of the navigation function module and the voice interaction function module is detected to enter a broadcast voice state, the operation parameters of the video recording function module in the electronic rearview mirror are adjusted to release part of resources in CPU resources occupied by the video recording function module in the operation process.
Optionally, the processor 51 is configured to, when running the computer program, execute:
determining the occupancy rate of CPU resources in the running process of the electronic rearview mirror;
and when the occupancy rate is greater than a preset threshold value, adjusting the operation parameters of the video recording function module in the electronic rearview mirror again so as to release part of the resources in the CPU resources occupied by the video recording function module in the operation process.
Optionally, the processor 51 is configured to, when running the computer program, execute:
acquiring target operation parameters of the video recording function module and the functional modules which are in operation except the video recording function module in the electronic rearview mirror;
determining the occupancy rate of the CPU resource of the video recording function module according to the target operation parameter and the preset corresponding relation between the operation parameter of the video recording function module and the occupancy rate of the CPU resource;
determining the occupancy rate of the CPU resource of the running functional module according to the running functional module and the preset initialization configuration of the CPU occupancy rates of the functional modules in the electronic rearview mirror;
and determining the occupancy rate of the CPU resource in the running process of the electronic rearview mirror according to the occupancy rate of the CPU resource of the video recording function module and the occupancy rate of the CPU resource of the running function module.
Optionally, the processor 51 is configured to, when running the computer program, execute:
and reading the shooting parameters of a monitoring camera installed on the electronic rearview mirror, and determining the target operation parameters of the video recording function module.
Optionally, the processor 51 is configured to, when running the computer program, perform:
and reducing the video frame rate of the video functional module.
In practice, of course, the various components are coupled together by a bus system 53, as shown in FIG. 6. It will be appreciated that the bus system 53 is used to enable communications among the components. The bus system 53 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 53 in fig. 6.
The present invention also provides a computer readable storage medium storing an executable program which when executed by a processor 51 implements the steps of:
detecting broadcast voice states of a navigation function module and a voice interaction function module in the electronic rearview mirror;
when any one of the navigation function module and the voice interaction function module is detected to enter a broadcast voice state, the operation parameters of the video recording function module in the electronic rearview mirror are adjusted to release part of resources in CPU resources occupied by the video recording function module in the operation process.
Optionally, the executable program is executed by the processor 51 to implement the following steps:
determining the occupancy rate of CPU resources in the running process of the electronic rearview mirror;
and when the occupancy rate is greater than a preset threshold value, adjusting the operation parameters of the video recording function module in the electronic rearview mirror again so as to release part of the resources in the CPU resources occupied by the video recording function module in the operation process.
Optionally, when being executed by the processor 51, the executable program specifically implements the step of determining the occupancy rate of the CPU resource in the operation process of the electronic rearview mirror:
acquiring target operation parameters of the video recording function module and the functional modules which are in operation except the video recording function module in the electronic rearview mirror;
determining the occupancy rate of the CPU resource of the video recording function module according to the target operation parameter and the preset corresponding relation between the operation parameter of the video recording function module and the occupancy rate of the CPU resource;
determining the occupancy rate of the CPU resource of the running functional module according to the running functional module and the preset initialization configuration of the CPU occupancy rates of the functional modules in the electronic rearview mirror;
and determining the occupancy rate of the CPU resource in the running process of the electronic rearview mirror according to the occupancy rate of the CPU resource of the video recording function module and the occupancy rate of the CPU resource of the running function module.
Optionally, when executed by the processor 51, the executable program is configured to implement the step of obtaining the target operation parameter of the video recording function module:
and reading the shooting parameters of a monitoring camera installed on the electronic rearview mirror, and determining the target operation parameters of the video recording function module.
Optionally, when being executed by the processor 51, the executable program specifically realizes the step of adjusting the operation parameters of the video recording function module in the electronic rearview mirror:
and reducing the video frame rate of the video functional module.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.
Claims (6)
1. An operation control method applied to an electronic rearview mirror, the method comprising the following steps:
detecting broadcast voice states of a navigation function module and a voice interaction function module in the electronic rearview mirror;
when any one of the navigation function module and the voice interaction function module is detected to enter a broadcast voice state, adjusting the operation parameters of the video function module in the electronic rearview mirror so as to release part of the CPU resources occupied by the video function module in the operation process;
the method further comprises the following steps:
determining the occupancy rate of CPU resources in the running process of the electronic rearview mirror;
when the occupancy rate is greater than a preset threshold value, the operation parameters of the video function module in the electronic rearview mirror are adjusted again so as to release part of the CPU resources occupied by the video function module in the operation process;
the determining the occupancy rate of the CPU resource in the running process of the electronic rearview mirror comprises the following steps:
acquiring target operation parameters of the video recording function module and the functional modules which are in operation except the video recording function module in the electronic rearview mirror;
determining the occupancy rate of the CPU resource of the video recording function module according to the target operation parameter and the preset corresponding relation between the operation parameter of the video recording function module and the occupancy rate of the CPU resource;
determining the occupancy rate of the CPU resource of the running functional module according to the running functional module and the preset initialization configuration of the CPU occupancy rates of the functional modules in the electronic rearview mirror;
and determining the occupancy rate of the CPU resource in the running process of the electronic rearview mirror according to the occupancy rate of the CPU resource of the video recording function module and the occupancy rate of the CPU resource of the running function module.
2. The method of claim 1, wherein the obtaining target operational parameters of the video cassette recording function module comprises:
and reading the shooting parameters of a monitoring camera installed on the electronic rearview mirror, and determining the target operation parameters of the video recording function module.
3. The method of claim 1, wherein adjusting the operational parameters of the video recording function module in the electronic rearview mirror comprises:
and reducing the video frame rate of the video functional module.
4. An electronic rearview mirror, comprising: a processor, and a memory for storing a computer program operable on the processor; wherein the content of the first and second substances,
the processor is configured to, when running the computer program, perform:
detecting broadcast voice states of a navigation function module and a voice interaction function module in the electronic rearview mirror;
when any one of the navigation function module and the voice interaction function module is detected to enter a broadcast voice state, adjusting the operation parameters of the video function module in the electronic rearview mirror so as to release part of the CPU resources occupied by the video function module in the operation process;
the processor is configured to, when running the computer program, perform:
determining the occupancy rate of CPU resources in the running process of the electronic rearview mirror;
when the occupancy rate is greater than a preset threshold value, the operation parameters of the video function module in the electronic rearview mirror are adjusted again so as to release part of the CPU resources occupied by the video function module in the operation process;
the processor is configured to, when running the computer program, perform:
acquiring target operation parameters of the video recording function module and the functional modules which are in operation except the video recording function module in the electronic rearview mirror;
determining the occupancy rate of the CPU resource of the video recording function module according to the target operation parameter and the preset corresponding relation between the operation parameter of the video recording function module and the occupancy rate of the CPU resource;
determining the occupancy rate of the CPU resource of the running functional module according to the running functional module and the preset initialization configuration of the CPU occupancy rates of the functional modules in the electronic rearview mirror;
and determining the occupancy rate of the CPU resource in the running process of the electronic rearview mirror according to the occupancy rate of the CPU resource of the video recording function module and the occupancy rate of the CPU resource of the running function module.
5. An electronic rearview mirror, comprising: the device comprises a detection module and an adjustment module; wherein the content of the first and second substances,
the detection module is used for detecting the broadcast voice states of the navigation function module and the voice interaction function module in the electronic rearview mirror;
the adjusting module is used for adjusting the operation parameters of the video recording function module in the electronic rearview mirror when detecting that any one of the navigation function module and the voice interaction function module enters a broadcast voice state, so as to release part of resources in CPU resources occupied by the video recording function module in the operation process;
further comprising: a determining module and a second adjusting module; wherein the content of the first and second substances,
the determining module is used for determining the occupancy rate of CPU resources in the running process of the electronic rearview mirror;
the second adjusting module is used for adjusting the operation parameters of the video recording function module in the electronic rearview mirror again when the occupancy rate is greater than a preset threshold value so as to release part of the CPU resources occupied by the video recording function module in the operation process;
the determining module is further specifically configured to obtain target operation parameters of the video recording function module and functional modules of the electronic rearview mirror that are operating except the video recording function module; determining the occupancy rate of the CPU resource of the video recording function module according to the target operation parameter and the preset corresponding relation between the operation parameter of the video recording function module and the occupancy rate of the CPU resource; determining the occupancy rate of the CPU resource of the running functional module according to the running functional module and the preset initialization configuration of the CPU occupancy rates of the functional modules in the electronic rearview mirror; and determining the occupancy rate of the CPU resource in the running process of the electronic rearview mirror according to the occupancy rate of the CPU resource of the video recording function module and the occupancy rate of the CPU resource of the running function module.
6. A computer-readable storage medium, in which computer-executable instructions are stored, and a computer program of the computer-executable instructions, when executed by a processor, implements the operation control method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810532447.1A CN108773323B (en) | 2018-05-29 | 2018-05-29 | Operation control method, electronic rearview mirror and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810532447.1A CN108773323B (en) | 2018-05-29 | 2018-05-29 | Operation control method, electronic rearview mirror and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108773323A CN108773323A (en) | 2018-11-09 |
CN108773323B true CN108773323B (en) | 2020-04-17 |
Family
ID=64027999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810532447.1A Active CN108773323B (en) | 2018-05-29 | 2018-05-29 | Operation control method, electronic rearview mirror and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108773323B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110223693B (en) * | 2019-06-21 | 2021-08-20 | 北京猎户星空科技有限公司 | Robot control method and device, electronic equipment and readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106394407B (en) * | 2016-11-04 | 2019-02-05 | 重庆优擎科技有限公司 | A kind of vehicle intelligent rear-view mirror system and its control method |
CN107302628B (en) * | 2017-05-27 | 2020-02-11 | Oppo广东移动通信有限公司 | Application function control method and related product |
CN107391259B (en) * | 2017-07-25 | 2020-12-01 | Oppo广东移动通信有限公司 | Resource processing method and device, computer readable storage medium and mobile terminal |
CN107896273A (en) * | 2017-09-28 | 2018-04-10 | 努比亚技术有限公司 | A kind of terminal processes management method, terminal and computer-readable recording medium |
-
2018
- 2018-05-29 CN CN201810532447.1A patent/CN108773323B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108773323A (en) | 2018-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106791689B (en) | Intelligent rearview mirror multi-camera monitoring system | |
CN108076317B (en) | Video data storage method and system, video access method and node | |
US11178402B2 (en) | System and method for dynamically adjusting a recording bitrate to accommodate a writing speed of a storage device | |
CN110198475B (en) | Video processing method, device, equipment, server and readable storage medium | |
US11444891B2 (en) | Electronic control unit, abnormality determination program, and abnormality determination method | |
US10573343B2 (en) | Video image recording control apparatus, video image recording control method, and video image recording control program | |
CN108773323B (en) | Operation control method, electronic rearview mirror and computer readable storage medium | |
CN105611252B (en) | A kind of kinescope method and equipment of video | |
JP2009217526A (en) | Drive recorder and computer program | |
CN109922366B (en) | Equipment parameter adjusting method, device, equipment and medium | |
US8711240B2 (en) | Data recording apparatus with recording control based on defect block and control method thereof | |
JP6913869B2 (en) | Surveillance equipment, surveillance systems and computer programs | |
JP2005135566A (en) | Playback apparatus and related playback method | |
CN113660460A (en) | Camera data distribution method and system, computer storage medium and electronic equipment | |
CN113179505A (en) | Bluetooth playing device restart reconnection method, Bluetooth playing device and electronic equipment | |
US9542974B2 (en) | Video management system and method for event recording using the same | |
CN115465225B (en) | Service life extension method and device of vehicle-mounted camera, vehicle and storage medium | |
KR100969300B1 (en) | Moving picture recording method and apparatus | |
CN111866422B (en) | Video data uploading method, device, equipment and computer readable storage medium | |
CN111464771B (en) | Multi-path output method and equipment for vehicle-mounted video | |
CN112311616B (en) | Data communication frequency statistical method, device and storage medium | |
CN116533900A (en) | Function management method and device for vehicle-mounted equipment, vehicle-mounted equipment and storage medium | |
CN112020079B (en) | Wireless communication device and method for electronic equipment, electronic equipment and storage medium | |
JP2024005364A (en) | On-vehicle appliance, operation management system, and operation record program | |
KR102452544B1 (en) | Managing apparatus for broadcasting of vehicle and method thereof |
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 |