CN111343339A - Mobile terminal and image display method thereof - Google Patents

Mobile terminal and image display method thereof Download PDF

Info

Publication number
CN111343339A
CN111343339A CN202010140952.9A CN202010140952A CN111343339A CN 111343339 A CN111343339 A CN 111343339A CN 202010140952 A CN202010140952 A CN 202010140952A CN 111343339 A CN111343339 A CN 111343339A
Authority
CN
China
Prior art keywords
gray value
target
image
screen
electronic ink
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010140952.9A
Other languages
Chinese (zh)
Other versions
CN111343339B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202010140952.9A priority Critical patent/CN111343339B/en
Publication of CN111343339A publication Critical patent/CN111343339A/en
Application granted granted Critical
Publication of CN111343339B publication Critical patent/CN111343339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a mobile terminal and an image display method thereof, and relates to the technical field of electronics. When detecting that the initial gray value of each screen pixel used for displaying the target image on the electronic ink screen is greater than or equal to the gray value threshold, the mobile terminal may adjust the gray value of the screen pixel to the first target gray value, otherwise, adjust the gray value of the screen pixel to the second target gray value, where the second target gray value is less than the first target gray value, that is, adjust the gray value of the screen pixel whose initial gray value is greater than or equal to the gray value threshold to a larger value, and adjust the gray value of the screen pixel whose initial gray value is less than the gray value threshold to a smaller value, so that the gray level difference of each screen pixel in the electronic ink screen is larger, and the target image displayed on the electronic ink screen is clearer.

Description

Mobile terminal and image display method thereof
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a mobile terminal and an image display method thereof.
Background
The electronic ink screen is a screen using electronic ink, and black and white patterns can be displayed on the screen by controlling the movement of the electronic ink.
When the two-dimensional code needs to be displayed for payment, the payment cannot be realized due to the fact that the two-dimensional code displayed on the electronic ink screen is fuzzy.
Disclosure of Invention
The application provides a mobile terminal and an image display method thereof, which can solve the problem that two-dimensional codes displayed on an electronic ink screen in the related art are fuzzy. The technical scheme is as follows:
in one aspect, a mobile terminal is provided, the mobile terminal comprising a processor and an electronic ink screen; the processor is configured to:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
the electronic ink screen is used for displaying the target image.
Optionally, the processor is further configured to:
detecting whether the application interface to be displayed on the electronic ink screen comprises the target image or not;
and if the fact that the target image is included in the application interface to be displayed of the electronic ink screen is detected, acquiring a gray image of the target image to be displayed of the electronic ink screen.
Optionally, the processor is configured to:
acquiring interface information of the application interface, wherein the interface information comprises: package name and class name of the application interface;
if the interface information belongs to a target interface information set, determining that an application interface to be displayed on the electronic ink screen comprises a target image;
and if the interface information does not belong to the target interface information set, determining that the application interface to be displayed of the electronic ink screen does not include the target image.
Optionally, the processor is configured to:
acquiring interface layout information of the application interface;
if the application interface is determined to comprise the image of the target shape based on the interface layout information, detecting whether the image of the target shape is the target image;
if the image of the target shape is determined to be the target image, determining that an application interface to be displayed on the electronic ink screen comprises the target image;
and if the image of the target shape is determined not to be the target image, determining that the application interface to be displayed on the electronic ink screen does not include the target image.
In another aspect, a mobile terminal is provided, the mobile terminal comprising a processor and an electronic ink screen; the processor is configured to:
if the application interface to be displayed on the electronic ink screen comprises a two-dimensional code image, acquiring a gray image of the two-dimensional code image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
the electronic ink screen is used for displaying the two-dimensional code image.
In yet another aspect, a mobile terminal is provided that includes a processor and an electronic ink screen; the processor includes:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the mean value of the initial gray values of the screen pixels used for displaying the target image in the electronic ink screen is smaller than the mean value threshold, determining whether the initial gray values of the screen pixels are smaller than the gray value threshold;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
the electronic ink screen is used for displaying the target image.
In still another aspect, an image display method of a mobile terminal is provided, the mobile terminal including an electronic ink screen; the method comprises the following steps:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
and the electronic ink screen displays the target image.
In still another aspect, an image display method of a mobile terminal is provided, the mobile terminal including an electronic ink screen; the method comprises the following steps:
if the application interface to be displayed on the electronic ink screen comprises a two-dimensional code image, acquiring a gray image of the two-dimensional code image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
and the electronic ink screen displays the two-dimensional code image.
In still another aspect, an image display method of a mobile terminal is provided, the mobile terminal including an electronic ink screen; the method comprises the following steps:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the mean value of the initial gray values of the screen pixels used for displaying the target image in the electronic ink screen is smaller than the mean value threshold, determining whether the initial gray values of the screen pixels are smaller than the gray value threshold;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
and the electronic ink screen displays the target image.
In still another aspect, there is provided a computer-readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the image display method of the mobile terminal according to the above aspect.
In still another aspect, a computer program product containing instructions is provided, which when run on the computer, causes the computer to execute the image display method of the mobile terminal according to the above aspect.
The beneficial effect that technical scheme that this application provided brought includes at least:
the application provides a mobile terminal and an image display method thereof, wherein when the mobile terminal detects that the initial gray value of a screen pixel used for displaying a target image on an electronic ink screen is greater than or equal to a gray value threshold, the gray value of the screen pixel can be adjusted to be a first target gray value. When it is detected that the initial gray value of each screen pixel used for displaying the target image on the electronic ink screen is smaller than the gray value threshold, the gray value of the screen pixel can be adjusted to be the second target gray value, and the second target gray value is smaller than the first target gray value, that is, the gray value of the screen pixel with the initial gray value larger than or equal to the gray value threshold can be adjusted to be larger, and the gray value of the screen pixel with the initial gray value smaller than the gray value threshold can be adjusted to be smaller, so that the gray level difference of each screen pixel in the electronic ink screen can be larger, and the target image displayed on the electronic ink screen can be clearer.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an implementation environment related to an image display method of a mobile terminal according to an embodiment of the present application;
fig. 2 is a flowchart of an image display method of a mobile terminal according to an embodiment of the present disclosure;
fig. 3 is a flowchart of an image display method of another mobile terminal according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for detecting whether an application interface to be displayed on an electronic ink screen includes a target image according to an embodiment of the present application;
FIG. 5 is a flowchart of another method for detecting whether a target image is included in an application interface to be displayed on an electronic ink screen according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a grayscale image of a target image according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a grayscale image of another target image provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of a grayscale image of another target image provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of an adjusted target image displayed on an electronic ink screen according to an embodiment of the present disclosure;
fig. 10 is a flowchart of an image display method of a mobile terminal according to an embodiment of the present disclosure;
fig. 11 is a flowchart of an image display method of a mobile terminal according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of another mobile terminal provided in an embodiment of the present application;
fig. 14 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a mobile terminal to which an image display method of the mobile terminal according to an embodiment of the present application is applied. The mobile terminal 110 may include an electronic ink screen.
Optionally, the terminal 110 may be a smart phone, a tablet computer, or a wearable device.
The embodiment of the application provides an image display method of a mobile terminal, which can be applied to the mobile terminal, such as the mobile terminal 110 shown in fig. 1. Referring to fig. 2, the method may include:
step 101, obtaining a gray image of a target image to be displayed on the electronic ink screen.
Wherein, the electronic ink screen can display the target image.
In the embodiment of the application, after the target image to be displayed on the electronic ink screen is acquired, the mobile terminal can perform gray scale conversion processing on the target image to obtain a gray scale image of the target image.
And 102, determining an initial gray value of a screen pixel for displaying the target image in the electronic ink screen according to the gray image.
After determining the grayscale image of the target image, the mobile terminal may determine an initial grayscale value of each screen pixel in the electronic ink screen for displaying the target image based on a position of the target image in the application interface to be displayed and the grayscale value of each image pixel in the grayscale image of the target image.
Step 103, if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value.
The first target gray-scale value is greater than the gray-scale value threshold, and the first target gray-scale value may be pre-stored in the mobile terminal.
And step 104, if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value.
The second target gray-scale value is smaller than the gray-scale value threshold, that is, the second target gray-scale value is smaller than the first target gray-scale value. The difference between the first target gray scale value and the second target gray scale value may be greater than a difference threshold. That is, the difference between the first target gray-scale value and the second target gray-scale value is larger. The difference between the first target gray-scale value and the second target gray-scale value is a value obtained by subtracting the second target gray-scale value from the first target gray-scale value.
To sum up, the embodiment of the present application provides an image display method for a mobile terminal, where when detecting that an initial gray value of a screen pixel used for displaying a target image on an electronic ink screen is greater than or equal to a gray value threshold, the mobile terminal may adjust the gray value of the screen pixel to a first target gray value. When it is detected that the initial gray value of the screen pixel for displaying the target image on the electronic ink screen is smaller than the gray value threshold, the gray value of the screen pixel can be adjusted to be the second target gray value, and the second target gray value is smaller than the first target gray value, that is, the gray value of the screen pixel with the initial gray value greater than or equal to the gray value threshold can be adjusted to be larger, and the gray value of the screen pixel with the initial gray value smaller than the gray value threshold can be adjusted to be smaller, so that the gray level difference of each screen pixel in the electronic ink screen can be larger, and the target image displayed on the electronic ink screen can be clearer.
Fig. 3 is a flowchart of another image display method of a mobile terminal according to an embodiment of the present disclosure, where the method may be applied to a mobile terminal, such as the mobile terminal 110 shown in fig. 1. Referring to fig. 3, the method may include:
step 201, detecting whether an application interface to be displayed on the electronic ink screen includes a target image.
Wherein, the electronic ink screen can display the target image.
In the embodiment of the application, after the mobile terminal is started, whether the target image is included in the application interface to be displayed (or loaded) of the electronic ink screen of the mobile terminal, that is, the application interface currently loaded by the mobile terminal, can be detected in real time or periodically. If the mobile terminal detects that the application interface to be displayed by the electronic ink screen includes the target image, step 202 may be executed. If the mobile terminal does not detect that the target image is included in the application interface to be displayed on the electronic ink screen, the application interface can be directly displayed.
Optionally, the target image may include: a two-dimensional code image or a barcode image. For example, the target image may be a two-dimensional code image.
In an alternative implementation manner, referring to fig. 4, the process of the mobile terminal detecting whether the application interface to be displayed on the electronic ink screen of the mobile terminal includes the target image may include:
and step 2011a, interface information of the application interface is acquired.
Wherein the interface information may include: package name and class name of the application interface. The package name of the application interface is the package name of the application program to which the application interface belongs, and the class name of the application interface is the interface (Activity) name of the application interface.
In the embodiment of the application, after the mobile terminal is started and runs a certain application program, a system process for managing the running state of an application interface of the application program in an operating system of the mobile terminal can acquire interface information of the currently loaded application interface (namely, an electronic ink screen to be displayed).
Optionally, the operating system of the mobile terminal may be an android (android) operating system.
If the operating system of the mobile terminal is an android operating system, a system process for managing the operating state of the application interface is an interface manager service (AMS). That is, when the mobile terminal runs a certain application program, the AMS can acquire the interface information of the currently loaded application interface
Step 2012a, detecting whether the interface information belongs to the target interface information set.
The target interface information set is pre-stored in the mobile terminal and can be composed of interface information of a plurality of application interfaces comprising target images, and the plurality of application interfaces comprising the target images can be obtained by staff statistics.
In this embodiment of the application, after acquiring the interface information of the currently loaded application interface, the mobile terminal may determine whether the interface information is matched with each interface information in the target interface information set, that is, determine whether there is interface information in the target interface information set whose package name is the same as the package name in the interface information and whose class name is the same as the class name in the interface information. If the mobile terminal determines that the interface information matched with the interface information exists in the target interface information set, it may be determined that the interface information belongs to the target interface information set, and then step 2013a may be performed. If the mobile terminal determines that the interface information matched with the interface information does not exist in the target interface information set, it may be determined that the interface information does not belong to the target interface information set, and then step 2014a may be performed.
And 2013a, determining that the application interface to be displayed of the electronic ink screen comprises the target image.
The mobile terminal determines that the interface information matched with the interface information exists in the target interface information set, namely the interface information with the package name and the class name identical to the interface information exists in the target interface information set, and then the application interface to be displayed of the electronic ink screen can be determined to include the target image.
Step 2014a, determining that the application interface to be displayed by the electronic ink screen does not include the target image.
The mobile terminal determines that the interface information matched with the interface information does not exist in the target interface information set, namely that any interface information in the target interface information set is different from the interface information, and then the mobile terminal can determine that the application interface to be displayed by the electronic ink screen does not include the target image.
In another alternative implementation, referring to fig. 5, the process of the mobile terminal detecting whether the application interface to be displayed on the electronic ink screen of the mobile terminal includes the target image may include:
and step 2011b, interface layout information of the application interface is acquired.
Wherein the interface layout information may include: the currently loaded application interface includes a position in the application interface of each of at least one image (also referred to as a display element). The location of each image in the application interface may be determined based on coordinates of an upper left vertex, a lower left vertex, an upper right vertex, and a lower right vertex of the image in an interface coordinate system of the application interface.
Step 2012b, detecting whether the application interface includes an image of the target shape based on the interface layout information.
Wherein the target shape may be a square.
In this embodiment of the application, the mobile terminal may determine whether the shape of the image is a rectangle, that is, determine whether the image is a rectangular image, based on the interface layout information of the currently loaded application interface, that is, the position of each image in at least one image included in the currently loaded application interface in the application interface. After determining the image as a rectangular image, the size of the image may be determined based on the coordinates of the top left vertex and the bottom right vertex of the image in the interface coordinate system of the application interface. Then, it may be determined whether the shape of the image is a square, that is, whether the image is a square image, based on the size of the image. If the mobile terminal determines that the image is the image of the target shape (i.e., the square image) based on the size of the certain image, it may be determined that the application interface includes the image of the target shape, and step 2013b may be performed. If the mobile terminal determines that the image is not the image of the target shape based on the size of each image, it may be determined that the application interface does not include the image of the target shape, and the application interface may be directly displayed.
The mobile terminal determines that an abscissa in the coordinates of an upper left vertex of an image is equal to an abscissa in the coordinates of an upper right vertex of the image, an ordinate in the coordinates of the upper left vertex is equal to an ordinate in the coordinates of a lower left vertex, an abscissa in the coordinates of the lower left vertex is equal to an abscissa in the coordinates of the lower right vertex, and an ordinate in the coordinates of the upper right vertex is equal to an ordinate in the coordinates of the lower right vertex, based on the coordinates of the upper left vertex, the lower left vertex, the upper right vertex, and the lower right vertex in the at least one image included in the application interface in the interface coordinate system of the application interface, and may determine that the image is a rectangular image.
And step 2013b, detecting whether the image of the target shape is the target image.
If it is detected that the image of the target shape is the target image, the mobile terminal may perform step 2014 b. If it is detected that the image of the target shape is not the target image, the mobile terminal may perform step 2015 b. Optionally, an image template of necessary display elements necessary for forming the target image may be stored in the mobile terminal in advance, and the mobile terminal may detect whether the image of the target shape is the target image by using a template matching algorithm based on the image template.
In the embodiment of the present application, taking a target image as a two-dimensional code image as an example, a process of detecting whether an image of a target shape is the target image is exemplarily described:
after determining that the image of the target shape exists in the application interface, the mobile terminal may detect whether the necessary display element exists in the image of the target shape by using a template matching algorithm based on a pre-stored image template of the necessary display element. If the necessary display element is detected to be present in the image of the target shape, the mobile terminal may determine that the image of the target shape is a two-dimensional code image. If it is detected that the necessary display element does not exist in the image of the target shape, the mobile terminal may determine that the image of the target shape is not a two-dimensional code image.
Wherein the required display elements include: at least one of a position detection pattern, a position detection pattern separator, a positioning pattern, and a correction pattern.
And step 2014b, determining that the application interface to be displayed of the electronic ink screen comprises the target image.
And if the mobile terminal detects that the image of the target shape is the target image, the target image can be determined to be included in the application interface to be displayed of the electronic ink screen.
And step 2015b, determining that the application interface to be displayed of the electronic ink screen does not comprise the target image.
And if the mobile terminal detects that the image of the target shape is not the target image, determining that the application interface to be displayed by the electronic ink screen does not include the target image.
Step 202, obtaining a gray image of a target image to be displayed on the electronic ink screen.
In the embodiment of the application, when the mobile terminal detects that the application interface to be displayed on the electronic ink screen includes the target image, the mobile terminal can perform gray level conversion processing on the target image to obtain a gray level image of the target image.
The mobile terminal can perform gray scale conversion processing on the target image by adopting a pre-stored gray scale conversion function. Alternatively, the gray scale transformation function may be a linear function, a logarithmic function, or a power law function.
It should be noted that, when the mobile terminal obtains the grayscale image of the target image to be displayed on the electronic ink screen, the mobile terminal may further perform grayscale conversion on other images except the target image in the application interface to obtain a corresponding grayscale image, so as to subsequently display a complete application interface image on the electronic ink screen.
For example, the mobile terminal may acquire a grayscale image of a target image to be displayed on the electronic ink screen as shown in fig. 6, fig. 7, or fig. 8. As can be seen from fig. 6, in the grayscale image of the target image shown in fig. 6, the difference between the grayscale values of the pixels of the image is large, the contrast of the image is high, the difference between the grayscale values is large, and the image is relatively clear. As can be seen from fig. 7, in the grayscale image of the target image shown in fig. 7, the difference between the grayscale values of the pixels of the image is large, the image contrast is high, the grayscale difference is large, and the image is clear. As can be seen from fig. 8, fig. 8 shows that the gray-scale values of a plurality of image pixels in the gray-scale image of the target image are different, the image contrast is low, the gray-scale difference is small, and the image is blurred.
And step 203, determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image.
In this embodiment, after determining the grayscale image of the target image, the mobile terminal may determine an initial grayscale value of each screen pixel in the electronic ink screen for displaying the target image based on a position of the target image in the application interface to be displayed and a grayscale value of each image pixel in the grayscale image of the target image.
The initial gray value of each screen pixel in the electronic ink screen for displaying the target image may be: the gray value of the image pixel displayed by the screen pixel.
For example, assuming that the screen pixels in the nth row and the mth column in the electronic ink screen are used for displaying the image pixels in the xth row and the yth column in the target image, and the grayscale value of the image pixels in the xth row and the yth column is a, the initial grayscale value of the screen pixels in the nth row and the mth column in the electronic ink screen is a.
And step 204, determining the average value of the initial gray values of the screen pixels for displaying the target image in the electronic ink screen.
After determining the initial gray values of the screen pixels for displaying the target image in the electronic ink screen, the mobile terminal may determine an average value of the initial gray values of the screen pixels based on the initial gray values of the screen pixels. Wherein, the mean value can be: arithmetic mean, geometric mean, or root mean square.
For example, assuming that the average value is an arithmetic average value, the number of screen pixels for displaying the target image in the electronic ink screen is i, and the initial gray values of the i screen pixels are k in sequence1,k2,k3,……kiThe mobile terminal may determine an average of initial gray values of i screen pixels of the electronic ink screen for displaying the target image
Figure BDA0002399068000000111
Comprises the following steps:
Figure BDA0002399068000000112
step 205, detecting whether the mean value is smaller than a mean value threshold value.
The smaller the initial gray value of the screen pixel for displaying the target image in the electronic ink screen is, the more the color displayed by the screen pixel is biased to black, so that if the average value of the initial gray values of the screen pixels for displaying the target image in the electronic ink screen is greater than or equal to the average value threshold, it is indicated that the target image displayed by the electronic ink screen is entirely biased to white and is clearer. Therefore, in the embodiment of the present application, when the mobile terminal detects that the mean value of the initial gray-scale values of the respective screen pixels is greater than or equal to the mean value threshold, it may be determined that the target image can be displayed in the electronic ink screen more clearly, and therefore step 206 may be executed.
And if the average value of the initial gray values of all the screen pixels for displaying the target image in the electronic ink screen is smaller than the average value threshold, the target image displayed by the electronic ink screen is black and fuzzy. Therefore, in the embodiment of the present application, when detecting that the mean value of the initial gray-scale values of the respective screen pixels for displaying the target image is smaller than the mean threshold, the mobile terminal may determine that the target image cannot be clearly displayed on the electronic ink screen, and thus may execute step 207.
The average threshold values may be pre-stored in the mobile terminal.
For example, as shown in fig. 6 and 7, since the mobile terminal determines that the average value of the initial gray scale values of the screen pixels of the electronic ink screen for displaying the target image shown in fig. 6 or the target image shown in fig. 7 is greater than the average threshold value, the mobile terminal determines that both the target images can be displayed on the electronic ink screen more clearly, and may perform step 206, that is, adjust the gray scale value of the screen pixel of the electronic ink screen for displaying the target image to the initial gray scale value of the screen pixel.
Referring to fig. 8, since the mobile terminal determines that the mean value of the initial gray scale values of the screen pixels for displaying the target image shown in fig. 8 is less than the gray scale value threshold, the mobile terminal may determine that the target image cannot be clearly displayed on the electronic ink screen, and perform step 207 of detecting whether the initial gray scale value of each screen pixel for displaying the target image shown in fig. 8 is greater than or equal to the gray scale value threshold.
And step 206, adjusting the gray value of the screen pixel used for displaying the target image in the electronic ink screen to the initial gray value of the screen pixel.
In the embodiment of the application, when the mobile terminal detects that the average value of the initial gray values of the screen pixels used for displaying the target image in the electronic ink screen is greater than or equal to the average value threshold, it can be determined that the target image can be displayed in the electronic ink screen more clearly, and therefore the gray value of the screen pixel used for displaying the target image in the electronic ink screen can be directly adjusted to the initial gray value of the screen pixel. That is, the screen pixels in the electronic ink screen may display the target image according to the initial gray scale value.
Step 207, detecting whether the initial gray value of the screen pixel for displaying the target image is greater than or equal to the gray value threshold.
The grayscale threshold may be pre-stored in the mobile terminal, and the grayscale threshold may be smaller than or larger than the mean threshold, that is, the mean threshold is larger than the grayscale threshold. Alternatively, the gray value threshold may be different for different target images. The gray value threshold may be determined based on a maximum gray value and a minimum gray value among gray values of a plurality of image pixels of the gray image. For example, the gray value threshold may be an average value of a maximum gray value and a minimum gray value among gray values of a plurality of image pixels of the gray image.
In this embodiment, if the mobile terminal detects that the initial grayscale value of the screen pixel for displaying the target image is greater than or equal to the grayscale threshold, step 208 may be executed. If the mobile terminal detects that the initial gray-level value of the screen pixel for displaying the target image is less than the gray-level threshold value, step 209 may be executed.
The mobile terminal detects whether the initial gray value of the screen pixel for displaying the target image is greater than or equal to the gray value threshold value when determining that the average value of the initial gray values of the screen pixels for displaying the target image in the electronic ink screen is less than the average value threshold value, so that the gray value of the screen pixel for displaying the target image in the electronic ink screen is adjusted later, and it is not required that whether the initial gray value of the screen pixel for displaying the target image is greater than or equal to the gray value threshold value is detected for all the target images, so that the resources of the mobile terminal are effectively saved.
Step 208, adjust the gray level of the screen pixel to the first target gray level.
The first target gray-scale value is greater than the gray-scale value threshold, and the first target gray-scale value may be pre-stored in the mobile terminal. For example, the first target gray-scale value may be 255.
In this embodiment, when determining that the initial gray value of the screen pixel is greater than or equal to the gray value threshold, the mobile terminal may adjust the gray value of the screen pixel to the first target gray value.
Alternatively, the mobile terminal may adjust the gray scale value of the screen pixel to the first target gray scale value by adjusting the magnitude or direction of the driving current applied to the driving transistor in the screen pixel.
For example, assuming that the threshold value of the gray scale value is 172 and the first target gray scale value is 255, for the target image displayed in fig. 8, the mobile terminal may adjust the gray scale value of the screen pixel, which is used for displaying the target image and whose initial gray scale value is greater than or equal to 172, to be 255.
Step 209, adjust the gray level of the screen pixel to a second target gray level.
The second target gray-scale value is smaller than the gray-scale value threshold, that is, the second target gray-scale value is smaller than the first target gray-scale value, and the difference between the second target gray-scale value and the first target gray-scale value is greater than the difference threshold. Both the second target gray value and the difference threshold may be pre-stored in the mobile terminal. For example, the first target gray-scale value may be 0. The difference threshold may be 255.
In this embodiment of the application, when determining that the initial gray-scale value of the screen pixel is smaller than the gray-scale value threshold, the mobile terminal may adjust the gray-scale value of the screen pixel to the second target gray-scale value.
Alternatively, the mobile terminal may adjust the gray scale value of the screen pixel to the second target gray scale value by adjusting the magnitude or direction of the driving current applied to the driving transistor in the screen pixel.
For example, assuming that the threshold of the gray scale value is 172 and the first target gray scale value is 0, for the target image shown in fig. 8, the mobile terminal may adjust the gray scale value of the screen pixel having the initial gray scale value smaller than 172 to 0 among the plurality of screen pixels for displaying the target image, resulting in the display image shown in fig. 9.
Comparing fig. 8 and fig. 9, it can be seen that when the gray scale values of the pixels of the screen are not adjusted, the gray scale difference of the target image displayed on the electronic ink screen is smaller, and the target image is displayed more dimly. After the gray value of the screen pixel is adjusted, the gray scale difference of the target image displayed on the electronic ink screen is large, and the target image is displayed clearly, so that the display effect of the target image on the electronic ink screen is effectively improved.
In the embodiment of the application, when the mobile terminal detects that the process of the application interface is finished, the gray value of each screen pixel in the electronic ink screen can be adjusted to the initial gray value of the screen pixel, so that the subsequent display effect is prevented from being influenced.
It should be noted that, in the embodiment of the present application, a plurality of screen pixels for displaying the target image in the electronic ink screen may be included, and for each screen pixel, the initial gray value of the screen pixel may be adjusted through the above steps 206 to 209, so that the target image may be displayed on the electronic ink screen clearly.
It should be further noted that, the order of the image display method of the mobile terminal provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be increased or decreased according to the situation. For example, steps 204 to 206 may delete the deletion as appropriate, i.e., for each of all target images to be displayed on the electronic ink screen, the mobile terminal adjusts the initial gray value of each screen pixel in the electronic ink screen for displaying the target image. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
To sum up, the embodiment of the present application provides an image display method for a mobile terminal, where when detecting that an initial gray value of each screen pixel for displaying a target image on an electronic ink screen is greater than or equal to a gray value threshold, the mobile terminal may adjust the gray value of the screen pixel to a first target gray value. When it is detected that the initial gray value of each screen pixel used for displaying the target image on the electronic ink screen is smaller than the gray value threshold, the gray value of the screen pixel can be adjusted to be the second target gray value, and the second target gray value is smaller than the first target gray value, that is, the gray value of the screen pixel with the initial gray value larger than or equal to the gray value threshold can be adjusted to be larger, and the gray value of the screen pixel with the initial gray value smaller than the gray value threshold can be adjusted to be smaller, so that the gray level difference of each screen pixel in the electronic ink screen can be larger, and the target image displayed on the electronic ink screen can be clearer.
Fig. 10 is a flowchart of an image display method of another mobile terminal according to an embodiment of the present disclosure, which may be applied to a mobile terminal, such as the mobile terminal 110 shown in fig. 1. Referring to fig. 10, the method may include:
step 301, if the application interface to be displayed on the electronic ink screen includes a two-dimensional code image, acquiring a gray image of the two-dimensional code image to be displayed on the electronic ink screen.
Wherein, this electronic ink screen can show this two-dimensional code image.
In the embodiment of the application, when the mobile terminal detects that the application interface to be displayed on the electronic ink screen includes the two-dimensional code image, the mobile terminal can perform gray level conversion on the two-dimensional code image to obtain a gray level image of the two-dimensional code image.
Step 302, determining an initial gray value of a screen pixel for displaying the target image in the electronic ink screen according to the gray image.
After determining the gray level image of the two-dimensional code image, the mobile terminal may determine an initial gray level value of each screen pixel in the electronic ink screen for displaying the two-dimensional code image based on the position of the two-dimensional code image in the application interface to be displayed and the gray level value of each image pixel in the gray level image of the two-dimensional code image.
Step 303, if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value.
The first target gray value is greater than the gray value threshold, and both the first target gray value and the gray value threshold can be pre-stored in the mobile terminal.
Step 304, if the initial gray value of the screen pixel is smaller than the threshold gray value, adjusting the gray value of the screen pixel to a second target gray value.
Wherein the second target gray-scale value is smaller than the gray-scale value threshold.
To sum up, the embodiment of the present application provides an image display method for a mobile terminal, where when detecting that an initial gray value of a screen pixel used for displaying a two-dimensional code image on an electronic ink screen is greater than or equal to a gray value threshold, the mobile terminal may adjust the gray value of the screen pixel to a first target gray value. When it is detected that the initial gray value of the screen pixel for displaying the two-dimensional code image on the electronic ink screen is smaller than the gray value threshold, the gray value of the screen pixel can be adjusted to be the second target gray value, and the second target gray value is smaller than the first target gray value, that is, the gray value of the screen pixel with the initial gray value greater than or equal to the gray value threshold can be adjusted to be larger, and the gray value of the screen pixel with the initial gray value smaller than the gray value threshold can be adjusted to be smaller, so that the gray level difference of each screen pixel in the electronic ink screen can be larger, and the two-dimensional code image displayed on the electronic ink screen can be clearer.
Fig. 11 is a flowchart of another image display method of a mobile terminal according to an embodiment of the present disclosure, which may be applied to a mobile terminal, such as the mobile terminal 110 shown in fig. 1. Referring to fig. 11, the method may include:
step 401, obtaining a gray image of a target image to be displayed on the electronic ink screen.
Wherein, the electronic ink screen can display the target image. The grayscale image may be obtained by performing grayscale conversion on the target image by the mobile terminal.
Step 402, determining an initial gray value of a screen pixel in the electronic ink screen for displaying the target image according to the gray image.
After determining the grayscale image of the target image, the mobile terminal may determine an initial grayscale value of each screen pixel in the electronic ink screen for displaying the target image based on a position of the target image in the application interface to be displayed and the grayscale value of each image pixel in the grayscale image of the target image.
Step 403, if the average value of the initial gray values of the screen pixels for displaying the target image in the electronic ink screen is smaller than the average threshold value, determining whether the initial gray value of the screen pixel is smaller than the gray value threshold value.
When determining that the mean value of the initial gray values of a plurality of screen pixels used for displaying the target image in the electronic ink screen is smaller than the mean value threshold, the mobile terminal may detect whether the initial gray value of each screen pixel is smaller than the gray value threshold for each screen pixel in the plurality of screen pixels used for displaying the target image.
If it is determined that the initial gray value of the screen pixel is greater than or equal to the gray value threshold, step 404 may be performed. If it is determined that the initial gray scale value of the screen pixel is less than the gray scale value threshold, step 405 may be performed.
Step 404, adjusting the gray value of the screen pixel to a first target gray value.
The first target gray value is greater than the gray value threshold, and both the first target gray value and the gray value threshold can be pre-stored by the mobile terminal.
The mobile terminal can adjust the gray value of the screen pixel to the first target gray value when determining that the initial gray value of the screen pixel is greater than or equal to the gray value threshold.
Step 405, adjusting the gray value of the screen pixel to a second target gray value.
The second target gray value is smaller than the gray threshold, and the second target gray value may also be pre-stored in the mobile terminal.
And the mobile terminal can adjust the gray value of the screen pixel to a second target gray value after determining that the initial gray value of the screen pixel is smaller than the gray value threshold.
To sum up, the embodiment of the present application provides an image display method for a mobile terminal, where when detecting that an initial gray value of a screen pixel used for displaying a target image on an electronic ink screen is greater than or equal to a gray value threshold, the mobile terminal may adjust the gray value of the screen pixel to a first target gray value. When it is detected that the initial gray value of the screen pixel for displaying the target image on the electronic ink screen is smaller than the gray value threshold, the gray value of the screen pixel can be adjusted to be the second target gray value, and the second target gray value is smaller than the first target gray value, that is, the gray value of the screen pixel with the initial gray value greater than or equal to the gray value threshold can be adjusted to be larger, and the gray value of the screen pixel with the initial gray value smaller than the gray value threshold can be adjusted to be smaller, so that the gray level difference of each screen pixel in the electronic ink screen can be larger, and the target image displayed on the electronic ink screen can be clearer.
Fig. 12 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 10, the mobile terminal 110 may include a processor 1101 and an electronic ink screen 1102. The processor 1101 may be configured to:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of each screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold; the electronic ink screen may be used to display the target image.
Optionally, the processor 1101 may further be configured to:
detecting whether an application interface to be displayed on the electronic ink screen comprises a target image or not;
and if the application interface to be displayed of the electronic ink screen is detected to comprise the target image, acquiring a gray image of the target image to be displayed of the electronic ink screen.
Optionally, the processor 1101 may be configured to:
acquiring interface information of an application interface, wherein the interface information comprises: package name and class name of the application interface;
if the interface information belongs to the target interface information set, determining that the application interface to be displayed of the electronic ink screen comprises a target image;
and if the interface information does not belong to the target interface information set, determining that the application interface to be displayed on the electronic ink screen does not include the target image.
Optionally, the processor 1101 may be configured to:
acquiring interface layout information of an application interface;
if the application interface is determined to comprise the image of the target shape based on the interface layout information, detecting whether the image of the target shape is the target image;
if the image of the target shape is determined to be the target image, determining that the application interface to be displayed of the electronic ink screen comprises the target image;
and if the image of the target shape is determined not to be the target image, determining that the application interface to be displayed on the electronic ink screen does not include the target image.
To sum up, the embodiment of the present application provides a mobile terminal, and when detecting that an initial gray value of a screen pixel used for displaying a target image on an electronic ink screen is greater than or equal to a gray value threshold, the mobile terminal may adjust the gray value of the screen pixel to a first target gray value. When it is detected that the initial gray value of the screen pixel for displaying the target image on the electronic ink screen is smaller than the gray value threshold, the gray value of the screen pixel can be adjusted to be the second target gray value, and the second target gray value is smaller than the first target gray value, that is, the gray value of the screen pixel with the initial gray value greater than or equal to the gray value threshold can be adjusted to be larger, and the gray value of the screen pixel with the initial gray value smaller than the gray value threshold can be adjusted to be smaller, so that the gray level difference of each screen pixel in the electronic ink screen can be larger, and the target image displayed on the electronic ink screen can be clearer.
As shown in fig. 12, the processor 1101 may be configured to:
if the application interface to be displayed on the electronic ink screen comprises the two-dimensional code image, acquiring a gray image of the two-dimensional code image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying a target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; the first target gray value is greater than the gray value threshold value, and the second target gray value is less than the gray value threshold value; the electronic ink screen is used for displaying a two-dimensional code image.
To sum up, the embodiment of the present application provides a mobile terminal, and when detecting that an initial gray value of a screen pixel used for displaying a two-dimensional code image on an electronic ink screen is greater than or equal to a gray value threshold, the mobile terminal may adjust the gray value of the screen pixel to a first target gray value. When it is detected that the initial gray value of the screen pixel for displaying the two-dimensional code image on the electronic ink screen is smaller than the gray value threshold, the gray value of the screen pixel can be adjusted to be the second target gray value, and the second target gray value is smaller than the first target gray value, that is, the gray value of the screen pixel with the initial gray value greater than or equal to the gray value threshold can be adjusted to be larger, and the gray value of the screen pixel with the initial gray value smaller than the gray value threshold can be adjusted to be smaller, so that the gray level difference of each screen pixel in the electronic ink screen can be larger, and the two-dimensional code image displayed on the electronic ink screen can be clearer.
Referring to fig. 12, the processor 1101 may be configured to:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the mean value of the initial gray values of the screen pixels for displaying the target image in the electronic ink screen is smaller than the mean value threshold, determining whether the initial gray value of the screen pixels is smaller than the gray value threshold;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; the first target gray value is greater than the gray value threshold value, and the second target gray value is less than the gray value threshold value; the electronic ink screen is used for displaying a target image.
To sum up, the embodiment of the present application provides a mobile terminal, and when detecting that an initial gray value of a screen pixel used for displaying a target image on an electronic ink screen is greater than or equal to a gray value threshold, the mobile terminal may adjust the gray value of the screen pixel to a first target gray value. When it is detected that the initial gray value of the screen pixel for displaying the target image on the electronic ink screen is smaller than the gray value threshold, the gray value of the screen pixel can be adjusted to be the second target gray value, and the second target gray value is smaller than the first target gray value, that is, the gray value of the screen pixel with the initial gray value greater than or equal to the gray value threshold can be adjusted to be larger, and the gray value of the screen pixel with the initial gray value smaller than the gray value threshold can be adjusted to be smaller, so that the gray level difference of each screen pixel in the electronic ink screen can be larger, and the target image displayed on the electronic ink screen can be clearer.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the mobile terminal and each device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 13 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application, and as shown in fig. 13, the mobile terminal 110 may include: a display unit 130, a memory 140, a Radio Frequency (RF) circuit 150, an audio circuit 160, a wireless fidelity (Wi-Fi) module 170, a bluetooth module 180, a power supply 190, a camera 121, and a processor 1101.
The camera 121 may be used to capture still pictures or video, among other things. The object generates an optical picture through the lens and projects the optical picture to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensitive elements convert the light signals into electrical signals which are then passed to the processor 1101 for conversion into digital picture signals.
The processor 1101 is a control center of the mobile terminal 110, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the mobile terminal 110 and processes data by running or executing software programs stored in the memory 140 and calling data stored in the memory 140. In some embodiments, processor 1101 may include one or more processing units; the processor 1101 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 1101. In this application, the processor 1101 may run an operating system and an application program, may control a user interface to display, and may implement the image display method of the mobile terminal according to the embodiment of the present application. Additionally, processor 1101 is coupled to input unit and display unit 130.
The display unit 130 may be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the mobile terminal 110, and optionally, the display unit 130 may also be used to display information input by the user or information provided to the user and a Graphical User Interface (GUI) of various menus of the mobile terminal 110. The display unit 130 may include a display screen 131 disposed on the front surface of the mobile terminal 110. The display screen 131 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The display unit 130 includes: a display screen 131 and a touch screen 132 disposed on the front of the mobile terminal 110. The display screen 131 may be used to display preview pictures. Touch screen 132 may collect touch operations on or near by the user, such as clicking a button, dragging a scroll box, and the like. The touch screen 132 may be covered on the display screen 131, or the touch screen 132 and the display screen 131 may be integrated to implement the input and output functions of the mobile terminal 110, and after the integration, the touch screen may be referred to as a touch display screen for short.
Memory 140 may be used to store software programs and data. The processor 1101 executes various functions of the mobile terminal 110 and data processing by executing software programs or data stored in the memory 140. The memory 140 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. Memory 140 stores an operating system that enables mobile terminal 110 to operate. The memory 140 may store an operating system and various application programs, and may also store codes for executing the image display method of the mobile terminal according to the embodiment of the present application.
The RF circuit 150 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then deliver the received downlink data to the processor 1101 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry 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.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 110. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The mobile terminal 110 may also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the RF circuit 150 to be transmitted to, for example, another terminal or outputs the audio data to the memory 140 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the mobile terminal 110 may help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, which provides a wireless broadband internet access for the user.
And the Bluetooth module 180 is used for performing information interaction with other Bluetooth devices with Bluetooth modules through a Bluetooth protocol. For example, the mobile terminal 110 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) also equipped with a bluetooth module through the bluetooth module 180, so as to perform data interaction.
Mobile terminal 110 also includes a power supply 190 (e.g., a battery) that powers the various components. The power supply may be logically coupled to the processor 1101 through a power management system to manage charging, discharging, and power consumption functions through the power management system. The mobile terminal 110 may also be configured with a power button for powering on and off the terminal, and locking the screen.
The mobile terminal 110 may include at least one sensor 1110, such as a motion sensor 11101, a distance sensor 11102, a fingerprint sensor 11103, and a temperature sensor 11104. Mobile terminal 110 may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors.
Fig. 14 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the android system is divided into four layers, an application layer, an application framework layer, an android runtime (android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 14, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications. The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 14, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, pictures, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the mobile terminal 110. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the communication terminal vibrates, and an indicator light flashes.
The android runtime comprises a core library and a virtual machine. The android runtime is responsible for scheduling and management of the android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still picture files, etc. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, picture rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
An embodiment of the present application provides a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium runs on a computer, the computer is enabled to execute an image display method of a mobile terminal provided in the foregoing embodiment, for example, the method shown in fig. 2, fig. 3, fig. 10, or fig. 11.
Embodiments of the present application further provide a computer program product including instructions, which, when the computer program product runs on a computer, causes the computer to execute the image display method of the mobile terminal provided in the above method embodiments, for example, the method shown in fig. 2, fig. 3, fig. 10, or fig. 11.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A mobile terminal, characterized in that the mobile terminal comprises a processor and an electronic ink screen; the processor is configured to:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
the electronic ink screen is used for displaying the target image.
2. The mobile terminal of claim 1, wherein the processor is further configured to:
detecting whether the application interface to be displayed on the electronic ink screen comprises the target image or not;
and if the fact that the target image is included in the application interface to be displayed of the electronic ink screen is detected, acquiring a gray image of the target image to be displayed of the electronic ink screen.
3. The mobile terminal of claim 2, wherein the processor is configured to:
acquiring interface information of the application interface, wherein the interface information comprises: package name and class name of the application interface;
if the interface information belongs to a target interface information set, determining that an application interface to be displayed on the electronic ink screen comprises a target image;
and if the interface information does not belong to the target interface information set, determining that the application interface to be displayed of the electronic ink screen does not include the target image.
4. The mobile terminal of claim 2, wherein the processor is configured to:
acquiring interface layout information of the application interface;
if the application interface is determined to comprise the image of the target shape based on the interface layout information, detecting whether the image of the target shape is the target image;
if the image of the target shape is determined to be the target image, determining that an application interface to be displayed on the electronic ink screen comprises the target image;
and if the image of the target shape is determined not to be the target image, determining that the application interface to be displayed on the electronic ink screen does not include the target image.
5. A mobile terminal, characterized in that the mobile terminal comprises a processor and an electronic ink screen; the processor is configured to:
if the application interface to be displayed on the electronic ink screen comprises a two-dimensional code image, acquiring a gray image of the two-dimensional code image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
the electronic ink screen is used for displaying the two-dimensional code image.
6. A mobile terminal, characterized in that the mobile terminal comprises a processor and an electronic ink screen; the processor is configured to:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the mean value of the initial gray values of the screen pixels used for displaying the target image in the electronic ink screen is smaller than the mean value threshold, determining whether the initial gray values of the screen pixels are smaller than the gray value threshold;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
the electronic ink screen is used for displaying the target image.
7. The image display method of the mobile terminal is characterized in that the mobile terminal comprises an electronic ink screen; the method comprises the following steps:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
and the electronic ink screen displays the target image.
8. The method of claim 7, wherein prior to obtaining the grayscale image of the target image to be displayed by the electronic ink screen, the method further comprises:
detecting whether the application interface to be displayed on the electronic ink screen comprises the target image or not;
the acquiring of the gray level image of the target image to be displayed on the electronic ink screen includes:
and if the fact that the target image is included in the application interface to be displayed of the electronic ink screen is detected, acquiring a gray image of the target image to be displayed of the electronic ink screen.
9. The image display method of the mobile terminal is characterized in that the mobile terminal comprises an electronic ink screen; the method comprises the following steps:
if the application interface to be displayed on the electronic ink screen comprises a two-dimensional code image, acquiring a gray image of the two-dimensional code image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
and the electronic ink screen displays the two-dimensional code image.
10. The image display method of the mobile terminal is characterized in that the mobile terminal comprises an electronic ink screen; the method comprises the following steps:
acquiring a gray image of a target image to be displayed on the electronic ink screen;
determining an initial gray value of a screen pixel used for displaying the target image in the electronic ink screen according to the gray image;
if the mean value of the initial gray values of the screen pixels used for displaying the target image in the electronic ink screen is smaller than the mean value threshold, determining whether the initial gray values of the screen pixels are smaller than the gray value threshold;
if the initial gray value of the screen pixel is greater than or equal to the gray value threshold, adjusting the gray value of the screen pixel to a first target gray value; if the initial gray value of the screen pixel is smaller than the gray value threshold, adjusting the gray value of the screen pixel to a second target gray value; wherein the first target gray value is greater than the gray value threshold, and the second target gray value is less than the gray value threshold;
and the electronic ink screen displays the target image.
CN202010140952.9A 2020-03-03 2020-03-03 Mobile terminal and image display method thereof Active CN111343339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010140952.9A CN111343339B (en) 2020-03-03 2020-03-03 Mobile terminal and image display method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010140952.9A CN111343339B (en) 2020-03-03 2020-03-03 Mobile terminal and image display method thereof

Publications (2)

Publication Number Publication Date
CN111343339A true CN111343339A (en) 2020-06-26
CN111343339B CN111343339B (en) 2021-07-23

Family

ID=71187187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010140952.9A Active CN111343339B (en) 2020-03-03 2020-03-03 Mobile terminal and image display method thereof

Country Status (1)

Country Link
CN (1) CN111343339B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184595A (en) * 2020-10-23 2021-01-05 青岛海信移动通信技术股份有限公司 Mobile terminal and image display method thereof
CN112925596A (en) * 2021-02-25 2021-06-08 青岛海信移动通信技术股份有限公司 Mobile terminal and display method of display object thereof
CN113360122A (en) * 2021-04-14 2021-09-07 青岛海信移动通信技术股份有限公司 Mobile terminal and text display method thereof
CN113589980A (en) * 2021-07-06 2021-11-02 青岛海信移动通信技术股份有限公司 Interface adjusting method of ink screen and terminal equipment
CN114067758A (en) * 2020-08-05 2022-02-18 青岛海信移动通信技术股份有限公司 Mobile terminal and image display method thereof
CN115277940A (en) * 2022-07-13 2022-11-01 青岛海信移动通信技术股份有限公司 Notification message prompting method and device and computer readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110061312A (en) * 2009-12-01 2011-06-09 삼성전자주식회사 Image forming apparatus, host apparatus and security copy method thereof
US20150090792A1 (en) * 2013-09-29 2015-04-02 Founder Mobile Media Technology (Beijing) Co., Ltd. System for decoding two dimensional code and method thereof
US20150269404A1 (en) * 2012-12-12 2015-09-24 Tencent Technology (Shenzhen) Company Limited Method for Performing Optimization Process on Two-dimension Code Picture and Mobile Terminal
US20180137321A1 (en) * 2015-07-23 2018-05-17 Fujian Landi Commercial Equipment Co., Ltd. Method and system for decoding two-dimensional code using weighted average gray-scale algorithm
CN108073964A (en) * 2016-11-18 2018-05-25 苏州码蛋信息科技有限公司 A kind of perspective two-dimensional code generation method and device
CN109101856A (en) * 2018-09-25 2018-12-28 广东工业大学 A kind of image in 2 D code recognition methods and device
CN109145913A (en) * 2018-07-13 2019-01-04 江苏大学 A kind of non-homogeneous background discrete phase Binary Sketch of Grey Scale Image processing method
CN109191384A (en) * 2018-07-04 2019-01-11 青岛海信移动通信技术股份有限公司 Image processing method, device, mobile terminal and storage medium based on ink screen
CN110348264A (en) * 2019-07-04 2019-10-18 北京电子工程总体研究所 A kind of QR image in 2 D code bearing calibration and system
CN110570380A (en) * 2019-09-12 2019-12-13 京东方科技集团股份有限公司 Image processing method and device for electronic ink screen and electronic ink screen
CN110633592A (en) * 2018-06-25 2019-12-31 视联动力信息技术股份有限公司 Image processing method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110061312A (en) * 2009-12-01 2011-06-09 삼성전자주식회사 Image forming apparatus, host apparatus and security copy method thereof
US20150269404A1 (en) * 2012-12-12 2015-09-24 Tencent Technology (Shenzhen) Company Limited Method for Performing Optimization Process on Two-dimension Code Picture and Mobile Terminal
US20150090792A1 (en) * 2013-09-29 2015-04-02 Founder Mobile Media Technology (Beijing) Co., Ltd. System for decoding two dimensional code and method thereof
US20180137321A1 (en) * 2015-07-23 2018-05-17 Fujian Landi Commercial Equipment Co., Ltd. Method and system for decoding two-dimensional code using weighted average gray-scale algorithm
CN108073964A (en) * 2016-11-18 2018-05-25 苏州码蛋信息科技有限公司 A kind of perspective two-dimensional code generation method and device
CN110633592A (en) * 2018-06-25 2019-12-31 视联动力信息技术股份有限公司 Image processing method and device
CN109191384A (en) * 2018-07-04 2019-01-11 青岛海信移动通信技术股份有限公司 Image processing method, device, mobile terminal and storage medium based on ink screen
CN109145913A (en) * 2018-07-13 2019-01-04 江苏大学 A kind of non-homogeneous background discrete phase Binary Sketch of Grey Scale Image processing method
CN109101856A (en) * 2018-09-25 2018-12-28 广东工业大学 A kind of image in 2 D code recognition methods and device
CN110348264A (en) * 2019-07-04 2019-10-18 北京电子工程总体研究所 A kind of QR image in 2 D code bearing calibration and system
CN110570380A (en) * 2019-09-12 2019-12-13 京东方科技集团股份有限公司 Image processing method and device for electronic ink screen and electronic ink screen

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114067758A (en) * 2020-08-05 2022-02-18 青岛海信移动通信技术股份有限公司 Mobile terminal and image display method thereof
CN114067758B (en) * 2020-08-05 2022-09-13 青岛海信移动通信技术股份有限公司 Mobile terminal and image display method thereof
CN112184595A (en) * 2020-10-23 2021-01-05 青岛海信移动通信技术股份有限公司 Mobile terminal and image display method thereof
CN112184595B (en) * 2020-10-23 2023-03-14 青岛海信移动通信技术股份有限公司 Mobile terminal and image display method thereof
CN112925596A (en) * 2021-02-25 2021-06-08 青岛海信移动通信技术股份有限公司 Mobile terminal and display method of display object thereof
CN112925596B (en) * 2021-02-25 2022-11-15 青岛海信移动通信技术股份有限公司 Mobile terminal and display method of display object thereof
CN113360122A (en) * 2021-04-14 2021-09-07 青岛海信移动通信技术股份有限公司 Mobile terminal and text display method thereof
CN113589980A (en) * 2021-07-06 2021-11-02 青岛海信移动通信技术股份有限公司 Interface adjusting method of ink screen and terminal equipment
CN115277940A (en) * 2022-07-13 2022-11-01 青岛海信移动通信技术股份有限公司 Notification message prompting method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN111343339B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN111343339B (en) Mobile terminal and image display method thereof
CN111508039B (en) Word processing method of ink screen and communication terminal
CN112184595B (en) Mobile terminal and image display method thereof
CN112925596B (en) Mobile terminal and display method of display object thereof
CN108734662B (en) Method and device for displaying icons
CN111193874B (en) Image display parameter adjusting method and mobile terminal
CN113038141B (en) Video frame processing method and electronic equipment
CN114449243A (en) White balance method and terminal equipment
CN114489429B (en) Terminal equipment, long screen capturing method and storage medium
CN114063945B (en) Mobile terminal and image display method thereof
CN111399955B (en) Mobile terminal and interface display method of application program thereof
CN114067758B (en) Mobile terminal and image display method thereof
CN114863432A (en) Terminal device, contrast adjusting method, device and medium
CN114639358A (en) Ink screen refreshing method, terminal device, storage medium and program product
CN115033199A (en) Mobile terminal and image display method thereof
CN112004006A (en) Mobile medical terminal and brightness adjusting method thereof
CN113760164A (en) Display device and response method of control operation thereof
CN113179362B (en) Electronic device and image display method thereof
CN111988530B (en) Mobile terminal and photographing method thereof
CN111414142B (en) Mobile terminal and display method of application interface thereof
CN113655948B (en) Control method of terminal equipment and terminal equipment
CN115277937B (en) Backlog display method and mobile terminal
CN113255644B (en) Display device and image recognition method thereof
CN115277940B (en) Notification message prompting method and device and computer readable storage medium
CN115512673B (en) Light intensity value adjusting method, device, terminal equipment and 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
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder