CN107247508B - Data source processing method and terminal equipment - Google Patents

Data source processing method and terminal equipment Download PDF

Info

Publication number
CN107247508B
CN107247508B CN201710407313.2A CN201710407313A CN107247508B CN 107247508 B CN107247508 B CN 107247508B CN 201710407313 A CN201710407313 A CN 201710407313A CN 107247508 B CN107247508 B CN 107247508B
Authority
CN
China
Prior art keywords
data source
display
target
highest
display parameter
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
CN201710407313.2A
Other languages
Chinese (zh)
Other versions
CN107247508A (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 CN201710407313.2A priority Critical patent/CN107247508B/en
Publication of CN107247508A publication Critical patent/CN107247508A/en
Application granted granted Critical
Publication of CN107247508B publication Critical patent/CN107247508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • 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

Abstract

The invention provides a data source processing method and terminal equipment, wherein the method is applied to the terminal equipment comprising a display screen, and comprises the following steps: identifying display parameters of a data source; comparing the display parameters of the data source with the highest display parameters of the display screen; if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter lower than the highest display parameter; and adjusting the display parameters of the display screen to the target display parameters, and displaying the data source. According to the data source processing method provided by the invention, the target display parameters lower than the highest display parameters are set as the display parameters of the display screen, so that the power consumption of the display screen in displaying the data source is reduced.

Description

Data source processing method and terminal equipment
Technical Field
The present invention relates to the field of communications, and in particular, to a data source processing method and a terminal device.
Background
When the existing terminal equipment displays data sources such as pictures, videos or game applications, the terminal equipment can process the data sources according to the highest display parameters of the display screen no matter what the original display parameters of the data sources are. The terminal device displays a plurality of data to be processed when displaying the data source according to the highest display parameter of the display screen, so that the problem of high power consumption can be caused.
Disclosure of Invention
The embodiment of the invention provides a data source processing method and terminal equipment, and aims to solve the problem of high power consumption when the terminal equipment displays a data source according to the highest display parameter of a display screen.
In a first aspect, an embodiment of the present invention provides a data source processing method, which is applied to a terminal device including a display screen, where the data source processing method includes:
identifying display parameters of a data source;
comparing the display parameters of the data source with the highest display parameters of the display screen;
if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter lower than the highest display parameter;
and adjusting the display parameters of the display screen to the target display parameters, and displaying the data source. In a second aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes a display screen, and the terminal device further includes:
the identification module is used for identifying display parameters of the data source;
the comparison module is used for comparing the display parameters of the data source with the highest display parameters of the display screen;
the setting module is used for setting a target display parameter lower than the highest display parameter if the display parameter of the data source is lower than the highest display parameter;
and the adjusting module is used for adjusting the display parameters of the display screen into the target display parameters and displaying the data source.
The present invention also provides a terminal device, including: the data source processing method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the data source processing method.
Thus, in the embodiment of the present invention, the display parameters of the data source are identified; comparing the display parameters of the data source with the highest display parameters of the display screen; if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter lower than the highest display parameter; and adjusting the display parameters of the display screen to the target display parameters, and displaying the data source. Therefore, the target display parameters lower than the highest display parameters are set as the display parameters of the display screen, and the power consumption of the display screen when the data source is displayed is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a data source processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another data source processing method provided by the embodiment of the invention;
fig. 3 is a flowchart of a terminal device according to an embodiment of the present invention;
fig. 4 is a flowchart of another terminal device provided in the embodiment of the present invention;
fig. 5 is a flowchart of another terminal device according to an embodiment of the present invention;
fig. 6 is a flowchart of another terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a data source processing method provided in an embodiment of the present invention, where the data source processing method is applied to a terminal device including a display screen, as shown in fig. 1, and includes the following steps:
step 101, identifying display parameters of a data source.
In this embodiment, the data source may be a video file played by a video player, the data source may also be a picture displayed in a picture viewer, and the data source may also be a picture or a video in a game application. The display parameters include resolution, frame rate, and number of color bits.
For example, identifying the resolution of the data source, the data source may be a Full High Definition (FHD) resolution; the resolution of the data source may be a High Definition (HD) resolution. When the frame rate of the data source is identified, the frame rate of the data source may be 15 frames per second or 30 frames per second. In identifying the number of color bits of the data source, the number of color bits of the data source may be 2 bits, 4 bits, 8 bits, 24 bits, and 32 bits. It should be noted that other values may also appear in the display parameter, and this is not limited in this embodiment.
And 102, judging whether the display parameters of the data source are larger than the highest display parameters of the display screen.
In this embodiment, the highest display parameters of the display screen may include the highest resolution, the highest frame rate, and the highest color bit number. The highest display parameter of the display screen can be obtained through the related driving device interface. For example, the highest resolution of the display screen is FHD resolution, the highest frame rate of the display screen is 60 frames per second, and the highest color bit number of the display screen is 32 bits.
In this embodiment, if the display parameter of the data source is lower than the highest display parameter of the display screen, step 103 is executed. And if the display parameter of the data source is higher than or equal to the highest display parameter of the display screen, ending the process, or processing the data source according to the highest display parameter of the display screen, and storing the processed data source into the display memory. The flowchart shown in fig. 1 is exemplified by the end of the flow, but is not limited thereto.
And 103, setting target display parameters lower than the highest display parameters.
In this embodiment, the target display parameters include a target resolution, a target frame rate, and a target number of color bits. If the highest display parameter comprises the highest resolution, setting a target resolution lower than the highest resolution; if the highest display parameter comprises the highest frame rate, setting a target frame rate lower than the highest frame rate; if the highest display parameter includes a highest number of color bits, the number of color bits is set to a target number of color bits that is lower than the highest number of color bits.
For example, if the highest resolution is the full high definition resolution, the high definition resolution may be set as the target resolution; if the highest frame rate is 60 frames per second, 20 frames per second can be set as the target frame rate; if the highest color bit number is 32 bits, 24 bits may be set as the target color bit number.
And step 104, adjusting the display parameters of the display screen to the target display parameters, and displaying the data source.
In this embodiment, if the target display parameter includes a target resolution, the resolution of the display screen is adjusted to the target resolution; if the target display parameters comprise the target frame rate, adjusting the frame rate of the display screen to the target frame rate; and if the target display parameters comprise target color digits, adjusting the color digits of the display screen to the target color digits.
For example, if the target resolution is full high definition resolution, the resolution of the display screen is adjusted to high definition resolution; if the target frame rate is 20 frames per second, setting the frame rate of the display screen to be 20 frames per second; and if the target color digit is 24 digits, adjusting the color digit of the display screen to be 24 digits.
It is supplementary noted that, the resolution of the display memory of the terminal device may also be adjusted to the target resolution, the data source is cached in the display memory, and the display screen reads the data source from the display memory for display.
In this embodiment, after the display parameters of the display screen are adjusted to the target display parameters lower than the highest display parameters, when the display screen displays the data source, the driving loss of the display screen can be reduced, and the purpose of saving electric quantity is achieved.
In this embodiment of the present invention, the terminal device may be any terminal device including a display screen, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The data source processing method of the embodiment of the invention identifies the display parameters of the data source; comparing the display parameters of the data source with the highest display parameters of the display screen; if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter lower than the highest display parameter; and adjusting the display parameters of the display screen to the target display parameters, and displaying the data source. Therefore, the target display parameters lower than the highest display parameters are set as the display parameters of the display screen, and the power consumption of the display screen when the data source is displayed is reduced.
Referring to fig. 2, fig. 2 is a flowchart of another data source processing method provided by the embodiment of the present invention, and as shown in fig. 2, the method includes the following steps:
step 201, identifying display parameters of a data source.
Step 201 is the same as step 101 in the embodiment of the present invention, and is not described herein again.
Step 202, judging whether the display parameter of the data source is larger than the highest display parameter of the display screen.
In this embodiment, if the display parameter of the data source is lower than the highest display parameter of the display screen, step 203 is executed. And if the display parameter of the data source is higher than or equal to the highest display parameter of the display screen, ending the process. The flowchart shown in fig. 2 is exemplified by the end of the flow, but is not limited thereto.
And 203, setting target display parameters which are lower than the highest display parameters and have the difference value with the display parameters of the data source within a preset range.
In this embodiment, the highest display parameter includes at least one of a highest resolution, a highest frame rate, and a highest color bit number, the display parameter of the data source includes at least one of a resolution, a frame rate, and a color bit number, and the target display parameter includes at least one of a target resolution, a target frame rate, and a target color bit number. The preset range may be a default setting value of the system, or may be a setting value input by the user through the input interface.
For example, if the maximum frame rate is 60 frames per second and the resolution of the data source is 15 frames per second, 20 frames per second may be set as the target frame rate; if the maximum number of color bits is 32 bits and the number of color bits of the data source is 8 bits, 16 bits may be set as the target number of color bits.
Optionally, in this embodiment, if the display parameter of the data source is lower than the highest display parameter, the display parameter of the data source is set as the target display parameter.
In this embodiment, if the highest frame rate is 60 frames per second and the resolution of the data source is 15 frames per second, 15 frames per second may be set as the target frame rate; if the highest color bit number is 32 bits and the color bit number of the data source is 8 bits, 8 bits can be set as the target color bit number.
It should be noted that step 203 may include the following steps:
if the target display parameters comprise the target frame rate, adjusting the frame rate of the display screen to the target frame rate;
processing the data source according to the target frame rate to obtain a processed first data source;
and displaying the first data source through a display screen with the frame rate adjusted to the target frame rate.
In this embodiment, compared with performing post-processing on the data source according to the highest color bit number of the display screen, performing post-processing on the data source according to a target frame rate lower than the highest frame rate, such as color enhancement, subtitle addition, High-Dynamic Range (HDR), and the like, can reduce power consumption during post-processing of the data source, and reduce the total amount of the processed data source, thereby reducing transmission power consumption, and also can save driving loss of the display screen when the display screen displays the post-processed data source according to the target frame rate.
It is further added that step 203 may further include the following steps:
if the target display parameters comprise target color digits, adjusting the color digits of the display screen to the target color digits;
processing the data source according to the target color digit to obtain a processed second data source;
and displaying the second data source through a display screen with the color digit adjusted to the target color digit.
In this embodiment, compared with performing post-processing on the data source according to the maximum color digit of the display screen, performing post-processing such as color enhancement, caption addition, HDR and the like on the data source according to the target color digit lower than the maximum color digit can reduce the power consumption during post-processing of the data source and reduce the total amount of the processed data source, thereby reducing the transmission power consumption, and the drive loss of the display screen can be saved when the display screen displays the post-processed data source according to the target color digit.
The data source processing method of the embodiment of the invention identifies the display parameters of the data source; comparing the display parameters of the data source with the highest display parameters of the display screen; if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter which is lower than the highest display parameter and has a difference value with the display parameter of the data source within a preset range; and adjusting the display parameters of the display screen to the target display parameters, and displaying the data source. Therefore, the target display parameters lower than the highest display parameters are set as the display parameters of the display screen, and the power consumption of the display screen when the data source is displayed is reduced.
Referring to fig. 3, fig. 3 is a structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 3, the terminal device 300 includes an identification module 301, a comparison module 302, a setting module 303, and an adjustment module 304, where:
the identification module is used for identifying display parameters of the data source;
the comparison module is used for comparing the display parameters of the data source with the highest display parameters of the display screen;
the setting module is used for setting a target display parameter lower than the highest display parameter if the display parameter of the data source is lower than the highest display parameter;
and the adjusting module is used for adjusting the display parameters of the display screen into the target display parameters and displaying the data source.
Optionally, the setting module is further configured to set a target display parameter that is lower than the highest display parameter and whose difference with the display parameter of the data source is within a preset range, if the display parameter of the data source is lower than the highest display parameter; or, the display parameter setting module is further configured to set the display parameter of the data source as a target display parameter if the display parameter of the data source is lower than the highest display parameter.
Optionally, the display parameter of the data source includes at least one of a resolution, a frame rate, and a color bit number, and the target display parameter includes at least one of a target resolution, a target frame rate, and a target color bit number.
Optionally, referring to fig. 4, as shown in fig. 4, the adjusting module 304 includes:
a first adjusting submodule 3041, configured to adjust a frame rate of the display screen to the target frame rate if the target display parameter includes the target frame rate;
a first processing sub-module 3042, configured to process the data source according to the target frame rate, so as to obtain a processed first data source;
the first display sub-module 3043 is configured to display the first data source through the display screen whose frame rate is adjusted to the target frame rate.
Optionally, as shown in fig. 5, the adjusting module 304 further includes:
a second adjusting submodule 3044, configured to adjust the color digit of the display screen to the target color digit if the target display parameter includes the target color digit;
the second processing submodule 3045 is configured to process the data source according to the target color bit number, so as to obtain a processed second data source;
the second display submodule 3046 is configured to display the second data source through the display screen whose color bit number is adjusted to the target color bit number.
The terminal device 300 can implement each process implemented by the terminal device in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
The terminal device 300 of the embodiment of the present invention identifies the display parameters of the data source; comparing the display parameters of the data source with the highest display parameters of the display screen; if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter lower than the highest display parameter; and adjusting the display parameters of the display screen to the target display parameters, and displaying the data source. Therefore, the target display parameters lower than the highest display parameters are set as the display parameters of the display screen, and the power consumption of the display screen when the data source is displayed is reduced.
Referring to fig. 6, fig. 6 is a structural diagram of a terminal device provided in the implementation of the present invention, and as shown in fig. 6, the terminal device 600 includes: at least one processor 601, a memory 602, at least one and user interface 603 and a network interface 604. The various components in the terminal device 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For the sake of clarity, however, the various buses are labeled as bus system 605 in fig. 6, and the terminal device 600 further includes a display 606, and in addition, the display 606 is connected to the various components of the terminal device via the bus system 605.
The user interface 603 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 602 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 602 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 602 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a Media Player (Media Player), a Browser (Browser), and the like, and is used to implement various application services. A program implementing the method of an embodiment of the invention can be included in the application program 6022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 602, specifically, a program or an instruction stored in the application program 6022, the processor 601 is configured to:
identifying display parameters of a data source;
comparing the display parameters of the data source with the highest display parameters of the display screen;
if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter lower than the highest display parameter;
and adjusting the display parameters of the display screen to the target display parameters, and displaying the data source. The method disclosed by the above-mentioned embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 601 executes the step of setting a target display parameter lower than the highest display parameter if the display parameter of the data source is lower than the highest display parameter, including:
if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter which is lower than the highest display parameter and has a difference value with the display parameter of the data source within a preset range; or
And if the display parameter of the data source is lower than the highest display parameter, setting the display parameter of the data source as a target display parameter.
Optionally, the display parameter of the data source includes at least one of a resolution, a frame rate, and a color bit number, and the target display parameter includes at least one of a target resolution, a target frame rate, and a target color bit number.
Optionally, the processor 601 executes the step of adjusting the display parameter of the display screen to the target display parameter and displaying the data source, including:
if the target display parameters comprise the target frame rate, adjusting the frame rate of the display screen to the target frame rate;
processing the data source according to the target frame rate to obtain a processed first data source;
and displaying the first data source through a display screen with the frame rate adjusted to the target frame rate.
Optionally, the step of adjusting the display parameter of the display screen to the target display parameter and displaying the data source by the processor 601 includes:
if the target display parameters comprise target color digits, adjusting the color digits of the display screen to the target color digits;
processing the data source according to the target color digit to obtain a processed second data source;
and displaying the second data source through a display screen with the color digit adjusted to the target color digit.
The terminal device 600 can implement each process implemented by the terminal device in the foregoing embodiments, and details are not repeated here to avoid repetition.
The terminal device 600 of the embodiment of the present invention identifies the display parameters of the data source; comparing the display parameters of the data source with the highest display parameters of the display screen; if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter lower than the highest display parameter; and adjusting the display parameters of the display screen to the target display parameters, and displaying the data source. Therefore, the target display parameters lower than the highest display parameters are set as the display parameters of the display screen, and the power consumption of the display screen when the data source is displayed is reduced.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (5)

1. A data source processing method is applied to terminal equipment comprising a display screen, and is characterized by comprising the following steps:
identifying display parameters of a data source;
comparing the display parameters of the data source with the highest display parameters of the display screen;
if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter lower than the highest display parameter;
adjusting the display parameters of the display screen to the target display parameters, and displaying the data source;
the display parameters of the data source comprise at least one of resolution, frame rate and color bit number, and the target display parameters comprise at least one of target resolution, target frame rate and target color bit number;
the step of adjusting the display parameters of the display screen to the target display parameters and displaying the data source includes:
if the target display parameters comprise the target frame rate, adjusting the frame rate of the display screen to the target frame rate;
performing color enhancement, subtitle adding or high-dynamic illumination rendering processing on the data source according to the target frame rate to obtain a processed first data source;
displaying the first data source through a display screen with a frame rate adjusted to the target frame rate;
the step of adjusting the display parameters of the display screen to the target display parameters and displaying the data source comprises:
if the target display parameters comprise target color digits, adjusting the color digits of the display screen to the target color digits;
processing the data source according to the target color digit to obtain a processed second data source; the target color digit is lower than the highest color digit of the display screen and higher than the color digit of the data source;
and displaying the second data source through a display screen with the color digit adjusted to the target color digit.
2. The data source processing method according to claim 1, wherein the step of setting a target display parameter lower than the highest display parameter if the display parameter of the data source is lower than the highest display parameter comprises:
if the display parameter of the data source is lower than the highest display parameter, setting a target display parameter which is lower than the highest display parameter and has a difference value with the display parameter of the data source within a preset range; or
And if the display parameter of the data source is lower than the highest display parameter, setting the display parameter of the data source as a target display parameter.
3. The utility model provides a terminal equipment, terminal equipment includes the display screen, its characterized in that, terminal equipment still includes:
the identification module is used for identifying display parameters of the data source;
the comparison module is used for comparing the display parameters of the data source with the highest display parameters of the display screen;
the setting module is used for setting a target display parameter lower than the highest display parameter if the display parameter of the data source is lower than the highest display parameter;
the adjusting module is used for adjusting the display parameters of the display screen into the target display parameters and displaying the data source;
the display parameters of the data source comprise at least one of resolution, frame rate and color bit number, and the target display parameters comprise at least one of target resolution, target frame rate and target color bit number;
the adjustment module includes:
a first adjusting submodule, configured to adjust a frame rate of the display screen to the target frame rate if the target display parameter includes the target frame rate;
the first processing submodule is used for carrying out color enhancement, subtitle increasing or high-dynamic illumination rendering processing on the data source according to the target frame rate to obtain a processed first data source;
the first display submodule is used for displaying the first data source through a display screen with the frame rate adjusted to the target frame rate;
the adjustment module includes:
the second adjusting submodule is used for adjusting the color digit of the display screen to the target color digit if the target display parameter comprises the target color digit;
the second processing submodule is used for processing the data source according to the target color bit number to obtain a processed second data source; the target color digit is lower than the highest color digit of the display screen and higher than the color digit of the data source;
and the second display submodule is used for displaying the second data source through the display screen with the color digit adjusted to the target color digit.
4. The terminal device according to claim 3, wherein the setting module is further configured to set a target display parameter that is lower than the highest display parameter and has a difference with the display parameter of the data source within a preset range, if the display parameter of the data source is lower than the highest display parameter; or, the display parameter setting module is further configured to set the display parameter of the data source as a target display parameter if the display parameter of the data source is lower than the highest display parameter.
5. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the data source processing method according to any one of claims 1 to 2 when executing the computer program.
CN201710407313.2A 2017-06-02 2017-06-02 Data source processing method and terminal equipment Active CN107247508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710407313.2A CN107247508B (en) 2017-06-02 2017-06-02 Data source processing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710407313.2A CN107247508B (en) 2017-06-02 2017-06-02 Data source processing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN107247508A CN107247508A (en) 2017-10-13
CN107247508B true CN107247508B (en) 2020-10-30

Family

ID=60017931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710407313.2A Active CN107247508B (en) 2017-06-02 2017-06-02 Data source processing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN107247508B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989563B (en) * 2018-07-25 2021-01-15 努比亚技术有限公司 Double-sided screen display method, mobile terminal and computer readable storage medium
CN113035151A (en) * 2019-12-25 2021-06-25 施耐德电气工业公司 Method, electronic device, and computer-readable medium for displaying image
CN111506282A (en) * 2020-04-21 2020-08-07 深圳市鸿合创新信息技术有限责任公司 Display parameter adjusting method and device, connecting equipment and storage medium
CN113282263A (en) * 2021-04-15 2021-08-20 中标软件有限公司 Multi-screen display self-adaptive adjusting method
CN113411668B (en) * 2021-06-16 2023-03-21 亿咖通(湖北)技术有限公司 Video playing system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133649A (en) * 2014-07-24 2014-11-05 可牛网络技术(北京)有限公司 Picture display method, device and terminal
CN105278899A (en) * 2014-07-24 2016-01-27 联想(北京)有限公司 Display control method and device
CN106168889A (en) * 2016-06-21 2016-11-30 维沃移动通信有限公司 A kind of sheet source encoding methods and electronic equipment
CN106325800A (en) * 2016-09-12 2017-01-11 上海摩软通讯技术有限公司 Method, system and mobile terminal for controlling screen resolution
CN106528024A (en) * 2016-11-20 2017-03-22 滁州职业技术学院 Method for adjusting display screen resolution and display terminal
CN106604118A (en) * 2015-10-16 2017-04-26 惠州Tcl移动通信有限公司 Playing equipment and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7091967B2 (en) * 2003-09-01 2006-08-15 Realtek Semiconductor Corp. Apparatus and method for image frame synchronization
US20080055318A1 (en) * 2006-08-31 2008-03-06 Glen David I J Dynamic frame rate adjustment
CN102063695A (en) * 2009-11-12 2011-05-18 马维尔国际贸易有限公司 Power saving in mobile devices by optimizing frame rate output
CN103956149B (en) * 2014-04-21 2016-03-23 合肥鑫晟光电科技有限公司 display, display system and data processing method
CN105117191A (en) * 2015-09-08 2015-12-02 广东欧珀移动通信有限公司 Method and apparatus for controlling display of mobile terminal
CN105869560B (en) * 2016-04-01 2019-04-26 Oppo广东移动通信有限公司 A kind of display screen refreshes frame per second method of adjustment and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133649A (en) * 2014-07-24 2014-11-05 可牛网络技术(北京)有限公司 Picture display method, device and terminal
CN105278899A (en) * 2014-07-24 2016-01-27 联想(北京)有限公司 Display control method and device
CN106604118A (en) * 2015-10-16 2017-04-26 惠州Tcl移动通信有限公司 Playing equipment and method
CN106168889A (en) * 2016-06-21 2016-11-30 维沃移动通信有限公司 A kind of sheet source encoding methods and electronic equipment
CN106325800A (en) * 2016-09-12 2017-01-11 上海摩软通讯技术有限公司 Method, system and mobile terminal for controlling screen resolution
CN106528024A (en) * 2016-11-20 2017-03-22 滁州职业技术学院 Method for adjusting display screen resolution and display terminal

Also Published As

Publication number Publication date
CN107247508A (en) 2017-10-13

Similar Documents

Publication Publication Date Title
CN107247508B (en) Data source processing method and terminal equipment
US10110936B2 (en) Web-based live broadcast
CN110888521B (en) Mobile terminal and application program running method thereof
CN113168038B (en) Method and device for displaying image
US10609389B2 (en) Image encoding method, image decoding method, encoding device, and decoding device
CN107621982B (en) Method for adjusting performance parameters of processor and mobile terminal
JP2018500585A (en) Deterioration control of display pixels in high-definition displays
CN107533832B (en) Image processing apparatus, image processing method, and program
US20110148899A1 (en) Image Quality Configuration Apparatus, System and Method
CN111510773A (en) Resolution adjustment method, display screen, computer storage medium and equipment
WO2016120210A1 (en) A method and apparatus for inverse-tone mapping a picture
JP2017530397A (en) Display device, control method thereof, and data transmission method
CN106940722B (en) Picture display method and device
WO2019091196A1 (en) Image processing method and apparatus
US8497877B2 (en) Electronic device and method of switching display images
WO2018228062A1 (en) Application interface display method under split-screen display state and mobile terminal
JP2015197476A (en) Signal processing method, display device, and electronic apparatus
US20230162329A1 (en) High quality ui elements with frame extrapolation
CN107608589B (en) Video production method and mobile terminal
CN116781878A (en) Pixel parameter adjusting method and device, computer equipment and storage medium
US20110221775A1 (en) Method for transforming displaying images
CN109859328B (en) Scene switching method, device, equipment and medium
US9241144B2 (en) Panorama picture scrolling
US10152766B2 (en) Image processor, method, and chipset for increasing intergration and performance of image processing
CN112328351A (en) Animation display method, animation display device and terminal 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
GR01 Patent grant
GR01 Patent grant