CN113282216B - Application program interface display method and device, electronic equipment and storage medium - Google Patents

Application program interface display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113282216B
CN113282216B CN202110632710.6A CN202110632710A CN113282216B CN 113282216 B CN113282216 B CN 113282216B CN 202110632710 A CN202110632710 A CN 202110632710A CN 113282216 B CN113282216 B CN 113282216B
Authority
CN
China
Prior art keywords
display
application program
configuration information
interface
screen
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
CN202110632710.6A
Other languages
Chinese (zh)
Other versions
CN113282216A (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.)
Hefei Xunfei Reading And Writing Technology Co ltd
Original Assignee
Hefei Xunfei Reading And Writing 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 Hefei Xunfei Reading And Writing Technology Co ltd filed Critical Hefei Xunfei Reading And Writing Technology Co ltd
Priority to CN202110632710.6A priority Critical patent/CN113282216B/en
Publication of CN113282216A publication Critical patent/CN113282216A/en
Application granted granted Critical
Publication of CN113282216B publication Critical patent/CN113282216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides an application program interface display method, an application program interface display device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining an application program to be installed; when loading and installing the application program, carrying out reverse engineering treatment on an installation package of the application program to obtain display configuration information of the application program, and carrying out screen display adaptation adjustment on the display configuration information; and displaying the interface of the application program based on the adjusted display configuration information. According to the invention, when the application program is loaded and installed, reverse engineering processing is carried out on the installation package of the application program, so that the display configuration information of the application program is obtained, and screen display adaptation adjustment is carried out on the display configuration information, so that the interface of the application program is displayed based on the adjusted display configuration information, the display and interaction effects of the application program on the E-ink platform are optimized, no adjustment is required for the E-ink platform in the development process by a developer of a third party application program, and the application range is wider.

Description

Application program interface display method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method and apparatus for displaying an application program interface, an electronic device, and a storage medium.
Background
As more and more users employ electronic ink screen (E-ink) displays for reading and working, more third party application software is installed and used on the hardware platform of the electronic ink screen. However, since the electronic ink screen has a low refresh rate, and the Dot Per Inch (DPI) is low, most third party applications use color screens, such as a liquid crystal display (Liquid Crystal Display) or an Organic Light-Emitting Diode (OLED) display, as standards for interface design, and therefore if the third party application is directly transplanted to the E-ink hardware platform, when the application interface is displayed, a display or interaction effect similar to that on the LCD or OLED screen cannot be obtained, resulting in poor display and interaction effect of the third party application on the E-ink screen. In addition, if the interface design is specially performed for the E-ink screen during application program development, the development cost is high, and the practicability is low.
Therefore, how to provide a better display or interaction effect for the third party application program on the E-ink screen at low cost is a problem to be solved.
Disclosure of Invention
The invention provides an application program interface display method, an application program interface display device, electronic equipment and a storage medium, which are used for solving the defects of poor display and interaction effect of a third party application program on an E-ink screen in the prior art.
The invention provides an application program interface display method, which comprises the following steps:
determining an application program to be installed;
when loading and installing the application program, carrying out reverse engineering treatment on an installation package of the application program to obtain display configuration information of the application program, and carrying out screen display adaptation adjustment on the display configuration information;
and displaying the interface of the application program based on the adjusted display configuration information.
According to the invention, the method for displaying the application program interface comprises the following steps:
and adjusting at least one of the interactive gesture, the animation effect and the font display contrast in the display configuration information.
According to the application program interface display method provided by the invention, the adjustment of at least one of interactive gestures, interactive animations and font display contrast in the display configuration information comprises the following steps:
and replacing the sliding interaction gesture in the display configuration information with an interaction gesture with a fixed moving distance.
According to the application program interface display method provided by the invention, the adjustment of at least one of interactive gestures, interactive animations and font display contrast in the display configuration information comprises the following steps:
and forbidding the animation effect of the preset type in the display configuration information.
According to the application program interface display method provided by the invention, the adjustment of at least one of interactive gestures, interactive animations and font display contrast in the display configuration information comprises the following steps:
determining a pixel tone scale value of a display font in the display configuration information;
and adjusting the pixel tone scale value of the display font so that the font display contrast of the display font is adapted to the current display screen.
According to the application program interface display method provided by the invention, the interface for displaying the application program based on the adjusted display configuration information comprises the following steps:
displaying an interface of the application program based on the adjusted display configuration information and the optimized configuration information corresponding to the application program;
the optimal configuration information is determined based on the display effect of the application program on the display terminal.
According to the method for displaying the application program interface provided by the invention, the optimal configuration information comprises at least one of the number of points per inch, the screen display gamma value and the dithering mode which are displayed on the display terminal by the application program.
The invention also provides an application program interface display device, which comprises:
an application program determining unit configured to determine an application program to be installed;
the screen display adaptation adjustment unit is used for carrying out reverse engineering treatment on an installation package of the application program when the application program is loaded and installed to obtain display configuration information of the application program, and carrying out screen display adaptation adjustment on the display configuration information;
and the optimized display unit is used for displaying the interface of the application program based on the adjusted display configuration information.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the application program interface display method as described in any one of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the application program interface display method as described in any of the above.
According to the application program interface display method, the device, the electronic equipment and the storage medium, when the application program is loaded and installed, reverse engineering processing is carried out on the installation package of the application program to obtain the display configuration information of the application program, and screen display adaptation adjustment is carried out on the display configuration information, so that the interface of the application program is displayed based on the adjusted display configuration information, the display and interaction effect of the application program on the E-ink platform is optimized, no adjustment is needed for the E-ink platform in the development process by a developer of a third party application program, and the application range is wider.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of an application program interface display method according to the present invention;
FIG. 2 is a second flowchart of an application interface display method according to the present invention;
FIG. 3 is a schematic diagram of an application interface display device according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
With the popularization of intelligent mobile terminals, more and more users use the intelligent mobile terminals for reading. Considering the damage of common color screens to the eyesight of users, electronic ink screen displays are more applied, and as more and more users adopt electronic ink screen (E-ink) displays for reading and working, more third party application software is installed and used on the hardware platform of the electronic ink screen. However, since the display effect of the screen of the electronic ink screen is inferior to that of the color screen, the refresh rate is lower, and the Dot Per Inch (DPI) is low, and most of the third party applications are designed with the color screen, such as the LCD display screen or the OLED display screen, as a standard, so if the third party applications are directly transplanted onto the E-ink hardware platform, when the application interface is displayed, the display or interaction effect similar to that on the LCD or OLED screen cannot be obtained, resulting in poor display and interaction effect of the third party applications on the E-ink screen. In addition, if the interface design is specially performed for the E-ink screen during the development of the application program in order to ensure the display effect of the application program on the E-ink screen, the development cost brought by the mode is higher, and the practicability is lower.
Therefore, how to provide a better display or interaction effect for the third party application program on the E-ink screen at low cost is a problem to be solved.
In this regard, the embodiment of the invention provides an application program interface display method. Fig. 1 is a flow chart of an application program interface display method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 110, determining an application program to be installed;
step 120, when loading and installing the application program, performing reverse engineering treatment on an installation package of the application program to obtain display configuration information of the application program, and performing screen display adaptation adjustment on the display configuration information;
and 130, displaying an interface of the application program based on the adjusted display configuration information.
Specifically, a third party application to be installed is determined, and an installation package of the application is acquired. And reading the installation package of the application program into an E-ink hardware platform, wherein the E-ink hardware platform loads and installs the installation package of the application program. If the application program opens the right of reverse engineering, the reverse engineering processing can be performed on the installation package when the application program is loaded and installed, and the development information of the application program including the source code of the application program and the like can be obtained. When the developer of the application program writes the source code of the application program, the display configuration information of the corresponding interface is set in the interface code of each display interface in the application program, and the display configuration information related to the interface display can be obtained from the source code of the application program through reverse engineering processing. When part of application programs are developed, detailed setting information of the interface is independently written in the config file, so that the hardware system can display the interface according to the config file. However, if only the config file is modified, configuration adjustments for a small number of display items can be achieved, while for more display items written in the interface source code, nothing can be done, resulting in limited display optimization effects. Therefore, in order to more comprehensively adjust the interface display effect, the source code of the application program is acquired by adopting a reverse engineering mode, and the display configuration information is analyzed, so that more perfect display configuration adjustment is realized.
Taking an application program running under an android system as an example, an installation package of the running program is in an apk format. The packaging process of the application program installation package comprises compiling, encrypting and compressing, so that the corresponding reverse engineering treatment is reverse operation of the process, namely decompression, decryption and decompilation of the application program compression package. After decompiling to obtain the source code in the application program installation package, the source code is analyzed, and the display configuration information related to the interface display can be obtained.
In order to optimize the display and interaction effect of the application program interface on the E-ink screen, the display configuration information can be subjected to screen display adaptation adjustment. The configuration information of the relevant display items in the display configuration information can be dynamically modified according to the hardware configuration of the E-ink screen, and the display or interaction effect of the corresponding display items on the E-ink screen is optimized. And displaying an interface of the application program based on the adjusted display configuration information, so that the display and interaction effect of the native third-party application program on the E-ink hardware platform reach an optimal state. In addition, in the embodiment of the invention, the reverse engineering is carried out on the installation package during the loading and installation process of the application program, and the self-adaptive screen display adaptation adjustment is carried out on the acquired display configuration information, so that the display and interaction effect of the application program on the E-ink platform are optimized, and therefore, a developer of a third party application program does not need to additionally carry out any adjustment on the E-ink platform during the development process, the cost is reduced, and the application range is wider.
According to the method provided by the embodiment of the invention, when the application program is loaded and installed, the reverse engineering processing is carried out on the installation package of the application program to obtain the display configuration information of the application program, and the screen display adaptation adjustment is carried out on the display configuration information, so that the interface of the application program is displayed based on the adjusted display configuration information, the display and interaction effects of the application program on the E-ink platform are optimized, no adjustment is required for the E-ink platform in the development process by a developer of the third party application program, and the application range is wider.
Based on the above embodiment, in step 120, performing on-screen adaptive adjustment on the display configuration information includes:
and adjusting at least one of interactive gestures, animation effects and font display contrast in the display configuration information.
Specifically, in order to optimize the display and interaction effects of the application program, considering that the processing capability of the E-ink hardware platform is slightly insufficient compared with that of a common mobile terminal (such as a mobile phone, a tablet computer and the like), the interaction gesture in the display configuration information of the application program can be adjusted, and the complex interaction gesture with higher processing capability is adjusted to be a simple interaction gesture with low processing capability requirement, so that the reaction speed of the interaction gesture to the user is accelerated, and the interaction experience is improved.
In addition, for the attractive appearance of interface display, more complex animation effects exist in the application program, for an E-ink hardware platform with insufficient processing capacity, the complex animation effects are displayed, system blocking is caused, and the animation effects are displayed on other platforms, so that the animation effects in the application program interface can be adjusted, the complex animation effects are replaced by simple animation effects, or the complex animation effects are disabled, the reaction speed of the system is improved, and the interface display is smoother.
In addition, for the beauty of interface display, fonts of various colors are designed in the interface of the application program, and on an E-ink screen, the fonts of various colors are not presented as good as a color screen, and the problem that partial fonts are displayed cleanly possibly exists. Therefore, the font display contrast in the display configuration information can be adjusted, so that the font display contrast on the application program interface is adapted to the E-ink screen, and the display effect of the font on the E-ink platform is optimized.
According to the method provided by the embodiment of the invention, the display and interaction effect of the application program on the E-ink platform is further optimized by adjusting at least one of the interaction gesture, the animation effect and the font display contrast in the display configuration information.
Based on any of the above embodiments, adjusting at least one of interactive gestures, interactive animations, and font display contrast in the display configuration information includes:
and replacing the sliding interaction gesture in the display configuration information with an interaction gesture with a fixed moving distance.
Specifically, since the sliding interaction gesture needs to monitor the sliding position of the user finger on the screen in real time and corresponds to the moving interface, the processing capability and the refresh frequency of the system are required to be high, the processing capability of the E-ink platform is insufficient, and the refresh rate is low.
Based on any of the above embodiments, adjusting at least one of interactive gestures, interactive animations, and font display contrast in the display configuration information includes:
and disabling the animation effect of the preset type in the display configuration information.
Specifically, when a part of complex animation effects are displayed on the E-ink platform, system blocking is caused, and the animation effects are not displayed on other platforms, so that the animation effects of the preset types in the display configuration information can be disabled, and the smoothness of interface display is improved. The types of the disabled animation effects can be preset, so that the disabling of part of specific animation effects is realized; all animation effects in the display configuration information may also be disabled directly, and embodiments of the present invention are not particularly limited in this regard.
Based on any of the above embodiments, adjusting at least one of interactive gestures, interactive animations, and font display contrast in the display configuration information includes:
determining a pixel tone value of a display font in the display configuration information;
the pixel gradation value of the display font is adjusted so that the font display contrast of the display font is adapted to the current display screen.
Specifically, a pixel gradation value of a display font in the display configuration information is acquired. In order to adjust the display contrast of the fonts, gamma correction can be performed on the pixel tone scale values of the displayed fonts by using a preset gamma value, so that the display contrast of the fonts displayed by the display fonts is adapted to the current display screen. Here, a gamma table may be formed by generating a series of gamma correction gradation values corresponding to the gradation values of each pixel in advance using a gamma function. Inquiring the gamma table based on a preset correction gamma value and a pixel tone scale value of a display font to obtain a gamma correction tone scale value corresponding to the pixel tone scale value of the display font, and replacing the inquired gamma correction tone scale value with the pixel tone scale value of the display font in the display configuration information, so that each display font is displayed based on the gamma correction tone scale value obtained after adjustment.
If the gamma value is equal to 1, the gamma correction tone scale value is the same as the original pixel tone scale value, and the display effect is not different from the original display effect; the closer the gamma value is to 0, the whiter each display font is displayed on the E-ink screen after adjustment, and the lower the font display contrast is; the more the gamma value is greater than 1, the darker each display font is displayed on the E-ink screen after adjustment, and the higher the font display contrast is.
Based on any of the above embodiments, step 130 includes:
displaying an interface of the application program based on the adjusted display configuration information and the optimized configuration information corresponding to the application program;
the optimal configuration information is determined based on the display effect of the application program on the display terminal.
Specifically, in addition to performing screen display adaptation adjustment on the display configuration information, the interface of the application program can be optimally displayed based on the optimized configuration information corresponding to the application program. Specifically, when the E-ink platform loads the installation package for installing the application program, the optimization configuration information corresponding to the application program is read from the background server, so that the interface of the application program is optimally displayed according to the optimization configuration information. The optimal configuration information is determined based on the display effect of the application program on the current display terminal, namely the E-ink platform. Specifically, the display effect of the application program on the E-ink platform can be tested on the basis of different configuration information, so that the configuration information corresponding to the optimal display effect is determined and used as the optimal configuration information corresponding to the application program.
According to the method provided by the embodiment of the invention, the interface of the application program is displayed according to the adjusted display configuration information and the optimized configuration information corresponding to the application program, wherein the optimized configuration information is obtained based on the display effect of the application program on the display terminal, and the display effect of the application program can be optimized more comprehensively.
Based on any of the above embodiments, the optimal configuration information includes at least one of a number of dots per inch, a screen display gamma value, and a dither pattern that the application displays on the display terminal.
Specifically, the optimized configuration information may include one or more of DPI, a screen display gamma value, and a dither pattern that the application program displays on the display terminal. The interface of the application program can be intelligently scaled based on DPI values given in the optimal configuration information to match the actual DPI of the E-ink screen. By dynamically adjusting DPI values displayed on the display terminal by the application program, the DPI values are dynamically adapted to different display terminals, so that interfaces of third-party application programs can be better displayed on E-ink screens with different screen sizes. In addition, the DPI value can be automatically adjusted by the E-ink platform without manual intervention.
In addition, the contrast of the display of the application program interface on the E-ink screen can be dynamically adjusted based on the screen display gamma value in the optimal configuration information. The closer the screen display gamma value is to 0, the whiter the adjusted application program interface image is displayed on the E-ink screen, and the lower the screen display contrast is; the more the gamma value is greater than 1, the darker the adjusted application interface image is displayed on the E-ink screen, and the higher the screen display contrast is. Specifically, a gamma table may be formed by generating a series of gamma correction gradation values corresponding to the gradation values of each pixel in advance using a gamma function. And in the display stage of the screen, acquiring the pixel tone scale value of each pixel in the currently displayed interface image, inquiring the gamma table based on the display gamma value of the screen and the pixel tone scale value of each pixel in the interface image to obtain the gamma correction tone scale value corresponding to each pixel in the interface image, and replacing the inquired gamma correction tone scale value with the pixel tone scale value of each pixel in the interface image, so that the current interface is displayed based on the gamma correction tone scale value obtained after adjustment.
In addition, the dithering mode in the configuration information can be optimized, and the dithering mode of the E-ink screen can be dynamically adjusted, so that the application program can be displayed more smoothly. Wherein the dither pattern of the E-ink screen may be modified to a browse pattern.
Based on any of the above embodiments, fig. 2 is a second flowchart of an application program interface display method according to an embodiment of the present invention, as shown in fig. 2, where the method includes:
after the third party application is developed, the third party application can be packaged into an apk installation package.
After acquiring an apk installation package of an application program to be installed, the E-ink hardware platform loads and installs the apk installation package. In the loading and installing process, reverse engineering treatment can be carried out on the apk installation package of the application program, namely, decompression, decryption and decompilation are sequentially carried out on the apk installation package, so that source codes in the application program installation package are obtained. And then analyzing the source code, and acquiring display configuration information related to interface display, including interactive gestures, animation effects and font display contrast. And performing screen display adaptation adjustment on the display configuration information, wherein the screen display adaptation adjustment comprises the steps of replacing a sliding interaction gesture in the display configuration information with an interaction gesture with a fixed moving distance, disabling a preset type of animation effect in the display configuration information, determining a pixel tone scale value of a display font in the display configuration information, and performing gamma correction on the pixel tone scale value of the display font so as to enable the font display contrast of the display font to be adapted to the current display screen.
And after the display configuration information of the application program is subjected to screen display adaptation adjustment in a reverse engineering mode, the application program is continuously loaded and installed until the program installation is completed. And then, reading preset optimal configuration information corresponding to the application program from a background server, wherein the optimal configuration information is obtained according to the display effect test of the application program on the current E-ink platform. The optimized configuration information comprises DPI values, screen display gamma values and jitter modes displayed on the E-ink platform by the application program. When a user clicks and opens the application program, and the E-ink platform displays the interface of the application program, on one hand, the display effects of interactive gestures, animation effects and font display contrast on the interface of the application program can be optimized according to the adjusted display configuration information; on the other hand, the hardware capability of the E-ink can be adjusted according to the optimal configuration information of the application program, including dynamically adjusting DPI displayed on the E-ink screen by the application program, dynamically adjusting the screen display contrast of the application program on the E-ink screen, and dynamically adjusting the dithering mode of the application program on the E-ink screen. By the method, the display and interaction effects of the application program on the E-ink platform are optimized, and a developer of a third-party application program does not need to make any adjustment for the E-ink platform in the development process, so that the application range of the method is enlarged.
The application program interface display device provided by the invention is described below, and the application program interface display device described below and the application program interface display method described above can be referred to correspondingly.
Based on any of the above embodiments, fig. 3 is a schematic structural diagram of an application program interface display device according to an embodiment of the present invention, as shown in fig. 3, where the device includes: an application determining unit 310, a screen adaptation unit 320 and an optimized display unit 330.
Wherein, the application program determining unit 310 is configured to determine an application program to be installed;
the screen display adaptation adjustment unit 320 is configured to perform reverse engineering processing on an installation package of the application program when the application program is installed, obtain display configuration information of the application program, and perform screen display adaptation adjustment on the display configuration information;
the optimized display unit 330 is configured to display an interface of the application program based on the adjusted display configuration information.
According to the device provided by the embodiment of the invention, when the application program is loaded and installed, the reverse engineering processing is carried out on the installation package of the application program to obtain the display configuration information of the application program, and the screen display adaptation adjustment is carried out on the display configuration information, so that the interface of the application program is displayed based on the adjusted display configuration information, the display and interaction effects of the application program on the E-ink platform are optimized, no adjustment is required for the E-ink platform in the development process by a developer of a third party application program, and the application range is wider.
Based on any of the above embodiments, performing on-screen adaptive adjustment on display configuration information includes:
and adjusting at least one of interactive gestures, animation effects and font display contrast in the display configuration information.
According to the device provided by the embodiment of the invention, at least one of the interactive gesture, the animation effect and the font display contrast in the display configuration information is adjusted, so that the display and the interactive effect of the application program on the E-ink platform are further optimized.
Based on any of the above embodiments, adjusting at least one of interactive gestures, interactive animations, and font display contrast in the display configuration information includes:
and replacing the sliding interaction gesture in the display configuration information with an interaction gesture with a fixed moving distance.
Based on any of the above embodiments, adjusting at least one of interactive gestures, interactive animations, and font display contrast in the display configuration information includes:
and disabling the animation effect of the preset type in the display configuration information.
Based on any of the above embodiments, adjusting at least one of interactive gestures, interactive animations, and font display contrast in the display configuration information includes:
determining a pixel tone value of a display font in the display configuration information;
the pixel gradation value of the display font is adjusted so that the font display contrast of the display font is adapted to the current display screen.
Based on any of the above embodiments, the optimized display unit 330 is configured to:
displaying an interface of the application program based on the adjusted display configuration information and the optimized configuration information corresponding to the application program;
the optimal configuration information is determined based on the display effect of the application program on the display terminal.
The device provided by the embodiment of the invention displays the interface of the application program by the adjusted display configuration information and the optimized configuration information corresponding to the application program, wherein the optimized configuration information is obtained based on the display effect of the application program on the display terminal, and the display effect of the application program can be optimized more comprehensively.
Based on any of the above embodiments, the optimal configuration information includes at least one of a number of dots per inch, a screen display gamma value, and a dither pattern that the application displays on the display terminal.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: processor 410, communication interface (Communications Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform an application interface display method comprising: determining an application program to be installed; when loading and installing the application program, carrying out reverse engineering treatment on an installation package of the application program to obtain display configuration information of the application program, and carrying out screen display adaptation adjustment on the display configuration information; and displaying the interface of the application program based on the adjusted display configuration information.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the application program interface display method provided by the above methods, the method comprising: determining an application program to be installed; when loading and installing the application program, carrying out reverse engineering treatment on an installation package of the application program to obtain display configuration information of the application program, and carrying out screen display adaptation adjustment on the display configuration information; and displaying the interface of the application program based on the adjusted display configuration information.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the above-provided application program interface display methods, the method comprising: determining an application program to be installed; when loading and installing the application program, carrying out reverse engineering treatment on an installation package of the application program to obtain display configuration information of the application program, and carrying out screen display adaptation adjustment on the display configuration information; and displaying the interface of the application program based on the adjusted display configuration information.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. An application interface display method, comprising:
determining an application program to be installed;
when the application program is loaded and installed, reverse engineering processing is carried out on an installation package of the application program, display configuration information of corresponding interfaces arranged in interface codes of all display interfaces in the application program is obtained, and screen display adaptation adjustment is carried out on the display configuration information;
displaying an interface of the application program based on the adjusted display configuration information;
the displaying the interface of the application program based on the adjusted display configuration information comprises the following steps:
displaying an interface of the application program based on the adjusted display configuration information and the optimized configuration information corresponding to the application program read from the background server;
the optimized configuration information is configuration information corresponding to the determined optimal display effect based on the display effect of the application program on the display terminal under different configuration information.
2. The method for displaying an application program interface according to claim 1, wherein said performing on-screen adaptation on the display configuration information comprises:
and adjusting at least one of the interactive gesture, the animation effect and the font display contrast in the display configuration information.
3. The application program interface display method according to claim 2, wherein the adjusting at least one of the interactive gesture, the interactive animation, and the font display contrast in the display configuration information includes:
and replacing the sliding interaction gesture in the display configuration information with an interaction gesture with a fixed moving distance.
4. The application program interface display method according to claim 2, wherein the adjusting at least one of the interactive gesture, the interactive animation, and the font display contrast in the display configuration information includes:
and forbidding the animation effect of the preset type in the display configuration information.
5. The application program interface display method according to claim 2, wherein the adjusting at least one of the interactive gesture, the interactive animation, and the font display contrast in the display configuration information includes:
determining a pixel tone scale value of a display font in the display configuration information;
and adjusting the pixel tone scale value of the display font so that the font display contrast of the display font is adapted to the current display screen.
6. The application program interface display method according to claim 1, wherein the optimal configuration information includes at least one of a number of dots per inch, a screen display gamma value, and a dither pattern displayed by the application program on the display terminal.
7. An application interface display device, comprising:
an application program determining unit configured to determine an application program to be installed;
the screen display adaptation adjustment unit is used for carrying out reverse engineering treatment on an installation package of the application program when the application program is loaded and installed, obtaining display configuration information of corresponding interfaces set in interface codes of all display interfaces in the application program, and carrying out screen display adaptation adjustment on the display configuration information;
the optimized display unit is used for displaying the interface of the application program based on the adjusted display configuration information;
the optimized display unit is specifically configured to:
displaying an interface of the application program based on the adjusted display configuration information and the optimized configuration information corresponding to the application program read from the background server;
the optimized configuration information is configuration information corresponding to the determined optimal display effect based on the display effect of the application program on the display terminal under different configuration information.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the application program interface display method according to any one of claims 1 to 6 when the program is executed by the processor.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the application program interface display method of any of claims 1 to 6.
CN202110632710.6A 2021-06-07 2021-06-07 Application program interface display method and device, electronic equipment and storage medium Active CN113282216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110632710.6A CN113282216B (en) 2021-06-07 2021-06-07 Application program interface display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110632710.6A CN113282216B (en) 2021-06-07 2021-06-07 Application program interface display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113282216A CN113282216A (en) 2021-08-20
CN113282216B true CN113282216B (en) 2023-06-02

Family

ID=77283595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110632710.6A Active CN113282216B (en) 2021-06-07 2021-06-07 Application program interface display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113282216B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375967A (en) * 2018-08-27 2019-02-22 北京达佳互联信息技术有限公司 Application Program Interface display methods and device, mobile terminal and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516738A (en) * 2014-12-15 2015-04-15 北京金和软件股份有限公司 Integrated implementing method for development and release of APP
CN106815497B (en) * 2015-12-01 2019-04-23 华为终端(东莞)有限公司 A kind of interface processing method, electronic equipment and graphic user interface
CN106896978A (en) * 2015-12-21 2017-06-27 德尔福技术有限公司 System for configuring the man-machine interface on multiple displays
CN109961747B (en) * 2019-04-02 2021-01-01 上海墨案智能科技有限公司 Electronic ink screen display method and device and electronic equipment
CN111193874B (en) * 2020-01-07 2021-08-31 青岛海信移动通信技术股份有限公司 Image display parameter adjusting method and mobile terminal
CN111399955B (en) * 2020-03-10 2022-08-05 青岛海信移动通信技术股份有限公司 Mobile terminal and interface display method of application program thereof
CN111414218A (en) * 2020-03-18 2020-07-14 合肥讯飞读写科技有限公司 Method, device and equipment for adjusting character contrast in display page
CN111949129A (en) * 2020-08-07 2020-11-17 合肥讯飞读写科技有限公司 Display content updating method and device, electronic equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375967A (en) * 2018-08-27 2019-02-22 北京达佳互联信息技术有限公司 Application Program Interface display methods and device, mobile terminal and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Junmin Li.Multimedia CAI based on reverse engineering research and applications.《2011 International Conference on Electrical and Control Engineering》.2011,全文. *
王茹.基于软件逆向工程技术和系统研究.《煤炭技术》.2012,第31卷(第9期),183-184. *

Also Published As

Publication number Publication date
CN113282216A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
US11435821B2 (en) Gaze-independent dithering for dynamically foveated displays
KR101997776B1 (en) Method for reducing for consumption power of display unit and an electronic device thereof
CN108427546B (en) Full screen adaptation method of display device, display device and storage medium
JP2003536111A (en) Method and system for providing intensity modulation
CN109298912B (en) Theme color adjusting method and device, storage medium and electronic equipment
CN110209460A (en) A kind of implementation method of dynamic wallpaper, device, storage medium and terminal
CN105740670B (en) Using encryption, starting method and apparatus
CN109272945B (en) Backlight correction method and device for display screen and computer readable storage medium
US20220139000A1 (en) Device and method for coloring sketch image
US10186185B2 (en) Dynamically adjusting color characteristics of electronic content
CN106990962B (en) Dynamic screen locking wallpaper switching method and device and terminal
CN113282216B (en) Application program interface display method and device, electronic equipment and storage medium
CN109783043B (en) Method and device for displaying frequency of display and display
CN111399957A (en) App interface display method and device, terminal equipment and readable storage medium
CN110765384A (en) Resolution adaptation method of client, storage medium and terminal
CN113157270A (en) Page adaptation method and device
KR20170109135A (en) Display device and method of compensating for degradation of a display panel
JP2009510502A (en) Method for increasing color resolution and apparatus using the method
CN107209947B (en) Using features at multiple scales for color transfer in augmented reality
Hill et al. Shady: A software engine for real-time visual stimulus manipulation
JP4219725B2 (en) Image display method, image display system, image data conversion device, and image display device
CN116483359B (en) New mimicry drawing method and device, electronic equipment and readable storage medium
CN112614049A (en) Image processing method, image processing device, storage medium and terminal
CN109783329B (en) Application program blank data prompting method and system and terminal equipment
US20230169622A1 (en) Image processing

Legal Events

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