CN111258582B - Window rendering method and device, computer equipment and storage medium - Google Patents

Window rendering method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111258582B
CN111258582B CN202010084037.2A CN202010084037A CN111258582B CN 111258582 B CN111258582 B CN 111258582B CN 202010084037 A CN202010084037 A CN 202010084037A CN 111258582 B CN111258582 B CN 111258582B
Authority
CN
China
Prior art keywords
size
window
page
target
determining
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
CN202010084037.2A
Other languages
Chinese (zh)
Other versions
CN111258582A (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010084037.2A priority Critical patent/CN111258582B/en
Publication of CN111258582A publication Critical patent/CN111258582A/en
Application granted granted Critical
Publication of CN111258582B publication Critical patent/CN111258582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • 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
    • G06F3/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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 embodiment of the disclosure discloses a window rendering method, a device, computer equipment and a storage medium. The window rendering method comprises the following steps: determining a reference page size, a reference window size and a target page size of the target page; determining a target window size of a target window in the target page according to the reference page size, the reference window size and the target page size; and rendering the target window according to the size of the target window and a reference window page corresponding to the reference window. According to the technical scheme, the problem that popup content may be incompletely displayed due to the fact that popup is rendered according to the read independent size of the equipment is solved, and popup pages are rendered by utilizing the popup size, so that the pages rendered through the popup are matched with the popup size.

Description

Window rendering method and device, computer equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of window rendering, in particular to a window rendering method, a device, a computing node device and a storage medium.
Background
In many applications of mobile terminals, popup windows are developed for displaying pages, and in general, the page size of the popup window is inconsistent with the page size of the mobile terminal, and is generally smaller than the page size of the mobile terminal.
When the existing popup window in the page is rendered by utilizing the original design manuscript, the rendering is performed according to the independent size of the equipment read in the popup window, and the size of the rendered picture is the same as the size of the page of the mobile terminal. Because the popup window page size is smaller than the page size of the mobile terminal, when the page content is more, the problem that the page content displayed by the popup window is incomplete may occur.
Disclosure of Invention
The disclosure provides a window rendering method, a device, computer equipment and a storage medium, so that a page rendered through a popup window is matched with the popup window in size.
In a first aspect, an embodiment of the present disclosure provides a window rendering method, including:
determining a reference page size, a reference window size and a target page size of the target page;
determining a target window size of a target window in a target page according to the reference page size, the reference window size and the target page size;
and rendering the target window according to the target window size and the reference window page corresponding to the reference window.
In a second aspect, embodiments of the present disclosure further provide a window rendering apparatus, including:
The target page size determining module is used for determining a reference page size, a reference window size and a target page size of the target page;
a target window size determining module, configured to determine a target window size of a target window in a target page according to the reference page size, the reference window size, and the target page size;
and the rendering module is used for rendering the target window according to the size of the target window and the reference window page corresponding to the reference window.
In a third aspect, embodiments of the present disclosure further provide a computer device, comprising:
one or more processing devices;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processing devices, cause the one or more processing devices to implement a window rendering method as described in any of the embodiments of the present disclosure.
In a fourth aspect, the disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a window rendering method according to any of the embodiments of the disclosure.
The embodiment of the disclosure determines the reference page size, the reference window size and the target page size of the target page; determining a target window size of a target window in the target page according to the reference page size, the reference window size and the target page size; according to the target window size and the reference window page corresponding to the reference window, rendering is carried out on the target window, the problem that popup contents are possibly displayed incompletely due to the fact that popup is rendered according to the read independent size of the equipment is solved, and the popup page is rendered by utilizing the popup size, so that the page rendered through the popup is matched with the popup size.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flowchart of a window rendering method according to a first embodiment of the disclosure;
fig. 2 is a flowchart of a window rendering method according to a second embodiment of the disclosure;
fig. 3 is a flowchart of a window rendering method according to a third embodiment of the present disclosure;
fig. 4 is a flowchart of a window rendering method according to a fourth embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a window rendering device according to a fifth embodiment of the disclosure;
fig. 6 is a schematic structural diagram of a computer device according to a sixth embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Example 1
Fig. 1 is a flowchart of a window rendering method according to an embodiment of the disclosure. The embodiment is applicable to the situation that a window pops up in a page, the method can be executed by a window rendering device, the device can be realized in a software and/or hardware mode, and the device can be configured in computer equipment. As shown in fig. 1, the method may include the steps of:
s110, determining a reference page size, a reference window size and a target page size of the target page.
The page in this embodiment may be preferably an H5 page to be displayed in the mobile terminal, where the H5 page is a page conforming to the Html5 standard specification, and the mobile terminal may be preferably a mobile phone, a tablet computer, or the like. The dimensions in this embodiment may be width and/or height, where both width and height may be represented by the number of device independent pixels or the number of physical pixels. For example, the reference page size may include a reference page width and/or a reference page height, the reference window size may include a reference window width and/or a reference window height, and the target page size may include a target page width and/or a target page height.
Before the target page is rendered, a reference page size is usually pre-selected as a standard size, a page manuscript to be rendered is designed based on the standard size, and the target page is rendered by utilizing the page manuscript and the proportional relation between the reference page size and the target page size. The target page may be a page corresponding to a size of a mobile terminal screen displayed in the target mobile terminal, the target page size may be a size of the target mobile terminal screen, the reference page size may be a size of a pre-selected mobile terminal screen, and the page first draft may be a page having the reference page size as a design size. The target page is an example page which is displayed in the target mobile phone and is equivalent to the size of the screen of the target mobile phone, the size of the target page can be the equipment independent pixel 400px of the target page in the width direction, the size of the reference page can be the equipment independent pixel 375px of the first mobile phone screen which is preselected in the width direction, the corresponding size of the page draft is the equipment independent pixel 375px, and the target page is rendered after the equal proportion of the page draft is enlarged by 400/375=1.1 times according to the proportion relation between the size of the reference page and the size of the target page, so that the target page which is matched with the size of the screen of the target mobile phone is obtained. The content displayed in the target page is the same as the content in the page manuscript, and the display proportion is different.
In addition, there are cases where a target window (a popup window) is set in a target page and the target window is rendered. Before rendering the target window in the target page, it is preferable that a reference window manuscript to be rendered (i.e., a reference window page in this embodiment) is designed based on a standard size (reference page size), and the target page is rendered using the reference window manuscript and a proportional relationship between the reference window size and size data read in the target window. Here, the size ratio of the reference window in the reference page is equal to the size ratio of the target window in the target page. The reference window first draft may be a page designed with a reference page size as a size standard, and the size of the reference window is equal to that of the reference window, and the reference window may be a popup window in a preset reference page, and the reference window size is the popup window size. For example, the reference window occupies 1/5 of the width of the reference page, the reference page size may be the device independent pixel 375px of the first mobile phone screen in the width direction, the reference window size is the device independent pixel 75px of the pre-selected reference window in the width direction, the size corresponding to the reference window draft is the device independent pixel 75px, the target page size may be the device independent pixel 400px of the target page in the width direction, and the size data read in the target window is the device independent pixel 400px. At this time, if the target page is rendered according to the proportional relationship between the reference window size (75) and the size data (400) read in the target window, the resulting page is a page matching the target cell phone screen size, and since the size of the page is larger than the size of the target window in the target page, the contents in the page cannot be completely displayed in the target window.
Based on the above, the present embodiment preferably can determine the target window size according to the reference page size, the reference window size, the correspondence between the target page size and the target window size, before rendering the target window.
Preferably, the reference page size may be predetermined. The reference window size may be preset and determined according to actual needs, or may be a predetermined reference window page (the reference window page is the reference window draft), and the determining the reference window size may include: and determining a reference window page size of the reference window page, and taking the reference window page size as the reference window size. The target page size may be determined by the type of the target terminal, and in particular, determining the target page size of the target page may include: according to the operating system and the model of the terminal, determining the number of terminal screen physical pixels of the terminal where the target page is located, and taking the number of terminal screen physical pixels as the target page size, the determining the target page size of the target page may further include: and determining the number of independent pixels of the terminal screen equipment of the terminal where the target page is located according to the operating system and the model of the terminal, and taking the number of the independent pixels of the terminal screen equipment as the size of the target page.
S120, determining the target window size of the target window in the target page according to the reference page size, the reference window size and the target page size.
In the present embodiment, the target window size may preferably be determined based on the correspondence ratio relationship "reference window size/reference page size=target window size/target page size" among the reference page size, the reference window size, the target page size, and the target window size, and the correspondence ratio relationship "reference window size/target window size=reference page size/target page size" may preferably be determined based on the ratio relationship "reference window size/target window size=reference page size/target page size", and the ratio relationship may be an equivalent variation of the ratio relationship. Here, the above-mentioned dimensions may refer to a width, a length, or a height, and in the same proportional relationship, the dimensions refer to the same content, that is, the corresponding proportional relationship between the reference page size, the reference window size, the target page size, and the target window size may be "reference window width/reference page width=target window width/target page width", or "reference window height/reference page height=target window height/target page height".
For example, if the reference page size is the reference page width, the reference window size is the reference window width, and the target page size is the target page width, the target window width= (reference window width×target page width)/reference page width is known from the proportional relationship "reference window width/reference page width=target window width/target page width". If the reference page size is the reference page height, the reference window size is the reference window height, and the target page size is the target page height, then the target window height= (reference window height x target page height)/reference page height is known from the proportional relationship "reference window height/reference page height = target window height/target page height". It is understood that the target window size may also be calculated from other scaling relationships of equivalent deformations.
Illustratively, the reference page width is 375px of the device-independent pixel, the reference window width is 75px of the device-independent pixel, and the target page width is 400px of the device-independent pixel, and then according to the proportional relationship "reference window width/reference page width=target window width/target page width", it is known that the target window width= (75×400)/375=80 px. If the reference page height is 667px of the device independent pixel, the reference window height is 134px of the device independent pixel, and the target page height is 640px of the device independent pixel, then the target window height= (134×640)/667=129 px is known from the proportional relationship "reference window height/reference page height=target window height/target page height".
And S130, rendering the target window according to the size of the target window and a reference window page corresponding to the reference window.
In this embodiment, it is preferable that the reference window page is rendered into a page of the target window size according to the target window size.
It should be noted that, whether the unit of the target window size determined above is a device-independent pixel or a physical pixel, the unit of the target window size needs to be converted into the physical pixel when rendering is performed. For example, if the screen corresponding to the target page of the target terminal is 2-fold screen, the target window width=80×2=160 physical pixels.
According to the window rendering method, the reference page size, the reference window size and the target page size of the target page are determined; determining a target window size of a target window in the target page according to the reference page size, the reference window size and the target page size; according to the target window size and the reference window page corresponding to the reference window, rendering is carried out on the target window, the problem that popup contents are possibly displayed incompletely due to the fact that popup is rendered according to the read independent size of the equipment is solved, and the popup page is rendered by utilizing the popup size, so that the page rendered through the popup is matched with the popup size.
Example two
Fig. 2 is a flowchart of a window rendering method according to a second embodiment of the disclosure. This embodiment may be combined with each of the alternatives of one or more embodiments described above, where determining the target window size of the target window in the target page according to the reference page size, the reference window size, and the target page size includes: determining a window size ratio between the reference window size and the reference page size; and determining the target window size according to the target page size and the window size ratio.
As shown in fig. 2, the method may include the steps of:
s210, determining a reference page size, a reference window size and a target page size of the target page.
S220, determining the window size ratio between the reference window size and the reference page size.
In this embodiment, preferably, the corresponding proportional relationship among the reference page size, the reference window size, the target page size, and the target window size is "reference window size/reference page size=target window size/target page size", and then the ratio between the reference window size and the reference page size may be calculated as the window size ratio of the target window in the target page.
Preferably, determining the window size ratio between the reference window size and the reference page size may include: and calculating the ratio between the width of the reference window and the width of the reference page, and taking the ratio as the window size ratio. Preferably, calculating the ratio between the reference window width and the reference page width may include: calculating the ratio between the number of the device independent pixels of the reference window and the device independent pixels of the reference page; or, calculating the ratio between the number of physical pixels of the reference window and the number of physical pixels of the reference page. And/or determining a window size ratio between the reference window size and the reference page size may include: and calculating the ratio between the reference window height and the reference page height, and taking the ratio as the window size ratio. Preferably, calculating the ratio between the reference window height and the reference page height may include: calculating the ratio between the number of the device independent pixels of the reference window and the device independent pixels of the reference page; or, calculating the ratio between the number of physical pixels of the reference window and the number of physical pixels of the reference page.
Illustratively, the reference page width is device independent pixel 375px and the reference window width is device independent pixel 75px, then the window size ratio=75/375=1/5. The reference page width is 750px of physical pixels, and the reference window width is 150px of physical pixels, the window size ratio=150/750=1/5.
S230, determining the target window size according to the target page size and the window size ratio.
Preferably, the target window width may be determined based on the target page width and window size ratio, and/or the target window height may be determined based on the target page height and window size ratio.
Illustratively, the target page width is 400px for the device independent pixel, then the target window width=400×1/5=80 px. The target page width is 800px of physical pixels, and then the target window width=800×1/5=160 px.
And S240, rendering the target window according to the size of the target window and a reference window page corresponding to the reference window.
According to the window rendering method, the reference page size, the reference window size and the target page size of the target page are determined; determining a window size ratio between a reference window size and a reference page size; determining a target window size according to the target page size and the window size ratio; according to the target window size and the reference window page corresponding to the reference window, rendering is carried out on the target window, the problem that popup content may be displayed incompletely due to the fact that the popup is rendered according to the read independent size of the device is solved, the target popup size is determined through the popup proportion of the preset reference popup in the preset reference page, and the target popup page is rendered through the target popup size, so that the page rendered through the popup is matched with the popup size.
Example III
Fig. 3 is a flowchart of a window rendering method according to a third embodiment of the present disclosure. This embodiment may be combined with each of the alternatives of one or more embodiments described above, where determining the target window size of the target window in the target page according to the reference page size, the reference window size, and the target page size includes:
determining a page Rem size according to the reference page size, and determining a window Rem size according to the reference window size;
and determining the target window size according to the target page size, the page Rem size and the window Rem size.
And determining a page Rem size according to the reference page size, and determining a window Rem size according to the reference window size, including:
determining the page Rem size according to the reference root element and the reference page size;
and determining the window Rem size according to the reference root element and the reference window size.
And said determining said target window size according to said target page size, said page Rem size, and said window Rem size, comprising:
determining a target root element according to the target page size and the page Rem size;
And determining a target window size according to the target root element and the window Rem size.
As shown in fig. 3, the method may include the steps of:
s310, determining a reference page size, a reference window size and a target page size of the target page.
S320, determining the page Rem size according to the reference page size, and determining the window Rem size according to the reference window size.
Rem, collectively font size of the root element, is a unit of size relative to the root element, and is a relative unit. The page Rem size is the page size relative to the page root element, and the window Rem size is the window size relative to the page root element. The page root element is the number of page pixels corresponding to a relative unit Rem, wherein the number of page pixels can be the number of page physical pixels or the number of page device independent pixels. The page root element can be preset according to actual needs in the process of creating the page. For example, if the number of pixels corresponding to the page width is 500px and the root element of the page is 20px, the page Rem corresponding to the page has a size of 500/20=25 Rem.
Preferably, determining the page Rem size according to the reference page size, and determining the window Rem size according to the reference window size includes:
Determining a page Rem size according to the reference root element and the reference page size;
and determining the size of the window Rem according to the reference root element and the reference window size.
In this embodiment, a reference root element corresponding to a reference page may be preset, the reference root element is taken as an average step length, the size (width or height) of the reference page is divided into N parts, where N is the page Rem size corresponding to the reference page size, and similarly, the reference root element is taken as an average step length, the size (width or height) of the reference window is divided into M parts, where M is the window Rem size corresponding to the reference window size
Illustratively, if the reference page width is 375px of the device independent pixel, the reference window width is 75px of the device independent pixel, and the reference root element is 15px, the page Rem size N corresponding to the reference page width is 375/15=25 Rem, and the window Rem size M corresponding to the reference window width is 75/15=5 Rem.
S330, determining the target window size according to the target page size, the page Rem size and the window Rem size.
In this embodiment, the size of the page Rem corresponding to the reference window is equal to the size of the page Rem corresponding to the target page, and the size of the window Rem corresponding to the reference window is equal to the size of the window Rem corresponding to the target page. After knowing the target page size, the page Rem size corresponding to the target page and the window Rem size corresponding to the target window, the target window size of the target window can be determined according to the corresponding proportional relation. For example, the corresponding proportional relationship may be a target page size/a page Rem size corresponding to the target page=a target window size/a window Rem size, and the corresponding proportional relationship may also be a variation of the foregoing proportional relationship, or the like.
Preferably, determining the target window size according to the target page size, the page Rem size and the window Rem size includes:
determining a target root element according to the target page size and the page Rem size;
and determining the target window size according to the target root element and the window Rem size.
For example, if the page Rem size N is 25Rem, the window Rem size M is 5Rem, and the target page width is 400px of the device independent pixels, then the target root element=400/25=16 px, and correspondingly, the target window size is 16×5=80 device independent pixels.
And S340, rendering the target window according to the size of the target window and a reference window page corresponding to the reference window.
According to the window rendering method, the reference page size, the reference window size and the target page size of the target page are determined; determining the page Rem size according to the reference page size, and determining the window Rem size according to the reference window size; determining a target window size according to the target page size, the page Rem size and the window Rem size; according to the target window size and the reference window page corresponding to the reference window, the target window is rendered, the problem that in the prior art, popup window contents are possibly displayed incompletely due to the fact that popup window rendering is performed according to the read independent size of the device is solved, the target popup window size is determined by introducing the Rem size, the target popup window is rendered by utilizing the target popup window size, and the page rendered through the popup window is matched with the popup window size.
Example IV
Fig. 4 is a flowchart of a window rendering method according to a fourth embodiment of the present disclosure. This embodiment may be combined with each of the alternatives of one or more of the embodiments described above, and further includes, after the determining a window size ratio between the reference window size and the reference page size: determining a window Rem size corresponding to the reference window size according to the reference root element and the window size ratio; correspondingly, the determining the target window size according to the target page size and the window size ratio includes: determining a page Rem size corresponding to the target page size according to the window Rem size and the window size ratio; determining a target page root element according to the target page size and the page Rem size; and determining the target window size according to the target page root element and the window Rem size.
As shown in fig. 4, the method may include the steps of:
s410, determining a reference page size, a reference window size and a target page size of the target page.
S420, determining a window size ratio between the reference window size and the reference page size.
S430, determining a window Rem size corresponding to the reference window size according to the reference root element and the window size ratio.
The reference root element is the number of page pixels corresponding to a relative length unit Rem, wherein the number of page pixels can be the number of page physical pixels or the number of page device independent pixels. The reference root element can be set according to actual requirements. In this embodiment, the reference root element is used as a step size for equally dividing the reference page size (width or height) into N parts, where N is the page Rem size corresponding to the reference page size, and according to the window size ratio X, the window Rem size m=n×x corresponding to the reference window is known.
For example, if the reference page width is 375px of the device independent pixel and the reference root element is 15px, the page Rem size N corresponding to the reference page width is 375/15=25 Rem, and the window size ratio X is 1/5, and the window Rem size M corresponding to the reference window width is=25× (1/5) =5 Rem.
S440, determining the page Rem size corresponding to the target page size according to the window Rem size and the window size ratio.
The window Rem size M corresponding to the determined reference window is equal to the window Rem size Y corresponding to the target window, and preferably, the page Rem size z=y/X corresponding to the target page size may be determined by using the window Rem size Y corresponding to the target window and the window size ratio X.
For example, if the window Rem size Y corresponding to the target window width is 5Rem and the window size ratio X is 1/5, the page Rem size z=5/(1/5) =25 Rem corresponding to the target page width.
Here, the page Rem corresponding to the target page width has the same size as the page Rem corresponding to the reference page width. Preferably, after the page Rem size corresponding to the reference page width is determined, the page Rem size corresponding to the target page width may be directly determined.
S450, determining a target root element according to the target page size and the page Rem size.
For example, the page Rem size Z corresponding to the target page width is 25Rem, and the target page width is the device independent pixel 400, then the target root element=400/25=16 px.
S460, determining the target window size according to the target root element and the window Rem size.
The target window size can be determined according to the window Rem size Y corresponding to the target root element and the target window.
For example, if the target root element is 16px and the window Rem size Y corresponding to the target window is 5Rem, then the target window width=16×5=80 device independent pixels. If the screen of the target mobile phone is 2 times of the screen, the target window width is 80×2=160 physical pixels.
And S470, rendering the target window according to the size of the target window and a reference window page corresponding to the reference window.
According to the window rendering method, the reference page size, the reference window size and the target page size of the target page are determined; determining a window size ratio between a reference window size and a reference page size; determining a window Rem size corresponding to the reference window size according to the reference root element and the window size ratio; determining the page Rem size corresponding to the target page size according to the window Rem size and the window size ratio; determining a target root element according to the target page size and the page Rem size; determining the size of a target window according to the target root element and the size of the window Rem; according to the target window size and the reference window page corresponding to the reference window, rendering is carried out on the target window, the problem that popup content may be displayed incompletely due to rendering of popup according to the read independent size of the device is solved, the target popup size is determined through the popup duty ratio of the preset reference popup in the preset reference page, and the target popup page is rendered through the target popup size, so that the page rendered through the popup is always matched with the popup size.
Example five
Fig. 5 is a schematic structural diagram of a window rendering device according to a fifth embodiment of the present disclosure. The embodiment can be applied to the situation that a window pops up in a page. The apparatus may be implemented in software and/or hardware, and the apparatus may be configured in a computer device. As shown in fig. 5, the apparatus may include:
a target page size determining module 510, configured to determine a reference page size, a reference window size, and a target page size of the target page;
a target window size determining module 520, configured to determine a target window size of a target window in the target page according to the reference page size, the reference window size, and the target page size;
and the rendering module 530 is configured to render the target window according to the target window size and the reference window page corresponding to the reference window.
According to the window rendering device provided by the embodiment, the size of the reference page, the size of the reference window and the size of the target page are determined through the size determining module; determining, by a target window size determining module, a target window size of a target window in the target page according to the reference page size, the reference window size, and the target page size; the rendering module renders the target window according to the size of the target window and the reference window page corresponding to the reference window, so that the problem that popup content is possibly displayed incompletely due to rendering the popup according to the read independent size of the equipment is solved, and the popup page is rendered by utilizing the popup size, so that the page rendered by the popup is matched with the popup size.
Based on the above technical solution, further, the target window size determining module 520 may specifically include:
a window size ratio determining unit configured to determine a window size ratio between a reference window size and a reference page size;
and the target window size determining unit is used for determining the target window size according to the target page size and the window size ratio.
On the basis of the above technical solution, further, the window size ratio determining unit may specifically be configured to:
calculating the ratio between the width of the reference window and the width of the reference page, and taking the ratio as the window size ratio;
the target window size determination unit may specifically be configured to:
and determining the width of the target window according to the width of the target page and the window size ratio.
Based on the above technical solution, further, the window size ratio determining unit may specifically include:
an independent pixel ratio calculating subunit, configured to calculate a ratio between the number of independent pixels of the device in the reference window and the independent pixels of the device in the reference page;
or, a physical pixel ratio calculating subunit for calculating a ratio between the number of physical pixels of the reference window and the number of physical pixels of the reference page.
Based on the above technical solution, further, the target page size determining module 510 may specifically include:
a reference window size determining unit configured to determine a reference window page size of the reference window page, and take the reference window page size as the reference window size.
Based on the above technical solution, further, the target page size determining module 510 may specifically further include:
the target page size determining unit is used for determining the number of physical pixels of a terminal screen of the terminal where the target page is located according to the operating system and the model of the terminal, and taking the number of the physical pixels of the terminal screen as the target page size.
On the basis of the technical scheme, the window rendering device further comprises a reference Rem size determining module, which is used for determining a reference Rem size corresponding to the reference window size according to the reference root element and the window size ratio after determining the window size ratio between the reference window size and the reference page size;
the target window size determination unit may specifically be configured to:
determining a target page Rem size corresponding to the target page size according to the reference Rem size and the window size duty ratio;
determining a target page root element according to the target page size and the target page Rem size;
And determining the size of the target window according to the target page root element and the reference Rem size.
The window rendering device provided by the embodiment of the disclosure can execute the window rendering method provided by the embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Referring now to FIG. 6, there is illustrated a schematic diagram of a computer device 600 suitable for use in implementing embodiments of the present disclosure. The computer devices in the embodiments of the present disclosure may include, but are not limited to, devices such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like. The computer device illustrated in fig. 6 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 6, the computer apparatus 600 may include a processing device (e.g., a central processing unit, a graphic processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage device 606 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 606 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the computer device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates a computer apparatus 600 having various devices, it is to be understood that not all illustrated devices are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 606, or from ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 601.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be embodied in the computer device; or may exist alone without being assembled into the computer device.
The computer readable medium carries one or more programs which, when executed by the computer device, cause the computer device to: determining a reference page size, a reference window size and a target page size of the target page; determining a target window size of a target window in the target page according to the reference page size, the reference window size and the target page size; and rendering the target window according to the size of the target window and a reference window page corresponding to the reference window.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods, apparatus, computer devices, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules, units and sub-units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware. The name of a module, a unit, or a sub-unit does not constitute a limitation of the module, the unit, or the sub-unit itself in some cases, and for example, the rendering module may also be described as "a module that renders a target window from a target window size and a reference window page corresponding to the reference window", and the target window size determining unit may also be described as "a unit that determines a target window size from a target page size and a window size ratio".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In one aspect, an embodiment of the present disclosure provides a window rendering method, including:
determining a reference page size, a reference window size and a target page size of the target page;
determining a target window size of a target window in the target page according to the reference page size, the reference window size and the target page size;
and rendering the target window according to the size of the target window and a reference window page corresponding to the reference window.
In some embodiments, determining the target window size of the target window in the target page based on the reference page size, the reference window size, and the target page size comprises:
determining a window size ratio between a reference window size and a reference page size;
and determining the target window size according to the target page size and the window size ratio.
In some embodiments, determining a window size ratio between the reference window size and the reference page size includes:
calculating the ratio between the width of the reference window and the width of the reference page, and taking the ratio as the window size ratio;
correspondingly, determining the target window size according to the target page size and the window size ratio comprises the following steps:
and determining the width of the target window according to the width of the target page and the window size ratio.
In some embodiments, calculating the ratio between the reference window width and the reference page width includes:
calculating the ratio between the number of the device independent pixels of the reference window and the device independent pixels of the reference page;
or, calculating the ratio between the number of physical pixels of the reference window and the number of physical pixels of the reference page.
In some embodiments, the determining the target window size of the target window in the target page according to the reference page size, the reference window size, and the target page size includes:
determining a page Rem size according to the reference page size, and determining a window Rem size according to the reference window size;
and determining the target window size according to the target page size, the page Rem size and the window Rem size.
In some embodiments, the determining the page Rem size according to the reference page size, determining the window Rem size according to the reference window size, includes:
determining the page Rem size according to the reference root element and the reference page size;
and determining the window Rem size according to the reference root element and the reference window size.
In some embodiments, the determining the target window size from the target page size, the page Rem size, and the window Rem size includes:
Determining a target root element according to the target page size and the page Rem size;
and determining a target window size according to the target root element and the window Rem size.
In some embodiments, determining the reference window size includes:
and determining a reference window page size of the reference window page, and taking the reference window page size as the reference window size.
In some embodiments, determining the target page size of the target page includes:
and determining the number of physical pixels of a terminal screen of the terminal where the target page is located according to the operating system and the model of the terminal, and taking the number of the physical pixels of the terminal screen as the size of the target page.
In some embodiments, after determining the window size ratio between the reference window size and the reference page size, further comprising:
determining a window Rem size corresponding to the reference window size according to the reference root element and the window size ratio;
correspondingly, determining the target window size according to the target page size and the window size ratio comprises the following steps:
determining the page Rem size corresponding to the target page size according to the window Rem size and the window size ratio;
determining a target root element according to the target page size and the page Rem size;
And determining the target window size according to the target root element and the window Rem size.
In another aspect, an embodiment of the present disclosure further provides a window rendering apparatus, including:
the target page size determining module is used for determining a reference page size, a reference window size and a target page size of the target page;
the target window size determining module is used for determining the target window size of the target window in the target page according to the reference page size, the reference window size and the target page size;
and the rendering module is used for rendering the target window according to the size of the target window and the reference window page corresponding to the reference window.
In another aspect, an embodiment of the present disclosure further provides a mobile terminal, including:
one or more processing devices;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processing devices, cause the one or more processing devices to implement the window rendering method as in any of the examples above.
In another aspect, the disclosed embodiments also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a window rendering method as in any of the examples above.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (12)

1. A method of window rendering, comprising:
determining a reference page size, a reference window size and a target page size of the target page;
determining a target window size of a target window in a target page according to the reference page size, the reference window size and the target page size, wherein the proportion of the reference window size in the reference page size is equal to the proportion of the target window size in the target page size;
rendering the target window according to the size of the target window and a reference window page corresponding to the reference window;
wherein the determining the target window size of the target window in the target page according to the reference page size, the reference window size and the target page size includes:
determining a window size ratio between the reference window size and the reference page size;
And determining the target window size according to the target page size and the window size ratio.
2. The method of claim 1, wherein the determining a window size ratio between the reference window size and the reference page size comprises:
calculating the ratio between the width of the reference window and the width of the reference page, and taking the ratio as the window size ratio;
correspondingly, determining the target window size according to the target page size and the window size ratio comprises the following steps:
and determining the width of the target window according to the width of the target page and the window size ratio.
3. The method of claim 2, wherein the calculating the ratio between the reference window width and the reference page width comprises:
calculating the ratio between the number of the device independent pixels of the reference window and the device independent pixels of the reference page;
or, calculating the ratio between the number of physical pixels of the reference window and the number of physical pixels of the reference page.
4. The method of claim 1, wherein the determining the target window size of the target window in the target page based on the reference page size, the reference window size, and the target page size comprises:
Determining a page Rem size according to the reference page size, and determining a window Rem size according to the reference window size;
and determining the target window size according to the target page size, the page Rem size and the window Rem size.
5. The method of claim 4, wherein the determining the page Rem size from the reference page size and the window Rem size from the reference window size comprises:
determining the page Rem size according to the reference root element and the reference page size;
and determining the window Rem size according to the reference root element and the reference window size.
6. The method of claim 5, wherein said determining said target window size from said target page size, said page Rem size, and said window Rem size comprises:
determining a target root element according to the target page size and the page Rem size;
and determining a target window size according to the target root element and the window Rem size.
7. The method of any of claims 1-6, wherein determining a reference window size comprises:
and determining a reference window page size of the reference window page, and taking the reference window page size as the reference window size.
8. The method of any of claims 1-6, wherein determining a target page size of the target page comprises:
and determining the number of terminal screen physical pixels of the terminal where the target page is located according to the operating system and the model of the terminal, and taking the number of the terminal screen physical pixels as the size of the target page.
9. A method according to any of claims 1-3, further comprising, after said determining a window size ratio between said reference window size and said reference page size:
determining a window Rem size corresponding to the reference window size according to the reference root element and the window size ratio;
correspondingly, the determining the target window size according to the target page size and the window size ratio includes:
determining a page Rem size corresponding to the target page size according to the window Rem size and the window size ratio;
determining a target root element according to the target page size and the page Rem size;
and determining the target window size according to the target root element and the window Rem size.
10. A window rendering apparatus, comprising:
The target page size determining module is used for determining a reference page size, a reference window size and a target page size of the target page;
a target window size determining module, configured to determine a target window size of a target window in a target page according to the reference page size, the reference window size, and the target page size, where a proportion of the reference window size in the reference page size is equal to a proportion of the target window size in the target page size;
the rendering module is used for rendering the target window according to the size of the target window and a reference window page corresponding to the reference window;
wherein, the target window size determining module includes:
a window size ratio determining unit configured to determine a window size ratio between the reference window size and the reference page size;
and the target window size determining unit is used for determining the target window size according to the target page size and the window size ratio.
11. A computer device, the computer device comprising:
one or more processing devices;
a storage means for storing one or more programs;
When the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to implement the window rendering method of any of claims 1-9.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements a window rendering method as claimed in any one of claims 1-9.
CN202010084037.2A 2020-02-10 2020-02-10 Window rendering method and device, computer equipment and storage medium Active CN111258582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010084037.2A CN111258582B (en) 2020-02-10 2020-02-10 Window rendering method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010084037.2A CN111258582B (en) 2020-02-10 2020-02-10 Window rendering method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111258582A CN111258582A (en) 2020-06-09
CN111258582B true CN111258582B (en) 2023-09-05

Family

ID=70948243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010084037.2A Active CN111258582B (en) 2020-02-10 2020-02-10 Window rendering method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111258582B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610295A (en) * 2022-03-22 2022-06-10 云粒智慧科技有限公司 Layout method, device, equipment and medium for page container

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978433A (en) * 2015-07-16 2015-10-14 无锡天脉聚源传媒科技有限公司 Web page display method and device
CN105138317A (en) * 2015-07-24 2015-12-09 安一恒通(北京)科技有限公司 Window display processing method and device applied to terminal equipment
CN106168959A (en) * 2016-06-29 2016-11-30 合网络技术(北京)有限公司 Page layout method and device
CN107317853A (en) * 2017-06-20 2017-11-03 北京金山安全软件有限公司 Method, device and system for displaying dynamic effect of message popup window
CN107526592A (en) * 2017-08-22 2017-12-29 广州市百果园信息技术有限公司 A kind of page adaptation method and apparatus
CN109213957A (en) * 2018-09-18 2019-01-15 福建天泉教育科技有限公司 The method and terminal of subpage frame size are obtained in a kind of page nested environment
CN109614099A (en) * 2018-10-17 2019-04-12 平安普惠企业管理有限公司 The adaptive development approach with page view, device, computer equipment and storage medium
CN110740509A (en) * 2018-07-18 2020-01-31 华为技术有限公司 data transmission method, network device, communication device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7549127B2 (en) * 2002-08-01 2009-06-16 Realnetworks, Inc. Method and apparatus for resizing video content displayed within a graphical user interface
US10601605B2 (en) * 2017-09-11 2020-03-24 Applied Minds, Llc Secure meeting space with automatically adaptive classification levels, and associated systems and methods

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978433A (en) * 2015-07-16 2015-10-14 无锡天脉聚源传媒科技有限公司 Web page display method and device
CN105138317A (en) * 2015-07-24 2015-12-09 安一恒通(北京)科技有限公司 Window display processing method and device applied to terminal equipment
CN106168959A (en) * 2016-06-29 2016-11-30 合网络技术(北京)有限公司 Page layout method and device
CN107317853A (en) * 2017-06-20 2017-11-03 北京金山安全软件有限公司 Method, device and system for displaying dynamic effect of message popup window
CN107526592A (en) * 2017-08-22 2017-12-29 广州市百果园信息技术有限公司 A kind of page adaptation method and apparatus
CN110740509A (en) * 2018-07-18 2020-01-31 华为技术有限公司 data transmission method, network device, communication device and storage medium
CN109213957A (en) * 2018-09-18 2019-01-15 福建天泉教育科技有限公司 The method and terminal of subpage frame size are obtained in a kind of page nested environment
CN109614099A (en) * 2018-10-17 2019-04-12 平安普惠企业管理有限公司 The adaptive development approach with page view, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111258582A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN111459364B (en) Icon updating method and device and electronic equipment
CN111291244B (en) House source information display method, device, terminal and storage medium
CN111259636B (en) Document rendering method and device and electronic equipment
CN115600629A (en) Vehicle information two-dimensional code generation method, electronic device and computer readable medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN111258582B (en) Window rendering method and device, computer equipment and storage medium
CN111259291B (en) View display method and device and electronic equipment
CN111273884A (en) Image display method and device and electronic equipment
CN111338827B (en) Method and device for pasting form data and electronic equipment
CN113138707B (en) Interaction method, interaction device, electronic equipment and computer-readable storage medium
CN111290812B (en) Display method, device, terminal and storage medium of application control
CN113961280B (en) View display method and device, electronic equipment and computer readable storage medium
CN111290692B (en) Picture display method and device, electronic equipment and computer readable medium
CN113204557A (en) Electronic form importing method, device, equipment and medium
CN112333462A (en) Live broadcast room page jumping method, returning device and electronic equipment
CN110825480A (en) Picture display method and device, electronic equipment and computer readable storage medium
CN112214665A (en) Content display method and device, electronic equipment and computer readable storage medium
CN111399730A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN111783390B (en) Dimension label adjusting method and device and electronic equipment
CN111026983B (en) Method, device, medium and electronic equipment for realizing hyperlink
CN111258670B (en) Method and device for managing component data, electronic equipment and storage medium
CN114359673B (en) Small sample smoke detection method, device and equipment based on metric learning
US20220292731A1 (en) Method and apparatus for text effect processing
CN116266206A (en) Page display method and device and electronic equipment
CN116883659A (en) Image segmentation method based on pixel-to-multi-operator interaction sensitivity

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