CN103425234A - Method for dynamically adjusting picture processing performance and display terminal - Google Patents

Method for dynamically adjusting picture processing performance and display terminal Download PDF

Info

Publication number
CN103425234A
CN103425234A CN2013103253479A CN201310325347A CN103425234A CN 103425234 A CN103425234 A CN 103425234A CN 2013103253479 A CN2013103253479 A CN 2013103253479A CN 201310325347 A CN201310325347 A CN 201310325347A CN 103425234 A CN103425234 A CN 103425234A
Authority
CN
China
Prior art keywords
file
gpu
identification information
check
gpu check
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.)
Granted
Application number
CN2013103253479A
Other languages
Chinese (zh)
Other versions
CN103425234B (en
Inventor
高同庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Group Co Ltd
Original Assignee
Hisense Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201310325347.9A priority Critical patent/CN103425234B/en
Publication of CN103425234A publication Critical patent/CN103425234A/en
Application granted granted Critical
Publication of CN103425234B publication Critical patent/CN103425234B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for dynamically adjusting picture processing performance, and further discloses a display terminal. The method is applied to electronic equipment with a multi-core graphic processing unit (GPU), and comprises the steps that when an application is started, identification information corresponding to the application is acquired; the number of GPU cores corresponding to the identification information is acquired; whether the number of the GPU cores corresponding to the identification information is consistent with the number of GPU cores adopted before the application is started or not is judged; if the judgment result indicates that the number of the GPU cores corresponding to the identification information is consistent with the number of the GPU cores adopted before the application is started, the application continues operating, otherwise, a first drive file, corresponding to the identification information, of the GPU cores is loaded. The method and the display terminal can reduce power consumption, save resources and improve working stability.

Description

Method and the display terminal of dynamic adjustments image handling property
Technical field
The present invention relates to computer graphics disposal technology, particularly a kind of method and display terminal of dynamic adjustments image handling property.
Background technology
Along with increasing electronic equipment enters the intelligent epoch, a lot of electronic equipments all can arrange corresponding display screen as mobile phone, navigating instrument, set top box, TV, automobile, video player, camera and printer etc., need to possess certain image-capable, need to be equiped with the graphic process unit (GPU, Graphic Processing Unit) of mating with image-capable.
GPU is a kind of processor for the treatment of figure and/or view data of special use, and the number (referred to as the GPU check figure) of the sheet graphic process unit that the graphics process performance of GPU comprises with GPU (being GPU core) is relevant.In existing electronic equipment, the image handling property of certain a electronic equipment is changeless after the initialization of dispatching from the factory, in view of electronic equipment in actual applications to the demand of image handling property, the image handling property of GPU often is set according to peak requirements to be dealt with (being that peak performance requires), that is to say, the default configuration of existing electronic equipment requires and sets in order to meet peak performance, such as: the existing a GPU(that is set to comprise 4 sheet graphic process unit i.e. 4 core GPU) electronic equipment can move multiple application, but only in operation such as 3D game etc., just need to move 4 sheet graphic process unit that GPU comprises during special application simultaneously, and great majority are applied 4 picture processor that comprise without move GPU simultaneously, this will cause the wasting of resources, virtually increased the power consumption of electronic equipment, the same existing a GPU(that is set to comprise 2 sheet graphic process unit i.e. 2 core GPU) electronic equipment can be smooth when the application of operation great majority work, but when moving such as special applications such as 3D game, can't meet the demand of this application to the GPU check figure, and cause application can't move or move not smooth, reduced range of application and the dirigibility of product, the cost performance of product is not high.
In sum, the image handling property of existing electronic equipment can't dynamically be adjusted according to application, and this just causes existing electronic equipment can have the wasting of resources, power consumption is high, being of limited application of product, the problems such as the job insecurity of product, need further improvement.
Summary of the invention
According to the present invention, a kind of method of dynamic adjustments image handling property is provided, the method can reduce power consumption, and saving resource improves the stability of work.
According to a kind of display terminal of the present invention, this display terminal can reduce power consumption, and saving resource improves the stability of work.
The invention provides a kind of method of dynamic adjustments image handling property, be applied to have in the electronic equipment of multi-core image processor GPU, the method comprises:
When application start, obtain identification information corresponding to described application;
Obtain the GPU check figure corresponding with described identification information;
Judge that whether the GPU check figure adopted before the GPU check figure corresponding with described identification information and application start is consistent;
If consistent, continue the described application of operation;
Otherwise, load first of the GPU check figure corresponding with described identification information and drive file.
Preferably, described obtain the GPU check figure corresponding with described identification information before, the method also comprises:
Storing in advance first of the different GPU check figures of a plurality of supports in described electronic equipment drives file, reaches one first configuration file;
Described first drives file to comprise: the driver of GPU check figure and corresponding system file; Described the first configuration file comprises: the corresponding relation of the identification information of described application and GPU check figure and first store path that drive file corresponding with the GPU check figure.
In said method, the described loading first driving file corresponding with described identification information comprises:
The driving file adopted before the unloading application start, install the first driving file corresponding with described identification information;
Perhaps utilize the first driving file corresponding with described identification information to cover the driving file adopted before application start, so that the first driving file corresponding with described identification information to be installed.
Preferably, the method also comprises:
When electronic equipment carries out system initialization, search the second pre-stored configuration file, obtain the GPU check figure corresponding with the property parameters of electronic equipment and second store path that drive file corresponding with the GPU check figure from the second configuration file, second under described store path is installed and driven file;
Described second drives file to comprise: the driver of GPU check figure and corresponding system file; Described the second configuration file comprises: the corresponding relation of the property parameters of described electronic equipment and GPU check figure and second store path that drive file corresponding with the GPU check figure.
In said method, the described installation first driving file corresponding with described identification information comprises:
Search the first pre-stored configuration file, obtain the GPU check figure corresponding with described identification information and first store path that drive file corresponding with the GPU check figure from described the first configuration file;
Under described store path described first is installed and driven file.
In said method, the described utilization first driving file that drive file cover application start front employing corresponding with described identification information comprises:
Search the first pre-stored configuration file, obtain the GPU check figure corresponding with described identification information and first store path that drive file corresponding with the GPU check figure from described the first configuration file;
With described first under described store path, drive file to cover the driving file adopted before application start.
The present invention provides a kind of display terminal on the other hand, and this display terminal comprises: memory module, control module and GPU;
Described memory module is pre-stored has first of the different GPU check figures of a plurality of supports to drive file and one first configuration file;
When application start, described control module is obtained identification information corresponding to described application, from described the first configuration file, obtains the GPU check figure corresponding with described identification information;
Whether the GPU check figure adopted before the GPU check figure that described control module comparison is corresponding with described identification information and application start is consistent, if consistent, trigger described GPU and move described application, otherwise, load first of the GPU check figure corresponding with described identification information and drive file.
In above-mentioned display terminal, described first drives file to comprise: the driver of GPU check figure and corresponding system file; Described the first configuration file comprises: the corresponding relation of the identification information of described application and GPU check figure and first store path that drive file corresponding with the GPU check figure.
In above-mentioned display terminal, described control module comprises:
Information acquisition unit, when application start, obtain identification information corresponding to described application, obtain the GPU check figure corresponding with described identification information from the first configuration file of described memory module, whether the GPU check figure adopted before relatively more corresponding with described identification information GPU check figure and application start is consistent, if consistent, trigger described GPU and move described application, otherwise trigger the GPU control module;
The GPU control module, according to triggering the driving file adopted before the unloading application start, search the first configuration file from described memory module, obtain the GPU check figure corresponding with described identification information and first store path that drive file corresponding with the GPU check figure from described the first configuration file, first under described store path is installed and driven file;
Perhaps described GPU control module is searched the first configuration file according to triggering from described memory module, obtain the GPU check figure corresponding with described identification information and first store path that drive file corresponding with the GPU check figure from described the first configuration file, with described first under described store path, drive file to cover the driving file of employing before application start.
Preferably, this display terminal also comprises: initialization module,
Described initialization module is also according to triggering, when this display terminal carries out system initialization, search the second configuration file pre-stored in described memory module, from the second configuration file, obtain the GPU check figure corresponding with the property parameters of electronic equipment and with the GPU check figure corresponding second drive the store path of file, and trigger described control module;
Described control module is also according to triggering the second driving file of installing under described store path;
Described second drives file to comprise: the driver of GPU check figure and corresponding system file; Described the second configuration file comprises: the corresponding relation of the property parameters of described electronic equipment and GPU check figure and second store path that drive file corresponding with the GPU check figure.
As seen from the above technical solution, method and the display terminal of dynamic adjustments image handling property of the present invention, identification information according to the application correspondence started, determine the GPU check figure corresponding with the application started, while just having adopted operation to apply required GPU check figure before application start, directly operation application, when the GPU check figure adopted before application start can not meet requiring of operation application, obtaining first of corresponding GPU check figure according to identification information corresponding to application drives file and loads, so that GPU can adjust its image handling property dynamically according to started application, not only improved the stability of work, and can reduce unnecessary power consumption, saving resource.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described.Apparently, the accompanying drawing in below describing is only some embodiments of the present invention, for those of ordinary skills, can also obtain according to these accompanying drawing illustrated embodiments other embodiment and accompanying drawing thereof.
The method flow schematic diagram of the dynamic adjustments image handling property that Fig. 1 is the embodiment of the present invention one;
The method flow schematic diagram of the dynamic adjustments image handling property that Fig. 2 is the embodiment of the present invention two;
The structural representation that Fig. 3 is display terminal of the present invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
The method flow schematic diagram of the dynamic adjustments image handling property that Fig. 1 is the embodiment of the present invention one.As shown in Figure 1, the method for the embodiment of the present invention one can comprise the steps:
Step 101: when application start, obtain identification information corresponding to application;
Specifically, in specific embodiments of the invention, when electronic equipment has monitored application start, will obtain the identification information of the application correspondence of current startup, such as whether the application management module in electronic equipment or control module can start and be monitored or detect the application in electronic equipment.Wherein, electronic equipment can be to have the equipment of demonstration and graphics processing function as mobile phone, navigation, set top box, TV, automobile, video player, camera, printer etc.
In actual applications, owing to generally can each application being carried out to unique identification by the bag name of application, therefore preferably, in specific embodiments of the invention, applying corresponding identification information can be the bag name of application.
Step 102: obtain the GPU check figure corresponding with identification information;
In this step, can, according to the corresponding relation of pre-stored identification information and GPU check figure, utilize the identification information of the application correspondence of obtaining in step 101 to search the acquisition GPU check figure corresponding with identification information.
Step 103: judge that whether the GPU check figure adopted before the GPU check figure corresponding with identification information and application start is consistent, if consistent, perform step 104, otherwise perform step 105.
In this step, can utilize the variable of the GPU check figure that records employing in internal memory or engine to determine the GPU check figure adopted before application start.
Step 104: continue the operation application;
In this step, owing to judging in step 103 that the GPU check figure that identification information is corresponding is consistent with the GPU check figure adopted before application start, so can continue to move this application and need not change driver.
Step 105: load first of the GPU check figure corresponding with identification information and drive file.
In this step, owing to judging in step 103 that the GPU check figure adopted before GPU check figure that identification information is corresponding and application start is inconsistent, therefore will load the first driving file of the GPU check figure corresponding with identification information.Particularly, load first of the GPU check figure corresponding with identification information and drive file to comprise: the driving file adopted before the unloading application start, the first driving file corresponding with identification information is installed; Perhaps utilize the first driving file corresponding with identification information to cover the driving file adopted before application start, so that the first driving file corresponding with identification information to be installed.
In specific embodiments of the invention, different GPU check figures is corresponding to the first different driving files, therefore, in preferred embodiment of the present invention, can store in the Driver Library of electronic equipment corresponding to first of different GPU check figures and drive file in advance, be respectively used to the sheet graphic process unit (being the GPU core) of the different numbers in drive electronics.
For example, in preferred embodiment of the present invention, while being provided with n sheet graphic process unit in electronic equipment, will in Driver Library, store n and drive file corresponding to first of different GPU check figures, comprise: for driving first of 1 sheet graphic process unit, drive file, this the first driving file at least comprises a driver one_core, and the GPU check figure that this driver is corresponding is 1; For driving first of 2 sheet graphic process unit to drive file, this first driving file at least comprises a driver two_cores, and the GPU check figure that this driver is corresponding is 2; For driving first of 3 sheet graphic process unit to drive file, this the first driving file at least comprises a driver three_cores, the GPU check figure that this driver is corresponding is 3, for driving the first file of n sheet graphic process unit, this the first driving file at least comprises a driver n_cores, and the GPU check figure that this driver is corresponding is n.
Wherein, in specific embodiments of the invention, first drives file to comprise: the driver of GPU check figure and corresponding system file; The corresponding system file of driver that the corresponding system file of herein mentioning is the GPU check figure.
The method flow schematic diagram of the dynamic adjustments image handling property that Fig. 2 is the embodiment of the present invention two.As shown in Figure 2, the method for the embodiment of the present invention two can comprise the steps:
Step 200: first of the different GPU check figures of pre-stored a plurality of supports drive file and the first configuration file;
Wherein, this step is carried out pre-stored in electronic equipment, and step 200, as long as carry out prior to step 202, both can be carried out prior to step 201, also can between step 201 and step 202, carry out.
The first driving file that this step is mentioned comprises: the driver of GPU check figure and corresponding system file; The first configuration file comprises: the corresponding relation of the identification information of application and GPU check figure and first store path that drive file corresponding with the GPU check figure.
In the practical application scene, one (for example has multinuclear GPU ability, be provided with a plurality of graphic process unit) electronic equipment (for example, intelligent television) generally a plurality of application can be installed in, and the number of the sheet graphic process unit of the different required uses of application (being the GPU core) is different.For example, in the intelligent television that can support 3D to play, only some special application just may need to use powerful graphics capability, for example, the embedded 3D of system game is under the resolution of 1080P, and what need powerful GPU processing power guarantee 3D picture plays up and move smoothness.But general application program does not need to use very powerful graphics capability.Therefore, in the present embodiment, a Driver Library and a system library can be set in the electronic equipment with multinuclear GPU ability in advance.
Wherein, store a plurality of drivers in Driver Library, and the corresponding a kind of GPU check figure of each driver, in other words, this driver is for the sheet graphic process unit (being the GPU core) of the some of drive electronics; And the store path of the first driving file drives the memory location of file in Driver Library.By the first pre-stored configuration file, the identification information that just can obtain application and the corresponding relation of GPU check figure and first store path that drive file corresponding with the GPU check figure.Wherein, the first configuration file can be deposited in system library together with the system file corresponding with the driver with the GPU check figure of the first driving file including.
For example, suppose, in the above-mentioned electronic equipment with multinuclear GPU ability, 4 kinds of application are installed, and the sign of supposing first, second and third kind of application is respectively: com.game.game1, com.game.game2 and com.game.game3, and the number of the sheet graphic process unit of 3 kinds of required uses of application is respectively 2,3,4, and corresponding driver is respectively two_cores, three_cores and four_cores; The sign of supposing the application of another kind of acquiescence is called: default, and the number of the sheet graphic process unit of required use is 1, corresponding driver is one_core.
Now, can be called in name of middle storage of electronic equipment the first configuration file of app_gpu.cfg, and can store following content in this app_gpu.cfg:
/etc/services/app_gpu.cfg
com.game.game1 /system/lib/gpu/two_cores
com.game.game2 /system/lib/gpu/three_cores
com.game.game3 /system/lib/gpu/four_cores
default /system/lib/gpu/one_core
Wherein, / system/lib/gpu/one_core and/system/lib/gpu/two_cores means respectively the store path in Driver Library of driver one_core and two_cores, and the rest may be inferred, store path using above-mentioned driver in Driver Library is as the store path of the first driving file, so that subsequent load first drives file.
Step 201: when application start, obtain identification information corresponding to application;
Specifically, in specific embodiments of the invention, when electronic equipment has monitored application start, will obtain the identification information of the application correspondence of current startup, such as whether the application management server in electronic equipment can start and be monitored or detect the application in electronic equipment.
In actual applications, owing to generally can each application being carried out to unique identification by the bag name of application, therefore preferably, in specific embodiments of the invention, applying corresponding identification information can be the bag name of application.
Step 202: obtain the GPU check figure corresponding with identification information;
In this step, can search the first configuration file, utilize the identification information of the application correspondence of obtaining in step 201 to obtain the GPU check figure corresponding with identification information from the first configuration file.
Step 203: judge that whether the GPU check figure adopted before the GPU check figure corresponding with identification information and application start is consistent, if consistent, perform step 104, otherwise perform step 105.
In this step, can utilize the variable of the GPU check figure that records employing in internal memory or engine to determine the GPU check figure adopted before application start.
Step 204: continue the operation application;
In this step, owing to judging in step 203 that the GPU check figure that identification information is corresponding is consistent with the GPU check figure adopted before application start, so can continue to move this application and need not change driver.
Step 205: load first of the GPU check figure corresponding with identification information and drive file.
In this step, owing to judging in step 203 that the GPU check figure adopted before GPU check figure that identification information is corresponding and application start is inconsistent, therefore will load the first driving file of the GPU check figure corresponding with identification information.
Particularly, load first of the GPU check figure corresponding with identification information and drive file to comprise: the driving file adopted before the unloading application start, the first driving file corresponding with identification information is installed; Perhaps utilize the first driving file corresponding with identification information to cover the driving file adopted before application start, so that the first driving file corresponding with identification information to be installed.
Wherein, install corresponding with identification information first and drive file to comprise: search the first pre-stored configuration file, obtain the GPU check figure corresponding with identification information and first store path that drive file corresponding with the GPU check figure from the first configuration file; Under store path first is installed and driven file.
Wherein, utilize corresponding with identification information first to drive file to cover the driving file adopted before application start to comprise: to search the first pre-stored configuration file, obtain the GPU check figure corresponding with identification information and first store path that drive file corresponding with the GPU check figure from the first configuration file; With first under store path, drive file to cover the driving file adopted before application start.
In specific embodiments of the invention, different GPU check figures is corresponding to the first different driving files, therefore, in preferred embodiment of the present invention, can store in the Driver Library of electronic equipment corresponding to first of different GPU check figures and drive file in advance, be respectively used to the sheet graphic process unit (being the GPU core) of the different numbers in drive electronics.
For example, in preferred embodiment of the present invention, while being provided with n sheet graphic process unit in electronic equipment, will in Driver Library, store n and drive file corresponding to first of different GPU check figures, comprise: for driving first of 1 sheet graphic process unit, drive file, this the first driving file at least comprises a driver one_core, and the GPU check figure that this driver is corresponding is 1; For driving first of 2 sheet graphic process unit to drive file, this first driving file at least comprises a driver two_cores, and the GPU check figure that this driver is corresponding is 2; For driving first of 3 sheet graphic process unit to drive file, this the first driving file at least comprises a driver three_cores, the GPU check figure that this driver is corresponding is 3, for driving the first file of n sheet graphic process unit, this the first driving file at least comprises a driver n_cores, and the GPU check figure that this driver is corresponding is n.
Wherein, in specific embodiments of the invention, first drives file to comprise: the driver of GPU check figure and corresponding system file; The corresponding system file of driver that the corresponding system file of herein mentioning is the GPU check figure.
For example, if current started application be designated com.game.game1, now can know that the corresponding driver of this identification information com.game.game1 is two_cores according to the corresponding relation of the identification information of storing in the first configuration file app_gpu.cfg and GPU check figure, need to use 2 sheet graphic process unit, again according to the store path of driver in the first configuration file app_gpu.cfg, from Driver Library, obtain and load driver program two_cores, thereby make current started application can use 2 sheet graphic process unit to carry out the processing of graph data.During other each application start situation can the rest may be inferred, do not repeat them here.
Therefore known, by using above-mentioned method, can in same electronic equipment, according to presently used application, dynamically adjust the number of presently used graphic process unit, make only when starting more special application program, just can use more sheet graphic process unit, and, when starting other common applications, only need to use less sheet graphic process unit, thereby can, when meeting the peak performance requirement of electronic equipment, effectively reduce the power consumption of electronic equipment.
On the basis of embodiment mono-and embodiment bis-, the present invention also provides an embodiment tri-, before application start, the method also comprises an initialized step, particularly, when electronic equipment carries out system initialization, search the second pre-stored configuration file, obtain the GPU check figure corresponding with the property parameters of electronic equipment and second store path that drive file corresponding with the GPU check figure from the second configuration file, second under store path is installed and driven file.
Wherein, second drive file to comprise: the driver of GPU check figure and corresponding system file; The second configuration file comprises: the corresponding relation of the property parameters of electronic equipment and GPU check figure and second store path that drive file corresponding with the GPU check figure.
In actual applications, owing to generally can each electronic equipment being carried out to unique identification by the serial title of each electronic equipment, in specific embodiments of the invention, the property parameters of electronic equipment can be the serial title (PRODUCT_SERIES) of electronic equipment.For example, in specific embodiments of the invention, the series name of the intelligent television of a certain model can be referred to as to the property parameters of this electronic equipment, such as: the property parameters using models such as K360, K610 as certain a series of electronic equipment corresponding with it, and the rest may be inferred.
This step is the initialized step that electronic equipment adopts while dispatching from the factory or while in use being reset system, this step is by the property parameters of electronic equipment and the corresponding relation of GPU check figure, driver under loading particular community parameter is to this electronic equipment, not homogeneous all electronic equipments are loaded to identical driver, also realized to a certain extent dynamic adjustment image handling property.
Below the initialized step of electronic equipment is illustrated, specific as follows:
The property parameters of supposing the intelligent television of K360 model is K360, the number of the sheet graphic process unit of using in the intelligent television due to the K360 model (being the GPU check figure) is 1, the corresponding GPU check figure of property parameters K360 is 1 so, and its corresponding driver is for driving the driver one_core of 1 sheet graphic process unit; In like manner, the property parameters of supposing the intelligent television of K610 model is K610, the number of the sheet graphic process unit of using in the intelligent television due to the K610 model is 2, corresponding graphic process unit number of property parameters K610 is 2 so, and its corresponding driver is for driving the driver two_cores of 2 sheet graphic process unit; The rest may be inferred.
Now, can in the system library of above-mentioned electronic equipment, store the second configuration file that a name is called set_gpu.cfg, and can store following content in this set_gpu.cfg:
/etc/services/set_gpu.cfg
K360 /system/lib/gpu/one_core
K610 /system/lib/gpu/two_cores
……..。
Wherein ,/system/lib/gpu/one_core and/system/lib/gpu/two_cores means respectively the store path in Driver Library of driver one_core and two_cores, i.e. the second memory location that drives file, and the rest may be inferred.
If be provided with 2 sheet graphic process unit in certain intelligent television, so when this intelligent television being carried out to system startup initialization, if the property parameters obtained from the second configuration file of this intelligent television is K360, mean the intelligent television that this intelligent television is the K360 model, can be now one_core according to knowing in the second configuration file that this property parameters K360 corresponding second drives the driver of file including, can be according to the second store path that drives the driver of file including of putting down in writing in the second configuration file, obtain and load the driver one_core of the second driving file including from Driver Library, thereby make this intelligent television can use 1 sheet graphic process unit.And if the property parameters obtained from the second configuration file of this intelligent television is K610, meaning the intelligent television that this intelligent television is the K610 model, is now knownly according to the second configuration file, to know that it is two_cores that this property parameters K610 corresponding second drives the driver of file including; Therefore, can be according to the second store path that drives the driver of file including of putting down in writing in the second configuration file, obtain and load the driver two_cores of the second driving file including from Driver Library, thereby make this intelligent television can use 2 sheet graphic process unit.
As from the foregoing, by above-mentioned method, can be at the electronic equipment of a plurality of series (for example, intelligent television) all use identical main hardware knowledge property right kernel (IP core) in, therefore each serial electronic equipment all has identical hardware condition (CPU, GPU core and the various dsp chips etc. that for example, have similar number).Now, can, by the setting to property parameters, make a plurality of electronic equipments with same hardware condition can use respectively the GPU core (being the sheet graphic process unit) of different numbers.
For example, can in the intelligent television of the intelligent television of K360 model and K610 model, 2 sheet graphic process unit all be set, and use identical main IP core, then can be by using above-mentioned introduced method, make the intelligent television of K360 model only can use 1 sheet graphic process unit after through system, starting initialization, the intelligent television of K610 model can be used 2 sheet graphic process unit after through system, starting initialization, thereby can facilitate, dynamically customize the GPU resource in the distinct electronic apparatuses with identical main IP core.
The structural representation that Fig. 3 is display terminal of the present invention.Now, in conjunction with Fig. 3, display terminal of the present invention is illustrated as follows:
Display terminal of the present invention comprises: memory module 30, control module 31 and GPU32; Wherein, memory module 30 and control module 31 are independent of outside GPU32.
Memory module 30 is pre-stored has first of the different GPU check figures of a plurality of supports to drive file and one first configuration file.Wherein, first drive file to comprise: the driver of GPU check figure and corresponding system file; The first configuration file comprises: the corresponding relation of the identification information of application and GPU check figure and first store path that drive file corresponding with the GPU check figure.
When application start, control module 31 is obtained identification information corresponding to application, from the first configuration file, obtains the GPU check figure corresponding with identification information.Wherein, can be the system of display terminal when application start being detected, trigger control module 31 is carried out aforesaid operations, also control module 31 self has a monitoring application and trigger the function of carrying out aforesaid operations when application start.
Whether the GPU check figure adopted before the GPU check figure that control module 31 is relatively more corresponding with identification information and application start is consistent, if consistent, triggers GPU32 operation application, otherwise, load first of the GPU check figure corresponding with identification information and drive file.
Preferably, this display terminal also comprises: initialization module 33.
Initialization module 33 is also according to triggering, when this display terminal carries out system initialization, search the second configuration file pre-stored in memory module 30, obtain the GPU check figure corresponding with the property parameters of electronic equipment and second store path that drive file corresponding with the GPU check figure from the second configuration file, and trigger control module 31; Control module 31 is also according to triggering the second driving file of installing under store path.
Wherein, second drive file to comprise: the driver of GPU check figure and corresponding system file; The second configuration file comprises: the corresponding relation of the property parameters of electronic equipment and GPU check figure and second store path that drive file corresponding with the GPU check figure.
Wherein, control module 31 comprises: information acquisition unit 311 and GPU control module 312.
Information acquisition unit 311 is when application start, obtain identification information corresponding to application, obtain the GPU check figure corresponding with identification information from the first configuration file of memory module 30, whether the GPU check figure adopted before relatively more corresponding with identification information GPU check figure and application start is consistent, if consistent, trigger GPU32 operation application, otherwise trigger GPU control module 312.
GPU control module 312 is according to triggering the driving file adopted before the unloading application start, search the first configuration file from memory module 30, obtain the GPU check figure corresponding with identification information and first store path that drive file corresponding with the GPU check figure from the first configuration file, first under store path is installed and driven file;
Perhaps GPU control module 312 is searched the first configuration file according to triggering from memory module 30, obtain the GPU check figure corresponding with identification information and first store path that drive file corresponding with the GPU check figure from the first configuration file, with first under store path, drive file to cover the driving file adopted before application start.
Particularly, GPU control module 312 first can call the driver that drives the external DLL (dynamic link library) of engine first to lay down current use while driving file under store path is installed, and reloads correct driver; Wherein, driving the external DLL (dynamic link library) of engine is mainly to provide different API to use to other modules of system for two kinds of following application scenarioss: a kind of API calls for initialization, carry out the initialization of GPU according to product line, another API directly calls to application, need application that its application identification information (as the bag name) is imported into, carry out follow-up application identification information and carried out the judgement of GPU check figure, and then carried out the installation of new driver.
In summary, in the method for the GPU resource distribution that provided in the present invention, for example, owing to can (thering is multinuclear GPU ability in advance, be provided with a plurality of GPU cores) electronic equipment in Driver Library is set for storing a plurality of driving files of the driver that comprises the GPU check figure, and the identification information of corresponding configuration file record application and the store path (first drive the store path of file or the store path of second driving file) of driver in Driver Library of the corresponding relation between the GPU check figure and GPU check figure be set, therefore when in this electronic equipment, start application or to electronic equipment carry out system startup initialization or the time, can know required GPU check figure according to the identification information started or the property parameters of electronic equipment, and then the loading driver corresponding with required GPU check figure, to drive requisite number purpose GPU core.So, while needing to start the sheet graphic process unit of certain number in actual conditions, only need arrange accordingly in advance according to actual conditions, can load corresponding driver according to the identification information of application, to drive requisite number purpose sheet graphic process unit, make in same electronic equipment and can dynamically adjust according to presently used application the number of presently used graphic process unit, make same electronic equipment can when moving different application, use the sheet graphic process unit of different numbers, for example, only when starting more special application, just use plurality purpose sheet graphic process unit, and when starting other common application, only use fewer purpose sheet graphic process unit, thereby can realize the Dynamic Customization to the GPU ability of electronic equipment, effectively reduce the power consumption of electronic equipment when meeting the peak performance requirement of electronic equipment.On the other hand, method in can also the application of the invention at the electronic equipment of a plurality of series (for example makes, intelligent television) all use identical main hardware knowledge property right kernel (IP core) in, and by the setting of property parameters, make the electronic equipment of different series can use the GPU core (being the sheet graphic process unit) of different numbers.For example, do not need to change hardware and only need arrange accordingly property parameters, can the GPU ability of the electronic equipment of a plurality of series of using identical main IP core be customized, make the electronic equipment of different series can use according to different market, price and performance requirement the sheet graphic process unit of different numbers, there is different GPU abilities, thereby can reduce the manufacturing cost of electronic equipment, shorten the R&D cycle of electronic equipment, improve the stability of electronic equipment series of products.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. the method for a dynamic adjustments image handling property, be applied to have in the electronic equipment of multi-core image processor GPU, it is characterized in that, the method comprises:
When application start, obtain identification information corresponding to described application;
Obtain the GPU check figure corresponding with described identification information;
Judge that whether the GPU check figure adopted before the GPU check figure corresponding with described identification information and application start is consistent;
If consistent, continue the described application of operation;
Otherwise, load first of the GPU check figure corresponding with described identification information and drive file.
2. method according to claim 1, is characterized in that, described obtain the GPU check figure corresponding with described identification information before, the method also comprises:
Storing in advance first of the different GPU check figures of a plurality of supports in described electronic equipment drives file, reaches one first configuration file;
Described first drives file to comprise: the driver of GPU check figure and corresponding system file; Described the first configuration file comprises: the corresponding relation of the identification information of described application and GPU check figure and first store path that drive file corresponding with the GPU check figure.
3. method according to claim 2, is characterized in that, the described loading first driving file corresponding with described identification information comprises:
The driving file adopted before the unloading application start, install the first driving file corresponding with described identification information;
Perhaps utilize the first driving file corresponding with described identification information to cover the driving file adopted before application start, so that the first driving file corresponding with described identification information to be installed.
4. method according to claim 1, is characterized in that, the method also comprises:
When electronic equipment carries out system initialization, search the second pre-stored configuration file, obtain the GPU check figure corresponding with the property parameters of electronic equipment and second store path that drive file corresponding with the GPU check figure from the second configuration file, second under described store path is installed and driven file;
Described second drives file to comprise: the driver of GPU check figure and corresponding system file; Described the second configuration file comprises: the corresponding relation of the property parameters of described electronic equipment and GPU check figure and second store path that drive file corresponding with the GPU check figure.
5. method according to claim 3, is characterized in that, the described installation first driving file corresponding with described identification information comprises:
Search the first pre-stored configuration file, obtain the GPU check figure corresponding with described identification information and first store path that drive file corresponding with the GPU check figure from described the first configuration file;
Under described store path described first is installed and driven file.
6. method according to claim 3, is characterized in that, the described utilization first driving file that drive file cover application start front employing corresponding with described identification information comprises:
Search the first pre-stored configuration file, obtain the GPU check figure corresponding with described identification information and first store path that drive file corresponding with the GPU check figure from described the first configuration file;
With described first under described store path, drive file to cover the driving file adopted before application start.
7. a display terminal, is characterized in that, this display terminal comprises: memory module, control module and GPU;
Described memory module is pre-stored has first of the different GPU check figures of a plurality of supports to drive file and one first configuration file;
When application start, described control module is obtained identification information corresponding to described application, from described the first configuration file, obtains the GPU check figure corresponding with described identification information;
Whether the GPU check figure adopted before the GPU check figure that described control module comparison is corresponding with described identification information and application start is consistent, if consistent, trigger described GPU and move described application, otherwise, load first of the GPU check figure corresponding with described identification information and drive file.
8. display terminal according to claim 7, is characterized in that, described first drives file to comprise: the driver of GPU check figure and corresponding system file; Described the first configuration file comprises: the corresponding relation of the identification information of described application and GPU check figure and first store path that drive file corresponding with the GPU check figure.
9. display terminal according to claim 8, is characterized in that, described control module comprises:
Information acquisition unit, when application start, obtain identification information corresponding to described application, obtain the GPU check figure corresponding with described identification information from the first configuration file of described memory module, whether the GPU check figure adopted before relatively more corresponding with described identification information GPU check figure and application start is consistent, if consistent, trigger described GPU and move described application, otherwise trigger the GPU control module;
The GPU control module, according to triggering the driving file adopted before the unloading application start, search the first configuration file from described memory module, obtain the GPU check figure corresponding with described identification information and first store path that drive file corresponding with the GPU check figure from described the first configuration file, first under described store path is installed and driven file;
Perhaps described GPU control module is searched the first configuration file according to triggering from described memory module, obtain the GPU check figure corresponding with described identification information and first store path that drive file corresponding with the GPU check figure from described the first configuration file, with described first under described store path, drive file to cover the driving file of employing before application start.
10. according to the arbitrary described display terminal of claim 7 to 9, it is characterized in that, this display terminal also comprises: initialization module,
Described initialization module is also according to triggering, when this display terminal carries out system initialization, search the second configuration file pre-stored in described memory module, from the second configuration file, obtain the GPU check figure corresponding with the property parameters of electronic equipment and with the GPU check figure corresponding second drive the store path of file, and trigger described control module;
Described control module is also according to triggering the second driving file of installing under described store path;
Described second drives file to comprise: the driver of GPU check figure and corresponding system file; Described the second configuration file comprises: the corresponding relation of the property parameters of described electronic equipment and GPU check figure and second store path that drive file corresponding with the GPU check figure.
CN201310325347.9A 2013-07-30 2013-07-30 The method of dynamic adjustments image procossing performance and display terminal Expired - Fee Related CN103425234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310325347.9A CN103425234B (en) 2013-07-30 2013-07-30 The method of dynamic adjustments image procossing performance and display terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310325347.9A CN103425234B (en) 2013-07-30 2013-07-30 The method of dynamic adjustments image procossing performance and display terminal

Publications (2)

Publication Number Publication Date
CN103425234A true CN103425234A (en) 2013-12-04
CN103425234B CN103425234B (en) 2015-12-02

Family

ID=49650105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310325347.9A Expired - Fee Related CN103425234B (en) 2013-07-30 2013-07-30 The method of dynamic adjustments image procossing performance and display terminal

Country Status (1)

Country Link
CN (1) CN103425234B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430033A (en) * 2014-09-17 2016-03-23 宇龙计算机通信科技(深圳)有限公司 Method and device for protecting position of terminal
CN106201679A (en) * 2016-06-28 2016-12-07 联想(北京)有限公司 Information processing method and electronic equipment
CN108259233A (en) * 2017-12-29 2018-07-06 努比亚技术有限公司 Graphics processor GPU method for parameter configuration and mobile terminal in a kind of mobile terminal
CN108446178A (en) * 2018-03-05 2018-08-24 北京小米移动软件有限公司 Optimize the method and device of interim card
CN111309519A (en) * 2019-10-31 2020-06-19 北京浪潮数据技术有限公司 Cloud hard disk backup method, system and device
CN115035520A (en) * 2021-11-22 2022-09-09 荣耀终端有限公司 Character recognition method for image, electronic device and storage medium
WO2024108499A1 (en) * 2022-11-24 2024-05-30 芯原微电子(上海)股份有限公司 Image signal processing driving method, control module, processing module, and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706741A (en) * 2009-12-11 2010-05-12 中国人民解放军国防科学技术大学 Method for partitioning dynamic tasks of CPU and GPU based on load balance
CN102135949A (en) * 2011-03-01 2011-07-27 浪潮(北京)电子信息产业有限公司 Computing network system, method and device based on graphic processing unit
US20120331275A1 (en) * 2008-06-11 2012-12-27 John George Mathieson System and method for power optimization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120331275A1 (en) * 2008-06-11 2012-12-27 John George Mathieson System and method for power optimization
CN101706741A (en) * 2009-12-11 2010-05-12 中国人民解放军国防科学技术大学 Method for partitioning dynamic tasks of CPU and GPU based on load balance
CN102135949A (en) * 2011-03-01 2011-07-27 浪潮(北京)电子信息产业有限公司 Computing network system, method and device based on graphic processing unit

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430033A (en) * 2014-09-17 2016-03-23 宇龙计算机通信科技(深圳)有限公司 Method and device for protecting position of terminal
CN106201679A (en) * 2016-06-28 2016-12-07 联想(北京)有限公司 Information processing method and electronic equipment
CN108259233A (en) * 2017-12-29 2018-07-06 努比亚技术有限公司 Graphics processor GPU method for parameter configuration and mobile terminal in a kind of mobile terminal
CN108446178A (en) * 2018-03-05 2018-08-24 北京小米移动软件有限公司 Optimize the method and device of interim card
CN111309519A (en) * 2019-10-31 2020-06-19 北京浪潮数据技术有限公司 Cloud hard disk backup method, system and device
CN115035520A (en) * 2021-11-22 2022-09-09 荣耀终端有限公司 Character recognition method for image, electronic device and storage medium
CN115035520B (en) * 2021-11-22 2023-04-18 荣耀终端有限公司 Character recognition method for image, electronic device and storage medium
WO2024108499A1 (en) * 2022-11-24 2024-05-30 芯原微电子(上海)股份有限公司 Image signal processing driving method, control module, processing module, and medium

Also Published As

Publication number Publication date
CN103425234B (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN103425234B (en) The method of dynamic adjustments image procossing performance and display terminal
KR101693563B1 (en) Method and apparatus for taking screenshot of screen of application in mobile terminal
US11706331B2 (en) Information processing method and apparatus, storage medium, and electronic device
CN105554547B (en) The method and system of display screen adaptive configuration
CN103631359A (en) Information processing method and electronic equipment
CN105103123A (en) System and method for virtual displays
CN105556417A (en) Electronic device for controlling power and method therefor
CN103823546A (en) Information control method and electronic equipment
CN110471701B (en) Image rendering method and device, storage medium and electronic equipment
CN102053871A (en) Application program image display method and device
CN113628304B (en) Image processing method, image processing device, electronic equipment and storage medium
CN103064812B (en) Method and device for quickly connecting mobile equipment and computer
CN102955704A (en) Software executing method and electronic device thereof
CN105573603A (en) Method and device for adjusting screen darkening time of terminal
CN104754310A (en) Method and device for connecting camera of terminal equipment into target equipment
US20160127768A1 (en) Usb sharing method for combo tv set, combo tv set and computer readable storage medium
WO2017096910A1 (en) Method and system for adaptively adjusting display scale of office software
CN111694604A (en) Method, device and equipment for installing drivers in batches and machine-readable storage medium
CN106445353A (en) Display method and device of super-large pictures and electronic equipment
CN104346029A (en) System and method for realizing display control of dynamic icons on OSD (on screen display) interface in electronic equipment
CN1801831A (en) Method for increasing handset starting response speed
CN103294493A (en) Method and device for initializing peripheral equipment, and camera
CN103345454A (en) Peripheral device connection method of mobile terminal
CN109710352A (en) A kind of display methods and device of boot animation
CN103870111A (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151202