CN110225177B - Interface adjusting method, computer storage medium and terminal equipment - Google Patents

Interface adjusting method, computer storage medium and terminal equipment Download PDF

Info

Publication number
CN110225177B
CN110225177B CN201810170527.7A CN201810170527A CN110225177B CN 110225177 B CN110225177 B CN 110225177B CN 201810170527 A CN201810170527 A CN 201810170527A CN 110225177 B CN110225177 B CN 110225177B
Authority
CN
China
Prior art keywords
video
brightness
parameter
parameters
color temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810170527.7A
Other languages
Chinese (zh)
Other versions
CN110225177A (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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201810170527.7A priority Critical patent/CN110225177B/en
Publication of CN110225177A publication Critical patent/CN110225177A/en
Application granted granted Critical
Publication of CN110225177B publication Critical patent/CN110225177B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/77Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The embodiment of the application discloses an interface adjusting method, a computer storage medium and a terminal device, wherein the method comprises the following steps: receiving interface setting parameters, wherein the interface setting parameters comprise at least one of video brightness parameters, video color temperature parameters and screen brightness parameters; aiming at the video brightness parameter and the video color temperature parameter, when a video picture is rendered, the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter; and calling a designated interface of the terminal equipment according to the screen brightness parameters, and adjusting the screen brightness of the terminal equipment through the designated interface. According to the technical scheme, different adjustment can be performed on the interface according to different application scenes.

Description

Interface adjusting method, computer storage medium and terminal equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to an interface adjusting method, a computer storage medium, and a terminal device.
Background
With the continuous improvement of the functions of the terminal equipment, users increasingly rely on the terminal equipment. Through the terminal device, the user can watch videos, read electronic novels, browse websites and the like. Use terminal equipment for a long time can cause great pressure to user's eyes, especially under the not good scene of light, if watch the higher display screen of luminance for a long time, can bring the not good influence to user's eyesight.
In view of this, current terminal devices provide a screen brightness adjustment function. Through manual adjustment of a user or automatic adjustment of the terminal device, the screen brightness of the terminal device can be synchronously adjusted along with the brightness of ambient light, so that too much burden on eyes of the user is avoided.
However, in the prior art, generally, only the screen brightness of the terminal device can be adjusted, and this adjustment means is relatively single and cannot satisfy various application scenarios of the terminal device.
Disclosure of Invention
An object of the embodiments of the present application is to provide an interface adjusting method, a computer storage medium, and a terminal device, which can adjust an interface differently for different application scenarios.
In order to achieve the above object, an embodiment of the present application provides an interface adjusting method, including: receiving interface setting parameters, wherein the interface setting parameters comprise at least one of video brightness parameters, video color temperature parameters and screen brightness parameters; aiming at the video brightness parameter and the video color temperature parameter, when a video picture is rendered, the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter; and calling a designated interface of the terminal equipment according to the screen brightness parameters, and adjusting the screen brightness of the terminal equipment through the designated interface.
To achieve the above object, the present application further provides a computer storage medium having a computer program stored thereon, where the computer program is executed to implement the following steps: receiving interface setting parameters, wherein the interface setting parameters comprise at least one of video brightness parameters, video color temperature parameters and screen brightness parameters; aiming at the video brightness parameter and the video color temperature parameter, when a video picture is rendered, the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter; and calling a designated interface of the terminal equipment according to the screen brightness parameters, and adjusting the screen brightness of the terminal equipment through the designated interface.
In order to achieve the above object, an embodiment of the present application further provides a terminal device, where the computer storage medium is disposed in the terminal device.
Therefore, according to the technical scheme provided by the application, the client can provide the adjustment modes of the video brightness parameter and the video color temperature parameter besides the adjustment mode of the screen brightness parameter for the user. The video brightness parameter and the video color temperature parameter can be respectively adjusted according to the brightness and the color temperature of a video picture currently played in the terminal equipment, and the adjustment can be omitted for a region without the video picture. Therefore, when the user watches videos, the brightness and the color temperature which are matched with the ambient light can be adopted for processing the video pictures focused by the eyes for a long time, and therefore the glasses of the user cannot be tired. For non-video areas where the eyes are not focused, the display can be normal, on the one hand, it can serve as a part of the ambient light, and on the other hand, it can make the user see detailed information such as options, profiles, and user comments of the episode. For the screen brightness parameter, the overall brightness of the display screen of the terminal device can be adjusted in a conventional manner. As can be seen from the above, the video brightness parameter and the video color temperature parameter are adjusted by the client playing the video picture when rendering the video picture, and the screen brightness parameter is adjusted by the client playing the video picture by calling the interface of the terminal device. According to the technical scheme, more interface adjusting modes can be provided for a user, and respective adjusting processes can be carried out on the video picture area and the non-video picture area, so that different adjusting can be carried out on the interface according to different application scenes.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method of interface conditioning in an embodiment of the present application;
FIG. 2 is a schematic illustration of interface conditioning in an embodiment of the present application;
FIG. 3 is a schematic diagram of an adjustment control according to an embodiment of the present disclosure;
FIG. 4(a) is a schematic diagram of a non-full screen video frame in an embodiment of the present application;
FIG. 4(b) is a schematic diagram of a video frame displayed in full screen in the embodiment of the present application;
fig. 5 is a flowchart of video frame adjustment according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application shall fall within the scope of protection of the present application.
The embodiment provides an interface adjusting method which can be applied to a client. The client may be software running in the terminal device. The terminal device can be, for example, an electronic device such as a smart phone, a tablet personal computer, a smart television, a notebook computer, an all-in-one machine, and an intelligent wearable device (virtual reality eyes, a smart watch, etc.). The client may be, for example, video playing software, a reader, image presentation software, a browser, and other software.
Referring to fig. 1, the interface adjusting method provided by the present application may include the following steps.
Step S1: receiving interface setting parameters, wherein the interface setting parameters comprise at least one of video brightness parameters, video color temperature parameters and screen brightness parameters.
In this embodiment, the client may provide a user with a variety of interface adjustment approaches. Specifically, when the client is in operation, it may be detected whether the user has reached an interface adjustment instruction. In practical application, a user can issue an interface adjusting instruction in various ways. For example, the user may issue an interface adjustment instruction by shaking the terminal device or by applying a specified gesture in the current interface of the client during the operation of the client. The designated gesture may be, for example, a double-click on the current interface of the client or a preset gesture that does not conflict with other functions. In addition, a control for adjusting the interface can be contained in the current interface of the client. Specifically, referring to fig. 2, the light bulb in the current interface of the client may represent the control of the interface adjustment. When the control of the interface adjustment is triggered, the client receives the interface adjustment instruction.
In this embodiment, after receiving an interface adjustment instruction issued by a user, the client may respectively display the adjustment controls of the video brightness parameter, the video color temperature parameter, and the screen brightness parameter in the current interface in response to the interface adjustment instruction. Referring to fig. 3, after the user clicks the interface adjustment control, three circular adjustment controls may be popped out from the current interface, where the three adjustment controls respectively correspond to the video brightness parameter, the video color temperature parameter, and the screen brightness parameter. The adjusting controls can slide in the respective running tracks. The operation track is equivalent to a scale for parameter adjustment, and the adjustment control can change the actual parameter value of the corresponding parameter in real time when being dragged up and down by a user. The parameter pointed by the adjustment control can be received by the client, and the client can use the parameter pointed by the adjustment control as the interface setting parameter. In this way, the user can adjust the three adjustment controls respectively, so as to generate three different interface setting parameters. Of course, in practical applications, the user may operate only some of the three adjustment controls, so as to generate corresponding interface setting parameters.
In one embodiment, the client may also automatically make interface adjustments based on ambient light. Specifically, a light sensor may be included in the terminal device, and the light sensor may detect current ambient light in real time and generate a light parameter corresponding to the current ambient light. The light parameter may be, for example, the intensity of ambient light. The light parameters generated by the light sensor can be transmitted to the client, a plurality of setting parameter templates can be preset in the client, and the video brightness parameters, the video color temperature parameters and the screen brightness parameters can be respectively defined in each setting parameter template. And the interface display effects corresponding to the setting parameter templates are different. In this embodiment, the setting parameter template may be associated with the light parameter. Specifically, a plurality of preset setting parameter templates can be distinguished according to the range of the light parameters. For example, assuming that the light intensity of the ambient light can be represented by 1 to 10, the light intensity can be divided into 5 intervals, and each interval can correspond to one setting parameter template, so that the light parameter and the setting parameter template can be associated. In this embodiment, after receiving the light parameters sent by the light sensor, a parameter interval where the light parameters are located may be determined, and a setting parameter template associated with the parameter interval is used as a target setting parameter template corresponding to the light parameters. In the target setting parameter template, one or more combinations of preset video brightness standard parameters, video color temperature standard parameters and screen brightness standard parameters may be included. In this way, the standard parameters included in the target setting parameter template can be used as interface setting parameters for adjusting the interface.
Step S3: and aiming at the video brightness parameter and the video color temperature parameter, when a video picture is rendered, the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter.
In the present embodiment, when the user views the video screen, the line of sight is usually focused on the area of the video screen. Based on the above, the brightness and the color temperature of the video picture area which is mainly watched by the user can be adjusted, so that the visual fatigue of the user can be reduced. And for the non-video picture area, no adjustment can be made.
In this embodiment, the video brightness and the video color temperature may be adjusted when the client renders the video picture. Specifically, the video frames displayed in the current interface usually have a fixed display size, and the display size is usually related to the playing manner of the video frames. The playback mode may be predefined in the client. For example, referring to fig. 4, when a video is watched in a smart phone, a video frame can be divided into a full-screen display and a non-full-screen display. Fig. 4(a) shows a video frame displayed in a non-full screen, in which the video frame is in the upper half area of the interface, and contents such as episode options, profiles, and comment information related to the video are in the lower half area of the interface. Fig. 4(b) shows the video frame displayed in full screen, and in this interface, the video frame occupies the whole interface. Thus, according to the difference of the video picture playing modes in the current interface, the area where the video picture is located is usually different. In this embodiment, the playing mode of the video frame in the current interface may be determined, and the size parameter corresponding to the playing mode may be obtained. The size parameter may be, for example, coordinate values of four vertices of the video picture, or a combination of the coordinate value of the vertex at the upper left corner of the video picture and the length and width dimensions of the video picture. Thus, the area defined by the size parameter can be used as the area for displaying the video picture. Other areas in the current interface, if any, may be treated as non-video picture areas.
In one embodiment, the adjustment process of the brightness and the color temperature of the video frame can be processed by a GPU of the terminal device. Specifically, the same operation may be performed on each pixel point in the video picture, and the operation process may include multiple steps as shown in fig. 5.
S51: and converting the pixel points in the video picture from a first color space to a second color space.
In the present embodiment, the data of the video picture is typically data of RGB (Red, Green, Blue, Red, Green, Blue) color space, and the data of the color space is usually a color space that can be displayed to the user for viewing due to rich colors. To facilitate processing of the video data, the pixels in the video picture may be converted from the RGB color space to the YUV/YCbCr/YPbPr color space. The luminance signal in a video frame is often referred to as Y, and the chrominance signal can be composed of two independent signals, which are often referred to as U and V or Pb and Pr or Cb and Cr. Because the YUV/YCbCr/YPbPr color space distinguishes the brightness signal and the chrominance signal, the adjustment of the brightness and the color temperature can be more facilitated. As can be seen, the first color space in step S51 may be a color space for presentation to a user. For example, the first color space may be an RGB color space. And the second color space may be a color space that is convenient for operation. For example, the second color space may be a YUV/YCbCr/YPbPr color space.
In this embodiment, when the pixel point is converted from the first color space to the second color space, the three color components of the pixel point in the first color space may be weighted and summed three times according to the conversion formula, so as to obtain the three color components of the second color space. For example, taking RGB color space and YUV color space as an example, the conversion of color components can be performed according to the following formula:
Figure BDA0001585683580000051
y, U, V respectively represents three color components of the pixel point in the YUV color space, and R, G, B respectively represents three color components of the pixel point in the RGB color space.
S53: and carrying out gray processing on the video picture in the second color space to obtain a gray image, and carrying out brightness adjustment on the gray image according to the video brightness parameter.
In this embodiment, after obtaining the data of the video picture in the second color space, the video picture may be subjected to gray scale processing, so that the luminance information in the video picture may be retained to obtain a corresponding gray scale image. Therefore, aiming at the gray level image with the reserved brightness information, the brightness of the gray level image can be adjusted according to the video brightness parameter.
In this embodiment mode, gradation processing can be performed in various ways. For example, the plurality of color components may be converted into the gray scale value by performing gray scale processing by linear transformation, logarithmic transformation, gamma transformation, or the like for each color component in the second color space.
S55: and carrying out color restoration on the gray level image subjected to brightness adjustment, and carrying out color temperature adjustment on the video picture subjected to color restoration according to the video color temperature parameter.
In this embodiment, after the brightness of the grayscale image is adjusted, the grayscale image after the brightness adjustment may be color-restored in order to adjust the color temperature of the video screen. Specifically, in color restoration, the luminance-adjusted grayscale image may be processed using an inverse transformation formula corresponding to the formula in grayscale processing, so that a color video picture may be restored. Therefore, the color temperature of the video picture after color restoration can be continuously adjusted according to the video color temperature parameter. When the color temperature is adjusted, each pixel point in the restored video picture can be adjusted according to the color temperature value represented by the video color temperature parameter.
S57: and converting the pixel points in the video picture after the color temperature adjustment from the second color space to the first color space so as to display the video picture of the first color space for a user.
In this embodiment, after the brightness and the color temperature of the video picture are adjusted, in order to facilitate displaying the adjusted video picture to the user, the pixel points in the adjusted video picture need to be converted from the second color space back to the first color space, so that the video picture in the first color space suitable for the user to watch can be displayed to the user. Specifically, in performing the color space conversion, the inverse transformation formula in the color space conversion in step S51 may be employed. Taking RGB color space and YUV color space as an example, the conversion of color components can be performed according to the following formula:
Figure BDA0001585683580000061
y, U, V respectively represents three color components of the pixel point in the YUV color space, and R, G, B respectively represents three color components of the pixel point in the RGB color space.
In this embodiment, when the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter, the brightness and the color temperature of the region other than the region of the video picture in the current interface may be kept unchanged. In this way, areas of the non-video picture may on the one hand serve as a part of the ambient light and on the other hand may enable the user to see detailed information such as options, profiles of the episode and user comments.
In one embodiment, the video frame includes a large number of pixels, and when the same operation is performed on each pixel, a parallel processing mode may be used to improve the operation efficiency. Specifically, when adjusting the brightness and the color temperature of a plurality of pixel points in the video picture, the adjusting process of the plurality of pixel points may be allocated to at least two threads for processing.
Step S5: and calling a designated interface of the terminal equipment according to the screen brightness parameters, and adjusting the screen brightness of the terminal equipment through the designated interface.
In this embodiment, after the brightness of the video picture and the color temperature of the video picture are adjusted, if the interface setting parameters further include a screen brightness parameter, the client may call a designated interface of the terminal device, and adjust the screen brightness of the terminal device through the designated interface. The specified interface may be an interface for acquiring and/or setting a screen brightness value, which is specified in advance in an operating system of the terminal device.
In the present embodiment, when adjusting the screen brightness of the terminal device, both the area of the video screen and the area of the non-video screen in the current interface are adjusted. Of course, the increase and decrease of the brightness value of the video picture area are performed on the basis of the previous video brightness adjustment, and the brightness value of the non-video picture area is not kept synchronous.
The present application also provides a computer storage medium having a computer program stored thereon which, when executed, performs the steps of:
s1: receiving interface setting parameters, wherein the interface setting parameters comprise at least one of video brightness parameters, video color temperature parameters and screen brightness parameters;
s3: aiming at the video brightness parameter and the video color temperature parameter, when a video picture is rendered, the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter;
s5: and calling a designated interface of the terminal equipment according to the screen brightness parameters, and adjusting the screen brightness of the terminal equipment through the designated interface.
In one embodiment, the computer program, when executed, further performs the steps of:
receiving an interface adjusting instruction issued by a user, responding to the interface adjusting instruction, and respectively displaying adjusting controls of a video brightness parameter, a video color temperature parameter and a screen brightness parameter in a current interface; the adjusting control is used for adjusting corresponding parameters under the operation of the user;
and receiving the parameters pointed by the adjusting control, and taking the parameters pointed by the adjusting control as the interface setting parameters.
In one embodiment, the computer program, when executed, further performs the steps of:
receiving light parameters sent by a light sensor, wherein the light parameters are used for representing light of the current environment where the terminal equipment is located;
determining a target setting parameter template corresponding to the light parameters, wherein the target setting parameter template comprises at least one of preset video brightness standard parameters, video color temperature standard parameters and screen brightness standard parameters;
and taking the standard parameters contained in the target setting parameter template as the interface setting parameters.
In one embodiment, the computer program, when executed, further performs the steps of:
judging the playing mode of a video picture in a current interface, and acquiring a size parameter corresponding to the playing mode;
and taking the area defined by the size parameter as the area for showing the video picture.
In one embodiment, the computer program, when executed, further performs the steps of:
converting pixel points in the video picture from a first color space to a second color space;
carrying out gray processing on the video picture in the second color space to obtain a gray image, and carrying out brightness adjustment on the gray image according to the video brightness parameter;
carrying out color restoration on the gray level image subjected to brightness adjustment, and carrying out color temperature adjustment on the video picture subjected to color restoration according to the video color temperature parameter;
and converting the pixel points in the video picture after the color temperature adjustment from the second color space to the first color space so as to display the video picture of the first color space for a user.
In the present application, the computer storage medium may include a physical device for storing information, and generally, the information is digitized and then stored in a medium using an electric, magnetic, or optical method. The computer storage medium according to this embodiment may further include: devices that store information using electrical energy, such as RAM, ROM, etc.; devices that store information using magnetic energy, such as hard disks, floppy disks, tapes, core memories, bubble memories, usb disks; devices for storing information optically, such as CDs or DVDs. Of course, there are other ways of memory, such as quantum memory, graphene memory, and so forth.
The application also provides a terminal device, wherein the computer storage medium is arranged in the terminal device.
The specific functions implemented by the computer storage medium and the terminal device provided in the embodiments of this specification may be explained with reference to the foregoing embodiments in this specification, and may achieve the technical effects of the foregoing embodiments, which are not described herein again.
Therefore, according to the technical scheme provided by the application, the client can provide the adjustment modes of the video brightness parameter and the video color temperature parameter besides the adjustment mode of the screen brightness parameter for the user. The video brightness parameter and the video color temperature parameter can be respectively adjusted according to the brightness and the color temperature of a video picture currently played in the terminal equipment, and the adjustment can be omitted for a region without the video picture. Therefore, when the user watches videos, the brightness and the color temperature which are matched with the ambient light can be adopted for processing the video pictures focused by the eyes for a long time, and therefore the glasses of the user cannot be tired. For non-video areas where the eyes are not focused, the display can be normal, on the one hand, it can serve as a part of the ambient light, and on the other hand, it can make the user see detailed information such as options, profiles, and user comments of the episode. For the screen brightness parameter, the overall brightness of the display screen of the terminal device can be adjusted in a conventional manner. As can be seen from the above, the video brightness parameter and the video color temperature parameter are adjusted by the client playing the video picture when rendering the video picture, and the screen brightness parameter is adjusted by the client playing the video picture by calling the interface of the terminal device. According to the technical scheme, more interface adjusting modes can be provided for a user, and respective adjusting processes can be carried out on the video picture area and the non-video picture area, so that different adjusting can be carried out on the interface according to different application scenes.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardbyscript Description Language (vhr Description Language), and the like, which are currently used by Hardware compiler-software (Hardware Description Language-software). It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
Those skilled in the art will also appreciate that, in addition to implementing the client as pure computer readable program code, the same functionality can be implemented entirely by logically programming method steps such that the client is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a client may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as an arrangement within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for embodiments of the computer storage medium and the terminal device, reference may be made to the introduction of embodiments of the method described above for comparison.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Although the present application has been described in terms of embodiments, those of ordinary skill in the art will recognize that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.

Claims (13)

1. A method of interface conditioning, the method comprising:
receiving interface setting parameters, wherein the interface setting parameters comprise at least one of video brightness parameters, video color temperature parameters and screen brightness parameters;
aiming at the video brightness parameter and the video color temperature parameter, when a video picture is rendered, the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter; when the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter, keeping the brightness and the color temperature unchanged in the area except the area of the video picture in the current interface;
calling a designated interface of the terminal equipment according to the screen brightness parameter, and adjusting the screen brightness of the terminal equipment through the designated interface; when the screen brightness of the terminal equipment is adjusted, the area of a video picture and the area of a non-video picture in the current interface are adjusted, and the brightness of the area of the video picture is not synchronous with the brightness of the area of the non-video picture.
2. The method of claim 1, wherein receiving interface setting parameters comprises:
receiving an interface adjusting instruction issued by a user, responding to the interface adjusting instruction, and respectively displaying adjusting controls of a video brightness parameter, a video color temperature parameter and a screen brightness parameter in a current interface; the adjusting control is used for adjusting corresponding parameters under the operation of the user;
and receiving the parameters pointed by the adjusting control, and taking the parameters pointed by the adjusting control as the interface setting parameters.
3. The method of claim 1, wherein receiving interface setting parameters comprises:
receiving light parameters sent by a light sensor, wherein the light parameters are used for representing light of the current environment where the terminal equipment is located;
determining a target setting parameter template corresponding to the light parameters, wherein the target setting parameter template comprises at least one of preset video brightness standard parameters, video color temperature standard parameters and screen brightness standard parameters;
and taking the standard parameters contained in the target setting parameter template as the interface setting parameters.
4. The method of claim 3, wherein determining the target setting parameter template corresponding to the light parameter comprises:
and determining a parameter interval where the light parameters are located, and taking a setting parameter template associated with the parameter interval as the target setting parameter template.
5. The method of claim 1, wherein the region of the video frame is identified from the current interface by:
judging the playing mode of a video picture in a current interface, and acquiring a size parameter corresponding to the playing mode;
and taking the area defined by the size parameter as the area for showing the video picture.
6. The method of claim 1, wherein adjusting the brightness and color temperature of the video picture according to the video brightness parameter and the video color temperature parameter, respectively, comprises:
converting pixel points in the video picture from a first color space to a second color space;
carrying out gray processing on the video picture in the second color space to obtain a gray image, and carrying out brightness adjustment on the gray image according to the video brightness parameter;
carrying out color restoration on the gray level image subjected to brightness adjustment, and carrying out color temperature adjustment on the video picture subjected to color restoration according to the video color temperature parameter;
and converting the pixel points in the video picture after the color temperature adjustment from the second color space to the first color space so as to display the video picture of the first color space for a user.
7. The method of claim 1, wherein adjusting the brightness and color temperature of the video picture according to the video brightness parameter and the video color temperature parameter, respectively, comprises:
when the brightness and the color temperature of a plurality of pixel points in the video picture are adjusted, the adjusting processes of the pixel points are distributed to at least two threads for processing.
8. A computer storage medium having a computer program stored thereon, wherein the computer program, when executed, performs the steps of:
receiving interface setting parameters, wherein the interface setting parameters comprise at least one of video brightness parameters, video color temperature parameters and screen brightness parameters;
aiming at the video brightness parameter and the video color temperature parameter, when a video picture is rendered, the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter; when the brightness and the color temperature of the video picture are respectively adjusted according to the video brightness parameter and the video color temperature parameter, keeping the brightness and the color temperature unchanged in the area except the area of the video picture in the current interface;
calling a designated interface of the terminal equipment according to the screen brightness parameter, and adjusting the screen brightness of the terminal equipment through the designated interface; when the screen brightness of the terminal equipment is adjusted, the area of a video picture and the area of a non-video picture in the current interface are adjusted, and the brightness of the area of the video picture is not synchronous with the brightness of the area of the non-video picture.
9. The computer storage medium of claim 8, wherein the computer program, when executed, further performs the steps of:
receiving an interface adjusting instruction issued by a user, responding to the interface adjusting instruction, and respectively displaying adjusting controls of a video brightness parameter, a video color temperature parameter and a screen brightness parameter in a current interface; the adjusting control is used for adjusting corresponding parameters under the operation of the user;
and receiving the parameters pointed by the adjusting control, and taking the parameters pointed by the adjusting control as the interface setting parameters.
10. The computer storage medium of claim 8, wherein the computer program, when executed, further performs the steps of:
receiving light parameters sent by a light sensor, wherein the light parameters are used for representing light of the current environment where the terminal equipment is located;
determining a target setting parameter template corresponding to the light parameters, wherein the target setting parameter template comprises at least one of preset video brightness standard parameters, video color temperature standard parameters and screen brightness standard parameters;
and taking the standard parameters contained in the target setting parameter template as the interface setting parameters.
11. The computer storage medium of claim 8, wherein the computer program, when executed, further performs the steps of:
judging the playing mode of a video picture in a current interface, and acquiring a size parameter corresponding to the playing mode;
and taking the area defined by the size parameter as the area for showing the video picture.
12. The computer storage medium of claim 8, wherein the computer program, when executed, further performs the steps of:
converting pixel points in the video picture from a first color space to a second color space;
carrying out gray processing on the video picture in the second color space to obtain a gray image, and carrying out brightness adjustment on the gray image according to the video brightness parameter;
carrying out color restoration on the gray level image subjected to brightness adjustment, and carrying out color temperature adjustment on the video picture subjected to color restoration according to the video color temperature parameter;
and converting the pixel points in the video picture after the color temperature adjustment from the second color space to the first color space so as to display the video picture of the first color space for a user.
13. A terminal device, characterized in that a computer storage medium according to any one of claims 8 to 12 is provided in the terminal device.
CN201810170527.7A 2018-03-01 2018-03-01 Interface adjusting method, computer storage medium and terminal equipment Active CN110225177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810170527.7A CN110225177B (en) 2018-03-01 2018-03-01 Interface adjusting method, computer storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810170527.7A CN110225177B (en) 2018-03-01 2018-03-01 Interface adjusting method, computer storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN110225177A CN110225177A (en) 2019-09-10
CN110225177B true CN110225177B (en) 2022-03-15

Family

ID=67821861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810170527.7A Active CN110225177B (en) 2018-03-01 2018-03-01 Interface adjusting method, computer storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN110225177B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666439B (en) * 2022-03-18 2024-04-30 北京小米移动软件有限公司 Method, device and medium for adjusting dark color mode display state

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941883A (en) * 2005-09-29 2007-04-04 上海乐金广电电子有限公司 Method for automatically adjusting image and speech by type data
CN105657569A (en) * 2015-11-25 2016-06-08 乐视网信息技术(北京)股份有限公司 Non-dazzling video application implementation method and system
CN105916056A (en) * 2016-05-04 2016-08-31 深圳Tcl数字技术有限公司 Backlight adaptive regulation method and device
CN106231079A (en) * 2016-07-21 2016-12-14 乐视控股(北京)有限公司 A kind of video playback automatic brightness adjustment method and mobile terminal

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100459902B1 (en) * 2002-07-04 2004-12-03 삼성전자주식회사 A method and system for color temperature conversion of compressed video image
KR20050105401A (en) * 2004-05-01 2005-11-04 삼성전자주식회사 Display apparatus
KR20080067516A (en) * 2007-01-16 2008-07-21 삼성전자주식회사 Display apparatus and video adjusting method thereof
KR101487548B1 (en) * 2007-05-18 2015-01-29 소니 주식회사 Display device, control method and recording medium for computer program for display device
CN104035616B (en) * 2014-06-09 2015-07-29 黑龙江八一农垦大学 A kind of multi-point touch touch-screen using diode display
CN105245865A (en) * 2015-10-09 2016-01-13 深圳Tcl数字技术有限公司 Color temperature adjusting method and device
CN105554553B (en) * 2015-12-15 2019-02-15 腾讯科技(深圳)有限公司 The method and device of video is played by suspension windows
CN106297732A (en) * 2016-09-28 2017-01-04 深圳Tcl数字技术有限公司 Display backlight brightness adjusting method and device
CN106534494B (en) * 2016-10-23 2019-12-10 惠州Tcl移动通信有限公司 mobile terminal backlight adjusting method and system
CN106572316A (en) * 2016-11-10 2017-04-19 乐视控股(北京)有限公司 Video playing control method and device
CN106531123A (en) * 2016-11-16 2017-03-22 武汉华星光电技术有限公司 Screen brightness adjustment method and screen brightness adjustment device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941883A (en) * 2005-09-29 2007-04-04 上海乐金广电电子有限公司 Method for automatically adjusting image and speech by type data
CN105657569A (en) * 2015-11-25 2016-06-08 乐视网信息技术(北京)股份有限公司 Non-dazzling video application implementation method and system
CN105916056A (en) * 2016-05-04 2016-08-31 深圳Tcl数字技术有限公司 Backlight adaptive regulation method and device
CN106231079A (en) * 2016-07-21 2016-12-14 乐视控股(北京)有限公司 A kind of video playback automatic brightness adjustment method and mobile terminal

Also Published As

Publication number Publication date
CN110225177A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN109783178B (en) Color adjusting method, device, equipment and medium for interface component
CN111225150B (en) Method for processing interpolation frame and related product
CN106030503B (en) Adaptive video processing
US8098261B2 (en) Pillarboxing correction
US11450044B2 (en) Creating and displaying multi-layered augemented reality
US10629167B2 (en) Display apparatus and control method thereof
CN115242992B (en) Video processing method, device, electronic equipment and storage medium
KR20090061066A (en) Dynamically adjustable elements of an on-screen display
CN108737878B (en) Method and system for modifying user interface color in conjunction with video presentation
CN110633380B (en) Control method and device for picture processing interface, electronic equipment and readable medium
US11128909B2 (en) Image processing method and device therefor
US20240144976A1 (en) Video processing method, device, storage medium, and program product
Turban et al. Extrafoveal video extension for an immersive viewing experience
CN106899878A (en) A kind of adjustable video and graph compound method and system of transparency based on OMAP chips
US12096001B2 (en) Systems and methods for video decoding
US20190053607A1 (en) Electronic apparatus and method for providing makeup trial information thereof
EP3993383A1 (en) Method and device for adjusting image quality, and readable storage medium
CN114630053B (en) HDR image display method and display device
CN115641824A (en) Picture adjustment device, display device, and picture adjustment method
CN110225177B (en) Interface adjusting method, computer storage medium and terminal equipment
CN111968605A (en) Exposure adjusting method and device
CN109859328B (en) Scene switching method, device, equipment and medium
CN113453069B (en) Display device and thumbnail generation method
CN113409713A (en) Blue light eye protection intensity adjusting method, device, medium and equipment
CN113038215A (en) Image display brightness and color difference adjusting method and display equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200515

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C

Applicant before: Youku network technology (Beijing) Co., Ltd

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant