[go: up one dir, main page]

CN108804184A - A kind of display control method and terminal device - Google Patents

A kind of display control method and terminal device Download PDF

Info

Publication number
CN108804184A
CN108804184A CN201810533876.0A CN201810533876A CN108804184A CN 108804184 A CN108804184 A CN 108804184A CN 201810533876 A CN201810533876 A CN 201810533876A CN 108804184 A CN108804184 A CN 108804184A
Authority
CN
China
Prior art keywords
multimedia file
terminal device
display
type
display parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810533876.0A
Other languages
Chinese (zh)
Other versions
CN108804184B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810533876.0A priority Critical patent/CN108804184B/en
Publication of CN108804184A publication Critical patent/CN108804184A/en
Application granted granted Critical
Publication of CN108804184B publication Critical patent/CN108804184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供一种显示控制方法及终端设备,该方法包括:获取多媒体文件的类型;根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,其中,所述显示参数包括色温和/或色调。本发明提供的终端设备可以对不同类型的多媒体文件分别使用不同的色温和/或色调进行显示或播放,从而能够提高显示效果。

The present invention provides a display control method and a terminal device. The method includes: acquiring the type of a multimedia file; displaying or playing the multimedia file according to a display parameter corresponding to the type of the multimedia file, wherein the display parameter includes Color temperature and/or tint. The terminal device provided by the present invention can display or play different types of multimedia files using different color temperatures and/or hues, thereby improving the display effect.

Description

一种显示控制方法及终端设备A display control method and terminal equipment

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种显示控制方法及终端设备。The present invention relates to the field of communication technologies, in particular to a display control method and terminal equipment.

背景技术Background technique

随着终端设备智能技术的快速发展,终端设备的功能越来越丰富,现今,人们在日常生活中经常利用终端设备进行各种活动,例如:拍摄、播放视频、视频通话、游戏等,终端设备已成为人们日常生活不可或缺的重要工具。目前,终端设备在显示时通常只使用一种固定的色温色调显示模式,即采用系统默认的色温色调。With the rapid development of intelligent technology of terminal equipment, the functions of terminal equipment are becoming more and more abundant. Nowadays, people often use terminal equipment to carry out various activities in daily life, such as: shooting, playing video, video calling, games, etc. Terminal equipment It has become an indispensable and important tool in people's daily life. At present, terminal devices usually only use a fixed color temperature and hue display mode when displaying, that is, adopt the default color temperature and hue of the system.

然而,当用户利用终端设备查看不同的显示内容时,若都使用同一种色温色调进行显示,将导致显示方式较为单一,不能很好地展示出不同显示内容的差异,且易使用户产生视觉疲劳。However, when a user uses a terminal device to view different display contents, if they all use the same color temperature and hue for display, the display method will be relatively single, and the difference between different display contents cannot be well displayed, and it is easy to cause visual fatigue to the user .

可见,现有终端设备存在显示效果较差的问题。It can be seen that the existing terminal equipment has the problem of poor display effect.

发明内容Contents of the invention

本发明实施例提供一种显示控制方法及终端设备,以解决现有终端设备显示效果较差的问题。Embodiments of the present invention provide a display control method and a terminal device to solve the problem of poor display effect of existing terminal devices.

为解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种显示控制方法,应用于终端设备,所述方法包括:In a first aspect, an embodiment of the present invention provides a display control method, which is applied to a terminal device, and the method includes:

获取多媒体文件的类型,其中,所述多媒体文件的类型与所述多媒体文件的内容相关联;Acquiring the type of the multimedia file, wherein the type of the multimedia file is associated with the content of the multimedia file;

根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,其中,所述显示参数包括色温和/或色调。The multimedia file is displayed or played according to display parameters corresponding to the type of the multimedia file, wherein the display parameters include color temperature and/or hue.

第二方面,本发明实施例提供一种终端设备,包括:In a second aspect, an embodiment of the present invention provides a terminal device, including:

获取模块,用于获取多媒体文件的类型,其中,所述多媒体文件的类型与所述多媒体文件的内容相关联;An acquisition module, configured to acquire the type of the multimedia file, wherein the type of the multimedia file is associated with the content of the multimedia file;

显示模块,用于根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,其中,所述显示参数包括色温和/或色调。A display module, configured to display or play the multimedia file according to display parameters corresponding to the type of the multimedia file, wherein the display parameters include color temperature and/or hue.

第三方面,本发明实施例提供一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述显示控制方法中的步骤。In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program is executed by the processor, The steps in the above display control method are implemented.

第四方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述显示控制方法中的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the above display control method are implemented.

本发明实施例中,通过获取多媒体文件的类型,并根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,从而能够提高显示效果。In the embodiment of the present invention, by acquiring the type of the multimedia file, and displaying or playing the multimedia file according to the display parameter corresponding to the type of the multimedia file, the display effect can be improved.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例提供的一种显示控制方法的流程图;FIG. 1 is a flowchart of a display control method provided by an embodiment of the present invention;

图2是本发明实施例提供的另一种显示控制方法的流程图;FIG. 2 is a flowchart of another display control method provided by an embodiment of the present invention;

图3是本发明实施例提供的一种终端设备的结构示意图;FIG. 3 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention;

图4a是本发明实施例提供的另一种终端设备的结构示意图;Fig. 4a is a schematic structural diagram of another terminal device provided by an embodiment of the present invention;

图4b是本发明实施例提供的另一种终端设备的结构示意图;Fig. 4b is a schematic structural diagram of another terminal device provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种终端设备的结构示意图;FIG. 5 is a schematic structural diagram of another terminal device provided by an embodiment of the present invention;

图6是本发明实施例提供的另一种终端设备的结构示意图;FIG. 6 is a schematic structural diagram of another terminal device provided by an embodiment of the present invention;

图7是本发明实施例提供的一种终端设备的硬件结构示意图。Fig. 7 is a schematic diagram of a hardware structure of a terminal device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

参见图1,图1是本发明实施例提供的一种显示控制方法的流程图,应用于终端设备,如图1所示,所述方法包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a display control method provided by an embodiment of the present invention, which is applied to a terminal device. As shown in FIG. 1, the method includes the following steps:

步骤101、获取多媒体文件的类型,其中,所述多媒体文件的类型与所述多媒体文件的内容相关联。Step 101. Obtain the type of the multimedia file, where the type of the multimedia file is associated with the content of the multimedia file.

本实施例中,上述多媒体文件可以包括但不限于视频或图片,且既可以是所述终端设备本地存储的多媒体文件,也可以是所述终端设备在线浏览的多媒体文件。上述获取多媒体文件的类型可以是联网获取与所述多媒体文件的内容相关联的类型标签,得到所述多媒体文件的类型,也可以是获取所述终端设备依据所述多媒体文件的内容对所述多媒体文件进行类别划分后得到的类型,还可以是获取用户依据所述多媒体文件的内容对所述多媒体文件添加的类型标签,得到所述多媒体文件的类型。In this embodiment, the above-mentioned multimedia files may include but not limited to videos or pictures, and may be multimedia files locally stored by the terminal device, or multimedia files browsed online by the terminal device. The above-mentioned acquisition of the type of the multimedia file may be to obtain the type tag associated with the content of the multimedia file through networking to obtain the type of the multimedia file, or it may be to obtain the terminal device’s response to the multimedia file according to the content of the multimedia file. The type obtained after classifying the file may also be obtained by obtaining the type label added by the user to the multimedia file according to the content of the multimedia file to obtain the type of the multimedia file.

例如:所述多媒体文件为在线视频,可以从播放所述在线视频的视频网站中获取所述在线视频的类型标签,如爱情类、战争类、恐怖类等标签,从而得到所述在线视频的类型,更进一步地,若播放所述在线视频的视频网站上存在多个类型标签时,可以联网搜索多个视频网站上对所述在线视频的类型标签,以确定哪个类型标签的数量最多,并根据数量最多的类型标签确定所述在线视频的类型;若所述多媒体为本地视频或本地图片,如用户拍摄的视频或图片,则可以根据所述终端设备对所述本地视频或所述本地图片的类别划分,或者根据用户对所述本地视频或所述本地图片添加的类型标签,确定所述本地视频或所述本地图片的类型。For example: the multimedia file is an online video, the type tags of the online video can be obtained from the video website playing the online video, such as tags such as love, war, horror, etc., so as to obtain the type of the online video , further, if there are multiple type labels on the video website playing the online video, you can search online for the type labels of the online video on multiple video websites to determine which type label has the largest number, and according to The type tag with the largest number determines the type of the online video; if the multimedia is a local video or a local picture, such as a video or picture taken by a user, then the local video or the local picture can be recorded according to the terminal device Classification, or determining the type of the local video or the local picture according to the type tag added by the user to the local video or the local picture.

需说明的是,本实施例中,可以是在所述终端设备播放所述多媒体文件时获取所述多媒体文件的类型,也可以是在所述终端设备准备播放所述多媒体文件但未开始播放时获取所述多媒体文件的类型,例如:在播放所述多媒体文件前显示所述多媒体文件的详情介绍页面时,获取所述多媒体文件的类型。It should be noted that, in this embodiment, the type of the multimedia file may be obtained when the terminal device plays the multimedia file, or it may be when the terminal device is about to play the multimedia file but has not started playing. Obtaining the type of the multimedia file, for example: obtaining the type of the multimedia file when the detailed introduction page of the multimedia file is displayed before playing the multimedia file.

还需说明的是,在所述多媒体文件为视频的情况下,上述获取多媒体文件的类型还可以是在所述终端设备播放所述视频时,将所述视频划分为多个片段,然后获取所述终端设备当前播放的视频片段的内容的类型,例如:通过识别所述终端设备当前播放的视频片段的内容,确定当前播放的视频片段的内容的类型,或者根据用户对当前播放的视频片段的内容的评论(如弹幕),确定当前播放的视频片段的内容的类型。这样,所述终端设备可以在播放视频时,对不同类型的视频片段,分别采用不同的色温和/或色调进行播放。It should also be noted that, in the case where the multimedia file is a video, the above-mentioned type of acquiring the multimedia file may also be when the terminal device plays the video, divide the video into multiple segments, and then acquire the Describe the content type of the video clip currently played by the terminal device, for example: by identifying the content of the video clip currently played by the terminal device, determine the type of content of the currently played video clip, or according to the user's perception of the currently played video clip Content comments (such as bullet chatting) determine the content type of the currently playing video segment. In this way, when playing a video, the terminal device can play different types of video clips with different color temperatures and/or hues.

步骤102、根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,其中,所述显示参数包括色温和/或色调。Step 102: Display or play the multimedia file according to display parameters corresponding to the type of the multimedia file, where the display parameters include color temperature and/or hue.

上述显示参数包括色温和/或色调,即所述显示参数可以是色温,也可以是色调,还可以是色温和色调,其中,色温是是按“绝对黑体”来定义的,是指绝对黑体从绝对零度(-273℃)开始加温后所呈现的颜色,其单位为K,低色温光源的特征是能量分布中,红辐射相对来说要多些,通常称为“暖光”;色温提高后,能量分布中,蓝辐射的比例增加,通常称为“冷光”。色调指的是一幅画中画面色彩的总体倾向,是大的色彩效果。这种在不同颜色的物体上,笼罩着某一种色彩,使不同颜色的物体都带有同一色彩倾向,这样的色彩现象就是色调。通常色温和色调可以通过表征色域空间的参数进行调整,例如:红绿蓝(Red、Green、Blue,简称RGB)色域,色相、饱和度、明度(Hue、Saturation、Lightness,简称HSL)色域,印刷四色模式(Cyan、Magenta、Yellow、Black,简称CMYK)色域,Lab色域等。The above display parameters include color temperature and/or hue, that is, the display parameters can be color temperature, hue, or color temperature and hue, wherein the color temperature is defined by "absolute black body", which means that absolute black body changes from The color that appears after heating at absolute zero (-273°C), and its unit is K. The characteristic of a low color temperature light source is that in the energy distribution, the red radiation is relatively more, which is usually called "warm light"; the color temperature increases Finally, in the energy distribution, the proportion of blue radiation increases, often referred to as "luminescence". Hue refers to the overall tendency of the color of the picture in a painting, and it is the largest color effect. Objects of different colors are shrouded in a certain color, so that objects of different colors have the same color tendency. This color phenomenon is hue. Usually the color temperature and hue can be adjusted by parameters representing the color gamut space, for example: red, green and blue (Red, Green, Blue, referred to as RGB) color gamut, hue, saturation, lightness (Hue, Saturation, Lightness, referred to as HSL) color Gamut, printing four-color mode (Cyan, Magenta, Yellow, Black, CMYK for short) color gamut, Lab color gamut, etc.

本实施例中,在获取到所述多媒体文件的类型后,可以根据所述多媒体文件的类型,确定与所述多媒体文件的类型对应的显示参数。例如:所述终端设备可以预设类型与显示参数的对应关系,从而可以根据所述对应关系确定与所述多媒体文件的类型对应的显示参数,或者可以根据所述多媒体文件的类型,确定一个显示参数范围,如暖色温、暖色调,再从所述显示参数范围中选择一个显示参数,从而得到与所述多媒体文件的类型对应的显示参数。In this embodiment, after the type of the multimedia file is acquired, display parameters corresponding to the type of the multimedia file may be determined according to the type of the multimedia file. For example: the terminal device can preset the corresponding relationship between the type and the display parameter, so that the display parameter corresponding to the type of the multimedia file can be determined according to the corresponding relationship, or a display parameter can be determined according to the type of the multimedia file. Parameter range, such as warm color temperature, warm tone, and then select a display parameter from the display parameter range, so as to obtain the display parameter corresponding to the type of the multimedia file.

所述根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,可以是根据与所述多媒体文件的类型对应的显示参数,调整所述终端设备屏幕的显示参数,然后使用调整后的所述终端设备屏幕的显示参数显示或播放所述多媒体文件。具体地,可以是将所述终端设备屏幕的显示参数调整为与所述多媒体文件的类型对应的显示参数满足预设条件的显示参数,例如:所述终端设备屏幕的显示参数等于与所述多媒体文件的类型对应的显示参数,或者所述终端设备屏幕的显示参数与所述多媒体文件的类型对应的显示参数的差值不超过预设范围。其中,当所述多媒体文件为图片时,可以根据所述显示参数显示所述多媒体文件,当所述多媒体文件为视频时,可以根据所述显示参数播放所述多媒体文件。The displaying or playing the multimedia file according to the display parameter corresponding to the type of the multimedia file may be adjusting the display parameter of the terminal device screen according to the display parameter corresponding to the type of the multimedia file, and then using The adjusted display parameters of the terminal device screen display or play the multimedia file. Specifically, it may be to adjust the display parameters of the screen of the terminal device to a display parameter corresponding to the type of the multimedia file that satisfies a preset condition, for example: the display parameter of the screen of the terminal device is equal to that of the multimedia file. The display parameter corresponding to the type of the file, or the difference between the display parameter of the terminal device screen and the display parameter corresponding to the type of the multimedia file does not exceed a preset range. Wherein, when the multimedia file is a picture, the multimedia file can be displayed according to the display parameters, and when the multimedia file is a video, the multimedia file can be played according to the display parameters.

所述根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,也可以是根据与所述多媒体文件的类型对应的显示参数,调整所述多媒体文件的显示参数,然后显示或播放调整后的多媒体文件。具体地,可以是将所述多媒体文件的显示参数调整为与所述多媒体文件的类型对应的显示参数满足预设条件的显示参数,例如:所述多媒体文件的显示参数等于与所述多媒体文件的类型对应的显示参数,或者所述多媒体文件的显示参数与所述多媒体文件的类型对应的显示参数的差值不超过预设范围。The displaying or playing the multimedia file according to the display parameter corresponding to the type of the multimedia file may also be adjusting the display parameter of the multimedia file according to the display parameter corresponding to the type of the multimedia file, and then displaying Or play the adjusted multimedia file. Specifically, the display parameter of the multimedia file may be adjusted to a display parameter corresponding to the type of the multimedia file that satisfies a preset condition, for example: the display parameter of the multimedia file is equal to the display parameter of the multimedia file The display parameter corresponding to the type, or the difference between the display parameter of the multimedia file and the display parameter corresponding to the type of the multimedia file does not exceed a preset range.

这样,通过根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,可保证所述终端设备在显示不同类型的多媒体文件时,可以分别使用不同的色温和/或色调显示或播放所述多媒体文件,从而达到避免用户产生视觉疲劳,提高显示效果的目的。In this way, by displaying or playing the multimedia file according to the display parameters corresponding to the type of the multimedia file, it can be ensured that the terminal device can use different color temperatures and/or hues for display when displaying different types of multimedia files Or play the multimedia file, so as to avoid the visual fatigue of the user and improve the display effect.

本发明实施例中,上述终端设备可以是任何具有存储媒介的设备,例如:计算机(Computer)、手机、平板电脑(Tablet Personal Computer)、膝上型电脑(LaptopComputer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,简称MID)或可穿戴式设备(Wearable Device)等终端设备。In the embodiment of the present invention, the above-mentioned terminal device can be any device with a storage medium, such as: computer (Computer), mobile phone, tablet computer (Tablet Personal Computer), laptop computer (LaptopComputer), personal digital assistant (personal digital assistant) , referred to as PDA), mobile Internet device (Mobile Internet Device, referred to as MID) or wearable device (Wearable Device) and other terminal equipment.

本实施例中的显示控制方法,通过获取多媒体文件的类型,并根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,从而能够提高显示效果。The display control method in this embodiment can improve the display effect by acquiring the type of the multimedia file and displaying or playing the multimedia file according to the display parameters corresponding to the type of the multimedia file.

参见图2,图2是本发明实施例提供的另一种显示控制方法的流程图,应用于终端设备,本实施例在图1所示的实施例的基础上,对根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件的步骤进行了细化,从而使得如何显示或播放所述多媒体文件的实施方式变得更加清楚具体。如图2所示,所述方法包括以下步骤:Referring to FIG. 2, FIG. 2 is a flow chart of another display control method provided by an embodiment of the present invention, which is applied to a terminal device. This embodiment is based on the embodiment shown in FIG. The display parameters corresponding to the type of the multimedia file are detailed, so that the implementation of how to display or play the multimedia file becomes clearer and more specific. As shown in Figure 2, the method includes the following steps:

步骤201、获取多媒体文件的类型,其中,所述多媒体文件的类型与所述多媒体文件的内容相关联。Step 201. Obtain the type of the multimedia file, where the type of the multimedia file is associated with the content of the multimedia file.

该步骤的具体实施方式可以参见图1所示的方法实施例中步骤101的实施方式,且能达到相同的有益效果,为避免重复,这里不再赘述。For the specific implementation manner of this step, refer to the implementation manner of step 101 in the method embodiment shown in FIG. 1 , and the same beneficial effect can be achieved. To avoid repetition, details are not repeated here.

可选的,步骤202之前,所述方法还包括:Optionally, before step 202, the method further includes:

根据预设的类型与显示参数的对应关系,确定与所述多媒体文件的类型对应的显示参数。The display parameter corresponding to the type of the multimedia file is determined according to the preset correspondence between the type and the display parameter.

该实施方式中,可以根据预设的类型与显示参数的对应关系,确定与所述多媒体文件的类型对应的显示参数,即所述终端设备可以预先设置了类型与显示参数的对应关系,从而每个类型均有对应的显示参数,且不同的类型可以对应不同的显示参数,也可以对应相同的显示参数。In this embodiment, the display parameter corresponding to the type of the multimedia file can be determined according to the preset correspondence between the type and the display parameter, that is, the terminal device can preset the correspondence between the type and the display parameter, so that each Each type has corresponding display parameters, and different types may correspond to different display parameters, or may correspond to the same display parameters.

具体地,可以预先设置爱情类对应第一暖色温和/或第一暖色调,剧情类对应第二暖色温和/或第二暖色调,科幻类和战争类对应第一冷色温和/或第一冷色调,恐怖类对应第二冷色温和/或第二冷色调,喜剧类、悬疑类和歌舞类对应中间色温和/或中间色调。例如:所述终端设备可以预先设置了视频类型与色温的对应关系,如爱情类对应暖色温5000K,剧情类对应暖色温5500K,科幻类和战争类对应冷色温7000K,恐怖类对应冷色温7500K,喜剧类、悬疑类和歌舞类等对应中间色温6500K。Specifically, it can be preset that the love category corresponds to the first warm color and/or the first warm color, the drama category corresponds to the second warm color and/or the second warm color, and the science fiction and war categories correspond to the first cool color and/or the first cool color. , the horror category corresponds to the second cool color and/or the second cool tone, and the comedy, suspense and song and dance categories correspond to the middle color temperature and/or the middle tone. For example: the terminal device can pre-set the corresponding relationship between video types and color temperatures. For example, the love category corresponds to a warm color temperature of 5000K, the drama category corresponds to a warm color temperature of 5500K, the science fiction and war categories correspond to a cool color temperature of 7000K, and the horror category corresponds to a cool color temperature of 7500K. Comedy, suspense, and song and dance genres correspond to an intermediate color temperature of 6500K.

这样,在获取到所述多媒体文件的类型后,便可以根据所述对应关系,快速准确地从中查找出与所述多媒体文件的类型对应的显示参数,进而确定与所述多媒体文件的类型对应的显示参数。In this way, after the type of the multimedia file is obtained, the display parameters corresponding to the type of the multimedia file can be quickly and accurately found out according to the corresponding relationship, and then the display parameters corresponding to the type of the multimedia file can be determined. Display parameters.

当然,该实施方式,同样可以应用到图1所示的实施例中,且能达到相同有益效果。Of course, this implementation manner can also be applied to the embodiment shown in FIG. 1 , and can achieve the same beneficial effect.

步骤202、将所述终端设备屏幕的显示参数调整为与所述多媒体文件的类型对应的显示参数,并显示或播放所述多媒体文件。Step 202. Adjust the display parameters of the terminal device screen to display parameters corresponding to the type of the multimedia file, and display or play the multimedia file.

本实施例中,可以将所述终端设备屏幕的显示参数调整为与所述多媒体文件的类型对应的显示参数,例如:若与所述多媒体文件的类型对应的色温为暖色温5000K,则可以将所述终端设备屏幕的色温调整为暖色温5000K;若与所述多媒体文件的类型对应的色调为暖色调,则可以将所述终端设备屏幕的色调调整为暖色调。具体地,可以是在所述终端设备屏幕的现有显示参数的基础上,将所述终端设备屏幕上各像素点的显示参数统一增加或减少某个值,以使调整后的终端设备屏幕的显示参数为与所述多媒体文件的类型对应的显示参数。In this embodiment, the display parameters of the terminal device screen can be adjusted to display parameters corresponding to the type of the multimedia file, for example: if the color temperature corresponding to the type of the multimedia file is a warm color temperature of 5000K, then the The color temperature of the terminal device screen is adjusted to a warm color temperature of 5000K; if the color tone corresponding to the type of the multimedia file is a warm color tone, the color tone of the terminal device screen can be adjusted to a warm color tone. Specifically, on the basis of the existing display parameters of the screen of the terminal device, the display parameters of each pixel on the screen of the terminal device may be uniformly increased or decreased by a certain value, so that the adjusted screen of the terminal device The display parameter is a display parameter corresponding to the type of the multimedia file.

在调整所述终端设备屏幕的显示参数后,便可以使用调整后的所述终端设备屏幕的显示参数显示或播放所述多媒体文件,以获得较好的显示效果,例如:在观看爱情类视频时,可以将所述终端设备屏幕的色温调整为与所述爱情类对应的暖色温5000K,从而使用户在观看所述爱情类视频时获得温馨甜美的视觉感受。After adjusting the display parameters of the terminal device screen, the adjusted display parameters of the terminal device screen can be used to display or play the multimedia file to obtain a better display effect, for example: when watching a love video , the color temperature of the screen of the terminal device can be adjusted to a warm color temperature of 5000K corresponding to the love video, so that the user can obtain a warm and sweet visual experience when watching the love video.

需说明的是,本实施例中,步骤202是可替换的,例如,可以将步骤202替换为:It should be noted that, in this embodiment, step 202 is replaceable, for example, step 202 can be replaced by:

将所述多媒体文件的显示参数调整为与所述多媒体文件的类型对应的显示参数,并显示或播放调整后的多媒体文件。Adjusting the display parameters of the multimedia file to display parameters corresponding to the type of the multimedia file, and displaying or playing the adjusted multimedia file.

本实施例中,也可以将所述多媒体文件的显示参数调整为与所述多媒体文件的类型对应的显示参数,例如:若与所述多媒体文件的类型对应的色温为暖色温5000K,则可以将所述多媒体文件的色温调整为暖色温5000K;若与所述多媒体文件的类型对应的色调为暖色调,则可以将所述多媒体文件的色调调整为暖色调。具体地,可以是在所述多媒体文件的现有显示参数的基础上,将所述多媒体文件的各像素点的显示参数统一增加或减少某个值,以使调整后的多媒体文件的显示参数为与所述多媒体文件的类型对应的显示参数。In this embodiment, the display parameter of the multimedia file may also be adjusted to a display parameter corresponding to the type of the multimedia file, for example: if the color temperature corresponding to the type of the multimedia file is a warm color temperature of 5000K, then the The color temperature of the multimedia file is adjusted to a warm color temperature of 5000K; if the color tone corresponding to the type of the multimedia file is a warm color tone, the color tone of the multimedia file can be adjusted to a warm color tone. Specifically, on the basis of the existing display parameters of the multimedia file, the display parameters of each pixel of the multimedia file may be uniformly increased or decreased by a certain value, so that the adjusted display parameter of the multimedia file is Display parameters corresponding to the type of the multimedia file.

在调整所述多媒体文件的显示参数后,便可以显示或播放调整后的多媒体文件,以获得较好的显示效果,例如:在查看本地相册中的人物照片时,可以将所述人物照片的色温调整与人物类对应的冷色温7500K或冷色调,从而使用户在查看所述人物照片时获得清晰明亮的视觉感受。After adjusting the display parameters of the multimedia file, the adjusted multimedia file can be displayed or played to obtain a better display effect, for example: when viewing a photo of a person in a local album, the color temperature of the photo of the person can be Adjust the cool color temperature 7500K or cool tone corresponding to the person, so that the user can obtain a clear and bright visual experience when viewing the photo of the person.

这样,本实施例中,通过将所述终端设备屏幕的显示参数调整为与所述多媒体文件的类型对应的显示参数,或者将所述多媒体文件的显示参数调整为与所述多媒体文件的类型对应的显示参数,可以快速准确地对所述终端设备屏幕的显示参数或所述多媒体文件的显示参数进行调整,从而提高调整效率。In this way, in this embodiment, by adjusting the display parameters of the terminal device screen to display parameters corresponding to the type of the multimedia file, or adjusting the display parameters of the multimedia file to correspond to the type of the multimedia file display parameters, the display parameters of the terminal device screen or the display parameters of the multimedia files can be adjusted quickly and accurately, thereby improving the adjustment efficiency.

可选的,所述将所述终端设备屏幕的显示参数调整为与所述多媒体文件的类型对应的显示参数,包括:Optionally, the adjusting the display parameters of the terminal device screen to display parameters corresponding to the type of the multimedia file includes:

调整所述终端设备屏幕的基准RGB参数中至少一个分量的值,使所述终端设备屏幕的显示参数为与所述多媒体文件的类型对应的显示参数。Adjusting the value of at least one component in the reference RGB parameter of the terminal device screen, so that the display parameter of the terminal device screen is a display parameter corresponding to the type of the multimedia file.

该实施方式中,在对所述终端设备屏幕的显示参数进行调整时,可以是通过调整所述终端设备屏幕的基准RGB参数中至少一个分量的值,使所述终端设备屏幕的显示参数为与所述多媒体文件的类型对应的显示参数,其中,所述终端设备屏幕的基准RGB参数可以理解为在所述终端设备屏幕未显示有任何内容的情况下各像素点的RGB参数。In this embodiment, when adjusting the display parameters of the terminal device screen, the value of at least one component of the reference RGB parameter of the terminal device screen may be adjusted so that the display parameters of the terminal device screen are the same as The display parameter corresponding to the type of the multimedia file, wherein the reference RGB parameter of the terminal device screen can be understood as the RGB parameter of each pixel when no content is displayed on the terminal device screen.

所述终端设备屏幕上各像素点所呈现的颜色均可以是由各像素点的RGB值决定的,因此,所述终端设备屏幕的色温或色调均可以通过调整所述终端设备屏幕上各像素点的RGB值来确定。通常所述终端设备屏幕在未显示有任何内容时,表现出来的颜色为偏白色,若将所述终端设备屏幕的色温调整为偏暖色温,则所述终端设备屏幕显示的基准颜色将表现为偏暖黄色,若将所述终端设备屏幕的色温调整为偏冷色温,则所述终端设备屏幕显示的基准颜色将表现为偏蓝白色。The color presented by each pixel on the screen of the terminal device can be determined by the RGB value of each pixel, therefore, the color temperature or hue of the screen of the terminal device can be adjusted by adjusting the color of each pixel on the screen of the terminal device RGB value to determine. Usually, when the screen of the terminal device does not display any content, the color displayed is off-white. If the color temperature of the screen of the terminal device is adjusted to a warmer color temperature, the reference color displayed on the screen of the terminal device will appear as Warm yellow, if the color temperature of the terminal device screen is adjusted to a cooler color temperature, the reference color displayed on the terminal device screen will appear as bluish white.

上述调整所述终端设备屏幕的基准RGB参数中至少一个分量的值,可以是调整所述终端设备屏幕的基准RGB参数中红色R、绿色G和蓝色B这三个分量中至少一个分量的值,即可以是调整所述终端设备屏幕的基准R、G和B中某一个分量的值,也可以是调整所述终端设备屏幕的基准R、G和B中任意两个分量的值,还可以是调整所述终端设备屏幕的基准R、G和B这三个分量的值,来使所述终端设备屏幕的显示参数为与所述多媒体文件的类型对应的显示参数。The above adjustment of the value of at least one component in the reference RGB parameter of the terminal device screen may be adjusting the value of at least one of the three components of red R, green G and blue B in the reference RGB parameter of the terminal device screen , that is, it may be to adjust the value of a certain component of the reference R, G, and B of the screen of the terminal device, or to adjust the value of any two components of the reference R, G, and B of the screen of the terminal device, or It is to adjust the values of the three reference components R, G and B of the screen of the terminal device, so that the display parameters of the screen of the terminal device are the display parameters corresponding to the type of the multimedia file.

可选的,所述调整所述终端设备屏幕的基准RGB参数中至少一个分量的值,使所述终端设备屏幕的显示参数为与所述多媒体文件的类型对应的显示参数,包括:Optionally, adjusting the value of at least one component of the reference RGB parameter of the terminal device screen so that the display parameter of the terminal device screen is a display parameter corresponding to the type of the multimedia file includes:

在所述显示参数包括色温的情况下,调整所述终端设备屏幕的基准RGB参数中B分量的值,使所述终端设备屏幕的色温为与所述多媒体文件的类型对应的色温;或者When the display parameters include color temperature, adjust the value of the B component in the reference RGB parameter of the terminal device screen, so that the color temperature of the terminal device screen is the color temperature corresponding to the type of the multimedia file; or

在所述显示参数包括色调的情况下,调整所述终端设备屏幕的基准RGB参数中R分量和/或G分量的值,使所述终端设备屏幕的色调为与所述多媒体文件的类型对应的色调。In the case where the display parameters include hue, adjust the values of the R component and/or the G component in the reference RGB parameter of the terminal device screen, so that the hue of the terminal device screen is corresponding to the type of the multimedia file tone.

该实施方式中,在所述显示参数包括色温的情况下,即在需要调整所述终端设备屏幕的色温的情况下,可以通过调整所述终端设备屏幕的基准RGB参数中B分量的值,来使所述终端设备屏幕的色温为与所述多媒体文件的类型对应的色温,而无需调整R分量和G分量的值。由于蓝色可以较为显著地影响色温,因而只需通过调整B分量的值,即可使所述终端设备屏幕的色温得到较为明显的变化。实际应用中,可以通过调高所述终端设备屏幕的基准RGB参数中B分量的值来提高所述终端设备屏幕的色温,即使所述终端设备屏幕的色温偏冷色温,通过调低所述终端设备屏幕的基准RGB参数中B分量的值来降低所述终端设备屏幕的色温,即使所述终端设备屏幕的色温偏暖色温。In this embodiment, when the display parameters include color temperature, that is, when the color temperature of the screen of the terminal device needs to be adjusted, the value of the B component in the reference RGB parameter of the screen of the terminal device can be adjusted. The color temperature of the screen of the terminal device is set to the color temperature corresponding to the type of the multimedia file without adjusting the values of the R component and the G component. Since blue can significantly affect the color temperature, the color temperature of the screen of the terminal device can be significantly changed only by adjusting the value of the B component. In practical applications, the color temperature of the terminal device screen can be increased by increasing the value of the B component in the reference RGB parameter of the terminal device screen, even if the color temperature of the terminal device screen is cooler, by lowering the The value of the B component in the reference RGB parameter of the device screen is used to reduce the color temperature of the terminal device screen, even if the color temperature of the terminal device screen is warmer.

具体地,可以预先设定色温与B分量的对应关系,从而可以根据所述对应关系和所述与所述多媒体文件的类型对应的色温,确定对应的B分量的值,进而确定所述终端设备屏幕的基准RGB参数中所需调整的B分量的值。Specifically, the corresponding relationship between the color temperature and the B component can be preset, so that the value of the corresponding B component can be determined according to the corresponding relationship and the color temperature corresponding to the type of the multimedia file, and then the terminal device can be determined The value of the B component to be adjusted in the base RGB parameters of the screen.

在所述显示参数包括色调的情况下,即在需要调整所述终端设备屏幕的色调的情况下,可以通过调整所述终端设备屏幕的基准RGB参数中R分量和/或G分量的值,来使所述终端设备屏幕的色调为与所述多媒体文件的类型对应的色调,而无需调整B分量的值。由于红色和绿色可以较为显著地影响色调,因而可以通过调整R分量和/或G分量的值,即可使所述终端设备屏幕的色调得到较为明显的变化。In the case where the display parameters include hue, that is, when the hue of the screen of the terminal device needs to be adjusted, the value of the R component and/or the G component in the reference RGB parameters of the screen of the terminal device can be adjusted. Make the hue of the screen of the terminal device the hue corresponding to the type of the multimedia file without adjusting the value of the B component. Since red and green can significantly affect the hue, the hue of the screen of the terminal device can be significantly changed by adjusting the value of the R component and/or the G component.

具体地,可以预先设定色调与R分量的值和/或G分量的对应关系,从而可以根据所述对应关系和所述与所述多媒体文件的类型对应的色调,确定对应的R分量和/或G分量的值,进而确定所述终端设备屏幕的基准RGB参数中所需调整的R分量和/或G分量的值。Specifically, the corresponding relationship between hue and R component value and/or G component can be preset, so that the corresponding R component and/or G component can be determined according to the corresponding relationship and the hue corresponding to the type of the multimedia file or the value of the G component, and then determine the value of the R component and/or the G component that needs to be adjusted in the reference RGB parameters of the screen of the terminal device.

这样,该实施方式中,可以通过调整所述终端设备屏幕的基准RGB参数中B分量的值,使所述终端设备屏幕的色温为与所述多媒体文件的类型对应的色温,或者通过调整所述终端设备屏幕的基准RGB参数中R分量和/或G分量的值,使所述终端设备屏幕的色调为与所述多媒体文件的类型对应的色调,从而可以较为方便快速地将所述终端设备屏幕的显示参数调整为与所述多媒体文件的类型对应的显示参数。In this way, in this embodiment, the color temperature of the terminal device screen can be made to be the color temperature corresponding to the type of the multimedia file by adjusting the value of the B component in the reference RGB parameter of the terminal device screen, or by adjusting the The value of the R component and/or the G component in the reference RGB parameter of the terminal device screen makes the hue of the terminal device screen the hue corresponding to the type of the multimedia file, so that the terminal device screen can be more conveniently and quickly The display parameters are adjusted to display parameters corresponding to the type of the multimedia file.

可选的,所述显示或播放所述多媒体文件之后,所述方法还包括:Optionally, after the displaying or playing the multimedia file, the method further includes:

若所述多媒体文件的显示时长超过预设时长,则调整所述终端设备屏幕的色温,以使所述终端设备屏幕的色温低于预设色温阈值。If the display duration of the multimedia file exceeds a preset duration, the color temperature of the screen of the terminal device is adjusted so that the color temperature of the screen of the terminal device is lower than a preset color temperature threshold.

该实施方式中,在将所述多媒体文件按照调整后的显示参数显示后,可以对所述多媒体文件的显示时间进行计时,若所述多媒体文件的显示时长超过预设时长,则可以调整所述终端设备屏幕的色温,以使所述终端设备屏幕的色温低于预设色温阈值,其中,所述预设时长可以是系统预设的时长,如20分钟、25分钟、30分钟等,所述预设色温阈值可以是系统预设的色温阈值,如5500K、5000K等。例如:当所述终端设备播放视频的时长超过30分钟时,可以将所述终端设备屏幕的色温调整为5000K,以使所述终端设备屏幕的色温为偏暖色温。In this embodiment, after the multimedia file is displayed according to the adjusted display parameters, the display time of the multimedia file can be timed, and if the display duration of the multimedia file exceeds a preset duration, the display time of the multimedia file can be adjusted The color temperature of the screen of the terminal device, so that the color temperature of the screen of the terminal device is lower than the preset color temperature threshold, wherein the preset duration can be a duration preset by the system, such as 20 minutes, 25 minutes, 30 minutes, etc., the The preset color temperature threshold may be a system preset color temperature threshold, such as 5500K, 5000K and so on. For example: when the video played by the terminal device lasts longer than 30 minutes, the color temperature of the screen of the terminal device may be adjusted to 5000K, so that the color temperature of the screen of the terminal device is a warmer color temperature.

这样,可使所述终端设备在所述多媒体文件的显示时长超过一定时长时,将所述终端设备屏幕的色温调整较低的色温,以起到护眼的作用。尤其是在对于使用偏冷色温显示的多媒体文件,更易使用户在观看时产生视觉疲劳,通过该实施方式,可使所述终端设备屏幕的色温低于预设色温阈值,以保护用户的用眼安全。In this way, when the display duration of the multimedia file exceeds a certain duration, the terminal device can adjust the color temperature of the screen of the terminal device to a lower color temperature, so as to protect the eyes. Especially for multimedia files displayed with a cooler color temperature, it is easier for users to experience visual fatigue when watching them. Through this implementation mode, the color temperature of the screen of the terminal device can be lower than the preset color temperature threshold to protect the user's eyes. Safety.

当然,该实施方式,同样可以应用到图1所示的实施例中,且能达到相同有益效果。Of course, this implementation manner can also be applied to the embodiment shown in FIG. 1 , and can achieve the same beneficial effect.

可选的,所述显示或播放所述多媒体文件之后,所述方法还包括:Optionally, after the displaying or playing the multimedia file, the method further includes:

若检测到第一预设触控操作,则显示目标滑动控件,并根据对所述目标滑动控件的触控操作,调整所述终端设备屏幕的显示参数;或者If the first preset touch operation is detected, displaying the target sliding control, and adjusting the display parameters of the terminal device screen according to the touch operation on the target sliding control; or

若检测到第二预设触控操作,则将所述终端设备屏幕的显示参数恢复至系统预设的显示参数。If the second preset touch operation is detected, the display parameters of the terminal device screen are restored to the system preset display parameters.

该实施方式中,若用户对调整后的显示效果不满意,还可以通过手动的方式对所述终端设备屏幕的显示参数进行调整或者将所述终端设备屏幕的显示参数恢复至系统预设的显示参数。In this embodiment, if the user is not satisfied with the adjusted display effect, he can also manually adjust the display parameters of the terminal device screen or restore the display parameters of the terminal device screen to the system preset display. parameter.

具体地,可以是若检测到第一预设触控操作,则显示目标滑动控件,并根据对所述目标滑动控件的触控操作,调整所述终端设备屏幕的显示参数,其中,所述第一预设触控操作可以是系统预设的用于调出所述目标滑动控件的触控操作,如预设手势的滑动操作、长按操作或按压操作等。例如:若检测到从屏幕底端向上滑动的操作,则从屏幕底端弹出上拉菜单,且在弹出的上拉菜单中显示用于调整所述终端设备屏幕的显示参数的目标滑动控件,用户可以通过触控所述目标滑动控件,来调整所述终端设备屏幕的显示参数,如在所述目标滑动控件上向上滑动,以调高所述终端设备屏幕的色温,或者在所述目标滑动控件上向下滑动,以调低所述终端设备屏幕的色温。Specifically, if the first preset touch operation is detected, display the target sliding control, and adjust the display parameters of the terminal device screen according to the touch operation on the target sliding control, wherein the first A preset touch operation may be a touch operation preset by the system for calling out the target sliding control, such as a slide operation of a preset gesture, a long-press operation, or a press operation. For example: if an operation of sliding upwards from the bottom of the screen is detected, a pull-up menu will pop up from the bottom of the screen, and the target sliding control for adjusting the display parameters of the terminal device screen will be displayed in the pop-up pull-up menu. The display parameters of the terminal device screen can be adjusted by touching the target sliding control, such as sliding up on the target sliding control to increase the color temperature of the terminal device screen, or Slide up and down to lower the color temperature of the terminal device screen.

该实施方式中,若检测到第二预设触控操作,则可以将所述终端设备屏幕的显示参数恢复至系统预设的显示参数,其中,所述第二预设触控操作可以是系统预设的用于恢复所述终端设备屏幕的显示参数的操作,如预设手势的滑动操作,触控屏幕上的具备一键恢复功能的目标虚拟按键的操作等,所述系统预设的显示参数可以理解为系统默认的显示参数。In this embodiment, if the second preset touch operation is detected, the display parameters of the terminal device screen can be restored to the system preset display parameters, wherein the second preset touch operation can be a system The preset operation used to restore the display parameters of the terminal device screen, such as the sliding operation of the preset gesture, the operation of the target virtual button with the one-key recovery function on the touch screen, etc., the preset display of the system The parameters can be understood as the default display parameters of the system.

这样,该实施方式中,用户可以对所述终端设备屏幕的显示参数进行手动调整或者将所述终端设备屏幕的显示参数恢复至系统预设的显示参数,从而使得所述显示控制方法更为灵活,提升用户体验。In this way, in this embodiment, the user can manually adjust the display parameters of the terminal device screen or restore the display parameters of the terminal device screen to the system preset display parameters, so that the display control method is more flexible , to improve user experience.

当然,该实施方式,同样可以应用到图1所示的实施例中,且能达到相同有益效果。Of course, this implementation manner can also be applied to the embodiment shown in FIG. 1 , and can achieve the same beneficial effect.

本实施例中,在图1所示的实施例的基础上,对根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件的步骤进行了细化,从而使得如何显示或播放所述多媒体文件的实施方式变得更加清楚具体。另外,本实施例在图1所示的实施例的基础上还增加了多种可选的实施方式,这些可选的实施方式可以相互结合实现,也可以单独实现,且不仅能达到提高显示效果的目的,还能较为快速、准确和灵活地调整所述终端设备屏幕或所述多媒体文件的显示参数。In this embodiment, on the basis of the embodiment shown in FIG. 1, the steps of displaying or playing the multimedia file according to the display parameters corresponding to the type of the multimedia file are refined, so that how to display or play the multimedia file The implementation manner of playing the multimedia file becomes clearer and more concrete. In addition, on the basis of the embodiment shown in FIG. 1 , this embodiment adds a variety of optional implementations. These optional implementations can be implemented in combination with each other or independently, and can not only improve the display effect In addition, the display parameters of the screen of the terminal device or the multimedia file can be adjusted relatively quickly, accurately and flexibly.

参见图3,图3是本发明实施例提供的一种终端设备的结构示意图,如图3所示,终端设备300包括:Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention. As shown in FIG. 3, the terminal device 300 includes:

获取模块301,用于获取多媒体文件的类型,其中,所述多媒体文件的类型与所述多媒体文件的内容相关联;An obtaining module 301, configured to obtain a type of a multimedia file, wherein the type of the multimedia file is associated with the content of the multimedia file;

显示模块302,用于根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,其中,所述显示参数包括色温和/或色调。The display module 302 is configured to display or play the multimedia file according to display parameters corresponding to the type of the multimedia file, wherein the display parameters include color temperature and/or hue.

可选的,如图4a和图4b所示,所述显示模块302包括:Optionally, as shown in Figure 4a and Figure 4b, the display module 302 includes:

第一调整显示子模块3021,用于将所述终端设备300屏幕的显示参数调整为与所述多媒体文件的类型对应的显示参数,并显示或播放所述多媒体文件;或者The first adjustment display submodule 3021 is configured to adjust the display parameters of the screen of the terminal device 300 to display parameters corresponding to the type of the multimedia file, and display or play the multimedia file; or

第二调整显示子模块3022,用于将所述多媒体文件的显示参数调整为与所述多媒体文件的类型对应的显示参数,并显示或播放调整后的多媒体文件。The second adjustment and display submodule 3022 is configured to adjust the display parameters of the multimedia file to display parameters corresponding to the type of the multimedia file, and display or play the adjusted multimedia file.

可选的,所述第一调整显示子模块3021,具体用于调整所述终端设备300屏幕的基准RGB参数中至少一个分量的值,使所述终端设备300屏幕的显示参数为与所述多媒体文件的类型对应的显示参数。Optionally, the first adjustment display submodule 3021 is specifically configured to adjust the value of at least one component in the reference RGB parameter of the screen of the terminal device 300, so that the display parameter of the screen of the terminal device 300 is consistent with the multimedia Display parameters corresponding to the file type.

可选的,所述第一调整显示子模块3021,具体用于在所述显示参数包括色温的情况下,调整所述终端设备300屏幕的基准RGB参数中B分量的值,使所述终端设备300屏幕的色温为与所述多媒体文件的类型对应的色温;或者Optionally, the first adjustment display submodule 3021 is specifically configured to adjust the value of the B component in the reference RGB parameter of the screen of the terminal device 300 when the display parameter includes color temperature, so that the terminal device 300 The color temperature of the screen is the color temperature corresponding to the type of the multimedia file; or

所述第一调整显示子模块3021,具体用于在所述显示参数包括色调的情况下,调整所述终端设备300屏幕的基准RGB参数中R分量和/或G分量的值,使所述终端设备300屏幕的色调为与所述多媒体文件的类型对应的色调。The first adjustment display submodule 3021 is specifically configured to adjust the value of the R component and/or the G component in the reference RGB parameters of the screen of the terminal device 300 when the display parameter includes hue, so that the terminal The color tone of the screen of the device 300 is the color tone corresponding to the type of the multimedia file.

可选的,如图5所示,所述终端设备300还包括:Optionally, as shown in FIG. 5, the terminal device 300 further includes:

确定模块303,用于根据预设的类型与显示参数的对应关系,确定与所述多媒体文件的类型对应的显示参数。The determining module 303 is configured to determine a display parameter corresponding to the type of the multimedia file according to a preset correspondence between the type and the display parameter.

可选的,如图6所示,所述终端设备300还包括:Optionally, as shown in FIG. 6, the terminal device 300 further includes:

调整模块304,用于若所述多媒体文件的显示时长超过预设时长,则调整所述终端设备300屏幕的色温,以使所述终端设备300屏幕的色温低于预设色温阈值。The adjustment module 304 is configured to adjust the color temperature of the screen of the terminal device 300 if the display duration of the multimedia file exceeds a preset duration, so that the color temperature of the screen of the terminal device 300 is lower than a preset color temperature threshold.

终端设备300能够实现图1至图2的方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。本发明实施例的终端设备300可以通过获取多媒体文件的类型,并根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,从而能够提高显示效果。The terminal device 300 can implement various processes implemented by the terminal device in the method embodiments in FIG. 1 to FIG. 2 , and details are not repeated here to avoid repetition. The terminal device 300 in the embodiment of the present invention can acquire the type of the multimedia file, and display or play the multimedia file according to the display parameter corresponding to the type of the multimedia file, so as to improve the display effect.

图7为实现本发明各个实施例的一种终端设备的硬件结构示意图,该终端设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Fig. 7 is a schematic diagram of the hardware structure of a terminal device implementing various embodiments of the present invention, the terminal device 700 includes but not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, and a display unit 706 , a user input unit 707 , an interface unit 708 , a memory 709 , a processor 710 , and a power supply 711 and other components. Those skilled in the art can understand that the terminal device structure shown in FIG. 7 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.

其中,处理器710,用于获取多媒体文件的类型,其中,所述多媒体文件的类型与所述多媒体文件的内容相关联;Wherein, the processor 710 is configured to acquire the type of the multimedia file, wherein the type of the multimedia file is associated with the content of the multimedia file;

根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,其中,所述显示参数包括色温和/或色调。The multimedia file is displayed or played according to display parameters corresponding to the type of the multimedia file, wherein the display parameters include color temperature and/or hue.

可选的,处理器710还用于:将所述终端设备屏幕的显示参数调整为与所述多媒体文件的类型对应的显示参数,并显示或播放所述多媒体文件;或者Optionally, the processor 710 is further configured to: adjust the display parameters of the terminal device screen to display parameters corresponding to the type of the multimedia file, and display or play the multimedia file; or

将所述多媒体文件的显示参数调整为与所述多媒体文件的类型对应的显示参数,并显示或播放调整后的多媒体文件。Adjusting the display parameters of the multimedia file to display parameters corresponding to the type of the multimedia file, and displaying or playing the adjusted multimedia file.

可选的,处理器710还用于:调整所述终端设备屏幕的基准RGB参数中至少一个分量的值,使所述终端设备屏幕的显示参数为与所述多媒体文件的类型对应的显示参数。Optionally, the processor 710 is further configured to: adjust the value of at least one component of the reference RGB parameter of the terminal device screen, so that the display parameter of the terminal device screen is a display parameter corresponding to the type of the multimedia file.

可选的,处理器710还用于:在所述显示参数包括色温的情况下,调整所述终端设备屏幕的基准RGB参数中B分量的值,使所述终端设备屏幕的色温为与所述多媒体文件的类型对应的色温;或者Optionally, the processor 710 is further configured to: when the display parameters include color temperature, adjust the value of the B component in the reference RGB parameter of the terminal device screen, so that the color temperature of the terminal device screen is the same as the the color temperature corresponding to the type of multimedia file; or

在所述显示参数包括色调的情况下,调整所述终端设备屏幕的基准RGB参数中R分量和/或G分量的值,使所述终端设备屏幕的色调为与所述多媒体文件的类型对应的色调。In the case where the display parameters include hue, adjust the values of the R component and/or the G component in the reference RGB parameter of the terminal device screen, so that the hue of the terminal device screen is corresponding to the type of the multimedia file tone.

可选的,处理器710还用于:根据预设的类型与显示参数的对应关系,确定与所述多媒体文件的类型对应的显示参数。Optionally, the processor 710 is further configured to: determine the display parameter corresponding to the type of the multimedia file according to the preset correspondence between the type and the display parameter.

可选的,处理器710还用于:若所述多媒体文件的显示时长超过预设时长,则调整所述终端设备屏幕的色温,以使所述终端设备屏幕的色温低于预设色温阈值。Optionally, the processor 710 is further configured to: if the display duration of the multimedia file exceeds a preset duration, adjust the color temperature of the screen of the terminal device, so that the color temperature of the screen of the terminal device is lower than a preset color temperature threshold.

终端设备700能够实现前述实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。本发明实施例的终端设备700可以通过获取多媒体文件的类型,并根据与所述多媒体文件的类型对应的显示参数,显示或播放所述多媒体文件,从而能够提高显示效果。The terminal device 700 can implement various processes implemented by the terminal device in the foregoing embodiments, and to avoid repetition, details are not repeated here. The terminal device 700 in the embodiment of the present invention can acquire the type of the multimedia file, and display or play the multimedia file according to the display parameter corresponding to the type of the multimedia file, so as to improve the display effect.

应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 can be used to receive and send signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 710; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.

终端设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 702, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与终端设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the terminal device 700 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.

输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,简称GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processor (Graphics Processing Unit, referred to as GPU) 7041 and a microphone 7042, and the graphics processor 7041 controls still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Image data is processed. The processed image frames may be displayed on the display unit 706 . The image frames processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702 . The microphone 7042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 701 for output in the case of a phone call mode.

终端设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在终端设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 7061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of terminal equipment (such as horizontal and vertical screen switching, related games) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,简称LCD)、有机发光二极管(Organic Light-Emitting Diode,简称OLED)等形式来配置显示面板7061。The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD for short), an Organic Light-Emitting Diode (OLED for short), or the like.

用户输入单元707可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 707 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072 . The touch panel 7071, also referred to as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 7071 or near the touch panel 7071). operate). The touch panel 7071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 710, receive the command sent by the processor 710 and execute it. In addition, the touch panel 7071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 7071 , the user input unit 707 may also include other input devices 7072 . Specifically, other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现终端设备的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 7071 can be covered on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it will be sent to the processor 710 to determine the type of the touch event. The type of event provides a corresponding visual output on the display panel 7061. Although in FIG. 7, the touch panel 7071 and the display panel 7061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.

接口单元708为外部装置与终端设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备700内的一个或多个元件或者可以用于在终端设备700和外部装置之间传输数据。The interface unit 708 is an interface for connecting an external device to the terminal device 700 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 708 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 709 can be used to store software programs as well as various data. The memory 709 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器710是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the terminal equipment, and uses various interfaces and lines to connect various parts of the entire terminal equipment, by running or executing software programs and/or modules stored in the memory 709, and calling data stored in the memory 709 , execute various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .

终端设备700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 700 can also include a power supply 711 (such as a battery) for supplying power to various components. Preferably, the power supply 711 can be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,终端设备700包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 700 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种终端设备,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal device, including a processor 710, a memory 709, and a computer program stored in the memory 709 and operable on the processor 710. When the computer program is executed by the processor 710 Each process of the above embodiment of the display control method can achieve the same technical effect, so in order to avoid repetition, details will not be repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned display control method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive. Those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, all of which belong to the protection of the present invention.

Claims (10)

1. a kind of display control method is applied to terminal device, which is characterized in that the method includes:
Obtain the type of multimedia file, wherein the type of the multimedia file is related to the content of the multimedia file Connection;
According to display parameters corresponding with the type of the multimedia file, the multimedia file is shown or played, wherein institute It includes colour temperature and/or tone to state display parameters.
2. according to the method described in claim 1, it is characterized in that, the basis is corresponding with the type of the multimedia file Display parameters show or play the multimedia file, including:
The display parameters of the terminal device screen are adjusted to display parameters corresponding with the type of the multimedia file, and Show or play the multimedia file;Or
The display parameters of the multimedia file are adjusted to display parameters corresponding with the type of the multimedia file, and are shown Show or play the multimedia file after adjustment.
3. according to the method described in claim 2, it is characterized in that, the display parameters by the terminal device screen adjust For display parameters corresponding with the type of the multimedia file, including:
The value for adjusting at least one component in the benchmark RGB parameters of the terminal device screen, makes the terminal device screen Display parameters are display parameters corresponding with the type of the multimedia file.
4. according to the method described in claim 3, it is characterized in that, the benchmark RGB ginsengs of the adjustment terminal device screen The value of at least one component in number, it is corresponding with the type of the multimedia file to make the display parameters of the terminal device screen Display parameters, including:
In the case where the display parameters include colour temperature, B component in the benchmark RGB parameters of the terminal device screen is adjusted Value, it is colour temperature corresponding with the type of the multimedia file to make the colour temperature of the terminal device screen;Or
In the case where the display parameters include tone, R component in the benchmark RGB parameters of the terminal device screen is adjusted And/or the value of G components, it is tone corresponding with the type of the multimedia file to make the tone of the terminal device screen.
5. according to the method described in claim 1, it is characterized in that, the basis is corresponding with the type of the multimedia file Display parameters, before showing or playing the multimedia file, the method further includes:
According to the correspondence of preset type and display parameters, display ginseng corresponding with the type of the multimedia file is determined Number.
6. according to the method described in claim 1, it is characterized in that, the display or after playing the multimedia file, institute The method of stating further includes:
If the display duration of the multimedia file is more than preset duration, the colour temperature of the terminal device screen is adjusted, so that The colour temperature of the terminal device screen is less than preset color temperature threshold value.
7. a kind of terminal device, which is characterized in that including:
Acquisition module, the type for obtaining multimedia file, wherein the type of the multimedia file and multimedia text The content of part is associated;
Display module, for according to display parameters corresponding with the type of the multimedia file, showing or playing more matchmakers Body file, wherein the display parameters include colour temperature and/or tone.
8. terminal device according to claim 7, which is characterized in that the display module includes:
The first adjustment display sub-module, for being adjusted to the display parameters of the terminal device screen and the multimedia file The corresponding display parameters of type, and show or play the multimedia file;Or
Second adjustment display sub-module, for being adjusted to the display parameters of the multimedia file and the multimedia file The corresponding display parameters of type, and show or play the multimedia file after adjustment.
9. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 6 Step in any one of them display control method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as display control method according to any one of claims 1 to 6 when the computer program is executed by processor In step.
CN201810533876.0A 2018-05-29 2018-05-29 Display control method and terminal equipment Active CN108804184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810533876.0A CN108804184B (en) 2018-05-29 2018-05-29 Display control method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810533876.0A CN108804184B (en) 2018-05-29 2018-05-29 Display control method and terminal equipment

Publications (2)

Publication Number Publication Date
CN108804184A true CN108804184A (en) 2018-11-13
CN108804184B CN108804184B (en) 2021-10-01

Family

ID=64089262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810533876.0A Active CN108804184B (en) 2018-05-29 2018-05-29 Display control method and terminal equipment

Country Status (1)

Country Link
CN (1) CN108804184B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992228A (en) * 2019-02-18 2019-07-09 维沃移动通信有限公司 A kind of interface display parameter adjustment method and terminal device
CN110545465A (en) * 2019-08-15 2019-12-06 咪咕动漫有限公司 Video playing method, terminal and storage medium
CN111954072A (en) * 2019-05-16 2020-11-17 百度在线网络技术(北京)有限公司 A kind of multimedia playback method, device, multimedia player and medium
CN112947876A (en) * 2021-01-28 2021-06-11 维沃移动通信有限公司 Display control method, display control device, electronic device, and medium
CN114554266A (en) * 2020-11-25 2022-05-27 海信视像科技股份有限公司 Display apparatus and display method

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953519A (en) * 2005-10-19 2007-04-25 明基电通股份有限公司 Video and audio output adjustment system and method
CN101534377A (en) * 2008-03-13 2009-09-16 扬智科技股份有限公司 Method and system for automatically changing caption setting according to program content
CN103200463A (en) * 2013-03-27 2013-07-10 天脉聚源(北京)传媒科技有限公司 Method and device for generating video summary
CN203912111U (en) * 2014-04-16 2014-10-29 北京酷云互动科技有限公司 Television playing system and television set
US20140347400A1 (en) * 2013-05-22 2014-11-27 Vizio Inc Electroluminescent display where each pixel can emit light of any EIA color index
US20150062350A1 (en) * 2013-08-30 2015-03-05 Lenovo (Beijing) Co., Ltd. Light parameter measurement method and device, screen adjustment method and electronic device
CN104780466A (en) * 2015-04-03 2015-07-15 天脉聚源(北京)传媒科技有限公司 Method and device for adjusting television display brightness
CN105100831A (en) * 2014-04-16 2015-11-25 北京酷云互动科技有限公司 Television set playing mode adjustment method, television playing system and television set
CN105278899A (en) * 2014-07-24 2016-01-27 联想(北京)有限公司 Display control method and device
US20160227285A1 (en) * 2013-09-16 2016-08-04 Thomson Licensing Browsing videos by searching multiple user comments and overlaying those into the content
CN105898364A (en) * 2016-05-26 2016-08-24 北京小米移动软件有限公司 Video playing processing method, device, terminal and system
CN106534962A (en) * 2016-10-11 2017-03-22 腾讯科技(北京)有限公司 Television content playing method and device
CN106572316A (en) * 2016-11-10 2017-04-19 乐视控股(北京)有限公司 Video playing control method and device
CN106658219A (en) * 2016-12-29 2017-05-10 微鲸科技有限公司 Sound setting method and system
CN107257507A (en) * 2017-07-05 2017-10-17 武汉斗鱼网络科技有限公司 Barrage display methods, device and electronic equipment
CN107295400A (en) * 2017-07-28 2017-10-24 明基电通有限公司 Video-audio playing device and its operation method
CN107734797A (en) * 2017-10-11 2018-02-23 上海展扬通信技术有限公司 The backlight lamp control method and control system of a kind of mobile terminal
CN107993604A (en) * 2017-11-28 2018-05-04 珠海格力电器股份有限公司 Display screen adjusting method and device

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953519A (en) * 2005-10-19 2007-04-25 明基电通股份有限公司 Video and audio output adjustment system and method
CN101534377A (en) * 2008-03-13 2009-09-16 扬智科技股份有限公司 Method and system for automatically changing caption setting according to program content
CN103200463A (en) * 2013-03-27 2013-07-10 天脉聚源(北京)传媒科技有限公司 Method and device for generating video summary
US20140347400A1 (en) * 2013-05-22 2014-11-27 Vizio Inc Electroluminescent display where each pixel can emit light of any EIA color index
US20150062350A1 (en) * 2013-08-30 2015-03-05 Lenovo (Beijing) Co., Ltd. Light parameter measurement method and device, screen adjustment method and electronic device
US20160227285A1 (en) * 2013-09-16 2016-08-04 Thomson Licensing Browsing videos by searching multiple user comments and overlaying those into the content
CN203912111U (en) * 2014-04-16 2014-10-29 北京酷云互动科技有限公司 Television playing system and television set
CN105100831A (en) * 2014-04-16 2015-11-25 北京酷云互动科技有限公司 Television set playing mode adjustment method, television playing system and television set
CN105278899A (en) * 2014-07-24 2016-01-27 联想(北京)有限公司 Display control method and device
CN104780466A (en) * 2015-04-03 2015-07-15 天脉聚源(北京)传媒科技有限公司 Method and device for adjusting television display brightness
CN105898364A (en) * 2016-05-26 2016-08-24 北京小米移动软件有限公司 Video playing processing method, device, terminal and system
CN106534962A (en) * 2016-10-11 2017-03-22 腾讯科技(北京)有限公司 Television content playing method and device
CN106572316A (en) * 2016-11-10 2017-04-19 乐视控股(北京)有限公司 Video playing control method and device
CN106658219A (en) * 2016-12-29 2017-05-10 微鲸科技有限公司 Sound setting method and system
CN107257507A (en) * 2017-07-05 2017-10-17 武汉斗鱼网络科技有限公司 Barrage display methods, device and electronic equipment
CN107295400A (en) * 2017-07-28 2017-10-24 明基电通有限公司 Video-audio playing device and its operation method
CN107734797A (en) * 2017-10-11 2018-02-23 上海展扬通信技术有限公司 The backlight lamp control method and control system of a kind of mobile terminal
CN107993604A (en) * 2017-11-28 2018-05-04 珠海格力电器股份有限公司 Display screen adjusting method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XU YANG ET AL.: "《Natural language processing in "Bullet Screen" application》", 《2017 INTERNATIONAL CONFERENCE ON SERVICE SYSTEMS AND SERVICE MANAGEMENT》 *
王佳琪: "《基于弹幕视频网站的弹幕文化研究》", 《万方智搜》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992228A (en) * 2019-02-18 2019-07-09 维沃移动通信有限公司 A kind of interface display parameter adjustment method and terminal device
CN111954072A (en) * 2019-05-16 2020-11-17 百度在线网络技术(北京)有限公司 A kind of multimedia playback method, device, multimedia player and medium
CN111954072B (en) * 2019-05-16 2022-04-15 百度在线网络技术(北京)有限公司 Multimedia playing method, device, multimedia player and medium
CN110545465A (en) * 2019-08-15 2019-12-06 咪咕动漫有限公司 Video playing method, terminal and storage medium
CN114554266A (en) * 2020-11-25 2022-05-27 海信视像科技股份有限公司 Display apparatus and display method
CN114554266B (en) * 2020-11-25 2024-08-06 海信视像科技股份有限公司 Display device and display method
CN112947876A (en) * 2021-01-28 2021-06-11 维沃移动通信有限公司 Display control method, display control device, electronic device, and medium
CN112947876B (en) * 2021-01-28 2022-08-26 维沃移动通信有限公司 Display control method, display control device, electronic device, and medium

Also Published As

Publication number Publication date
CN108804184B (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN108804184B (en) Display control method and terminal equipment
CN109361867B (en) Filter processing method and mobile terminal
CN107809599A (en) A kind of light compensation method and device and mobile terminal
CN107621738B (en) Control method of mobile terminal and mobile terminal
CN107580184A (en) A shooting method and mobile terminal
WO2020199878A1 (en) Display brightness adjusting method and related product
CN107958470A (en) A kind of color correcting method, mobile terminal
CN107908383A (en) A kind of screen color method of adjustment, device and mobile terminal
CN107644396B (en) Lip color adjusting method and device
CN108111754A (en) A kind of method and mobile terminal of definite image acquisition modality
WO2020182035A1 (en) Image processing method and terminal device
CN108229372B (en) Fingerprint identification method, mobile terminal and computer readable storage medium
CN108184037A (en) A kind of method for displaying image and mobile terminal
US11250046B2 (en) Image viewing method and mobile terminal
CN110366027B (en) Video management method and terminal equipment
CN107977652A (en) The extracting method and mobile terminal of a kind of screen display content
CN107845363A (en) A kind of display control method and mobile terminal
CN108093306A (en) A kind of barrage display methods and mobile terminal
CN112463275A (en) Data processing method, terminal and storage medium
CN109976629A (en) Image display method, terminal and mobile terminal
CN108600544A (en) A kind of Single-hand control method and terminal
CN107807488B (en) Camera assembly, aperture adjusting method and mobile terminal
CN108259746A (en) A kind of image color detection method and mobile terminal
CN108038889A (en) The processing method and mobile terminal of a kind of image color cast
CN107835402A (en) A kind of image processing method, device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant