CN109451110B - Display method and mobile terminal - Google Patents

Display method and mobile terminal Download PDF

Info

Publication number
CN109451110B
CN109451110B CN201811432825.5A CN201811432825A CN109451110B CN 109451110 B CN109451110 B CN 109451110B CN 201811432825 A CN201811432825 A CN 201811432825A CN 109451110 B CN109451110 B CN 109451110B
Authority
CN
China
Prior art keywords
color values
screen
pixels
color
groups
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
CN201811432825.5A
Other languages
Chinese (zh)
Other versions
CN109451110A (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 CN201811432825.5A priority Critical patent/CN109451110B/en
Publication of CN109451110A publication Critical patent/CN109451110A/en
Application granted granted Critical
Publication of CN109451110B publication Critical patent/CN109451110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0279Improving the user comfort or ergonomics
    • H04M1/0283Improving the user comfort or ergonomics for providing a decorative aspect, e.g. customization of casings, exchangeable faceplate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The invention discloses a display method and a mobile terminal, wherein the method comprises the following steps: acquiring N groups of color values corresponding to N pixels of the first screen; determining M groups of color values corresponding to M pixels in the second screen according to the N groups of color values; and adjusting the color values of the M pixels in the second screen to the M groups of color values. By the invention, the user can carry out personalized decoration on the mobile terminal at any time.

Description

Display method and mobile terminal
Technical Field
The embodiment of the invention relates to the field of terminals, in particular to a display method and a mobile terminal.
Background
With the advancement of technology, mobile terminals (e.g., mobile phones) have been successful as indispensable items in people's daily life. When a user purchases a mobile terminal, the appearance of the mobile terminal is often concerned by the user.
Most of mobile terminals in the market at present are single-face screen mobile phones, the backshells of the mobile terminals are in fixed colors, and users can only purchase matched shells or backshells to perform personalized decoration and distinction if the users want to pursue differentiated backshell colors, so that the mobile terminals are high in cost and troublesome to replace, and the mobile terminals cannot be personalized decorated at any time.
Therefore, there is a need for a display method and a mobile terminal, which enable a user to personally decorate the mobile terminal at any time without purchasing a matching outer case or back case.
Disclosure of Invention
The embodiment of the invention provides a display method and a mobile terminal, and aims to solve the problems that in the prior art, only matched shells or backshells can be purchased for personalized decoration and distinction, the cost is high, and the replacement is troublesome.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a display method is provided, which is applied to a mobile terminal including a first screen and a second screen, and includes:
acquiring N groups of color values corresponding to N pixels of the first screen;
determining M groups of color values corresponding to M pixels in the second screen according to the N groups of color values;
and adjusting the color values of the M pixels in the second screen to the M groups of color values.
In a second aspect, there is provided a mobile terminal including, in addition to a first screen and a second screen:
the acquisition module is used for acquiring N groups of color values corresponding to N pixels of the first screen;
the determining module is used for determining M groups of color values corresponding to M pixels in the second screen according to the N groups of color values;
and the adjusting module is used for adjusting the color values of the M pixels in the second screen into the M groups of color values.
In a third aspect, a mobile terminal is provided, comprising a processor, a memory and a computer program stored on the memory and being executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method according to the first aspect.
In the embodiment of the invention, the mobile terminal comprises a first screen and a second screen, N groups of color values corresponding to N pixels of the first screen are obtained, M groups of color values corresponding to M pixels in the second screen are determined according to the N groups of color values, and then the color values of the M pixels in the second screen are adjusted to the M groups of color values, so that the color related to the color displayed by the first screen can be displayed by the second screen, and the color displayed by the second screen is changed along with the color displayed by the first screen, so that if a user wants to pursue a differentiated shell color, the display content of the first screen can be set, and the user can perform personalized decoration on the mobile terminal at any time without purchasing a matched shell or shell, so that the cost is low and the replacement is convenient.
Drawings
FIG. 1 is a flow chart of a display method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments 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.
Fig. 1 is a schematic flow chart of a display method according to an embodiment of the present invention. The display method shown in fig. 1 is applied to a mobile terminal, wherein the mobile terminal comprises a first screen and a second screen, and the display method comprises the following steps:
step 101, acquiring N groups of color values corresponding to N pixels of a first screen.
Specifically, the N pixels may be a part of or all of the pixels included in the first screen.
Wherein, a set of color values in the N sets of color values includes: the corresponding pixel includes a plurality of color values of a plurality of sub-pixels, and illustratively, a pixel includes three sub-pixels, namely a red sub-pixel, a green sub-pixel and a blue sub-pixel, and the set of color values corresponding to the pixel includes a color value of the red sub-pixel, a color value of the green sub-pixel and a color value of the blue sub-pixel.
And 102, determining M groups of color values corresponding to M pixels in the second screen according to the N groups of color values.
Specifically, the M pixels may be a part of or all of the pixels included in the second screen.
Wherein, a set of color values in the M sets of color values includes: the corresponding pixel includes a plurality of color values of a plurality of sub-pixels, and illustratively, a pixel includes three sub-pixels, namely a red sub-pixel, a green sub-pixel and a blue sub-pixel, and the set of color values corresponding to the pixel includes a color value of the red sub-pixel, a color value of the green sub-pixel and a color value of the blue sub-pixel.
And 103, adjusting the color values of the M pixels in the second screen into M groups of color values.
Specifically, the first screen is a front screen of the mobile terminal, and the second screen is a rear screen of the mobile terminal.
In the embodiment of the invention, the mobile terminal comprises a first screen and a second screen, N groups of color values corresponding to N pixels of the first screen are obtained, M groups of color values corresponding to M pixels in the second screen are determined according to the N groups of color values, and then the color values of the M pixels in the second screen are adjusted to the M groups of color values, so that the color related to the color displayed by the first screen can be displayed by the second screen, and the color displayed by the second screen is changed along with the color displayed by the first screen, so that if a user wants to pursue a differentiated backshell color, the display content of the first screen can be set, and the user can perform personalized decoration on the mobile terminal at any time without purchasing a matched shell or backshell, therefore, the cost is low and the replacement is convenient.
In an embodiment of the present invention, the N sets of color values and the M sets of color values satisfy at least one of the following conditions:
the difference value between the N groups of color values and the M groups of color values is smaller than a first preset value;
and the difference value between the mean value of the N groups of color values and the mean value of the M groups of color values is smaller than a second preset value.
In the embodiment, the relevance of the M groups of color values and the N groups of color values is limited, and the relevance of the color displayed by the second screen and the color displayed by the first screen is ensured.
In an embodiment of the present invention, the step 101 may include:
and when the first screen displays the content which accords with the user preference, acquiring N groups of color values corresponding to N pixels of the first screen.
Wherein, the content according with the user preference can be: screen wallpaper, pictures, program interfaces, etc.
Specifically, the screen wallpaper may be a theme wallpaper or a lock screen wallpaper. Preferably, the screen wallpaper is the theme wallpaper, and the theme wallpaper is often more in line with the preference of the user, so that the color displayed by the second screen is more in line with the preference of the user.
In this embodiment, when the content displayed on the first screen is the content meeting the preference of the user, the N groups of color values corresponding to the N pixels of the first screen are obtained, so that the color values of the M pixels in the second screen better meet the preference of the user.
In an embodiment of the present invention, the step 103 may include: and when a first preset condition is reached, adjusting the color values of the M pixels in the second screen into M groups of color values.
Wherein the reaching of the first predetermined condition comprises: the first screen and the second screen are in a screen locking state; or the second screen is in a screen locking state; or the first screen is in a screen locking state.
Specifically, the reaching of the first predetermined condition is determined according to a preconfigured rule or a user requirement, and when the first screen and the second screen are both in a screen locking state, color values of M pixels in the second screen are adjusted to M groups of color values; or when the second screen is in the screen locking state, adjusting the color values of the M pixels in the second screen into M groups of color values; and when the first screen is in the screen locking state, the color values of the M pixels in the second screen are adjusted to be M groups of color values.
When first screen and second screen all are in the lock screen state, adjust the colour value of M pixel in the second screen to M group colour value, like this, when first screen and second screen all are in the lock screen state, adjust the colour value of M pixel in the second screen to M group colour value, can save the electric energy and do not influence the use of user to two display screens.
When the second screen is in the lock screen state, the color values of M pixels in the second screen are adjusted to M groups of color values, so that when the second screen is in the lock screen state, the color values of M pixels in the second screen are adjusted to M groups of color values, colors can be displayed on the second screen when a user does not use the second screen, and the attractiveness of the mobile terminal is convenient to maintain.
In an embodiment of the present invention, step 102 may include:
respectively carrying out fuzzy processing on the N groups of color values under the condition that the number of colors corresponding to the N groups of color values exceeds a preset threshold value, so as to obtain N groups of color values after fuzzy processing;
and determining M groups of color values corresponding to M pixels in the second screen according to the N groups of color values after the fuzzy processing.
Preferably, the N pixels are all pixels included in the first screen, and the N sets of color values are color values corresponding to all pixels included in the first screen.
Preferably, the blurring process is a gaussian blurring process.
In this embodiment, the color of the screen wallpaper of the multi-color first screen after the blurring processing is displayed on the second screen, so that the color displayed on the second screen can meet the preference of the user and can be hazy.
In an embodiment of the present invention, step 102 may include:
determining an average color value of the N sets of color values;
and taking the average color value as M groups of color values corresponding to M pixels in the second screen.
Specifically, the N pixels are all pixels included in the first screen, and the RGB (red, green, and blue) sub-pixels of the N pixels are respectively averaged to obtain an average color value of the N groups of color values.
Wherein, R average ═ (R1+ R2+ … RN)/N;
g average ═ (G1+ G2+ … GN)/N;
b average value ═ B1+ B2+ … BN)/N.
According to the embodiment, the average value of the wallpaper colors of the first screen is displayed on the second screen, so that the colors displayed by the second screen can accord with the preference of a user, the colors displayed by the second screen can be uniform, and the interference of other colors can be eliminated.
In one embodiment of the present invention, the N pixels include: a first region of the first screen includes a first number of first pixels and a second region of the first screen includes a second number of second pixels; step 102 may include:
calculating a first average color value of a first number of sets of first color values corresponding to a first number of first pixels;
calculating a second average color value of a second number of sets of second color values corresponding to a second number of second pixels;
determining a color value array according to the number of rows or columns of M pixels in the second screen, the first average color value of the first area and the second average color value of the second area;
determining the color value of each row or each column of pixels according to the color value array;
the display area of the first screen is composed of a first area and a second area.
Specifically, the color value array consists of a set of color values with the same number of rows or columns as that of the M pixels, and each set of color values corresponds to color values of one row or one column of pixels; for example, if the number of rows of M pixels is 100 rows, the color value array is composed of 100 color values, and the 100 color value arrays correspond to the color values of the 100 rows of pixels.
Preferably, the color values of the group having the same number of rows or columns as the M pixels are increased or decreased from the first average color value according to a predetermined rule. In this way, the color value of the starting row/column pixel of the M pixels in the second screen is the first average color value, the color value of the ending row/column pixel is the second average color value, and the color value of the multi-row/column pixel is increased or decreased from the color value of the starting row/column pixel to the color value of the ending row/column pixel according to the preset rule.
Specifically, the preset rule is that the difference values of the color values of the adjacent groups are increased or decreased progressively.
Specifically, the first area is an upper half area of the first screen, and the second area is a lower half area of the first screen.
Illustratively, the first average color value C1 of the first number group of first color values corresponding to the first number of first pixels included in the first region is (R1, G1, B1), the second average color value C2 of the second number group of second color values corresponding to the second number of second pixels included in the second region is (R2, G2, B2), C1 is used as a starting color value of the gradient, C2 is used as an ending color value of the gradient, a preset rule is that the color values of adjacent rows of pixels are increased or decreased BY equal difference values, and the color value of each row of pixels included in M pixels is determined to be (RY, GY, BY), wherein:
RY=R1+(R2-R1)*(Y-1)/H;
GY=G1+(G2-G1)*(Y-1)/H;
BY=B1+(B2-B1)*(Y-1)/H;
y represents the number of lines and H represents the height of the second screen.
Those skilled in the art can understand that, by using a similar calculation manner, the M groups of color values corresponding to the M pixels can also be determined by determining the color value of each column of pixels included in the M pixels, which is not described herein again in the embodiments of the present invention.
In this embodiment, the color displayed by the second screen presents a gradual change effect according to the color of the screen wallpaper of the first screen, so that the color displayed by the second screen can meet the preference of a user and the color displayed by the second screen has rich level aesthetic feeling.
In an embodiment of the present invention, after step 103, the method may further include:
acquiring change trend information of the ambient brightness value;
and adjusting the brightness of the second screen and/or the values of the M groups of color values according to the change trend information of the ambient brightness value.
Specifically, the brightness of the second screen and/or the values of the M groups of color values are correspondingly increased or decreased according to the change trend information of the ambient brightness value. Namely, the environment brightness value is increased, and the brightness of the second screen and/or the value of the M groups of color values are increased according to the increased information of the environment brightness value; and reducing the environment brightness value, and reducing the brightness of the second screen and/or the value of the M groups of color values according to the reduction information of the environment brightness value.
This embodiment, can be according to the change trend information of ambient brightness value, the luminance of automatically regulated second screen, be convenient for protect user's eyes and carry out rational utilization to mobile terminal's electric energy, and can be according to the change trend information of ambient brightness value, the value of the M group colour value of automatically regulated second screen, be convenient for adjust the colour that the second screen shows according to ambient brightness, avoid ambient brightness to the influence of the colour that the second screen shows, make the colour that the second screen shows more accord with user's expectation.
Fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. In addition to the first screen and the second screen, as shown in fig. 2, the mobile terminal may further include:
an obtaining module 21, configured to obtain N groups of color values corresponding to N pixels of the first screen;
a determining module 22, configured to determine, according to the N groups of color values, M groups of color values corresponding to M pixels in the second screen;
and an adjusting module 23, configured to adjust color values of M pixels in the second screen to the M groups of color values.
In an embodiment of the present invention, the N sets of color values and the M sets of color values satisfy at least one of the following conditions: the difference value between the N groups of color values and the M groups of color values is smaller than a first preset value; and the difference value between the mean value of the N groups of color values and the mean value of the M groups of color values is smaller than a second preset value.
In an embodiment of the present invention, the determining module 22 is specifically configured to:
respectively carrying out fuzzy processing on the N groups of color values under the condition that the number of colors corresponding to the N groups of color values exceeds a preset threshold value, so as to obtain N groups of color values after fuzzy processing;
and determining the M groups of color values corresponding to the M pixels in the second screen according to the N groups of color values after the blurring processing.
In an embodiment of the present invention, the determining module 22 is specifically configured to:
determining an average color value of the N sets of color values;
and taking the average color value as the M groups of color values corresponding to the M pixels in the second screen.
In an embodiment of the present invention, the N pixels include: a first number of first pixels contained in a first region of the first screen and a second number of second pixels contained in a second region of the first screen; the determining module is specifically configured to:
calculating a first average color value of a first number of sets of first color values corresponding to the first number of first pixels;
calculating a second average color value of a second number of sets of second color values corresponding to the second number of second pixels;
determining a color value array according to the number of rows or columns of M pixels in the second screen, the first average color value of the first area and the second average color value of the second area;
determining the color value of each row or each column of pixels according to the color value array;
wherein the display area of the first screen is composed of the first area and the second area.
In an embodiment of the present invention, the obtaining module is further configured to obtain variation trend information of the ambient brightness value;
the adjusting module is further configured to adjust the brightness of the second screen and/or the values of the M groups of color values according to the change trend information of the ambient brightness value.
The mobile terminal provided by the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiment of fig. 1, and is not described herein again in order to avoid repetition. The mobile terminal provided by the embodiment of the invention comprises a first screen and a second screen, wherein N groups of color values corresponding to N pixels of the first screen are obtained, M groups of color values corresponding to M pixels in the second screen are determined according to the N groups of color values, and then the color values of the M pixels in the second screen are adjusted to the M groups of color values, so that the color related to the color displayed by the first screen can be displayed by using the second screen, the color displayed by the second screen is changed along with the color displayed by the first screen, and the display content of the first screen can be set if a user wants to pursue a differentiated shell color, and the user can perform personalized decoration on the mobile terminal at any time without purchasing a matched shell or back shell, so that the cost is low and the replacement is convenient.
Fig. 3 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 300 includes but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 3 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein the display unit 306 includes a first screen and a second screen;
a processor 310 configured to:
acquiring N groups of color values corresponding to N pixels of the first screen;
determining M groups of color values corresponding to M pixels in the second screen according to the N groups of color values;
and adjusting the color values of the M pixels in the second screen to the M groups of color values.
The mobile terminal provided by the embodiment of the invention comprises a first screen and a second screen, wherein N groups of color values corresponding to N pixels of the first screen are obtained, M groups of color values corresponding to M pixels in the second screen are determined according to the N groups of color values, and then the color values of the M pixels in the second screen are adjusted to the M groups of color values, so that the color related to the color displayed by the first screen can be displayed by using the second screen, the color displayed by the second screen is changed along with the color displayed by the first screen, and the display content of the first screen can be set if a user wants to pursue a differentiated shell color, and the user can perform personalized decoration on the mobile terminal at any time without purchasing a matched shell or back shell, so that the cost is low and the replacement is convenient.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 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 301 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 302, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the mobile terminal 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The mobile terminal 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or a backlight when the mobile terminal 300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown as two separate components in fig. 3 to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 308 is an interface through which an external device is connected to the mobile terminal 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 300 or may be used to transmit data between the mobile terminal 300 and external devices.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the mobile terminal. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The mobile terminal 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 300 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program, when executed by the processor 310, implements each process of the display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further 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 computer program implements each process of the display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A display method applied to a mobile terminal comprising a first screen and a second screen, the method comprising:
acquiring N groups of color values corresponding to N pixels of the first screen;
determining M groups of color values corresponding to M pixels in the second screen according to the N groups of color values;
adjusting color values of M pixels in the second screen to the M sets of color values;
wherein the N pixels include: a first number of first pixels contained in a first region of the first screen and a second number of second pixels contained in a second region of the first screen;
determining M sets of color values corresponding to M pixels in the second screen according to the N sets of color values includes:
calculating a first average color value of a first number of sets of first color values corresponding to the first number of first pixels;
calculating a second average color value of a second number of sets of second color values corresponding to the second number of second pixels;
determining a color value array according to the number of rows or columns of M pixels in the second screen, the first average color value of the first area and the second average color value of the second area;
determining the color value of each row or each column of pixels according to the color value array;
wherein a display area of the first screen is composed of the first area and the second area;
determining a color value of each row or each column of pixels according to the color value array comprises:
the color value array consists of a set of color values with the same number of rows or columns of the M pixels, and each set of color values corresponds to the color values of one row or one column of pixels;
and the color values of the group with the same number of rows or columns as the M pixels are increased or decreased from the first average color value to the second average color value according to a preset rule, wherein the preset rule is that the difference values of the adjacent groups of color values are increased or decreased.
2. The method of claim 1, wherein the N set of color values and the M set of color values satisfy at least one of the following conditions:
the difference value between the N groups of color values and the M groups of color values is smaller than a first preset value;
and the difference value between the mean value of the N groups of color values and the mean value of the M groups of color values is smaller than a second preset value.
3. The method of claim 1, wherein said determining M sets of color values for M pixels in the second screen from the N sets of color values comprises:
respectively carrying out fuzzy processing on the N groups of color values under the condition that the number of colors corresponding to the N groups of color values exceeds a preset threshold value, so as to obtain N groups of color values after fuzzy processing;
and determining the M groups of color values corresponding to the M pixels in the second screen according to the N groups of color values after the blurring processing.
4. The method of claim 1, wherein said determining M sets of color values for M pixels in the second screen from the N sets of color values comprises:
determining an average color value of the N sets of color values;
and taking the average color value as the M groups of color values corresponding to the M pixels in the second screen.
5. The method of claim 1, wherein after adjusting the color values of the M pixels in the second screen to the M sets of color values, further comprising:
acquiring change trend information of the ambient brightness value;
and adjusting the brightness of the second screen and/or the values of the M groups of color values according to the change trend information of the environment brightness value.
6. A mobile terminal, includes first screen and second screen, its characterized in that still includes:
the acquisition module is used for acquiring N groups of color values corresponding to N pixels of the first screen;
the determining module is used for determining M groups of color values corresponding to M pixels in the second screen according to the N groups of color values;
the adjusting module is used for adjusting the color values of the M pixels in the second screen into the M groups of color values;
wherein the N pixels include: a first number of first pixels contained in a first region of the first screen and a second number of second pixels contained in a second region of the first screen; the determining module is specifically configured to:
calculating a first average color value of a first number of sets of first color values corresponding to the first number of first pixels;
calculating a second average color value of a second number of sets of second color values corresponding to the second number of second pixels;
determining a color value array according to the number of rows or columns of M pixels in the second screen, the first average color value of the first area and the second average color value of the second area;
determining the color value of each row or each column of pixels according to the color value array;
wherein a display area of the first screen is composed of the first area and the second area;
determining a color value of each row or each column of pixels according to the color value array comprises:
the color value array consists of a set of color values with the same number of rows or columns of the M pixels, and each set of color values corresponds to the color values of one row or one column of pixels;
and the color values of the group with the same number of rows or columns as the M pixels are increased or decreased from the first average color value to the second average color value according to a preset rule, wherein the preset rule is that the difference values of the adjacent groups of color values are increased or decreased.
7. The mobile terminal of claim 6, wherein the N sets of color values and the M sets of color values satisfy at least one of the following conditions: the difference value between the N groups of color values and the M groups of color values is smaller than a first preset value; and the difference value between the mean value of the N groups of color values and the mean value of the M groups of color values is smaller than a second preset value.
8. The mobile terminal of claim 6, wherein the determining module is specifically configured to:
respectively carrying out fuzzy processing on the N groups of color values under the condition that the number of colors corresponding to the N groups of color values exceeds a preset threshold value, so as to obtain N groups of color values after fuzzy processing;
and determining the M groups of color values corresponding to the M pixels in the second screen according to the N groups of color values after the blurring processing.
9. The mobile terminal of claim 6, wherein the determining module is specifically configured to:
determining an average color value of the N sets of color values;
and taking the average color value as the M groups of color values corresponding to the M pixels in the second screen.
10. The mobile terminal of claim 6,
the acquisition module is also used for acquiring the change trend information of the ambient brightness value;
the adjusting module is further configured to adjust the brightness of the second screen and/or the values of the M groups of color values according to the change trend information of the ambient brightness value.
11. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the display method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the display method according to any one of claims 1 to 5.
CN201811432825.5A 2018-11-28 2018-11-28 Display method and mobile terminal Active CN109451110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811432825.5A CN109451110B (en) 2018-11-28 2018-11-28 Display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811432825.5A CN109451110B (en) 2018-11-28 2018-11-28 Display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109451110A CN109451110A (en) 2019-03-08
CN109451110B true CN109451110B (en) 2021-08-10

Family

ID=65554368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811432825.5A Active CN109451110B (en) 2018-11-28 2018-11-28 Display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109451110B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9075568B1 (en) * 2012-03-21 2015-07-07 Amazon Technologies, Inc. Dynamic device skins
CN106791028A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of display adjusting method, device and terminal
CN107819935A (en) * 2017-10-19 2018-03-20 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN108230406A (en) * 2018-01-02 2018-06-29 联想(北京)有限公司 Data processing method and electronic equipment
CN108646995A (en) * 2018-03-30 2018-10-12 维沃移动通信有限公司 A kind of control method, device and the mobile terminal of display color

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589928A (en) * 2017-08-02 2018-01-16 宇龙计算机通信科技(深圳)有限公司 Double screen displaying method of terminal, device, terminal and computer-readable recording medium
CN107908383B (en) * 2017-11-14 2020-07-07 维沃移动通信有限公司 Screen color adjusting method and device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9075568B1 (en) * 2012-03-21 2015-07-07 Amazon Technologies, Inc. Dynamic device skins
CN106791028A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of display adjusting method, device and terminal
CN107819935A (en) * 2017-10-19 2018-03-20 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN108230406A (en) * 2018-01-02 2018-06-29 联想(北京)有限公司 Data processing method and electronic equipment
CN108646995A (en) * 2018-03-30 2018-10-12 维沃移动通信有限公司 A kind of control method, device and the mobile terminal of display color

Also Published As

Publication number Publication date
CN109451110A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN107908383B (en) Screen color adjusting method and device and mobile terminal
CN107957839B (en) Display control method and mobile terminal
CN108182019B (en) Suspension control display processing method and mobile terminal
CN110969981B (en) Screen display parameter adjusting method and electronic equipment
CN107621738B (en) Control method of mobile terminal and mobile terminal
CN110460907B (en) Video playing control method and terminal
CN107977652B (en) Method for extracting screen display content and mobile terminal
CN109361867B (en) Filter processing method and mobile terminal
CN107819935B (en) Control method of mobile terminal and mobile terminal
CN107644396B (en) Lip color adjusting method and device
CN107103581B (en) Image reflection processing method and device and computer readable medium
CN108804184B (en) Display control method and terminal equipment
CN107153500B (en) Method and equipment for realizing image display
CN107895352A (en) A kind of image processing method and mobile terminal
CN109819166B (en) Image processing method and electronic equipment
CN109727212B (en) Image processing method and mobile terminal
CN109413264B (en) Background picture adjusting method and terminal equipment
CN108600544B (en) Single-hand control method and terminal
CN111125800B (en) Icon display method and electronic equipment
CN109639981B (en) Image shooting method and mobile terminal
CN111050050A (en) Filter adjusting method and electronic equipment
CN107729100B (en) Interface display control method and mobile terminal
CN111045769B (en) Background picture switching method and electronic equipment
CN109189517B (en) Display switching method and mobile terminal
CN109889652B (en) Eye protection mode display control method, terminal and computer readable storage medium

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