CN111414142B - Mobile terminal and display method of application interface thereof - Google Patents

Mobile terminal and display method of application interface thereof Download PDF

Info

Publication number
CN111414142B
CN111414142B CN202010177191.4A CN202010177191A CN111414142B CN 111414142 B CN111414142 B CN 111414142B CN 202010177191 A CN202010177191 A CN 202010177191A CN 111414142 B CN111414142 B CN 111414142B
Authority
CN
China
Prior art keywords
display screen
theme
display
theme file
display element
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010177191.4A
Other languages
Chinese (zh)
Other versions
CN111414142A (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 CN202010177191.4A priority Critical patent/CN111414142B/en
Publication of CN111414142A publication Critical patent/CN111414142A/en
Application granted granted Critical
Publication of CN111414142B publication Critical patent/CN111414142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a mobile terminal and a display method of an application interface thereof, and belongs to the technical field of electronics. The mobile terminal comprises a first display screen, a second display screen, a processor and a memory, wherein the first display screen and the second display screen are oppositely arranged on two sides of the mobile terminal, the first display screen is a color display screen, and the second display screen is a black-and-white ink screen; the memory is used for storing the first theme file and the second theme file; the processor is used for loading the first theme file from the memory and loading the second theme file from the memory; the first display screen is used for displaying an application interface according to the first theme file; the second display screen is used for displaying an application interface according to the second theme file. According to the application, the application interfaces can be displayed by loading different theme files for different display screen mobile terminals, so that the definition of the application interfaces displayed by the black-and-white ink screen is improved, and the display effect of the application interfaces displayed by the black-and-white ink screen is further improved.

Description

Mobile terminal and display method of application interface thereof
Technical Field
The application relates to the technical field of electronics, in particular to a mobile terminal and a display method of an application interface of the mobile terminal.
Background
Currently, a theme file may be stored in the mobile terminal, where the theme file is adapted to a color display screen of the mobile terminal, and the mobile terminal may display an application interface on the color display screen according to the theme file.
However, for a mobile terminal with a black-and-white ink screen, if an application interface is directly displayed on the black-and-white ink screen based on the theme file, the definition of the application interface is low, and the display effect of the application interface displayed on the black-and-white ink screen is poor.
Disclosure of Invention
The embodiment of the application provides a mobile terminal and a display method of an application interface thereof, which can solve the problem of poor effect of the application interface displayed by a black-and-white ink screen in the related technology. The technical scheme is as follows:
in one aspect, there is provided a mobile terminal including: the mobile terminal comprises a first display screen, a second display screen, a processor and a memory, wherein the first display screen and the second display screen are oppositely arranged on two sides of the mobile terminal, the first display screen is a color display screen, and the second display screen is a black-and-white ink screen;
the memory is used for storing a first theme file and a second theme file, the first theme file comprises a first display element in an application interface and color values of the first display element, the second theme file comprises a second display element in the application interface and gray values of the second display element, and the contents of the second display element and the first display element are the same;
The processor is used for loading the first theme file from the memory and loading the second theme file from the memory;
the first display screen is used for displaying the application interface according to the first theme file;
and the second display screen is used for displaying the application interface according to the second theme file.
Optionally, the memory is further configured to store an identifier of a theme attribute, where the identifier of the theme attribute is used to indicate that the currently loaded theme file is the first theme file or the second theme file;
the processor is further configured to:
responding to a starting instruction or a first switching instruction, generating a first identifier, wherein the first identifier is used for indicating a theme file to be loaded as the first theme file, and the first switching instruction is used for indicating a display screen in a display state to be switched from the second display screen to the first display screen;
acquiring the identification of the theme attribute from the memory;
if the first identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the first identifier;
and loading the first theme file from the memory according to the identification of the theme attribute.
Optionally, the memory is further configured to store an identifier of a theme attribute, where the identifier of the theme attribute is used to indicate that the currently loaded theme file is the first theme file or the second theme file;
the processor is configured to:
responding to a second switching instruction, generating a second identifier, wherein the second identifier is used for indicating a theme file to be loaded as the second theme file, and the second switching instruction is used for indicating that a display screen in a display state is switched from the first display screen to the second display screen;
acquiring the identification of the theme attribute from the memory;
if the second identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the first identifier;
and loading the second theme file from the memory according to the identification of the theme attribute.
Optionally, each of the first display element and the second display element includes at least one of a text and a picture.
In another aspect, there is provided a mobile terminal including: the mobile terminal comprises a first display screen, a second display screen, a processor and a memory, wherein the first display screen and the second display screen are oppositely arranged on two sides of the mobile terminal, the first display screen is a color display screen, and the second display screen is a black-and-white ink screen;
The memory is used for storing a first theme file and a second theme file, the first theme file comprises a first display element in an application interface and color values of the first display element, the second theme file comprises a second display element in the application interface and gray values of the second display element, and the contents of the second display element and the first display element are the same;
the processor is used for responding to a starting instruction or a first switching instruction, loading the first theme file from the memory, and responding to a second switching instruction, loading the second theme file from the memory, wherein the first switching instruction is used for indicating that a display screen in a display state is switched from the second display screen to the first display screen, and the second switching instruction is used for indicating that the display screen in the display state is switched from the first display screen to the second display screen;
the first display screen is used for displaying the application interface according to the first theme file;
and the second display screen is used for displaying the application interface according to the second theme file.
In still another aspect, a display method of an application interface is provided and applied to a mobile terminal, where the mobile terminal includes a first display screen and a second display screen, where the first display screen and the second display screen are oppositely disposed on two sides of the mobile terminal, and the first display screen is a color display screen, and the second display screen is a black-white ink screen; the method comprises the following steps:
Loading a first theme file, wherein the first theme file comprises a first display element in an application interface and a color value of the first display element;
displaying the application interface on the first display screen according to the first theme file;
loading the second theme file, wherein the second theme file comprises a second display element and gray values of the second display element in the application interface, and the contents of the second display element and the first display element are the same;
and displaying the application interface on the second display screen according to the second theme file.
Optionally, the loading the first theme file includes:
responding to a starting instruction or a first switching instruction, generating a first identifier, wherein the first switching instruction is used for indicating that a display screen in a display state is switched from the second display screen to the first display screen, and the first identifier is used for indicating that a theme file to be loaded is the first theme file;
acquiring an identifier of a theme attribute, wherein the identifier of the theme attribute is used for indicating that a currently loaded theme file is the first theme file or the second theme file;
if the first identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the first identifier;
And loading the first theme file according to the identification of the theme attribute.
Optionally, the loading the second theme file includes:
responding to a second switching instruction, generating a second identifier, wherein the second identifier is used for indicating a theme file to be loaded as the second theme file, and the second switching instruction is used for indicating that a display screen in a display state is switched from the first display screen to the second display screen;
acquiring an identifier of a theme attribute, wherein the identifier of the theme attribute is used for indicating that a currently loaded theme file is the first theme file or the second theme file;
if the second identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the second identifier;
and loading the second theme file according to the identification of the theme attribute.
Optionally, each of the first display element and the second display element includes at least one of a text and a picture.
In still another aspect, a display method of an application interface is provided and applied to a mobile terminal, where the mobile terminal includes a first display screen and a second display screen, where the first display screen and the second display screen are oppositely disposed on two sides of the mobile terminal, and the first display screen is a color display screen, and the second display screen is a black-white ink screen; the method comprises the following steps:
Responding to a starting instruction or a first switching instruction, loading a first theme file, wherein the first switching instruction is used for indicating that a display screen in a display state is switched from a second display screen to the first display screen, and the first theme file comprises a first display element in an application interface and a color value of the first display element;
displaying the application interface on the first display screen according to the first theme file;
loading a second theme file in response to a second switching instruction, wherein the second switching instruction is used for indicating that a display screen in a display state is switched from the first display screen to the second display screen, the second theme file comprises a second display element in the application interface and gray values of the second display element, and the contents of the second display element and the first display element are the same;
and displaying the application interface on the second display screen according to the second theme file.
In yet another aspect, a computer readable storage medium is provided, in which instructions are stored which, when run on a computer, cause the computer to perform a display method of an application interface as described above.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
the embodiment of the application provides a mobile terminal and a display method of an application interface thereof. As the application interfaces can be displayed by loading different theme files for different display screen mobile terminals, the definition of the second display element on the application interface displayed on the second display screen is improved, and the display effect of the application interface displayed by the black-and-white ink screen is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for displaying an application interface according to an embodiment of the present application;
FIG. 3 is a flowchart of another method for displaying an application interface according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a call setup interface displayed on a black and white ink screen in accordance with the related art;
fig. 5 is a schematic diagram of a call setup interface displayed in a black-and-white ink screen according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an application information interface displayed on a black and white ink screen in the related art;
FIG. 7 is a schematic diagram of an application information interface displayed in a black and white ink screen according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a contact selection interface displayed on a black and white ink screen in the related art;
FIG. 9 is a schematic diagram of a contact selection interface displayed on an electronic ink display screen provided by an embodiment of the present application;
FIG. 10 is a flowchart illustrating a process for updating the identity of a theme attribute according to an embodiment of the present application;
FIG. 11 is a flowchart illustrating an application interface according to an embodiment of the present application;
FIG. 12 is a flowchart of a method for displaying an application interface according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application;
Fig. 14 is a schematic structural diagram of still another mobile terminal according to an embodiment of the present application;
fig. 15 is a software structure block diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 1, the mobile terminal 110 may include a first display screen and a second display screen. The first display screen and the second display screen are disposed on two opposite sides of the mobile terminal 110, and the first display screen may be a color display screen, and the second display screen may be a black-and-white ink screen.
Alternatively, the mobile terminal 110 may be a smart phone or a tablet computer. The color display may be a liquid crystal display or an organic light-emitting diode (OLED) display.
Fig. 2 is a flowchart of a display method of an application interface according to an embodiment of the present application. The display method of the application interface may be applied to the mobile terminal 110 shown in fig. 1, and the mobile terminal 110 may include a first display screen and a second display screen. The first display screen and the second display screen are oppositely arranged on two sides of the mobile terminal, the first display screen can be a color display screen, and the second display screen can be a black-and-white ink screen. As shown in fig. 2, the method may include:
Step 201, loading a first theme file.
In the embodiment of the application, the mobile terminal can be pre-stored with the first theme file. When the mobile terminal displays the application interface through the first display screen, the prestored first theme file can be loaded. The first theme file may include a first display element in the application interface and a color value of the first display element.
Step 202, displaying an application interface on a first display screen according to the first theme file.
After loading the first theme file, the mobile terminal may display the application interface on the first display screen according to the first theme file, where the color of the first display element on the application interface displayed on the first display screen may be a color. For example, the first display element may be blue in color.
Step 203, loading a second theme file.
In the embodiment of the application, the mobile terminal can also be pre-stored with a second theme file. The second theme file may include a second display element on the application interface and a gray value of the second display element. The second display element is the same as the first display element in content. And, each of the first display element and the second display element includes at least one of text and a picture.
If the second display element includes a picture, the picture included in the second theme file is a gray scale. If the second display element includes a text, the second theme file includes a gray value of the text.
And 204, displaying an application interface on a second display screen according to the second theme file.
After loading the second theme file, the mobile terminal can display an application interface on the second display screen according to the second theme file.
In summary, the embodiment of the application provides a display method of an application interface, where the display method of the application interface may display the application interface on a first display screen according to a loaded first theme file, and display the application interface on a second display screen according to a loaded second theme file. The application interfaces can be displayed by loading different theme files for different display screen mobile terminals, so that the definition of the application interfaces displayed by the black-and-white ink screen is improved, and the display effect of the application interfaces displayed by the black-and-white ink screen is further improved.
Fig. 3 is a flowchart of another method for displaying an application interface according to an embodiment of the present application. The display method of the application interface may be applied to the mobile terminal 110 shown in fig. 1, and the mobile terminal 110 may include a first display screen and a second display screen. The first display screen and the second display screen are disposed on two opposite sides of the mobile terminal 110, and the first display screen may be a color display screen, and the second display screen may be a black-and-white ink screen. As shown in fig. 3, the method may include:
Step 301, a first identifier is generated in response to a power-on instruction or a first switching instruction.
In the embodiment of the present application, the first identifier is used to indicate that the theme file to be loaded is a first theme file. Since the mobile terminal is usually defaulted to display the application interface on the first display screen after being powered on. The mobile terminal may generate the first identification in response to a power-on instruction. Or, the mobile terminal may generate the first identifier according to the received first switching instruction. The first switching instruction is used for indicating that the display screen in the display state is switched from the second display screen to the first display screen. By way of example, the first flag may be normal (normal).
In the embodiment of the application, the mobile terminal is provided with a startup key. After detecting the pressing operation of the user on the start key, the mobile terminal can generate a start instruction, and can respond to the start instruction to generate a first identifier.
Alternatively, a screen switch button may be provided on a navigation bar of the mobile terminal. When the mobile terminal displays the application interface through the second display screen, if the clicking operation of the user on the screen switching button is detected, a first switching instruction can be generated, and a first identifier can be generated in response to the first switching instruction.
Step 302, obtaining the identification of the theme attribute.
The mobile terminal may have stored therein an identification of the subject matter attribute. After generating the first identifier, the mobile terminal may acquire an identifier of the stored theme attribute, where the identifier of the theme attribute may be used to indicate that the currently loaded theme file is the first theme file or the second theme file. The identification of the subject matter attribute may be an identification of a last stored subject matter attribute prior to generating the first identification.
Alternatively, the identification of the theme attribute may be the first identification or the second identification. The first identifier may be normal and the second identifier may be electronic ink (eink). The theme property may also be referred to as a user interface mode (user interface mode).
Step 303, if the first identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute to the first identifier.
After the mobile terminal obtains the identifier of the theme attribute, it may detect whether the identifier of the theme attribute is the same as the first identifier, and if the identifier of the theme attribute is different from the first identifier, it indicates that the display screen currently in the display state is the first display screen, then the mobile terminal may update the identifier of the theme attribute to the first identifier, store the identifier of the theme attribute, and execute step 304. If the identification of the theme attribute is the same as the first identification, the display screen in the current display state is the second display screen, so that the mobile terminal can keep the identification of the theme attribute unchanged.
For example, if the first identifier is normal and the identifier of the theme attribute is eink, the mobile terminal may update the identifier of the theme attribute to normal and store the identifier of the theme attribute normal because the identifier of the theme attribute is different from the first identifier normal. If the first identifier is normal and the identifier of the theme attribute is normal, the mobile terminal may keep the identifier of the theme attribute unchanged because the identifier of the theme attribute is the same as the first identifier normal.
Step 304, loading the first theme file according to the identification of the theme attribute.
In the embodiment of the application, the mobile terminal is pre-stored with the first theme file and the corresponding relation between the mark of the theme attribute and the theme file. After updating the identifier of the theme attribute to the first identifier, the mobile terminal may determine a first theme file from the correspondence according to the identifier of the theme attribute, and load the first theme file. The first theme file may include a first display element in the application interface and a color value of the first display element. The first display element may include at least one of text and pictures.
For example, if the correspondence is shown in table 1, if the identifier of the theme attribute is normal, the mobile terminal may determine, from table 1, that the theme file corresponding to the identifier normal of the theme attribute is the first theme file according to the identifier normal of the theme attribute, and then the mobile terminal may load the first theme file.
TABLE 1
Identification of topic attributes Theme file
normal First theme file
eink Second theme file
Optionally, if the first display element includes a picture, the name of the first theme file may be a drawable (drapable), the first theme file may include the picture, and the picture may be a color picture. If the first display element includes text, the name of the first theme file may be a value (value), and the first theme file may include a color value of the text, for example, the color value may be a Red Green Blue (RGB) color value. If the first display element includes a picture and a text, the first theme file may include a color value and a picture of the text, and the picture may be a color picture. For example, the colors of the picture and text may both be blue.
Step 305, displaying an application interface on a first display screen according to the first theme file.
After loading the first theme file, the mobile terminal can display the application interface on the first display screen according to the first theme file, wherein the color of the first display element on the application interface displayed on the first display screen is color.
For example, if the first display element includes a picture and a text, and the first theme file includes a color value of the text and the picture, the mobile terminal may display the picture and the text in the application interface on the first display screen according to the color value of the text and the picture.
In the embodiment of the application, the mobile terminal detects whether the mark of the theme attribute is the same as the first mark, and updates the mark of the theme attribute to the first mark when the mark of the theme attribute is determined to be different from the first mark, so that the display screen in the display state is ensured to be actually switched from the second display screen to the first display screen, and the reliability of loading the first theme file is improved.
Step 306, in response to the second switching instruction, generates a second identifier.
The second identifier is used for indicating that the theme file to be loaded is a second theme file. And the mobile terminal can generate a second switching instruction if detecting the click operation of the user on the screen switching button in the process of displaying the application interface on the first display screen according to the first theme file, and can generate a second identifier in response to the second switching instruction.
The second switching instruction is used for indicating the display screen of the mobile terminal to be switched from the first display screen to the second display screen.
Step 307, obtain the identification of the theme attribute.
The mobile terminal stores the identification of the theme attribute. After the mobile terminal generates the second identifier, the identifier of the stored theme attribute may be obtained. The identity of the subject matter attribute is the identity of the last stored subject matter attribute before the second identity is generated. I.e. the identity of the subject matter attribute is the identity updated in step 303. By way of example, the identification of the subject property may be normal.
Step 308, if the second identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute to the second identifier.
After acquiring the identifier of the theme attribute, the mobile terminal may detect whether the identifier of the theme attribute is the same as the second identifier. If the identifier of the theme attribute is different from the second identifier, which indicates that the display screen currently in the display state is the second display screen, the mobile terminal may update the identifier of the theme attribute to the second identifier, store the identifier of the theme attribute, and execute step 309. If the identification of the theme attribute is the same as the second identification, the display screen in the current display state is the first display screen, so that the mobile terminal can keep the identification of the theme attribute unchanged. I.e. the mobile terminal still displays the application interface on the first display screen according to the first theme file.
For example, if the second identifier is a rink and the identifier of the theme attribute is a normal, the mobile terminal may update the identifier of the theme attribute to be a rink and store the identifier of the theme attribute in the rink because the identifier of the theme attribute is different from the second identifier rink.
Step 309, loading a second theme file according to the identification of the theme attribute.
In the embodiment of the application, the mobile terminal is pre-stored with the second theme file. After updating the identifier of the theme attribute to the second identifier, the mobile terminal may determine, according to the identifier of the theme attribute, a second theme file from the correspondence between the identifier of the theme attribute and the theme file, and load the second theme file.
The second theme file comprises a second display element in the application interface and gray values of the second display element. The second display element is the same as the first display element in content, i.e., the second display element is the same as the first display element in other properties except for color. And, each of the first display element and the second display element includes at least one of text and a picture. For example, if the second display element includes a picture, the picture included in the second theme file is a gray scale. If the second display element includes a text, the second theme file includes a gray value of the text.
For example, if the first display element and the second display element both include elliptical pictures, the two elliptical pictures are different in color, but identical in shape and size. If the second display element and the first display element both include the text "stop", the colors of the two text are different, but the font and the font size are identical.
For example, if the identifier of the theme attribute is a henk, the mobile terminal may determine, according to the identifier of the theme attribute, from table 1, that the theme file corresponding to the identifier of the theme attribute is a second theme file, and may load the second theme file.
Optionally, if the second display element includes a picture, the name of the second theme file may be drapable-sink, and the second theme file may include the picture, where the picture is a gray scale. If the second display element includes text, the name of the first theme file may be value, and the second theme file may include a gray value of the text. If the second display element includes a picture and a text, the second theme file may include a gray value and a picture of the text, and the picture is a gray image.
Optionally, if the first display element includes a first picture, the second display element includes a second picture, and contents of the first picture and the second picture are the same. The gray value of each pixel in the second picture in the second theme file may be determined based on the gray value of the pixel at the same position in the first picture in the first theme file. And if the gray value of a certain pixel in the first picture in the first theme file is within the first gray value range, the gray value of a pixel in the second picture in the second theme file at the same position may be the gray lower limit value. If the gray value of a certain pixel in the first picture in the first theme file is within the second gray value range, the gray value of a pixel in the second picture in the second theme file at the same position may be the gray upper limit value.
Wherein the upper limit of the first gray value range may be smaller than the lower limit of the second gray value range. For example, the first gray value range may be [0, 122], and the gray lower limit value may be 0. The second gray value range may be [123, 255], and the gray upper limit value may be 255.
If the first display element comprises a first text, the second display element comprises a second text, and the contents of the first text and the second text are the same. The gray value of the second text in the second theme file may be determined according to the gray value corresponding to the color value of the first text in the first theme file. If the gray value corresponding to the color value of the first text in the first theme file is within the first gray value range, the gray value of the second text in the second theme file may be a gray lower limit value. If the gray value corresponding to the color value of the first text in the first theme file is within the second gray value range, the gray value of the second text in the second theme file may be the gray upper limit value.
The contrast between the color of the second display element and the background image of the application interface displaying the second display element is increased by the method, so that the definition of the second display element displayed on the second display screen is higher than that of the first display element displayed on the second display screen, the definition of the second display element displayed on the application interface displayed on the second display screen is improved, and the display effect of the application interface displayed on the black-white ink screen is improved.
And 310, displaying an application interface on a second display screen according to the second theme file.
After loading the second theme file, the mobile terminal can display the application interface on the second display screen according to the second theme file.
For example, if the second display element includes a picture and a text, and the second theme file includes the picture and the text, the mobile terminal may display the picture and the text in the application interface on the second display screen according to the gray value of the text and the picture.
In the embodiment of the present application, taking the application interface as a call setting interface as an example, fig. 4 is a schematic diagram of a call setting interface displayed on a black-and-white ink screen according to the related art. As shown in fig. 4, the call setting interface may include a picture 00 and a picture 01, where the colors of the picture 00 and the picture 01 displayed in the black-and-white ink screen are gray.
Fig. 5 is a schematic diagram of a call setup interface displayed in a black-and-white ink screen according to an embodiment of the present application, where the call setup interface may be displayed by the black-and-white ink screen based on a second theme file loaded by a processor. The second theme file includes a second display element on the call setting interface, where the second display element may include a picture 05 and a picture 06, the picture 05 and the picture 06 are gray-scale images, and gray values of all pixels in the two gray-scale images may be 0. Therefore, as shown in fig. 5, in the call setup interface displayed on the black-and-white ink screen, the colors of the picture 05 and the picture 06 are black.
As can be seen by comparing fig. 4 and fig. 5, since the colors of the picture 05 and the picture 06 in the call setting interface shown in fig. 5 are black, the contrast between the colors of the two pictures and the background color of the call setting interface is larger, and the definition of the picture 05 and the picture 06 displayed in the whole call setting interface is higher.
If the application interface is an application information interface, fig. 6 is a schematic diagram of an application information interface displayed on a black-and-white ink screen in the related art. As shown in fig. 6, the application information interface may include the following first display elements: picture 00, two pictures 02, the text "deactivate" and the text "forced deactivate". Wherein the text "forced stop" is displayed on one picture 02 and the text "deactivated" is displayed on the other picture 02. The color displayed in the black-and-white ink screen for the picture 00, the two pictures 02, the text "deactivate" and the text "force deactivate" is gray.
Fig. 7 is a schematic diagram of an application information interface displayed in a black-and-white ink screen according to an embodiment of the present application. As shown in fig. 7, the application information interface may be displayed by a black and white ink screen based on the second theme file loaded by the processor. The second theme file may include a second display element on the application information interface that may include picture 05, two pictures 07, the text "deactivate" and the text "force stop". The picture 05 and the two pictures 07 are gray level images, the gray level value of all pixel points in each gray level image is 0, and the gray level values of the word "stop" and the word "forced stop" are both 0. Thus, as shown in fig. 7, in the application information interface displayed on the black-and-white ink screen, the colors of the picture 05, the two pictures 07, the text "stop" and the text "forced stop" are all black.
As can be seen from comparing fig. 6 and fig. 7, since the colors of the picture 05, the two pictures 07, the word "stop" and the word "forced stop" in the application information interface shown in fig. 7 are all black, the contrast ratio between the colors of the three pictures and the two words and the background color of the application information interface is larger, and the definition of the picture 05, the two pictures 07, the word "stop" and the word "forced stop" displayed in the whole application information interface is higher.
If the application interface is a contact selection interface, fig. 8 is a schematic diagram of a contact selection interface displayed on a black-and-white ink screen in the related art. As shown in fig. 8, the contact selection interface may include the text "cancel," the text "full select," and three pictures 04. The text "cancel", the text "select all", and the color displayed by the three pictures 04 in the black-and-white ink screen are all gray.
Fig. 9 is a schematic diagram of a contact selection interface displayed on an electronic ink display screen according to an embodiment of the present application. As shown in fig. 9, the contact selection interface may be displayed by a black and white ink screen based on the second theme file loaded by the processor. The second theme file may include a second display element on the contact selection interface that may include three pictures 09, the text "cancel" and the text "full select". The three pictures 09 are gray level diagrams, the gray level values of all pixels in the gray level diagrams are 0, and the gray level values of the words "cancel" and the words "select completely" are all 0. Thus, as shown in fig. 9, in the contact selection interface displayed on the black-and-white ink screen, the colors of the three pictures 09, the text "cancel" and the text "select all" are black.
As can be seen by comparing fig. 8 and 9, since the colors of the three pictures 09, the words "cancel" and the words "fully selected" in the contact selection interface shown in fig. 9 are all black, the contrast ratio between the colors of the three pictures and the two words and the background color of the contact selection interface is larger, and the definition of the three pictures 09, the words "cancel" and the words "fully selected" displayed in the whole contact selection interface is higher.
In an embodiment of the present application, referring to fig. 10, in performing steps 301 to 305, the mobile terminal may invoke a handover interface in the environment product declaration (environmental product declaration, epd) service 120, and then invoke the configuration service 121 to generate a first identifier, and send the generated first identifier to the user interface mode manager (user interface mode manager, UIMM) service 123. The UIMM 123 compares the first identity with the identity of the topic attribute, if not, sends the first identity to an interface manager (AM) service 124, the interface manager service 124 sends the first identity to a resource implementation (resource implement, RI) service 125, the resource implementation service 125 sends the first identity to a first resource manager (AssetManager, AM) service 126, and the first resource manager service 126 updates the identity of the topic attribute to the first identity. Thereafter, the interface manager service 124 may restart the application interface.
Referring to fig. 11, in restarting the application interface, the interface manager service 124 may call an interface (activity) service 127, and call the resource service 128, the first resource manager service 126, and call the second resource manager service 129 through a native (native) function in order to acquire the identity of the theme attribute. And then, by calling a Resource Type (RT) service 130, loading a first theme file according to the identification of the theme attribute, and displaying an application interface on a first display screen according to the first theme file.
Wherein the interface (activity) service 127, the resource service 128, and the first resource manager service 126 have the suffix java. The suffix for the second resource manager service 129 and the resource type service 130 may be.
In the embodiment of the application, the mobile terminal can periodically clear the picture and animation (animation) buffer in the first theme file, so as to ensure the running speed of the mobile terminal.
It should be noted that, in the embodiment of the present application, the mobile terminal may refer to fig. 10 and fig. 11 in the process of executing steps 306 to 310.
It should be further noted that, the sequence of the steps of the display method of the application interface provided by the embodiment of the application can be properly adjusted, and the steps can be deleted according to the situation. For example, steps 301 to 303 may be deleted according to circumstances. Or steps 306 to 308 may be deleted as appropriate. Any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered in the protection scope of the present application, and thus will not be repeated.
In summary, the embodiment of the application provides a display method of an application interface, where the display method of the application interface may display the application interface on a first display screen according to a loaded first theme file, and display the application interface on a second display screen according to a loaded second theme file. Because the application interfaces can be displayed by loading different theme files for different display screen mobile terminals, and the contrast between the color of the second display element and the background image of the application interface displaying the second display element is larger, compared with the related art, the definition of the second display element on the application interface displayed by the black-and-white ink screen is improved, and the display effect of the application interface displayed by the black-and-white ink screen is improved.
Fig. 12 is a flowchart of a display method of another application interface according to an embodiment of the present application. The display method of the application interface may be applied to the mobile terminal 110 shown in fig. 1, and the mobile terminal 110 may include a first display screen and a second display screen. The first display screen and the second display screen are oppositely arranged on two sides of the mobile terminal, the first display screen is a color display screen, and the second display screen is a black-and-white ink screen. As shown in fig. 12, the method may include:
Step 1201, in response to a power-on instruction or a first switching instruction, loads a first theme file.
In an embodiment of the present application, the first theme file includes a first display element in the application interface and a color value of the first display element. Since the mobile terminal is usually defaulted to display the application interface on the first display screen after being powered on. The mobile terminal may thus load the first theme file in response to a power-on instruction. Or, the mobile terminal may load the first theme file according to the received first switching instruction. The first switching instruction is used for indicating that the display screen in the display state is switched from the second display screen to the first display screen.
Step 1202, displaying an application interface on a first display screen according to the first theme file.
After loading the first theme file, the mobile terminal may display the application interface on the first display screen according to the first theme file, where the color of the first display element on the application interface displayed on the first display screen may be a color. For example, the first display element may be blue in color.
Step 1203, responding to the second switching instruction, and loading a second theme file.
And if the mobile terminal detects the click operation of the user on the screen switching button in the process of displaying the application interface on the first display screen according to the first theme file, a second switching instruction can be generated, and the second theme file can be loaded in response to the second switching instruction. The second theme file includes a second display element in the application interface and a gray value of the second display element, and the second display element and the first display element have the same content. And, each of the first display element and the second display element includes at least one of text and a picture.
And if the second display element comprises a picture, the picture included in the second theme file is a gray scale picture. If the second display element includes a text, the second theme file includes a gray value of the text.
And 1204, displaying an application interface on a second display screen according to the second theme file.
After loading the second theme file, the mobile terminal can display an application interface on the second display screen according to the second theme file.
In summary, the embodiment of the application provides a display method of an application interface, where the display method of the application interface may display the application interface on a first display screen according to a loaded first theme file, and display the application interface on a second display screen according to a loaded second theme file. Because the application interfaces can be displayed by loading different theme files for different display screen mobile terminals, and the contrast between the color of the second display element and the background image of the application interface displaying the second display element is larger, compared with the related art, the definition of the second display element on the application interface displayed by the black-and-white ink screen is improved, and the display effect of the application interface displayed by the black-and-white ink screen is improved.
Fig. 13 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application. As shown in fig. 13, the mobile terminal 110 may include a first display 111, a second display 112, a processor 113, and a memory 114. The first display 111 and the second display 112 are disposed on two opposite sides of the mobile terminal 110, and the first display 111 may be a color display, and the second display 112 may be a black-and-white ink screen.
The memory 114 is configured to store a first theme file and a second theme file, where the first theme file includes a first display element in the application interface and color values of the first display element, and the second theme file includes a second display element in the application interface and gray values of the second display element, and the second display element and the first display element have the same content.
The processor 113 is for loading the first theme file from the memory 114 and for loading the second theme file from the memory 114.
The first display 111 is used for displaying an application interface according to a first theme file.
The second display 112 is used to display an application interface according to a second theme file.
Optionally, the memory 114 is further configured to store an identifier of a theme attribute, where the identifier of the theme attribute is used to indicate that the currently loaded theme file is the first theme file or the second theme file.
The processor 113 is further configured to:
and responding to a starting instruction or a first switching instruction, generating a first identifier, wherein the first identifier is used for indicating that the theme file to be loaded is a first theme file, and the first switching instruction is used for indicating that the display screen in a display state is switched from a second display screen to a first display screen.
The identity of the subject matter attribute is retrieved from memory 114.
And if the first identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the first identifier.
And loading the first theme file from the memory according to the identification of the theme attribute.
Optionally, the memory 114 is further configured to store an identifier of a theme attribute, where the identifier of the theme attribute is used to indicate that the currently loaded theme file is the first theme file or the second theme file.
The processor 113 is configured to:
and responding to a second switching instruction, generating a second identifier, wherein the second identifier is used for indicating the theme file to be loaded as a second theme file, and the second switching instruction is used for indicating that the display screen in the display state is switched from the first display screen to the second display screen.
The identity of the subject matter attribute is retrieved from memory 114.
And if the second identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the first identifier.
The second theme file is loaded from the memory 114 according to the identity of the theme properties.
Optionally, each of the first display element and the second display element includes at least one of text and a picture.
In summary, the embodiment of the application provides a mobile terminal, which can display an application interface on a first display screen according to a loaded first theme file and display the application interface on a second display screen according to a loaded second theme file. Because the application interfaces can be displayed by loading different theme files for different display screen mobile terminals, and the contrast between the color of the second display element and the background image of the application interface displaying the second display element is larger, compared with the related art, the definition of the second display element on the application interface displayed by the black-and-white ink screen is improved, and the display effect of the application interface displayed by the black-and-white ink screen is improved.
As shown in fig. 13, the mobile terminal 110 may include a first display 111, a second display 112, a processor 113, and a memory 114, where the first display 111 and the second display 112 are disposed on opposite sides of the mobile terminal 110, and the first display 111 may be a color display, and the second display 112 may be a black-and-white ink screen.
The memory 114 is configured to store a first theme file and a second theme file, where the first theme file includes a first display element in the application interface and color values of the first display element, and the second theme file includes a second display element in the application interface and gray values of the second display element, and the second display element and the first display element have the same content.
The processor 113 is configured to load a first theme file from the memory 114 in response to a power-on instruction or a first switching instruction, and to load a second theme file from the memory 114 in response to a second switching instruction. The first switching instruction is used for indicating that the display screen in the display state is switched from the second display screen to the first display screen, and the second switching instruction is used for indicating that the display screen in the display state is switched from the first display screen to the second display screen.
The first display 111 is used for displaying an application interface according to a first theme file.
The second display 112 is used to display an application interface according to a second theme file.
In summary, the embodiment of the application provides a mobile terminal, which can display an application interface on a first display screen according to a loaded first theme file and display the application interface on a second display screen according to a loaded second theme file. Because the application interfaces can be displayed by loading different theme files for different display screen mobile terminals, and the contrast between the color of the second display element and the background image of the application interface displaying the second display element is larger, compared with the related art, the definition of the second display element on the application interface displayed by the black-and-white ink screen is improved, and the display effect of the application interface displayed by the black-and-white ink screen is improved.
Fig. 14 is a schematic structural diagram of still another mobile terminal according to an embodiment of the present application, as shown in fig. 14, the mobile terminal 110 may include: display unit 140, memory 114, radio Frequency (RF) circuit 150, audio circuit 160, wireless fidelity (wireless fidelity, wi-Fi) module 170, bluetooth module 180, power supply 190, camera 141, processor 113, and the like.
Wherein the camera 141 may be used to capture still pictures or video. 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 (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the processor 113 for conversion into a digital picture signal.
The processor 113 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 114, and calling data stored in the memory 114. In some embodiments, the processor 113 may include one or more processing units; the processor 113 may also integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., and a baseband processor that primarily handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 113. The processor 113 in the present application may run an operating system and an application program, may control the user interface display, and may implement the interface display method of the application program of the mobile terminal according to the embodiment of the present application. In addition, the processor 113 is coupled to an input unit and a display unit 140.
The display unit 140 may be used to receive input numeric or character information, generate signal inputs related to user settings and function control of the mobile terminal 110, and optionally, the display unit 140 may be used to display information input by a user or information provided to a user and a graphical user interface (graphical user interface, GUI) of various menus of the mobile terminal 110. The display unit 140 may include a first display 111 disposed on the front side of the mobile terminal 110 and a second display 112 disposed on the rear side of the mobile terminal. The first display 111 may be configured in the form of a liquid crystal display, a light emitting diode, or the like, and the second display 112 is a black-and-white ink screen. The display unit 140 may be used to display various graphical user interfaces described in the present application.
The display unit 140 includes: a first display 111 and a first touch screen 142 disposed on the front surface of the mobile terminal 110. The first display 111 may be used to display preview pictures. The first touch screen 142 may collect touch operations on or near by a user, such as clicking a button, dragging a scroll box, and the like. The first touch screen 142 may cover the first display screen 111, or the first touch screen 142 may be integrated with the first display screen 111 to implement the input and output functions of the mobile terminal 110, and after integration, the first touch screen may be abbreviated as a first touch screen.
The display unit 140 further includes: a second display 112 and a second touch screen 143 disposed on an opposite side of the mobile terminal 110. The second display 112 may be used to display preview pictures. The second touch screen 143 may collect touch operations on or near the user, such as clicking a button, dragging a scroll box, and the like. The second touch screen 143 may cover the second display screen 112, or the second touch screen 143 may be integrated with the second display screen 112 to implement the input and output functions of the mobile terminal 110, and after integration, the second touch screen may be abbreviated as a second touch screen.
Memory 114 may be used to store software programs and data. The processor 113 performs various functions of the mobile terminal 110 and data processing by running software programs or data stored in the memory 114. The memory 114 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. The memory 114 stores an operating system that enables the mobile terminal 110 to operate. The memory 114 may store an operating system and various application programs, and may also store codes for executing the interface display method of the application program 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 the process of receiving and transmitting information or communication, and may receive downlink data of the base station and then transmit the downlink data to the processor 113 for processing; uplink data may be sent to the base station. Typically, RF circuitry includes, but is not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers, diplexers, and the like.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between the user and mobile terminal 110. The audio circuit 160 may transmit the received electrical signal converted from audio data to the speaker 161, and the speaker 161 converts the electrical signal into a sound signal and outputs the sound signal. 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, which is received by the audio circuit 160 and converted into audio data, which is output to the RF circuit 150 for transmission to, for example, another terminal, or to the memory 114 for further processing. The microphone 162 of the present application may acquire the voice of the user.
Wi-Fi, which is a short-range wireless transmission technology, can help users to send and receive e-mail, browse web pages, access streaming media, etc. through the Wi-Fi module 170, and provides wireless broadband internet access to users.
The bluetooth module 180 is configured to interact with other bluetooth devices having 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 provided with a bluetooth module through the bluetooth module 180, thereby performing data interaction.
The mobile terminal 110 also includes a power supply 190 (e.g., a battery) that provides power to the various components. The power supply may be logically connected to the processor 113 through a power management system, so that functions of managing charging, discharging, power consumption, etc. are implemented 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 for 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. The mobile terminal 110 may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors.
Fig. 15 is a software structure block diagram of a mobile terminal according to an embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages. As shown in fig. 15, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc. The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 15, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire 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 such data accessible to applications. The data may include video, pictures, audio, calls made and received, browsing history and bookmarks, phonebooks, 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, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is operable to provide communication functions for mobile terminal 110. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, 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, a text message is presented in a status bar, a presentation sound is emitted, the communication terminal vibrates, and an indicator light blinks.
an android run includes a core library and virtual machines. android run is responsible for scheduling and management of android systems.
The core library consists of 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. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still picture files, and the like. 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 having instructions stored therein, which when executed on a computer, cause the computer to perform a method for displaying an application interface provided in the above embodiment, for example, a method shown in any one of fig. 2, 3 or 12.
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 for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but rather, the application is to be construed as limited to the appended claims.

Claims (10)

1. A mobile terminal, the mobile terminal comprising: the mobile terminal comprises a first display screen, a second display screen, a processor and a memory, wherein the first display screen and the second display screen are oppositely arranged on two sides of the mobile terminal, the first display screen is a color display screen, and the second display screen is a black-and-white ink screen;
the memory is used for storing a first theme file and a second theme file, the first theme file comprises a first display element and a color value of the first display element in an application interface, the second theme file comprises a second display element and a gray value of the second display element in the application interface, the second display element and the first display element have the same content, the gray value of the second display element is determined based on the gray value corresponding to the color value of the first display element, if the gray value corresponding to the color value of the first display element is in a first gray value range, the gray value of the second display element is a gray lower limit value of the first gray value range, and if the gray value corresponding to the color value of the first display element is in a second gray value range, the gray value of the second display element is a gray upper limit value of the second gray value range, and the upper limit of the first gray value range is smaller than the lower limit of the second gray value range;
The processor is used for loading the first theme file from the memory and loading the second theme file from the memory;
the first display screen is used for displaying the application interface according to the first theme file;
and the second display screen is used for displaying the application interface according to the second theme file.
2. The mobile terminal of claim 1, wherein the memory is further configured to store an identifier of a theme attribute, the identifier of the theme attribute being configured to indicate that a currently loaded theme file is the first theme file or the second theme file;
the processor is further configured to:
responding to a starting instruction or a first switching instruction, generating a first identifier, wherein the first identifier is used for indicating a theme file to be loaded as the first theme file, and the first switching instruction is used for indicating a display screen in a display state to be switched from the second display screen to the first display screen;
acquiring the identification of the theme attribute from the memory;
if the first identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the first identifier;
And loading the first theme file from the memory according to the identification of the theme attribute.
3. The mobile terminal of claim 1, wherein the memory is further configured to store an identifier of a theme attribute, the identifier of the theme attribute being configured to indicate that a currently loaded theme file is the first theme file or the second theme file;
the processor is configured to:
responding to a second switching instruction, generating a second identifier, wherein the second identifier is used for indicating a theme file to be loaded as the second theme file, and the second switching instruction is used for indicating that a display screen in a display state is switched from the first display screen to the second display screen;
acquiring the identification of the theme attribute from the memory;
if the second identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the second identifier;
and loading the second theme file from the memory according to the identification of the theme attribute.
4. A mobile terminal according to any of claims 1 to 3, wherein each of the first display element and the second display element comprises at least one of text and pictures.
5. A mobile terminal, the mobile terminal comprising: the mobile terminal comprises a first display screen, a second display screen, a processor and a memory, wherein the first display screen and the second display screen are oppositely arranged on two sides of the mobile terminal, the first display screen is a color display screen, and the second display screen is a black-and-white ink screen;
the memory is used for storing a first theme file and a second theme file, the first theme file comprises a first display element and a color value of the first display element in an application interface, the second theme file comprises a second display element and a gray value of the second display element in the application interface, the second display element and the first display element have the same content, the gray value of the second display element is determined based on the gray value corresponding to the color value of the first display element, if the gray value corresponding to the color value of the first display element is in a first gray value range, the gray value of the second display element is a gray lower limit value of the first gray value range, and if the gray value corresponding to the color value of the first display element is in a second gray value range, the gray value of the second display element is a gray upper limit value of the second gray value range, and the upper limit of the first gray value range is smaller than the lower limit of the second gray value range;
The processor is used for responding to a starting instruction or a first switching instruction, loading the first theme file from the memory, and responding to a second switching instruction, loading the second theme file from the memory, wherein the first switching instruction is used for indicating that a display screen in a display state is switched from the second display screen to the first display screen, and the second switching instruction is used for indicating that the display screen in the display state is switched from the first display screen to the second display screen;
the first display screen is used for displaying the application interface according to the first theme file;
and the second display screen is used for displaying the application interface according to the second theme file.
6. The display method of the application interface is characterized by being applied to a mobile terminal, wherein the mobile terminal comprises a first display screen and a second display screen, the first display screen and the second display screen are oppositely arranged on two sides of the mobile terminal, the first display screen is a color display screen, and the second display screen is a black-and-white ink screen; the method comprises the following steps:
loading a first theme file, wherein the first theme file comprises a first display element in an application interface and a color value of the first display element;
Displaying the application interface on the first display screen according to the first theme file;
loading a second theme file, wherein the second theme file comprises a second display element and a gray value of the second display element in the application interface, the second display element and the first display element have the same content, the gray value of the second display element is determined based on the gray value corresponding to the color value of the first display element, if the gray value corresponding to the color value of the first display element is located in a first gray value range, the gray value of the second display element is a gray lower limit value of the first gray value range, and if the gray value corresponding to the color value of the first display element is located in a second gray value range, the gray value of the second display element is a gray upper limit value of the second gray value range, and the upper limit of the first gray value range is smaller than the lower limit of the second gray value range;
and displaying the application interface on the second display screen according to the second theme file.
7. The method of claim 6, wherein loading the first theme file comprises:
responding to a starting instruction or a first switching instruction, generating a first identifier, wherein the first switching instruction is used for indicating that a display screen in a display state is switched from the second display screen to the first display screen, and the first identifier is used for indicating that a theme file to be loaded is the first theme file;
Acquiring an identifier of a theme attribute, wherein the identifier of the theme attribute is used for indicating that a currently loaded theme file is the first theme file or the second theme file;
if the first identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the first identifier;
and loading the first theme file according to the identification of the theme attribute.
8. The method of claim 6, wherein loading the second theme file comprises:
responding to a second switching instruction, generating a second identifier, wherein the second identifier is used for indicating a theme file to be loaded as the second theme file, and the second switching instruction is used for indicating that a display screen in a display state is switched from the first display screen to the second display screen;
acquiring an identifier of a theme attribute, wherein the identifier of the theme attribute is used for indicating that a currently loaded theme file is the first theme file or the second theme file;
if the second identifier is different from the identifier of the theme attribute, updating the identifier of the theme attribute into the second identifier;
and loading the second theme file according to the identification of the theme attribute.
9. The method of any one of claims 6 to 8, wherein each of the first display element and the second display element comprises at least one of text and a picture.
10. The display method of the application interface is characterized by being applied to a mobile terminal, wherein the mobile terminal comprises a first display screen and a second display screen, the first display screen and the second display screen are oppositely arranged on two sides of the mobile terminal, the first display screen is a color display screen, and the second display screen is a black-and-white ink screen; the method comprises the following steps:
responding to a starting instruction or a first switching instruction, loading a first theme file, wherein the first switching instruction is used for indicating that a display screen in a display state is switched from a second display screen to the first display screen, and the first theme file comprises a first display element in an application interface and a color value of the first display element;
displaying the application interface on the first display screen according to the first theme file;
a second theme file is loaded in response to a second switching instruction, the second switching instruction is used for indicating that a display screen in a display state is switched from the first display screen to the second display screen, the second theme file comprises a second display element and a gray value of the second display element in the application interface, the second display element and the first display element are the same in content, the gray value of the second display element is determined based on the gray value corresponding to the color value of the first display element, if the gray value corresponding to the color value of the first display element is in a first gray value range, the gray value of the second display element is a gray lower limit value of the first gray value range, and if the gray value corresponding to the color value of the first display element is in a second gray value range, the gray value of the second display element is a gray upper limit value of the second gray value range, and the upper limit of the first gray value range is smaller than the lower limit of the second gray value range;
And displaying the application interface on the second display screen according to the second theme file.
CN202010177191.4A 2020-03-13 2020-03-13 Mobile terminal and display method of application interface thereof Active CN111414142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010177191.4A CN111414142B (en) 2020-03-13 2020-03-13 Mobile terminal and display method of application interface thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010177191.4A CN111414142B (en) 2020-03-13 2020-03-13 Mobile terminal and display method of application interface thereof

Publications (2)

Publication Number Publication Date
CN111414142A CN111414142A (en) 2020-07-14
CN111414142B true CN111414142B (en) 2023-10-03

Family

ID=71494467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010177191.4A Active CN111414142B (en) 2020-03-13 2020-03-13 Mobile terminal and display method of application interface thereof

Country Status (1)

Country Link
CN (1) CN111414142B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102934064A (en) * 2011-06-09 2013-02-13 华为终端有限公司 Theme display method and device thereof
CN105302418A (en) * 2015-11-02 2016-02-03 联想(北京)有限公司 Information processing method and electronic device
CN106210286A (en) * 2016-06-30 2016-12-07 努比亚技术有限公司 Dual-screen mobile terminal parameter adjusting method and device
CN106325796A (en) * 2016-08-18 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Dual-screen electronic terminal screen switching method and system
CN106469038A (en) * 2016-09-26 2017-03-01 南京酷派软件技术有限公司 Display screen changing method based on multi-screen terminal and device
CN106681677A (en) * 2016-12-30 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Screen switching method and device
CN106775543A (en) * 2017-01-19 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of terminal display control method and device
CN106814937A (en) * 2017-02-06 2017-06-09 联想(北京)有限公司 A kind of information configuring methods, device and electronic equipment
CN106843688A (en) * 2017-01-19 2017-06-13 宇龙计算机通信科技(深圳)有限公司 The display screen changing method and device of a kind of intelligent terminal
CN206542462U (en) * 2017-03-29 2017-10-03 张厚浩 A kind of double-screen intelligent mobile phone
CN108021344A (en) * 2017-11-22 2018-05-11 上海龙旗科技股份有限公司 The method and apparatus of main screen of mobile terminal switching
CN108062241A (en) * 2017-12-28 2018-05-22 努比亚技术有限公司 A kind of switching method of display interface, terminal and storage medium
CN109101293A (en) * 2018-08-01 2018-12-28 Oppo(重庆)智能科技有限公司 Theme configuration method and device, electronic equipment, computer readable storage medium
CN109525729A (en) * 2018-11-27 2019-03-26 Oppo(重庆)智能科技有限公司 Theme colors match control method, device, system and computer-readable storage medium
CN109597460A (en) * 2017-09-30 2019-04-09 奥飚 A kind of intelligence double-screen notebook
CN109725865A (en) * 2018-12-29 2019-05-07 努比亚技术有限公司 Screen control display methods, terminal and computer readable storage medium
CN110083423A (en) * 2019-04-22 2019-08-02 努比亚技术有限公司 Interface jump method, terminal and computer readable storage medium
CN110502308A (en) * 2019-08-28 2019-11-26 广州酷狗计算机科技有限公司 Style sheet switching method, device, computer equipment and storage medium
CN110737493A (en) * 2019-09-02 2020-01-31 华为技术有限公司 theme switching method and device

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102934064A (en) * 2011-06-09 2013-02-13 华为终端有限公司 Theme display method and device thereof
CN105302418A (en) * 2015-11-02 2016-02-03 联想(北京)有限公司 Information processing method and electronic device
CN106210286A (en) * 2016-06-30 2016-12-07 努比亚技术有限公司 Dual-screen mobile terminal parameter adjusting method and device
CN106325796A (en) * 2016-08-18 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Dual-screen electronic terminal screen switching method and system
CN106469038A (en) * 2016-09-26 2017-03-01 南京酷派软件技术有限公司 Display screen changing method based on multi-screen terminal and device
CN106681677A (en) * 2016-12-30 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Screen switching method and device
CN106843688A (en) * 2017-01-19 2017-06-13 宇龙计算机通信科技(深圳)有限公司 The display screen changing method and device of a kind of intelligent terminal
CN106775543A (en) * 2017-01-19 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of terminal display control method and device
CN106814937A (en) * 2017-02-06 2017-06-09 联想(北京)有限公司 A kind of information configuring methods, device and electronic equipment
CN206542462U (en) * 2017-03-29 2017-10-03 张厚浩 A kind of double-screen intelligent mobile phone
CN109597460A (en) * 2017-09-30 2019-04-09 奥飚 A kind of intelligence double-screen notebook
CN108021344A (en) * 2017-11-22 2018-05-11 上海龙旗科技股份有限公司 The method and apparatus of main screen of mobile terminal switching
CN108062241A (en) * 2017-12-28 2018-05-22 努比亚技术有限公司 A kind of switching method of display interface, terminal and storage medium
CN109101293A (en) * 2018-08-01 2018-12-28 Oppo(重庆)智能科技有限公司 Theme configuration method and device, electronic equipment, computer readable storage medium
CN109525729A (en) * 2018-11-27 2019-03-26 Oppo(重庆)智能科技有限公司 Theme colors match control method, device, system and computer-readable storage medium
CN109725865A (en) * 2018-12-29 2019-05-07 努比亚技术有限公司 Screen control display methods, terminal and computer readable storage medium
CN110083423A (en) * 2019-04-22 2019-08-02 努比亚技术有限公司 Interface jump method, terminal and computer readable storage medium
CN110502308A (en) * 2019-08-28 2019-11-26 广州酷狗计算机科技有限公司 Style sheet switching method, device, computer equipment and storage medium
CN110737493A (en) * 2019-09-02 2020-01-31 华为技术有限公司 theme switching method and device

Also Published As

Publication number Publication date
CN111414142A (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN111508039B (en) Word processing method of ink screen and communication terminal
CN111343339B (en) Mobile terminal and image display method thereof
CN112925596B (en) Mobile terminal and display method of display object thereof
CN112184595B (en) Mobile terminal and image display method thereof
CN113038141B (en) Video frame processing method and electronic equipment
CN112163033B (en) Mobile terminal and travel list display method thereof
CN111414142B (en) Mobile terminal and display method of application interface thereof
CN111399955B (en) Mobile terminal and interface display method of application program thereof
CN113360122B (en) Mobile terminal and text display method thereof
CN112992082B (en) Electronic equipment and refreshing method of electronic ink screen thereof
CN114067758B (en) Mobile terminal and image display method thereof
CN112799557B (en) Ink screen display control method, terminal and computer readable storage medium
CN114063945B (en) Mobile terminal and image display method thereof
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN115033199A (en) Mobile terminal and image display method thereof
CN113900740A (en) Method and device for loading multiple list data
CN112004006A (en) Mobile medical terminal and brightness adjusting method thereof
CN111479075B (en) Photographing terminal and image processing method thereof
CN117055779B (en) Application interface display method, terminal equipment and storage medium
CN112114885B (en) Terminal, control equipment and service processing method
CN112000411B (en) Mobile terminal and display method of recording channel occupation information thereof
CN113253905B (en) Touch method based on multi-finger operation and intelligent terminal
CN113543366B (en) Mobile terminal and call method, call server and call system thereof
CN112817667A (en) Terminal and control icon display method
CN114827340A (en) Mobile terminal and display method of communication message thereof

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
CB02 Change of applicant information

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

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

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant