CN117170612A - Control method, device and equipment of vehicle-mounted screen and storage medium - Google Patents
Control method, device and equipment of vehicle-mounted screen and storage medium Download PDFInfo
- Publication number
- CN117170612A CN117170612A CN202311156026.0A CN202311156026A CN117170612A CN 117170612 A CN117170612 A CN 117170612A CN 202311156026 A CN202311156026 A CN 202311156026A CN 117170612 A CN117170612 A CN 117170612A
- Authority
- CN
- China
- Prior art keywords
- refresh rate
- vehicle
- determining
- application program
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 238000013507 mapping Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000001105 regulatory effect Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the application provides a control method, a device, equipment and a storage medium of a vehicle-mounted screen, wherein the method comprises the following steps: determining a first refresh rate range according to at least one application program currently displayed on the first vehicle-mounted screen, determining a second refresh rate range according to the running state of the vehicle-mounted system, determining a target refresh rate according to the first refresh rate range and the second refresh rate range, and updating the refresh rate of the first vehicle-mounted screen to the target refresh rate. The method improves the experience of the user using the vehicle-mounted screen.
Description
Technical Field
The application belongs to the technical field of screen display, and particularly relates to a control method, device and equipment of a vehicle-mounted screen and a storage medium.
Background
Currently, a plurality of screens are generally configured in a cabin of a vehicle, each screen having a large number of usage scenes. For example, screen navigation may be utilized, a screen may be utilized to watch movies, and the like. The refresh rate corresponding to each screen is fixed for different usage scenarios. For example, the display is performed at a refresh rate of 60Hz.
In the above process, the fixed refresh rate of the vehicle-mounted screen may not meet the use scenario that needs a high refresh rate, and when the system resource is overloaded, the fixed refresh rate may cause an obvious clamping phenomenon, resulting in a lower experience of the user using the vehicle-mounted screen.
Disclosure of Invention
The embodiment of the application relates to a control method, a device, equipment and a storage medium of a vehicle-mounted screen, which are used for solving the defect that in the prior art, the experience of a user using the vehicle-mounted screen is low due to the fact that the display is performed at a fixed refresh rate.
In a first aspect, an embodiment of the present application provides a control method for a vehicle-mounted screen, which is applied to a vehicle-mounted system in a vehicle, where a first vehicle-mounted screen is disposed, the method including:
determining a first refresh rate range according to at least one application program currently displayed by the first vehicle-mounted screen;
determining a second refresh rate range according to the running state of the vehicle-mounted system, wherein the running state is a low-power mode or a normal mode;
and determining a target refresh rate according to the first refresh rate range and the second refresh rate range, and updating the refresh rate of the first vehicle-mounted screen to the target refresh rate.
In one possible implementation, determining a target refresh rate from the first refresh rate range and the second refresh rate range includes:
determining a target refresh rate range according to the first refresh rate range and the second refresh rate range;
determining at least one refresh rate to be selected in the target refresh rate range;
determining a weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program;
and determining the target refresh rate in at least one candidate refresh rate according to the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program.
In one possible implementation manner, according to determining the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program, determining the target refresh rate in at least one candidate refresh rate includes:
determining a weight value of each refresh rate to be selected according to the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program;
and determining the refresh rate to be selected with the highest weight value in the at least one refresh rate to be selected as the target refresh rate.
In one possible implementation, for any one of the candidate refresh rates; according to the determination of the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program, the determination of the weight value of the refresh rate to be selected comprises the following steps:
determining N target application programs in the at least one application program according to the refresh rate to be selected and at least one preset refresh rate corresponding to each application program, wherein the refresh rate to be selected is included in the at least one preset refresh rate corresponding to the target application program, and N is an integer;
and determining the sum of the weight values of the N target application programs as the weight value of the refreshing rate to be selected.
In one possible implementation, determining the weight value corresponding to the at least one application program includes:
determining the priority of at least one application program, and determining a weight value corresponding to the at least one application program according to the priority of the at least one application program;
or determining the screen ratio of the display of the at least one application program, and determining the weight value corresponding to the at least one application program according to the screen ratio of the display of the at least one application program.
In one possible implementation, determining the first refresh rate range according to at least one application currently displayed by the first vehicle screen includes:
determining an initial refresh rate range corresponding to each application program to obtain at least one initial refresh rate range;
an intersection of the at least one initial refresh rate range is determined as the first refresh rate range.
In one possible embodiment, a second vehicle-mounted screen is also provided in the vehicle; determining a target refresh rate from the first refresh rate range and the second refresh rate range, comprising:
determining whether the first and second vehicle-mounted screens are in a synchronized state;
if yes, updating the refresh rate of the second vehicle-mounted screen to the target refresh rate.
In a second aspect, an embodiment of the present application provides a control device for an on-vehicle screen, which is applied to an on-vehicle system in a vehicle, where a first on-vehicle screen is disposed, the device including:
the first determining module is used for determining a first refresh rate range according to at least one application program currently displayed on the first vehicle-mounted screen;
the second determining module is used for determining a second refresh rate range according to the running state of the vehicle-mounted system, wherein the running state is a low-power mode or a normal mode;
and the updating module is used for determining a target refresh rate according to the first refresh rate range and the second refresh rate range and updating the refresh rate of the first vehicle-mounted screen to the target refresh rate.
In one possible implementation, the updating module is specifically configured to:
determining a target refresh rate range according to the first refresh rate range and the second refresh rate range;
determining at least one refresh rate to be selected in the target refresh rate range;
determining a weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program;
and determining the target refresh rate in at least one candidate refresh rate according to the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program.
In one possible implementation, the updating module is specifically configured to:
determining a weight value of each refresh rate to be selected according to the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program;
and determining the refresh rate to be selected with the highest weight value in the at least one refresh rate to be selected as the target refresh rate.
In one possible implementation, for any one of the candidate refresh rates; the updating module is specifically used for:
determining N target application programs in the at least one application program according to the refresh rate to be selected and at least one preset refresh rate corresponding to each application program, wherein the refresh rate to be selected is included in the at least one preset refresh rate corresponding to the target application program, and N is an integer;
and determining the sum of the weight values of the N target application programs as the weight value of the refreshing rate to be selected.
In one possible implementation, the updating module is specifically configured to:
determining the priority of at least one application program, and determining a weight value corresponding to the at least one application program according to the priority of the at least one application program;
or determining the screen ratio of the display of the at least one application program, and determining the weight value corresponding to the at least one application program according to the screen ratio of the display of the at least one application program.
In one possible implementation, the first determining module is specifically configured to:
determining an initial refresh rate range corresponding to each application program to obtain at least one initial refresh rate range;
an intersection of the at least one initial refresh rate range is determined as the first refresh rate range.
In one possible embodiment, a second vehicle-mounted screen is also provided in the vehicle; the updating module is specifically used for:
determining whether the first and second vehicle-mounted screens are in a synchronized state;
if yes, updating the refresh rate of the second vehicle-mounted screen to the target refresh rate.
In a third aspect, an embodiment of the present application provides a control apparatus for a vehicle-mounted screen, including: memory, processor, and transceiver;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored therein computer-executable instructions for performing the method of any of the first aspects when the computer-executable instructions are executed by a processor.
In a fifth aspect, an embodiment of the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method of any of the first aspects.
The embodiment of the application provides a control method, a device, equipment and a storage medium of a vehicle-mounted screen, wherein in the method, a first refresh rate range is determined according to at least one application program currently displayed on the first vehicle-mounted screen, a second refresh rate range is determined according to the running state of a vehicle system, a target refresh rate is determined according to the first refresh rate range and the second refresh rate range, and the refresh rate of the first vehicle-mounted screen is updated to the target refresh rate. Therefore, the refresh rate of the vehicle-mounted screen is accurately regulated, and the experience of a user using the vehicle-mounted screen is improved under the conditions of reducing the system resource load and saving the power consumption.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the description below are some embodiments of the present application and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a flow chart of a control method of a vehicle-mounted screen according to an embodiment of the present application;
fig. 3 is a flowchart of another control method of a vehicle-mounted screen according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a vehicle-mounted screen synchronization control according to an embodiment of the present application;
fig. 5 is a schematic view of a scenario in which two vehicle-mounted screens are displayed asynchronously according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a control device for a vehicle-mounted screen according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that although the terms "first", "second", etc. are used to describe various information in the embodiments of the present application, the information should not be limited to these terms. These terms are only used to distinguish one type of information from another. Alternatively, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the application.
It should be understood that the terms "comprises" and "comprising" specify the presence of stated features, steps, operations, but do not preclude the presence, addition, or addition of one or more other features, steps, operations. The term "and/or" and the like as used herein may be construed as inclusive, or meaning any one or any combination. Alternatively, "a and/or B" means "any of the following: a, A is as follows; b, a step of preparing a composite material; a and B). In addition, the character "/" herein generally indicates that the front-rear association object is an "or" relationship.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application. Referring to fig. 1, fig. 1 includes a vehicle system 100, and the vehicle system 100 includes at least an application layer 101, a system layer 102, a layer integration period 103, and a hardware synthesis module 104.
The vehicle system 100 may be connected to at least one vehicle-mounted screen, and at least one application program interface in the vehicle system may be displayed on the vehicle-mounted screen for user interaction.
The application layer 101 may include at least one application running on any one of the vehicle screens, and the application may include at least one supported preset refresh rate.
The system layer 102 may monitor the application status of each on-board screen, or may report the application status to the system layer 102 via the running application. The system layer may send the application state running on each on-board screen and the running state of the in-car system to the layer integrator 103 (e.g., surfaceFlinger).
The layer integrator 103 may determine a refresh rate of any one of the in-vehicle screens based on an application state running on any one of the in-vehicle screens and an operation state of the in-vehicle system sent by the system layer. For example, a refresh rate of the first vehicle screen is determined based on an application state running on the first vehicle screen and an operating state of the vehicle system. The layer integrator 103 may send a refresh rate update request to a hardware composition module (HWC) based on the determined refresh rate of any one of the in-vehicle screens.
The hardware composition module 104 may switch the refresh rate of the on-vehicle screen corresponding to the refresh rate update request based on the refresh rate update request sent by the layer integrator 103.
In the related art, the fixed refresh rate of the vehicle-mounted screen may not meet the use situation that needs a high refresh rate, and when the system resource is overloaded, the fixed refresh rate may cause an obvious clamping phenomenon, so that the use experience of the user is lower.
In order to solve the technical problems, the embodiment of the application provides a control method of a vehicle-mounted screen, which is used for determining a target refresh rate through a refresh rate range adapted to at least one application program currently displayed by the vehicle-mounted screen and a refresh rate range adapted to the running state of a vehicle system, accurately regulating and controlling the refresh rate of the vehicle-mounted screen, and improving the experience of a user using the vehicle-mounted screen under the conditions of reducing the system resource load and saving the power consumption.
The technical scheme shown in the application is described in detail by specific examples. It should be noted that the following embodiments may exist independently or may be combined with each other, and for the same or similar content, the description will not be repeated in different embodiments.
Fig. 2 is a flow chart of a control method of a vehicle-mounted screen according to an embodiment of the present application. The execution main body of the embodiment of the application can be a vehicle-mounted system in a vehicle or a control device of a vehicle-mounted screen arranged in the vehicle-mounted system. The control device of the vehicle-mounted screen can be realized by software or by a combination of software and hardware. A first vehicle screen may be disposed in the vehicle. Referring to fig. 2, the method includes:
s201, determining a first refresh rate range according to at least one application program currently displayed on a first vehicle-mounted screen.
Wherein the first refresh rate range may be determined by a refresh rate range adapted by the at least one application.
Specifically, an initial refresh rate range corresponding to each application program may be determined, an initial refresh rate range corresponding to each application program is obtained, a maximum value of the initial refresh rate range may be a maximum refresh rate supported by the application program, a minimum value may be a minimum refresh rate supported by the application program, and a first refresh rate range is determined according to at least one initial refresh rate range.
Alternatively, a current display interface of the first vehicle-mounted screen may be identified, at least one application currently displayed by the first vehicle-mounted screen is determined, and the first refresh rate range is determined based on the at least one application currently displayed by the first vehicle-mounted screen.
Alternatively, status information sent by the at least one application may be obtained, the at least one application currently displayed on the first vehicle-mounted screen is determined according to the at least one status information, and the first refresh rate range is determined according to the at least one application currently displayed on the first vehicle-mounted screen.
Alternatively, the first refresh rate range may be determined in the following possible ways: determining an initial refresh rate range corresponding to each application program to obtain at least one initial refresh rate range; an intersection of at least one initial refresh rate range is determined as a first refresh rate range.
For example, suppose that 3 initial refresh rate ranges are obtained: 1. 30Hz-120Hz; 2. 30Hz-90Hz; 3. 45Hz-90Hz. According to the 3 initial refresh rate ranges, taking the intersection 45Hz-90Hz of the 3 initial refresh rate ranges, and taking 45Hz-90Hz as the first refresh rate range.
S202, determining a second refresh rate range according to the running state of the vehicle-mounted system.
The operation state may be a low-power mode or a normal mode.
The low battery mode may correspond to a range of refresh rates, which may be a predetermined range. The normal mode may be a custom refresh rate range or a default refresh rate range, the custom refresh rate range may be a refresh rate range preset by a user, the default refresh rate range is a default refresh rate range of the vehicle system, and the priority of the custom refresh range is higher than the priority of the default refresh rate range.
If the running state of the vehicle-mounted system is determined to be a low-power mode, taking a refresh rate range corresponding to the low-power mode as a second refresh rate range; and if the running state of the vehicle-mounted system is determined to be in the normal mode, taking the self-defined refresh rate range or the default refresh rate range corresponding to the normal mode as a second refresh rate range.
S203, determining a target refresh rate according to the first refresh rate range and the second refresh rate range, and updating the refresh rate of the first vehicle-mounted screen to the target refresh rate.
The priority of the second refresh rate range may be higher than the priority of the first refresh rate range or may be the same as the priority of the first refresh rate range.
The target refresh rate range may be determined according to the first refresh rate range and the second refresh rate range, at least one candidate refresh rate may be determined within the target refresh rate range, the target refresh rate may be determined from the at least one candidate refresh rate according to at least one application currently displayed by the first vehicle screen, and the refresh rate of the first vehicle screen may be updated to the target refresh rate.
Alternatively, determining the target refresh rate from the first refresh rate range and the second refresh rate range may be determined by 3 ways:
mode 1: determining a target refresh rate range according to the first refresh rate range and the second refresh rate range; determining at least one refresh rate to be selected in a target refresh rate range; determining a weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program; and determining a target refresh rate in the at least one candidate refresh rate according to the weight value corresponding to the at least one application program and the at least one preset refresh rate corresponding to each application program.
Mode 2: determining a target refresh rate range according to the first refresh rate range and the second refresh rate range; determining at least one preset refresh rate corresponding to each application program to obtain a first refresh rate set, wherein the first refresh rate set comprises at least one preset refresh rate corresponding to each application program; determining a second refresh rate set in the target refresh rate range, wherein the second refresh rate set comprises at least one preset refresh rate existing in the target refresh rate range; determining at least one refresh rate to be selected in the first refresh rate set according to the second refresh rate set, wherein the refresh rate to be selected is a refresh rate existing in the second refresh rate set; determining the number of application programs corresponding to each refresh rate to be selected; and determining the refresh rate to be selected with the largest number of corresponding application programs as a target refresh rate.
Mode 3: determining a target refresh rate range according to the first refresh rate range and the second refresh rate range; determining a priority of each application; determining a target application program in at least one application program according to the priority of each application program, wherein the priority of the target application program is highest; and determining the target refresh rate according to at least one preset refresh rate and the target refresh rate range corresponding to the target application program.
According to the control method of the vehicle-mounted screen, the first refresh rate range is determined according to at least one application program currently displayed on the first vehicle-mounted screen, the second refresh rate range is determined according to the running state of the vehicle-mounted system, the target refresh rate is determined according to the first refresh rate range and the second refresh rate range, and the refresh rate of the first vehicle-mounted screen is updated to the target refresh rate. Therefore, the refresh rate of the vehicle-mounted screen is accurately regulated, and the experience of a user using the vehicle-mounted screen is improved under the conditions of reducing the system resource load and saving the power consumption.
Next, a process of determining the target refresh rate (S203) will be described in further detail with reference to the embodiment shown in fig. 3.
Fig. 3 is a flowchart of another control method of a vehicle-mounted screen according to an embodiment of the present application. On the basis of the above embodiment, see fig. 3, the method comprises:
s301, determining a target refresh rate range according to the first refresh rate range and the second refresh rate range.
Determining whether an intersection exists between the first refresh rate range and the second refresh rate range according to the first refresh rate range and the second refresh rate range, and if the intersection exists, determining the intersection as a target refresh rate range; if there is no intersection, the second refresh rate range is determined as the target refresh rate range.
For example, assume that the first refresh rate ranges from 30Hz to 90Hz and the second refresh rate ranges from 45Hz to 120Hz. An intersection of the first refresh rate range and the second refresh rate range, 45Hz-90Hz, is determined as the target refresh rate range.
For another example, assume that the first refresh rate ranges from 60Hz to 120Hz and the second refresh rate ranges from 30Hz to 45Hz. There is no intersection of the first refresh rate range with the second refresh rate range, and 30Hz-45Hz is determined as the target refresh rate range.
S302, determining at least one refresh rate to be selected in a target refresh rate range.
And determining the existing fixed refresh rate in the target refresh range according to a plurality of preset fixed refresh rates of the vehicle-mounted system, and taking the existing fixed refresh rate as at least one refresh rate to be selected.
The fixed refresh rate may be a refresh rate of a system native, or a refresh rate preset by a technician, which is not limited herein.
S303, determining a weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program.
The weight value may represent the importance of the application, with the more important applications, the higher the corresponding weight value. The preset refresh rate may be the refresh rate that performs best when the application is displayed, and the preset refresh rates for different applications may be different, as shown in table 1.
TABLE 1
Application program | Preset refresh rate |
Video playing program | 30Hz, 60Hz, 90Hz, adjustable according to video frame rate |
3D animation program | 45Hz、90Hz |
Game program | 60Hz、90Hz、120Hz、144Hz |
Map program | 30Hz、60Hz |
Reading program | 30Hz、10Hz |
Alternatively, determining the weight value corresponding to at least one application may be determined by 2 ways as follows:
mode 1: determining the priority of at least one application program, and determining a weight value corresponding to the at least one application program according to the priority of the at least one application program;
the first mapping relation between the application programs and the corresponding priorities can be obtained, the priorities of the at least one application program are determined according to the at least one application program and the first mapping relation, and the priorities of the at least one application program are ranked from large to small. And acquiring a second mapping relation between the ordering order and the corresponding weight, and determining a weight value corresponding to at least one application program according to the ordered at least one application program and the second mapping relation.
The first mapping relationship may be a preset mapping relationship, and a preset manner is not limited herein. The first mapping relation may be as shown with reference to table 2.
TABLE 2
The first priority > the second priority > the third priority > the fourth priority > the fifth priority.
The second mapping relationship may be a preset mapping relationship, and the preset manner is not limited herein. The second mapping relationship may be as shown with reference to table 3.
TABLE 3 Table 3
Ordering order | Weight value |
1 | 1 |
2 | 0.9 |
3 | 0.8 |
4 | 0.7 |
5 | 0.6 |
Mode 2: and determining the screen duty ratio of the display of the at least one application program, and determining the weight value corresponding to the at least one application program according to the screen duty ratio of the display of the at least one application program.
And determining the screen duty ratio of the display of the at least one application program, sorting the at least one application program according to the size of the screen duty ratio, acquiring a second mapping relation between the sorting order and the corresponding weight, and determining the weight value corresponding to the at least one application program according to the sorted at least one application program and the second mapping relation.
The second mapping relationship may refer to the second mapping relationship, which is not described herein.
S304, determining the weight value of each refreshing rate to be selected according to the weight value corresponding to at least one application program and at least one preset refreshing rate corresponding to each application program.
The weight value corresponding to the at least one preset refresh rate in each application program can be determined according to the weight value corresponding to the at least one application program and the at least one preset refresh rate corresponding to each application program, the weight values of the same preset refresh rate in the at least one application program are added to obtain the weight total value corresponding to the at least one preset refresh rate, and the weight value of each refresh rate to be selected is determined according to the at least one refresh rate to be selected and the weight total value corresponding to the at least one preset refresh rate.
In the following, taking any one of the refresh rates to be selected as an example, the weight value of the refresh rate to be selected may be determined in the following possible manner: determining N target application programs in at least one application program according to the refresh rate to be selected and at least one preset refresh rate corresponding to each application program; and determining the sum of the weight values of the N target application programs as the weight value of the refresh rate to be selected.
At least one preset refresh rate corresponding to the target application program comprises a refresh rate to be selected, and N is an integer.
For example, assume that the refresh rate to be selected is 60Hz. There are 3 applications that are displayed running: game program, map program, and reading program. Wherein the game program comprises 3 preset refresh rates: 60Hz, 90Hz, and 120Hz, the map program includes 2 preset refresh rates: 30Hz and 60Hz, the reading program includes 2 preset refresh rates: 30Hz and 10Hz. The order of priority of 3 applications from big to small is determined as follows: map program > game program > reading program, the weight value corresponding to the map program is 1, the weight value corresponding to the game program is 0.9, and the weight value corresponding to the reading program is 0.8.
According to the refresh rate to be selected and at least one preset refresh rate corresponding to each application program, 2 target application programs are determined: the method comprises the steps of adding a weight value of the game program and a weight value of the map program, and determining that the weight value of the refresh rate to be selected is 1.9, wherein the weight value of the game program and the weight value of the map program are the same.
S305, determining the candidate refresh rate with the highest weight value from at least one candidate refresh rate as a target refresh rate.
And determining a weight value of each of at least one candidate refresh rate, and determining the candidate refresh rate with the highest weight value as a target refresh rate.
For example, assume that there are 3 refresh rates to select: the corresponding weight values are 0.8, 1.9 and 0.9 respectively at 30Hz, 60Hz and 90Hz. Therefore, 60Hz, where the weight value is largest, is determined as the target refresh rate.
In one possible embodiment, a first vehicle screen and a second vehicle screen may be provided in the vehicle. Determining whether the second vehicle-mounted screen is in a synchronous state with the first vehicle-mounted screen; if yes, updating the refresh rate of the second vehicle-mounted screen to the target refresh rate.
The process of determining the second and first vehicle screen update refresh rates is described in further detail below in conjunction with the description of FIG. 4. Fig. 4 is a schematic flow chart of a vehicle-mounted screen synchronization control according to an embodiment of the present application.
Assuming that the first on-board screen is playing a movie, the second on-board screen is in a rest state. It is determined whether display content of the first vehicle screen is to be delivered to a second vehicle screen display. If not, the rest state of the second vehicle-mounted screen is unchanged; if yes, the second vehicle-mounted screen is awakened, and whether the double screens are played simultaneously is determined. If the two screens are not played simultaneously, the first vehicle-mounted screen exits from playing and returns to the main menu, the target refresh rate of the first vehicle-mounted screen is requested to be updated, the second vehicle-mounted screen plays a movie, and the target refresh rate of the second vehicle-mounted screen is requested to be updated, wherein the target refresh rate of the second vehicle-mounted screen is the same as the target refresh rate when the first vehicle-mounted screen plays the movie; if the two screens are played simultaneously, the first vehicle-mounted screen continues to play the film, the second vehicle-mounted screen plays the film, and the target refresh rate of the second vehicle-mounted screen is requested to be updated, wherein the target refresh rate of the second vehicle-mounted screen is the same as the target refresh rate when the first vehicle-mounted screen plays the film.
Acquiring the configuration of the target refresh rate of the first vehicle-mounted screen and/or the second vehicle-mounted screen, judging whether the first vehicle-mounted screen is switched and judging whether the second vehicle-mounted screen is switched, and if the first vehicle-mounted screen is switched and the second vehicle-mounted screen is not switched, executing the target refresh rate switching of the first vehicle-mounted screen; if the first vehicle-mounted screen is not switched and the second vehicle-mounted screen is switched, executing target refresh rate switching of the second vehicle-mounted screen; and if the first vehicle-mounted screen is switched and the second vehicle-mounted screen is switched, executing target refresh rate switching of the first vehicle-mounted screen and the second vehicle-mounted screen.
When the first vehicle-mounted screen and the second vehicle-mounted screen are in an unsynchronized state, different contents can be displayed respectively, and respective target refresh rates are determined based on the respective displayed contents, and fig. 5 is a schematic diagram of a scene of unsynchronized display of the two vehicle-mounted screens provided by the embodiment of the application. The first vehicle-mounted screen displays a game program, the second vehicle-mounted screen displays a video playing program, the refresh rate of the first vehicle-mounted screen is 90Hz, and the refresh rate of the second vehicle-mounted screen is 30Hz.
The implementation content of each step in the embodiment of the present application may refer to the description of the corresponding step or operation in the above method embodiment, and repeated descriptions are omitted.
According to the control method of the vehicle-mounted screen, the target refresh rate range is determined according to the first refresh rate range and the second refresh rate range, at least one to-be-selected refresh rate is determined in the target refresh rate range, the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program are determined, the weight value of each to-be-selected refresh rate is determined according to the weight value corresponding to at least one application program and the at least one preset refresh rate corresponding to each application program, and the to-be-selected refresh rate with the highest weight value in the at least one to-be-selected refresh rate is determined to be the target refresh rate. Therefore, the refresh rate of the vehicle-mounted screen is accurately regulated, and the experience of a user using the vehicle-mounted screen is improved under the conditions of reducing the system resource load and saving the power consumption.
Fig. 6 is a schematic structural diagram of a control device for a vehicle-mounted screen according to an embodiment of the present application. Referring to fig. 6, the apparatus 600 is applied to a vehicle-mounted system in a vehicle in which a first vehicle-mounted screen is disposed, the apparatus 600 includes a first determination module 601, a second determination module 602, and an update module 603, wherein,
a first determining module 601, configured to determine a first refresh rate range according to at least one application currently displayed on the first vehicle-mounted screen;
a second determining module 602, configured to determine a second refresh rate range according to an operation state of the vehicle system, where the operation state is a low-power mode or a normal mode;
and the updating module 603 is configured to determine a target refresh rate according to the first refresh rate range and the second refresh rate range, and update the refresh rate of the first vehicle screen to the target refresh rate.
In one possible implementation, the updating module 603 is specifically configured to:
determining a target refresh rate range according to the first refresh rate range and the second refresh rate range;
determining at least one refresh rate to be selected in the target refresh rate range;
determining a weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program;
and determining the target refresh rate in at least one candidate refresh rate according to the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program.
In one possible implementation, the updating module 603 is specifically configured to:
determining a weight value of each refresh rate to be selected according to the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program;
and determining the refresh rate to be selected with the highest weight value in the at least one refresh rate to be selected as the target refresh rate.
In one possible implementation, for any one of the candidate refresh rates; the update module 603 is specifically configured to:
determining N target application programs in the at least one application program according to the refresh rate to be selected and at least one preset refresh rate corresponding to each application program, wherein the refresh rate to be selected is included in the at least one preset refresh rate corresponding to the target application program, and N is an integer;
and determining the sum of the weight values of the N target application programs as the weight value of the refreshing rate to be selected.
In one possible implementation, the updating module 603 is specifically configured to:
determining the priority of at least one application program, and determining a weight value corresponding to the at least one application program according to the priority of the at least one application program;
or determining the screen ratio of the display of the at least one application program, and determining the weight value corresponding to the at least one application program according to the screen ratio of the display of the at least one application program.
In one possible implementation, the first determining module 601 is specifically configured to:
determining an initial refresh rate range corresponding to each application program to obtain at least one initial refresh rate range;
an intersection of the at least one initial refresh rate range is determined as the first refresh rate range.
In one possible embodiment, a second vehicle-mounted screen is also provided in the vehicle; the update module 603 is specifically configured to:
determining whether the first and second vehicle-mounted screens are in a synchronized state;
if yes, updating the refresh rate of the second vehicle-mounted screen to the target refresh rate.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 7, an electronic device 700 may include: memory 701, processor 702, transceiver 703.
Memory 701 is used to store program instructions;
the processor 702 is configured to execute the program instructions stored in the memory, so as to cause the electronic device 20 to perform the method described above.
The transceiver 703 may include: a transmitter and/or a receiver. The transmitter may also be referred to as a transmitter, a transmit port, a transmit interface, or the like, and the receiver may also be referred to as a receiver, a receive port, a receive interface, or the like. The memory 701, the processor 702, and the transceiver 703 are illustratively interconnected by a bus 704.
Embodiments of the present application also provide a computer program product executable by a processor for implementing the above method when the computer program product is executed.
The control device, the electronic device, the computer readable storage medium and the computer program product of the vehicle-mounted screen in the embodiment of the application can execute the technical scheme shown in the control method embodiment of the vehicle-mounted screen, and the implementation principle and the beneficial effects are similar, and are not repeated here.
All or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a readable memory. The program, when executed, performs steps including the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random-access memory (random access memory, RAM), flash memory, hard disk, solid state disk, magnetic tape, floppy disk (floppy disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims and the equivalents thereof, the present application is also intended to include such modifications and variations.
Claims (10)
1. A control method of an in-vehicle screen, characterized by being applied to a vehicle-mounted system in a vehicle in which a first in-vehicle screen is provided, the method comprising:
determining a first refresh rate range according to at least one application program currently displayed by the first vehicle-mounted screen;
determining a second refresh rate range according to the running state of the vehicle-mounted system, wherein the running state is a low-power mode or a normal mode;
and determining a target refresh rate according to the first refresh rate range and the second refresh rate range, and updating the refresh rate of the first vehicle-mounted screen to the target refresh rate.
2. The method of claim 1, wherein determining a target refresh rate from the first refresh rate range and the second refresh rate range comprises:
determining a target refresh rate range according to the first refresh rate range and the second refresh rate range;
determining at least one refresh rate to be selected in the target refresh rate range;
determining a weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program;
and determining the target refresh rate in at least one candidate refresh rate according to the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program.
3. The method of claim 2, wherein determining the target refresh rate among the at least one candidate refresh rate according to determining the weight value corresponding to the at least one application and the at least one preset refresh rate corresponding to each application comprises:
determining a weight value of each refresh rate to be selected according to the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program;
and determining the refresh rate to be selected with the highest weight value in the at least one refresh rate to be selected as the target refresh rate.
4. A method according to claim 3, wherein for any one of the candidate refresh rates; according to the determination of the weight value corresponding to at least one application program and at least one preset refresh rate corresponding to each application program, the determination of the weight value of the refresh rate to be selected comprises the following steps:
determining N target application programs in the at least one application program according to the refresh rate to be selected and at least one preset refresh rate corresponding to each application program, wherein the refresh rate to be selected is included in the at least one preset refresh rate corresponding to the target application program, and N is an integer;
and determining the sum of the weight values of the N target application programs as the weight value of the refreshing rate to be selected.
5. The method of any of claims 2-4, wherein determining a weight value for at least one application comprises:
determining the priority of at least one application program, and determining a weight value corresponding to the at least one application program according to the priority of the at least one application program;
or determining the screen ratio of the display of the at least one application program, and determining the weight value corresponding to the at least one application program according to the screen ratio of the display of the at least one application program.
6. The method of any of claims 1-5, wherein determining a first refresh rate range based on at least one application currently displayed by the first vehicle screen comprises:
determining an initial refresh rate range corresponding to each application program to obtain at least one initial refresh rate range;
an intersection of the at least one initial refresh rate range is determined as the first refresh rate range.
7. The method of any one of claims 1-6, wherein a second vehicle screen is also provided in the vehicle; determining a target refresh rate from the first refresh rate range and the second refresh rate range, comprising:
determining whether the first and second vehicle-mounted screens are in a synchronized state;
if yes, updating the refresh rate of the second vehicle-mounted screen to the target refresh rate.
8. A control device of an in-vehicle screen, characterized by being applied to a vehicle-mounted system in a vehicle in which a first in-vehicle screen is provided, the device comprising:
the first determining module is used for determining a first refresh rate range according to at least one application program currently displayed on the first vehicle-mounted screen;
the second determining module is used for determining a second refresh rate range according to the running state of the vehicle-mounted system, wherein the running state is a low-power mode or a normal mode;
and the updating module is used for determining a target refresh rate according to the first refresh rate range and the second refresh rate range and updating the refresh rate of the first vehicle-mounted screen to the target refresh rate.
9. A control apparatus of an in-vehicle screen, characterized by comprising: memory, processor, and transceiver;
wherein the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-7.
10. A computer readable storage medium having stored therein computer executable instructions for implementing the method of any of claims 1-7 when the computer executable instructions are executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311156026.0A CN117170612A (en) | 2023-09-07 | 2023-09-07 | Control method, device and equipment of vehicle-mounted screen and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311156026.0A CN117170612A (en) | 2023-09-07 | 2023-09-07 | Control method, device and equipment of vehicle-mounted screen and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117170612A true CN117170612A (en) | 2023-12-05 |
Family
ID=88931457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311156026.0A Pending CN117170612A (en) | 2023-09-07 | 2023-09-07 | Control method, device and equipment of vehicle-mounted screen and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117170612A (en) |
-
2023
- 2023-09-07 CN CN202311156026.0A patent/CN117170612A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8217951B2 (en) | Graphic data processing apparatus and method | |
US10037070B2 (en) | Image display method and display system | |
US11589102B2 (en) | Screen projection method and system | |
US11568588B2 (en) | Controlling display performance using display statistics and feedback | |
CN104715445A (en) | Image processing method and system | |
EP3254171B1 (en) | Clock rate adjustment for processing unit | |
CN109992347B (en) | Interface display method, device, terminal and storage medium | |
CN114632329B (en) | Terminal equipment performance adjusting method and related device | |
JPWO2008105092A1 (en) | Graphics drawing apparatus and graphics drawing method | |
WO2021258274A1 (en) | Power demand reduction for image generation for displays | |
JP4200573B2 (en) | Storage device, image processing device and method thereof, refresh operation control device and method thereof | |
US20150248742A1 (en) | Graphics display processing device, graphics display processing method, and vehicle equipped with graphics display processing device | |
CN110764725A (en) | Vehicle machine system main screen and auxiliary screen display method and device and electronic equipment | |
CN114443269A (en) | Frame rate adjustment method and related device | |
CN108664228A (en) | A kind of method for displaying image and mobile terminal | |
CN114071047A (en) | Frame rate control method and related device | |
CN111951206A (en) | Image synthesis method, image synthesis device and terminal equipment | |
CN114092310A (en) | Image rendering method, electronic device and computer-readable storage medium | |
US9182875B2 (en) | Information processing terminal and control method therefor | |
US20200364926A1 (en) | Methods and apparatus for adaptive object space shading | |
CN116762062A (en) | Processing system utilizing selective priority-based two-stage binning | |
CN117170612A (en) | Control method, device and equipment of vehicle-mounted screen and storage medium | |
CN113744696A (en) | Method and device for adjusting brightness of backlight module and storage medium | |
CN111813541A (en) | Task scheduling method, device, medium and equipment | |
CN106126006A (en) | A kind of data display method and device |
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 |