Screen temperature detection method, device, terminal and storage medium for terminal

By acquiring the detection time period and screen display information to assist in determining the target screen temperature of the terminal, the problem of difficult detection of terminal screen temperature and high hardware manufacturing cost in the prior art is solved, and more efficient and accurate detection effects are achieved.

CN115565469BActive Publication Date: 2025-04-08BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110737267.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-30
Publication Date
2025-04-08
Estimated Expiration
2041-06-30

AI Technical Summary

Technical Problem

In the prior art, terminal screen temperature detection is difficult, affecting detection accuracy, and high hardware manufacturing cost, resulting in poor detection effect.

Method used

By acquiring the detection time period and the corresponding screen display information, it assists in determining the target screen temperature of the terminal, and directly refers to the detection time period and screen display information to perform detection, avoiding dependence on the sensor.

Benefits of technology

It realizes more convenient terminal screen temperature detection, reduces hardware manufacturing costs, and improves detection accuracy and effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115565469B_ABST
    Figure CN115565469B_ABST
Patent Text Reader

Abstract

The present disclosure proposes a screen temperature detection method, device, terminal and storage medium for a terminal, the method comprising obtaining a detection time period; determining screen display information corresponding to the detection time period; and determining a target screen temperature of the terminal according to the detection time period and the screen display information. The present disclosure can effectively reduce the hardware manufacturing cost of the terminal screen, effectively improve the accuracy of the terminal screen temperature detection, and improve the detection effect of the terminal screen temperature.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminal technology, and in particular to a screen temperature detection method, device, terminal and storage medium for a terminal. Background Art

[0002] With the popularization of terminal applications, in some application scenarios, testers will monitor various performance indicators of the terminal. Performance indicators such as terminal screen temperature can be used to assist in some compensation control of the terminal to avoid adverse effects of terminal screen overheating on terminal application performance.

[0003] In the related art, a corresponding sensor for detecting temperature is usually configured for the terminal screen to assist in detecting the terminal screen temperature.

[0004] In this way, it is difficult to detect the temperature of the terminal screen, which affects the accuracy of the terminal screen temperature detection and consumes more hardware manufacturing costs of the terminal screen, resulting in poor detection effect of the terminal screen temperature. Summary of the invention

[0005] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0006] To this end, the purpose of the present invention is to propose a screen temperature detection method, device, terminal and storage medium for a terminal, thereby providing a more convenient terminal screen temperature detection method, which can effectively reduce the hardware manufacturing cost of the terminal screen, effectively improve the accuracy of terminal screen temperature detection, and improve the detection effect of terminal screen temperature.

[0007] To achieve the above-mentioned purpose, the screen temperature detection method for a terminal proposed in the first aspect of the present disclosure includes: obtaining a detection time period; determining screen display information corresponding to the detection time period; and determining the target screen temperature of the terminal based on the detection time period and the screen display information.

[0008] The screen temperature detection method for a terminal proposed in the embodiment of the first aspect of the present disclosure obtains a detection time period, determines the screen display information corresponding to the detection time period, and determines the target screen temperature of the terminal based on the detection time period and the screen display information. Since the detection time period and the corresponding screen display information are directly referenced to assist in determining the target screen temperature of the terminal, a more convenient terminal screen temperature detection method is provided, which can effectively reduce the hardware manufacturing cost of the terminal screen, effectively improve the accuracy of the terminal screen temperature detection, and improve the detection effect of the terminal screen temperature.

[0009] To achieve the above-mentioned purpose, a screen temperature detection device for a terminal proposed in an embodiment of the second aspect of the present disclosure includes: an acquisition module for acquiring a detection time period; a first determination module for determining screen display information corresponding to the detection time period; and a second determination module for determining the target screen temperature of the terminal based on the detection time period and the screen display information.

[0010] The screen temperature detection device for a terminal proposed in the second aspect of the embodiment of the present disclosure obtains a detection time period, determines the screen display information corresponding to the detection time period, and determines the target screen temperature of the terminal based on the detection time period and the screen display information. Since the detection time period and the corresponding screen display information are directly referenced to assist in determining the target screen temperature of the terminal, a more convenient terminal screen temperature detection method is provided, which can effectively reduce the hardware manufacturing cost of the terminal screen, effectively improve the accuracy of the terminal screen temperature detection, and improve the detection effect of the terminal screen temperature.

[0011] The third aspect embodiment of the present disclosure proposes a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the screen temperature detection method for the terminal proposed in the first aspect embodiment of the present disclosure is implemented.

[0012] The fourth aspect embodiment of the present disclosure proposes a non-temporary computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the screen temperature detection method for a terminal proposed in the first aspect embodiment of the present disclosure is implemented.

[0013] The fifth aspect embodiment of the present disclosure proposes a computer program product. When the instruction processor in the computer program product is executed, the screen temperature detection method for the terminal proposed in the first aspect embodiment of the present disclosure is executed.

[0014] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0016] Figure 1 is a flow chart of a method for detecting screen temperature of a terminal proposed in an embodiment of the present disclosure;

[0017] Figure 2 is a flow chart of a screen temperature detection method for a terminal proposed in another embodiment of the present disclosure;

[0018] Figure 3 is an application schematic diagram of an embodiment of the present disclosure;

[0019] Figure 4 is a flow chart of a screen temperature detection method for a terminal proposed in another embodiment of the present disclosure;

[0020] Figure 5 is a schematic diagram of the composition of power consumption information in an embodiment of the present disclosure;

[0021] Figure 6 is a schematic diagram of power consumption test in an embodiment of the present disclosure;

[0022] Figure 7 is a schematic diagram of power consumption test in an embodiment of the present disclosure;

[0023] Figure 8 is a structural schematic diagram of a screen temperature detection device for a terminal proposed in an embodiment of the present disclosure;

[0024] Fig. 9 is a structural schematic diagram of a screen temperature detection device for a terminal proposed in another embodiment of the present disclosure;

[0025] Fig.10 A schematic diagram of the structure of a terminal provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure, and are not to be construed as limitations of the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications, and equivalents that fall within the spirit and connotation of the appended claims.

[0027] Figure 1 It is a flowchart of a screen temperature detection method for a terminal proposed in an embodiment of the present disclosure.

[0028] This embodiment is described by taking the screen temperature detection method for a terminal as an example in which the screen temperature detection device for a terminal is configured.

[0029] The screen temperature detection method for a terminal in this embodiment may be configured in a screen temperature detection device for a terminal, and the screen temperature detection device for a terminal may be provided in the terminal, which is not limited in the embodiments of the present disclosure.

[0030] This embodiment takes the case where the screen temperature detection method for a terminal is configured in the terminal as an example. The terminal may be a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or other hardware device with various operating systems and imaging devices.

[0031] It should be noted that the execution subject of the embodiment of the present disclosure may be, for example, a central processing unit (CPU) in a terminal in terms of hardware, or may be, for example, a related background service in the terminal in terms of software, without limitation.

[0032] The terminal screen in the embodiment of the present disclosure may specifically be an organic light-emitting diode (OLED) screen, which is not limited thereto.

[0033] like Figure 1 As shown, the screen temperature detection method for a terminal includes:

[0034] S101: Obtain a detection time period.

[0035] Among them, the detection time period can be adaptively set according to the detection scenario requirements. The detection time period can be, for example, a period of time ending at the current time point. For example, a period of time covering a duration of 30 seconds ending at the current time point, and there is no restriction on this.

[0036] In the disclosed embodiment, the tester can adaptively configure the detection time period according to the actual detection scenario requirements. For example, the time period of 30 seconds in the future starting from the current time point can be used as the detection time period, and there is no restriction on this.

[0037] S102: Determine screen display information corresponding to the detection time period.

[0038] After obtaining the detection time period, some performance indicators, performance status, displayed content, etc. related to the display effect of the terminal screen within the detection time period can be counted as screen display information, thereby assisting in the subsequent combination of the detection time period and screen display information to detect the terminal screen temperature.

[0039] The screen display information may include, for example, a screen refresh rate, a backlight brightness value of a terminal screen, and parameter values ​​of a target color space corresponding to the content displayed on the terminal screen. The color space may be, for example, a hue (Hue)-saturation (Saturation)-value (Value) space, i.e., an HSV space, or any other possible spatial parameter that can characterize the brightness of the content displayed on the screen, without limitation.

[0040] It can be understood that the terminal screen temperature has a certain correlation with the content displayed on it. Therefore, the embodiment of the present disclosure supports detecting the screen display information within the detection time period to assist in determining the target screen temperature of the terminal. When detecting the screen temperature, the screen display information within the detection time period is referenced without relying on sensors for detection, thereby effectively reducing the hardware manufacturing cost of the terminal screen and effectively improving the accuracy of terminal screen temperature detection.

[0041] That is to say, in the embodiments of the present disclosure, some performance indicators, performance status, displayed content, etc. related to the display effect of the terminal screen at various time points can be recorded in real time during the operation of the terminal. Then, when the terminal screen is actually detected, according to the multiple time points covered by the detection time period, the screen display information corresponding to the detection time period is filtered out from some pre-recorded performance indicators, performance status, displayed content, etc., thereby assisting subsequent fitting to obtain the target screen temperature.

[0042] S103: Determine a target screen temperature of the terminal according to the detection time period and the screen display information.

[0043] The detected screen temperature of the terminal may be referred to as a target screen temperature.

[0044] After obtaining the detection time period and the screen display information corresponding to the detection time period, the target screen temperature can be fitted directly according to the detection time period and the screen display information in combination with some algorithm functions. Alternatively, the target screen temperature can be fitted according to the detection time period and the screen display information in any other possible way, such as an engineering method, etc., and there is no limitation to this.

[0045] In this embodiment, by obtaining a detection time period, determining the screen display information corresponding to the detection time period, and determining the target screen temperature of the terminal based on the detection time period and the screen display information, since the detection time period and the corresponding screen display information are directly referenced to assist in determining the target screen temperature of the terminal, a more convenient terminal screen temperature detection method is provided, which can effectively reduce the hardware manufacturing cost of the terminal screen, effectively improve the accuracy of terminal screen temperature detection, and improve the detection effect of the terminal screen temperature.

[0046] Figure 2 FIG. 1 is a flow chart of a method for detecting screen temperature of a terminal proposed in another embodiment of the present disclosure. Figure 2 As shown, the screen temperature detection method for a terminal includes:

[0047] S201: Obtain a detection time period.

[0048] Among them, the detection time period can be adaptively set according to the detection scenario requirements. The detection time period can be, for example, a period of time ending at the current time point. For example, a period of time covering a duration of 30 seconds ending at the current time point, and there is no restriction on this.

[0049] In the disclosed embodiment, the tester can adaptively configure the detection time period according to the actual detection scenario requirements. For example, the time period of 30 seconds in the future starting from the current time point can be used as the detection time period, and there is no restriction on this.

[0050] S202: Determine the screen refresh rate of the terminal.

[0051] The refresh rate refers to the number of times the electron beam repeatedly scans the image on the screen. The higher the refresh rate, the better the stability of the displayed image (picture).

[0052] In the disclosed embodiment, the above-mentioned screen refresh rate refers to the refresh rate of the screen corresponding to the detection time period. The screen refresh rate can be pre-set so that the screen refresh rate remains unchanged during the detection time period. Alternatively, if the screen refresh rate changes dynamically (i.e., dynamically adjusted by the user) during the detection time period, the average value of multiple refresh rates can be used as the screen refresh rate for temperature detection, and there is no restriction on this.

[0053] S203: Determine a target backlight brightness value corresponding to the detection time period.

[0054] For example, assuming that the detection time period covers multiple time points, the embodiment of the present disclosure can pre-mark several key time points, and determine the backlight brightness value corresponding to the detection time period based on the backlight brightness values ​​at the several key time points. The backlight brightness value corresponding to the detection time period can be called the target backlight brightness value.

[0055] Backlight is a form of lighting in the electronics industry, used on the screen of the terminal. The difference between backlight and frontlight is that backlight is illuminated from the side or back, while frontlight, as the name implies, is illuminated from the front. It can be used to increase the illumination in low light environments and the brightness of computer monitors and LCD screens.

[0056] The backlight brightness value, namely (Display Backlight Value, DBV), is the brightness value corresponding to the backlight type illumination. The backlight brightness value can be specifically expressed by the backlight brightness level, and there is no limitation on this.

[0057] Optionally, in some embodiments, determining the target backlight brightness value corresponding to the detection time period may be to determine multiple backlight brightness values ​​of the terminal at multiple time points respectively, where the multiple time points belong to the detection time period, and taking the average of the multiple backlight brightness values ​​as the target backlight brightness value. This can assist in quickly determining the target backlight brightness value corresponding to the detection time period, and since the target backlight brightness value is obtained by averaging the multiple backlight brightness values ​​at multiple time points, it effectively ensures the reference of the target backlight brightness value when fitting the screen temperature, thereby ensuring the accuracy of the screen temperature fitting from the data dimension.

[0058] The above-mentioned multiple time points may be a number of key time points marked in advance, and the marking process may be adaptively set according to the requirements of the temperature detection scenario.

[0059] Therefore, in the actual detection process, we can first determine multiple key time points within the detection time period, and then obtain the backlight brightness value at each time point to obtain multiple backlight brightness values, and then average the multiple backlight brightness values ​​to obtain the target backlight brightness value.

[0060] Of course, any other possible method may be used to combine multiple backlight brightness values ​​at multiple time points to calculate the target backlight brightness value, such as a weighted average method, and there is no limitation to this.

[0061] S204: Determine a target color space parameter value corresponding to the detection time period, wherein the target color space parameter value is determined based on the content displayed by the terminal during the detection time period, and the screen refresh rate, target backlight brightness value, and target color space parameter value together constitute screen display information.

[0062] In the disclosed embodiment, the color space may be specifically, for example, a hue (Hue)-saturation (Saturation)-value (Value) space, i.e., an HSV space, or it may be any other possible spatial parameter that can characterize the brightness of the content displayed on the screen, without limitation.

[0063] Optionally, if the color space is an HSV space, the target color space parameter of this embodiment may be a brightness parameter (Value) of the HSV space, which can be used to characterize the brightness of the content displayed on the screen. Brightness is the eye's perception of the brightness of light sources and object surfaces, and is a visual experience mainly determined by the intensity of light. The stronger the light, the brighter the vision; the weaker the light, the darker the vision.

[0064] In the disclosed embodiment, the brightness parameter (Value) of the HSV space is used as a consideration for fitting the screen temperature. This is because the brightness parameter in the HSV space has a stronger influence on the screen temperature than other parameters, thereby ensuring that the fitted target screen temperature is more accurate.

[0065] Moreover, since the target color space parameter value is determined based on the content displayed on the terminal during the detection time period, the target backlight brightness value is determined based on the backlight conditions of the terminal screen, and the screen refresh rate is also associated with the terminal screen, it is possible to parameterize the effect of the content displayed on the terminal screen on the temperature by using the target color space parameter value, the target backlight brightness value, and the screen refresh rate, which can effectively assist in the subsequent efficient and accurate detection of the terminal screen temperature.

[0066] Optionally, determining the target color space parameter value corresponding to the detection time period may be to determine multiple color space parameter values ​​of the terminal at multiple time points respectively, where the multiple time points belong to the detection time period, and taking the average of the multiple color space parameter values ​​as the target color space parameter value. This can assist in quickly determining the target color space parameter value corresponding to the detection time period, and since the target color space parameter value is obtained by averaging the multiple color space parameter values ​​at multiple time points, the target color space parameter value can be effectively referenced when fitting the screen temperature, thereby ensuring the accuracy of the screen temperature fitting from the data dimension.

[0067] The above-mentioned multiple time points may be a number of key time points marked in advance, and the marking process may be adaptively set according to the requirements of the temperature detection scenario.

[0068] Therefore, in the actual detection process, we can first determine multiple key time points within the detection time period, and then obtain the color space parameter values ​​at each time point (color space parameter values, for example, the brightness parameter (Value) of the HSV space), obtain multiple color space parameter values, and average the multiple color space parameter values ​​to obtain the target color space parameter value.

[0069] Of course, any other possible method may be used to combine multiple color space parameter values ​​at multiple time points to calculate the target color space parameter value, such as a weighted averaging method, and there is no limitation to this.

[0070] S205: Determine the detection duration covered by the detection time period.

[0071] After the above calculations obtain the screen refresh rate, the target backlight brightness value, and the target color space parameter value, the detection duration covered by the detection time period can also be determined. The detection duration can be, for example, 30 seconds, 15 seconds, 10 seconds, etc., and there is no restriction on this.

[0072] The screen refresh rate, the target backlight brightness value, the target color space parameter value, and the detection duration covered by the detection time period can be used together to fit the target screen temperature.

[0073] S206: Input the screen display information and the detection duration into the trained target temperature prediction model to obtain the target screen temperature output by the target temperature prediction model.

[0074] This embodiment also provides a method for quickly and accurately fitting the screen refresh rate, the target backlight brightness value, the target color space parameter value, and the detection time covered by the detection time period to obtain the target screen temperature, that is, a target temperature prediction model can be pre-trained, and the target temperature prediction model has the function of fitting the target screen temperature according to the input parameter content, so that the screen display information and the detection time can be directly input into the trained target temperature prediction model to obtain the target screen temperature output by the target temperature prediction model.

[0075] The target temperature prediction model may specifically be an artificial intelligence model, such as a neural network model or a machine learning model, etc., without limitation.

[0076] When training the target temperature prediction model, the model training algorithm in artificial intelligence can be used to train the initial temperature prediction model to obtain the target temperature prediction model. The target temperature prediction model training process can be specifically referred to the subsequent embodiments.

[0077] like Figure 3 As shown, Figure 3 This is an application schematic diagram of an embodiment of the present disclosure. After collecting the screen refresh rate, target backlight brightness value, target color space parameter value, and the detection time covered by the detection time period, the screen refresh rate, target backlight brightness value, target color space parameter value, and the detection time covered by the detection time period can be used as input parameters of the target temperature prediction model to obtain the target screen temperature output by the target temperature prediction model.

[0078] In the disclosed embodiment, the above-mentioned algorithm process of fitting various types of input parameters using the target temperature prediction model can be specifically embedded in the software operation and processing logic, so as to virtually obtain the target screen temperature based on the software operation and processing logic, and report the target screen temperature to the central processor of the terminal, which compares the received target screen temperature with the preset temperature threshold value, and takes some compensatory measures for the terminal screen temperature through preset strategy control, for example, timely reducing the backlight brightness value of the terminal screen, or compressing the pictures or video content displayed on the terminal screen, without limitation.

[0079] In some embodiments, the software operation processing logic may be registered in the Android system as a virtual temperature sensor device.

[0080] In some embodiments, after the software operation processing logic that performs temperature simulation detection is registered as a virtual temperature sensing detection device (temperature sensor device), the temperature sensor device can be used to call the background brightness control service (light service) of the terminal to control the backlight brightness value of the terminal screen, or call a set of pre-configured dedicated services to compress the picture or video content displayed on the terminal screen.

[0081] Based on the above description, the embodiments of the present disclosure can optimize the screen temperature of the terminal. Through real-time detection and calculation, a virtual target screen temperature can be obtained. The backlight brightness value or the display content can be dynamically and reasonably adjusted with reference to the target screen temperature, thereby obtaining a better terminal temperature control experience and achieving an optimal balance between power consumption and performance.

[0082] In this embodiment, by obtaining the detection time period, determining the screen display information corresponding to the detection time period, and determining the target screen temperature of the terminal according to the detection time period and the screen display information, a more convenient terminal screen temperature detection method is provided because the detection time period and the corresponding screen display information are directly referred to to assist in determining the target screen temperature of the terminal, which can effectively reduce the hardware manufacturing cost of the terminal screen, effectively improve the accuracy of the terminal screen temperature detection, and improve the detection effect of the terminal screen temperature. Since the target color space parameter value is determined according to the content displayed by the terminal in the detection time period, the target backlight brightness value is determined according to the backlight condition of the terminal screen, and the screen refresh rate is also associated with the terminal screen, the target color space parameter value, the target backlight brightness value, and the screen refresh rate are used to parameterize the effect of the content displayed on the terminal screen on the temperature, which can effectively assist in the subsequent efficient and accurate detection of the terminal screen temperature. The lightness parameter (Value) of the HSV space is used as the consideration for fitting the screen temperature because the lightness parameter in the HSV space has a stronger ability to affect the screen temperature than other parameters, thereby ensuring that the target screen temperature obtained by fitting is more accurate.

[0083] Figure 4 is a flow chart of a method for detecting screen temperature of a terminal proposed in another embodiment of the present disclosure. In this embodiment, a flow chart of a method for training a target temperature prediction model is provided. Before predicting the target screen temperature, Figure 4 As shown, the screen temperature detection method for a terminal includes:

[0084] S401: Acquire multiple sample time periods and multiple sample display information corresponding to the multiple sample time periods respectively.

[0085] The time period used to train the model can be called a sample time period.

[0086] The screen display information detected within the sample time period may be referred to as sample display information. For an example of the sample display information, reference may be made to the above embodiment, which will not be described in detail here.

[0087] The sample time period can be adaptively set according to the requirements of the training scenario. The sample time period can be, for example, a period of time ending at the current time point. For example, up to the current time point, it covers a time period of 30 seconds, or a time period of 15 seconds. The time lengths covered by different sample time periods can be different or the same, and there is no limitation on this.

[0088] S402: Acquire a plurality of measured screen temperatures corresponding to a plurality of sample time periods respectively.

[0089] After obtaining multiple sample time periods, multiple measured screen temperatures corresponding to the multiple sample time periods can be obtained, wherein each sample time period may have a corresponding calibrated key time point, so that the screen temperature detected in real time at the key time point can be obtained as the measured screen temperature. The measured screen temperature can be used for subsequent calibration of the temperature prediction model in training, without any restriction.

[0090] S403: Acquire multiple pieces of actually measured power consumption information corresponding to multiple sample time periods respectively.

[0091] After obtaining the plurality of sample time periods, a plurality of actually measured power consumption information corresponding to the plurality of sample time periods may be obtained, that is, actually measured power consumption information corresponding to each sample time period may be obtained.

[0092] Among them, the power consumption information actually measured on the terminal screen and corresponding to the sample time period can be called measured power consumption information. The measured power consumption information, such as the power consumption value and power consumption distribution within the sample time period, is not limited.

[0093] The measured power consumption information in the embodiments of the present disclosure is usually associated with the backlight brightness value of the terminal screen, the screen refresh rate, and the content displayed on the screen. The obtained measured power consumption information can be used to assist in the subsequent training of the initial power consumption model to obtain the target power consumption model. The target power consumption model can be used to fit the initial temperature prediction model, and the initial temperature prediction model is a temperature prediction model in the initial stage of training the temperature prediction model.

[0094] The measured power consumption information of the embodiment of the present disclosure may specifically include screen power consumption and screen integrated circuit (IC) power consumption, such as Figure 5 As shown, Figure 5 It is a schematic diagram of the power consumption information composition in the embodiment of the present disclosure, including screen power consumption and screen IC power consumption. Usually, screen power consumption accounts for a higher proportion in the screen power consumption information, and the value varies greatly with different displayed contents. Screen IC power consumption accounts for a smaller proportion in the screen power consumption information, and the value is relatively fixed. Therefore, in the embodiment of the present disclosure, the screen power consumption can also be directly used as the above-mentioned measured power consumption information.

[0095] like Figure 6 As shown, Figure 6 is a schematic diagram of power consumption test in an embodiment of the present disclosure, Figure 6 The following shows the difference in screen power consumption corresponding to different display contents; Figure 7 As shown, Figure 7 1 is a schematic diagram of power consumption test in the embodiment of the present disclosure, wherein different backlight brightness values ​​DBV, different screen refresh rates (can be Figure 7 ), which usually corresponds to different measured power consumption information.

[0096] S404: training an initial power consumption model according to multiple sample time periods, multiple sample display information, and multiple measured power consumption information to obtain a target power consumption model.

[0097] After obtaining multiple measured power consumption information corresponding to multiple sample time periods, the initial power consumption model can be trained according to the multiple sample time periods, the multiple sample display information, and the multiple measured power consumption information to obtain a target power consumption model, which can be used to fit the subsequent initial temperature prediction model.

[0098] The above-mentioned initial power consumption model can specifically be an artificial intelligence model, such as a neural network model or a machine learning model, and there is no limitation on this.

[0099] For example, multiple sample time periods and multiple sample display information can be input into the initial power consumption model to obtain predicted power consumption information output by the power consumption model. For example, the above-mentioned multiple measured power consumption information can be used as reference annotations for training the model. The predicted power consumption information output by the power consumption model and the measured power consumption information used as reference annotations can be fitted to obtain corresponding loss values. The loss values ​​can be used to determine the convergence timing of the model. If the power consumption model is judged to have converged based on the loss value, the trained power consumption model will be used as the above-mentioned target power consumption model.

[0100] That is to say, in the embodiments of the present disclosure, it supports training the initial power consumption model by combining multiple sample time periods, multiple sample display information, and multiple measured power consumption information to obtain a target power consumption model, and converting the target power consumption model into an initial temperature prediction model, thereby supporting subsequent model training based on the converted initial temperature prediction model, and being able to effectively learn the correlation between the terminal power consumption data and the temperature data, thereby ensuring the prediction accuracy of the target temperature prediction model.

[0101] S405: Acquire multiple theoretical power consumption information corresponding to multiple sample time periods respectively.

[0102] like Figure 7 As shown, Figure 7 Also shown are multiple theoretical power consumption information corresponding to multiple sample time periods. The theoretical power consumption information can be specifically obtained by theoretical calculation based on parameters such as voltage and current output by the terminal during the sample time period, and there is no limitation on this.

[0103] In the embodiment of the present disclosure, the above-mentioned voltage, current and other parameters output by the terminal during the sample time period can be theoretically calculated. Figure 7 Alternatively, the histogram of the brightness parameter (Value) in the HSV space corresponding to the screen display content can be counted, and then some theoretical calculations can be integrated to obtain the above Figure 7 The theoretical power consumption information in is not limited.

[0104] In the specific implementation process of the embodiment of the present disclosure, a power signal line can be connected from the connector position of the terminal screen to perform voltage and current tests, wherein the measured power consumption information and the theoretical power consumption information can also be specifically the actual screen power consumption and the theoretical screen power consumption, thereby obtaining the above Figure 7 The power consumption test conditions shown in .

[0105] S406: Acquire multiple theoretical screen temperatures corresponding to multiple sample time periods respectively.

[0106] Among them, the above can be processed by combining the algorithm logic in the relevant technology Figure 7 The measured power consumption information shown in the figure can be used to obtain the corresponding theoretical screen temperature. The multiple theoretical screen temperatures corresponding to the multiple sample time periods can be used for subsequent fitting to obtain the correlation between the terminal power consumption data and the temperature data. The correlation can be used to assist in the algorithm conversion from the power consumption model to the temperature model.

[0107] S407: Obtaining an objective function relationship by fitting according to multiple sample time periods, multiple theoretical power consumption information, and multiple theoretical screen temperatures.

[0108] It is understandable that since the power consumption information of the terminal usually shows a certain intrinsic correlation with the screen temperature of the terminal, for example, the greater the power consumption of the terminal screen, the higher the corresponding screen temperature, and conversely, the smaller the power consumption of the terminal screen, the lower the corresponding screen temperature, in the embodiment of the present disclosure, multiple theoretical power consumption information and multiple theoretical screen temperatures corresponding to multiple sample time periods can be statistically analyzed, so as to fit the functional relationship between the three from the perspective of mathematical functions, and use the fitted functional relationship as the target functional relationship to assist in the subsequent algorithm conversion between the power consumption model and the temperature model with reference to the target functional relationship.

[0109] S408: Generate an initial temperature prediction model according to the target power consumption model and the target function relationship.

[0110] Since the objective function relationship is obtained by fitting based on multiple sample time periods, multiple theoretical power consumption information, and multiple theoretical screen temperatures, that is to say, the objective function relationship includes three variables: sample time period, theoretical power consumption information, and theoretical screen temperature.

[0111] Therefore, after obtaining the target power consumption model and the objective function relationship as mentioned above, the three variables in the objective function relationship can be integrated into the target power consumption model based on the time dimension covered by the sample time period, and the fused model can be used as the initial temperature prediction model, so that the initial temperature prediction model has the function of predicting the theoretical screen temperature according to the input sample time period and sample display information, and then, the subsequent steps of training the initial temperature prediction model are triggered.

[0112] S409: training an initial temperature prediction model according to a plurality of sample time periods, a plurality of sample display information, and a plurality of measured screen temperatures to obtain a target temperature prediction model.

[0113] For example, multiple sample time periods and multiple sample display information can be input into the initial temperature prediction model to obtain the predicted screen temperature of the temperature prediction model. For example, the above-mentioned multiple measured screen temperatures can be used as reference annotations for training the model. The predicted screen temperature output by the temperature prediction model and the measured screen temperature used as the reference annotation are fitted to obtain the corresponding loss value. The loss value can be used to determine the convergence timing of the temperature prediction model. If the temperature prediction model is judged to have converged based on the loss value, the trained temperature prediction model is used as the above-mentioned target temperature prediction model.

[0114] That is to say, in the process of training the temperature prediction model, the embodiment of the present disclosure also supports iterative training of the initial temperature prediction model based on multiple measured screen temperatures corresponding to multiple sample time periods as calibration references, thereby gradually improving the prediction performance of the temperature prediction model, so that the trained target temperature prediction model has better prediction performance in the actual temperature prediction scenario.

[0115] In this embodiment, a method for quickly and accurately fitting the screen refresh rate, the target backlight brightness value, the target color space parameter value, and the detection time covered by the detection time period to obtain the target screen temperature is provided, that is, a target temperature prediction model is pre-trained, and the target temperature prediction model has the function of fitting the target screen temperature according to the input parameter content, so that the screen display information and the detection time can be directly input into the trained target temperature prediction model to obtain the target screen temperature output by the target temperature prediction model. It supports training the initial power consumption model in combination with multiple sample time periods, multiple sample display information, and multiple measured power consumption information to obtain the target power consumption model, and converts the target power consumption model into the initial temperature prediction model, so as to support subsequent model training based on the converted initial temperature prediction model, and can effectively learn the correlation between the terminal power consumption data and the temperature data, and ensure the prediction accuracy of the target temperature prediction model. In the process of training the temperature prediction model, it also supports iterative training of the initial temperature prediction model based on multiple measured screen temperatures corresponding to multiple sample time periods as calibration references, so as to gradually improve the prediction performance of the temperature prediction model, so that the trained target temperature prediction model has better prediction performance in the actual temperature prediction scenario.

[0116] Figure 8 It is a structural schematic diagram of a screen temperature detection device for a terminal proposed in an embodiment of the present disclosure.

[0117] like Figure 8 As shown, the screen temperature detection device 80 for a terminal includes:

[0118] An acquisition module 801 is used to acquire a detection time period;

[0119] A first determining module 802 is used to determine screen display information corresponding to a detection time period; and

[0120] The second determination module 803 is used to determine the target screen temperature of the terminal according to the detection time period and the screen display information.

[0121] In some embodiments of the present disclosure, the second determining module 803 is specifically configured to:

[0122] Determine the detection duration covered by the detection time period;

[0123] The screen display information and the detection duration are input into the trained target temperature prediction model to obtain the target screen temperature output by the target temperature prediction model.

[0124] In some embodiments of the present disclosure, Fig. 9 As shown, Fig. 9 8 is a schematic diagram of a screen temperature detection device for a terminal according to another embodiment of the present disclosure. The first determination module 802 includes:

[0125] The first determining submodule 8021 is used to determine the screen refresh rate of the terminal;

[0126] The second determination submodule 8022 is used to determine the target backlight brightness value corresponding to the detection time period;

[0127] The third determination submodule 8023 is used to determine the target color space parameter value corresponding to the detection time period;

[0128] The target color space parameter value is determined based on the content displayed by the terminal during the detection time period, and the screen refresh rate, the target backlight brightness value, and the target color space parameter value together constitute the screen display information.

[0129] In some embodiments of the present disclosure, Fig. 9 As shown, the device also includes:

[0130] The training module 804 is used to obtain multiple sample time periods and multiple sample display information corresponding to the multiple sample time periods, and obtain multiple measured screen temperatures corresponding to the multiple sample time periods, and train an initial temperature prediction model based on the multiple sample time periods, the multiple sample display information, and the multiple measured screen temperatures to obtain a target temperature prediction model.

[0131] In some embodiments of the present disclosure, Fig. 9 As shown, it also includes:

[0132] Generation module 805 is used to obtain multiple measured power consumption information corresponding to multiple sample time periods, and train an initial power consumption model based on multiple sample time periods, multiple sample display information, and multiple measured power consumption information to obtain a target power consumption model, and generate an initial temperature prediction model based on the relationship between the target power consumption model and the objective function.

[0133] In some embodiments of the present disclosure, Fig. 9 As shown, it also includes:

[0134] The fitting module 806 is used to obtain multiple theoretical power consumption information corresponding to multiple sample time periods, and obtain multiple theoretical screen temperatures corresponding to multiple sample time periods, and to obtain an objective function relationship by fitting multiple sample time periods, multiple theoretical power consumption information, and multiple theoretical screen temperatures.

[0135] In some embodiments of the present disclosure, the second determining submodule 8022 is specifically configured to:

[0136] Determine a plurality of backlight brightness values ​​of the terminal at a plurality of time points, respectively, where the plurality of time points belong to a detection time period;

[0137] The average value of the multiple backlight brightness values ​​is taken as the target backlight brightness value.

[0138] In some embodiments of the present disclosure, the third determining submodule 8023 is specifically configured to:

[0139] Determine a plurality of color space parameter values ​​of the terminal at a plurality of time points, respectively, where the plurality of time points belong to a detection time period;

[0140] The average value of the multiple color space parameter values ​​is taken as the target color space parameter value.

[0141] In some embodiments of the present disclosure, the target color space parameter is a brightness parameter of a hue-saturation-brightness space.

[0142] It should be noted that the above explanation of the embodiment of the screen temperature detection method for a terminal is also applicable to the screen temperature detection device for a terminal of this embodiment, which will not be repeated here.

[0143] In this embodiment, by obtaining a detection time period, determining the screen display information corresponding to the detection time period, and determining the target screen temperature of the terminal based on the detection time period and the screen display information, since the detection time period and the corresponding screen display information are directly referenced to assist in determining the target screen temperature of the terminal, a more convenient terminal screen temperature detection method is provided, which can effectively reduce the hardware manufacturing cost of the terminal screen, effectively improve the accuracy of terminal screen temperature detection, and improve the detection effect of the terminal screen temperature.

[0144] Fig.10 A schematic diagram of the structure of a terminal provided in an embodiment of the present disclosure.

[0145] The terminal includes:

[0146] A memory 1001 , a processor 1002 , and a computer program stored in the memory 1001 and executable on the processor 1002 .

[0147] When the processor 1002 executes the program, the screen temperature detection method for the terminal provided in the above embodiment is implemented.

[0148] In a possible implementation, the terminal further includes:

[0149] The communication interface 1003 is used for communication between the memory 1001 and the processor 1002 .

[0150] The memory 1001 is used to store computer programs that can be executed on the processor 1002 .

[0151] The memory 1001 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0152] The processor 1002 is used to implement the screen temperature detection method for the terminal of the above embodiment when executing the program.

[0153] If the memory 1001, the processor 1002 and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001 and the processor 1002 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0154] Optionally, in a specific implementation, if the memory 1001, the processor 1002 and the communication interface 1003 are integrated on a chip, the memory 1001, the processor 1002 and the communication interface 1003 can communicate with each other through an internal interface.

[0155] The processor 1002 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure.

[0156] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the screen temperature detection method for a terminal as described above is implemented.

[0157] In order to implement the above embodiments, the present disclosure further proposes a computer program product. When instructions in the computer program product are executed by a processor, the screen temperature detection method for a terminal shown in the above embodiments is executed.

[0158] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.

[0159] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.

[0160] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0161] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0162] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0163] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0164] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0165] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A screen temperature detection method for a terminal, characterized in that: The method comprises: Get the detection time period; Determining screen display information corresponding to the detection time period, the screen display information including a screen refresh rate, a target backlight brightness value, and a target color space parameter value; and Determining a target screen temperature of the terminal according to the detection time period and the screen display information; The determining, according to the detection time period and the screen display information, a target screen temperature of the terminal includes: Determine the detection duration covered by the detection time period; Inputting the screen display information and the detection duration into a trained target temperature prediction model to obtain the target screen temperature output by the target temperature prediction model; The target temperature prediction model is trained by the following steps, including: Acquire multiple sample time periods and multiple sample display information corresponding to the multiple sample time periods respectively; Acquire a plurality of measured screen temperatures corresponding to the plurality of sample time periods respectively; and An initial temperature prediction model is trained according to the multiple sample time periods, the multiple sample display information, and the multiple measured screen temperatures to obtain the target temperature prediction model.

2. The method according to claim 1, characterized in that The determining of the screen display information corresponding to the detection time period includes: Determining a screen refresh rate of the terminal; determining a target backlight brightness value corresponding to the detection time period; and Determining a target color space parameter value corresponding to the detection time period; The target color space parameter value is determined according to the content displayed by the terminal during the detection time period, and the screen refresh rate, the target backlight brightness value, and the target color space parameter value together constitute the screen display information.

3. The method according to claim 1, characterized in that Before the initial temperature prediction model is trained according to the multiple sample time periods, the multiple sample display information, and the multiple measured screen temperatures, the method further includes: Acquire multiple pieces of measured power consumption information corresponding to the multiple sample time periods respectively; Training an initial power consumption model according to the multiple sample time periods, the multiple sample display information, and the multiple measured power consumption information to obtain a target power consumption model; and The initial temperature prediction model is generated according to the target power consumption model and the objective function relationship.

4. The method according to claim 3, characterized in that Before generating the initial temperature prediction model according to the target power consumption model and the objective function relationship, the method further includes: Acquire multiple theoretical power consumption information corresponding to the multiple sample time periods respectively; Acquire a plurality of theoretical screen temperatures respectively corresponding to the plurality of sample time periods; and The objective function relationship is obtained by fitting according to the multiple sample time periods, the multiple theoretical power consumption information, and the multiple theoretical screen temperatures.

5. The method according to claim 2, characterized in that The determining of the target backlight brightness value corresponding to the detection time period includes: Determine a plurality of backlight brightness values ​​of the terminal at a plurality of time points, respectively, where the plurality of time points belong to the detection time period; An average value of the plurality of backlight brightness values ​​is used as the target backlight brightness value.

6. The method according to claim 2, characterized in that The determining of the target color space parameter value corresponding to the detection time period includes: Determining a plurality of color space parameter values ​​of the terminal at a plurality of time points respectively, the plurality of time points belonging to the detection time period; An average value of the plurality of color space parameter values ​​is used as the target color space parameter value.

7. A screen temperature detection device for a terminal, characterized in that: The device comprises: An acquisition module, used to acquire a detection time period; a first determining module, configured to determine screen display information corresponding to the detection time period, wherein the screen display information includes a screen refresh rate, a target backlight brightness value, and a target color space parameter value; and A second determination module, configured to determine a target screen temperature of the terminal according to the detection time period and the screen display information; The second determining module is specifically used to: Determine the detection duration covered by the detection time period; Inputting the screen display information and the detection duration into a trained target temperature prediction model to obtain the target screen temperature output by the target temperature prediction model; The device also includes: A training module is used to obtain multiple sample time periods and multiple sample display information corresponding to the multiple sample time periods, and obtain multiple measured screen temperatures corresponding to the multiple sample time periods, and train an initial temperature prediction model based on the multiple sample time periods, the multiple sample display information, and the multiple measured screen temperatures to obtain the target temperature prediction model.

8. The device according to claim 7, characterized in that The first determining module includes: A first determining submodule, used to determine a screen refresh rate of the terminal; A second determination submodule, used to determine a target backlight brightness value corresponding to the detection time period; A third determination submodule is used to determine a target color space parameter value corresponding to the detection time period; The target color space parameter value is determined according to the content displayed by the terminal during the detection time period, and the screen refresh rate, the target backlight brightness value, and the target color space parameter value together constitute the screen display information.

9. The device according to claim 7, characterized in that Also includes: A generation module is used to obtain multiple measured power consumption information corresponding to the multiple sample time periods, and train an initial power consumption model based on the multiple sample time periods, the multiple sample display information, and the multiple measured power consumption information to obtain a target power consumption model, and generate the initial temperature prediction model based on the relationship between the target power consumption model and the objective function.

10. The device according to claim 9, characterized in that Also includes: A fitting module is used to obtain multiple theoretical power consumption information corresponding to the multiple sample time periods, and to obtain multiple theoretical screen temperatures corresponding to the multiple sample time periods, and to obtain the objective function relationship by fitting the multiple sample time periods, the multiple theoretical power consumption information, and the multiple theoretical screen temperatures.

11. The device according to claim 8, characterized in that The second determining submodule is specifically used for: Determine a plurality of backlight brightness values ​​of the terminal at a plurality of time points, respectively, where the plurality of time points belong to the detection time period; An average value of the plurality of backlight brightness values ​​is used as the target backlight brightness value.

12. The device according to claim 8, characterized in that The third determining submodule is specifically used for: Determining a plurality of color space parameter values ​​of the terminal at a plurality of time points respectively, the plurality of time points belonging to the detection time period; An average value of the plurality of color space parameter values ​​is used as the target color space parameter value.

13. A terminal, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 6 is implemented.

14. A storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Temperature detection method and device

    CN106706155A

  • Temperature control method and device, storage medium and electronic equipment

    CN110865666A