[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116150515A - Adaptive rendering method and system for resolution DPI, storage medium and computer equipment - Google Patents

Adaptive rendering method and system for resolution DPI, storage medium and computer equipment Download PDF

Info

Publication number
CN116150515A
CN116150515A CN202111382310.0A CN202111382310A CN116150515A CN 116150515 A CN116150515 A CN 116150515A CN 202111382310 A CN202111382310 A CN 202111382310A CN 116150515 A CN116150515 A CN 116150515A
Authority
CN
China
Prior art keywords
rendering
page
display
parameter
dpi
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.)
Pending
Application number
CN202111382310.0A
Other languages
Chinese (zh)
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.)
Beijing Qiyuan Technology Co ltd
Original Assignee
Beijing Qiyuan 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 Beijing Qiyuan Technology Co ltd filed Critical Beijing Qiyuan Technology Co ltd
Priority to CN202111382310.0A priority Critical patent/CN116150515A/en
Publication of CN116150515A publication Critical patent/CN116150515A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Digital Computer Display Output (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a self-adaptive rendering method of resolution ratio DPI, which is used for acquiring parameter information of a system display when page loading of an application is detected; wherein the parameter information comprises a screen size parameter and a default DPI parameter; analyzing and determining rendering parameters corresponding to the application according to the parameter information; and rendering and displaying based on the rendering parameters through a browser kernel so as to display the page. The invention also provides a resolution DPI self-adaptive rendering system, a storage medium and computer equipment. Therefore, the invention can ensure that the applied page loading has good high-definition rendering effect under various screen sizes.

Description

Adaptive rendering method and system for resolution DPI, storage medium and computer equipment
Technical Field
The present invention relates to the field of page rendering technologies, and in particular, to a resolution DPI adaptive rendering method, a resolution DPI adaptive rendering system, a storage medium, and a computer device.
Background
Today's social users are increasingly demanding on high definition image quality display, and currently mainstream operating systems can set up to 200% of high definition rendering of large DPI (Dots Per Inch), and most of high definition ultrathin notebooks can default to render large DPI.
However, the DPI options include 125%, 150%, 175%, and 200%, and if the application program relies on the self-adaptive rendering of the operating system, there may be abnormal window size display, and blurred text and picture display in the interface.
In summary, the conventional method has many problems in practical use, so that improvement is necessary.
Disclosure of Invention
In view of the above drawbacks, an object of the present invention is to provide a method, a system, a storage medium, and a computer device for adaptive rendering of resolution DPI, which can enable page loading of an application to have a good high-definition rendering effect under various screen sizes.
In order to achieve the above object, the present invention provides an adaptive rendering method of resolution DPI, including the steps of:
when the page loading of the application is detected, acquiring parameter information of a system display; wherein the parameter information comprises a screen size parameter and a default DPI parameter;
analyzing and determining rendering parameters corresponding to the application according to the parameter information;
and rendering and displaying based on the rendering parameters through a browser kernel so as to display the page.
Optionally, the step of determining the rendering parameters corresponding to the application according to the parameter information analysis specifically includes:
acquiring page configuration information corresponding to the page;
and calculating the rendering parameters of the page of the application according to the parameter information and the page configuration information.
Optionally, the rendering parameters include a page display size, a display window position, and a rendering ratio.
Optionally, after the step of determining the rendering parameters corresponding to the application according to the parameter information analysis, the method further includes:
and transmitting the rendering parameters to the browser kernel based on an interface transmission mode.
Optionally, the step of rendering and displaying, by the browser kernel, the page based on the rendering parameter specifically includes:
replacing the local rendering parameters of the system with the rendering parameters through the browser kernel;
and rendering and displaying the page based on the replaced rendering parameters.
Optionally, the step of rendering and displaying the page based on the replaced rendering parameters specifically includes:
and rendering and displaying the page on the system display by the browser kernel according to the replaced rendering parameters.
Optionally, when the page loading of the application is detected, the step of acquiring the parameter information of the system display specifically includes:
and when the application is detected to be started and the page is loaded, acquiring the screen size parameter of a system display and the default DPI parameter configured locally.
Also provided is an adaptive rendering system of resolution DPI, comprising:
the acquisition unit is used for acquiring parameter information of the system display when the page loading of the application is detected; wherein the parameter information comprises a screen size parameter and a default DPI parameter;
the analysis unit is used for analyzing and determining rendering parameters corresponding to the application according to the parameter information;
and the rendering unit is used for rendering and displaying based on the rendering parameters through the browser kernel so as to display the page.
In addition, a storage medium and a computer device are provided, the storage medium being used for storing a computer program for executing the adaptive rendering method of the resolution DPI.
The computer device comprises a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, wherein the processor realizes the self-adaptive rendering method of the resolution DPI when executing the computer program.
According to the self-adaptive rendering method and the self-adaptive rendering system for the resolution ratio DPI, when the page loading of an application is detected, the parameter information of a system display is obtained; the parameter information comprises a screen size parameter and a default DPI parameter; further, according to the acquired parameter information, analyzing and determining rendering parameters corresponding to the application; and rendering and displaying the corresponding page by the browser kernel based on the rendering parameters determined by analysis. Therefore, the invention can solve the problem of self-adaptive high-definition rendering of the application under the condition of multiple DPIs, so that the page loading of the application has good high-definition rendering effect under various screen sizes.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for adaptive rendering of resolution DPI according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of an adaptive rendering method for resolution DPI according to an embodiment of the present invention for analyzing and determining rendering parameters;
FIG. 3 is a flowchart showing optional steps of a resolution DPI adaptive rendering method according to an embodiment of the present invention;
FIG. 4 is a block diagram illustrating a resolution DPI adaptive rendering system according to an embodiment of the present invention;
FIG. 5 is a schematic block diagram of an alternative architecture of the analysis unit of the adaptive rendering system for resolution DPI according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of an alternative configuration of the rendering unit of the resolution DPI adaptive rendering system according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It should be noted that references in the specification to "one embodiment," "an example embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Furthermore, such phrases are not intended to refer to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
Furthermore, certain terms are used throughout the specification and the claims that follow to refer to particular components or parts, and it will be understood by those of ordinary skill in the art that manufacturers may refer to a component or part by different terms or terminology. The present specification and the following claims do not take the form of an element or component with the difference in name, but rather take the form of an element or component with the difference in function as a criterion for distinguishing. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. The term "coupled," as used herein, includes any direct or indirect electrical connection. Indirect electrical connection means include connection via other devices.
Fig. 1 illustrates an adaptive rendering method of resolution DPI according to an embodiment of the present invention, where the adaptive rendering method is applied to a smart terminal capable of installing an application program, including, but not limited to, a smart phone, a tablet computer, a personal computer, and other devices; the adaptive rendering method comprises the following steps:
s101: when the page loading of the application is detected, acquiring parameter information of a system display; wherein the parameter information includes a screen size parameter and a default DPI parameter. The system display refers to a display module on the equipment terminal carried by the application.
Optionally, step S101 specifically includes: and when the application is detected to be started and the page is loaded, acquiring the screen size parameter of a system display and the default DPI parameter configured locally. In implementation, when the application starts and loads a page for the first time, acquiring a screen size parameter of the system display and a default DPI parameter, wherein the default DPI parameter refers to DPI of the system local configuration; resolution, also called resolution, is used to determine the fine degree of detail of a bitmap image, and DPI is a unit of measure representing the number of points per inch; the higher the DPI, the better the screen display effect. In practice, since the device terminal is configured with the default DPI parameter, when an application program is started, the default DPI parameter configured by the system will be directly called, if the page to be loaded by the application is not adapted to the DPI parameter configured by the system by default, abnormal window size display of the page loaded by the application, and fuzzy display of text and pictures in an interface are easily caused.
S102: and analyzing and determining rendering parameters corresponding to the application according to the parameter information. When the page of the application is loaded, the parameter information corresponding to the system display is acquired and is not directly used for rendering the page; and further analyzing and determining rendering parameters adapted to the application according to the acquired parameter information of the system local. That is, the rendering parameters determined by analysis in this embodiment are modified accordingly based on the parameter information of the default configuration of the local system.
Referring to fig. 2, in an alternative embodiment, step S102 specifically includes:
s1021: and acquiring page configuration information corresponding to the page. The page configuration information specifically refers to corresponding display information configured by the application for the page to be loaded, and the display information comprises display layout, display size proportion and the like.
S1022: and calculating the rendering parameters of the page of the application according to the parameter information and the page configuration information. That is, in this embodiment, the rendering parameters of the page are calculated in combination with the parameter information configured by the local system for the system display and the page configuration information corresponding to the page. Specifically, the rendering parameters include a page display size, a display window position, and a rendering ratio. In other words, according to the parameter information and the page configuration information, the embodiment calculates the page display size, the display window position and the rendering ratio corresponding to the page; the page display size refers to the display size of the page on the system display, the display window position refers to the display area of the page on the system display, and the rendering ratio is the rendering parameter related to the page. The page calculates proper display position, window size and rendering proportion according to the obtained parameter information and the page configuration information of the page.
Optionally, step S102 further includes: and transmitting the rendering parameters to the browser kernel based on an interface transmission mode. In implementation, the page transmits rendering parameters to the browser kernel through an interface.
S103: and rendering and displaying based on the rendering parameters through a browser kernel so as to display the page. The browser kernel, i.e. the rendering engine employed by the browser, determines how to display the page loaded content and format information. Namely, the application of the embodiment adopts a technical architecture of a page plus a browser kernel; after the analysis is carried out to determine the rendering parameters corresponding to the application, rendering and displaying are carried out through the browser kernel according to the rendering parameters so as to display the corresponding pages.
Therefore, the invention can solve the problem of self-adaptive high-definition rendering of the application under the condition of multiple DPIs, so that the page loading of the application has good high-definition rendering effect under various screen sizes.
Referring to fig. 3, in an alternative embodiment, step S103 specifically includes:
s1031: and replacing the local rendering parameters of the system with the rendering parameters through the browser kernel. The embodiment is specifically applied to a windows operating system, that is, the browser kernel replaces the local rendering parameters provided by the windows system with the obtained rendering parameters; and this replacement operation only acts on the loading of the corresponding page.
S1032: and rendering and displaying the page based on the replaced rendering parameters. Step S1032 specifically includes: and rendering and displaying the page on the system display by the browser kernel according to the replaced rendering parameters. In this embodiment, the browser kernel replaces the rendering parameters provided by the Windows system with the rendering parameters transferred from the page, and performs rendering display.
In one embodiment, step S103 further includes: and carrying out association storage on the rendering parameters and the corresponding applications. In other words, the embodiment stores the rendering parameters determined by analysis and the corresponding application in a correlated manner, so that when the application starts and loads the page again, the rendering parameters associated with the application are directly called and provided for the browser kernel, and rendering and displaying are performed on the corresponding page.
Fig. 4 shows an adaptive rendering system 100 with resolution DPI according to an embodiment of the invention, which includes an obtaining unit 10, an analyzing unit 20, and a rendering unit 40, wherein:
the acquiring unit 10 is used for acquiring parameter information of a system display when detecting page loading of an application; wherein the parameter information comprises a screen size parameter and a default DPI parameter; the analysis unit 20 is used for analyzing and determining rendering parameters corresponding to the application according to the parameter information; the rendering unit 30 is configured to render, by using a browser kernel, a presentation based on the rendering parameters, so as to display the page.
When the application is implemented, when the page is started and loaded for the first time, acquiring a screen size parameter and a default DPI parameter of the system display; when an applied page is loaded, acquiring corresponding parameter information of a system display, wherein the parameter information is not directly used for rendering the page; and then analyzing and determining rendering parameters adapted to the application according to the acquired parameter information of the system local; after the technical architecture of the page and the browser kernel is adopted to determine the rendering parameters corresponding to the application through the analysis, rendering and displaying are carried out through the browser kernel according to the rendering parameters so as to display the corresponding page. Therefore, the invention can solve the problem of self-adaptive high-definition rendering of the application under the condition of multiple DPIs, so that the page loading of the application has good high-definition rendering effect under various screen sizes.
The present embodiment further includes a transmission unit 30, configured to transmit the rendering parameters to the browser kernel based on an interface transmission manner. In this embodiment, the page specifically transmits the rendering parameters to the browser kernel through an interface.
Referring to fig. 5, in an alternative embodiment, the analysis unit 20 specifically includes an information acquisition subunit 21 and a calculation subunit 22, where:
the information acquisition subunit 21 is configured to acquire page configuration information corresponding to the page; the calculating subunit 22 is configured to calculate, according to the parameter information and the page configuration information, a rendering parameter of the page of the application. Optionally, the rendering parameters include a page display size, a display window position, and a rendering ratio.
The page configuration information specifically refers to corresponding display information configured by the application for the page to be loaded, and the display information comprises display layout, display size proportion and the like. In this embodiment, the rendering parameters of the page are calculated by combining the parameter information configured by the local system for the system display and the page configuration information corresponding to the page. Specifically, the rendering parameters include a page display size, a display window position, and a rendering ratio. In other words, according to the parameter information and the page configuration information, the embodiment calculates the page display size, the display window position and the rendering ratio corresponding to the page; the page display size refers to the display size of the page on the system display, the display window position refers to the display area of the page on the system display, and the rendering ratio is the rendering parameter related to the page. The page calculates proper display position, window size and rendering proportion according to the obtained parameter information and the page configuration information of the page.
Referring to fig. 6, in an alternative embodiment, the rendering unit 40 specifically includes a replacement subunit 41 and a rendering subunit 42, where:
the replacing subunit 41 is configured to replace, by the browser kernel, a local rendering parameter of a system with the rendering parameter; the rendering subunit 42 is configured to render and display the page based on the replaced rendering parameter. Optionally, the rendering subunit 42 is specifically configured to: and rendering and displaying the page on the system display by the browser kernel according to the replaced rendering parameters.
In one embodiment, the obtaining unit 10 is specifically configured to: and when the application is detected to be started and the page is loaded, acquiring the screen size parameter of a system display and the default DPI parameter configured locally.
In another embodiment, the method further includes a storage unit, configured to store the rendering parameters in association with the corresponding applications.
The present invention also provides a storage medium storing a computer program for a method of adaptive rendering of a resolution DPI as described in fig. 1-3. Such as computer program instructions, which, when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application. Program instructions for invoking the methods of the present application may be stored in fixed or removable storage media and/or transmitted via a data stream in a broadcast or other signal bearing medium and/or stored within a storage medium of a computer device operating according to the program instructions. Here, an embodiment according to the present application comprises a computer device of an adaptive rendering system of resolution DPI as shown in fig. 4, the computer device preferably comprising a storage medium for storing a computer program and a processor for executing the computer program, wherein the computer program, when executed by the processor, triggers the computer device to perform the method and/or the technical solution based on the previous embodiments.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, using Application Specific Integrated Circuits (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
The method according to the invention may be implemented as a computer implemented method on a computer, or in dedicated hardware, or in a combination of both. Executable code or parts thereof for the method according to the invention may be stored on a computer program product. Examples of computer program products include memory devices, optical storage devices, integrated circuits, servers, online software, and the like. Preferably, the computer program product comprises non-transitory program code means stored on a computer readable medium for performing the method according to the invention when said program product is executed on a computer.
In a preferred embodiment the computer program comprises computer program code means adapted to perform all the steps of the method according to the invention when the computer program is run on a computer. Preferably, the computer program is embodied on a computer readable medium.
In summary, according to the self-adaptive rendering method and the system for the resolution DPI, when the page loading of the application is detected, the parameter information of the system display is obtained; the parameter information comprises a screen size parameter and a default DPI parameter; further, according to the acquired parameter information, analyzing and determining rendering parameters corresponding to the application; and rendering and displaying the corresponding page by the browser kernel based on the rendering parameters determined by analysis. Therefore, the invention can solve the problem of self-adaptive high-definition rendering of the application under the condition of multiple DPIs, so that the page loading of the application has good high-definition rendering effect under various screen sizes.
Of course, the present invention is capable of other various embodiments and its several details are capable of modification and variation in light of the present invention, as will be apparent to those skilled in the art, without departing from the spirit and scope of the invention as defined in the appended claims.
The invention also provides an A1, a resolution DPI self-adaptive rendering method, which comprises the following steps:
when the page loading of the application is detected, acquiring parameter information of a system display; wherein the parameter information comprises a screen size parameter and a default DPI parameter;
analyzing and determining rendering parameters corresponding to the application according to the parameter information;
and rendering and displaying based on the rendering parameters through a browser kernel so as to display the page.
A2, according to the self-adaptive rendering method of resolution DPI of A1, the step of determining the rendering parameters corresponding to the application according to the parameter information analysis specifically comprises the following steps:
acquiring page configuration information corresponding to the page;
and calculating the rendering parameters of the page of the application according to the parameter information and the page configuration information.
A3, the self-adaptive rendering method of the resolution DPI according to A1 or A2, wherein the rendering parameters comprise page display size, display window position and rendering proportion.
A4, the self-adaptive rendering method of the resolution DPI according to A1, after the step of determining the rendering parameters corresponding to the application according to the parameter information analysis, the method further comprises the following steps:
and transmitting the rendering parameters to the browser kernel based on an interface transmission mode.
A5, according to the adaptive rendering method of resolution DPI of A4, the step of rendering and displaying the page by the browser kernel based on the rendering parameters specifically comprises:
replacing the local rendering parameters of the system with the rendering parameters through the browser kernel;
and rendering and displaying the page based on the replaced rendering parameters.
A6, according to the adaptive rendering method of resolution DPI of A5, the step of rendering and displaying the page based on the replaced rendering parameters specifically comprises the following steps:
and rendering and displaying the page on the system display by the browser kernel according to the replaced rendering parameters.
A7, according to the adaptive rendering method of resolution DPI of A1, when the page loading of the application is detected, the step of acquiring the parameter information of the system display specifically includes:
and when the application is detected to be started and the page is loaded, acquiring the screen size parameter of a system display and the default DPI parameter configured locally.
A8, according to the adaptive rendering method of resolution DPI of A1, the step of rendering and displaying by the browser kernel based on the rendering parameters to display the page further comprises:
and carrying out association storage on the rendering parameters and the corresponding applications.
Also provided is B9, an adaptive rendering system of resolution DPI, comprising:
the acquisition unit is used for acquiring parameter information of the system display when the page loading of the application is detected; wherein the parameter information comprises a screen size parameter and a default DPI parameter;
the analysis unit is used for analyzing and determining rendering parameters corresponding to the application according to the parameter information;
and the rendering unit is used for rendering and displaying based on the rendering parameters through the browser kernel so as to display the page.
B10, the adaptive rendering system of resolution DPI according to B9, the analysis unit specifically includes:
the information acquisition subunit is used for acquiring page configuration information corresponding to the page;
and the calculating subunit is used for calculating the rendering parameters of the page of the application according to the parameter information and the page configuration information.
B11, the adaptive rendering system with the resolution DPI according to B9 or B10, wherein the rendering parameters comprise page display size, display window position and rendering proportion.
B12, the adaptive rendering system of resolution DPI according to B9, further comprising:
and the transmission unit is used for transmitting the rendering parameters to the browser kernel based on an interface transmission mode.
B13, the adaptive rendering system of resolution DPI according to B12, the rendering unit specifically includes:
a replacing subunit, configured to replace, by the browser kernel, a local rendering parameter of a system with the rendering parameter;
and the rendering subunit is used for rendering and displaying the page based on the replaced rendering parameters.
B14, the adaptive rendering system of resolution DPI according to B13, the rendering subunit being specifically configured to:
and rendering and displaying the page on the system display by the browser kernel according to the replaced rendering parameters.
B15, the adaptive rendering system of resolution DPI according to B9, wherein the obtaining unit is specifically configured to:
and when the application is detected to be started and the page is loaded, acquiring the screen size parameter of a system display and the default DPI parameter configured locally.
B16, the adaptive rendering system of resolution DPI according to B9, further comprising:
and the storage unit is used for carrying out association storage on the rendering parameters and the corresponding applications.
There is also provided C17, a storage medium storing a computer program for executing the adaptive rendering method of resolution DPI of any one of A1 to A8.
Also provided is a D18, a computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, the processor implementing the method of adaptive rendering of resolution DPI according to any one of A1 to A8 when executing the computer program.

Claims (10)

1. An adaptive rendering method of resolution DPI, comprising the steps of:
when the page loading of the application is detected, acquiring parameter information of a system display; wherein the parameter information comprises a screen size parameter and a default DPI parameter;
analyzing and determining rendering parameters corresponding to the application according to the parameter information;
and rendering and displaying based on the rendering parameters through a browser kernel so as to display the page.
2. The method for adaptive rendering of resolution DPI according to claim 1, wherein the step of determining the rendering parameters corresponding to the application according to the parameter information analysis specifically includes:
acquiring page configuration information corresponding to the page;
and calculating the rendering parameters of the page of the application according to the parameter information and the page configuration information.
3. The adaptive rendering method of resolution DPI according to claim 1 or 2, wherein said rendering parameters include a page display size, a display window position, and a rendering ratio.
4. The method for adaptive rendering of resolution DPI according to claim 1, wherein after said step of determining rendering parameters corresponding to said application according to said parameter information analysis, further comprises:
and transmitting the rendering parameters to the browser kernel based on an interface transmission mode.
5. The method for adaptive rendering of resolution DPI according to claim 4, wherein the step of rendering, by a browser kernel, a presentation based on the rendering parameters to display the page specifically includes:
replacing the local rendering parameters of the system with the rendering parameters through the browser kernel;
and rendering and displaying the page based on the replaced rendering parameters.
6. The method for adaptive rendering of resolution DPI according to claim 5, wherein the step of rendering the page based on the replaced rendering parameters includes:
and rendering and displaying the page on the system display by the browser kernel according to the replaced rendering parameters.
7. The method for adaptive rendering of resolution DPI according to claim 1, wherein the step of acquiring parameter information of a system display when detecting page loading of an application specifically includes:
and when the application is detected to be started and the page is loaded, acquiring the screen size parameter of a system display and the default DPI parameter configured locally.
8. An adaptive rendering system for a resolution DPI, comprising:
the acquisition unit is used for acquiring parameter information of the system display when the page loading of the application is detected; wherein the parameter information comprises a screen size parameter and a default DPI parameter;
the analysis unit is used for analyzing and determining rendering parameters corresponding to the application according to the parameter information;
and the rendering unit is used for rendering and displaying based on the rendering parameters through the browser kernel so as to display the page.
9. A storage medium storing a computer program for performing the method of adaptive rendering of a resolution DPI according to any one of claims 1 to 7.
10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, characterized in that the processor implements the method of adaptive rendering of resolution DPI according to any one of claims 1-7 when executing the computer program.
CN202111382310.0A 2021-11-19 2021-11-19 Adaptive rendering method and system for resolution DPI, storage medium and computer equipment Pending CN116150515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111382310.0A CN116150515A (en) 2021-11-19 2021-11-19 Adaptive rendering method and system for resolution DPI, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111382310.0A CN116150515A (en) 2021-11-19 2021-11-19 Adaptive rendering method and system for resolution DPI, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN116150515A true CN116150515A (en) 2023-05-23

Family

ID=86360541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111382310.0A Pending CN116150515A (en) 2021-11-19 2021-11-19 Adaptive rendering method and system for resolution DPI, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN116150515A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116719597A (en) * 2023-08-10 2023-09-08 北京冠群信息技术股份有限公司 Self-adaptive view rendering method and creation method based on grid layout

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116719597A (en) * 2023-08-10 2023-09-08 北京冠群信息技术股份有限公司 Self-adaptive view rendering method and creation method based on grid layout
CN116719597B (en) * 2023-08-10 2024-01-26 北京冠群信息技术股份有限公司 Self-adaptive view rendering method and creation method based on grid layout

Similar Documents

Publication Publication Date Title
CN108733336B (en) Page display method and device
US8463075B2 (en) Dynamically resizing text area on a display device
CN110377264B (en) Layer synthesis method, device, electronic equipment and storage medium
CN108228463B (en) Method and device for detecting first screen time
US8713456B2 (en) Establishing a graphical user interface (‘GUI’) theme
CN109618225B (en) Video frame extraction method, device, equipment and medium
CN110647702B (en) Picture preloading method and device, electronic equipment and readable medium
CN110618803A (en) Image display method and device
EP2485190A1 (en) Adapting the resolution of a graphic representation of metadata
CN116150515A (en) Adaptive rendering method and system for resolution DPI, storage medium and computer equipment
CN111797345B (en) Application page display method, device, computer equipment and storage medium
EP3244347A1 (en) Object recognition in an adaptive resource management system
CN109492163B (en) List display recording method and device, terminal equipment and storage medium
CN107506119B (en) Picture display method, device, equipment and storage medium
CN111428452B (en) Annotation data storage method and device
CN110827254A (en) Method and device for determining image definition
US20080199096A1 (en) Method and system for the selective application of automatic image enhancement to digital images
US9055169B2 (en) Printing frames of a video
US20080225310A1 (en) Data processing using print driver
CN111164569A (en) Filter switching method and filter switching system based on intelligent terminal
EP3506199A1 (en) Method for enhancing visual quality of videos
KR102599525B1 (en) Method, device and system for displaying screen by improving visibility of image of interest
US20140016150A1 (en) System and method to store embedded fonts
US9747517B2 (en) Image processing apparatus, image processing method and recording medium storing image processing program
CN111083552A (en) Thumbnail generation method, device, equipment and medium

Legal Events

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